.box{
    background: #fff;
    border-radius: 5px;
    padding: 25px;
    width: 100%;
    border: 1px solid #b9b9b9;
    overflow-x: hidden;
}
@media screen and (max-width: 980px) {
    .swal-form{
        width: 95% !important;
    }

}
:root{
    --border-color: #b9b9b9;
    --hightlight-color: green;
    --hightlight-color-hover: #019401;
}
*{
    box-sizing: border-box;

}
.box-inner{
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 100%;
}
.box-inner:first-of-type{
    margin-bottom: 35px;
}
.dropdown{
    width: 70%;
}
.dropdown span, .group span{
    font-size: 12px;
}
.from, .to{
    width: 40%;
    gap: 10px;
    display: flex;
    flex-direction: row;
    margin-top: -25px;
}
.from .date, .to .date{
    width: 100%;
}
.group{
    width: 100%;
    margin-top: 5px;
}
.from span, .to span{
    font-size: 12px;
    white-space: nowrap;
}
.search .btn{
    white-space: nowrap;
    transform: translateY(-2px);
    background-color: green;
    margin-top: 25px;
    width: 100%;
}
.search .btn:hover{
    cursor: pointer;
}
.bootstrap-select .btn {
    background-color: #fff;
    border: 1px solid #c5c5c5;
}
i.bx{
    transform: translateY(2px);
}

@media screen and (max-width: 980px) {
    .box-inner{
        flex-direction: column;
        gap: 40px;
    }
    .dropdown{
        width: 100%;
    }
    .from, .to{
        width: 100%;
    }
    .search .btn{
        width: 100%;
    }
}




.nav-reservation{
    margin-bottom: 30px !important;
    display: flex;
    width: 70%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 45px;
}
.nav-element{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #efefef;
    height: 100%;
    width: 25%;
    text-align: center;
    border-right: 1px #a6a6a6 solid;
    font-family: Lato, sans-serif;
    border-bottom: 1px solid #b9b9b9;
    border-top: 1px solid #b9b9b9;
}
.nav-element:first-of-type{
    border-radius: 10px 0 0 10px;
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}
.nav-element:last-of-type{
    border-radius: 0 10px 10px 0;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}
.nav-element .number{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--hightlight-color);
    width: 22px;
    height: 22px;
    border-radius: 50px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
    line-height: 0;
}
.nav-element:hover{
    cursor: pointer;
}
.nav-element:hover .number{
    background-color: var(--hightlight-color);
    color: white;
}
.nav-element.selected{
    background-color: #efe87c;
}
.nav-element.selected .number{
    background-color: var(--hightlight-color);
    color: white;
}
@media screen and (max-width: 980px) {
    .nav-reservation{
        margin-left: 10px;
        flex-direction: column;
        height: 170px;
        width: 85%;
    }
    .nav-element{
        padding-left: 20px;
        justify-content: left;
        width: 100%;
        height: 200px !important;
        border-right: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
    }
    .nav-element:first-of-type{
        border-radius: 10px 10px 0 0;
    }
    .nav-element:last-of-type{
        border-radius: 0 0 10px 10px;
    }
}

/* </nav> */

.step1{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* <info> */

.info{
    display: flex;
    flex-direction: row;
    background-color: #efefef;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    width: 65%;
    font-family: Lato, sans-serif;
}
.info .left{
    border-right: 1px solid var(--border-color);
}
.info .left, .info .right{
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.info h3{
    font-size: 14px;
    margin-bottom: 10px;
}
.info .info-element{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
    color: #3d3d3d;
}
.info .info-element i{
    margin-right: 7px;
}

@media screen and (max-width: 980px) {
    .info{
        margin-top: 30px !important;
        margin-left: 0;
        width: 90%;
        font-size: 12px;
    }
}

/* </info> */

/* <cars> */

.found-cars{
    margin-top: 10px;
    font-family: Lato, sans-serif;
    margin-left: 10px;
    font-size: 13px;
    width: 100%;
    margin-bottom: -5px;
    color: #525252;
}
.cars{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    width: 80%;
    gap: 10px;
}
.cars-element{
    border-radius: 2px;
    border: 1px solid var(--border-color);
    padding: 10px;
    display: flex;
    height: 180px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 20px;
}
.cars-element img{
    object-fit: cover;
    border-radius: 7px;
    min-width: 250px;
}
.cars-element .fb-photo{
    display: flex;
    height: 100% !important;
    min-width: 250px;
}
.cars-element .description h3{
    color: black;
}
.cars-element .description{
    font-family: Lato, sans-serif;
    color: #545454;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    gap: 20px;
}
.cars-element .price{
    width: 30%;
    display: flex;
    margin-left: auto;
    margin-right: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: right;
    font-family: Lato, sans-serif;
    gap: 10px;
}
.cars-element .price span{
    color: black;
    font-weight: bold;
    font-size: 24px;
    white-space: nowrap;
}

.cars-element .price button{
    padding: 12px;
    width: 100px;
    color: white;
    background-color: var(--hightlight-color);
    border: none;
    border-radius: 5px;
    transition-duration: 150ms;
}
.cars-element .price button:hover{
    cursor: pointer;
    background-color: var(--hightlight-color-hover);
}

@media screen and (max-width: 980px) {
    .cars{
        width: 90%;
        gap: 25px;
    }
    .cars-element{
        flex-direction: column;
        padding: 20px;
        height: auto;
    }
    .cars-element img{
        width: 100%;
    }
    .cars-element h3{
        text-align: center;
        width: 100%;
        font-size: 24px;
    }
    .cars-element .price{
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 5px;
    }
    .cars-element .price button{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .cars-element form {
        width: 100%;
    }
    .found-cars{
        margin-bottom: -20px;
    }
    .cars-element .description{
        width: 100%;
    }
}

/* </cars> */
#myModal{
    z-index: 9999;
}

























.step2{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* <car-info> */

.car-info{
    margin-top: 20px;
    font-family: Lato, sans-serif;
    width: 65%;
    display: flex;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    flex-direction: row;
    gap: 10px;
}
.car-info .text{
    display: flex;
    justify-content: space-between;
}
.car-info .bottom ul{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.car-info .bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.car-info .bottom ul li{
    display: flex;
}
.car-info .fb-photo{
    width: 40%;
    border-radius: 5px;
}
.car-info .fb-photo img{
    border-radius: 7px;
    width: 100%;
}
.car-info .text{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    color: #484848;
    line-height: 23px;
    margin-left: 10px;
}
.car-info .text h2{
    color: black;
}

@media screen and (max-width: 980px) {

    .car-info .bottom ul {
        margin-left: -10px;
    }

    .car-info .bottom ul li {
        font-size: 11px;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
}

@media screen and (max-width: 980px) {
    .car-info{
        flex-direction: column;
        width: 90%;
    }
    .car-info .fb-photo{
        width: 100%;
        margin-bottom: 20px;
    }
    .car-info .bottom ul{
        margin-left: -30px;
    }
}
/* </car-info> */

/* <price-select> */

.price-select{
    width: 66%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price-select .title{
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 22px;
}
.price-select .inputs{
    width: 100%;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-select .option{
    display: flex;
    flex-direction: row;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;
    font-family: Lato, sans-serif;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.price-select .option .controls{
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 24px;
}
.price-select .option .controls i{
    font-size: 28px;
}
.price-select .option .controls i:hover{
    cursor: pointer;
}
.price-select .text{
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
    color: #6b6b6b;
}
.price-select .text b{
    color: black;
}
@media screen and (max-width: 980px) {
    .price-select{
        width: 90%;
    }
}

/* </price-select> */

.final-price{
    font-weight: bold;
    font-family: Lato, sans-serif;
    font-size: 22px;
    width: 65%;
    text-align: right;
}

@media screen and (max-width: 980px) {
    .final-price{
        width: 90%;
        font-size: 17px;
        text-align: center;
    }
}

/*#fff590*/

/* <btns> */

.btns{
    margin-top: 20px;
    height: 50px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.btns button{
    height: 30px;
    width: 30%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background-color: var(--hightlight-color);
    color: white;
}
.btns form, .btns .back-btn{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btns button:hover{
    background-color: var(--hightlight-color-hover);
    cursor: pointer;
}

@media screen and (max-width: 980px) {
    .btns{
        width: 90%;
    }
    .btns button{
        width: 90% !important;
    }
}

/* </btns> */

.step3{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* <date-summary> */

.date-summary{
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

@media screen and (max-width: 1200px) {
        .date-summary   {
                    width: 80%;
        }
}
.title{
    font-family: Lato, sans-serif;
    font-weight: normal;
    width: 70%;
    text-align: left;
}
.date-summary .fb-photo{
    width: 40%;
    border-radius: 5px;
}
.date-summary .fb-photo img{
    width: 100%;
    border-radius: 5px;
}

.summary-data{
    font-family: Lato, sans-serif;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}


.summary-data i{
    margin-right: 5px;
}

.summary-data .summary-label{
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

@media screen and (max-width: 980px) {
    .date-summary{
        flex-direction: column-reverse;
        width: 100%;
    }
    .summary-data{
        width: 90%;
    }
    .date-summary .fb-photo{
        width: 70%;
        margin-bottom: 20px;
    }
    .title{
        width: 90%;
    }
}
/* </date-summary> */

/* <car-summary> */

.price-summary{
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 90%;
    border: 1px solid var(--border-color);
    padding: 50px;
    font-family: Lato, sans-serif;
}

@media screen and (max-width: 1250px) {
    .price-summary {
        width: 90%;
    }
}

.price-summary .left{
    font-weight: bold;
    font-size: 22px;
}
.price-summary .left span{
    font-weight: normal;
    font-size: 14px;
}

.price-summary .right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 50%;
    margin-right: 20px;
}
.price-summary .right .col{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: center;
    width: 200px;
    white-space: nowrap;
}
.price-summary .right .col .top{
    font-weight: bold;
    font-size: 14px;
}

@media screen and (max-width: 980px) {
    #deposit {
        padding: 20px;
        gap: 15px;
    }
    #deposit .right  {
        margin-right: 0;
    }
    .price-summary{
        flex-direction: column;
        height: auto;
        gap: 40px;
        text-align: center;
        width: 90% !important;
    }
    .price-summary .right{
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .price-summary .right .col{
        border-bottom: 1px var(--border-color) dotted;
        border-top: 1px var(--border-color) dotted;
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
    }
}

/* </car-summary> */

/* <cost> */

.cost{
    font-family: Lato, sans-serif;
    padding: 25px;
    width: 68%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cost .right{
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 90px;
    margin-right: 30px;
    width: 50%;
}

.cost .right .bottom .col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
}

/* </cost> */

/* <codes> */

.codes{
    width: 70%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    height: 100px;
    font-family: Lato, sans-serif;
    margin-top: 20px;
}

.codes .left, .codes .right{
    background-color: white;
    padding: 25px;
    width: 45%;
    border: 1px var(--border-color) solid;
    border-radius: 10px;
}

.codes input{
    padding: 7px !important;
    border-radius: 7px;
    border: 1px solid var(--border-color);
}

.codes button{
    padding: 8px;
    width: 30%;
    margin-left: 10px;
    background-color: var(--hightlight-color);
    color: #fff;
    border: none;
    white-space: nowrap;
    border-radius: 5px;
}

.codes span{
    display: inline-block;
    margin-bottom: 10px;
}

@media screen and (max-width: 980px) {
    .codes{
        width: 100%;
        height: auto;
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }
    .codes .left, .codes .right{
        width: 90%;
    }
    .codes input{
        width: 100%;
        margin-bottom: 10px;
    }
    .codes button{
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* </codes> */

/* <driver-data> */

.driver-data{
    margin-top: 20px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: Lato, sans-serif;
}

#h3-container{
    width: 100%;
    display: flex;
        justify-content: space-around;
}
#h3-container h3:last-of-type{
        text-align: right;
}
.driver-data .inputs{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}
.driver-data .inputs .left, .driver-data .inputs .right{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.driver-data .inputs .input{
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 3px;
}
.driver-data .inputs .input input, .driver-data .inputs .input select{
    padding: 7px;
}
.driver-data .inputs .input select{
    padding: 9px;
}
.driver-data .inputs .input input[type="date"]{
    padding: 5px;
    border: 1px var(--border-color) solid;
}
.driver-data textarea{
    width: 95%;
    max-width: 95%;
    min-width: 95%;
    height: 125px;
    padding: 10px;
}
.driver-data .terms{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    user-select: none;
    width: 100%;
    text-align: left;
}

@media screen and (max-width: 980px) {
    .driver-data{
        width: 95%;
    }
    .btns{
        gap: 40px;
        margin-bottom: 20px;
        line-height: 15px;
    }
}
/* </driver-data> */

/*additional*/

.addtional{
    display: flex;
    width: 65%;
    flex-direction: column;
    gap: 10px;
}
.addtional .title{
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 22px;
}
.addtional .inputs{
    width: 100%;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.addtional .option{
    display: flex;
    width: 100%;
    flex-direction: row;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;
    font-family: Lato, sans-serif;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.addtional .option .controls{
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 24px;
}
.addtional .option .controls i{
    font-size: 28px;
}
.addtional .option .controls i:hover{
    cursor: pointer;
}
.addtional .text{
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
    color: #6b6b6b;
}
.addtional .text b{
    color: black;
}
@media screen and (max-width: 1250px) {
    .addtional{
        width: 90% !important;
    }
}
.edit-btn{
    font-size: 13px;
    text-decoration: underline;
}
.edit-btn:hover{
    color: black;
    cursor: pointer;
}

.filters{
    margin-top: 15px;
    display: flex;
    flex-direction: row;
        width: 60%;
    height: 50px;
    align-items: center;
}
.filters  .filter:first-of-type{
    border-radius: 10px  0 0 10px;
}
.filters .filter:last-of-type{
    border-radius: 0  10px  10px 0;
    border: none;
}
.filters .filter{
    flex-grow: 1;
    height: 100%;
    user-select: none;
    width: auto;
        border: none;
    background: #c2c2c2;
    border-right: 1px solid black;
    display: flex;
    align-items: center;
        justify-content: center;
    color: black;
}
.filters .filter:hover{
    cursor: pointer;
    background-color: #b9b9b9;
}
.filters .filter.active{
    background-color: #efe87c;
    border: 1px solid gray;
}
.cars-element .bottom ul{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.cars-element .bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.cars-element .bottom ul li{
    display: flex;
}

@media screen and (max-width: 980px) {
    @media screen and (max-width: 980px) {
        .filters{
            height: auto;
            width: 90%;
                        flex-direction: column;
        }
        .filters  .filter{
            border: none;
            height: 40px;
            width: 100%;
        }
        .filters .filter:first-of-type{
            border-radius: 10px  10px  0 0;
        }

        .filters .filter:last-of-type{
            border-radius: 0 0 10px  10px ;
        }
    }
}

@media screen and (max-width: 1200px) {

    .cars-element .bottom ul {
        margin-left: -10px;
    }

    .cars-element .bottom ul li {
        font-size: 11px;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
}
.timepicker{
    z-index: 99999 !important;
    width: 125px;
    height: 160px;
    background-color: #ffffff;
    border-radius: 7px;
    display: flex;
    border: 2px solid #b9b9b9;
    padding: 10px;
    flex-direction: column;
    position: fixed;
    box-shadow: rgba(0, 0, 0, 0.27) 0 0 15px;
}
.timepicker .top{
    display: flex;
    height: 100%;
    width: 100%;
}

.timepicker .top .numberlist{
    list-style-type: none;
    width: 50%;
    height: 100%;
    font-size: 32px;
    overflow: auto;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-x: hidden;
    align-items: center;
}
.timepicker .top .numberlist.hour{
    align-items: flex-start;
    width: 52%;
}
.timepicker .top .numberlist.hour li{
    width: 80%;
}
.timepicker .top .numberlist.minute{
    align-items: flex-end;
    width: 48%;
    padding-right: 20px;
}
.timepicker .top .numberlist li{
    border: 1px solid #cecece;
    text-align: center;
    user-select: none;
    border-radius: 5px;
    padding: 2px;
    width: 90%;
    font-size: 20px;
    transition-duration: 150ms;
    font-family: 'Poppins', sans-serif;
    color: #797979;
    white-space: nowrap;
}
.timepicker .top .numberlist.minute li{
    margin-left: 4px;
    width: 80%;
}
.timepicker .top .numberlist li:hover{
    background-color: #d9d9d9;
    cursor: pointer;
}
.timepicker .top .numberlist::-webkit-scrollbar {
    width: 5px;
    background-color: #efefef;
    border-radius: 5px;
}


.timepicker .top .numberlist::-webkit-scrollbar-thumb {
    background-color: green;
    border-radius: 5px;
}
