body {
    font-family: 'Montserrat', sans-serif;
}

[v-cloak] {
    display: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        top: 0;
    }
    100% {
        opacity: 1;
        top: -10px;
    }
}

header {
    padding: 25px 25px 10px;
}

header .back-button {
    position: absolute;
    background: url(../svg/back.svg) no-repeat center center;
    width: 40px;
    height: 40px;
    margin-left: -14px;
    opacity: 0;
    display: none;
}

header .back-button.visible {
    opacity: 1;
    transition: opacity .25s ease;
}

header .back-button.visible:hover {
    cursor: pointer;
}

header .list-group {
    position: absolute;
    margin-right: -13px;
    right: 25px;
}

.form-content {
    margin: 0 auto;
    position: relative;
}

#car,
#services {
    max-width: 600px;
}

#thank-you {
    max-width: 484px;
    padding: 100px 0;
}

#calendar,
#summary {
    max-width: 700px;
}

.progress-indicator {
    position: relative;
    max-width: 280px;
    margin: 0 auto 60px auto;
    opacity: 0;
    transition: opacity .25s ease;
}

.progress-indicator.visible {
    opacity: 1;
}

.progress-indicator .track,
.progress-indicator .current-progress {
    position: absolute;
    height: 2px;
}

.progress-indicator .track {
    left: 0;
    right: 0;
    background: #f3f3f3;
}

.progress-indicator .current-progress {
    background: #CC262D;
    transition: width .25s ease;
}

.progress-indicator .waypoint {
    position: absolute;
    width: 30px;
    height: 30px;
    left: -15px;
    top: -15px;
    border-radius: 50%;
    border: 4px solid #fff;
    background-color: #f3f3f3;
    transition: background-color 0s .25s ease;
}

.progress-indicator .waypoint.active {
    background-color: #CC262D;
    transition: none;
}

.progress-indicator .car {
    position: absolute;
    z-index: 1;
    height: 100px;
    top: -50px;
    width: 84px;
    left: -42px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    background-color: #fff;
    border: 4px solid #fff;
    transition: margin-left .25s ease;
}

.steps {
    position: relative;
    min-height: 504px;
}

.step {
    position: relative;
    width: 100%;
    opacity: 0;
    margin: 0 auto;
    animation: .5s ease .15s 1 fadeIn forwards;
}

.step .back-button {
    position: absolute;
    color: #828282;
    font-weight: 500;
    font-size: 16px;
    padding: 17px;
    top: -17px;
    left: -17px;
}

.step .back-button::before {
    background: url(../svg/back-desktop.svg) no-repeat center center;
    content: '';
    width: 8px;
    height: 12px;
    display: inline-block;
    margin-right: 10px;
}

.step .back-button:hover {
    cursor: pointer;
}

.step h1,
.step h2 {
    font-weight: 700;
    line-height: 21px;
    padding: 0;
    margin-bottom: 52px;
    text-transform: uppercase;
    text-align: center;
}

.step h1 {
    font-size: 21px;
    line-height: 24px;
}

@media (max-width: 767px) {
    .step h1 br {
        display: none;
    }
}

.step h2 {
    font-size: 18px;
}

.car-types {
    margin-bottom: 22px;
    text-align: center;
}

.car-types .car-type {
    height: 180px;
    background-color: #f3f3f3;
    border-radius: 8px;
    transition: all .25s ease;
    position: relative;
    color: #333;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    padding-top: 128px;
    text-transform: uppercase;
    background-position: center bottom 70px;
    background-repeat: no-repeat;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 30px;
}

.car-types .car-type:hover {
    cursor: pointer;
}

.car-types .car-type.selected {
    background-color: #CC262D;
    color: #fff;
    box-shadow: 0 5px 20px rgba(204, 38, 45, .4);
}

.car-types .car-type .car-type-label-wrap {
    display: inline-block;
    line-height: 35px;
    max-height: 35px;
    padding: 0 15px;
}

.car-types .car-type .car-type-label {
    display: inline-block;
    line-height: 17px;
}

.services {
    margin-bottom: 52px;
}

.services .service {
    border: 0;
    border-top: 1px solid #e0e0e0;
    padding: 13px 0 4px;
}

.services .service:first-child {
    border-top: 0;
    padding-top: 0;
}

.services .service:first-child .service-selector {
    top: 0;
}

.services .service .service-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #333;
    margin-bottom: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-right: 61px;
}

.services .service .service-label:hover {
    cursor: pointer;
}

.services .service .service-label::after {
    content: '';
    background: url(../svg/arrow-down.svg) no-repeat center center;
    display: inline-block;
    width: 6px;
    height: 4px;
    margin: -2px 0 0 5px;
    vertical-align: middle;
    transition: transform .25s ease, margin-top .25s ease;
}

.services .service.expanded .service-label::after {
    transform: rotate(180deg);
    margin-top: -3px;
}

.services .service .service-duration,
.services .service .service-price {
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #828282;
    margin: 0 20px 7px 0;
}

.services .service .service-duration::before,
.services .service .service-price::before {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 8px 0 0;
    background-repeat: no-repeat;
    background-position: center;
}

.services .service .service-duration::before {
    background-image: url(../svg/time.svg);
}

.services .service .service-price::before {
    background-image: url(../svg/euro.svg);
}

.services .service .service-description {
    line-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: line-height .25s .25s ease, opacity .25s ease, margin-bottom .25s .25s ease;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
}

.services .service.expanded .service-description {
    line-height: 1.5;
    opacity: 1;
    transition: line-height .25s ease, opacity .25s .25s ease, margin-bottom .25s ease;
    margin-bottom: 8px;
}

.services .service .service-selector {
    position: absolute;
    top: 13px;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    background: url(../svg/check-mark.svg) no-repeat center center;
    transition: all .25s ease;
    z-index: 1;
}

.services .service .service-selector:hover {
    cursor: pointer;
}

.services .service.selected .service-selector {
    border-color: #CC262D;
    background-color: #CC262D;
}

.services .total {
    border: 0;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0 0;
}

.services .total .total-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #333;
    text-transform: uppercase;
    display: inline-block;
}

.services .total .total-price,
.services .total .total-duration {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #333;
    margin-right: 20px;
    float: right;
}

.services .total .total-price {
    margin-right: 0;
}

.services .total .total-duration::before,
.services .total .total-price::before {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 8px 0 0;
    background-repeat: no-repeat;
    background-position: center;
}

.services .total .total-duration::before {
    background-image: url(../svg/time.svg);
}

.services .total .total-price::before {
    background-image: url(../svg/euro.svg);
}

.btn-primary {
    background: #cc262d;
    border-color: #cc262d;
    border-radius: 5px;
    width: 100%;
    max-width: 328px;
    line-height: 38px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 auto;
    display: block;
    transition: opacity .25s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background: #cc262d;
    border-color: #cc262d;
}

.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(204, 38, 45, .4);
}

.btn-primary:disabled {
    background-color: #de7579;
    border-color: #de7579;
    opacity: 1;
}

.datepicker {
    margin-bottom: 52px;
}

.datepicker .vdp-datepicker__calendar {
    border: 0;
    width: auto;
    max-width: 326px;
    margin: 0 auto;
}

.datepicker .vdp-datepicker__calendar header {
    padding: 0;
}

.datepicker .vdp-datepicker__calendar header span {
    border-bottom: 1px solid #e0e0e0;
}

.datepicker .vdp-datepicker__calendar header .day__month_btn {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.datepicker .vdp-datepicker__calendar header .next::after,
.datepicker .vdp-datepicker__calendar header .prev::after {
    border: 0;
    width: 8px;
    height: 12px;
    margin-left: 0;
}

.datepicker .vdp-datepicker__calendar header .next::after {
    background: url(../svg/next.svg) no-repeat center center;
}

.datepicker .vdp-datepicker__calendar header .prev::after {
    background: url(../svg/previous.svg) no-repeat center center;
}

.datepicker .vdp-datepicker__calendar header .prev.disabled:after,
.datepicker .vdp-datepicker__calendar header .next.disabled:after {
    border: 0;
    opacity: .25;
}

.datepicker .vdp-datepicker__calendar .cell {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border: 0;
    line-height: 48px;
    height: 46px;
}

.datepicker .vdp-datepicker__calendar .cell.disabled {
    color: #333;
    opacity: .4;
}

.datepicker .vdp-datepicker__calendar .cell.selected {
    background-color: #CC262D;
    border-radius: 50%;
    color: #fff;
    transition: background-color .25s ease;
}

.datepicker .vdp-datepicker__calendar .cell.selected:hover {
    border: 0;
    background-color: #CC262D;
}

.datepicker .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,
.datepicker .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,
.datepicker .vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {
    border: 0;
}

.datepicker .slots {
    margin-left: -12px;
    margin-right: -12px;
}

.datepicker .slots .col {
    padding-left: 12px;
    padding-right: 12px;
}

.datepicker .slots .slot {
    text-align: center;
    background-color: #f3f3f3;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 43px;
    color: #333;
    margin-bottom: 24px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.datepicker .slots .slot:hover {
    cursor: pointer;
}

.datepicker .slots .slot.selected {
    background-color: #CC262D;
    font-weight: 700;
    color: #fff;
    transition: background-color .25s ease;
}

.personal-info {
    margin-bottom: 22px;
}

.personal-info .col {
    margin-bottom: 30px;
}

.personal-info .field {
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    height: 56px;
    line-height: 56px;
    position: relative;
}

.personal-info .field .placeholder,
.personal-info .field .form-control {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0 45px 0 15px;
    background: none;
    border: 1px solid #f3f3f3;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    border-radius: 5px;
}

.personal-info .field .form-control:focus {
    border: 1px solid #e0e0e0;
}

.personal-info .field.invalid .form-control {
    border: 1px solid #FF2400;
}

.personal-info .field .placeholder {
    opacity: 0;
}

.personal-info .field .placeholder.visible {
    opacity: 1;
}

.personal-info .field.required .placeholder::after {
    content: '*';
    color: #CC262D;
}

.personal-info .field .icon {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center right 15px;;
    transition: opacity .25s ease;
}

.personal-info .field .icon.opaque {
    opacity: .25;
}

.personal-info .field .icon.icon-user {
    background-image: url(../svg/user.svg);
}

.personal-info .field .icon.icon-phone {
    background-image: url(../svg/phone.svg);
}

.personal-info .field .icon.icon-email {
    background-image: url(../svg/email.svg);
}

.personal-info .field .icon.icon-car {
    background-image: url(../svg/car.svg);
}

.personal-info .field .icon.icon-comment {
    background-image: url(../svg/comment.svg);
}

.personal-info .field .icon.icon-suitcase {
    background-image: url(../svg/suitcase.svg);
}

.personal-info .field.invalid .icon.icon-email {
    background-image: url(../svg/email-error.svg);
}

.errors {
    margin-bottom: 30px;
}

.error {
    position: relative;
    margin-bottom: 15px;
    padding: 10px 30px;
    background: linear-gradient(90deg, #FFE9E5 0%, rgba(255, 233, 229, 0) 100%);
    font-size: 12px;
    color: #ff2400;
    font-weight: 500;
    line-height: 14px;
    border-left: 10px solid #ff2400;
    border-radius: 2px 0 0 2px;
}

.error:last-child {
    margin-bottom: unset;
}

.error::before {
    content: '';
    width: 30px;
    height: 100%;
    background: url(../svg/error.svg) no-repeat center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.personal-info .error {
    position: absolute;
    margin: 5px 0;
    padding: 3px 20px;
}

.personal-info .error::before {
    width: 20px;
}

.booking-info {
    margin-bottom: 52px;
}

.booking-info .booking-date,
.booking-info .service,
.booking-info .total {
    border: 0;
}

.booking-info .booking-date {
    padding: 0 0 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.booking-info .service {
    padding: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #828282;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.booking-info .total {
    padding: 0;
}

.booking-info .total .total-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #333;
    text-transform: uppercase;
    display: inline-block;
}

.booking-info .total .total-price,
.booking-info .total .total-duration {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #333;
    margin-right: 20px;
    float: right;
}

.booking-info .total .total-price {
    margin-right: 0;
}

.booking-info .total .total-duration::before,
.booking-info .total .total-price::before {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 8px 0 0;
    background-repeat: no-repeat;
    background-position: center;
}

.booking-info .total .total-duration::before {
    background-image: url(../svg/time.svg);
}

.booking-info .total .total-price::before {
    background-image: url(../svg/euro.svg);
}

.booking-info-info .booking-date {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.booking-info .booking-date::before {
    content: '';
    background: url(../svg/calendar.svg) no-repeat center center;
}

.booking-info .booking-date .booking-hours {
    color: #CC262D;
}

header .list-group .list-group-item,
footer .list-group .list-group-item {
    border: 0;
    margin: 0;
}

footer .list-group .list-group-item {
    padding: 0 10px;
}

header .list-group .list-group-item {
    padding: 0;
}

footer .footer-link {
    color: #262626;
    font-size: 13px;
    font-weight: 500;
    line-height: 26px;
    white-space: nowrap;
    display: block;
}

footer .footer-link:hover {
    text-decoration: none;
}

header .header-link::before,
footer .footer-link::before {
    content: '';
    width: 28px;
    height: 28px;
    background: #f3f3f3;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -2px;
    background-repeat: no-repeat;
    background-position: center;
}

footer .footer-link.phone::before {
    background-image: url(../svg/phone-red.svg);
}

footer .footer-link.email::before {
    background-image: url(../svg/email-red.svg);
}

footer .footer-link.address::before {
    background-image: url(../svg/address-red.svg);
}

header .header-link.language {
    padding: 7px 13px;
    display: inline-block;
}

header .header-link.language::before,
footer .footer-link.language::before {
    background-color: #fff;
    border-radius: 0;
    margin-right: 0;
}

footer .footer-link.language::before {
    background-size: 18px 16px;
}

header .header-link.language::before {
    background-size: 30px 17px;
}

header .header-link.language-et::before,
footer .footer-link.language-et::before {
    background-image: url(../svg/language-et.svg);
}

header .header-link.language-ru::before,
footer .footer-link.language-ru::before {
    background-image: url(../svg/language-ru.svg);
}

header .header-link.language-en::before,
footer .footer-link.language-en::before {
    background-image: url(../svg/language-en.svg);
}

header .dropdown .dropdown-menu,
footer .dropup .dropdown-menu {
    border: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

header .dropup .dropdown-menu {
    right: 20px !important;
    left: auto !important;
    min-width: 134px;
}

header .dropdown .dropdown-menu {
    min-width: auto;
    margin-top: 14px;
}

header .dropdown .dropdown-menu.show,
footer .dropup .dropdown-menu.show {
    animation: .25s ease 0s 1 slideInFromBottom forwards;
}

header .dropdown .dropdown-toggle::after,
footer .dropup .dropdown-toggle::after {
    border: 0;
    background-size: 6px auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 6px;
    height: 6px;
    margin-bottom: -2px;
    opacity: .5;
    transition: transform .25s ease;
}

header .dropdown .dropdown-toggle::after,
footer .dropup .dropdown-toggle::after {
    background-image: url(../svg/chevron-up.svg);
}

footer .dropup.show .dropdown-toggle::after {
    transform: rotate(-180deg);
}

header .dropdown .dropdown-toggle::after {
    transform: rotate(-180deg);
    margin-left: 6px;
}

header .dropdown.show .dropdown-toggle::after {
    transform: rotate(0);
}

.loader {
    position: absolute;
    top: -10px;
    right: 0;
    bottom: -10px;
    left: 0;
    background: rgba(255, 255, 255, .5) url(../svg/loader.svg) no-repeat center center;
    background-size: 40px;
    z-index: 9;
    display: none;
}

.loader.visible {
    display: block;
}

#thank-you .list-group-item {
    border: 0;
    padding: 0;
}

#thank-you .thank-you-link {
    font-weight: 700;
    color: #4f4f4f;
}

#thank-you .thank-you-link:hover {
    text-decoration: none;
}

#thank-you .thank-you-link::before {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}

#thank-you .thank-you-link.phone::before {
    background-image: url(../svg/phone-red.svg);
}

#thank-you .thank-you-link.email::before {
    background-image: url(../svg/email-red.svg);
}

#thank-you .thank-you-link.address::before {
    background-image: url(../svg/address-red.svg);
}

@media (max-width: 767px) {
    #bookingApp {
        opacity: 0;
        animation: .5s ease .25s 1 fadeIn forwards;
    }

    header .back-button {
        display: block;
    }

    .steps {
        padding: 0 25px;
        min-height: auto;
    }

    .step {
        animation: none;
        opacity: 1;
    }

    .car-types,
    .personal-info {
        margin-bottom: 42px;
    }

    .booking-info,
    .datepicker {
        margin-bottom: 72px;
    }

    .services {
        margin-bottom: 102px;
    }

    .services .total {
        position: fixed;
        bottom: 72px;
        left: 0;
        right: 0;
        background-color: #333;
        box-shadow: 0px 0px 25px rgba(0, 0, 0, .3);
        border-radius: 0;
        border: 0;
        padding: 15px;
        z-index: 8;
    }

    .services .total .total-label,
    .services .total .total-price,
    .services .total .total-duration {
        color: #fff;
    }

    .btn-primary {
        max-width: 100%;
    }

    #car .btn-primary,
    #services .btn-primary,
    #calendar .btn-primary,
    #summary .btn-primary {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        box-shadow: 0px 0px 25px rgba(0, 0, 0, .3);
        z-index: 11;
        height: 72px;
    }

    .datepicker .slots {
        max-width: 348px;
        margin: 0 auto;
    }

    .datepicker .vdp-datepicker__calendar {
        padding-bottom: 10px;
        margin-bottom: 25px;
        border-bottom: 1px solid #e0e0e0;
    }

    .loader {
        position: fixed;
    }

    #thank-you {
        padding: 0;
    }

    #thank-you h1 {
        text-align: left;
    }
}

.pretty {
    line-height: 1.3;
    white-space: initial;
}

.pretty .state label,
.pretty .state label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    margin-left: 38px;
    display: inline-flex;
    align-items: center;
    text-indent: unset;
}

.pretty.p-svg .state .svg {
    width: 25px;
    height: 16px;
    top: 50%;
    margin-top: -7px;
}

.pretty .state label:after,
.pretty .state label:before {
    width: 24px;
    height: 24px;
    top: unset;
}

.pretty input:checked~.state.p-danger label:after,
.pretty.p-toggle .state.p-danger label:after {
    background-color: #CC262D !important;
}

.additional-services {
    margin-bottom: 55px;
}

.additional-services .col {
    margin-bottom: 15px;
}
