/*
Theme Name: Light
*/

#simplemap {
border: 1px solid #999;
color: #000;
}

#simplemap img {
background: none !important;
padding: none !important;
max-width: none !important;
max-height: none !important;
border: none !important;
}

#simplemap a {
color: #00c;
background: none;
text-decoration: none;
}

#simplemap a:hover {
background: none;
text-decoration: underline;
}

#powered_by_simplemap {
font-size: 0.75em;
text-align: right;
color: #999;
}

#powered_by_simplemap a {
color: #999;
text-decoration: underline;
}

#powered_by_simplemap a:hover {
text-decoration: none;
}

#searchForm {
text-align: left;
}

#searchForm input#addressInput {
width: 250px;
}

#searchForm input#addressSubmit {
width: auto;
}

#searchForm select {
width: auto;
}

#searchForm p {
margin: 10px auto;
}

#map_search label {
float: left;
}

#map_search .float_text_left {
float: left;
padding-right: 5px;
}

#simplemap-updating {
display:none;
background:#fff;
color:#000;
vertical-align:middle;
text-align:center;
}

#simplemap-updating img {
vertical-align:middle;
text-align:center;
}

.markertext {
font-size: 0.9em;
line-height: 1.2em;
color: #000;
}

.markertext .bubble_category {
font-size: 0.6em;
font-style: italic;
}

.markertext a {
color: #00c;
text-decoration: underline;
}

.markertext h3 {
margin-top: 0 !important;
margin-bottom: 1em !important;
text-align: left !important;
line-height: 1.2em !important;
}

.markertext p {
margin-bottom: 1em !important;
}

.markertext .search-term {
background: #ff6;
}

div#results {
padding-bottom: 20px;
}

div.result {
margin: 0;
padding: 15px 5px;
font-size: 0.9em;
line-height: 1.2em;
border-bottom: 1px solid #ccc;
}

div.result small {
font-size: 0.7em;
color: #999;
}

div.result:hover {
background: #ebf0f1;
}

div.result address {
font-style: normal;
}

div.result h3 {
margin: 0 0 5px;
font-size: 1.5em;
text-transform: none;
}

div.result img {
border: none;
}

div.result .search-term {
background: #ff6;
color: #000;
}

div.result div.result_name {
width: 100%;
}

div.result div.result_address {
float: left;
width: 40%;
}

div.result div.result_phone {
float: left;
width: 40%;
min-height: 3em;
}

div.result div.result_links {
float: left;
display: table-cell;
width: 20%;
text-align: right;
vertical-align: bottom;
}

div.result div.result_links div {
clear: right;
margin-bottom: 3px;
}

div.result div.special {
float: right;
height: 20px;
margin: 0;
padding-left: 20px;
line-height: 20px;
text-align: left;
font-style: italic;
background: url( ../images/star.png ) no-repeat left center;
}

.location_search_title, .location_search_distance_cell, .location_search_taxonomy_cell {
font-weight:bold;
vertical-align:top;
}

.no-linebreak {
white-space:nowrap;
}

.sm-single-location-default-template {
padding:3px;
}

.sm-single-map {
position: relative;
padding-bottom: 90%;
height: 0;
overflow: hidden;
}

.sm-single-map iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}

.sm-single-location-data {
margin-top: 30px;
}

.sm-single-location-data-ul {
list-style-type:none;
padding-left:0;
margin-left:0;
}

.infoBox {
background-color: #fff;
}

.infoBox:after {
position: relative;
top: 20px;
left: 60px;
border-top: 0px;
border-left: 0px;
padding: 0px;
content: '';
overflow: hidden;
display: block;
width: 0;
height: 0;
border-left: 20px solid rgba(0, 0, 0, 0);
border-right: 20px solid rgba(0, 0, 0, 0);
border-top: 20px solid #FFF;
}

.infoBox .markertext ul,
.infoBox .markertext ol {
margin-left: 15px;
}

div.result div.result_phone span.result_phone,
div.result div.result_phone span.result_email,
div.result div.result_phone span.result_fax {
	display: block;
}

div.location_search {
	display: table;
	width: 100%;
}
/* HEADER */
div.location_search div:first-child div {
	display: table-header-group;
}
/* ROW */
div.location_search > div {
	display: table-row;
}
/* COL */
div.location_search div > div {
	display: table-cell;
	padding: 0% 0% 1% 1%;
}

div.location_search > div div:first-child {
	padding-left: 0px;
}
/* 1 cols */
div.location_search > div div:first-child:nth-last-child(1), 
div.location_search > div div:first-child:nth-last-child(1) ~ div {
	width: 100%;
}
/* 2 cols */
div.location_search > div div:first-child:nth-last-child(2), 
div.location_search > div div:first-child:nth-last-child(2) ~ div {
	width: 49%;
}
/* 3 cols */
div.location_search > div div:first-child:nth-last-child(3), 
div.location_search > div div:first-child:nth-last-child(3) ~ div {
	width: 32%;
}
/* 4 cols */
div.location_search > div div:first-child:nth-last-child(4), 
div.location_search > div div:first-child:nth-last-child(4) ~ div {
	width: 24%;
}
/* 5 cols */
div.location_search > div div:first-child:nth-last-child(5), 
div.location_search > div div:first-child:nth-last-child(5) ~ div {
	width: 19%;
}
/* 6 cols */
div.location_search > div div:first-child:nth-last-child(6), 
div.location_search > div div:first-child:nth-last-child(6) ~ div {
	width: 15%;
}

/*** Responsive styles ***/
@media screen and (max-width: 800px) {
	div.location_search div > div {
		float: left;
		padding-left: 0%;
		width: 100%!important;
	}
	div.result div.result_address {
		width: 100%;
		float: none;
	}
	div.result div.result_phone {
		width: 70%;
		min-height: 0.1em;
	}
	div.result div.result_links {
		width: 30%;
	}
	div.result div.result_name {
		margin-bottom: 10px;
	}
	div.result div.result_phone span.result_phone,
	div.result div.result_phone span.result_email,
	div.result div.result_phone span.result_fax,
	div.result div.result_links div.result_website,
	div.result div.result_links div.result_directions {
		display: block;
		margin: 5px 0;
	}
	div.result div.sm_category_list,
	div.result div.sm_tag_list,
	div.result div.sm_day_list,
	div.result div.sm_time_list {
		margin: 5px 0;
	}
}
@media screen and (max-width: 480px) {
	div.location_search div#location_search_sm-category_fields label,
	div.location_search div#location_search_sm-tag_fields label,
	div.location_search div#location_search_sm-day_fields label,
	div.location_search div#location_search_sm-time_fields label {
		display: block;
		float: none;
	}
	div.result div.result_phone,
	div.result div.result_links {
		width: 100%;
		min-height: 0;
		float: none;
		text-align: left;
	}
}