 charset "utf-8";

html,body{
	margin: 0;
	padding: 0;
    height:100%;
    width:100%; 
}

body{
    font-family: Arial;
    color: white;
}

strong{
 font-weight:bold;
}

#nav-wrapper{
	position: fixed;
	width: 100%;
	height: 54px;
	line-height: 48px;
	box-shadow: 0px 1px 8px  #ccd2d5;
	background:white;
	z-index: 999;
}

#nav{
	width: 1340px;
	margin: 0 auto;
	text-align: center;
}

#logo-small{
	display: none;
	float: left;
	margin: 14px 0 0 145px;
	width: 121px;
	height: 24px;
	background: white url(../img/xako-logo-sm.gif) no-repeat;
}

#menu li {
 display: inline-block;
 padding: 0 0.5%;
 line-height: 50px;
}

#menu a {
 color:#0062a2;
 text-decoration: none;
 font-size: 20px;
 padding: 5px 8px; 
}

#menu a:hover {
	color:white;
    border-radius: 5px;
    background: #0062a2;
    padding: 5px 8px; 
    height: 16px; 
}

#menu a.green-a {
color:#239423;	
}

#menu a.green-a:hover {
	background: #239423;
	color: white;
}

#menu-icon {
  display: none;
  float: right;
  position: absolute;
  font-size: 34px;
  font-weight: bold;
  color:#0062a2;
  width: 36px;
  height: 24px;
  top:3px;
  right:15px;
  cursor:pointer;  
}

#menu-icon-close {
  display: none;
  position: absolute;
  right: 15px;
  top:5px;
  color:#0062a2;
  z-index: 7;
  font-size: 54px;
  cursor:pointer;  
}

#header-wrapper{
    width: 100%;
    height: 286px;
	background: #e6edf0;
	padding-top: 54px;
}

#header{
	position: relative;
	max-width: 1340px;
	width:100%;
	margin: 0 auto;
	padding: 0.1px;
}

 #header img{
 	opacity: 1;
 	//filter: alpha(opacity=50);
 	//-webkit-opacity: 0.5;
	//-moz-opacity: 0.5;
 	float: right;
} 	

#logo{
	position: relative;
	background:url(../img/xako-logo.png) no-repeat;
	width: 316px;
	height: 95px;
	margin: 90px 0  0 130px ;
	z-index: 1;
}

#wrapper{
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1320px;
}

#left-side{
	float: left;
	width: 49.625%;
}

#right-side{
	float: left;
	width: 49.625%;
	margin-left: 0.75%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.title{
	float: left;
	height: 42px;
	width: 100%;
	margin: 25px 1% 20px 0;
	text-align: center;
	position: relative;
}

.title:nth-child(2n+2) {
	margin: 25px 0 20px 0;
}

#title-you{
	background: linear-gradient(white, #dae8f2);
}

#title-car{
	background: linear-gradient(white, #d8edd8);
}

.arrow-down{
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top: 12px solid #dae8f2;
	position: absolute;
	bottom: -12px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}

.box{ 
	background: #0063a6;
	float: left;
	width: 100%;
	height: 500px;
	margin: 0 0 1.25% 0;
}

.box-image{
	height: 500px;
	width: 43%;
	max-width: 275px;
	float: left;
	padding-right: 2%;
}

.box-image img{
	float: left;
	max-width: 100%;
	height: auto;
    top: 50%;
    position: relative;
    transform: translate(0,-55%);
}

.box-logo{
	float: left;
	margin-top: 35px;
	width: 30%;
}

.box-logo img{
	max-width: 150%;
	height: auto;
}

.box-text{
	float: left;
	width: 53%;
	line-height: 22px;
	margin-top: 20px;
}

.box a{
	float: left;
	width:115px;
	border: 2px white solid;
	margin-top: 20px;
	padding: 8px;
	color: white;
	text-decoration:none;
}

.box a:hover, a:active{
  background-color: white;
}

.contacts {
	float: left;
	position: relative;
	background: #ebebeb;
	width: 49.625%;
	margin: 0 0.75% 0 0;
}

.contacts:nth-child(2n+2) {
	margin: 0;
}


.contacts p{
	float: left;
	color: #4c4c4c;
	font-size: 24px;
	font-weight: bold;
	padding-left:125px;
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}	

.contacts img{
	float: left;
	border: 1px white solid;
	margin: -1px; 
}

#map{
	float: left;
	width: 100%;
	height: 400px;
	background: grey;
	margin: 10px 0 20px 0;
}

@media screen and (max-width:1339px) {
#nav{
	width: 100%;
	padding-right: 0px;
}

#menu li{
padding: 0 0.05%;
}	

#logo-small{
	margin: 14px 0 0 5%;
	width: 121px;
	height: 24px;
}
}

@media screen and (max-width:1280px) {
#wrapper {
	padding: 0 10px;
}
}


@media screen and (max-width:1024px) {

#header img{
 	opacity: 0.75;
}

#logo-small{
	margin: 14px 0 0 2.5%;
}	

#menu a {
	font-size: 15px;
	font-weight: bold;
	padding: 5px 4px;
}

#menu a:hover {
    padding: 5px 4px; 
}

#logo-small{
	margin: 14px 0 0 2%;
}
.contacts p{
	font-size: 20px;
}	
}

@media screen and (max-width:768px) {

#header img{
 	opacity: 0.75;
}

#menu a {
	font-size: 16px;
	padding: 0 0.5%;
}

#menu a:hover {
    padding: 7px 10px; 
    margin-left: -10px;
}

#menu-icon{
	display:block;
}

#menu{
	display: none;
	float: right;
	background: white;
	width:200px;
	padding: 15px 5px 5px 0;
}
#menu li {
	 display: block;
	 padding-left:20px;
	 line-height: 35px;
	 text-align: left;
}

#logo{
	margin: 90px auto 0 auto;
	float: none;
}

.title img{
max-width: 100%;
}

.box-logo{
	width: 40%;
}

.box-image {
	height: 150px;
	width:35%;
}

.box-image img{
	max-width: 100%;
	margin-top: 15px;
}
.box-text{
	clear: left;
	margin-left: 7%;
	width: 85%;
	margin-top: 20px;
}
.box a{
	margin-left: 30%;
}
.contacts p{
	font-size: 18px;
	width: 155px;
	line-height: 22px;
}	
}

@media screen and (max-width:640px) {

 #header img{
 	float: left;
 	opacity: 0.6;
} 	


#left-side, #right-side{
width: 100%;
}	

#right-side{
	clear: left;
}

.box{
	width:100%;
	margin: 0 0 2% 0;
	height: auto;
	padding-bottom: 25px;
}

.box-image {
	width:50%;
	height: auto;
	float: left;
	padding-right: 0;
}

.box-image img{
	top: 0;
    position: relative;
    transform: translate(0,0%);
}	
.box-logo {
	text-align: right;
	width: 32%;
	margin-top:70px;
}

.box-text{
font-size: 14px;
margin-top: 10px;
}

.contacts{
	width: 100%;
	clear: left;	
}

.contacts p{
	font-size: 18px;
	width: 50%;
	line-height: 26px;
	padding-left: 105px;
}

.contacts:nth-child(2n+0){
	margin-top: 8px;	
}
}
