/*
 Theme Name:   QTheme Child
 Description:  QTheme Child Theme
 Template:     QTheme
 License:      GNU General Public License v2 or later
 Text Domain:  qthemechild
 Version:      1.0.0
 Author: kyl
*/





/* General */

body {
    background: #F5F5F7;
}

main {
    padding: 20px;
}












/* Header */

.sub-menu a {
    font-size: 14px !important;
}

#primary-menu_mobile .sub-menu>li>a {
    font-size: 16px !important;
}

.menu_book_btn {
    background: #09266E;
    border-radius: 25px;
    padding: 10px 24px;
}

.menu_book_btn a {
    color: white !important;
}

.menu_book_btn:hover {
    background: #091d50;
    cursor: pointer;
}

.menu_book_btn a:hover {
    text-decoration: none;
}

ul#primary-menu.menu li {
    margin-right: 30px;
}

.sub-menu {
    background: #c2d3fd;
}

.sub-menu li {
    border-bottom: 1px solid #adc4fd;
}

.header-logo_menu img {
    height: 60px;
}

header.site-header {
    background-color: transparent;
}


.header-contacts a {
    font-size: 14px;
    color: #1C1B1B;
}

.header-contacts img {
    width: 16px;
    margin-right: 5px;
}

.phone_link {
    padding-left: 25px;
}

.header-bottom_section {
    padding-top: 20px;
}

.header-contacts a:hover {
    text-decoration: underline;
}

.header-logo_menu {
    background: white;
}





/* Footer */

.footer-top_section {
    display: flex;
    justify-content: space-between;
}

.footer-top_section>section:nth-child(1) {
    width:  40%;
}

.footer-top_section>section:nth-child(2) {
    width:  20%;
}

footer {
    color: white;
    padding: 70px 20px;
}

.footer-top_section>section:nth-child(2) .wp-block-column {
    display: flex;
    justify-content: space-between;
}

.footer-top_section>section:nth-child(1) .wp-block-column {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

footer p {
    color: white;
    font-size: 10px;
}

footer .wp-block-button__link {
    background: white;
    color: #09266E;
    font-weight: 600;
    padding: 10px 24px;
}

footer .wp-block-button__link:hover {
    background: #09266E;
    color: white;
}

footer .wp-block-buttons {
    margin-top: 20px;
}

footer .menu li {
    padding-bottom: 15px;
}

#menu-footer-menu a:hover {
    text-decoration: underline;
}




/* ====== Homepage ====== */

#home_top>div {
    position: relative;
}

#home_top_left,
#home_top_right {
    width: 50%;
    position: relative;
}

#home_top_right img {
    width: 60%;
}

#home_bottom {
    position: absolute;
    width: 70%;
    right: 9%;
    z-index: -1;
    opacity: .4;
    top: -100px;
}

#home_top_img1 {
    position: absolute;
    top: -100px;
    z-index: -1;
    left: -50%;
    opacity: .5;
}

#home_top_img2 {
    position: absolute;
    bottom: 0;
    z-index: -1;
    left: -50%;
    opacity: .5;
}



@media only screen and (min-width: 1900px) {

#home_top_img1 {
    left: -100%;
}

#home_top_img2 {
    left: -100%;
}


}


#home_top_left-txt {
    padding-top: 100px;
}

.threecol_item-txt {
    position: absolute;
    bottom: 80px;
    left: 50px;
    text-shadow: none !important;
}

.threecol_item-txtcenter {
    position: absolute;
    bottom: 80px;
    left: 50px;
    text-shadow: none !important;
}

#home_intro {
    width: 60%;
    margin: 0 auto;
}

#home_intro p {
    font-size: 24px;
}

.twoimgtxt_topdots,
.twoimgtxt_bottomdots {
    position: absolute !important;
}


.twoimgtxt_topdots {
    top: 0;
    left: 0;
}

.twoimgtxt_bottomdots {
    bottom: 0;
    right: 0;
}

.twoimgtxt_topdots,
.twoimgtxt_bottomdots {
    width: 200px !important;
}

.twoimgtxt_txt p {
    font-weight: 500 !important;
}

.twoimgtxt_right>div {
    padding: 30px !important;
}

.twoimgtxt_right>div {
    padding: 20px !important;    
    background: white;
}

.twoimgtxt_top .twoimgtxt_right>div {
    margin-right: 60px !important;
}

.twoimgtxt_bottom .twoimgtxt_right>div {
    margin-left: 50px !important;
}

.conditions_item:hover {
    cursor: pointer;
}

.conditions_txt {
    position: absolute;
    bottom: 0;
    padding: 30px;
    width: 95% !important;
    min-height: 200px;
}

.conditions_txt h3,
.conditions_txt p {
    color: white;
    text-shadow: none;
}

.conditions_txt {
    position: absolute !important;
}

.conditions_txt h3 {
    text-transform: uppercase;
}

#conditions_wrap>div {
    flex-wrap: wrap;
    justify-content: center;
}

.conditions_item {
    width: 30% !important;
    margin: 20px;
}

.conditions_img a,
.conditions_img img {
    width: 100%;
}

.conditions_item .conditions_img {
    margin: 0 !important;
}

#otherconditions_wrap .elementor-widget-wrap {
    padding: 50px !IMPORTANT;
}

#otherconditions_title h3 {
    text-transform: uppercase;
}

#otherconditions_list li {
    padding: 0 10px 15px 0;
}

#otherconditions_list ul {
    column-count: 3;
}

#meetdr_txt p {
    color: white;
}

#meetdr_txt>div {
    padding: 30px 60px;
    border-radius: 0 25px 25px 0;
}

#testimonials_slider .elementor-swiper-button-prev {
    content: '';
    background-image: url(/wp-content/uploads/2022/10/prev_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px dashed;
}

#testimonials_slider .elementor-swiper-button-next {
    content: '';
    background-image: url(/wp-content/uploads/2022/10/next_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px dashed;
}

#testimonials_slider .eicon-chevron-left:before,
#testimonials_slider .eicon-chevron-right:before {
    opacity: 0;
}

#testimonials_slider .swiper-slide {
    opacity: .4;
    transform: scale(0.9);
    overflow: visible;
     display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 20px !important;
}

#testimonials_slider .swiper-slide-next .elementor-testimonial__content {
    border-radius: 16px;
    box-shadow: 0 2px 14px #d4d4d4;
}

#testimonials_slider .swiper-slide-next{
    transition: transform .5s;
    opacity: 1;
    transform: scale(1.0);
}


#testimonials_slider .swiper-wrapper {
    padding: 50px 0;
}

#testimonials_slider .elementor-testimonial {
    position: relative;
}

#testimonials_slider .elementor-testimonial__footer {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
}

#testimonials_slider .elementor-testimonial__content {
    padding-top: 30px;
}

.sld_name {
    font-weight: 600;
}

.sld_txt {
    padding-top: 20px;
}

.elementor-testimonial__text {
    padding: 20px;
}








/* ====== Inner Pages ====== */








/* ====== Mobile Optimisation ====== */






@media only screen and (max-width: 1200px) {

ul#primary-menu.menu li {
    margin-right: 10px;
}

ul#primary-menu.menu li:last-child {
    margin-left: 30px;
    padding-right: 24px;
}

header ul.menu a, header {
    font-size: 14px !important;
}

ul#primary-menu li {
    padding-right: initial;
}

.footer-top_section>section:nth-child(2) {
    width: 40%;
}

.menu_book_btn {
    text-align: center;
}

.menu_book_btn a {
    display: block;
}

}



/* switch from desctop to mobile main layout 
   column layout remain the same
   Tablet view   
*/



@media only screen and (max-width: 1080px) {



}




/* switch from desctop to mobile menu 
   column layout changes to the one-column
   Mobile view  
*/

@media only screen and (max-width: 980px) {

    .header-bottom_section {
        margin: 20px;
    }

.header-contacts a {
    margin: 10px;
    text-align: center;
}

#home_top_left-txt {
    padding-top: 20px;
}

    #home_top_img1,
    #home_top_img2 {
        display: none;
    }

    #home_bottom {
    top: -170px;
}

#home_top>div {
    flex-direction: column;
}

#home_top>div>div {
    width: 100%;
}

#home_top_left>div {
    text-align: center;
}

#home_top_right img {
    width: 30%;
}

#home_bottom {
    top: 50%;
    bottom: 0;
    right: 0;
}

#home_bottom img {
    width: 400px;
}

.header-contacts {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.threecol_item-txt,
.threecol_item-txtcenter {
    left: 0;
    text-align: center;
}

.threecol_item>div {
    margin: 0 !important;
}

#home_intro {
    width: 100%;
}

.twoimgtxt_left .elementor-widget-container {
    text-align: center;
}

.twoimgtxt_top .twoimgtxt_right>div {
    margin-right: 0 !important;
}

.twoimgtxt_bottom .twoimgtxt_right>div {
    margin-left: 0 !important;
}

.twoimgtxt_wrap.twoimgtxt_top {
    margin: 40px 0;
}

.twoimgtxt_wrap.twoimgtxt_bottom>div {
    flex-direction: column-reverse;
}

.conditions_item {
    width: 45% !important;
}

#meetdr_img .elementor-widget-container,
#finalcta_img .elementor-widget-container {
    text-align: center;
}

#otherconditions_list ul {
    column-count: 1;
}

#finalcta_txt>div {
    text-align: center;
}

#finalcta_txt .elementor-widget-button {
    text-align: center;
}

#finalcta_wrap>div {
    flex-direction: column-reverse;
}

#testimonials_slider .swiper-slide {
    opacity: 1;
}

#finalcta_txt>div {
    padding: 40px;
}


.footer-top_section {
    flex-direction: column;
}

.footer-top_section>section {
    width: 100% !important;
    margin: 20px 0;
}

.footer-top_section .wp-block-column {
    align-items: center !important;
}

footer {
    padding: 40px 20px 20px;
}

footer .widget_nav_menu {
    width: 80%;
}

.menu_book_btn {
    margin-top: 50px !important;
}

.main-navigation-mobile {
    background: white;
}

#primary-menu_mobile {
    border-bottom: 4px solid #09266E !important;
}


}



@media only screen and (max-width: 480px) {

.conditions_txt h3 {
    color: #09266e;
}

.conditions_txt p {
    color: black;
}

.conditions_item {
    width: 100% !important;
}

.conditions_txt {
    position: relative !important;
    padding: 20px 0;
    text-align: center;
    min-height: auto;
    width: 100%;
}

#testimonials_wrap .elementor-widget-wrap {
    padding: 20px 0 0 0;
}

}    
