/* Reset
------------------------------------------------------------ */
* { margin: 0; padding: 0; }
html { overflow-y: scroll;}
body { background:#ffffff; font-size: 13px; color: #666666; font-family: Arial, helvetica, sans-serif;}
ol, ul { list-style: none; margin: 0;}
ul li { margin: 0; padding: 0;}
h1 {
	margin-bottom: 5px;
	color:#C00;
	font-size: 20px;
}	
h2 {
    color:#C00;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
}

h3 {
	color: #000099;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	height: auto;
	width: auto;
	text-align: center;
	vertical-align: middle;
	padding-bottom: 10px;
}
	
a {
	outline: none;
	border: none;
	color:#C00;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	text-decoration: none;
	font-weight: bold;
	text-decoration: none;
}
A.class1 {
  outline: none;
  border: none;
  color: #C00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}

A.class2 {
  outline: none;
  border: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}
p {
	margin: 0 0 10px;
	line-height: 1.4em;
	font-size: 1.2em;
	text-align: center;
}

img {
  display: inline-block;
      border: 0px;
}

aside { font-style: italic; font-size: 0.9em;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display: block;
	}
	* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
	
/* Structure */
/* Contain1 to 4 are to prevent Cumulative Layout shift caused by the header images */
.contain1 {
          object-fit: cover;
          width: 100%;
          height:420px;
}
.contain2 {
          object-fit: cover;
          width: 100%;
          height:175px;
}    
.contain3 {
          object-fit: cover;
          width: 100%;
          height:125px;
}
.contain4 {
          object-fit: cover;
          width: 100%;
          height:100px;
} body { 
	background-color:#FFF;
	width: 90%;
	margin:auto;
}
.header {
		margin:auto;
}
.header-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 37%;
  float: left;
  background-color: #fff;
}

.header-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 63%;
  background-color: #fff;
  text-align: center;
  float: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color:#003466;
  margin-top: 25px;
}
#img3 {display:block;}
#img4 {display:none;}

.main_image {
	  margin: auto;

}
.wrapper {
	margin: auto;
	text-align: center;
	} 
.profile {
	padding: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	background-color:#f5f5f5;
	color:#009;
	width: 100%;
	  margin: auto;
}
.profile2 {
	padding: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	background-color:#999;
	color:#fff;
	width: 100%;
    margin: auto;
}
.grid {
  display: flex;
  margin: auto;
   background-color:#Fff;

}
#img1 {display:block;}
#img2 {display:none;}

.grid_column1 {
	flex: 3;
	padding: 12px;
}

.results {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: auto;
  padding-bottom: 10px;
}

.parameter {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #036;
	font-weight: bold;
	padding: 5px;
	background-color: #FFf;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 5px;
}
.mileageapp {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
    margin:auto;

}
.fromto {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #009;
	font-weight: bold;
	padding: 6px;
	background-color:#FFF;
	border: thick solid #ececff;
	width: 40%;
    text-align: center;
	vertical-align: middle;
	
}

.mileages {
	width: 100%;
	margin: auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color:#FFF;
	background-color: #036;
	padding: 10px;
	text-align: center;
}
.maptitles {
	width: 100%;
	margin: auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color:#FFF;
	background-color: #036;
	padding: 10px;
	text-align: center;
}
.mileageimage{
	width: 100%;
	margin: auto;
	margin-bottom: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #fff;
	background-color: #fff;
	padding: 10px;
	text-align: center;
	border: medium solid #036;
}
  .adsense1 {
   display: block;
   margin:auto;
   width: 100%;
   
}
  .adsense2{
   display: none;
   margin:auto;
   width: 100%;

}
.grid_column4	 {
	flex: 1;
	padding: 12px;
}

.social{
	display: flex;
	width: 90%;
	
	
}


.box_topbottom {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #FFF;
	font-weight: bold;
	background-color: #036;
	padding: 6px;
	text-align: center;
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000099;
	border-right-color: #000099;
	border-bottom-color: #000099;
	border-left-color: #000099;

}
.splitbox {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #009;
	font-weight: bold;
	border-right-width: medium;
	border-left-width: medium;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #009;
}
.box1 {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #036;
	font-weight: bold;
	background-color:#F2F2F2;
	padding: 6px;
	text-align: left;
	border-top-width: thin;
	border-right-width: medium;
	border-bottom-width: thin;
	border-left-width: medium;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #ececff;
	border-right-color: #000099;
	border-bottom-color: #ececff;
	border-left-color: #000099;
}

.box2 {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #036;
	font-weight: bold;
	padding: 6px;
	background-color:#F2F2F2;
	text-align: left;
	border: thin solid #ececff;
}
.box3 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #036;
  font-weight: bold;
  padding: 6px;
  background-color: #F2F2F2;
  text-align: left;
  border-right-width: medium;
  border-left-width: medium;
  border-right-style: solid;
  border-left-style: solid;
  border-right-color: #009;
  border-left-color: #009;
}

.boxbottom {
	display: flex;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	align-items: center;
    justify-content: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #FFF;
	font-weight: bold;
	background-color: #036;
	padding: 10px;
	text-align: center;
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #036;
	border-right-color: #036;
	border-bottom-color: #036;
	border-left-color: #036;
}


.top-button {
	display: none;
}
.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background-color: #Fff;
}
.footer-left, .footer-middle, .footer-right  {

  padding: 20px;  
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #036;
  width: 27%;
}
.footer-logo {

  padding: 20px;
  padding-top: 10px; 
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #036;
  width: 19%;
}


/*! responsive-nav.js 1.0.39 by @viljamis */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.nav-toggle {
  margin-bottom: 5px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}
/*!End of responsive-nav.js 1.0.39 by @viljamis */


@media screen and (max-width: 480px) {
.header-left {
	display: block;  
    width: 100%;
}  .header-right {
	display: block;
    width: 100%;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #003466;
  }
  #img3 {display: none;}
  #img4 {display: block;}
  
.grid {
	display: block;  
    width: 100%;
}
  #img1 {display: none;}
  #img2 {display: block;}
  
.grid_column1 {
	display: block;  
    width: 100%;

}
.results {
	display: block;  
    width: 100%;
}

.parameter {
	display: block;  
    width: 100%;
	font-size: 16px;
	color: #036;
	font-weight: bold;
	padding: 5px;
	background-color: #FFf;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 5px;
}
.fromto {
	display: block;  
    width: 100%;
	text-align: right;
	padding-right: 15px;
	border-top-color: #C0C0C0;
	border-right-color: #C0C0C0;
	border-bottom-color: #C0C0C0;
	border-left-color: #C0C0C0;
}

.mileageapp {
	display: block;  
    width: 100%;
   
}  
  .adsense1 {
   display: none;
   margin:auto;
   width: 100%;
   
}
  .adsense2{
   display: block;
   margin:auto;
   width: 100%;

}  .grid_column4 {
	display: block;	  
    width: 100%;
	padding-left: 0px;
  }
  .top-button {
	display: block;
	width: 100%;
} .h2 {
    font-size: 20px;
  }  
  
  .footer {
  	display: block;
    width: 100%;
  } 
    .footer-left, .footer-middle, .footer-right, .footer-logo {
  	display: block;
    width: 100%;
  } 
    .footer-middle {
  	display: block;
    width: 100%;
  } 
    .footer-right {
  	display: block;
    width: 100%;
  }
    .footer-logo {
  	display: block;
    width: 100%;

  } 
}
.red {
	color: #C00;
}
