/*
 Theme Name:   Salient Fuse
 Description:  Salient Child Theme for AGCO
 Author:       dmcgroup
 Author URI:   http://www.dmcgroup.eu
 Template:     salient
 Version:      1.0.0
 Text Domain:  salient-fuse
*/

/* Create extra padding for cookie banner */
.cc-banner.cc-theme-edgeless .cc-message {
  padding: 15px;
  font-size: 13px;
}

.cc-compliance {
  margin-right: 1em;
  padding: 15px;
}

/* Fix text overflow issue of cookie consent deny button in IE 11 */
/* https://github.com/insites/cookieconsent/issues/326 */
.cc-compliance > .cc-btn {
    flex: none !important;
}

/* 404 Page template style additions */
.error404 #header-space { display: none; }
.error404 #header-outer { position:absolute; }
.error404 #header-outer.at-top { background-color: transparent; }
.error404 #header-outer.at-top #logo img { filter: brightness(0) invert(1); }
.error404 #header-outer.at-top header#top nav > ul > li > a,
.error404 #header-outer.at-top header#top nav > ul #search-btn a span.icon-salient-search { color: #ffffff !important; }

.error404 #ajax-content-wrap .container-wrap.header-wrap { 
	background-image: url('/wp-content/uploads/2018/10/404-background.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#error-404 {
    text-align: left;
    margin: 25% 0 10% 53%;
}

body #error-404 h1 {
	color: #ffffff;
	font-size: 42px !important;
	line-height: 1em !important;
}

body #error-404 h2 {
	color: #ffffff;
	font-size: 36px !important;
	font-weight: normal;
	line-height: 1em;
	text-transform: capitalize;
}

body.error404 .container-wrap.body-wrap .row { padding: 70px 0 !important; }

body.error404 .container-wrap.body-wrap .row:first-child h5 {
	font-size: 14px;
	font-weight: normal;
}

body.error404 .container-wrap.body-wrap .row:first-child p,
body.error404 .container-wrap.body-wrap .row:first-child p a {
	color: #000000;
	font-family: 'Roboto Condensed';
	font-size: 18px; 
}

body.error404 .container-wrap.body-wrap .row:first-child .span_6 p { font-size: 20px; }

body.error404 .container-wrap.footer-wrap { 
	background-color: #f5f5f5!important;
	padding: 70px 4%;
}

body.error404 .vc_row-fluid .vc_col-sm-6 { width: 48.93617020799999%; }
body.error404 .vc_row-fluid .vc_col-sm-2 { 
	margin-left: 2.1%;
	width: 14.89361702%; 
}

body.error404 .vc_row-fluid .vc_col-sm-2:first-child { margin-left: 0; }

@media only screen and (max-width: 690px){
	.error404 #ajax-content-wrap .container-wrap {
		background-position: bottom left !important;
		background-size: cover;
	}
	
	#error-404 {
    	text-align: left;
    	margin: 25% 5% 10%;
	}
	
	body.error404 .row #error-404 h1 {
		font-size: 50px !important;
    	line-height: 1em !important;
	}
	
	body .vc_row-fluid .vc_col-sm-6 { width: 100% !important; }
		
	body.error404 .vc_row-fluid .vc_col-sm-2 {
 	   width: 48% !important;
    	margin-left: 4%;
	}
}

.nectar_single_testimonial[data-style="small_modern"] p span { display: none; }
