.nav-tabs {
    border: none;
    height: 80px;
    width: 86%;
    margin: 3rem auto 0 auto;
    display: flex;
    justify-content: space-between;
}
/**/
.nav-tabs button {
    background-color: black;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    box-shadow: rgb(50 50 93 / 25%) 0px 6px 12px -2px, rgb(0 0 0 / 30%) 0px 3px 7px -3px;
    font-size: 20px;
    margin-bottom: 10px;
    margin-right: 20px;
}
.nav-tabs div a:last-child button {
    margin-right: 0px;
}

.fa-arrow-left {
    font-size: 40px;
    vertical-align: inherit;
}

.carousel-inner > .item > img {
    width:100%;
    height:100%;
    max-height: 500px;
    border-radius: 10px;
}

.carousel-control {
    border-radius: 10px;
}

.carousel-box {
    padding-left: 15px;
}
.rentcar_detail_right_column {
    padding: 0 0 0 40px;
}
.select_box_description {
    color: black;
    text-align: right;
    font-size: 16px;
    word-break: keep-all;
    margin-bottom: 5px;
}
.select-box .select_box_description:nth-child(2) {
    margin-bottom: 20px;
}
.car_info_box {
    margin-bottom: 20px;
}
.car_info_title {
    font-size: 1.8rem;
}
.car_infos {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.1em;
}
.car_info {
    margin: 0 10px 10px 0;
}
.car_info i {
    color: dimgray;
}

.car_attribute {
    display: flex;
    border: 1px solid #2d75ff;
    padding: 10px;
    word-break: keep-all;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.car_attribute input {
    margin-right: 8px;
}
.info-card {
    background-color: black;
    color: white;
    padding: 60px;
    border-radius: 10px;
    margin-right: 10px;
}

.info-card h1 {
    color: white;
    font-size: 48px;
    text-align: center;
    text-shadow: 5px 2px 10px rgba(232,232,232,0.82);
}

.info-card p {
    font-size: 18px;
}

.info-card-left {
    text-align: right;
}

.info-card-right {
    margin-bottom: 10px;
}

.tel_info {
    background-color: #4f4f4f;
    color: white;
    text-shadow: 2px 3px 4px rgba(232,232,232,0.82);
    text-align: center;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    transform: translate(0, -50%);
}

.tel_info p {
    font-size: 20px;
}
.car_img_carousel {
    padding: 0;
    /*margin-left: 20px;*/
}
#info_detail hr {
    color: black;
    margin: 20px 0px 0px 0px;
}

#info_detail .car_name {
    background-color: #000000;
    color: white;
    text-align: center;
    border-radius: 10px;
    text-shadow: 5px 2px 10px rgb(232 232 232 / 82%);
    padding: 20px;
    margin: 50px 0px 20px 0px;
}

.car_name_mobile {
    display: none;
}

.car_name_desktop {
    display: block;
}

.info_table p {
    font-size: 20px;
}

.reservation-form {
    border-radius: 10px;
    background-color: black;
    padding: 30px;
    margin: 50px 0px;
}

.form-title h3{
    color: white;
    text-align: center;
}

.form-group {
    margin: 30px 0px;
}

#reservation-info .form-group {
    margin: 0;
}
#address_button.input-group-addon {
    font-size: 1.5rem;
}
#address_button.input-group-addon button {
    border: none;
    background-color: white;
    color: black;
}

.fa-star-of-life {
    font-size: 5px;
    color: #ff0000;
    margin-top: 13px;
}

.control-label {
    color: white;
}

#reservation-info .control-label {
    color: black;
}

#btn_final {
    background-color: white;
    border: 3px white solid;
    width: 70%;
    margin: 0 15%;
    padding: 20px;
    font-size: 24px;
    border-radius: 10px;
}

#btn_final:hover {
    background-color: black;
    color: white;
}

.info_table table {

}
.info_table table td {
    font-size: 2rem;
    background-color: white;
    padding: 20px 10px;
}

.date_time_form {
    display: flex;
    justify-content: space-between;
}
.selectRentermKilometerBox {
    padding: 0;
    width: auto;
}
.display_flex {
    display: flex;
}
.select-box {
    padding-bottom: 2rem;
    font-size: 18px;
}
.result-box {
    font-size: 18px;
}
.result-box table {
    background: white;
    border-top: 1px solid #3b3b3b;
    border-bottom: 1px solid #3b3b3b;
}
.result-box table td {
    border-bottom: none;
}
.detail_btn {
    background: #eeeeee;
    border: none;
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 10px;
    font-size: 18px;
}
.detail_btn:hover {
    color: white;
    background: black;
}
.detail_btn_reserve {
    color: white;
    background: #2d75ff;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 10px;
    font-size: 18px;
}
.detail_btn_reserve:hover {
    color: white;
    background: #2246e5;
}
.onlyDesktop {
    display: inline-table;
}
.onlyMobile {
    display: none;
}
.nav-tabs h1 {
    font-size: 23px;
}
select {
    font-size: 15px;
}


#pickupPriceBtn {
    border: #9a9a9a 1px solid;
    border-radius: 10px;
    padding: 5px 10px;
    background: #eeeeee;
    transition: 0.5s all ease-in-out;
}
#pickupPriceBtn:hover {
    background: #9a9a9a;
}

#pickupPriceModal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal_content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
}
.modal_content table {
    word-break: keep-all;
}
.modal_content .title {
    background: #9a9a9a;
    text-align: center;
}
.modal_content .subtitle {
    background: #eeeeee;
    text-align: center;
}
.modal_close_btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 1rem;
}
.modal_close_btn:hover,
.modal_close_btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 600px) {

    .nav-tabs {
        height: 60px;
    }

    .nav-tabs button {
        font-size: 16px;
        padding: 15px 20px;
        margin-right: 10px;
    }

    .fa-arrow-left {
        font-size: 30px;
        position: absolute;
        left: 7%;
    }

    .carousel-inner > .item > img {
        height:100%;
    }

    /*.carousel-box {*/
    /*    padding-left: 0;*/
    /*}*/

    .info-card h1 {
        font-size: 30px;
    }

    .info-card {
        padding: 50px 14px;
        margin-right: -15px !important;
    }

    .tel_info {
        width: 70%
    }

    /*.car_img_carousel {*/
    /*    !*margin-left: 0;*!*/
    /*    !*margin-bottom: 30px;*!*/
    /*}*/
    #info_detail .car_name {
        margin-top: 0px;
    }
    .car_name_mobile {
        display: block;
    }
    .car_name_desktop {
        display: none;
    }
    .date_time_form {
        flex-direction: column;
    }
}

@media (min-width: 601px) and (max-width: 991px) {
    .info-card {
        margin-right: -15px !important;
    }
    .car_name_mobile {
        display: block;
    }
    .car_name_desktop {
        display: none;
    }
    .date_time_form {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .display_flex {
        /*flex-direction: column;*/
        display: none;
    }
    .onlyDesktop {
        display: none;
    }
    .onlyMobile {
        display: block;
        border: 2px solid #3b3b3b;
        border-radius: 10px;
        padding: 20px;
        background: white;
    }
    .onlyMobile p {
        display: flex;
        justify-content: space-between;
    }
    .detail_btn {
        font-size: 16px;
    }
    .rentcar_detail_right_column {
        padding: 20px 10px;
    }
    .modal_content {
         width: 90%;
     }
    .modal_content table,
    .modal_content table tbody {
        display: block;
        width: 100%;
    }
    .modal_content table tbody {
        margin-top: 3rem;
    }
    .modal_content table tr {
        display: grid;
        width: 100%;
    }
    .select-box {
        padding-bottom: 1rem;
    }
    .select-box .select_box_description:nth-child(2) {
        margin-bottom: 5px;
    }
    .select_box_description {
        margin: 0;
        font-size: 15px;
        word-break: keep-all;
    }
}