/*
Theme Name: Carlton Technologies
Template: Impreza
Version: 1.0
Author:	Brett Widmann
Theme URI: http://impreza.us-themes.com/
Author URI: https://brettwidmann.com
*/

/*Add your own styles here:*/

/* Navigation */

@media screen and (min-width: 990px) {
	body .l-subheader.width_full .l-subheader-h {
		max-width: 1350px !important;
		width: 100%;
	}
	
	body nav.ush_menu_1 .w-nav-list:not(.level_1) {
		background: rgb(0,39,49);
		background: -moz-linear-gradient(90deg, rgba(0,39,49,1) 0%, rgba(0,39,49,1) 60%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: -webkit-linear-gradient(90deg, rgba(0,39,49,1) 0%, rgba(0,39,49,1) 60%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: linear-gradient(90deg, rgba(0,39,49,1) 0%, rgba(0,39,49,1) 60%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#002731",endColorstr="#ffffff",GradientType=1);
	}
}


.no-touch .w-nav.type_desktop .hover_underline .menu-item ul li > a {
	transition: border-bottom 0.3s ease-in !important;
}

.no-touch .w-nav.type_desktop .hover_underline .menu-item ul li:hover > a,
.no-touch .w-nav.type_desktop .hover_underline .menu-item ul li.current-menu-item a {
	border-bottom: 2px solid #1281a1 !important;
}

.no-touch .w-nav.type_desktop .hover_underline .menu-item.level_1.current-menu-item .w-nav-title:after {
	bottom: -2px;
    opacity: 1;
}


.no-touch .w-nav.type_desktop .hover_underline .w-nav-anchor.level_1.current-menu-item .w-nav-title:after,
.no-touch .w-nav.type_desktop .hover_underline .w-nav-anchor.level_1 .w-nav-title:after { 
	background: #1281a1 !important;
}

ul.level_2 p,
ul.level_2 h3 {
	color: #fff;
}

body ul.level_2 p,
body ul.level_2 li {
	font-size: 18px !important;
}

body ul.level_2 .widget ul.menu li {
	padding-bottom: 1rem;
}

body ul.level_2 h3 {
	font-size: 32px !important;
}

ul.level_2 .widget ul.menu {
	display: -ms-flexbox;   
    display: -webkit-flex;
    display: flex;
    flex-flow: wrap column;
	column-count: 2;
	max-height: 250px;
	width: 50%;
	margin-left: 0 !important;
	padding-inline-start: 0 !important;
}

ul.level_2 p strong {
	color: #0081a3;
}

ul.level_2 .widget ul.menu li {
	color: #000;
	padding-right: 1rem;
}

ul.level_2 .widget {
	padding: 8px 0;
}

/* Filters */

body .w-filter.state_desktop[class*="style_switch_"] .w-form-checkbox {
	display: flex;
}

body .w-filter.state_desktop[class*="style_switch_"] .w-filter-item-value>label {
	padding: 0 1.2em 0 0;
}

body .w-filter.state_desktop.style_switch_default .w-filter-item-value.selected,
body .w-filter.state_desktop[class*="style_switch_"] [data-ui_type="checkbox"] .w-filter-item-value:hover {
    background: none;
    color: #000 !important;
}

body .w-filter.state_desktop[class*="style_switch_"] [data-ui_type="checkbox"] .w-filter-item-value {
    display: flex;
    flex-flow: wrap column;
    column-count: 3;
    max-height: 100px;
    width: 30%;
    align-content: flex-start;
    vertical-align: middle;
	color: #000 !important;
	box-shadow: none !important;
}

body .w-filter.state_desktop[class*="style_switch_"] .w-filter-item-value {
    flex-shrink: 0;
    position: relative;
    white-space: nowrap;
    font-size: inherit;
    line-height: 1.5;
    margin-bottom: 15px !important;
	margin: 0; 
}

/* Horizontal tabs */

body a.w-tabs-item {
	font-size: 1.25rem;
	line-height: 1;
	margin: 0 2rem 0 0;
    padding: .5em 1.5em .6em;
	border-radius: 40px;
	border: none !important;
}

body a.w-tabs-item.active {
    border: none !important;
    color: #000 !important;
}

body .w-tabs.style_default .w-tabs-item:not(.active):focus, 
.no-touch .w-tabs.style_default .w-tabs-item:not(.active):hover,
body a.w-tabs-item.active {
	background: #D9ECF1 !important;
	
}

body .w-tabs.style_default .w-tabs-list {
    background: none;
}

body .w-tabs .wpb_text_column:not(:last-child) {
	margin-bottom: 0 !important;
}

body .w-tabs .w-hwrapper .wpb_text_column {
	max-width: 175px;
	width: 175px;
}

body .w-tabs .w-hwrapper .w-image-h {
	max-width: 70px;
	width: 70px;
}

body .w-tabs .w-hwrapper a {
	color: #000 !important;
	transition: all 0.3s ease-in;
}


body.home .w-tabs .w-hwrapper a:hover {
	color: #003644 !important;
	text-decoration: underline;
}


/* General Styles */

body .l-section.color_primary a {
    color: #1db4e0;
}

body .l-section.color_primary a:hover {
    color: #fff;
}

body #masthead p {
	font-size: 1.2rem;
	line-height: 1.4;
	font-weight: bold;
}

body .w-counter.color_custom.align_left {
    text-align: initial;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000 !important;
    font-weight: bold;
}

/* Home Page */

body.home .l-header.pos_fixed~.l-main>.l-section:first-of-type>.l-section-h {
	padding-top: 0;
}

/* Heading Bottom Borders */

.heading-bottom-border h1,
.heading-bottom-border h2,
.heading-bottom-border h3,
.heading-bottom-border h4,
.heading-bottom-border h5 {
	font-weight: bold !important
}

.heading-bottom-border h1:after,
.heading-bottom-border h2:after,
.heading-bottom-border h3:after,
.heading-bottom-border h4:after,
.heading-bottom-border h5:after {
	position: relative;
    content: '';
    display: block;
    width: 115px;
    left: 0;
    margin-top: 1rem;
    height: 4px;
}

.light-blue h1:after,
.light-blue h2:after,
.light-blue h3:after,
.light-blue h4:after,
.light-blue h5:after {
	background: #1db4e0;
}

.heading-light-blue h1:first-of-type,
.heading-light-blue h2:first-of-type,
.heading-light-blue h3:first-of-type,
.heading-light-blue h4:first-of-type,
.heading-light-blue h5:first-of-type {
	color: #1db4e0 !important;
} 

/* Footer */

body footer h2.widgettitle,
body footer h2,
footer li, 
footer p, 
footer a {
	font-size: 16px;
}

body footer h2.widgettitle,
body footer h2 {
	font-weight: bold;
}

body footer .widgettitle,
body footer h2 {
	margin-bottom: 1rem;
}

body footer ul li {
	margin: 0;
}

body footer .w-socials-item .w-socials-item-link-hover {
	background: rgba(255, 255, 255, .5) !important;
	transition: all 0.3s ease-in !important;
}

body footer .w-socials-item a .w-socials-item-link-hover {
	transition: all 0.3s ease-in !important;
}

body footer .w-socials-item a:hover .w-socials-item-link-hover {
	background: rgba(255, 255, 255, .75) !important;
}

body footer i.fab {
	color: #003644 !important;
} 

/* Home Page */

body.home .large-text h2 {
	font-size: 60px;
}

@media screen and (max-width: 990px) {
	body.home .large-text h2 {
		font-size: 40px;
	}
}

/* Case Studies Single */

#case-overview h1,
#case-overview h2,
#case-overview h3,
#case-overview h4,
#case-overview h5,
#case-overview h6,
#case-overview p,
#case-overview li {
	color: #fff !important;
}

body .gform_legacy_markup_wrapper li.hidden_label input {margin-top: 0;}

body.single-case_study h1,
body.single-case_study p strong {
	color: #003644;
}

.color_primary .gform_legacy_markup_wrapper div.charleft {
	color: #eee;
}

body.single-case_study hr {
    border-width: 4px;
    border-color: #003644;
    max-width: 150px;
    margin: 0 0 0 2rem;
}


@media screen and (min-width: 768px) {
	#case-overview {
		margin-top: -8.5rem !important;
    	margin-bottom: 2.5rem !important;
    	margin-left: -3rem !important;
	}
}
	body.single #case-overview h3,
	body.single #case-overview h4 {
		font-size: 1rem;
		margin-bottom: .5rem;
	}

	body.single #case-overview ul {
		margin-left: 1rem;
	}

	body.single #case-overview li {
		font-size: 16px;
	}

	body.single #case-overview .vc_column-inner {
		padding: 1rem !important;
	}

body.home .l-section-shape>svg {
    display: block;
    margin: 6vh auto 0;
    height: 52vw;
}

body.home #carousel .g-cols.type_default {
	margin: 0 !important;
}

body.home #carousel p {
	margin-bottom: 0 !important;
	font-size: 1.25vw;
}

body.home #carousel h2 {
	padding: 0 !important;
	text-transform: uppercase;
	font-size: 3vw;
    line-height: 1;
	font-weight: 900 !important;
}

body.home #carousel .owl-dots {
    padding-top: 0; 
    margin-top: -20px;
    z-index: 0;
    position: absolute;
    left: 48%;
    top: 99%;
}

body.home #powerTip::before {
	content: '';
	border: none !important;
	height: none !important;
}

body.home #powerTip {
	background-color: #064252 !important;
    width: 100%;
    border-radius: 0!important;
}

body.home #powerTip p {
	font-size: 0.8rem;
	line-height: 1.2;
	margin: 0 0 .5rem !important;
}

@media screen and (max-width: 767px) {
	body.home #powerTip {
    	height: 38%;
    	bottom: -63% !important;
    	top: 63% !important;
		padding: 1.5rem;
	}
	
	body.home #powerTip p,
	body.home #powerTip a {
		font-size: 1.1rem;
	}
	
	body.home #powerTip p strong {
		font-size: 1.5rem;
	}
	
	body.home #carousel h2 {
    	font-size: 7vw;
	}
	
	body.home #carousel p {
    	font-size: 2.75vw;
	}
	
	body.home #carousel .owl-dots {
		left: 40%;
		top: 97%;
	}
}

@media screen and (min-width: 768px) {
	body.home #powerTip {
    	margin-top: -12px;
		max-width: 275px;
		padding: 1rem;
	}
}

body.home #powerTip a {
 	color: #BBD991 !important;
	font-size: 16px !important;
	font-weight: bold;
}

.w-grid-list article.case_study .w-vwrapper::before,
.w-grid-list article.case_study .w-vwrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-color: transparent;
    border-style: solid;
}

.w-grid-list article.case_study .w-vwrapper::after {
    border-width: 1em;
    border-right-color: #e8e8e8;
    border-top-color: #e8e8e8;
}

.w-grid-list article.case_study.capability-technology-deployments .w-vwrapper::after {
    border-width: 1em;
    border-right-color: #bbd991;
    border-top-color: #bbd991;
}

.w-grid-list article.case_study.capability-repairs .w-vwrapper::after {
    border-width: 1em;
    border-right-color: #f1cc33;
    border-top-color: #f1cc33;
}

.w-grid-list article.case_study.capability-field-services .w-vwrapper::after {
    border-width: 1em;
    border-right-color: #1db5df;
    border-top-color: #1db5df;
}

body.single-knowledge_base .post_content table {
	width: 100% !important;
	max-width: 100%;
}

body.page #kb-list a {
	font-size: 1rem !important;
	font-weight: bold !important;
}

body.page #kb-list i {
    font-size: 1rem !important;
    line-height: 1.3;
}

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	padding: 0 .5rem;
}

body .gform_wrapper label.gfield_label, 
body .gform_wrapper legend.gfield_label {
    font-weight: 400;
}

body .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, 
body .gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label {
	padding-left: .5rem;
}

body .gform_wrapper .gform_heading, 
body .gform_wrapper .gfield {
    margin: 0 0 .25rem;
}

body .w-popup-box-content {
    padding: 0 5% !important;
}

body .w-popup-box-title {
	padding-bottom: 0 !important;
}

body .gfield_html p {
	font-size: .813em;
    line-height: inherit;
    clear: both;
    font-family: inherit;
    letter-spacing: normal;
	opacity: 0.65; 
	font-style: italic;
}

body .w-filter.state_desktop[class*="style_switch_"] .w-filter-item {
	display: block;
}

.no-touch .w-tabs-section-header:focus,
body .w-tabs-section-header {background: transparent !important;}

.w-tabs.accordion .w-tabs-section {
	border-width: 0;
}

article.w-grid-item.hardware img {
	transition: all 0.3s ease;
}
article.w-grid-item.hardware:hover img {
	transform: scale(1.05);
}

article.w-grid-item.hardware img,
article.w-grid-item.hardware:hover img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-backface-visibility: hidden;
}

h6.w-tabs-section-title {
	font-weight: bold;
}

.no-touch .color_alternate .g-filters.style_1 .g-filters-item,
.no-touch .color_alternate .g-filters.style_2 .g-filters-item,
.no-touch .color_alternate .w-filter.state_desktop.style_switch_default .w-filter-item-value,
.no-touch .color_alternate .g-filters.style_1 .g-filters-item:hover,
.no-touch .color_alternate .g-filters.style_2 .g-filters-item:hover,
.no-touch .color_alternate .w-filter.state_desktop.style_switch_default .w-filter-item-value:hover {
	background: none !important;
	color: #000 !important;
}

body.page .w-form-checkbox:before {
	margin-left: 6px;
	color: var(--color-content-secondary);
}

body.search span.w-post-elm-before {
    font-weight: bold;
}

body .plyr__controls__item.plyr__menu,
body a.plyr__controls__item.plyr__control {
	display:none !important;
	visibility: hidden;
}

body footer li {
    margin-bottom: 5px !important;
}

body footer p, body footer ul li {
    line-height: 1.4;
}

body .gform_wrapper .gfield_required {
	margin-left: 0;
	font-size: 18px;
}

body .gform_legacy_markup_wrapper.gf_browser_chrome ul.gform_fields li.gfield select {
	background: #f4f0e8;
}

body .gform_wrapper li.gfield.gf_list_3col ul.gfield_checkbox li, 
body .gform_wrapper li.gfield.gf_list_3col ul.gfield_radio li, 
body .gform_wrapper li.gfield.gf_3col ul.gfield_checkbox li, 
body .gform_wrapper li.gfield.gf_3col ul.gfield_radio li {width: 100%;}

.plyr--video .plyr__control.plyr__tab-focus, .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
	background: #1281a1 !important;	
}