/*

Theme Name: Essential (Child Theme)

Theme URI: https://themeforest.net/item/essential-responsive-minimal-one-page-html-template/18940825

Author: Raven Blue Themes

Author URI: https://themeforest.net/user/ravenbluethemes

Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready Wordpress theme with grid system layout. It is optimized for mobile touch and swipe.

Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready

Version: 1.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: essential-child

Template: essential

*/

/* = Add your own modification from here
-------------------------------------------------------------- */

/** General Css Start Here **/
ul{
    list-style-type: none;
}
.page:not(.home){
    margin: 0px !important;
}
.section.social {
    margin-top: 0px !important;
}
/** General Css End Here **/
/** All Pages normal CSS Start Here **/
.general-cs h5{
    margin-bottom: 10px;
}
.general-cs p,
.general-cs span,
.general-cs strong{
    font-size: 16px;
    letter-spacing: normal;
}
/** All Pages normal CSS end Here **/
.navbar {
    background-color: #163257 !important;
}
.navbar-nav>li>a{
    color: #e6e6e6 !important;
}

.navbar .navbar-container {
    width: 100%;
    display: block !important;
    text-align: center;
}


.navbar .navbar-container #main-nav {
    display: inline-block !important;
    float: none !important;
}
.navbar-nav.mobile{
    display: block;
    width: 100%;
    z-index: 999;
    position: relative;
}
.navbar .navbar-container .navbar-toggler-icon {
    background-color: #fff !important;
}
.navbar-nav.mobile .sub-menu{
    background-color: #163257 !important;
}
.navbar-nav.mobile .sub-menu a{
    color: #e6e6e6;
    border-bottom: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    padding-left: 0!important;
    padding-right: 0!important;
}
.header-top {
    padding: 20px 30px;
    background-color: #fff;
}

.header-top .flex-part {
    display: flex;
    justify-content: space-between;
}

.header-top .flex-part .item {
    width: 215px;
    text-align: center;
}

.header-top .flex-part .img {
    margin-bottom: 10px;
    height: 133px;
}

.header-top .flex-part .img img {
    max-height: 130px;
}

.header-top .flex-part .item .content {
    height: 55px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.header-top .flex-part .item .content h6 {
    font-weight: bold;
}

.navbar li:hover a,
.navbar li.current-menu-item a,
.menu-footer-container li.current-menu-item a,
.menu-footer-container li:hover a{
    color: #ff0000 !important;
}
.section.social h4{
    font-weight: 700 !important;
}
.cus-department>.wpb_column>.vc_column-inner {
    display: block !important;
}

.cus-department>.wpb_column>.vc_column-inner h5 {
    height: 48px;
}
body.home .widget_glsr_site-reviews{
    padding-bottom: 20px;
}

.section.social a i {
    font-size: 40px !important;
}
.cus-three-part > div > div{
    height: 100%;
}

.footer-menu {
    background-color: #163257;
}

.footer-menu a {
    color: #fff !important;
}

.navbar .navbar-container #main-nav .sub-menu {
    background-color: #fff;
    z-index: 998;
}
.all-review{
    margin: 30px 0px;
}
.all-review .wp-block-separator{
    visibility: hidden;
}
.all-review .widget_glsr_site-reviews{
    margin-top: 30px;
}
/* .home-banner .item {
    background: #ff3f4d;
} */
body:not(.home) .home-banner{
    display: none;
}
.home-banner .owl-carousel.owl-drag .owl-item {
    padding: 0px;
}
.home-banner .owl-theme .owl-dots .owl-dot:focus {
    border: none;
    outline: none;
}
.home-banner .owl-theme .owl-dots .owl-dot.active span, .home-banner .owl-theme .owl-dots .owl-dot:hover span {
    background: #163257;
}
.home-banner .owl-carousel.owl-drag .owl-item .item {
    height: 850px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: center;
}

.home-banner .owl-carousel .owl-item img {
    display: inline-block;
    width: auto;
}

.home-banner .owl-carousel.owl-drag .owl-item .item .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0px 20px;
}

.home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part {
    max-width: 650px;
    text-align: center;
    background-color: #163257;
    padding: 2%;
}

.home-banner .owl-carousel.owl-drag .owl-item .item .content h2,
.home-banner .owl-carousel.owl-drag .owl-item .item .content h4,
.home-banner .owl-carousel.owl-drag .owl-item .item .content h5 {
    color: #fff;
}
.home-banner .owl-carousel.owl-drag .owl-item .item .content h2{
    font-size: 30px;
}
.home-banner .owl-carousel.owl-drag .owl-item .item .content h4{
    font-size: 35px;
}
.home-banner .owl-carousel.owl-drag .owl-item .item .content h5{
    font-size: 30px;
}


/** Banner Start **/

/** Banner End **/
/** Appointment Page CSS Start Here **/
.appointment-page{
    max-width: 600px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    margin: 50px auto !important;
    padding-top: 20px;
}
.appointment-page h1{
    margin-bottom: 40px;
}
.appointment-page .wpcf7 form{
    max-width: 500px;
    margin: 0px auto;
}
.appointment-page .wpcf7 form p > label{
    width: 100%;
    text-align: left;
}
.appointment-page .wpcf7 form p label label {
    /*font-size: 18px;*/
    font-weight: 500;
    margin-bottom: 15px !important;
    display: block;
    line-height: normal;
}
.appointment-page .wpcf7 form p br{
    display: none;
}
.appointment-page .wpcf7 form input,
.appointment-page .wpcf7 form select,
.appointment-page .wpcf7 form textarea{
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    border: 1px solid #163257;
}
.appointment-page .wpcf7 form textarea{
    margin-top: 0px;
    height: 130px;
}
.appointment-page .wpcf7 form input::placeholder,
.appointment-page .wpcf7 form textarea::placeholder{
    color: #000;
}
.appointment-page .wpcf7 form input.wpcf7-submit{
    background-color: #163257;
    color: #fff;
}
.cus-img img{
    max-width: 150px;
}
/** Appointment Page CSS End Here **/
/** Responsive Css Start Here **/
@media screen and (max-width: 1650px) {
    .cus-department>.wpb_column>.vc_column-inner {
        padding-right: 5px !important;
    }

    .cus-department>.wpb_column>.vc_column-inner h5 {
        height: 65px;
    }

    /** Banner Start **/
    .home-banner .owl-carousel.owl-drag .owl-item .item {
        height: 650px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part {
        max-width: 450px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h2 {
        font-size: 20px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h4 {
        font-size: 22px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h5 {
        font-size: 18px;
    }
    /** Banner End **/
}

@media screen and (max-width: 1199px) {
    .navbar {
        display: block !important;
    }

    .navbar .navbar-container #main-nav.collapse:not(.show) {
        display: none !important;
    }
    .navbar-nav.mobile{
        background-color: #163257;
    }
    .cus-three-part .wpb_column {
        width: 100% !important;
    }

    .cus-department>.wpb_column>.vc_column-inner {
        padding-right: 0px !important;
    }

    .section.social a i {
        font-size: 25px !important;
    }
    .cus-three-part > div{
        height: auto !important;
    }

    /** Banner Start **/
    .home-banner .owl-carousel .owl-item .right-part img {
        max-width: 160px;
    }
    /** Banner End **/
}

@media screen and (max-width: 991px) {

    /**  Banner Start **/
    .home-banner .owl-carousel.owl-drag .owl-item .item {
        height: 440px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part {
        max-width: 340px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h2 {
        font-size: 16px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h4 {
        font-size: 18px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h5 {
        font-size: 14px;
    }
    /**  Banner End **/
}

@media screen and (max-width: 767px) {
    /** Headre **/
    .header-top .flex-part .img img {
        max-height: 100px;
    }
    .header-top .flex-part .img {
        height: 115px;
    }
    .header-top .flex-part .item {
        width: 170px;
    }
    .header-top .flex-part .item .content h6 {
        font-weight: bold;
        font-size: 13px;
        margin-bottom: 5px;
    }
    /** Header end  **/
    /**  Banner Start **/
    .home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part {
        max-width: 270px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item {
        height: 280px;
    }
    .home-banner .owl-carousel .owl-item .right-part img {
        max-width: 90px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h2 {
        font-size: 14px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h4 {
        font-size: 16px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h5 {
        font-size: 12px;
    }
    /**  Banner End **/
    .appointment-page{
        padding: 20px 15px 0px;
    }
    .social h4 {
        font-size: 26px;
    }
}

@media screen and (max-width: 575px) {
    /** Header Start **/
    .header-top .flex-part .item {
        width: 95px;
    }
    .header-top {
        padding: 20px 15px;
    }
    .header-top .flex-part .img img {
        max-height: 60px;
    }
    .header-top .flex-part .img {
        height: 60px;
    }
    .header-top .flex-part .item .content {
        height: 40px;
    }
    .header-top .flex-part .item .content h6 {
        font-size: 7px;
        margin-bottom: 5px;
    }
    /** Header End  **/
    /**  Banner Start **/
    .home-banner .owl-carousel.owl-drag .owl-item .item {
        height: 250px;
        background-position: center;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h2 {
        font-size: 10px;
        margin-bottom: 10px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h4 {
        font-size: 10px;
        margin-bottom: 10px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content h5 {
        font-size: 8px;
        margin-bottom: 5px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content{
        display: block;
        padding: 0px 10px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part{
        margin-bottom: 10px;
    }
    .home-banner .owl-carousel.owl-drag .owl-item .item .content .left-part {
        max-width: 170px;
    }
    /**  Banner End **/
}
