/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme for Kinder Garden Demo
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.1.0
 Text Domain:  eduma-child
*/

body {
    .learn-press-tabs {
        margin-top: 20px;
    }
    .sc_heading {
        margin-bottom: 10px;
        .title {
            font-weight: 400;
            text-transform: none;
        }
        .line {
            width: 70px;
            background-color: #ddd;
        }
    }

    .thim-course-grid .course-item .thim-course-content .course-meta:before,
    .thim-course-grid .course-item .thim-course-content .course-meta:after {
        display: none;
    }

    .thim-background-border {
        width: 100%;
        height: 1px;
        background: #ffbc1b;
        display: block;
        position: relative;
        &:after,
        &:before {
            content: '';
            height: 1px;
            left: 0;
            width: 33.33%;
            top: 0;
            position: absolute;
            z-index: 2;
            background: #9bba1f;
        }
        &:after {
            background: #d43a3b;
            right: 0;
            left: auto;
        }
    }

    .thim-list-posts.thim-owl-carousel-post {
        margin-bottom: 65px;
        .content {
            text-align: left;
        }
        .title {
            margin: 15px 0;
        }
        .description {
            height: 100px;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 20px;
            line-height: 25px;
        }
        .read-more {
            display: inline-block;
            margin: 0;
        }
    }

    .thim-widget-icon-box {
        .wrapper-box-icon {
            &.has_custom_image:not(.overlay) {
                .desc-icon-box {
                    margin-top: 0;
                }
            }
        }
    }

    #thim-course-archive.thim-course-grid,
    .thim-ralated-course .thim-course-grid {
        .course-item {
            .thim-course-content {
                .course-meta > div {
                    padding-right: 10px;
                    margin-right: 10px;
                    &.class-size {
                        padding-right: 10px;
                        margin-right: 10px;
                    }
                    label {
                        font-size: 11px;
                    }
                    &.class-size {

                    }
                    &.year-old {
                        margin-right: 0;
                    }
                    &.course-price {
                        margin-right: 0;
                        padding-right: 0;
                        .value {
                            font-size: 20px;
                            line-height: 30px;
                        }
                        .unit-price {
                            margin-left: 3px;
                            margin-top: 0;
                        }
                    }
                }
            }
        }
    }

    .thim-course-list .course-item .thim-course-content .course-meta > div.year-old {
        border-right: none;
    }

    .thim-course-grid {
        &.thim-course-carousel {
            .course-item {
                .thim-course-content {
                    border: 0;
                }
            }
        }
        .course-item {
            text-align: left;
            background: #fff;
            .thim-course-content {
                padding-top: 15px;
                padding-bottom: 13px;
                .course-title {
                    margin-top: 11px;
                    margin-bottom: 2px;
                    height: auto;
                }
                .course-author {
                    font-size: 13px;
                    img {
                        display: none;
                    }
                    label {
                        display: inline-block;
                        font-weight: 400;
                        margin: 0;
                        margin-right: 5px;
                    }
                    .value {
                        font-weight: 700;
                        display: inline-block;
                        margin-top: 0;
                    }
                }
                .thim-background-border {
                    margin: 22px 0 13px;
                }
                .course-meta {
                    > div {
                        display: inline-block;
                        border-right: 1px dashed #eee;
                        padding-right: 20px;
                        line-height: 15px;
                        .value {
                            font-size: 14px;
                            font-weight: 700;
                            line-height: 15px;
                            margin-bottom: 0px;
                        }
                        &.course-price {
                            margin-right: 0;
                            padding-right: 0;
                            border-right: 0;
                            line-height: 36px;
                            .value {
                                line-height: 36px;
                                font-size: 30px;
                                display: inline-block;
                            }
                            .unit-price {
                                line-height: 36px;
                                display: inline-block;
                                font-size: 14px;
                                font-weight: 700;
                                color: #f24c0a;
                                float: right;
                                margin-left: 7px;
                                margin-top: 5px;
                            }
                        }
                        &.year-old {
                            margin-right: 10px;
                            .value {
                                color: #ffb606;
                            }
                        }
                        &.class-size {
                            margin-right: 20px;
                            .value {
                                color: #9bba1f;
                            }
                        }
                    }
                    label {
                        display: block;
                        text-transform: uppercase;
                        font-size: 12px;
                        font-weight: 400;
                    }
                }
            }
        }

    }

    .thim-course-list .course-item .thim-course-content .course-price {
        .value {
            color: #f24c0a;
        }
        .unit-price {
            display: inline-block;
            color: #f24c0a;
            font-size: 14px;
            margin-left: 3px;
        }
    }

    .widget-area .thim-course-list-sidebar .course-price {
        .value {
            display: inline-block;
            color: #f24c0a;
        }
        .unit-price {
            display: inline-block;
            margin-left: 3px;
            color: #f24c0a;
        }
    }

    .thim-image-border .item {
        img {
            border: 1px solid #eee;
        }
    }

    .wrapper-lists-our-team {
        .our-team-item {
            text-align: left;
            margin-bottom: 30px;
            .item {
                border: 1px solid #eee;
            }
            .our-team-image {
                &:before {
                    display: none;
                }
                img {
                    border-radius: 0;
                    width: 100%;
                }
            }
            .content-team {
                padding: 13px 20px 22px;
            }
            .title {
                margin-top: 0;
            }
            .regency {
                text-transform: none;
                font-size: 15px;
                font-weight: 400;
            }
            .social-team {
                float: right;
                margin-top: -40px;
                font-size: 16px;
                a {
                    margin-right: 10px;
                    display: inline-block;
                    &:hover {
                        transform: translate(0, -5px);
                        -webkit-transform: translate(0, -5px);
                        -moz-transform: translate(0, -5px);
                        -ms-transform: translate(0, -5px);
                        -o-transform: translate(0, -5px);
                    }
                    &:last-child {
                        margin-right: 0;
                    }
                    &.facebook {
                        color: #3b5998;
                    }
                    &.twitter {
                        color: #55acee;
                    }
                    &.skype {
                        color: #00AFF0;
                    }
                    &.dribbble {
                        color: #ea4c89;
                    }
                    &.linkedin {
                        color: #007bb5;
                    }
                }
            }
            .thim-background-border {
                margin: 15px 0 25px;
            }
            .description {
                color: #999;
                line-height: 25px;
                height: 75px;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                text-transform: none;
            }
        }
    }

    .thim-bg-overlay-color {
        .thim-course-carousel .owl-controls .owl-prev:hover,
        .thim-course-carousel .owl-controls .owl-next:hover {
            border-color: #fff;
            .fa {
                color: #fff;
            }
        }
    }

    .thim-widget-icon-box .wrapper-box-icon.has_custom_image:not(.overlay) .desc-icon-box {
        padding-left: 10px;
    }

    .thim-bg-overlay {
        background-position: center center;
        background-size: cover;
    }

    .learn-press .course-payment {
        .course-price {
            margin-right: 0;
            padding-right: 0;
            border-right: 0;
            line-height: 40px;
            .value {
                line-height: 40px;
                font-size: 30px;
                display: inline-block;
                color: #f24c0a;
            }
            .unit-price {
                line-height: 30px;
                display: inline-block;
                font-size: 14px;
                font-weight: 700;
                color: #f24c0a;
                float: right;
                margin-left: 7px;
                margin-right: 20px;
                margin-top: 10px;
            }
        }
    }

    .thim-language .lang-item.active,
    #toolbar .widget_login-popup .thim-link-login a:first-child:not(:last-child),
    #toolbar .widget_login-menu .thim-link-login a:first-child:not(:last-child) {
        border-right-color: #e4a50d;
    }

    #toolbar .list-lang a {
        color: #666;
    }

    .thim-language ul {
        background: #fff;
        box-shadow: 0 1px 5px -1px rgba(0, 0, 0, .3);
        -webkit-box-shadow: 0 1px 5px -1px rgba(0, 0, 0, .3);
    }

    .thim-course-megamenu {
        .course-price {
            .value {
                display: inline-block;
            }
            .unit-price {
                display: inline-block;
                color: #f24c0a;
                font-size: 13px;
                font-weight: 700;
            }
        }
    }

    #contact-form-registration .wpcf7-form div.wpcf7-validation-errors,
    #contact-form-registration .wpcf7-form div.wpcf7-mail-sent-ok {
        margin-top: 20px;
    }
    #contact-form-registration .wpcf7-form .ajax-loader {
        left: 51px;
    }

}

.thim-testimonial-carousel-kindergarten {
    padding-bottom: 100px;
    .owl-item {
        padding: 0 15px;
        &:nth-child(3n+2) {
            .item .image img {
                border: 1px solid #ffb606;
            }
        }
        &:nth-child(3n+0) {
            .item .image img {
                border: 1px solid #cf4240;
            }
        }
    }
    .item {
        padding: 30px;
        background: #fff;
        .image {
            width: 62px;
            float: left;
            margin-bottom: 25px;
            img {
                border-radius: 50%;
                border: 1px solid #9fbd2c;
            }
        }
        .meta {
            float: right;
            width: calc(~"100% - 82px");
            width: -webkit-calc(~"100% - 82px");
            width: -moz-calc(~"100% - 82px");
            .title {
                font-weight: 700;
                font-size: 15px;
                margin: 9px 0 0;
            }
            .regency {
                font-style: italic;
                font-weight: 400;
                font-size: 13px;
                color: #999;
            }
        }
        .description {
            clear: both;
            color: #999;
        }
    }

    .owl-controls {
        .owl-pagination {
            margin-top: 54px;
            .owl-page {
                margin: 0 5px;
                width: 10px;
                height: 10px;
                border: none;
                background: #fff;
                -moz-opacity: 0.5;
                -khtml-opacity: 0.5;
                -webkit-opacity: 0.5;
                opacity: 0.5;
                -ms-filter: alpha(opacity=50);
                filter: alpha(opacity=50);
                &:hover,
                &.active {
                    background: #fff;
                    -moz-opacity: 1;
                    -khtml-opacity: 1;
                    -webkit-opacity: 1;
                    opacity: 1;
                    -ms-filter: alpha(opacity=100);
                    filter: alpha(opacity=100);
                }
            }
        }
    }
}

.thim-becom-teacher-kindergarten {
    .sc_heading {
        padding-bottom: 0;
        margin-bottom: 0;
        .title {
            font-size: 48px;
            margin-bottom: 10px;
        }
        .sub-heading {
            font-size: 18px;
            line-height: 25px;
        }
    }
}

.thim-our-gallery-kindergarten {
    width: 292px;
    margin: auto;
    text-align: center;
    border: 10px solid #fff;
    height: 292px;
    display: flex;
    align-items: center;
    justify-content: center;
    .content {

    }
    .title {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 20px;
        margin-top: 0;
        font-weight: 400;
        span {
            display: inline-block;
        }
    }
    .view-button {
        background: #fff;
        color: #333;
        text-transform: uppercase;
        line-height: 35px;
        padding: 0 20px;
        border: none;
        text-decoration: none;
        display: inline-block;
        font-size: 13px;
        font-weight: 700;
    }
}

#contact-form-registration {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999999;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    opacity: 0;
    -ms-filter: alpha(opacity=0);
    filter: alpha(opacity=0);
    visibility: hidden;
    overflow: hidden;
    background: rgba(0, 0, 0, .8);
    margin: 0;
    width: 100%;
    height: 100vh;
    -webkit-transform: scale(.2, .2);
    -ms-transform: scale(.2, .2);
    -o-transform: scale(.2, .2);
    transform: scale(.2, .2);
    -webkit-transition: all .3s cubic-bezier(.4, 0, 1, 1);
    -moz-transition: all .3s cubic-bezier(.4, 0, 1, 1);
    -o-transition: all .3s cubic-bezier(.4, 0, 1, 1);
    -ms-transition: all .3s cubic-bezier(.4, 0, 1, 1);
    transition: all .3s cubic-bezier(.4, 0, 1, 1);
    overflow: auto;
    &.active {
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        -webkit-opacity: 1;
        opacity: 1;
        -ms-filter: alpha(opacity=100);
        filter: alpha(opacity=100);
        visibility: visible;
    }
    body.thim-contact-popup-active & {
        cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEVMaXH////////////////////////////////////////////////////////////6w4mEAAAAD3RSTlMAlAX+BKLcA5+b6hJ7foD4ZP1OAAAAkUlEQVR4XkWPoQ3CUBQAL4SktoKAbCUjgAKLJZ2ABYosngTJCHSD6joUI6BZgqSoB/+Shqde7sS9x3OGk81fdO+texMtRVTia+TsQtHEUJLdohJfgNNPJHyEJPZTsWLoxShqsWITazEwqePAn69Sw2TUxk1+euPis3EwaXy8RMHSZBIlRcKKnC5hRctjMf57/wJbBlAIs9k1BAAAAABJRU5ErkJggg==), progress;
    }
    > .wpcf7 {
        max-width: 500px;
        overflow: hidden;
        padding: 30px 50px;
        background: #fff;
        margin: auto;
        position: relative;
        top: 0;
        cursor: default;
        form {
            .title {
                font-size: 20px;
                margin-bottom: 15px;
            }
            > p {
                margin-bottom: 0;
                > span {
                    margin-bottom: 20px;
                    overflow: hidden;
                    width: 100%;
                    margin-left: 0;
                    margin-right: 0;
                    float: left;
                }
            }
        }
        .thim-close {
            position: absolute;
            top: 0;
            right: 0;
            width: 30px;
            height: 30px;
            color: #fff;
            background: #e6a303;
            line-height: 30px;
            text-align: center;
            display: none;
            &:hover {
                opacity: 0.8;
                filter: alpha(opacity=90);
            }

        }
    }
}

body.single-lp_course {
    .site-header {
        z-index: 2;
    }
}

body.thim-contact-popup-active {
    #tp_style_selector {
        visibility: hidden;
        z-index: 1;
    }
    .site-header {
        z-index: 1;
    }
    #wpadminbar {
        z-index: -1;
    }
}

@media (max-width: 1024px) {
    body .thim-course-grid .course-item .thim-course-content .course-meta {
        > div {
            &.class-size,
            &.year-old {
                padding-right: 10px;
                margin-right: 10px;
            }
            &.course-price .value {
                font-size: 25px;
            }
        }
    }

    #contact-form-registration > .wpcf7 .thim-close {
        display: inline-block;
    }

}

@media ( max-width: 992px ) {
    .thim-welcome-to-eduma-school .content-inner {
        width: 100% !important;
        margin-top: 30px;
    }
}

@media ( max-width: 768px ) {
    body .wrapper-lists-our-team .our-team-item.col-sm-3 {
        width: 50%;
    }

    .thim-owl-carousel-post.thim-list-posts {
        .item-post {
            width: 50%;
            display: none;
            &:first-child,
            &:nth-child(2) {
                display: inline-block;
                float: left;
            }
        }
    }

    body .thim-image-border .item {
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    .thim-have-any-question {
        display: none;
    }

    body .thim-course-grid .course-item .thim-course-content .course-meta label {
        font-size: 10px;
    }

    body .thim-course-grid .course-item .thim-course-content .course-meta > div.course-price .value {
        font-size: 18px;
    }

    body .thim-course-grid .course-item .thim-course-content .course-meta > div.course-price .unit-price {
        font-size: 12px;
        margin-left: 2px;
        margin-top: 2px;
    }
}

@media ( max-width: 480px ) {
    body .wrapper-lists-our-team .our-team-item.col-sm-3 {
        width: 100%;
    }

    body .thim-owl-carousel-post.thim-list-posts .item-post {
        width: 100%;
        margin-bottom: 30px;
        display: block;
        &:last-child {
            margin-bottom: 0;
        }
    }

    body .thim-course-carousel,
    body .thim-owl-carousel-post {
        padding-top: 40px;
    }

    body .thim-course-carousel .owl-controls,
    body .thim-owl-carousel-post .owl-controls {
        top: -20px;
    }

    .thim-bg-border-top .thim-widget-icon-box .wrapper-box-icon .content-inner {
        padding: 130px 30px 30px 40px;
    }
}

.thim-other-member.wrapper-lists-our-team .thim-carousel-wrapper {
    margin: 0 -15px;
}

.thim-other-member.wrapper-lists-our-team .thim-carousel-wrapper .our-team-item {
    padding: 0 15px;
}

body .thim-course-list .thim-background-border {
    display: none;
}

body.thim-contact-popup-active {
    height: 100vh;
    max-height: 100vh;
    overflow-y: scroll;
}

body.thim-contact-popup-active #wrapper-container {
    height: 100vh;
    overflow: hidden;
}

/** Kindergarten RTL **/
body.rtl .thim-course-grid .course-item .thim-course-content .course-title {
    text-align: right;
}

body.rtl .thim-course-grid .course-item .thim-course-content .course-author {
    text-align: right;
}

body.rtl .thim-course-grid .course-item .thim-course-content .course-meta > div {
    border-right: 0;
    border-left: 1px dashed #eee;
    padding-left: 20px;
    padding-right: 0;
}

body.rtl .thim-course-grid .course-item .thim-course-content .course-meta > div.course-price {
    padding-left: 0;
    border-left: 0;
}

body.rtl .wrapper-lists-our-team .our-team-item .social-team {
    float: left;
}

body.rtl .wrapper-lists-our-team .our-team-item .content-team {
    text-align: right;
}

body.rtl .thim-list-posts.thim-owl-carousel-post .content {
    text-align: right;
}