.home .boxed-links ul { padding: 0; list-style-type: none; }
.home .boxed-links ul li { padding: 3px 15px; background: #02337e; display: block; vertical-align:middle;margin: 6px 0; border-radius: 6px;}
.home .boxed-links ul li:hover { background: #3b6cb7; }
.home .boxed-links ul li > * { color: #fff; }
.home .boxed-links ul li > a { display:block; }

.home .boxed-links.boxed-links-green h3 { color: #118642; }
.home .boxed-links.boxed-links-green ul li { background: #118642 !important; }
.home .boxed-links.boxed-links-green ul li:hover { background: #5ab17e !important; }

.vc_tta-tabs-container,
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list {overflow:visible !important;}
.my-tabbed-content { margin: 35px auto; }
.my-tabbed-content .vc_tta-tabs-container {margin: 0 !important;}
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list { display: flex !important; flex-direction: row; }
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list > li {display: block; width: 50%;position:relative;}
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list > li > a { background:none !important; box-shadow: inset 0 0 0 2px #d93 !important; text-transform: uppercase; font-weight:bold;position:relative; overflow:hidden; }
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list > li.vc_active > a {background: #d93 !important; color:#fff !important;}
.my-tabbed-content .vc_tta-tabs-container .vc_tta-tabs-list > li.vc_active:after {content:''; display:block; background: #d93; width:12px;height:12px; position:absolute; bottom: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); }

.my-tabbed-content .iconed-tabs-cols .wpb_single_image figure { max-width: 200px; width: 100%; margin: 15px auto; max-height: 180px; display: block; }
.my-tabbed-content .iconed-tabs-cols .wpb_single_image figure > div { display: block; margin: 0 auto; padding-top: 85%; position: relative; }
.my-tabbed-content .iconed-tabs-cols .wpb_single_image figure img { display: block; margin: 0 auto; position: absolute; width: 100%; height: 100%; object-fit: contain; top: 0; left: 0; }

/* inner tabs - rows */
#why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .has-image > div {padding: 0 !important;}
#why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .has-image figure { display: block; height: 100%; min-height: 450px; }
#why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .has-image div { margin: 0 !important; position: relative;}
#why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .has-image .vc_single_image-wrapper { height: 100%; position: relative; min-height: 450px; display: block !important; }
#why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .has-image .vc_single_image-wrapper img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit:cover; }

.serv-page-feat-image figure,
.serv-page-feat-image figure .vc_single_image-wrapper,
.serv-page-feat-image figure .vc_single_image-wrapper img { width: 100%; display: block; }

body:not(.home) #main section.tabbed-chess {background: #ffffff;}

.flexme > div,
.flexme > div .wpb_wrapper{
    display: -webkit-flex; display: flex;
    flex-wrap: wrap; -webkit-flex-direction: column; flex-direction: column;
    -webkit-align-items: center; align-items: center;
	-webkit-justify-content: center; justify-content: center;
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
}

.flexme > div .wpb_wrapper { background: rgba(3, 51, 126, 70%) !important; }
.flexme > div .wpb_wrapper .vc_custom_heading { color: #fff; padding: 0 15px; }

section.tabbed-chess .has-image > div {padding: 0 !important;}
section.tabbed-chess .has-image figure { display: block; height: 100%; min-height: 450px; }
section.tabbed-chess .has-image div { margin: 0 !important; position: relative;}
section.tabbed-chess .has-image .vc_single_image-wrapper { height: 100%; position: relative; min-height: 450px; display: block !important; }
section.tabbed-chess .has-image .vc_single_image-wrapper img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit:cover; }

section.tabbed-chess .wpb_column:not(.has-image) { padding: 4%;}


a.foot-btn { background: #d93; text-transform: uppercase; font-weight: bold; color: #fff; border-radius: 10px; font-size: 14px; padding: 5px 15px !important; display: inline-block;}
a.foot-btn:hover { color: #038103; }


#contact-form {
    background: url('/wp-content/uploads/cta-form-faded-bg.jpg') no-repeat center;
    background-size: cover;
}

#contact-form .wpbf-container {
    display: -webkit-flex; display: flex;
    flex-wrap: wrap; -webkit-flex-direction: row; flex-direction: row;
    -webkit-align-items: flex-start; align-items: flex-start;
	-webkit-justify-content: center; justify-content: center;
}

#contact-form .wpbf-container > div:first-child { width: 60%; }
#contact-form .wpbf-container > div:last-child { width: 40%; }

#contact-form .wpbf-container #menu-locations { list-style-type: none; }
#contact-form .wpbf-container #menu-locations li { display: inline-block; vertical-align: middle; width: 32%; line-height: 2.5; }

#contact-form .wpbf-container #menu-locations li a { color: #fff; text-decoration: underline; }
#contact-form .wpbf-container #menu-locations li a:hover { text-decoration: none; }

#contact-form div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium { max-width: 100%; }
#contact-form .wpforms-field-label,
#contact-form .wpforms-field-sublabel,
#contact-form .wpforms-captcha-equation{ color: #fff; }

@media screen and (max-width: 1025px) {
    .wpbf-mobile-menu .sub-menu { width: 100% !important; }
}

@media screen and (max-width: 767px) {
    
    section.tabbed-chess .vc_row-o-full-height {
        min-height: unset;
    }
    
    #why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess:nth-child(even),
    section.tabbed-chess .vc_row:nth-child(even) {
        flex-direction: column-reverse;
    }
    
    #why-choose-star-team-cleaning .vc_tta-panel-body .tabbed-chess .wpb_column:not(.has-image) {
        padding: 45px 0 15px;
    }
    
    #contact-form .wpbf-container {
        -webkit-flex-direction: column-reverse; flex-direction: column-reverse;
    }
    
    #contact-form .wpbf-container > div:first-child { width: 100%; }
    #contact-form .wpbf-container > div:last-child { width: 100%; }
}

@media screen and (max-width: 680px) {
    .home .boxed-links,
    .home .boxed-links.boxed-links-green {
        width: 100%;
    }
    #contact-form .wpbf-container #menu-locations li {
        width: 48%;
    }    
}

@media screen and (max-width: 460px) {
    .home .boxed-links ul li,
    .home .boxed-links.boxed-links-green ul li {
        width: 100%;
    }
    #contact-form .wpbf-container #menu-locations li {
        width: 48%;
    }
}

span[class*="mathcaptcha"], .captcha-text {
    color: #fff;
}

.wpcf7-mathcaptcha {
    display: inline-block !important;
    max-width: 50px;
    color: #000;
}

.pricing-block .wpb_text_column { background: #118642; border-radius: 12px; }
.pricing-block .vc_column_inner > .wpb_wrapper { margin-bottom: 35px; }
.pricing-block .wpb_text_column .wpb_wrapper { padding: 15px 15px 35px 15px; margin-bottom: 15px !important; }
.pricing-block .wpb_text_column .wpb_wrapper h3 { text-align:center; font-weight: 700; text-transform: uppercase; margin: 15px 0; color: #fff; border-bottom: 2px solid #2c9a5b; padding-bottom: 10px; }
.pricing-block .wpb_text_column .wpb_wrapper h3 .price { color: #1e73be; font-weight: 400; font-size: 115%; text-transform: capitalize; background: #fff; border-radius: 8px; display: inline-block; padding: 5px 10px; }
.pricing-block .wpb_text_column .wpb_wrapper p { color: #fff !important; text-align: center; }

/* Override grey background on inner content sections */
body:not(.home) #main section.tabbed-chess {
    background: #ffffff !important;
}