body, html {
    overflow-x: inherit;
}
.visitation_container{
	position: relative;
}
#map {
	width: 100%;
	height: 800px;
}
.search_container{
	position: absolute; 
	z-index: 1; 
	width: 100%; 
	margin-top: 50px;
}
.pac-card{
	max-width: 1140px; 
	margin: 0 auto;
	position: relative;
	background-color: #fff;
    border: 0 solid #ddd;
    box-shadow: 0 2px 6px 2px rgba(0,0,0,.2);
}
.search_table td{
	padding:10px;
}
.search_table td.search_td_text{
	padding-right:0;
}
.search_box{
	vertical-align: middle;
	position: relative;
	display: block;
}
.search_text{
	vertical-align: middle;
	padding: .6em;
	border: 1px solid #bbb;
	border-radius: 4px;
	outline: 0;
	box-shadow: inset 0 2px 1px rgba(0,0,0,.1);
	font-size: 16px;
	display: block;
    width: 100%;
    padding-right: 40px;
}
.search_icon{
    outline: 0;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
}
.search_td_pointer{
	width: 60px;
    text-align: center;
    font-size: 20px;
    border-right: 1px solid #ccc;
}
.search_td_filter{
	font-size:20px;
	text-align: center;
	width: 100px;
	cursor: pointer;
}
.search_td_filter:hover{
	background-color: #eee;
}
.search_filter span{
    font-size: 18px;
    margin-right: 5px;
}

.visitation_dealer_box{
	max-width: 1140px;
	width: 100%;
	margin: 0 auto;
	background: #fff;
	margin-top: -100px;
	min-height: 200px;
	z-index: 100;
	position: relative;
	padding: 30px;
}
.visitation_dealer_title{
	font-size: 30px; 
	line-height: 1; 
	font-family: Roboto, sans-serif; 
	font-weight: 300; 
	display: block; 
	margin: 0; 
	margin-bottom: 30px;
}
.dealer_list_box{
	margin-left:-2%;
}
.dealer_list{
    box-shadow: 0px 0px 1px 1px;
    width: 48%;
    border-radius: 5px;
    float: left;
    background: #fff;
    margin-bottom: 2%;
    margin-left:2%;
    height:270px;
}
.dealer_list table{
	width:100%;
}
.dealer_details{
	vertical-align: top;
	padding:10px;
}
.details_title{
	font-size:20px;
	margin:0;
	margin-bottom: 10px;
	padding:0;
	text-align: center;
    color: #d65345;
    line-height: 1.5;
}
.details_title_round{
    border-radius: 30px;
    width: 44px;
    height: 30px;
    background: #d65345;
    color: #fff;
    display: inline-block;
    margin-right: 6px;
}
.details_address{
	margin-bottom: 5px;
	text-transform: uppercase;
}
.dealer_service{
	vertical-align: top;
    padding: 10px;
}
.details_service_span{
	display: block;
	float: left;
	padding: 5px 10px;
	background: #ee2e24;
	color: #fff;
	border-radius: 5px;
	margin-top:2px;
	margin-bottom:2px;
	margin-right: 8px;
}
.service_span{
	display: block;
	padding: 5px;
	float: left;
	width: 49%;
	text-align: center;
	border: 1px solid #ccc;
	margin-top: 5px;
	background: #f2f2f2;
}
.service_span:first-child{
	margin-right:2%;
}
.dealer_google{
	border-left:1px solid #ccc;
	border-right: 1px solid #ccc;
}
.dealer_google_a{
	padding:0;
	display:block;
	margin-right:8px;
}
.dealer_waze_a{
	padding:0;
	display:block;
}
.dealer_google_a img, .dealer_waze_a img{
	display:block;
	width:40px;
	margin:0 auto;
}
.hours_box{
	padding: 10px;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align: top;
	height: 200px;
}
.service_title, .hours_title{
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	text-decoration: underline;
}
.service_title .fa, .hours_title .fa{
	color: #ed2124;
}
.hours_always{
	color: #269013;
}
.hours_close{
	color: #bf1515;
}
.hours_content ul, .hours_content li{
	list-style: none;
	margin: 0;
    padding: 0;
}

/* markers */
.marker_details{
	width:300px;
}
.marker_title{
	font-weight: 500;
    font-size: 16px;
}
.marker_address, .marker_hours, .marker_service, .marker_direction{
	margin-top:8px;
}
.marker_mobile, .marker_email{
	margin-left:1px;
}
.marker_mobile .fa{
	margin-right:2px;
}
.marker_hours_title, .marker_service_title, .marker_direction_title{
	font-weight: 500
}
.marker_hours .hours_content_ul{
	list-style:none;
	margin:0;
	padding:0;
}
.hours_content_ul{
	font-size:12px;
}
.marker_direction_google, .marker_direction_waze{
	float:left;
	display: block;
	margin-right:10px;
}
.marker_direction_google img, .marker_direction_waze img{
	display:block;
	width:45px;
}

/* set modal */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-header{
	margin:0;
	padding:0;
}
.modal-header h2{
	font-size: 22px;
    margin: 0;
    padding: 15px;
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 400px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
	float: right;
	font-size: 36px;
	font-weight: bold;
	margin-right: 15px;
	color: #000;
	margin-top: 10px !important;
	opacity: 0.7;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {padding:15px;}
.modal-body td{
	padding:5px;
	vertical-align: top;
}
.modal_filter_state label{
	float: left;
	width: 50%;
	padding-right: 2%;
	font-weight: 500
}
.modal-body label input{
	margin-right:4px;
}
.modal_filter_service label{
    float: left;
    width: 33.333%;
    padding-right: 2%;
    font-weight: 500;
}
.modal_title_td{
	font-weight: bold
}
.modal_postcode{
	width:100%;
}

.map_control_box{
	margin-bottom:10px;
}
.map_control_box a{
	float:left;
}
.details_others td{
	vertical-align: top;
	padding:0;
}
.details_others_box .fa{
	margin-right: 8px;
    width: 10px;
}
.details_others_hours_box > .fa{
	float:left;
}
.details_others_left{
	float:left;
	width:45%;
}
.details_others_right{
	float:left;
	width:55%;
}
.details_others_left table, .details_others_right table{
	width:100%;
}

@media (max-width:800px){
	.dealer_list_box{
		margin-left:0;
	}
	.dealer_list{
		width:100%;
		margin-left:0;
		height:auto;
	}
	.details_others_left{
		float:none;
		width:100%;
	}
	.details_others_right{
		float:none;
		width:100%;
	}
	.details_others td{
		padding: 0;
	}
}
@media (max-width:600px){
	.dealer_google_a img, .dealer_waze_a img{
		width:35px;
	}
	table td.dealer_waze{
		padding:0;
	}
}
