/*!
	Template: hello-elementor
	Theme Name: CHeCS
	Theme URI: https//www.ubiquitycode.co.uk
	Author: Ubiquity Code
	Author URI: https//www.ubiquitycode.co.uk
	Description: CHeCS theme for Design Penguin, child of 'Hello Elementor'
	Version: 1.0.0
	Tested up to: 5.5.1
	Requires PHP: 7.3
	License: GNU General Public License v2 or later
	License URI: LICENSE
	Text Domain: checs
*/
:root{
	--checs-primary: #94AE30;

	--grid-column-gap: 30px;
    --grid-row-gap: 35px;
}
a{
	color: var( --checs-primary );
}
.chc-heading{
	color: var( --checs-primary );
	font-family: 'Roboto Slab', serif;
	font-weight: 300;
}

h3.chc-heading{
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

/* Header */
/*.elementor-widget-theme-site-logo{
	z-index: 1;
}
.elementor-widget-theme-site-logo .elementor-image{
	overflow: visible;
	height: 150px;
}
.elementor-widget-theme-site-logo .elementor-image img{
	width: 300px;
	height: 300px;
}*/

.chc-breadcrumbs{
	list-style-type: none;
	padding-left: 0;
	text-align: left;
	color: #5B5B5B;
	margin-bottom: 0.9rem;
	font-size: 0.8rem;
}
.chc-breadcrumbs li{
	display: inline;
}
.chc-breadcrumbs a,
.chc-breadcrumbs a:hover{
	color: #5B5B5B;
}

[data-elementor-type="header"] .current-menu-ancestor a.nav-link:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	background-color: var( --e-global-color-accent );
	height: 4px;
	opacity: 1;
}

[data-elementor-type="header"] .sub-menu li{
	border-style: none !important;
}
[data-elementor-type="header"] .elementor-search-form{
	max-height: 30px;
	overflow: hidden;
	transition: none;
}

.chc-button{
	border: none;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.chc-cta{
	background-color: var( --e-global-color-text );
	text-align: center;
}

.chc-container{
	max-width: 1200px;
}

.chc-container .elementor-row{
	flex-wrap: wrap;
}
.chc-container .elementor-row .elementor-col-25{
	flex-basis: 25%;
}

.chc-scheme-result{
	margin-bottom: 4rem;
}
@media( max-width: 768px ){
	#chc-find-scheme-results .chc-scheme-result{
		flex-basis: 50%;
	}
}

/* Custom select */
.chc-select{
	position: relative;
	width: 100%;
	max-width: 300px;
	overflow: visible;
}
.chc-select select{
	display: none;
}
.chc-select-selected{
	border: 1px solid var( --e-global-color-text );
	background-color: #fff;
	border-radius: 5px;
	padding: 0.5rem 1rem;
}
	/* Arrow in select */
	.chc-select-selected:after{
		position: absolute;
		content: '';
		top: 50%;
		transform: translateY( -3px );
		right: 10px;
		width: 0;
		height: 0;
		border: 6px solid transparent;
		border-color: var( --e-global-color-text ) transparent transparent transparent;
	}

	/* Options */
	.chc-select-items{
		position: absolute;
		background-color: #fff;
		border: 1px solid var( --e-global-color-text );
		border-radius: 5px;
		top: calc( 100% - 1px );
		left: 0;
		right: 0;
		z-index: 100;
		max-height: 300px;
		overflow-y: scroll;
	}
	.chc-select-items div{
		padding: 0.5rem 1rem;
		border: 1px solid var( --e-global-color-text );
		border-color: transparent transparent rgba( 0, 0, 0, 0.2 ) transparent;
	}

	/* Hide items when select closed */
	.chc-select-hide{
		display: none;
	}

	.chc-select-items div:hover,
	.chc-same-as-selected{
		background-color: var( --e-global-color-accent );
		color: #fff;
		border-top-color: transparent;
	}

/* Hidden News Categories */
.page-id-5356 .cat-item-10{
	display: none;
	visibility: none;
}

.elementor-flip-box{
	border-bottom: 4px solid var( --checs-primary );
	box-shadow: 0 0 20px 0 rgba( 0, 0, 0, 0.2 );
	height: 450px;
}
.elementor-flip-box[data-ucdf-clickable]{
	cursor: pointer;
}
.elementor-flip-box__front,
.elementor-flip-box__back{
	background-color: var( --checs-primary );
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.elementor-flip-box__front .elementor-flip-box__layer__overlay{
	background-color: rgba( 148, 174, 48, 0.5 );
}
.elementor-flip-box__back .elementor-flip-box__layer__overlay{
	background-color: rgba( 33, 61, 64, 0.3 );
}
.elementor-flip-box__layer__title{
	font-weight: 300;
	font-size: 1.5rem;
	margin-bottom: 15px;
}
.elementor-flip-box__layer__description{
	font-size: 1rem;
	font-weight: 200;
}

/* Case Study archive */
.chc-card-archive .chc-card-thumbnail{
	height: 282px;
}

/* Rotating ribbon text */
@media( max-width:1024px ){
	.elementor-widget-animated-headline .elementor-headline-plain-text{
		display: block;
	}
}