﻿/*lessons*/
#lessons {
    padding-top: 2%;
    counter-reset: sectioncounter;
}

    #lessons li {
        border-bottom: 1px solid #f2f2f2;
        padding: 3% 3% 3% 10%;
        position: relative;
    }

        #lessons li:before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1.8em;
            height: 1.8em;
            background: #c1c6d2;
            border-radius: 1000px;
        }

        #lessons li:after {
            content: counter(sectioncounter);
            position: absolute;
            left: 0.9em;
            top: 50%;
            transform: translate(-50%,-50%);
            counter-increment: sectioncounter;
            color: #fff;
            font-weight: 700;
        }

        #lessons li .b1 {
            font-size: 110%;
        }

            #lessons li .b1 span {
                font-size: 70%;
                display: inline-block;
                margin-left: 0.6em;
                background: #e5f1fe;
                border-radius: 3px;
                padding: 0.1em 0.3em;
                color: #0974fe;
            }

        #lessons li .b2 {
            color: #666;
            font-size: 95%;
            padding-top: 2%;
        }
/*lessons end*/
/*searchbar*/
.searchbar {
    overflow-y: auto;
    padding: 2% 4%;
    position: relative;
    background-color: #DEDEDC;
}

    .searchbar:before {
        content: "-";
        position: absolute;
        top: 41%;
        padding: 7px;
        text-indent: 7px;
        border: 1px solid #999;
        border-radius: 100%;
        line-height: 0;
        width: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -5px;
        left: 5.5%;
        color: #977dd6;
        border-color: #977dd6;
    }

    .searchbar input[type=text] {
        border: none;
        background: #fff;
        float: left;
        width: 83%;
        margin-left: 0;
        padding: 2% 0 2% 30px;
        border-radius: 5px;
    }

    .searchbar input[type=submit] {
        float: right;
        overflow: hidden;
        text-align: center;
        background-color: #977dd6;
        box-sizing: border-box;
        color: white;
        border-radius: 5px;
        white-space: nowrap;
        font-size: 13px;
        display: inline-block;
        width: 15%;
        padding: 1.7% 2%;
        border: none;
    }
/*searchbar end*/
