/* H1 Full Width Row
----------------------------------------*/

.franchise_locations-template-default .h1-full-width-row,
.post-type-archive-franchise_locations .h1-full-width-row {
	background-color: #eee;
}

.franchise_locations-template-default .h1-full-width-row .fl-row-content,
.post-type-archive-franchise_locations .h1-full-width-row .fl-row-content {
	max-width: 1140px !important;
}

/* Franchise RW Breadcrumbs
----------------------------------------*/

.franchise_locations-template-default .rw-breadcrumbs,
.post-type-archive-franchise_locations .rw-breadcrumbs {
	border-bottom: 1px solid #eee;
}

.franchise_locations-template-default .rw-breadcrumbs .fl-row-content,
.post-type-archive-franchise_locations .rw-breadcrumbs .fl-row-content {
	max-width: 1140px !important;
}

/* Franchise Archive
----------------------------------------*/

.wpgmza-store-locator {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 20px;
	clear: both;
	padding: 20px;
	background-color: #eee;
	border: 1px solid #ccc;
}

.wpgmza-store-locator label, .wpgmza-directions-box label {
    width: 100% !important;
    clear: both;
}

.wpgmza-store-locator .wpgmza-address-container {
	width: calc(50% - 5px);
	margin-right: 5px;
	float: left;	
}

.wpgmza-store-locator .wpgmza-address-container input.wpgmza-address {
	width: calc(100% - 45px);
	float: left;
	margin-right: 5px;
}

.wpgmza-store-locator .wpgmza-radius-container {
	width: calc(10% - 5px);
	margin-right: 5px;
	float: left;	
}

.wpgmza-store-locator .wpgmza_sl_search_button_div {
	width: calc(10% - 5px);
	margin-right: 5px;
	float: left;
}

.wpgmza-store-locator .wpgmza_sl_reset_button_div {
	width: calc(10% - 5px);
	margin-right: 5px;
	float: left;
}

.wpgmza-store-locator input:not([type='button']) {
	background-color: #fff !important;
}

.wpgmza-store-locator input[type="button"] {
    margin-left: 0 !important;
    margin-top: 28px;
    width: 100%;
}


.wpgmza-store-locator > div > * {
    display: block !important;
}

/* Franchise Single
----------------------------------------*/

.franchise_locations-template-default .fl-col-content .fl-col-group {
	margin-left: -15px;
	margin-right: -15px;
}

.franchise_locations-template-default .fl-col-has-cols {
	width: 100%;
}

.franchise_locations-template-default .rw-fr-staff-image {
	text-align: center;
}

.franchise_locations-template-default .rw-fr-staff-image img {
	border: 5px solid #fff;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
	box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
}

.franchise_locations-template-default h3.rw-fr-staff-name {
	text-align: center;
}

.franchise_locations-template-default p.rw-fr-staff-position {
	text-align: center;
}

.franchise_locations-template-default .rw-fr-staff-short {
	text-align: center;
}

.rw-franchise-single-image {
	text-align: center;
}







/* Franchise Single Form Styling
----------------------------------------*/

body .gform_wrapper #gform_6 ul li.gfield {
    margin-bottom: 15px;
}

.gform_wrapper .top_label input.medium.datepicker {
	width: calc(100% - 24px) !important;
}

.gform_wrapper.gf_browser_chrome select {
    padding: 9px 10px !important;
    background: rgba(0,0,0,0.05) !important;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    height: auto;
}

.ui-datepicker-title select {
	background-color: #333 !important;
}


.rw-estimate-form-grey-bg .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    background: rgba(255,255,255,1) !important;
    border: 1px solid #ccc !important;
}

.rw-estimate-form-grey-bg .gform_wrapper textarea.large {
    background: rgba(255,255,255,1) !important;
    border: 1px solid #ccc !important;
}

.rw-estimate-form-grey-bg .gform_wrapper.gf_browser_chrome select {
    background: rgba(255,255,255,1) !important;
    border: 1px solid #ccc !important;
}

.rw-estimate-form-grey-bg hr {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
}

/* ACF Map Styles
----------------------------------------*/

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

/* WP Google Maps Style For Store Locator
----------------------------------------*/

.gm-style .gm-style-iw-c {
	width: 520px;
}

.wpgmza-store-locator input.wpgmza-address {
	padding: 6px;
	border: 1px solid #ccc;
}

.wpgmza-store-locator select {
	width: 100%;
	padding: 6px;
	border: 1px solid #ccc;
}

.wpgmza_map {
	border: 1px solid #ccc !important;
	margin-bottom: 20px;
}

.wpgmza_basic_row .wpgmza-content-address-holder img {
    transform: scale(1) !important;
    margin: 0 !important;
    margin-right: 10px !important;
    top: 0 !important;
    position: relative;
}

.wpgmza_basic_row .wpgmza-address {
	margin-bottom: 15px;
	font-size: 1 !important;
	color: #666 !important;
}

.wpgmza_basic_row .wpgmza-link,
.wpgmza_basic_row .wpgmza-rating-container,
.wpgmza_basic_row .wpgmza-distance-from-location {
	padding-left: 35px;
}

.wpgmza_basic_row .wpgmza-distance-from-location {
	margin-top: 10px;
	color: #666;
}

[data-wpgmza-marker-listing] .wpgmza-distance-from-location {
	opacity: 1 !important;
}

.wpgmza_basic_row .wpgmza-link a {
	display: block;
	width: 200px !important;
	text-align: center;
	background-color: #AE050F;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 30px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-family: "Roboto Condensed",sans-serif;
	font-size: 16px;
    font-weight: 700;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.75);
}


@media (min-width: 320px) {
	
	.wpgmza-store-locator {
	    float: left;
	    padding: 10px;
	}
	
	.wpgmza-store-locator .wpgmza-address-container,
	.wpgmza-store-locator .wpgmza-radius-container {
	    width: 100%;
	    margin-right: 0;
	    margin-bottom: 5px;
	}
	
	.wpgmza-store-locator .wpgmza-search,
	.wpgmza-store-locator .wpgmza-reset {
		width: calc(50% - 5px);
	}
	
	.wpgmza-content-address-holder {
	    width: 100% !important;
	}
	
	.wpgmza-basic-listing-image-holder {
	    display: none;
	}
	
	.wpgmza_basic_row .wpgmza-link a {
	    width: 160px !important;
	}

}

@media (min-width: 480px) {
	
	.wpgmza-store-locator .wpgmza-address-container,
	.wpgmza-store-locator .wpgmza-radius-container {
	    width: calc(50% - 5px);
	    margin-right: 5px;
	    margin-bottom: 0;
	}
	
}

@media (min-width: 600px) {
	
	.wpgmza-content-address-holder {
	    width: 58% !important;
	}
	
	.wpgmza-basic-listing-image-holder {
	    display: block;
	    width: 40% !important;
	}
	
}

@media (min-width: 680px) {
	
	.wpgmza-content-address-holder {
	    width: 68% !important;
	}
	
	.wpgmza-basic-listing-image-holder {
	    width: 30% !important;
	}
	
}

@media (min-width: 769px) {
	
	.wpgmza-store-locator .wpgmza-radius-container,
	.wpgmza-store-locator .wpgmza_sl_search_button_div,
	.wpgmza-store-locator .wpgmza_sl_reset_button_div {
	    width: calc(15% - 5px);
	}	
	
}

@media (min-width: 680px) {
	
	.wpgmza-content-address-holder {
	    width: 78% !important;
	}
	
	.wpgmza-basic-listing-image-holder {
	    width: 20% !important;
	}
	
}








