/*
Theme Name: sts
Description: Child theme for STS Sonoma County Airport 2017
Template: Divi
*/

@import url('../Divi/style.css');

/* colors, links, Divi buttons & gform buttons */

.et_pb_section {
	background-color: transparent;
}

.entry-content a {
	color: #b23a3b;
}
.entry-content a:hover {
	color: #eb4d4c;
}
.entry-content a:active {
	color: #dcab4c;
}

/* Divi theme uses class .button and .et_pb_button */

.button, .et_pb_button, .gform_wrapper input.gform_button {	
	background: #e99a3f; /* orange county Bar for #top-header */
	background: #f4f4f4; /* lighter grey nav background */
	background: #f4f4f4; /* light grey bg */
	background: #505050; /* dark grey bg */
	background: #3ab2b1; /* teal action button bg */
	background: #eb4d4c; /* red-orange bg */
	background: #b23a3b; /* darker red bg - basic link and header color */
	background: #dcab4c; /* gold button bg */
	padding: 10px 20px;
    border-radius: 10px;
	color: #fff !important;
	font-weight: 600;
	font-family: Raleway;
	transition: all ease-in 0.2s;
}
.button:hover, .et_pb_button:hover, .gform_wrapper input.gform_button:hover {
	cursor: pointer;
	padding: 10px 20px;
	font-weight: 600;
	color: #f4f4f4 !important;
	background: #dcab4c !important; /* button bg remains gold */
	text-shadow: 1px 1px 1px #333;
}

#top-header {
    position: relative;
	height: 32px;
	background: #dcab4c !important; /* this gold matches the announcement bar */
/*	background: #e99a3f;  orange county Bar for #top-header */
}
#google_translate_element {
    max-width: 350px;
    float: left;
	margin-top: -9px;
}

/* search */

#et-top-navigation #et_top_search {
    display: block;
    float: right;
    position: relative;
    width: 18px;
    margin: 43px 0 0 22px;
}

#et_search_icon:before, span.et_close_search_field:after {
	border-bottom: none;
	font-size: 175%;
    margin-top: -15px;
	border-bottom: none !important;
}

@media screen and (max-width: 980px) {
	#et_search_icon::before, span.et_close_search_field::after {
		border-bottom: none;
		font-size: 100%;
		margin-top: -4px;
		border-bottom: none !important;
	}
}

/* logo and top bar */
@media screen and (min-width: 981px) {
	.et_header_style_left #logo {
		max-height: 100%;
		margin-bottom: -80px;
		min-height: 150px;
		width: 150px;
	}
	.et_header_style_left #et-top-navigation {
		padding: 0 important;
	}
	.post-template-default div#content-area {padding-top: 30px;}
}

@media screen and (max-width: 980px) {
	.et_header_style_left #logo {
		display: inline-block;
		float: none;
		max-width: 120px;
		max-height: 120px;
		margin-bottom: 0;
	}
	#section-header.et_pb_section_0 {
		min-height: 240px;
	}
	#et-top-navigation #et_top_search {
		display: block;
		float: right;
		position: relative;
		width: 18px;
		margin: 3px 0 0 22px;
	}
	/* tighten up rows on mobile */
	.et_pb_row, .et_pb_column .et_pb_row_inner {
		padding: 0;
	}
}

/* homepage */

.home .et_pb_section_0 {
	background-size: cover;
	background-position: center top !important;
}

.et_pb_text.butt {
	padding-bottom: 0px;
}

/* teal buttons for homepage */

.butt {
	margin: 10px;
	display: inline-block;
	position: relative;
	margin: 0 auto;
	background-color: #3ab2b1; /* teal action button bg */
	width: 170px;
	height: 80px;
    border-radius: 10px;
	font-family: Raleway;
	transition: all ease-in 0.2s;
}
.butt p {
	width: 110px;
	float: right;
	color: #fff !important;
}
.butt span.hidden-sm {
	display: block;
    position: relative;
    width: 200px;
    margin-top: 10px;
    margin-left: -40px;
    text-align: left;
    font-size: 75%;
    line-height: 1.5em;
    color: #fff !important;
	text-shadow: none;
}
.butt span.hidden-sm:hover {
	text-shadow: none;
}
.butt p:first-child a {
	display: block;
	color: #fff !important;
	font-weight: 600;
	text-align: center;
    padding-top: 25px;
	padding-right: 10px;
	transition: all ease-in 0.2s;
}
.butt a:hover {
	cursor: pointer;
	color: #ccc !important;
}

/* teal buttons with white icons for homepage */

#book-flight {
	background: url('/wp-content/uploads/White.Book-Flight.png') 10px 15px no-repeat #3ab2b1;
}
#flight-status {
	background: url('/wp-content/uploads/icon_flight_status_50x50.png') 10px 15px no-repeat #3ab2b1;
}
#parking {
	background: url('/wp-content/uploads/White.Parking.png') 10px 15px no-repeat #3ab2b1;
}
#ground-transport {
	background: url('/wp-content/uploads/icon_ground_transportation_50x50.png') 10px 15px no-repeat #3ab2b1;
}
#ground-transport p:first-child a {
    margin-top: -9px;
    line-height: 1.5em;
}
#airline-info {
	background: url('/wp-content/uploads/White.Info_.png') 10px 15px no-repeat #3ab2b1;
}
#airline-info p:first-child a {
    margin-top: -9px;
	line-height: 1.5em;
}
#security {
	background: url('/wp-content/uploads/White.Security.png') 10px 15px no-repeat #3ab2b1;
}
#aviation {
	background: url('/wp-content/uploads/icon_white_pilot_info.png') 10px 15px no-repeat #3ab2b1;
}
#aviation p:first-child a {
    margin-top: -9px;
	line-height: 1.5em;
}
#check-in {
	background: url('/wp-content/uploads/Check-in2.png') 10px 15px no-repeat #3ab2b1;
}


/* force teal buttons to row separate on mobile */

@media screen and (max-width: 980px) {
	.home .et_pb_row.et_pb_row_1.et_pb_row_4col {
		margin-bottom: 30px;
	}
}

/* main section pages */
/* header background image height */
#section-header, .page .et_pb_section_0 {
	min-height: 400px;
	background-size: cover;
}
#section-header h1, .page .et_pb_section_0 h1 {
	font-size: 4rem;
	color: #b23a3b !important;
	font-weight: 600;
	text-align: center;
	margin-top: 11%;
	/* text-shadow: 1px 1px 1px #333, -1px -1px 2px #999; */
}

/* default header */
.page .et_pb_section_0, .error404 .et_pb_section_0 {
	background: url('/wp-content/uploads/Parking-copy-3.jpg') no-repeat center center #f4f4f4;
}
/* children of the badges page */
.parent-pageid-195 .et_pb_section_0 {
	background: url('/wp-content/uploads/Header-General-Aviation-copy-2.jpg') no-repeat center center #f4f4f4;
}
/* children of the neighbors page */
.parent-pageid-197 .et_pb_section_0 {
	background: url('/wp-content/uploads/Header-STS-Tier-2-1.jpg') no-repeat center center #f4f4f4;
}

/* headers on HD and ultra HD*/

@media screen and (min-width: 1400px) {
	.page .et_pb_section_0 {
		background-position: center center;
		background-size: cover !important;
	}
}
@media screen and (min-width: 2161px) {
	.page .et_pb_section_0 {
		background-position: center center;
		background-size: cover !important;
	}
}

@media screen and (max-width: 1279px) {
	#section-header h1, .page .et_pb_section_0 h1 {
		font-size: 3rem;
	}
}
/* headers and captions on mobile */
@media screen and (max-width: 640px) {
	.page-id-178 div.wp-caption {
		margin: 0 auto;
	}
	#section-header h1, .page .et_pb_section_0 h1 {
		font-size: 2rem;
		margin-top: 50px;
	}
	#section-header, .page .et_pb_section_0 {
		min-height: 250px;
		background-position: center -50px !important;
	}
}


/* white inner page buttons */

.butt.white {
	background-color: #fff;
    width: 100%;
    max-width: 280px;
    height: 220px;
	color: #3ab2b1 !important;
	border: 1px solid #3ab2b1;
}
.butt.white p {
    width: 100%;
    max-width: 220px;
	padding-bottom: 10px;
	color: #3ab2b1 !important;
}
.butt.white p:first-child a {
	padding-right: 0px;
	padding-top: 35px;
	font-size: 1.25em;
	color: #3ab2b1 !important;
}
.butt.white:hover {
	color: #3ab2b1 !important;
	text-shadow: none;
}
.butt.white p:first-child a:hover {
	text-shadow: 1px 1px 1px #ccc;
}

.butt.white p a.learn-more {
    position: absolute;
    bottom: -18px;
    right: 20px;
    padding: 2px 20px;
    color: #fff !important;
    background: #dcab4c;
	font-size: 100%;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
	transition: all ease-in 0.5s;
}
.butt.white:hover p a.learn-more {
	text-shadow: 1px 1px 1px #333;
}
.butt.white p a.learn-more:hover {
	cursor: pointer;
	text-shadow: 1px 1px 1px #333;
}

.butt.white span.hidden-sm {
	width: 210px;
	margin-left: -20px;
	color: #3ab2b1 !important;
}


/* white button icons */

	/* default for no icon yet is the parking icon, default teal button icon is the white down-arrow for quicklinks */
	.butt.white {
		background: url('/wp-content/uploads/teal_parking_50x50.png') 25px 25px no-repeat #fff;
	}
	.butt {
		background: url('/wp-content/uploads/white_quicklinks_icon.png') 10px 15px no-repeat #3ab2b1;
	}
	.butt.two p:first-child a {
		margin-top: -9px;
		line-height: 1.5em;
	}
	
	/* divi slide nav return to top dots for anchor links */

ul.et_pb_side_nav .side_nav_item a {
	transition: all linear 0.1s;
}
ul.et_pb_side_nav .side_nav_item a.active {
    background-color: #b23a3b !important;
	box-shadow: 1px 1px 1px #333;
}

/* passengers page */
.butt.white#check-in {
	background: url('/wp-content/uploads/teal_security_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#book-flight {
	background: url('/wp-content/uploads/Teal.Book-Flight.png') 25px 25px no-repeat #fff;
}
.butt.white#ground-transport {
	background: url('/wp-content/uploads/teal_ground_transport_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#ground-transport p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#security {
	background: url('/wp-content/uploads/Teal.Security.png') 25px 25px no-repeat #fff;
}
.butt.white#flight-status {
	background: url('/wp-content/uploads/Teal.Flight-Tracker.png') 25px 25px no-repeat #fff;
}
.butt.white#terminal-amenities {
	background: url('/wp-content/uploads/teal_amenities_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#terminal-amenities p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#parking {
	background: url('/wp-content/uploads/teal_parking_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#visitor-info {
	background: url('/wp-content/uploads/teal_visitor_info_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#airline-info {
	background: url('/wp-content/uploads/Teal.Info_.png') 25px 25px no-repeat #fff;
}
.butt.white#airline-info p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#cost-calculator {
	background: url('/wp-content/uploads/Teal.Cost-Calculator.png') 25px 25px no-repeat #fff;
}
.butt.white#directions {
	background: url('/wp-content/uploads/teal_directions_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#pass-faq {
	background: url('/wp-content/uploads/White.FAQ-2.png') 25px 25px no-repeat #fff;
}


/* general aviation page */

.butt.white#pilot-info {
	background: url('/wp-content/uploads/Teal.Pilot-Info.png') 25px 25px no-repeat #fff;
}
.butt.white#leasing {
	background: url('/wp-content/uploads/teal_leasing_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#leasing p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}	
.butt.white#badges {
	background: url('/wp-content/uploads/Teal.Badges.png') 25px 25px no-repeat #fff;
}
.butt.white#notams {
	background: url('/wp-content/uploads/Teal.NOTAMs.png') 25px 25px no-repeat #fff;
}
.butt.white#drones {
	background: url('/wp-content/uploads/Teal.Drone_.png') 25px 25px no-repeat #fff;
}
.butt.white#fbos {
	background: url('/wp-content/uploads/Teal.FBO_.png') 25px 25px no-repeat #fff;
}

/* business & community page */

.butt.white#doing-business {
	background: url('/wp-content/uploads/teal_doing_business_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#neighbors {
	background: url('/wp-content/uploads/teal_neighbors_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#jobs {
	background: url('/wp-content/uploads/Teal-Jobs-e1485979184659.png') 25px 25px no-repeat #fff;
}
.butt.white#art {
	background: url('/wp-content/uploads/teal_art_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#aviation-commission {
	background: url('/wp-content/uploads/Teal.Aviation-Com.png') 25px 25px no-repeat #fff;
}
.butt.white#aviation-commission p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}	
.butt.white#volunteering {
	background: url('/wp-content/uploads/Teal-Volunteering-e1485655461970.png') 25px 25px no-repeat #fff;
}
.butt.white#public-hearing {
	background: url('/wp-content/uploads/teal_public_hearing_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#public-hearing p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#media {
	background: url('/wp-content/uploads/teal_media_50x50.png') 25px 25px no-repeat #fff;
}

/* about us page */
.butt.white#faq {
	background: url('/wp-content/uploads/Teal.Artboard-19.png') 25px 25px no-repeat #fff;
}
.butt.white#lost {
	background: url('/wp-content/uploads/White.Lost-and-Found.png') 25px 25px no-repeat #fff;
}
.butt.white#contact {
	background: url('/wp-content/uploads/Artboard-392.png') 25px 25px no-repeat #fff;
}
.butt.white#history {
	background: url('/wp-content/uploads/Teal-Our-History--e1485989436990.png') 25px 25px no-repeat #fff;
}
.butt.white#master-plan {
	background: url('/wp-content/uploads/Teal.MasterPlan.png') 25px 25px no-repeat #fff;
}
.butt.white#pass-numbers {
	background: url('/wp-content/uploads/2-13Passenger-Count2.png') 25px 25px no-repeat #fff;
}
.butt.white#pass-numbers p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#construction {
	background: url('/wp-content/uploads/teal_construction_50x50.png') 25px 25px no-repeat #fff;
}
.butt.white#construction p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}

/* doing business page */

.butt.white#commercial-vehicles {
	background: url('/wp-content/uploads/Teal.Commercial-Vehicle.png') 25px 25px no-repeat #fff;
}
.butt.white#commercial-vehicles p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#partners {
	background: url('/wp-content/uploads/Teal.Partners.png') 25px 25px no-repeat #fff;
}
.butt.white#advertising {
	background: url('/wp-content/uploads/Teal.Advertising-1.png') 25px 25px no-repeat #fff;
}
.butt.white#resources {
	background: url('/wp-content/uploads/Teal.Resources.png') 25px 25px no-repeat #fff;
}
.butt.white#rfp {
	background: url('/wp-content/uploads/Teal.RFPs_.png') 25px 25px no-repeat #fff;
}
.butt.white#acdbe {
	background: url('/wp-content/uploads/Artboard-402.png') 25px 25px no-repeat #fff;
}
.butt.white#bus-faq {
	background: url('/wp-content/uploads/White.FAQ-2.png') 25px 25px no-repeat #fff;
}
.butt.white#airport-faq {
	background: url('/wp-content/uploads/White.FAQ-3.png') 25px 25px no-repeat #fff;
}

/* neighbors page */

.butt.white#neighbors-feedback {
	background: url('/wp-content/uploads/Teal.Artboard-25.png') 25px 25px no-repeat #fff;
}
.butt.white#neighbors-feedback p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#neighbors-guide {
	background: url('/wp-content/uploads/Teal.Visitor-Guide.png') 25px 25px no-repeat #fff;
}
.butt.white#neighbors-guide p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#approach-diagrams {
	background: url('/wp-content/uploads/Teal.Approach-Diagrams.png') 25px 25px no-repeat #fff;
}
.butt.white#approach-diagrams p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}
.butt.white#newsletter {
	background: url('/wp-content/uploads/Teal.Red-Barron.png') 25px 25px no-repeat #fff;
}
.butt.white#newsletter p:first-child a {
    margin-top: -16px;
	margin-bottom: -10px;
}

/* change action boxes into buttons */ 
@media screen and (max-width: 980px) {
	.butt.white {
		height: 100px;
		overflow: hidden;
	}
	.teal-bg .et_pb_column, .teal-bg .et_pb_row  {
		width: 280px !important;
		max-width: 280px !important;
		margin: 0 auto;
	}
	.hidden-sm {
		display: none !important;
	}
}

/* action-box section BGs (holds the .butt class buttons) */

.teal-bg {
	background: url('/wp-content/uploads/Pattern-Tile.png') top left repeat #f4f4f4;
}
.teal-bg .et_pb_row.highlight {
    padding: 10px 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
	margin-bottom: 20px;
}
@media (min-width: 981px) {
	.teal-bg .et_pb_row {
		margin: 20px auto;
	}
}

.et_pb_section.white-bg {
	background: #ffffff;
}

.et_pb_section.gray-bg, .et_pb_section.grey-bg {
	background: #f4f4f4;
}

/* forms */

.gform_wrapper input, .gform_wrapper textarea, .gform_wrapper select {
    background: #fff;
	box-shadow: 1px 1px 1px #333;
	border-radius: 20px;
	border: none;
}
.page-id-202 .gform_wrapper textarea {
	max-width: 49%;
}

ul.gfield_checkbox li input, ul.gfield_radio li input {
	box-shadow: none;
}

/* menus */

#et-secondary-menu > ul > li a {
    display: inline-block;
	color: #fff !important;
	font-weight: 400;
}

#main-header {
	background: url('/wp-content/uploads/header_tile_triangles.png') top left repeat-x #f4f4f4;
}

@media screen and (min-width: 981px) {
	.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a {
		margin-bottom: 20px;
		margin-top: 30px;
		padding-bottom: 3px !important;
	}

	#top-menu a, #et_search_icon:before, #et_top_search .et-search-form input, .et_search_form_container input, span.et_close_search_field:after, #et-top-navigation .et-cart-info {
		font-weight: 600 !important;
		border-bottom: 1px solid #d42e32;
	}
}

.et_mobile_menu {
    display: none;
    visibility: visible;
    position: absolute;
    z-index: 9999;
    width: 100%;
    padding: 5%;
    border-top: 3px solid #b23a3b;
    border-bottom: 3px solid #b23a3b;
    opacity: 1;
    background: #f4f4f4;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    right: -20px;
	left: auto;
	border-top-left-radius: 40px;
}
.mobile_menu_bar:before {
	color: #b23a3b;
}


/* homepage */

#home-button-row .et_pb_column {
    float: none;
    text-align: center;
}

#home-button-row .butt {
    margin-bottom: 0px;
}

#homepage-tagline {
	font-weight: 600;
	text-align: left;
	padding-top: 20px;
	text-shadow: 2px 2px 3px #333;
}
#homepage-hero {
	background: url('/wp-content/uploads/grey_20x20.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

p.announcement {
	max-width: 1200px;
	margin: 0px auto;
	padding: 20px;
	padding-bottom: 20px;
	text-align: center;
	color: #fff;
}

#announcement-bar-home a, p.announcement a {
	color: #fff !important;
	text-decoration: underline;
}

.et_pb_section.visual-destinations, .et_pb_section.visual-destinations .et_pb_row {
	padding: 10px;
}
.et_pb_section.visual-destinations .et_pb_row.explore {
	padding: 20px 0px;
}

.et_pb_section.visual-destinations {
    padding-bottom: 20px;
}

@media screen and (max-width: 980px) {
	.et_pb_section.visual-destinations img {
		box-shadow: none;
		margin: 10px auto;
		padding: 0px;
	}
	.et_pb_section.visual-destinations .et_pb_row.explore h2, .et_pb_section.visual-destinations .et_pb_row.explore h3 {
		float: none !important;
		text-align: center !important;
		font-size: 1.25em;
	}
	#home-button-row {
		width: 100% !important;
		max-width: 100% !important;
	}	
	.home #home-button-row {
		padding-top: 0px;
	}
}

/* check-in page */


#wine-flies-free img {
	max-width: 75%;
	margin: 0 auto;
}

#check-in-center {
	border-top: none;
	border-bottom: none;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	padding-bottom: 30px;
}

@media screen and (min-width: 981px) {
	#check-in-center .et_pb_text {
		padding: 0px 10px;
	}
}

@media screen and (max-width: 980px) {
	#check-in-center {
		border-top: 1px solid #666;
		border-bottom: 1px solid #666;
		border-left: none;
		border-right: none;
	}
	/* add border on mobile over allegiant column 
	.page-id-175 .et_pb_column_5, .page-id-555 .et_pb_column_5 {
	    border-top: solid 1px #666;
	}*/
}

/* security page */

.page-id-559 .et_pb_text_4 .fluid-width-video-wrapper {
    padding-top: 50% !important;
}

/* book flight page */

.page-id-599.page .et_pb_section_0 {
	background: none;
	min-height: 150px;
	max-height: 150px;
}
.page-id-599.page .et_pb_section_0 h1 {
	margin-top: 5px;
}

@media screen and (min-width: 980px) and (max-width: 1360px) {
	.book-table-outer .book-table-wrapper {
		width: 100%;
		max-width: 420px;
		margin: auto;
		margin-right: 10px;
	}
	.page-id-599 .et_pb_row.et_pb_row_1 {
		width: 98%;
	}
}

/* visitor info page */

div.button-row {
	text-align: center;
}

.page-id-178 div.wp-caption {
    max-width: 100%;
    margin-bottom: 0px;
	width: 200px !important;
    margin: 0 32px 20px 0;
    padding: 0px;
    padding-top: 0px;
    border: none;
    background-color: #f4f4f4;
    text-align: center;
	text-shadow: 1px 1px 1px #333;
	float: none;
    display: inline-block;
}

.page-id-178 p.wp-caption-text {
    color: #fff;
    text-align: center;
    margin-top: -75px;
	margin-bottom: 50px;
    font-size: 16px;
    font-weight: 600;
}

/* footer  */

#main-footer {
	color: #ccc;
}

#footer-info {
    float: none;
    padding-bottom: 10px;
    color: #ccc;
    text-align: center;
}

#footer-widgets {
    padding: 1% 0;
}

@media screen and (min-width: 981px) {
	.et_pb_gutters2 .footer-widget {
		margin: 0 auto;
	}	
	.et_pb_gutters3 .footer-widget {
		margin: 0 auto;
	}
	.home. alaska-logo {
		margin-top: -15px !important;
		margin-right: 0px !important;
		max-width: 70%;
	}
}

@media screen and (max-width: 980px) {
	#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
		margin-bottom: 5px !important;
		margin: 0 auto;
	}
	/* remove county logo from mobile */
	#footer-widgets > div:nth-child(1) {
		display: none;
	}
	/* center signup form on mobile */
	#footer-widgets #text-3 div {
		float: none !important;
		text-align: center !important;
		margin: 2px auto !important;
	}
	#footer-signup-button {
		float: none;
		margin: 5px auto 0;
	}
}

.error404 h1, .search h1 {
	padding-top: 40px;
}

#sidebar ul#menu-home a {
    color: #b23a3b;
}

/* remove county toolbar from mobile */

@media screen and (max-width: 980px) {
	#top-header, #et-secondary-nav {
		display: none !important;
	}
	.sonomacounty, .sonomacounty a {
		display: none !important;
		background: transparent !important;
	}
	#mobile_menu .menu-item-595, #mobile_menu .menu-item-596 {
		display: none !important;
	}
}

#footer-signup-button {
	float: left; 
	background-color: #f4f4f4 !important; 
	color: #505050 !important;
}
#footer-signup-button:hover {
	background-color: #505050 !important; 
	color: #fff !important;
	cursor: pointer;
}

/* =========== Booking Form ============== */

div#book-form {
    width: 573px;
    height: 623px;
    background-image: url('/wp-content/uploads/pick.png');
    background-repeat: no-repeat;
    padding-left: 35px;
}
.book-intro {
    padding-top: 175px;
}
.book-intro h2 {
    line-height: 45px;
    color: white;
}
.book-intro1 h2 {
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 0px;
}
.book-intro2 h2 {
    font-size: 50px;
    font-weight: 700;
}
input#bf-airport {
    display: block;
    width: 460px;
}
#book-form input[type=text] {
    margin-top: 10px;
    font-size: 20px;
    color: #9c9c9c;
}
.book-dates input[type=text] {
    width: 100px;
    line-height: 32px;
    height: 32px;
    border-radius: 16px;
}
div#ui-datepicker-div ul {
    background-color: white;
    height: 60px;
}
#ui-id-1 {
    background-color: #3ab2b1;
    overflow: hidden;
    max-height: 320px;
    border-radius: 10px;
    width: 350px;
}
#ui-id-1 li {
    color: white;
    overflow: hidden;
    height: 40px;
}
.book-dates {
    margin-top: 10px;
    color: white;
}
#book-form {
    color: white;
}
#book-form .book-dates input[type=text] {
    line-height: 24px;
    font-size: 14px;
	padding-left: 6px;
}
select#bf-specific-airport {
    width: 460px;
    height: 54px;
    border-radius: 27px;
    color: #909090;
    padding-left: 15px;
    margin-top: 10px;
    font-size: 20px;
    display: none;
}
input#bf-non-stop {
    background-color: white;
}
input#bf-airport {
    height: 54px;
    border-radius: 27px;
    padding-left: 15px
}
.book-form-nonstop {
    margin-top: 10px;
}
button#bf-apply {
    background-color: #dcab4c;
    font-size: 24px;
    border-radius: 19px;
    width: 68px;
    color: white;
    height: 38px;
    border: none;
}


@media screen and (max-width: 640px) {

	.page-id-599 #book-section .et_pb_row.et_pb_row_1 {
		width: 100%;
	}

	div#book-form {
		width: 360px;
		background-color: #d9494c;
		background-image: none;
		margin: auto;
		height: 400px;
	}

	.book-intro {
		padding-top: 40px;
	}

	.book-intro2 h2 {
		font-size: 40px;
	}

	.book-intro1 h2 {
		font-size: 30px;
	}

	input#bf-airport {
		width: 300px;
	}

	#book-form input[type=text] {
		font-size: 14px;
	}

	input#bf-to:before {
		clear: both;
		display: block;
		content: "";
	}

	.ui-datepicker-group.ui-datepicker-group-middle, .ui-datepicker-group.ui-datepicker-group-last {
		display: none;
	}

	div#ui-datepicker-div {
		width: 320px !important;
		left: 10px !important;
	}
	.ui-datepicker-multi-3 .ui-datepicker-group{
		width:100% !important;
	}

	button#bf-apply {
		margin-top: 25px;
	}

	.page-id-599 #book-section .et_pb_section_1 {
		background-image: none;
		padding-bottom: 0;
	}

}

/* book flight page */

.book-table-wrapper { width: 100%; max-width: 480px; margin: auto; } 

.book-table-airline-header { background-color: #41afae; color: white; width: 100%; height: 32px; text-align: center; border-bottom: 2px white solid; } 

.book-table-airline-lastrow {margin-bottom: 20px;} 

.book-table-cell, .book-table-airline-header { height: 40px; float: left; line-height:40px } 

.book-table-destination { width: 45%; padding-left: 15px; } 

.book-table-book-now { width: 30%; } 

.book-table-tourism { width:25% } 

.book-table-cell { background-color: #cbcbcb; font-size: 14px; } 

.book-table-cell.book-table-book-now { text-transform: uppercase; font-size: 12px; font-weight: 400; } 

.book-table-airline-row:after { content: ""; display: block; clear: both; } 

.book-table-airline-row { border-bottom: 2px white solid; } 

img.book-now-img { height: 20px; margin-right: 8px; vertical-align: middle; } 

.book-table-airline-row a { color: initial; }

.book-table-tourism a { text-decoration: underline; }

