html,
button,
input,
select,
textarea {
    color: #222;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


html, body {
	height: 100%;
	overflow: auto;
}

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    min-height: 360px;
    min-width: 700px;
}

nav {
	min-height: 25px;
	height: 10%;
	width: 660px;
	clear: both;
	position: fixed;
	bottom: 0;
	left: 50%;
	margin-left: -320px;
	z-index: 1000;
}	

nav ul {
	padding: 0;
	margin: 0;
}

nav ul li {
  float: left;
	position: relative;
}

nav ul li span{
  position: absolute;
  bottom: -33px;
  left: 0px;
  margin-left: -42px;
  display: block;
  width: 100px;
  height: 30px;
  color: #ACACAC;
  text-shadow: 0px 0px 1px 0px rgba(0,0,0,1);
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  color:white\9; /*IE only */
  text-shadow: 0px 0px 2px 0px rgba(0,0,0,1)\9;
  
}



nav ul li a {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	background: url(../img/button.png) 0 0 no-repeat;
	background-size: 16px auto;
	margin-right: 40px;
}

nav ul li a.last{
  margin-right: 0px;
} 

nav ul li a:hover,
nav ul li a.hover{
	background-position: 0 -16px;
}


.next-button,
.prev-button{
  width: 40px;
  height: 48px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size:  auto 50%;
}
.next-button{
  background-image: url(../img/modal-next.png);
  background-position: top right ;
  margin-left: 10px;
  
}
.prev-button{
  background-image: url(../img/modal-prev.png);
  background-position: top left ;
  margin-right: 10px;
}


.slide{
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	z-index:1;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-color: #FFF;
}

.slide .image,
.slide .bg{
  width: 100%;
  height: 100%;
  position: absolute;
}

.modals{
  position: relative;
  width: 34%;
  height: 24%;
  bottom: -20%;
  z-index: 1;
}

.modals .modal-btn{
  width: 33.3%;
  height: 33.3%;
  float: left;
  position: relative;/*
  background: url(../img/line-modal.png) no-repeat center top;
  background-size: auto 100%;*/
}

.modals.inverted .modal-btn{
  /*background: url(../img/line-modal-inverted.png) no-repeat center bottom;
  background-size: auto 100%;*/
} 

.modals .modal-btn .icon{
  width: 38px;  
  height: 38px;
  margin: 2px;
  background: #FFF;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 50%;
  background-size: 24px auto;
}

.modals .modal-btn .circle{
  position: absolute;
  left: 50%;
  margin-left: -25px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #FFF;
  bottom: 0px;
  cursor: pointer;
  -webkit-transition-duration: 1s;
     -moz-transition-duration: 1s;
       -o-transition-duration: 1s;
          transition-duration: 1s;
}

.modals .modal-btn .circle:hover{
  bottom: 8px;
}

.modals.inverted .modal-btn .circle{
  bottom: 100%;
}
.modals.inverted .modal-btn .circle:hover{
  bottom: 92%;
}


.modal-window{
  display: none;
  background: #3A3A3C;
  width: 320px;
  height: 320px;
  position: absolute;
  margin-left: -170px;
  margin-top: -170px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  z-index: 999;
  text-align: center;
}

.share-box{
  width: 140px;
  height: 80px;
  z-index: 99999;
  position: absolute;
  margin: 16px;
  right: 0px;
  display: none;
}

.modal-window .twitter-share,
.modal-window .facebook-share{
  margin: 16px 8px;
  display: inline-block;
}

.twitter-share img,
.facebook-share img{
  height: 40px;
}

.modal-window p{
  margin: 100px 48px 0px 48px;
  color: #E2E3E4;
  font-size: 13px;
}

.modal-close{
  background: url(../img/modal-close.png);
  width: 60px;
  height: 59px;
  position: absolute;
  top: 3px;
  right: 16px;
  display: none;
  cursor: pointer;
}

.modal-overlay{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: rgba(0,0,0,.6);
  z-index: 1000;
}


#intro .bg{
    background: url(../img/intro-bg.gif) 0 0 repeat;
}
#intro .bg .image{
    background: url(../img/intro-full.png) center center no-repeat;
    background-size: auto 60% ;
}
#intro .hand{
    position: absolute;
    width: 120px;
    height: 32px;
    right: 10%;
    bottom: 20%;
}
#intro .hand img{
  float: left;
}

.slide .bg{
  background-color: #FFF;
}

.car{
  height: 38%;
}
.details{
  height: 65%;
}

.slide .bg .image{
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 50% ;
}

#duesenberg .bg .image {
	background-image: url(../img/car1-fg.png);
}
#mercedes .bg .image {
	background-image: url(../img/car2-fg.png);
}

#ford .bg{
  background-color: rgba(197, 225, 234, 1);
}
#ford .bg .image {
	background-image: url(../img/car3-fg.png);
}

#lamborghini .bg{
  background-color: rgba(243, 243, 245, 1);
}
#lamborghini .bg .image {
	background-image: url(../img/car4-fg.png);
}

#porsche .bg{
  background-color: rgba(244, 244, 245, 1);
}
#porsche .bg .image {
	background-image: url(../img/car5-fg.png);
}

#mclaren .bg{
  background-color: rgba(244, 244, 245, 1);
}
#mclaren .bg .image {
	background-image: url(../img/car6-fg.png);
}

#pagani .bg{
  background-color: rgba(244, 244, 245, 1);
}
#pagani .bg .image {
	background-image: url(../img/car7-fg.png);
}

#bugatti .bg{
  background-color: rgba(244, 244, 245, 1);
}
#bugatti .bg .image {
	background-image: url(../img/car8-fg.png);
}

#buyagift .bg{
  background: #F3F3F5;
}

.car-track{
  position: fixed;
  bottom: 0px;
  height: 50%;
  width: 100%;
  left: 0px;
}

.last-logo{
  height: 55%;
  width: 100%;
  text-align: center;
  position: fixed;
  left: 0px;top: 75%;
}

.last-car{
  height: 58%;text-align: left;position: fixed;width: 100%;left: 0px;top: 0%;
}

.last-logo img{
  height: 20%;
  margin-top: 0px;
}

.last-car img{
  height: 60%;
}

.last-logo p{
  width: 60%;
  margin: auto;
  display: block;
  text-align: center;
  color: #939597;
  margin-top: 8px;
  margin-bottom: 8px;
}

a{
  color: #939597;
}

a:hover{
  color: #828486;
}

.last-car img{
  margin-top: 0px;
}

html, body {
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	overflow-x:hidden;
}

.skrollable {
	position:fixed;
  z-index:100;
}

.skrollr-mobile .skrollable {
	position:absolute;
}

.skrollable .skrollable {
	position:absolute;
}

.skrollable .skrollable .skrollable {
	position:static;
}
    .sourceAndEmbed{
		margin:5%;
		width:90%;
		text-align:center;	
	}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

  .car{
    height: 20%;
    margin-left: -10%;
  }
  .details{
    height: 40%;
    margin-left: -17%;
  }
  
  .slide .bg .image{
    background-size: 80% auto;
  }
  
}


@media (min-width: 480px) and (max-width: 767px) {

  .next-button,
  .prev-button{
    display: none;
  }
  
  #embed{
     display: none; 
  }
  
  .hidephone{
    display: none!important;
  }
 
 nav {
   width: 450px;
   margin-left: -190px;
 }
 nav ul li span{
   font-size: 10px;
 }
 nav ul li a {
   margin-right: 24px;
 }
 
 
  
  .modal-window{
    width: 280px;
    height: 280px;
    margin-left: -140px;
    margin-top: -140px;
  }
  
  .modal-window p{
    margin-top: 50px;
  }
 
}

@media (max-width: 479px) {

  
    .next-button,
    .prev-button{
      display: none;
    }
    
    #embed{
       display: none; 
    }
    
    #intro .bg .image,
    .slide .bg .image{
      background-size: 80% auto;
    }
    .modals{
      width: 50%;
      margin-bottom: -5%;
    }
    
    nav {
      width: 300;
      margin-left: -143px;
    }
    nav ul li span{
      font-size: 10px;
    }
    nav ul li a {
      margin-right: 14px;
    }
    
    .share-box{
      top: inherit;
      right: inherit;
      bottom: 10%;
      left: 50%;
      margin-left: -60px;
    }
    
    .car{
      height: 20%;
      margin-left: -10%;
    }
    .details{
      height: 40%;
      margin-left: -17%;
    }
    
    .hidephone{
      display: none!important;
    }
  
   
   .modal-window{
     width: 300px;
     height: 300px;
     margin-left: -150px;
     margin-top: -150px;
   }
   
   .modal-window p{
     margin-top: 90px;
   }
    
}
