
.teacher-profile-content .top-layer:after,.teacher-profile-content .top-layer .right-col:after{display: block; clear: both; content: ''; visibility: hidden; height: 0; line-height: 0}

.teachers-list .teacher-item > div,.teacher-profile-content .top-layer .left-col ul li a:before,
.teacher-profile-content .top-layer .left-col ul li a:after{outline: medium none;  text-decoration: none; -webkit-transition : all 0.2s linear 0s; -moz-transition : all 0.2s linear 0s; -ms-transition : all 0.2s linear 0s; -o-transition : all 0.2s linear 0s; transition : all 0.2s linear 0s}

.teacher-page{
    position: relative;
}
.teacher-page:before{
    position: absolute;
    left: -135px;
    top: 80px;
    background: url('../images/profile.svg') no-repeat left top;
    background-size: 400px 522px;
    width: 400px;
    height: 522px;
    content:'';
}

.teacher-profile,
.teachers-list{
    margin-bottom: 45px
}
.teacher-profile > header ,
.teachers-list > header {
    padding: 25px 0 30px;
    position: relative;
    width: auto;
    display: table;
    float: right;
}
.teacher-profile .breadcrumb ,
.teachers-list .breadcrumb {
    padding: 25px 0 30px;
    width: auto;
    display: table;
    float: left;
    position: relative;
    top: 3px
}
.teacher-profile > header h1,
.teachers-list > header h1{
    width: auto;
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
    color: #1e2f38;
    display: inline-table;
    line-height: 35px;
}
.teachers-list .teacher-item > div{
    margin-bottom: 30px;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -webkit-border-top-left-radius: 55px;
    -moz-border-radius: 5px;
    -moz-border-radius-topleft: 55px;
    border-radius: 5px;
    border-top-left-radius: 55px;
}
.teachers-list .teacher-item > div:hover{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.teachers-list .teacher-item > div .img-layer,
.teachers-list .teacher-item > div .img-layer img{
    display: block;
    width: 100%;
}
.teachers-list .teacher-item > div h2{
    padding: 0 15px;
    margin-top: 13px
}
.teachers-list .teacher-item > div h2 a{
    display: block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-size: 15px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e2f38
}
.teachers-list .teacher-item > div h2 a i{
    font-size: 15px;
    position: relative;
    top: 2px;
    margin-left: 4px;
    color: #b0b9be
}
.teachers-list .teacher-item > div h2 a:hover{
    color: #00b3e9
}
.teachers-list .teacher-item > div span{
    display: block;
    width: 100%;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #686e71;
    padding: 0 15px;
    margin-bottom: 17px
}

.teacher-profile-content .top-layer{
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}
.teacher-profile-content .top-layer:before{
    width: 90px;
    height: 90px;
    background: url('../images/circle-bg.svg') no-repeat left bottom;
    content: '';
    position: absolute;
    left: 0 ;
    bottom: 20px;
}
.teacher-profile-content .top-layer .right-col,
.teacher-profile-content .top-layer .right-col .teacher-name{
    width: auto;
    display: table;
    float: right;
    position: relative;
}
.teacher-profile-content .top-layer .right-col .teacher-name h2{
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    padding-bottom: 5px;
    display: block;
    color: #1e2f38;
    margin-top: 15px
}
.teacher-profile-content .top-layer .right-col .teacher-name span{
    font-size: 13px;
    line-height: 25px;
    color: #686e71
}
.teacher-profile-content .top-layer .right-col .img-layer{
    width: 95px;
    height: 95px;
    position: relative;
    float: right;
    margin-left: 18px;
    overflow: hidden;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}
.teacher-profile-content .top-layer .right-col .img-layer img{
    width: 100%;
    display: block;
}
.teacher-profile-content .top-layer .left-col{
    width: auto;
    display: table;
    float: left;
    position: relative;
    white-space: nowrap;
    padding-top: 27px;
    padding-left: 40px
}
.teacher-profile-content .top-layer .left-col ul li{
    white-space: nowrap;
    width: auto;
    display: inline-table;
}
.teacher-profile-content .top-layer .left-col ul li:last-child{
    margin-right: 55px
}
.teacher-profile-content .top-layer .left-col ul li a{
    line-height: 35px;
    font-size: 16px;
    color: #1e2f38;
    position: relative;
}
.teacher-profile-content .top-layer .left-col ul li a:hover{
    color: #686e71
}
.teacher-profile-content .top-layer .left-col ul li.active a{
    color: #00b3e9
}
.teacher-profile-content .top-layer .left-col ul li a:before{
    position: absolute;
    bottom: 13px;
    right: -26px;
    width: 18px;
    height: 4px;
    background-color: #ced8e0;
    content:'';
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    opacity: 0
}
.teacher-profile-content .top-layer .left-col ul li a:after{
    position: absolute;
    bottom: 13px;
    right: -35px;
    width: 7px;
    height: 4px;
    background-color: #ced8e0;
    content:'';
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    opacity: 0
}
.teacher-profile-content .top-layer .left-col ul li a:hover:after,
.teacher-profile-content .top-layer .left-col ul li a:hover:before{
    opacity: 1
}
.teacher-profile-content .top-layer .left-col ul li.active a:after,
.teacher-profile-content .top-layer .left-col ul li.active a:before{
    background-color: #00bffe;
    opacity: 1
}
.teacher-profile-content .profile-content{
    margin-bottom: 35px
}
.teacher-profile-content .profile-content > div{
    display: none
}
.teacher-profile-content .profile-content > div.active{
    display: block;
}
.teacher-profile-content .profile-content #teacher-about{
    padding: 25px
}
.teacher-profile-content .profile-content #teacher-about p{
    font-size: 14px;
    line-height: 30px;
    text-align: justify;
    margin:10px 0;
    color: #1e2f38
}
.teacher-profile-content .profile-content #teacher-about a{
    color: #5fb430
}
.teacher-profile-content .profile-content #teacher-about ul li{
    padding-right: 13px;
    position: relative;
    line-height: 25px;
    margin-bottom: 8px;
    font-size: 14px
}
.teacher-profile-content .profile-content #teacher-about ul li:before{
    width: 6px;
    height: 6px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: #6fc341;
    position: absolute;
    right: 0;
    top: 11px;
    content: ''
}
.teacher-profile-content .profile-content #teacher-about h2,
.teacher-profile-content .profile-content #teacher-about h3{
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin: 25px 0 15px;
    color: #5fb430
}
.pagination-layer{
    padding: 25px 0
}



@media screen and (max-width : 991px){
   
    .teacher-profile > header span,
    .teachers-list > header span{
        display: none
    }
    .teacher-profile > header h1,
    .teachers-list > header h1{
        font-size: 16px
    }
    .teacher-profile-content .top-layer .right-col .img-layer{
        width: 85px;
        height: 85px
    }
    .teacher-profile-content .top-layer .right-col .teacher-name h2{
        padding-bottom: 0
    }
    .teacher-profile-content .top-layer .left-col{
        padding-left: 0;
        padding-top: 24px
    }
    .teacher-profile-content .top-layer .left-col ul li:last-child{
        margin-right: 20px
    }
    .teacher-profile-content .top-layer .left-col ul li a:hover:before,
    .teacher-profile-content .top-layer .left-col ul li a:before{
        display: none;
    }
    .teacher-profile-content .top-layer .left-col ul li a:hover:after,
    .teacher-profile-content .top-layer .left-col ul li a:after{
        right: -12px;
        width: 5px;
        height: 5px;
        border-radius: 100%;
        -moz-border-radius: 100%;
        -webkit-border-radius: 100%;
    }
    .teacher-profile-content .top-layer .left-col ul li a{
        font-size: 15px
    }
}

@media screen and (max-width : 900px){
    .teacher-page:before{
        display: none
    }
}

@media screen and (max-width : 760px){
    .teacher-profile-content .top-layer .right-col,
    .teacher-profile-content .top-layer .left-col{
        display: block;
        width: 100%;
        float: none
    }
    .teacher-profile-content .top-layer:before{
        bottom: 50px
    }
    .teacher-profile-content .top-layer .right-col .img-layer{
        margin: 0 auto 10px;
        float: none;
    }
    .teacher-profile-content .top-layer .right-col .teacher-name{
        width: 100%
    }
    .teacher-profile-content .top-layer .right-col .teacher-name h2,
    .teacher-profile-content .top-layer .right-col .teacher-name span{
        text-align: center;
        margin-top: 5px;
        white-space: normal;
        width: 100%
    }
    .teacher-profile-content .top-layer .left-col{
        width: auto;
        display: table;
        margin: 0 auto;
        padding-top: 10px
    }
}

@media screen and (max-width : 700px){
    .teacher-profile > header,
    .teachers-list > header{
        float: none;
        width: 100%;
        padding: 12px 2px 0 0
    }
    .teacher-profile .breadcrumb,
    .teachers-list .breadcrumb{
        padding: 0 2px 17px 0;
        width: 100%;
        float: none
    }
    .teacher-profile-content .profile-content #teacher-about{
        padding: 20px
    }
}

@media screen and (max-width : 480px){
    .pagination-layer {
        margin: 0 0 40px;
    }
    .teacher-item{
        width: 100%;
        float: none
    }
}

