﻿#teachers{
    background-color:#fff;
}
    #teachers main{
        padding-top:0;
        padding-bottom:2em;
    }
    #teachers footer{
        margin-top:2em;
    }



    #teachers .teachers-search {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1;
        margin-top: 3em;
    }
        #teachers .teachers-search > div {
            width: 100%;
            max-width: 27em;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            padding: 0.7em 0.4em;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(0,0,0,0.1);
            border-radius: 0.7em;
            background-color: #fff;
            font-size:0.95em;
        }
        #teachers .teachers-search button {
            position: relative;
            width: 2.5em;
            height: 2.5em;
            background-color: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor:pointer;
        }
            #teachers .teachers-search button:after {
                content: "";
                position: absolute;
                left: -0.5em;
                width: 1px;
                height: 100%;
                top: 0;
                background-color: rgba(194, 194, 194, 0.23);
            }
            #teachers .teachers-search button > svg,
            #teachers .teachers-search a > svg {
                width: 1.5em;
                height: 1.5em;
            }
                #teachers .teachers-search input {
                    width: calc(100% - 3em);
                    position: relative;
                    background-color:transparent;
                    height:100%;
                    padding:0.5em;
                    padding-right:1.2em;
                    height:2.5em;
                }
                #teachers .teachers-search a {
                    position:absolute;
                    left:1.5em;
                    border-radius:50%;
                    transform:translateX(-5em);
                    width:1.5em;
                    height:1.5em;
                    cursor:pointer;
                }
        #teachers .teachers-search.active a {
            transform: translateX(0);
        }


    #teachers .teachers-list {
        position:relative;
        display:flex;
        justify-content:center;
        align-items:center;
        background-color: #FAFAFB;
        padding-top:7em;
        padding-bottom:4em;
        margin-top:-2em;
        flex-wrap:wrap;
    }
        #teachers .teachers-list .teachers-header {
            display:block;
            text-align:center;
            width:100%;
        }
#teachers .teachers-list .teachers-header h1 {
    font-weight: 700;
    color: #000;
    font-size: 2.2em;
    text-align: center;
    margin-bottom:0.3em;
}
            #teachers .teachers-list .teachers-header p {
                font-weight: 400;
                color: #707070;
                font-size: 1.2em;
                text-align: center;
            }
                #teachers .teachers-list .teachers-header p span#teachers-count{
                    margin:0 4px 0 2px;
                }
                #teachers .teachers-list .teachers-items {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    padding: 4em 0;
                }
            #teachers .teachers-list .teachers-items .teachers-item{
                position:relative;
                display:flex;
                padding:0;
                flex-wrap:wrap;
            }
                #teachers .teachers-list .teachers-items .teachers-item .teacher-info {
                    padding: 0.7em;
                    position: relative;
                    width: 100%;
                    height: 100%;
                    overflow:hidden;
                }
                    #teachers .teachers-list .teachers-items .teachers-item.important .teacher-info{
                        width:100%;
                    }
                    #teachers .teachers-list .teachers-items .teachers-item .teacher-info > div {
                        position: relative;
                        overflow: hidden;
                        border-radius: 0.5em;
                        width: 100%;
                        height: 100%;
                        /*2*3*/
                        padding-bottom: 66.66%;
                    }
                        #teachers .teachers-list .teachers-items .teachers-item.important .teacher-info > div{
                            padding-bottom:65%;
                        }
                        #teachers .teachers-list .teachers-items .teachers-item div.teacher-info a.link {
                            position: absolute;
                            left: 0;
                            top: 0;
                            width: 100%;
                            height: 100%;
                            z-index: 2;
                            background-color: transparent;
                            opacity: 0;
                        }
                #teachers .teachers-list .teachers-items .teachers-item .teacher-info img {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center top;
                    color: rgba(0,0,0,0);
                    transform: scale(1);
                }
                #teachers .teachers-list .teachers-items .teachers-item .teacher-info:hover img {
                    transform: scale(1.04);
                }
                #teachers .teachers-list .teachers-items .teachers-item div.spec {
                    width: 100%;
                    bottom: 1.6em;
                    font-size: 0.98em;
                    position: absolute;
                    display:flex;
                    justify-content:center;
                }
                #teachers .teachers-list .teachers-items .teachers-item div.spec > div {
                    background-color: rgba(20, 20, 20, 0.55);
                    box-shadow: 0 0 30px rgba(0,0,0,0.06);
                    padding: 0.6em 1.3em;
                    border-radius: 2em;
                    color: #fff;
                    
                    width: auto;
                }
                    #teachers .teachers-list .teachers-items .teachers-item div.spec span{
                        display:inline-block;
                        position:relative;
                    }
                        #teachers .teachers-list .teachers-items .teachers-item div.spec span:first-of-type {
                            padding-left: 1.6em;
                        }
                            #teachers .teachers-list .teachers-items .teachers-item div.spec span:first-of-type:after {
                                content: "";
                                position: absolute;
                                left: .8em;
                                height: 100%;
                                width: 1px;
                                background-color: #fff;
                            }
                #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other {
                    position:relative;
                    width:100%;
                    padding:0.7em;
                }
                    #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other > div {
                        background-color: #141414;
                        color: #fff;
                        box-shadow: 0 0 20px rgba(0,0,0,0.16);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 0.5em;
                        text-align: center;
                        width: 100%;
                        height: 100%;
                        padding: 1.3em;
                    }
      /*              #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other h3{
                        position:relative;
                        display:block;
                        margin-bottom:1.5em;
                        font-size:1.15em;
                        font-weight:500;
                        color:#fff;
                    }
                        #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other h3:after{
                            position:absolute;
                            content:"";
                            left:calc(50% - 1.5em);
                            width:3em;
                            height:2px;
                            bottom:-1em;
                            background-color:#fff;
                        }*/
                        #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other p {
                            display: block;
                            font-size: 1em;
                            font-weight: 400;
                            color: #fff;
                            text-align: center;
                        }

                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info a.more-link {
                    transform: rotate(-135deg);
                    background-color: #000;
                    width: 6em !important;
                    height: 6em !important;
                    top: calc(50% - 3em);
                    right: -7em;
                    position: absolute;
                    border-radius: 1.5em;
                    opacity: 0;
                    left: auto;
                    z-index:3;
                    cursor:pointer;
                }

                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info.active a.more-link {
                    background-color: #355B29;
                    z-index: 5;
                }
                #teachers .teachers-list .teachers-items .teachers-item.important div.teacher-info a.more-link {
                    background-color: #355B29;
                }
                    #teachers .teachers-list .teachers-items .teachers-item.important div.teacher-info.active a.more-link{
                        background-color:#000;
                    }
                    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info a.more-link > span {
                        display: block;
                        position: absolute;
                        right: 1.3em;
                        top: 1.3em;
                        width: 0;
                        height: 0;
                        border-top: 1.2em solid #fff;
                        border-left: 1.2em solid transparent;
                    }
                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info.active a.more-link > span{
                    right: 0.8em;
                    top: 0.8em;
                    transform: rotate(180deg);
                }

                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info .more-detail {
                    position: absolute;
                    left: 100%;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background-color: #000;
                    padding: 1em 4em 1em 3.5em;
                    opacity: 0;
                    display: flex;
                    justify-content: right;
                    align-items: center;
                    flex-wrap: wrap;
                    z-index:4;
                }
                #teachers .teachers-list .teachers-items .teachers-item.important div.teacher-info .more-detail {
                    background-color: #355B29;
                }
                    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info.active .more-detail {
                        opacity: 1;
                        left: 0;
                    }
                    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info .more-detail h2 {
                        font-size: 1.35em;
                        font-weight: 700;
                        color: #fff;
                        display:block;
                        width:100%;
                        margin-bottom:0.3em;
                    }
                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info .more-detail h3 {
                    font-size: 0.9em;
                    font-weight: 700;
                    color: #E8E8E8;
                    display: block;
                    width: 100%;
                }
                #teachers .teachers-list .teachers-items .teachers-item div.teacher-info .more-detail p {
                    font-size: 0.9em;
                    font-weight: 400;
                    color: #E8E8E8;
                    margin: 2em 0 3em;
                    display: block;
                    width: 100%;
                    white-space: pre-line;
                }
                    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info .more-detail a {
                        background-color: #B9E6B8;
                        padding:0.5em 2em;
                        color:#000;
                        border-radius:0.5em;
                    }

            #teachers .teachers-list .teachers-items .not-found {
                font-size: 1.1em;
                font-weight: 400;
                margin-top: 2em;
                color: rgba(0,0,0,0.8);
            }











            .teacher .teacher-details {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                padding: 2em 0.5em;
                box-shadow: 0 6px 26px rgba(0,0,0,0.1);
                border-radius: 0.75em;
                border: 1px solid rgba(112, 112, 112, 0.15);
                background-color: #ffffff;
            }

    .teacher .teacher-details .personal-general {
        display: flex;
        justify-content: center;
        border: none;
        align-items: center;
        padding: 0.5em 1em;
        height: auto;
        margin-bottom: 2em;
    }

        .teacher .teacher-details .personal-general img {
            width: 8em;
            height: 8em;
            object-fit: cover;
            object-position: center;
            border-radius: 50%;
        }

        .teacher .teacher-details .personal-general > div {
            /* display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start; */
            height: max-content;
            padding-right: 1.5em;
        }

        .teacher .teacher-details .personal-general h2 {
            color: #41414A;
            font-weight: 600;
            font-size: 1.5em;
            width: 100%;
        }

        .teacher .teacher-details .personal-general p {
            color: #8D8D8D;
            font-weight: 500;
            font-size: 1.2em;
            width: 100%;
            margin-bottom: 1em;
        }
/*
        .teacher .teacher-details .personal-general .term-rate {
            display: inline-flex;
            flex-direction: column;
            width: 100%;
        }

            .teacher .teacher-details .personal-general .term-rate ul {
                display: flex;
            }

            .teacher .teacher-details .personal-general .term-rate li {
                width: auto;
                margin: 0 0.1em;
            }

                .teacher .teacher-details .personal-general .term-rate li > svg {
                    width: 1.2em;
                    height: 1.2em;
                }

            .teacher .teacher-details .personal-general .term-rate span {
                color: #C2C2C2;
                font-weight: 400;
                font-size: 0.9em;
            }*/



    .teacher .teacher-details .personal-more {
        padding: 0.5em 1em;
    }

        .teacher .teacher-details .personal-more ul {
        }

        .teacher .teacher-details .personal-more li {
            width: 100%;
            display: flex;
            font-size: 0.95em;
            margin-bottom: 0.9em;
            line-height: 1.8em;
            flex-wrap: wrap;
        }

            .teacher .teacher-details .personal-more li:last-of-type {
                margin-bottom: 0;
            }

            .teacher .teacher-details .personal-more li > span {
                display: inline-flex;
                text-align: center;
                justify-content: center;
                color: #41414A;
                font-size: 1em;
            }

            .teacher .teacher-details .personal-more li > a {
                display: inline-flex;
                color: #8D8D8D;
                font-size: 1em;
                text-align: center;
                justify-content: center;
                font-weight: 500;
            }

.teacher .teacher-more {
    margin-top: 4em;
    width: 100%;
}

    .teacher .teacher-more div.tab-list {
        border-bottom: solid 1px #C2C2C2;
        padding: 0;
    }

        .teacher .teacher-more div.tab-list ul {
            width: auto;
            display: flex;
            flex-wrap: wrap-reverse;
            position: relative;
            width: 100%;
            font-size: 1em;
        }

            .teacher .teacher-more div.tab-list ul::after {
                content: "";
                position: absolute;
                bottom: 0;
                right: 0;
                width: 33.33%;
                height: 1px;
                background-color: #355B29;
                transition: 0.3s;
            }

            .teacher .teacher-more div.tab-list ul[data-selected='2']::after {
                right: 33.33%;
            }

            .teacher .teacher-more div.tab-list ul[data-selected='3']::after {
                right: 66.66%;
            }

        .teacher .teacher-more div.tab-list li {
            width: 33.33%;
            text-align: center;
            padding: 0.7em 0.5em;
            color: #8D8D8D;
            cursor: pointer;
            font-weight: 600;
            border-bottom: solid 1px transparent;
            font-size: 1.05em;
        }

            .teacher .teacher-more div.tab-list li:hover {
                color: rgba(110, 110, 110, 1);
                border-bottom: solid 0.5px rgba(110, 110, 110, 0.2);
            }

            .teacher .teacher-more div.tab-list li.active {
                color: #355B29;
                font-weight: 700
            }



.teacher .tab-content {
    position: relative;
    height: 30em;
    padding: 1em;
}

    .teacher .tab-content .tab-section {
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
        opacity: 0;
        /* box-shadow: 0 5px 10px #13131708; */
        border-radius: 0.75em;
        border: 1px solid rgba(112, 112, 112, 0.15);
        margin-top: 2em;
        background-color: #ffffff;
        z-index: -1;
        padding: 2em 1.5em;
    }

        .teacher .tab-content .tab-section.active {
            opacity: 1;
            z-index: 1;
        }

        .teacher .tab-content .tab-section > div {
            margin-bottom: 2.5em;
            position: relative;
            display: flex;
            justify-content: start;
            flex-wrap: wrap;
            padding: 0;
            padding-bottom: 2em;
            flex-direction: column;
        }

            .teacher .tab-content .tab-section > div:last-of-type {
                margin-bottom: 0;
                padding-bottom: 0;
            }

            .teacher .tab-content .tab-section > div::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 1px;
                background-color: rgba(112, 112, 112, 0.15);
            }

            .teacher .tab-content .tab-section > div:last-of-type:after {
                opacity: 0;
                margin-bottom: 0;
            }

        .teacher .tab-content .tab-section h3 {
            color: #3a3a3a;
            font-weight: 600;
            font-size: 1.3em;
            width: 100%;
            margin-bottom: 2em;
            text-align: center;
        }

        .teacher .tab-content .tab-section p {
            color: #8D8D8D;
            font-size: 0.95em;
            text-align: center;
            white-space: pre-line;
        }

        .teacher .tab-content .tab-section .course-item {
            position: relative;
            /*height: 11em;*/
            padding-bottom:66.66%;
            margin-bottom: 1.4em;
            width: 100%;
            overflow: hidden;
            border-radius: 1em;
            display: flex;
            justify-content: start;
            align-items: end;
        }
            .teacher .tab-content .tab-section .course-item > div{
                position:absolute;
                left:0;
                top:0;
                width:100%;
                height:100%;
            }

                .teacher .tab-content .tab-section .course-item > div > a {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    opacity: 0;
                    z-index: 10;
                }

            .teacher .tab-content .tab-section .course-item > div > img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                object-position: center top;
                object-fit: cover;
                z-index: -2;
            }

            .teacher .tab-content .tab-section .course-item:before {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                /*background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.75));*/
                background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .5) 75%, rgba(0, 0, 0, 0.7) 100%);
                z-index: -1;
                transition: inherit;
            }

            .teacher .tab-content .tab-section .course-item > div > div {
                position: absolute;
                display: inline-block;
                right: 0;
                bottom: 0;
                margin-top: auto;
                padding: 1em 1.5em;
                color: #FFFFFF;
            }

            .teacher .tab-content .tab-section .course-item h4 {
                color: inherit;
                font-size: 1em;
                margin-top: 0;
                margin-bottom: 0.3em;
                text-align: right;
                max-height: 100%;
                overflow: hidden;
                opacity: 1;
            }

            .teacher .tab-content .tab-section .course-item p {
                color: inherit;
                font-size: 0.85em;
                color: #ECECEC;
                fill: #ECECEC;
                align-items: center;
                display: flex;
                overflow: hidden;
                opacity: 1;
                max-height: 3em;
            }
                .teacher .tab-content .tab-section .course-item p span > span{
                    margin-left:0.2em;
                }

                .teacher .tab-content .tab-section .course-item svg {
                    width: 1.5em;
                    max-height: 1.5em;
                    margin-left: 0.5em;
                }

                .teacher .tab-content .tab-section .course-item svg path {
                    fill: inherit;
                }

            .teacher .tab-content .tab-section .course-item.full svg {
                width: 1.1em;
            }

            .teacher .tab-content .tab-section .course-item.full::after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: #fff;
                opacity: 0.1;
            }


.teacher .tab-section .resume {
    margin-bottom: 3em;
}

    .teacher .tab-section .resume:last-of-type {
        margin-bottom: 1.5em;
    }

    .teacher .tab-section .resume .resume-title {
        width: 100%;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: row;
        padding: 0.5em 0 1.1em
    }

        .teacher .tab-section .resume .resume-title .name {
            width: 50%;
            display: flex;
            flex-wrap: wrap;
            justify-content: start;
            align-items: center;
        }

            .teacher .tab-section .resume .resume-title .name > h5 {
                width: 100%;
                font-size: 1.05em;
                font-weight: 500;
                color: #707070;
                margin-bottom: 0.1em;
            }

            .teacher .tab-section .resume .resume-title .name > p {
                width: 100%;
                font-weight: 500;
                font-size: 0.95em;
                color: #b2b2b2;
                text-align: right;
            }

        .teacher .tab-section .resume .resume-title .time {
            width: 50%;
            display: flex;
            flex-wrap: wrap;
            justify-content: end;
            align-items: center;
            margin-top: 0.3em;
        }

            .teacher .tab-section .resume .resume-title .time > svg {
                width: 1.2em;
                height: 1.2em;
            }

                .teacher .tab-section .resume .resume-title .time > svg path {
                    fill: #b2b2b2;
                }

            .teacher .tab-section .resume .resume-title .time > span {
                color: #b2b2b2;
                font-size: 1em;
                margin: 0 0.6em;
                display: inline-block;
                position: relative;
                line-height: 1em;
                padding-top: 0.3em;
            }

                .teacher .tab-section .resume .resume-title .time > span.start::after {
                    content: "-";
                    left: -0.75em;
                    position: absolute;
                    color: inherit;
                    font-size: 1em;
                }

                .teacher .tab-section .resume .resume-title .time > span.end {
                    margin-left: 0;
                }






.teacher .tab-content .tab-section .course-item:hover p {
    max-height: 0;
    opacity: 0;
}

.teacher .tab-content .tab-section .course-item:hover h4 {
    font-size: 1.1em;
    /*text-align: center;*/
    margin-top: 0.5em;
}

























@media (min-width:576px) {
    .teacher .teacher-details .personal-general,
    .teacher .teacher-details .personal-more {
        padding-right: 2em;
        padding-left: 2em;
    }

        .teacher .teacher-details .personal-general img {
            width: 10em;
            height: 10em;
        }

    .teacher .teacher-more div.tab-list ul {
        width: 27em;
    }

    .teacher .tab-content .tab-section h3 {
        text-align: right;
        margin-bottom: 1.5em;
    }

    .teacher .tab-content .tab-section p {
        text-align: right;
    }

    .teacher .tab-section .resume .resume-title .time {
        justify-content: start;
    }

        .teacher .tab-section .resume .resume-title .time > span {
            margin: 0 1em;
        }

            .teacher .tab-section .resume .resume-title .time > span.start::after {
                left: -1.2em;
            }
    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info:hover a.more-link,
    #teachers .teachers-list .teachers-items .teachers-item div.teacher-info.active a.more-link {
        right: -3.5em;
        opacity: 1;
    }
}

@media (min-width:768px) {
    #teachers .teachers-list .teachers-items .teachers-item.important .teacher-info {
        width: calc(100% - 19em);
    }
    #teachers .teachers-list .teachers-items .teachers-item.important .teacher-other {
        position: absolute;
        left: 0.7em;
        top: 0.7em;
        height: calc(100% - 1.4em);
        width: calc(19em - 1.4em);
        padding:0;
    }

    .teacher .teacher-details .personal-general {
        border-left: solid 1px rgba(112, 112, 112, 0.15);
        justify-content: start;
        height: 100%;
        margin-bottom: 0;
    }

    .teacher .teacher-details .personal-more li > span {
        justify-content: start;
        text-align: right;
        font-weight: 600;
    }

    .teacher .teacher-details .personal-more li > a {
        justify-content: start;
        text-align: right;
    }

    .teacher .tab-content .tab-section {
        padding: 2.5em 2em;
    }
}

@media (min-width:1024px) {
    .teacher .teacher-details .personal-general {
        justify-content: start;
        padding-right: 2em;
        padding-left: 2em;
    }
}