body{
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	height: 100%;
	position: relative;
	width: 100%;
	overflow-x: hidden;
	background: url('../images/temp/bg44.jpg') 100% 100% no-repeat;
	background-size: cover;
}

h1{
	padding-top: 40px;
	padding-bottom: 40px;
	font-size: 28px;
	font-weight: bold;
	text-transform: uppercase;
}

#main_picture{
	width: 100%;
	height: 300px;
}

/*header*/

.language>li .en{
	background-image: url('../images/us.jpg');
}

.language>li .lv{
	background-image: url('../images/lv.jpg');
}

.language>li .ru{
	background-image: url('../images/rus.jpg');
	margin-top: -2px;
}

.language {
	float: right;
}

.language li {
	display: inline-block;
	float: left;
}

.language a {
	margin-left: 20px;
	width: 30px;
	height: 40px;
	background-position:center;
	background-size: contain;
	background-repeat: no-repeat;
	text-indent: 200%;
	overflow: hidden;
	display: block;
}

.navbar.navbar-default{
	background-color: transparent;
	border: none;
	margin-bottom: 0;
	padding: 0;
}

.nav.navbar-nav > li > a{
	padding: 10px 13px;
	font: normal 20px/24px Lato;
	position: relative;
	font-family: 'Lato', sans-serif;
	line-height: 24px;
	font-style: normal;
	background: transparent;
	text-transform: uppercase;
	font-weight: 600 !important;
	max-height: 67px;
	color: #fff !important;
	margin: 0;
	letter-spacing: 0;
	border: none;
	text-decoration: none;
	position: relative;
	bottom: 0;
	float: none;
	vertical-align: bottom;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.nav.navbar-nav > li > a:after, 
.nav.navbar-nav > li > a:before{
	position:absolute;
	content:"";
	height:2px;
	background-color:#ff0309;
	left:50%;
	width:0%;
	bottom:0;
	z-index:-1;
	-webkit-transition:all 0.35s ease;
	-moz-transition:all 0.35s ease;
	-o-transition:all 0.35s ease;
	transition:all 0.35s ease;
}


.nav.navbar-nav > li > a:hover:after,
.nav.navbar-nav > li > a:hover:before{
	position:absolute;
	content:"";
	width:100%;
	left:0;
	background-color:#fff;
	-webkit-transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-o-transition:all 0.5s ease;
	transition:all 0.5s ease;
}

.nav.navbar-nav li li:first-child a { border-top:none; }
.nav.navbar-nav li li a{
	font-family:'Lato', sans-serif;
	font-size:13px;
	line-height:20px;
	font-style:normal;
	background:transparent;
	text-transform:uppercase;
	font-weight:700 !important;
	text-decoration:none;
	text-align:left;
	letter-spacing:0;
	border:none;
	color:#fff;
	display:block;
	padding:5px 0 5px 15px;
	border:none;
	background:transparent;
	float:none;
	margin:0;
	white-space:nowrap;
	-webkit-transition:all 0.3s ease;
	-moz-transition:all 0.3s ease;
	-o-transition:all 0.3s ease;
	transition:all 0.3s ease;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus{
	color: #fff !important;
	background: transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

ul.nav.navbar-nav{
	position: relative;
	top: 75px;
	z-index: 10;
	font-size: 24px;
	left: 220px;
}

.navbar-brand{
	position: relative;
	z-index: 10;
}

a.navbar-brand img{
	background-color: #fff;
}

/* btn */

a.btn.btn-primary,
.btn.btn-primary{
	background-color: #e3e3f6;
	border-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	font-weight: bold;
	text-shadow: 0 2px 3px rgba(0,0,0,.8);
}

/* Curl Top Right */
.hvr-curl-top-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background-color: #e3e3f6;
	border-color: #fff;
	font-weight: bold;
	width: 140px;
	height: 35px;
	text-align: center;
	float: right;
	color: #403636;
	border-radius: 4px;
	padding-top: 7px;
}

.hvr-curl-top-right:before {
  pointer-events: none;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  top: 0;
  right: 0;
  background: white;
  /* IE9 */
  background: linear-gradient(225deg, white 45%, #aaaaaa 50%, #cccccc 56%, white 80%);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: width, height;
  transition-property: width, height;
}
.hvr-curl-top-right:hover:before {
  width: 25px;
  height: 25px;
}


a.btn.btn-link{
	color: #e3e3f6;
	text-shadow: 0 2px 3px rgba(0,0,0,.8);
	margin-left: 10px;
}

button.btn.btn-link {
	border-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	font-weight: bold;
	text-shadow: 1px 2px 15px rgba(0,0,0,.8);
	border-radius: 4px;
	color: #fff;
	margin-right: 10px;
}

.contact_form button{
	width: 105px;
	margin-bottom: 30px;
}

/* Container */

.container-fluid{
	padding: 0;
}

/*carousel*/

#carousel{
	overflow: hidden; 
    margin: 0 auto; 
	position: relative;
	z-index: 9;
}

#carousel .item {
    max-height: 500px;
}

#carousel.img {
    max-height: 500px; 
    margin-top: 30px; 
	
}

.carousel-control {
	margin: auto;
	width: 70px;
	height: 70px;
	background-color: rgba(0,0,0,0.52);
	opacity: 1;
	
}

.carousel-control:hover {
	opacity: 0.8;
}

.carousel-caption {
	color: #fafafa;
	padding-left: ;
}

.carousel-caption>h2{
	color: black;
	font-size: 45px;
	text-shadow: #fff 1px 1px 0, #fff 2px 2px 2px;
	font-weight: bold;
	
}

#carousel.carousel.slide{
	margin-top: 0px;
}

/*Calculator*/

.grid {
	position: relative;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

#figures_row{
	padding-left: 15px;
	padding-right: 15px;
}

/* Common style */
.main_figures{
	padding-left: 15px;
	padding-right: 0;
	padding-top: 15px;
}

.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0;	/*change here for spacing*/	
	width: 100%;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
    display: block;
    opacity: 1;
    height: 370px;
    width: 100%;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 700;
	font-size: 55px;
	text-shadow: black 4px 2px;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* Individual effects */

figure.effect-oscar {
/*	background: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	background: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);*/
}

/*figure.effect-oscar img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}
*/
figure.effect-oscar figcaption {
	padding: 15%;
/*	background-color: rgba(58,52,42,0.7);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;*/
}

figure.effect-oscar figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-oscar h2:before{
	bottom: 80px;
	position: relative;
}

figure.effect-oscar h2 {
	margin: 0;
	line-height: 1em;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-oscar figcaption::before,
figure.effect-oscar p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

figure.effect-oscar:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-oscar:hover figcaption {
	background-color: rgba(0,0,0,0.8);
}

figure.effect-oscar:hover img {
	opacity: 0.4;
}

#works figcaption a{border:1px solid #fff;margin-top: 1em;display: inline-block;color: #fff;padding: 0 2em;}
#works figcaption a:hover{text-decoration: none;padding: 0 3em;}


.calculator h2{
	text-align: center;
	font-size: 30px;
	margin-top: 15px;
	margin-bottom: 20px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: #000 1px 1px 0, #000 2px 2px 0;
                 
}

.calculator h2:after{
	content: '';
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	margin-top: 20px;
	
}

.calculator label{
	font-size: 14px;
	
}

.calculator{
	border-radius: 10px;
	border-color: red;
	border-width: 2px;
}

.calculator a{
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	background-color: #e3e3f6;	
	height: 75px;
	padding-top: 10px;
	color: #fff !important;
	text-shadow: 0 2px 3px rgba(0,0,0,.8);
	text-transform: uppercase;
}

#calc_button{
	width: 100%;
	height: 100%;
	font-weight: bold;
	text-shadow: 0 2px 3px rgba(0,0,0,.8);
	padding-top: 25px;
	position: relative;
}


/* Bubble Float Bottom */
.hvr-bubble-float-bottom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  left: 30%;
  width: 150px;
  height:40px;
  background-color: #353434;
  text-transform: uppercase;
  color: white;
}
.hvr-bubble-float-bottom:before {
  position: absolute;
  z-index: -2;
  content: '';
  left: calc(50% - 10px);
  bottom: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #353434 transparent transparent transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-bubble-float-bottom:hover, .hvr-bubble-float-bottom:focus, .hvr-bubble-float-bottom:active {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}
.hvr-bubble-float-bottom:hover:before, .hvr-bubble-float-bottom:focus:before, .hvr-bubble-float-bottom:active:before {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

#form_calc{
	display: block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

.calc_car{
	width: 100%;
	padding-left: 5%;
	padding-right: 5%;
}
#calc_date{
	width: 100%;
}

.pick-up-main{
	width: 90%;
}

#calculator{
	width: 95%;
	padding-left: 20%;
	padding-right: 20%;
}


.form-group.time_group {
	padding-top: 10px;
	padding-left: 40px;
	
}

#result{
	width: 95%;
	height: 35px;
	text-align: center;
}

#from{
	margin-top: 15px;
} 

#to{
	margin-top: 15px;
}

/*Special offers*/


.pull-right{
	margin-top: 20px;
	text-align: center;
	padding: 0;
	width: 720px;
}

section.about_news{
	margin-top: 40px;
	margin-bottom: 20px;
}

.about{
	border: ;
	height: auto;
}

/*news*/

.news{
	border: ;
	height: 580px;
	overflow-y: scroll;
	float: right;
	padding-bottom: 20px;
}

.news h3{
	font-size: 20px;
}

.news time{
	font-weight: bold;
	font-size: 16px;
}

.btn.btn-link{
	font-size: 17px;
	font-weight: bold;
}

h2{
	font-weight: bold;
	font-size: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	
}

p.datetime, 
p.car{
	padding-bottom: 7px;
	padding-top:7px;
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
}

/*others*/

.others{
	margin-top: 20px;
	margin-bottom: 20px;
}

.thumbnail{
	position: relative;
	height: 100%;
}

.caption{
	position: relative;
	bottom: 25px;
	padding-bottom: -30px;
}

.thumbnail img{
	position: relative;
	top: 5px;
}

.col-md-3{
	height: 430px;
}

.caption p{
	padding-bottom: 10px;
}

/* reservation */

#reservation{
	width: 100%;
	height: 300px;
	background: url('../images/temp/reservation-crop2.jpg') no-repeat fixed;
}

form.form-inline.reservation{
	margin-bottom: 15px;
}

.form-group.time_group1{
	padding-top: 35px;
}

.form-group.time_group2{
	padding-top: 35px;
	
}

.checkbox{
	display: inline-block;
	margin-bottom: 25px;
	margin-top: 20px;
}

.button_reservation button{
	width: 40%;
	margin-bottom: 60px;
	margin-top: 25px;
}

/*reservation button*/
/* Bounce In */
.hvr-bounce-in {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  	border-color: #fff;
	width: 120px;
	height: 40px;
	text-align: center;
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	font-weight: bold;
	text-shadow: 1px 2px 3px rgba(0,0,0,.8);
	font-size: 17px;
}

.hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/*spec_offer*/

#spec_offer{
	height: auto;
	background: no-repeat fixed;
	padding-bottom: 70px;
	padding-top: 120px;
}

.offer_description h2{
	text-align: center;
	text-transform: uppercase;
	padding-top: 100px;
}

.offer_description p{
	padding-top: 60px;
}

/*Thanks*/

#thanks{
	width: 100%;
	height: 300px;
}

/*terms*/

#terms{
	width: 100%;
	height: 300px;
	background: url('../images/temp/terms-crop.jpg') no-repeat fixed;
}

embed{
	margin-bottom: 40px;
}

/* contacts */

#contacts{
	width: 100%;
	height: 300px;
	background: url('../images/temp/contact-crop.jpg') no-repeat fixed;

}

.button_contacts{
	margin-bottom: 30px;
	margin-top: 30px;
}

/*cars*/

#cars{
	width: 100%;
	height: 300px;
	background: url('../images/temp/car_park.jpg') no-repeat fixed;
}

.car_img{
	width: 48%;
	margin-left: 0;
	margin-right: 0;
	height: 400px;
}

.right_cars{
	width: 48%;
	margin-left: 0;
	margin-right: 0;
	height: 400px;
}

.car_description{
	position: relative;
	font-size: 13px;
	padding-left: 10px;
	padding-right: 10px;
	width: 50%;
}


table.car_price{
	margin: 0;
	border-spacing: 1px;
	color: black;
	background: black;
	opacity: 0.7;
}

.car_price th{
	padding-bottom: 0;
	background: #57575b;
	opacity: 60%;
}

.car_price td{
	background: #ababb3;
	font-size: 18px;
}

/*thumb subpages */

#driver_rent{
	width: 100%;
	height: 300px;
	background: url('../images/temp/car-driver-crop.jpg') no-repeat fixed;
}

#transfer{
	width: 100%;
	height: 300px;
	background: url('../images/temp/transfer-crop.jpg') no-repeat  fixed;
}

#long_time{
	width: 100%;
	height: 300px;
	background: url('../images/temp/long-time-crop.jpg') no-repeat  fixed;
}

#one_way{
	width: 100%;
	height: 300px;
	background: url('../images/temp/one-way-crop.jpg') no-repeat  fixed;
}

#one_way_main h1,
#driver_rent_main h1,
#transfer_main h1,
#long_time_main h1{
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	margin-top: 30px;
	margin-bottom: 30px;
}

h2.h2_subpage{
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	margin-top: 40px;
	margin-bottom: 30px;
}

#one_way_main h1:after,
#one_way_main h2:after,
#driver_rent_main h1:after,
#driver_rent_main h2:after,
#transfer_main h1:after,
#transfer_main h2:after,
#long_time_main h1:after,
#long_time_main h2:after{
	content: '';
	display: block;
	width: 50%;
	height: 1px;
	background-color: #dedede;
	margin-top: 20px;
	margin-left: 25%;
} 

table{
	margin: 40px;
	width: 100%;
	text-align: center;
	border-spacing: 2px;
}

td,
th{
	padding: 15px;
	text-align: center;
}

/* footer*/

.bottom{
	margin-top: 40px;
}

.bottom article{
	display: inline-block;
	width: 250px;
	padding: 0 30px 60px 30px;
	margin-left: 5%;
	margin-right: 5%;
}

.copyright{
	padding-bottom: 40px;
	border-top: 3px solid white;
	width: 300px;
    height: 75px;
    position: absolute;
    right: 40%;
    left: 40%;
	text-align: center;
}

.copyright i{
	padding-top: 20px;
}

.fa{
	padding: 4px;
	font-size: 16px;
}

footer{
	background-color: #e3e3f6;
	height: 330px;
}

@media (max-width: 500px) {
	
	.car_img {
		width: 100%;
                height: 100%;
                padding-bottom: 10px;
	}

        footer{
            text-align: center;
            height: 100%;
        }
         .copyright i{
            width: 100%;
             text-align: center;
        }

          .copyright{
             position: relative;
             right: 0;
             left: 0;
          }

           a.navbar-brand img{
              width: 200%;
           }

            .navbar-brand {
               height: auto;
               padding: 5px; 
            }

              .form-group.time_group {
                 padding: 0;
              }

              .hvr-bubble-float-bottom {
                   left: 18%;  
               }

               .news {
                   height: 100%;
                   padding-bottom: 0;
                }

               ul.nav.navbar-nav {
                   top: 25px;
                   left:20px;
                }

                .carousel-caption>h2 {
                    font-size: 16px;
                 }

                 .carousel-inner {
                      width: 125%;
                       height: 125%;
                       right: 10%;
                 }
}