﻿.form-book .error {
    /* position: absolute; */ /* right: 5px; */ /* bottom: 10px; */
}

.book-car {
    margin-top: 50px;
    border: 3px dashed #d3d3d3;
    padding: 30px;
}

.box-book {
    margin-top: 30px;
}

.form-book {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

    .form-book select {
        width: 100%;
        padding: 6px 10px;
        font-size: 13px;
        outline: none;
        border-radius: 5px;
    }

.half-form .form-book {
    width: 49%;
    display: inline-block;
    margin: auto;
    margin-bottom: 20px;
}

.half-form {
    overflow: hidden;
    display: flex;
}

.form-book label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.ddr {
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    padding: 10px 10px;
    font-size: 16px;
    border: 1px solid #1e73be;
}

.txtform {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px;
    font-size: 16px;
    border: 1px solid #1e73be;
    border-radius: 5px;
}

.btnSubmit {
    background: #1e73be;
    cursor: pointer;
    outline: none;
    padding: 10px 20px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 18px;
}

.cbform {
    display: inline-block;
    cursor: pointer;
}

    .cbform input {
        cursor: pointer;
    }

.form-book .cbform label {
    display: inline-block;
    cursor: pointer;
}


.modal-book {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: -2000px;
    z-index: -1111;
    overflow: hidden; /* display: none; */
    transition: 1s;
    opacity: 0;
}

    .modal-book.active { /* display:block; */
        top: 0;
        opacity: 1;
        z-index: 99999999999;
    }

.content-modal {
    margin: auto;
    width: 50%;
    max-width: 400px;
    padding: 30px;
    background: #fff;
    position: relative;
    border-radius: 6px;
    z-index: 2;
    box-sizing: border-box;
    background-image: url('/Design/ThienThanh/layout-footer.png');
    background-size: cover;
    /* background-attachment: fixed; */
}

@media only screen and (max-width: 767px) {
    .content-modal {
        width: 96%;
    }
}

@media only screen and (max-width: 549px) {
    .content-modal {
        width: 90%;
    }
}

.modal-book.active .flex-modal {
}

.close-book {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #0000008f;
    z-index: 1;
    display: none;
}

.modal-book.active .close-book {
    display: block;
}

.flex-modal {
    height: 100%;
    display: flex;
    overflow: auto;
    padding: 20px 0;
    box-sizing: border-box;
}

    .flex-modal::-webkit-scrollbar-track {
        background-color: #fff0;
    }

    .flex-modal::-webkit-scrollbar-thumb {
        background-color: #fff0;
    }

    .flex-modal::-webkit-scrollbar-button {
        background-color: #fff0;
        height: 0;
    }

    .flex-modal::-webkit-scrollbar-corner {
        background-color: fff0;
    }

    .flex-modal::-webkit-scrollbar {
        width: 0px;
    }

.modal-book .ddr, .modal-book .txtform {
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
}

.modal-book .form-book {
    margin-bottom: 10px;
}

.tit-modal {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-family: swissb;
    font-size: 32px;
}

.modal-book .box-book {
    margin-top: 15px;
}

.close-book-btn {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

    .close-book-btn i {
        display: block;
    }

.modal-book .btnSubmit {
    background: #ca0c00;
}

.modal-book .form-book label {
    color: #fff;
}

.modal-book .btn-book {
    text-align: center;
}

.book-car-open {
    position: fixed;
    bottom: 266px;
    right: 20px;
    width: 50px;
    height: 50px; /* text-indent:-1000px; */
    background-color: #ff3232;
    background-size: 100%;
    background-position: center;
    border-radius: 100%;
    z-index: 8;
    box-shadow: 0 0 5px rgb(0 0 0 / 29%);
    cursor: pointer;
    z-index: 999;
}

    .book-car-open img {
        width: 100%;
        margin-top: 4px;
        display: block;
        object-fit: cover;
        position: relative;
        z-index: 999;
    }

    .book-car-open:before {
        animation: phone-inner 3s infinite;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(238, 171, 81, .6);
        border-radius: 100%;
        position: absolute;
        content: "";
        z-index: 1;
    }

    .book-car-open:after {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #eeab51;
        border-radius: 100%;
        position: absolute;
        content: "";
        animation: phone-outer 3s infinite 1.5s;
        z-index: 1;
    }
