@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/OpenSans-Bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sanslight';
    src: url('fonts/OpenSans-Light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/OpenSans-Regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/* RESETS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
/** {
	box-sizing: border-box;
}*/

body {
	line-height: 1;
	-webkit-text-size-adjust: none;
	font-family: Helvetica, Arial, sans-serif;
	font-family: 'open_sansregular';
	color: #016a86;
	background: #f1f2f2;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input {
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
}

.clear_both {
	clear: both;
}

html, body {
	height: 100%;
	min-height: 100%;	
}

html, body {
	padding: 0;
	margin: 0;
	color: #016a86;
}

a { 
	color: #003241;
}

hr {
	border: 0;
	border-top: 1px solid #e6e6e6;	
	margin: 15px 0;
}

/* STRUCTURE */
#home_page {
	background: url(../graphics/home/fuelmate-bg2.jpg) no-repeat center center;
	background-size: cover;	
}

#home_page .logo {
	height: 96px;
	background: url(../graphics/fuelmate-logo@2x.png) no-repeat center center;
	background-size: 100% auto;
	max-width: 200px;
	margin: 15% auto 0;
}

#home_page h1 {
	text-align: center;
	font-size: 33px;
	margin: 30px 0;
}

#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
}

#footer .warning {
	font-size: 14px;
	padding: 20px 0;	
	text-align: center;
	background: rgba(255,255,255,0.8);
	font-family: 'open_sanslight';
}

#footer .warning .ui-icon {
	color: #016a86;
	background: none;
	margin-right: 5px;
}

#home_page .controls {
/*	padding: 30px;	
	width: 90%;*/
	text-align: center;
	margin: 0 auto;
	box-sizing: border-box;
	display: none;
}

#home_page .controls a {
	display: inline-block;
	text-align: center;
	padding: 13px 0px;
	padding-top: 89px;
	background: #dee4e9 url(../graphics/home/location-icon.png) no-repeat center 20px;
	background-size: 50px;
	border: 1px solid #FFF;
	border-radius: 3px;
	color: #016a86;
	font-size: 16px;
	line-height: 120%;
	font-family: 'open_sanslight';
	text-decoration: none;
	margin: 0 1%;
	width: 45%;
	box-sizing: border-box;
	max-width: 160px;
}

#home_page .controls a:hover {
	background-color: #f69729;
	background-image: url(../graphics/home/location-icon-active.png);
	border: 0;	
	color: #fff;
}

#home_page .controls a:first-of-type {
	background-image: url(../graphics/home/around-me-icon.png);	
}

#home_page .controls a:first-of-type:hover {
	background-image: url(../graphics/home/around-me-icon-active.png);	
}

/*.ui-content {
	padding: 0;
	position: absolute;
	top: 44px;
	bottom: 49px;
	left: 0;
	right: 0;
}
*/
#map_canvas {
	position: absolute;
	top: 0;
	bottom: 50px;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	z-index: 1;
}

.header {
	height: 64px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	background: #FFF;
	position: fixed;
}

.not_ios7 .header {
	height: 54px;	
}

.header .locate_me,
.header .header_search {
	width: 32px;
	height: 32px;
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 5px;
	background: url(../graphics/locate-me-icon.png) no-repeat center;
    background-size: 18px auto;
	position: absolute; 
	left: 10px;
	top: 26px;
	box-sizing: border-box;
}

.not_ios7 .header .locate_me,
.not_ios7 .header .header_search {
	top: 16px;
}

.header .header_search {
	background-color: #FFF;
	background-image: url(../graphics/search-icon.png);	
	background-position: 6px center;
	right: 10px;
	left: auto;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 0;
	-webkit-transition: all .2s linear;
	text-indent: 25px;
}

.header .header_search:focus {
	width: 200px;
}

.header  .header_logo {
	width: 100px;
	height: 26px;
	background: url(../graphics/fuelmate-header-logo@2x.png) no-repeat center;	
   	background-size: contain;
	position: absolute;
	left: 45px;
	top: 26px;
}

.not_ios7 .header  .header_logo {
	top: 16px;
}

.ui-fixed-hidden {
	position: fixed;	
}

.footer {
	background: #FFF;
	padding-top: 2px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.footer a {
	text-decoration: none;
}

.footer .ui-btn-text {
	font-size: 10px;	
	font-weight: normal;
	color: #bcbec0;
	text-shadow: none;
}

.footer .ui-icon:not(.ui-icon-loading),
.footer .ui-icon-searchfield:after {
	background: none;
}

.ui-footer .ui-btn-icon-top .ui-icon {
	color: #bcbec0;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	width: 30px;
	margin-left: -15px;
	box-shadow: none;
	top: 3px;
}

.ui-footer .ui-btn-up-c {
	background: #fff;
}

.ui-navbar li .ui-btn-icon-top .ui-btn-inner {
	border: 1px solid #ccc;	
	padding-top: 22px;
	padding-bottom: .4em;
}

.ui-footer .ui-navbar li .ui-btn {
	border: 0;	
	margin: 2px 4% 3px;
	border-radius: 3px;
}

.ui-footer .ui-navbar .ui-grid-d li.ui-block-a .ui-btn {
	margin-left: 10%;	
}

.ui-footer .ui-navbar .ui-grid-d li.ui-block-e .ui-btn {
	margin-right: 10%;	
}

.footer .ui-btn-active {
	background: #f69729;	
	bottom: 3px;
	border: 1px solid #f69729 !important;
	box-shadow: 0 3px 0 0 rgba(0,0,0,0.2);
}

.ui-footer .ui-btn-icon-top.ui-btn-active .ui-icon,
.footer .ui-btn-active .ui-btn-text {
	color: #FFF;
}

.ui-navbar li .ui-btn-icon-top.ui-btn-active .ui-btn-inner {
	border: 0;	
}

#location_list {
	
}

#location_list.ui-listview {
	/*background: #f1f2f2;*/	
}

#location_list.ui-listview li {
	position: relative;
}

#location_list.ui-listview li.brand_hidden,
#location_list.ui-listview li.vehicle_hidden,
#location_list.ui-listview li.opening_hidden {
	display: none;	
}

#location_list.ui-listview li a {
	background: #f1f2f2;
}

#location_list.ui-listview li .ui-icon {
	color: #d1d3d4;
	z-index: 1;
}

#location_list.ui-listview .ui-icon:not(.ui-icon-loading) {
	background: rgba(255,255,255,0.8);	
	border: 1px solid #e6e6e6;
}

#location_list.ui-listview .ui-icon-chevron-left:before,
#location_list.ui-listview .ui-icon-chevron-right:before {
	margin-left: 5px;
	margin-top: 0;
	font-size: 0.8em;
}

#location_list .ui-li>.ui-btn-inner.active .ui-icon-chevron-left:before {
	content: "\f054";
	margin-left: 6px;
}

#location_list.ui-listview li .behind {
	background: #f69729;
	color: #FFF;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: .7em 15px;
	text-align: right;
	text-decoration: none;
	padding-right: 130px;
	line-height: 80px;
	border-bottom: 1px solid #e88828;
	border-top: 1px solid #f9a34e;
}

#location_list.ui-listview li .behind a {
	text-decoration: 0;
}

#location_list .ui-li>.ui-btn-inner {
	-webkit-transition: all .1s linear;
	z-index: 2;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #e6e7e8;
}

#location_list .ui-li>.ui-btn-inner.active {
	right: 250px;	
}

#location_list .ui-li .behind .ui-icon {
	width: 28px;
	height: 28px;
	-moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	border-radius: 14px;
	line-height: 28px;
	position: absolute;
	top: 50%;
	margin-top: -14px;
	background: none;
	color: #FFF;
	text-align: left;
}

#location_list .ui-li .behind .ui-icon:before {
	margin-left: 7px;
}

#near_me .ui-content {
	padding: 0;
	position: absolute;
	top: 65px;
	bottom: 50px;
	left: 0;
	right: 0;
	
}

.not_ios7 #near_me .ui-content {
	top: 45px;
}

#near_me .ui-content #locating_overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff url(../graphics/locating@2x.png) no-repeat center center;
	background-size: 115px auto;
}

.filter_panel {
	width: 100%;
	padding: 30px 5% 80px;
	background: #FFF;
	box-sizing: border-box;
	position: fixed;
	bottom: -420px;
	-webkit-transition: all .2s ease-out;
	z-index: 2;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	-ms-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.filter_panel.active {
	bottom: 0;
}

.filter_panel label,
#contact_form label,
#filter_form label {
	padding-left: 10px;
	font-size: 0.8em;
	font-family: 'open_sansbold';
}

.filter_panel select,
#filter_form select {
	-webkit-appearance: none;
	border: 1px solid #e6e6e6;
	width: 100%;
	box-sizing: border-box;
	border-radius: 20px;
	padding: 10px;
	margin: 10px 0;
	font-size: 0.8em;
	color: #a7a9ac;
	background: #fff url(../graphics/select-bg@2x.png) no-repeat right center / 35px;
}

.filter_panel .icon i {
	color: #f69729;
	background: #fff;
	font-size: 18px;
	border-radius: 20px;
	border: 1px solid #f69729;
	box-shadow: 0 0 0px 8px #FFF;
	width: 20px;
	height: 20px;
	display: inline-block;
	padding: 5px;
	position: absolute;
	left: 50%;
	margin-left: -15px;
	top: -15px;
}

#wrapper {
	overflow: hidden;
}

.page_image {
	max-width: 800px;
	margin: 0 auto;
}

.page_image img {
	width: 100%;
	text-align: center;
}

.content {
	padding: 2.5%;	
	/*position: absolute;
	top: 65px;
	bottom: 50px;
	left: 0;
	right: 0;*/
}

.content h1 {
	font-family: 'open_sanslight';
	font-size: 34px;
	margin-bottom: 10px;
}

.content em {
	font-family: 'open_sansbold';
}

.content p {
	margin: 15px 0;
	line-height: 130%;
}

#home_page .content {
	padding: 5%;
}

#search_form {
	padding-top: 10%;
}

#search_form input[type="text"],
#contact_form input[type="text"],
#contact_form  textarea,
input.button {
	-webkit-appearance: none;
	border: 1px solid #e6e6e6;
	width: 100%;
	box-sizing: border-box;
	border-radius: 20px;
	padding: 10px;
	margin: 10px 0;
	font-size: 0.8em;
	color: #a7a9ac;
	resize: none;
	background: #FFF;
}

#contact_form  textarea {
	height: 170px;	
}

#contact_form input[type="text"].error {
	border: 1px solid red;	
}

#contact_form input[type="text"].error::-webkit-input-placeholder {
    color:    red;
}

input.button {
	background: #f69729;
	color: #FFF;	
}

.gm-style .gm-style-iw .left {
	float: left;
	padding: 5px 10px;
	border: 1px solid #e6e6e6;
	border-radius: 3px;
}

.gm-style .gm-style-iw .left img {
	width: 36px;
}

.gm-style .gm-style-iw .right {
	float: left;
	padding: 3px 0;
	padding-left: 5px;
	width: 135px;
}

.gm-style .gm-style-iw .right h2 {
	font-size: 1em;
	font-family: 'open_sansbold';
}

.gm-style .gm-style-iw .right p {
	margin-top: 4px;
}

.message {
	text-align: center;
	font-size: 13px;
	margin: 5px 0;	
}

.message.error {
	color: red;
}

#loading_map,
#loading_about {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -25px;
	margin-top: -30px;	
	z-index: 0;
}

#loading_about {
	top: 25%;
}

.floatingCirclesG{
	position:relative;
	width:30px;
	height:30px;
	-webkit-transform:scale(0.6);
	transform:scale(0.6);
	left: 50%;
	margin-left: -15px;
}

#filter_radius span {
	display: none;
}

p.ui-li-desc {
	margin: 0 0 .6em;	
}

.f_circleG{
position:absolute;
background-color:#;
height:5px;
width:5px;
-webkit-border-radius:3px;
-webkit-animation-name:f_fadeG;
-webkit-animation-duration:1.04s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
border-radius:3px;
animation-name:f_fadeG;
animation-duration:1.04s;
animation-iteration-count:infinite;
animation-direction:linear;
}

#frotateG_01{
left:0;
top:12px;
-webkit-animation-delay:0.39s;
animation-delay:0.39s;
}

#frotateG_02{
left:4px;
top:4px;
-webkit-animation-delay:0.52s;
animation-delay:0.52s;
}

#frotateG_03{
left:12px;
top:0;
-webkit-animation-delay:0.65s;
animation-delay:0.65s;
}

#frotateG_04{
right:4px;
top:4px;
-webkit-animation-delay:0.78s;
animation-delay:0.78s;
}

#frotateG_05{
right:0;
top:12px;
-webkit-animation-delay:0.91s;
animation-delay:0.91s;
}

#frotateG_06{
right:4px;
bottom:4px;
-webkit-animation-delay:1.04s;
animation-delay:1.04s;
}

#frotateG_07{
left:12px;
bottom:0;
-webkit-animation-delay:1.17s;
animation-delay:1.17s;
}

#frotateG_08{
left:4px;
bottom:4px;
-webkit-animation-delay:1.3s;
animation-delay:1.3s;
}

@-webkit-keyframes f_fadeG{
0%{
background-color:#f69729}

100%{
background-color:#}

}

@keyframes f_fadeG{
0%{
background-color:#f69729}

100%{
background-color:#}

}

@media screen and (max-width: 400px) {
	.content h1 {
		font-size: 30px;	
		margin-bottom: 5px;
	}
	
	.content em {
		font-size: 12px;
	}
}