.rental-car-details,
.booking{
    background-color: #ffffff;
    padding-bottom: 130px;
}

.rental-car__title{
    margin: 35px 0 20px;
}

.rental-car__title img{
    width: 100%;
}

.rental-car__title h1{
    color: #1d1d1b;
    font-size: 50px;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    padding-left: 20px;
}

.fotorama__thumb-border{
    border-color:#0080ff !important;
}

.rental-car__info .title-line{
    margin: 50px 0 30px;
}

.title-line{
    position: relative;
    padding-left: 50px;
}

.title-line .divider{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    border-top: 1px solid #888;
    z-index: 1;
}

.title-line h3{
    text-transform: uppercase;
    font-size: 21px;
    display: inline-block;
    padding: 0 15px;
    background-color: #fff;
    position: relative;
    z-index: 2;
    margin: 0;
}

.rental-car__info .text,
.booking .text{
    font-size: 18px;
    line-height:30px;
}

.rental-car__info table{
    margin-bottom: 100px;
}

.rental-car__info .table-info tr td{
    width: 50%;
    border-color: #888;
}
.rental-car__info table tr td:first-child{
    font-weight:bold;
    border-right: 1px solid;
}

.rental-car__info table tr:last-child{
    border-bottom: 1px solid;
}

.rental-car__price{
    overflow: hidden;
    position: relative;
    border-top: 1px solid #888888;
}

.rental-car__price_table{
    overflow-x:auto;
    margin-left:145px;
}

.price-table{
    margin-bottom: 0 !important;
    border-right:none;
    border-top:none;
}

.price-table td{
    min-width: 70px;
    text-align: center;
    border-color: #888888 !important;
    white-space: nowrap;
}

.price-table thead td,
.rental-car__price_table .headcol {
    background-color: #f5f5f5;
    font-weight:900;
}

.rental-car__price_table .headcol {
    position:absolute;
    width:150px;
    left:0;
    border-left:none;
}

.price-table tr td:last-child{
    border-right: none;
}

.primary-link a,
.secondary-link a{
    width: 100%;
    text-align: center;
    margin-bottom: 20px;

}

.booking{
    padding-top: 70px;
}

.booking .title-line{
    margin-bottom: 30px;
}

.booking h2{
    margin: 0;
    margin-bottom: 20px;
    font-size: 30px;
}

.border{
    border-right: 1px solid #888;
}

.booking__side-bar img.car{
    margin-bottom: 40px;
    width: 100%;
}

.booking__side-bar img.car-comapny-logo{
    margin: 50px auto 30px;
    padding: 0 70px;
}

.booking__side-bar h3{
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 20px;
    font-size: 21px;
}

.booking__side-bar .rental-car__price{
    font-size: 12px;
}

.booking__side-bar .headcol{
    width: 80px;
}

.booking__side-bar .rental-car__price_table{
    margin-left: 75px;
}

.booking__side-bar .features{
    max-height: 230px;
    overflow-x: hidden;
    overflow-y: auto;
}

.booking hr{
    border-color: #888;
    margin-bottom: 100px;
    margin-top: 10px;
}

.booking-period__calendar,
.booking-period__time-select{
    margin-bottom: 40px;
}

.booking-period__legend{
    margin-bottom: 70px;
}

.booking-period__calendar .datepicker{
    max-width: 345px;
    margin: 0 auto;
}

.booking-period__calendar .datepicker .picker-switch{
    font-size: 21px;
    font-weight: 500;
}

.booking-period__calendar .datepicker .day{
    border-radius: 0;
}

.booking-period__calendar .datepicker .day.disabled{
    color: #d3d3d3 !important;
}

.booking-period__calendar .datepicker .day.active{
    background-color: #0080ff !important;
    color: white !important;
}

.booking-period__calendar .datepicker .day.today:before{
    border-bottom-color: #0080ff;
}

.booking-period__calendar .datepicker .day.active.today:before {
    border-bottom-color: white;
}

.booking-period__time-select .input-wrapper,
.ui-timepicker-wrapper{
    width: 165px;
    max-width: 100%;
}

.booking-period__time-select .input-wrapper{
    position: relative;
    height: 40px;
    margin-top: 15px;
}

.booking-period__time-select input{
    height: 100%;
    border: 1px solid #d3d3d3;
    width: 100%;
    padding: 0 30px 0 15px;
    position: relative;
    z-index: 2;
    background: transparent;
}

::-webkit-input-placeholder { color: #d3d3d3; }
::-moz-placeholder { color: #d3d3d3; }
:-ms-input-placeholder { color: #d3d3d3; }
:-moz-placeholder { color: #d3d3d3; }

li.ui-timepicker-selected,
.ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover{
    background: #0080ff;
}

.booking-period__time-select span{
    position: absolute;
    right: 10px;
    top:50%;
    transform: translateY(-50%);
    z-index: 1;
}

.legend-items-wrapper{
    margin-top: 15px;
}

.legend-item{
    display: inline-block;
    margin-bottom: 10px;
}

.legend-item__icon{
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    border: 1px solid;
    display: inline-block;
}

.legend-item__name{
    line-height: 28px;
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 20px;
}

.legend-item.today .legend-item__icon{
    background-color: white;
    border-color: white;
    color: #333;
    position: relative;
}

.legend-item.today .legend-item__icon:before{
    content: '';
    display: inline-block;
    border: solid transparent;
    border-width: 0 0 7px 7px;
    border-bottom-color: #0080ff;
    border-top-color: rgba(0,0,0,0.2);
    position: absolute;
    bottom: 2px;
    right: -1px;
}

.legend-item.disable-date .legend-item__icon{
    background-color: transparent;
    border-color: transparent;
    color: #d3d3d3;
}

.legend-item.select .legend-item__icon{
    background-color: #0080ff !important;
    border-color: #0080ff !important;
    color: white !important;
}

.legend-item.not-available .legend-item__icon,
.datepicker td.not-available-dates{
    background-color: #ed1604 !important;
    border-color: #ed1604 !important;
    color: #d3d3d3 !important;
}

.legend-item.partial-available .legend-item__icon,
.datepicker td.partial-available-dates{
    background-color: white !important;
    border-color: #edbc0f !important;
    color: #edbc0f !important;
}

.booking__customer-info .form-group{
    margin-bottom: 30px;
    position: relative;
}

.booking__customer-info label{
    text-transform: uppercase;
}

.booking__customer-info .form-group.has-error label{
    color:#ed1604;
}

.booking__customer-info .form-group input{
    height: 40px;
    border: 1px solid #d3d3d3;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.booking__customer-info .form-group.has-error input{
    border-color: #ed1604;
}

.booking__customer-info .form-group input:focus{
    border-color: #0080ff;
}
.booking__customer-info .form-group.has-error input:focus{
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ed1604;
    border-color: #ed1604;
}

.booking__customer-info .form-group.has-error .help-block{
    color: #ed1604;
    position: absolute;
    left: 0;
    bottom: -10px;
    transform: translateY(100%);
}

.booking__customer-info .form-group.has-error .help-block ul{
    margin-top: 0;
}

.booking-success{
    background-color: white;
    text-align: center;
    height: calc(100vh - 313px);
    position: relative;
    padding: 15px;
}

.booking-success-inner-wrapper{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.booking-success-inner-wrapper:hover{
    text-decoration: none;
}

.booking-success img{
    max-width: 100%;
    margin-bottom: 70px;
}

.booking-success h1{
    font-size: 30px;
    font-weight:700;
    text-transform: uppercase;
    color: #0080ff;
    line-height: 1.5;
    margin: 0;
}

.loader,
.loader:before,
.loader:after {
    background: #0080ff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1.1em;
    height: 4em;
}
.loader {
    color: #0080ff;
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}
.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 1.5em;
}
@-webkit-keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}
@keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(2, 2, 2, 0.7);
    z-index: 10;
    display: none;
}

.loader{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.rental-car-info-page{
    background-color: white;
    padding: 100px 0;
}

.rental-car-info-page h1 {
    color: #1d1d1b;
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 2.2em;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
}
