/*
 Theme Name:   Freshfields Design
 Theme URI:    https://ffieldsdesign.com
 Description:  Freshfields Design Child Theme
 Author:       ThreePoint
 Author URI:   https://threepoint.nz
 Template:     generatepress
 Version:      1.0
*/

.page-id-27 .generate-content-header {
	margin-top:30px !important;
}
/* ================================================== MEDIA QUERIES */
@media screen and (min-width:800px) {
	.homeslider1 {
		display: block;
	}
	.homeslider2 {
		display: none;
	}
	h2 span.button-style {
		padding: 1rem 5rem;
	}
	.header_contact {
		display: none;
	}
}
@media screen and (max-width:799px) {
	.homeslider1 {
		display: none;
	}
	.homeslider2 {
		display: block;
	}
	h2 span.button-style {
		padding: 1rem 2rem;
	}
}
/* ================================================== END MEDIA QUERIES */


/* ================================================== OVERRIDES */
@media (max-width: 860px) {
	.main-navigation .menu-toggle {
		display: block;
	}
	
	.main-navigation ul {
		display: none;
	}
	
	.main-navigation.toggled .main-nav > ul {
		display: block;
	}
	
	.main-navigation .main-nav ul ul {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}
	
	.main-navigation .main-nav .sf-menu > li {
		float: none;
		clear: both;
		display: block !important;
		text-align: left !important;
	}
	
	.main-navigation .sub-menu.toggled-on,
	.main-navigation .children.toggled-on {
		display: block !important;
		opacity: 1 !important;
	}
	
	.main-navigation .dropdown-menu-toggle:before {
		content: "\f107" !important;
	}
	
	.main-navigation .sfHover > a .dropdown-menu-toggle:before {
		content: "\f106" !important;
	}
	
	.main-navigation .menu-item-has-children .dropdown-menu-toggle {
		float: right;
	}
	
	.main-navigation .mobile-bar-items {
		display: block;
	}
	
	.main-navigation .menu li.search-item {
		display: none !important;
	}
	
	.main-navigation .sf-menu > li.menu-item-float-right {
		float: none !important;
		display: inline-block;
	}
	.main-navigation ul ul, .secondary-navigation ul ul.sub-menu {
		display: none;
	}	
	[class*="nav-float-"] .site-header .inside-header > * {
		float: none;
		clear: both;
	}
	.inside-header>:not(:last-child) {
		margin-bottom: 0px;	
	}
	.header_phone {
		display: none !important;
	}
	.menu-toggle {
		line-height: 0;
	}
	.inside-header {
		padding-bottom: 10px;
	}
}
/* ================================================== END OVERRIDES */

@media screen and (max-width: 768px) {
	.footer-widget-1 {
		text-align: center;
	}
}

/* ================================================== HEADER */
.header-image {
	width: 240px; margin-bottom: 30px;
}
/* ================================================== END HEADER */

/* ================================================== TYPOGRAPHY */
h1 {
	font-family: 'Cabin', Verdana;
	font-weight: 700;
	font-style: normal;
	padding-top: 15px;
}
h2 {
	font-family: 'Cabin', Verdana;
	font-weight: 600;
	font-style: normal;
	padding-bottom: 0px;

}
h3 {
	font-family: 'Cabin', Verdana;
	font-weight: 400;
	font-style: normal;
}
h1, h2, h3 {
	line-height: 1.5em;
}
/* ================================================== END TYPOGRAPHY */

/* ================================================== NAVIGATION */
.main-navigation .main-nav > ul > li.current-menu-item:not(.menu_contact) > a {
	color: #f4b212;
	background-color: #ffffff;
	font-weight: 600;
	border-bottom: 3px solid #f4b212;
}
.main-navigation .main-nav ul li:last-child a {
	color: #ffffff;
}
.main-navigation ul ul {
	width: 240px;
}
.menu_contact > a, .header_contact {
	background-color: #F2C602 !important;
	border-style:none;
}
.menu_contact a:hover, .header_contact {
	background: #F2C602 !important;
	color: #000000 !important;
}
.menu_phone a {
	font-weight: 700;
}
.main-navigation {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
/* ================================================== END NAVIGATION */

/* ================================================== LAYOUT */
/* ================================================== END LAYOUT */


/* ================================================== ABOVE THE FOLD */
.ffd-pg-header-image {
	margin: 1em 0 0;
}
.ffd-pg-header-image img {
	height: 85px;
}
.ffd-pg-header {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0.2em 0 0.7em;
}
.ffd-pg-subheader {
	font-size: 1.1rem;
	font-style: italic;
	font-weight: 100;
	letter-spacing: 1.5px;
}
.ffd-pg-subheader2 {
	font-size: 1.1rem;
	font-style: normal;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 0.5rem;
	margin-bottom: 0.9rem;
}
.owl-item .sa_hover_container {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #f4b212;
}
/* ================================================== END ABOVE THE FOLD */

.style-no_style .easy_testimonial, .style-no_style.easy_t_single_testimonial {
	text-align: center;
	margin: 2.5rem auto 1.5rem;
}
.style-no_style .easy_testimonial_image_wrapper {
	background: #f4b212;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 auto 1rem;
}
.testimonial_body p {
	font-size: 12pt;
}
.testimonial_author {
	margin-top: 1.5rem;
}
.testimonial_author span {
	display: initial !important;
	font-style: normal;
	font-size: 10pt;
	text-transform: uppercase;
}
.testimonial_author span:nth-child(1) {
	border-right: 1px solid;
	padding-right: 10px;
}

.white {
	margin: 0 0 3rem 0;
}
.testimonial_author span:nth-child(2) {
	padding-left: 11px;
}


/* ================================================== PORTFOLIO */
/* section[id^="huge_it_portfolio_content_"] div[class^="title-block_"] {
	display: none; padding-bottom:30px;
} */
section[id^="huge_it_portfolio_content_"] div[id^="huge_it_portfolio_filters_"] ul li {
	border: none !important; 
}
section[id^="huge_it_portfolio_content_"] div[id^="huge_it_portfolio_filters_"] ul li.active {
	  border-bottom: 2px solid #ECAA29 !important;

}
section[id^="huge_it_portfolio_content_"] div[id^="huge_it_portfolio_filters_"] ul li a {
	text-transform: uppercase !important; 
}

.huge_it_portfolio_container {
	margin-top: 40px !important;
}
/* ================================================== END PORTFOLIO */


/* ================================================== GENERAL STYLES */
.owl-carousel .owl-item img, .owl-carousel .owl-item a:link {
	display: inherit !important;
}
/* ================================================== END GENERAL STYLES */


/* ================================================== FOOTER */
.site-footer .footer-widgets {
	background-color: #747480;
}
footer {
	display: none;
}
.nomargin {
	margin: 0;
} 
.footer-talk {
	border: none !important;
	padding: 0.6rem;
	text-transform: uppercase;
	text-align: center;
	font-size: 11pt;
	width: 164px;
	margin: 0 auto;
}
.footer-phone {
	text-align: center;
}
.footer-phone a {
	font-size: 16pt;
	color: #ffffff;
	letter-spacing: 1px;
}
.footer-facebook {
	position: relative;
    margin: 0 auto;
    width: 300px;
}
.footer-facebook a {
	color: #ffffff;
}
.footer-facebook .footer-fbtext {
	padding: 0px 5px;
	text-transform: uppercase;
	text-align: center;
	font-size: 10pt;
	width: 193px;
	margin: 0 auto;
	position: absolute;
	top: 0;
	left: 66px;
}
.footer-facebook .ffd-facebook {
	font-size: 20pt;
	background: #F2C602;
	padding: 10px 15px;
}
.footer-talk a:hover {
	color:#f2b113;
}
.footer-widget-1 a:hover {
	color: #ffffff;
}

/* ================================================== END FOOTER */

/* ================================================== CONTACT */
.contact_form label {
	display: block;
	margin-top: 5px;
}
.contact_form input, .contact_form textarea {
	margin-bottom: 1rem;
	padding: 10px 15px;
} 
input[type=text], input[type=tel], input[type=email], textarea {
    background-color: #ffffff;

    width: 100%;
}
input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus, textarea:focus {
    background-color: #ffffff;
    border: 1px solid #a0bd46;
    border-bottom-width: 2px;
    outline: none;
}
span.wpcf7-list-item { 
	display: block;
}
span.wpcf7-list-item-label {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.css-checkbox input[type=checkbox] {
	position: absolute; 
	overflow: hidden; 
	clip: rect(0 0 0 0); 
	height:1px; 
	width:1px; 
	margin:-1px; 
	padding:0;
	border:0;
}
.css-checkbox input[type=checkbox] + span.wpcf7-list-item-label {
	padding-left:20px;
	height:15px; 
	display:inline-block;
	line-height:15px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
	cursor:pointer;
}
.css-checkbox input[type=checkbox]:checked + span.wpcf7-list-item-label {
	background-position: 0 -15px;
}
span.wpcf7-list-item-label {
	background-image: url('/wp-content/uploads/lite-orange-check.png');
}
.icon-space-right {
	margin-right: 0.5rem;
}
.wpcf7 .ajax-loader {
    display: block !important;
    margin: 0 auto !important;
}
.formsubmit {
    padding: 5px !important;
    width: 100%;
    transition: all 0.3s ease 0s;
}
.nolinkstyle {
    color: #3a3a3a;
}
.nolinkstyle:hover, .nolinkstyle:active, .nolinkstyle:focus {
    color: #f2b113;
}
/* 
.contact-form-errorbox {
	display: none;
	margin: 1rem auto;
	opacity: 0.9;
	max-width: 450px;
	z-index: 100;
}
.contact-form-errorbox.success {
	background-color:#dff0d8;
}
.contact-form-errorbox.error {
	background-color:#f2dede;
}
.contact-form-errorbox p {
	font-size: 11pt;
	font-weight: 500;
	text-align: center;
	margin: 0;
	padding: 1rem 0;
}
.contact-form-errorbox.success p {
	color: #3c763d;
}
.contact-form-errorbox.error p {
	color: #a94442;
}
div.wpcf7-response-output, div.wpcf7-validation-errors { display: none !important; }
span.wpcf7-not-valid-tip { display: none; } */

/* ================================================== END CONTACT */

.owl-carousel.sa_owl_theme .owl-item .sa_hover_container p {
	margin: 0 !important;
}
/* input[aria-invalid="true"], select[aria-invalid="true"] {
	border-color: red !important;	
	background-color: rgba(153,0,0,0.3) !important;
} */

@media screen and (min-width: 1780px) {
	.main-portfolio {
		margin: 0 auto;
		width: 1780px;
	}
}

.grecaptcha-badge {
	display: none;
}

.nopmargin p {
	margin-bottom: 0px;
}