/*
 Theme Name:     Matthew Wood Search
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Husk
 Author URI:     http://www.husk.co.nz/
 Template:       Divi
 Version:        1.0.0
*/

/* font family */
@font-face {
    font-family: 'BodoniSvtyTwoITCTT-Book';
    src: url('/wp-content/themes/mw-search-divi-child/fonts/BodoniSvtyTwoITCTT-Book.eot');
    src: url('/wp-content/themes/mw-search-divi-child/fonts/BodoniSvtyTwoITCTT-Book.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/mw-search-divi-child/fonts/BodoniSvtyTwoITCTT-Book.woff') format('woff'),
        url('/wp-content/themes/mw-search-divi-child/fonts/BodoniSvtyTwoITCTT-Book.ttf') format('truetype'),
        url('/wp-content/themes/mw-search-divi-child/fonts/BodoniSvtyTwoITCTT-Book.svg#BodoniSvtyTwoITCTT-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

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

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

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

@font-face {
  font-family: 'Gotham-Book';
  src: url("/wp-content/themes/mw-search-divi-child/fonts/Gotham-Book.eot");
  src: url("/wp-content/themes/mw-search-divi-child/fonts/Gotham-Book.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/mw-search-divi-child/fonts/Gotham-Book.woff") format("woff"), url("/wp-content/themes/mw-search-divi-child/fonts/Gotham-Book.ttf") format("truetype"), url("/wp-content/themes/mw-search-divi-child/fonts/Gotham-Book.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* typography */
body, p {
	font-family: 'Gotham-Book';
}

h1, h2, h3, h4, h5, h6, .serif-font, .serif-font p, .serif-font a {
	font-family: 'BodoniSvtyTwoITCTT-Book' !important;
	font-weight: bold !important;
}

a:hover {
	cursor: pointer;
}


.line {
    background: #fff;
    position: absolute;
    height: 2px;
    display: block;
    width: 150px;
}

/* menu */
#top-menu li a, 
#et-secondary-menu>ul>li a,
.et_header_style_split .mobile_nav .select_page,
.et_mobile_menu li a {
	font-family: 'BodoniSvtyTwoITCTT-Book' !important;
	font-weight: bold !important;
    letter-spacing: 1px;
	text-transform: uppercase;
}

.mobile_menu_bar:before {
	color: #ffffff !important;
}

#main-header .et_mobile_menu {
	background-color: #473623 !important;
}

.et_mobile_menu {
	border-top: 3px solid #473623 !important;
}

/* forms */
.nf-form-fields-required, 
.nf-error-required-error {
	display: none;
}

.ninja-forms-req-symbol {
	color: #473623 !important;
}

.nf-form-content label {
	font-family: 'BodoniSvtyTwoITCTT-Book';
    color: #473623;
    text-transform: uppercase;
    font-size: 15px !important;
}

.nf-form-content .list-select-wrap .nf-field-element>div, 
.nf-form-content input:not([type=submit]), 
.nf-form-content textarea {
	background: #ffffff !important;
    border: 1px solid rgba(196,183,169,0.4) !important;
	color: #473623 !important;
}
    
.nf-form-content input[type=submit] {
	float: right;
	background-color: #473623 !important;
	font-weight: 700!important;
    text-transform: uppercase!important;
	letter-spacing: 1px;
	font-size: 15px !important;
	color: #ffffff !important;
	border: 12px solid #473623 !important;
    padding: .3em 1em;
	line-height: 1.7em!important;
	height: auto !important;
	font-family: 'BodoniSvtyTwoITCTT-Book' !important;
}

.nf-form-content input[type=submit]:hover {
	opacity: 0.8;
	cursor: pointer;
}

.nf-after-form-content {
	padding: 5px;
    max-width: 1000px;
    margin: 10px auto;
}

.nf-response-msg {
	padding: 25px;
	background-color: #ffb75260; 
	max-width: 1000px;
    margin: 0 auto 25px auto;
}

/* footer */
#main-footer {
	display: none;
}

/* BUTTONS */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.button_CTA {
	display: inline-block !important;
	vertical-align: middle;
	min-height: 11px;
    padding-top: 8px;
    line-height: 1em;
}
.button_outline, .button_black{
	cursor: pointer;
	display: inline-block !important;
	font-size: 12px;
	font-weight: bold !important;
	text-shadow: none !important;
	transition: all 0.3s ease;
	letter-spacing:1px;
	padding:12px 24px;
	margin:8px 8px 8px 0px;
    line-height: 1.1em;
	text-transform: uppercase;
	clear: none;
}

@media only screen and (max-width: 550px) {
    .button_outline, .button_black{
		margin-right: 0px;
	}
}

div.button_outline, div.button_black { display:inline-block; }

.button_outline {
	border: 1px solid #ffffff;
	color: #ffffff;
	background-color: rgba(0,0,0,0);
}
.button_outline:hover, .button_black:hover {
	opacity: 0.8;
}

.button_black {
	border: 2px solid #000000;
	background-color: #000000;
	color: #ffffff !important;
}

.button_black a, .button_outline a {
	color: #ffffff !important;
}