/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.no-margin {margin: 0 !important}
.no-margin > * {margin: 0 !important}
.no-paddding {padding: 0 !important}
.no-paddding > *{padding: 0 !important}

.owl-nav.disabled{display: none !important;}
.owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-prev {left: 0}
.owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-next {right: 0;}
.absolute-footer {display: none !important;}

:root {
    --primary-color: #147878;
    --secondary-color: #ad261c;
    --base-color: #757783;
    --heading-color: #1c1e27;
}

#header .header-inner {
    .flex-right {
        width: 70%;
    }
}

.header-main {
    border-bottom: 1px solid #E0E2E9;
}

.row-info-header {
    .social-icons {
        a {
            background-color: #F1F2F6;
            border-color: #F1F2F6;
            display: inline-block;
            margin-right: 10px;
            &:last-child {margin-right: 0;}
            i {color: var(--base-color);}
            &.button.icon:hover {
                background: var(--primary-color) !important;
                border-color: var(--primary-color) !important;
            }
            &.button.icon:first-child {
                background: var(--primary-color) !important;
                border-color: var(--primary-color) !important;
                i {color: #fff;}
            }
        }
    }
    .icon-box {align-items: center;}
    .icon-box-text {
        p {margin-bottom: 0; font-size: 14px;}
        p:last-child {
            color: var(--heading-color);
            font-size: 16px;
        }
    }
}

.header-bottom-nav > li > a {font-size: 16px !important;}

.searchform {
    input {
        height: 50px;
        box-shadow: none;
        border-right: 0;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        &:focus {box-shadow: none;}
        padding-left: 20px;
    }
    button {
        height: 50px;
        width: 50px;
        background: var(--primary-color) !important;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}

.text-banner {
    h3 {
        font-size: 38px;
        color: #fff;
        font-weight: 700;
        line-height: 41px;
        text-transform: uppercase;
    }
    p {
        margin-bottom: 0;
        font-weight: 400;
        font-size: 16px;
        line-height: 23px;
    }
}

.btn-website {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0px 30px;
    letter-spacing: 2px;
    border-radius: 10px;
    height: 45px;
    line-height: 45px;
    min-height: unset;
    &.btn-banner {
        padding: 0px 45px;
    }
}

.title-website {
    p {
        color: var(--primary-color);
        font-size: 18px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 30px;
        margin-bottom: 15px;
        color: var(--heading-color);
    }
}

.base-text { }

.col-image {
    & > .col-inner {
        position: relative;
    }

    & > .col-inner::before {
        content: '';
        position: absolute;
        background: var(--primary-color);
        top: calc(50% - 36%);
        height: 75%;
        left: -20px;
        width: 20px;
        border-radius: 10px 0 0 10px;
        padding-left: 15px;
    }

    .col-left, .col-right {
        .img {margin-bottom: 0; border-radius: 10px; overflow: hidden;}
    }

    .col-right .col-inner {
        position: relative;
    }
    .col-right .icon-box {
        background: #fff;
        position: absolute;
        bottom: 0;
        right: 0;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 0px 60px 0px;
        align-items: center;
        .icon-box-text p {
            margin-bottom: 0;
            font-weight: 700;
            font-size: 16px;
        }
        padding: 8px;
    }
}

.icon-box-check {
    margin-bottom: 5px;
    &:last-child {
        margin-bottom: 0;
    }
}

.post-item {
    .is-divider {display: none;}
    .col-inner {
        overflow: hidden;
        background: #fff;
        border-radius: 10px;
        border: 1px solid #dee2e6;
    }
    .box-text {
        padding: 40px 35px 30px 35px;
        .post-title a {
            font-size: 20px;
            line-height: 30px;
            word-wrap: break-word;
            display: inline-block;
            margin-bottom: 25px;
            transition: all .3s ease-in-out;
            &:hover {color: var(--primary-color);}
        }
        .button.is-link {
            margin-top: 18px;
            color: var(--secondary-color);
            font-size: 14px;
            position: relative;
            display: inline-block;
            margin-right: 0;
            &::after {
                content: '\f178';
                font-family: "FontAwesome";
                position: absolute;
                right: -25px;
                bottom: 0;
                font-size: 17px;
                transition: all .3s ease-in-out;
            }
        }
    }
    &:hover .button.is-link::after {
        right: -30px;
    }
}

.form-register {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.1);
    padding: 25px;
    .title-form h3 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .form-control {
        input, textarea {
            box-shadow: none;
            border: 0;
            background: #F1F2F6;
            height: 60px;
            padding: 0 15px;
            border-radius: 4px;
        }
    }
}

.icon-box-form {
    border-top: 1px solid #fff;
    margin-top: 30px;
    padding-top: 30px;
    h3 {
        margin-bottom: 15px;
        font-size: 20px;
    }
    p {
        margin-bottom: 0;
    }
    .icon-box-img {
        margin-top: 10px;
    }
    .icon-inner {
        background: var(--secondary-color);
        svg path {
            color: #fff;
        }
    };
}

.section-clients {
    background-image: url(./assets/images/bg-clients.png);
    background-position: top center;
    background-repeat: repeat-x;
    .col-client .col-inner {
        box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 20px 0px;
        .text-header {
            h3 {
                color: var(--secondary-color);
                font-size: 18px;
                margin-bottom: 20px;
                margin-top: 0;
                font-weight: 700;
            }
            p {
                font-size: 18px;
                line-height: 36px;
                margin-bottom: 25px;
            }
        }
        .icon-box {
            align-items: center;
        }
        .icon-box-img img{
            border-radius: 99%;
            overflow: hidden;
        }
        .icon-box-text h3 {
            font-size: 16px;
            margin-bottom: 0;
            text-transform: capitalize;
        }
        .icon-box-text p {
            font-size: 14px;
            margin-bottom: 0;
            text-transform: capitalize;
        }
    }    
}

.icon-box-teacher {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 40px 30px;
    .icon-inner img{
        border-radius: 99%;
        overflow: hidden;
		height: 210px;
		object-fit: cover;
    }
    .teacher-title {
        h3 {
            font-size: 20px;
            margin: 15px 0 2px;
        }
        p {
            font-size: 12px;
            text-transform: uppercase;
            color: var(--primary-color);
            letter-spacing: 1px;
            line-height: 26px;
        }
    }

    .teacher-des {
        font-size: 16px;
        line-height: 26px;
        padding: 12px 0 30px;
		min-height: 100px;
    }

    .social-icons {
        a {
            display: inline-block;
            margin-right: 15px;
            font-size: 20px;
            color: var(--heading-color);
            &:last-child{margin-right: 0;}
            &:first-child {color: var(--primary-color);}
            &:hover {color: var(--primary-color);}
        }
        background: #F1F2F6;
        width: 100%;
        padding: 5px 20px;
        border-radius: 10px;
    }
}

.slider-teacher {
    .flickity-page-dots {
        bottom: -15px !important;
    }
}

.flickity-page-dots {
    
    li {
        background: #F1F2F6 !important;
        border-color: #F1F2F6 !important;
        opacity: 1 !important;
        &.dot.is-selected {
            background: var(--secondary-color) !important;
            border-color: var(--secondary-color) !important;
        }
    }
}

#footer {
    .row-header .col-text p{
        margin-bottom: 0;
        font-size: 22px;
        color: #AEB2C2;
        line-height: 32px;
    }
    .is-divider {
        background: rgb(255 255 255 / 10%) !important;
    }
    .title-footer h2{
        font-size: 20px;
    }
    .icon-box-contact-footer {
        align-items: center;
        .icon-box-text p {
            margin-bottom: 0;
            &:first-child {color: #AEB2C2; font-size: 14px;}
        }
        border-bottom: 1px solid rgb(255 255 255 / 10%);
        padding-bottom: 20px;
        margin-bottom: 20px;
        &:last-child { border-bottom: 0; margin-bottom: 0;}
    }

    .menu-footer {
        .ux-menu-link__link {font-size: 18px;}
        .ux-menu-link__link:hover {
            color: #fff;
        }
    }

    .fl-icon-footer {
        a {
            display: inline-block;
            margin-right: 20px;
            &:last-child {margin-right: 0;}
            font-size: 25px;
            color: #fff;
            &:hover {color: var(--primary-color);}
        }
    }
}

/* table */
@media (min-width: 768px) {   
    .text-banner {
        h3 {
            font-size: 70px;
            line-height: 71px;
        }
        p {
            font-size: 20px;
            line-height: 30px;
        }
    } 
    .btn-website {
        font-size: 13px;
        padding: 0px 35px;
        height: 55px;
        line-height: 55px;
    }

    .col-image .col-right .icon-box {
        right: -40px;
        padding: 28px 30px 16px;
        border-radius: 10px;
        bottom: 20px;
    }
    .title-website h2 {
        font-size: 36px;
    }

    .post-item .box-text .post-title a {
        font-size: 24px;
    }

    .icon-box-form h3 {
        font-size: 22px;
    }
    .form-register {
        padding: 45px;
    }
}


/* desktop */
@media (min-width: 992px) {  
    .row-no-padding-bottom > .col {padding-bottom: 0 !important;}

    .text-banner {
        h3 {
            font-size: 100px;
            line-height: 102px;
        }
        p {
            font-size: 22px; 
            line-height: 34px;
        }
    } 

    .btn-website {
        font-size: 14px;
        padding: 0px 45px;
        height: 60px;
        line-height: 60px;
    }

    .title-website h2 {
        font-size: 42px;
    }

    .row-header .col-btn-footer .col-inner {
        text-align: right !important;
    }
}