/*
 Theme Name:   Brickendon base child
 Theme URI:    http://www.wearespider.com
 Description:  A child theme with barebones functionality.
 Author:       SP!DER Ltd
 Author URI:   http://www.wearespider.com
 Template:     Divi
 Version:      1.0.0
 Text Domain:  brickendon-base-child
*/

/* COLOURS
 *
 *	TD Blue = #0000B4
 *
**/



@font-face {
    font-family: 'Calibri';
    src: url('/wp-content/themes/brickendon-base-child/fonts/Calibri.eot');
    src: url('/wp-content/themes/brickendon-base-child/fonts/Calibri.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/brickendon-base-child/fonts/Calibri.woff2') format('woff2'),
        url('/wp-content/themes/brickendon-base-child/fonts/Calibri.woff') format('woff'),
        url('/wp-content/themes/brickendon-base-child/fonts/Calibri.ttf') format('truetype'),
        url('/wp-content/themes/brickendon-base-child/fonts/Calibri.svg#Calibri') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
	font-family: 'Calibri', Arial, Helvetica;
}

/* Posts */

#left-area,
.single .et_pb_post,
.single .post {
	margin-bottom:0px;
	padding-bottom:0px;
}


.gradientoverlay:before {
	content: "";
	display: block;
	background:linear-gradient(184deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.53) 100%);
	width: 100%;
	height: 100%;
	position: absolute;
	top:0px;
	left: 0px;
}

.container {
	width: 95%;
}


#main-content .brickendonbullet .et_pb_text ul {
	list-style: none;
	padding-left: 25px;
}

#main-content .brickendonbullet .et_pb_text ul li:before {
	content: "";
	display: block;
	position: absolute;
	width: 20px;
	height: 20px;
	background: #0f0;
	margin-top:4px;
	margin-left:-25px;
	background: url('/wp-content/themes/brickendon-base-child/BrickendonBullet.png');
	background-size: contain;
}

/* Search icon */

#et_top_search {
	margin: 13px 0 0 22px;
}

/**** SLIDERS ****/

.et_pb_slide_overlay_container:after {
    content: "";
    display: block;
    width: 100%;
    height: 400px;
    position: absolute;
    bottom: 0px;
    background: url('/wp-content/themes/brickendon-base-child/BrickendonVectors.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;

}


.Orange .et_pb_slide_overlay_container:after{
	background: url('/wp-content/themes/brickendon-base-child/BrickendonVectorOrange.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}

.LightOrange .et_pb_slide_overlay_container:after{
	background: url('/wp-content/themes/brickendon-base-child/BrickendonVectorLightOrange.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}

.Blue .et_pb_slide_overlay_container:after{
	background: url('/wp-content/themes/brickendon-base-child/BrickendonVectorBlue.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}

.LightBlue .et_pb_slide_overlay_container:after{
	background: url('/wp-content/themes/brickendon-base-child/BrickendonVectorLightBlue.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}

.Black .et_pb_slide_overlay_container:after{
	background: url('/wp-content/themes/brickendon-base-child/BrickendonVectorBlack.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}

@media only screen and (max-width: 768px) {
	   .et_pb_slide_overlay_container:after {
	    background-size: cover;
	    background-repeat: no-repeat;
	    background-position: 0px 180px;
	
	}
	   .orange .et_pb_slide_overlay_container:after{
	    background-size: cover;
	    background-repeat: no-repeat;
	    background-position: 0px 180px;
	}
	
	#et_top_search {
		margin: 0 10px 0 0;
	}

}



.fullheight {

}

.fullheight .et_pb_slider_container_inner,
.fullheight .et_pb_slider,
.fullheight .et_pb_slides,
.fullheight .et_pb_slide {
    height: 100%!important;
}

.fullheight .et_pb_slide_description,
.fullheight .et_pb_slider_fullwidth_off .et_pb_slide_description {
    width: auto;
    margin: auto;
    padding: 16% 8%;
    height: 100%;
}

.fullheight div .et_pb_button_wrapper {
    height:30px!important;
}

/**** HEADER ****/

#main-header {
	background: url(/wp-content/themes/brickendon-base-child/BrickendonNavBK.png);
	background-position: left center;
	background-size: cover;
}




/*
.wg-drop.country-selector .wgcurrent {
	border: 1px;
}
*/

.wg-drop.country-selector .wgcurrent a {
	padding-right: 30px;
}

.et_pb_post_title {
    padding: 50px 0!important;
}


.cat-post-item:hover {
	background: #f7f7f7;
}

.et_pb_fullwidth_section .et_pb_post_title h1,
.et_pb_fullwidth_section .et_pb_post_title h2,
.et_pb_fullwidth_section .et_pb_post_title h3,
.et_pb_fullwidth_section .et_pb_post_title h4,
.et_pb_fullwidth_section .et_pb_post_title h5,
.et_pb_fullwidth_section .et_pb_post_title h6 {
	padding-bottom:0px;
}

/**** FOOTER ****/
#footer-info a{
	font-weight: 100;
}
	/**** WIDGETS ****/
	#footer-widgets .footer-widget ul>li {
		padding-left:0px;
	}
	#footer-widgets .footer-widget ul>li:before {
		display:none;
	}

/**** DIVI ****/
	/**** BUTTONS ****/
	.et_pb_button, a.et_pb_button, button.et_pb_button.et_pb_newsletter_button {
		
	}
	.et_pb_button:after {
		
	}
	.et_pb_button:hover {
		
	}
	/**** CTA ****/
	.et_pb_promo {
		
	}
	/**** TESTIMONIALS ****/
	.et_pb_testimonial {
		
	}
	/**** LOGIN ****/
	.et_pb_login {
		
	}
	/**** BLOG ****/
	.et_pb_blog_grid .et_pb_post {
		
	}
	.et_pb_blog_grid .et_pb_post .more-link {
		
	}

/**** GRAVITY FORMS ****/
	/**** GRAVITY FORMS ****/
	#page-container .gform_body ul{
		    padding: 0px;
	}
	
	#page-container .gform_body li{
		    line-height: auto;
			list-style-type: none;
			margin:20px 0px 0px 0px;
	}
	
	#page-container .gform_body .name_first {
			width: 48%;
			display: inline-block;
			margin-right: 3%;
	}
	
	#page-container .gform_body .name_last {
			width: 48%;
			display: inline-block;
	}
	
	#page-container .gform_body li label{
		display: none;
		}
	
	#page-container .gform_wrapper input,
	#page-container .gform_wrapper textarea {
		width: 100%;
		padding: 16px;
		border: none;
		border-radius: 3px;
		color: #999;
		background-color: #eee;
		font-size: 14px;
	}
	
	#page-container .gform_wrapper ul.gform_fields li.gfield {
		padding-right:0px;
	}
	
	#page-container .gform_wrapper .gfield_required {
		display:none;
	}
	
	#page-container .gform_wrapper .halfLeft {
		width: 50%;
		padding-right:10px;
		display: inline-block;
	}
	
	#page-container .gform_wrapper .halfRight {
		width: 50%;
		padding-left:10px;
		display: inline-block;
	}
	
	#page-container .gform_wrapper .ginput_container_textarea {
		margin-top: 1.375em;
	}
	
	#page-container .gform_wrapper .gform_button {
		animation-duration:0.2s;
		animation-timing-function:linear;
		background-attachment: scroll;
		background-clip: border-box;
		background-color: rgb(229, 98, 51);
		background-image: none ;
		background-origin: padding-box ;
		background-position-x: 0% ;
		background-position-y: 0% ;
		background-size: auto ;
		border-bottom-color: rgb(229, 98, 51) ;
		border-bottom-left-radius: 3px ;
		border-bottom-right-radius: 3px ;
		border-bottom-style: solid ;
		border-bottom-width: 2px ;
		border-image-outset: 0px ;
		border-image-repeat: stretch ;
		border-image-slice: 100% ;
		border-image-source: none ;
		border-image-width: 1 ;
		border-left-color: rgb(229, 98, 51) ;
		border-left-style: solid ;
		border-left-width: 2px ;
		border-right-color: rgb(229, 98, 51) ;
		border-right-style: solid ;
		border-right-width: 2px ;
		border-top-color: rgb(229, 98, 51) ;
		border-top-left-radius: 3px ;
		border-top-right-radius: 3px ;
		border-top-style: solid ;
		border-top-width: 2px ;
		box-sizing: border-box ;
		color: rgb(252, 252, 252) ;
		cursor: pointer ;
		display: inline-block ;
		font-family: "Open Sans", Arial, sans-serif ;
		font-size: 20px ;
		font-weight: 500 ;
		height: 50px ;
		line-height: 34px ;
		margin-bottom: 0px ;
		margin-left: 0px ;
		margin-right: 0px ;
		margin-top: 0px ;
		outline-color: rgb(252, 252, 252) ;
		outline-style: none ;
		outline-width: 0px ;
		padding-bottom: 6px ;
		padding-left: 20px ;
		padding-right: 20px ;
		padding-top: 6px ;
		position: relative ;
		text-align: center ;
		text-decoration-color: rgb(252, 252, 252) ;
		text-decoration-line: none ;
		text-decoration-style: solid ;
		text-size-adjust: 100% ;
		transition-delay: 0s ;
		transition-duration: 0.2s ;
		transition-property: all ;
		transition-timing-function: ease ;
		vertical-align: baseline ;
		width: 175.797px;
		-webkit-font-smoothing:antialiased;
	}
	#page-container .gform_wrapper .gform_button:hover {
	    background:rgba(0,0,0,0.51);
	    border-color:transparent;
	    cursor:pointer;
	    color: #fff;
	}
	    
	.noHeading .gform_heading {
		display: none;
	}
	#page-container .noHeading_wrapper {
		margin: -30px 0;
	}
	
	
	 .gform_validation_container {
		display: none!important;
	}
/**** TEAM MODULE ****/
.teamMin .et_pb_team_member {
	position:relative;
	overflow:hidden;
}
.teamMin .et_pb_team_member_description {
	position:absolute;
	top:0px; left:0px;
	width:100%;
	height:100%;
	padding:20px;
	background-color:rgba(255,255,255,0.9);
	color:black;
	opacity:0;
	transform:translateY(100%);
			-webkit-transform:translateY(100%); -moz-transform:translateY(100%); -ms-transform:translateY(100%);
	transition:0.4s ease-out;
			-webkit-transition:0.4s ease-out; -moz-transition:0.4s ease-out; -ms-transition:0.4s ease-out; -o-transition:0.4s ease-out;
}
.teamMin .et_pb_team_member:hover .et_pb_team_member_description {
	opacity:1;
	transform:translateY(0%);
			-webkit-transform:translateY(0%); -moz-transform:translateY(0%); -ms-transform:translateY(0%);
}
.teamMin .et_pb_team_member_image {
	margin-bottom:0px;
}

.teamMin .et_pb_team_member img {
	width:100%;
}

.teamMin h4 {
	color:black !important;
}
.teamMin p.et_pb_member_position {
	color:#aaa;
}

.teamMin .et_pb_team_member_description {
    overflow: auto;
    }
/**** TD PLUGINS ****/



#main-footer {
	background-image: url(/wp-content/themes/brickendon-base-child/FooterBK.jpg)
}


/* MAPS */

.et_pb_map_container .gm-style{ 
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); 
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%);
}


.et_pb_testimonial_description_inner:before {
    content: "";
    width: 31px;
    height: 30px;
    background-image: url(/wp-content/themes/brickendon-base-child/Quote1.png);
    background-size: cover;
    left: 0px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-left: -10px;
    background-position: right top;
    margin-top: -10px;
}


.et_pb_testimonial_description_inner p:first-child:after {
	content: "";
    width: 40px;
    height: 40px;
    background-image: url(/wp-content/themes/brickendon-base-child/Quote2.png);
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    margin-top: -5px;
}

.et_pb_testimonial {
	background-color: #f7f7f7!important;
    border-radius: 10px;
    border: 2px dashed #ccc;
}

.et_pb_testimonial_description_inner p {
	display: inline;
}
.et_pb_testimonial_0.et_pb_testimonial:before {
    display: none;
}

	
	#main-footer #footer-widgets .wg-drop,
	#main-content .wg-drop {
	display: none;
}


.hoverzoom,
.hoverzoom h2 {
	    padding: 20px;
    transition: All 0.5s ease;
    color: #000;
}
.hoverzoom:hover {
    background: #7fadd8;
    transform: scale(1.1);
    border-radius: 10px;
    color: #fff;
}

.hoverzoom:hover h2 {
	color: #fff;
}

.hoverzoom.orange:hover {
	 background: #e06d3f;
}

.hoverzoom.blue:hover {
	 background: #51a8dc;
}

.hoverzoom.darkblue:hover {
	 background: #3774b7;
}

/**** BLOG ****/
	@media (min-width:700px) {
		.brickendon-blog .et_pb_ajax_pagination_container:after {
			content:'';
			display:table;
			clear:both;
		}
		/* older entries link */
		.brickendon-blog .pagination {
			position:absolute;
			bottom:-3em;
			left:0;
		}
		.brickendon-blog .et_pb_post {
			position:relative;
			z-index:0;
			width:45%;
			width:calc(50% - 1rem);
			height:16rem;
			margin-bottom:2rem;
			padding:1.5rem 1rem;
			overflow:hidden;
			background:white;
			border-radius:10px;
			box-shadow:0px 3px 20px 0px rgba(0,0,0,0.16);
		}
		/* hover */
		.brickendon-blog .et_pb_post:before {
			content:'';
			display:block;
			position:absolute;
			top:0;
			left:0px;
			z-index:10;
			width:10px;
			height:100%;
			background:#ff9e00;
			transform:translateX(-100%);
			transition:0.3s;
		}
		.brickendon-blog .et_pb_post:hover:before {
			transform:translateX(0%);
		}
		.brickendon-blog .et_pb_post img {
			transition:0.3s;
		}
		.brickendon-blog .et_pb_post:hover img {
			transform:translateX(10px);
		}
		/* content */
		.brickendon-blog .et_pb_post .entry-featured-image-url ~ * {
			float:right;
			width:60%;
			padding-left:1rem;
			line-height: 1.1em;
		}
		.brickendon-blog .et_pb_post .entry-featured-image-url {
			position:absolute;
			top:-50%; left:-40%;
			z-index:-1;
			width:80%;
			height:200%;
			overflow:hidden;
		}
		.brickendon-blog .et_pb_post img {
			position: absolute; 
			top: 0; 
			left: 0; 
			right: 0; 
			bottom: 0;
			width:auto;
			height:auto;
			margin: auto;
			min-width: 50%;
			min-height: 50%;
			max-width:100%;
			max-height:100%;
		}
		/* masonry */
		.brickendon-blog .et_pb_post:nth-child(1),
		.brickendon-blog .et_pb_post:nth-child(4),
		.brickendon-blog .et_pb_post:nth-child(5) {
			float:left;
			clear:left;
		}
		.brickendon-blog .et_pb_post:nth-child(2),
		.brickendon-blog .et_pb_post:nth-child(3),
		.brickendon-blog .et_pb_post:nth-child(6),
		.brickendon-blog .et_pb_post:nth-child(7) {
			float:right;
			clear:right;
		}
		/* big ones */
		.brickendon-blog .et_pb_post:nth-child(2n+1) {
			height:34rem;
			padding:2rem;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) .entry-featured-image-url {
			top:-50%; left:-50%;
			width:200%;
			height:200%;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) .entry-featured-image-url:after {
			content:'';
			display:block;
			position:absolute;
			top:0; left:0;
			width:100%;
			height:100%;
			background:linear-gradient(rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.2) 75%);;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) .entry-featured-image-url ~ * {
			float:none;
			width:100%;
			padding-left:0;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) * {
			color:white !important;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) .entry-title {
			margin-bottom:0.5rem;
			border-bottom:2px solid white;
		}
		.brickendon-blog .et_pb_post:nth-child(2n+1) .post-meta {
			margin-bottom:1rem;
		}
	}
	
.popup.wdpu-msg {
	width:100%!important;
	top: 100%!important;
	left:0px!important;
	margin-top: -50px!important;
	max-width: 100%!important;
	height: 50px;
}




.popup .wdpu-head {
	display: none;
}
.popup .wdpu-middle {
	width: 100%!important;
	float: left!important;
	position: relative!important;
	min-height: 50px!important;
	height: 50px;
	padding: 5px 45px 5px 5px!important;
	background: #000;
	color: #fff;
}

.popup .wdpu-buttons {
	width: 50px!important;
	position: absolute!important;
	top:0px;
	left: 100%!important;
	margin-left: -50px;
	padding: 0px!important;
	height: 50px!important;
	background: #000!important;
	border-top:0!important;
	box-shadow:0 0 0!important;
}

.wdpu-hide-forever {
	position: absolute;right: 0px;
	width: 100%;
	height: 100%;
	background: url('/wp-content/themes/brickendon-base-child/Close.png');
	background-size: contain;
	font-size: 0px;
}

.popup .wdpu-close {
	display: none;
}

.wdpu-7801 {
	background-color: rgba(255, 255, 255, 0)!important;
}
.wdpu-7801 .wdpu-content {
	padding: 5px 100px 5px 5px!important;
	line-height: 20px!important	;
}

.wdpu-7801.buttons .wdpu-inner {
	margin-bottom: 0px!important;
	position: absolute;
	left: 0px;
	top:0px;
	pointer-events: none;
}


.ie .et-pb-arrow-prev:before,
.ie .et-pb-arrow-next:before,
.ie #et-secondary-nav .menu-item-has-children>a:first-child:after,
.ie #top-menu .menu-item-has-children>a:first-child:after,
.edge .et-pb-arrow-prev:before,
.edge .et-pb-arrow-next:before,
.edge #et-secondary-nav .menu-item-has-children>a:first-child:after,
.edge #top-menu .menu-item-has-children>a:first-child:after {
	display: none;
}

