/*
 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 ==== */


/* Elementor container padding*/

.elementor-section-wrap>.elementor-element>.e-con-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.site-branding img,
.footer_logo img {
    width: 150px;
}

.la_button {
    border: 1px solid #9f9f9f;
    border-radius: 40px;
    padding: 12px 30px;
    text-decoration: none !important;
    color: #9f9f9f !important;
    display: inline-block;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.orange_btn {
    background: #EC9400;
    color: white !important;
    border: none;
}

.orange_btn:hover {
    background: #f79b00;
}

.green_btn {
    color: white !important;
    background: #93A94C;
    border: none;
}

.green_btn:hover {
    background: #9dc12a;
}

.dialog-close-button {
    text-decoration: none !important;
}

p {
    margin-bottom: 15px;
    margin-top: 0;
}

/* ==== Header ==== */

#primary-menu a,
#menu-footer-menu a  {
    font-size: 14px;
    font-weight: 500;
    color: black !important
}


.header_sidewidget_area a {
    margin-left: 20px;
    font-size: 18px !important;
}

.site-branding img {
    width: 120px;
}

#primary-menu .current-menu-item>a,
#menu-footer-menu .current-menu-item>a {
    color: #EC9400 !important;
}

#primary-menu i {
    margin-left: 5px;
}

.header-logo_menu {
    padding: 20px 20px;
}

#primary-menu li {
    padding-right: 25px;
}

.sub-menu {
    background: #f7f7f7;
}

.sub-menu li:hover {
    background: #ec9400 !important;
}

#primary-menu .sub-menu li:hover a {
    color: white !important;
}

.header_phone {
    display: inline-flex;
}

.header_phone a {
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 700;
    margin-left: 6px;
}

.header_phone img {
    width: 18px;
}

.header_sidewidget_area>section {
    display: flex;
    align-items: center;
}



/* ==== Footer ==== */

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

#menu-footer-menu {
    display: flex;
    flex-wrap: wrap;
}

#menu-footer-menu li {
    width: 33%;
    padding-bottom: 8px;
}

#nav_menu-2 {
    width: 50%;
}

.footer_link {
    display: flex;
    align-items: center;
}

.footer_link img {
    width: 20px;
    margin-right: 10px;
}

.footer_link a {
    color: black !important;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 700;
}

.footer-copyright_section {
    font-size: 12px;
    padding-top: 30px;
}

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

footer {
    margin-top: 100px;
    padding: 20px;
}



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

#hometop_checkbox svg {
    fill: transparent;
}

#lw_video_btn .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#lw_video_btn svg {
    width: 100%;
}

#lw_video_btn .elementor-button-icon,
#lw_video_btn .elementor-button-wrapper {
    display: flex;
}

.infoblock_3col .elementor-widget-button,
#home_2col .elementor-widget-button {
    margin-top: auto !important;
}

#la_cta1 {
    height: 350px;
    margin-top: 200px;
}

#la_cta2 {
    height: 400px;
    margin-top: 250px;
}

.stepnum {
    display: flex;
    color: #ec9400;
    font-family: "Playfair Display", Sans-serif;
    font-weight: 600;
    align-items: end;
    margin-bottom: 10px;    
}

.step_num {
    font-size: 32px;
    margin-right: 5px;
    line-height: 1;
}

.step_txt {
    font-size: 16px;
    line-height: 1.2;
}





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



/* === Google Maps Page === */

#carehomes_list .dce-image-area {
    max-width: 500px !important;
    height: 280px !important;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 30px;
}

#carehomes_list .shortinfo_btn {
    background: #EC9400;
    color: white !important;
    border: none;
    font-size: 18px !important;
    border-radius: 40px;
    padding: 12px 30px;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 600 !important;
    line-height: 1 !important;
}

#carehomes_list .shortinfo_btn:hover {
    background: #f79b00;
}

#carehomes_list  .dce-post-block {
    align-items: center;
}

#carehomes_list article:last-child>div {
    border-bottom: none !important;
}

#carehomes_map .dce-iw-title {
    min-width: 270px;
}

#carehomes_map .gm-style-iw-d .dce-iw-content {
    display: none !important;
}



/* Contact Form */

#wpcf7-f5-p121-o1 p {
    margin: 0 !important;
}

.lw_contactform_line1 p,
.lw_contactform_line2 p,
.lw_contactform_line3 p {
    display: flex;
    justify-content: space-between;
}

#wpcf7-f5-p121-o1 input, 
#wpcf7-f5-p121-o1 textarea {
    width: 100%;
    padding: 5px !important;
}

.lw_contactform_line1,
.lw_contactform_line2,
.lw_contactform_line3 {
    margin: 10px 0 20px;
}

#wpcf7-f5-p121-o1 input::placeholder,
#wpcf7-f5-p121-o1 textarea::placeholder  {
    padding: 5px;
}

#wpcf7-f5-p121-o1 .wpcf7-submit {
    font-size: 18px;
    font-weight: 400;
    border-radius: 40px;
    padding: 12px;
    cursor: pointer;
}

#wpcf7-f5-p121-o1 .wpcf7-submit:hover {
    background: #f79b00;
}

#wpcf7-f5-p121-o1 .wpcf7-not-valid-tip {
    font-size: 12px;
    line-height: 1.2;
    margin-top: 4px;
}

#wpcf7-f5-p121-o1 span {
    margin-right: 10px;
}

.lw_contactform_line3 span {
    width: 100%;
}

#wpcf7-f5-p121-o1 input.wpcf7-submit {
    padding: 15px !important;
}



/* === Protected Area === */ 

.lw_protected_title {
    color: #222222;
    font-family: "Playfair Display", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 20px;
    min-height: 70px;
}

.lw_protected_content a {    
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8em;    
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    display: flex;
    align-items: center;    
}


.lw_protected_content .lw_protected_url a {
    color: #EC9400!important;
    border: 2px solid #EC9400 !important;
    background: #ffc15826;
}


.lw_protected_content .lw_protected_url a:hover {
    background: #f79b00;
    color: white !important;
}


.lw_protected_content .lw_protected_pdf a {
    color: #93A94C !important;
    border: 2px solid #93A94C; !important;
    background: white;
}


.lw_protected_content .lw_protected_pdf a:hover {
    background: #9dc12a;
    color: white !important;
}


.lw_protected_links {
    width: 45%;
}

.passster-form button[type=submit] {
    font-weight: 500;
    background: #93A94C;
    margin-top: 20px;
}

.passster-form button[type=submit]:hover {
    background: #9dc12a;
}

.passster-form p {
    font-weight: 400 !important;
}

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

.lw_protected_links_wrap .dashicons {
    margin-right: 10px;
}


.lw_protected_login {
    display: flex;
}

.lw_protected_login a {
    color: #93A94C !important;
    border: 2px solid #93A94C !important;
    background: white;
    padding: 10px 30px;
    border-radius: 5px;
    width: 100%;
    align-items: center;
    display: flex;
}

.lw_protected_login a:hover {
    background: #9dc12a;
    color: white !important;
}

.lw_protected_login .dashicons {
    margin-right: 10px;
}



/* === Blog & Single Post === */

#lw_blog_query .dce-post-title>a {
    font-size: 24px !important;
    font-weight: 500;
}

.single-post .post {
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 80px 80px 0;
}

.single-post .entry-header {
    padding-bottom: 30px;
}

.single-post .entry-meta {
    font-size: 14px;
    padding: 20px 0;
    font-weight: 400;
    color: #000000;
}

.single-post .post_breadcrumbs {
    margin-bottom: 5px;
    display: flex;
}

.single-post .entry-date {
    display: flex;
}

.single-post .entry-meta .dashicons {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.single-post h1.entry-title {
    color: #93A94C;
    font-family: "Playfair Display" !important;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.single-post .post_breadcrumbs a {
    text-decoration: none;
}

.post_breadcrumbs a:hover {
    color: #EC9400;
}

#lw_blog_query .dce-post-date i {
    padding-right: 5px;
}

#primary-menu_mobile {
    background-color: #fcfff4 !important;
}

#primary-menu_mobile li a {
    text-transform: uppercase !important;
}

#primary-menu_mobile  .sub-menu {
    background: none;
}

#primary-menu_mobile {
	height: 90vh !important;
    overflow: scroll !important;
	padding-bottom: 30px !important;
	border-bottom: 4px solid #bed1b6;
}



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


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

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

.header_sidewidget_area a {
    margin-left: 10px;
    font-size: 14px !important;
}

.la_button {
    padding: 12px 15px;
}

.header-logo_menu {
    max-width: 1200px;
}

.header-logo_menu {
    flex-direction: column;
}

nav#site-navigation {
    margin: 16px 0;
}

}




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

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

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

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

body, p {
    font-size: 16px !important;
}

#page>.elementor>section,
#page>.site-main {
    padding-left: 20px;
    padding-right: 20px;
}

#lw_callus_btn>div {
    margin-right: 5px;
}

#lw_callus_btn a {
    padding: 14px 20px;
}

#hometop_checkbox span {
    font-size: 14px !important;
}

#la_cta1, #la_cta2 {
    margin-top: 50px;
}

}





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


  @media only screen and (max-width: 800px) {  
    .header-desctop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .site-branding {
        padding: 0 20px;
    }

    .elementor-section-wrap>.elementor-element>.e-con-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #la_cta1,
    #la_cta2 {
        height: auto;
        margin-top: 50px;
    }

    .infoblock_3col .e-con-inner {
        flex-direction: column !important;
    }

    header.site-header {
        position: fixed;
        width: 100%;
        background: white;
        z-index: 999;
        box-shadow: 0px 4px 12px #00000078;
        top: 0;
    }

    #page>.elementor {
        margin-top: 85px;
    }


}





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

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


    .header-desctop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .logo-mobile img {
        display: inline-block !important;
        height: 60px;
    }

    .logo-mobile {
        display: inline-block;

    }

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

    #menu-footer-menu li {
        width: 50%;
        text-align: center;
    }

    #nav_menu-2 {
        margin-top: 30px;
        width: 100%;
    }

    #hometop_checkbox .elementor-icon-list-items {
        flex-direction: column;
    }

    #la_cta1 p,
    #la_cta2 p {
        font-size: 26px !important;
    }

    #la_cta2 .la_cta_subtitle p {
        font-size: 18px !important;
    }

    h1 {
        font-size: 30px !important;
    }

    h2 {
        font-size: 28px !important;  
    }

    h3 {
        font-size: 24px !important;
    }

    h4 {
        font-size: 22px !important;
    }

    h5 {
        font-size: 14px !important;
    }

    h6 {
        font-size: 10px !important;
    }

    #carehomes_list .dce-post-block {
        flex-direction: column;
    }

    #carehomes_list .dce-image-area {
        height: auto !important;
        margin: 0;
        width: 100% !important;
    }

    #carehomes_list .dce-item-area {
        width: 100%;
    }

    .lw_protected_content {
        flex-direction: column;
    }

    .lw_protected_links {
        width: 90%;        
        margin-bottom: 30px;
    }

    .lw_protected_title {
        min-height: auto;
    }

    .lw_protected_links.lw_protected_url {
        margin-bottom: 0;
    }

    .lw_contactform_line1 p,
    .lw_contactform_line2 p,
    .lw_contactform_line3 p {
        flex-direction: column;
    }

    .lw_contactform_line1,
    .lw_contactform_line2,
    .lw_contactform_line3 {
        margin: 0;
    }

    #wpcf7-f5-p121-o1 span {
        margin-right: 0;
        margin-bottom: 20px !important;
    }

    footer {
        margin-top: 20px;
    }

    #lw_blog_query .dce-post-title>a {
        line-height: initial !important;
    }

    .single-post .post {
        padding: 20px 0;
    }

    .single-post .entry-header {
        padding-bottom: 30px;
    }

    .single-post .entry-meta .dashicons {
        margin-right: 10px;
    }

}    

