:root {
    --primary-blue: #003b95;
    --secondary-blue: #3466ad;
    --grey-light: #f3f3f3;
    --grey-dark: #e8ecf1;
    --yellow-dark: #f9cd15;
    --green-dark: #00bc15;
    --red: #ea0000;
    --primary-color: #127472; /*#185250*/
    --secondary-color: #ed8323;
}

html,
body {
    height: 100%;
}

.container-fluid {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Font Size */
.font-size-xs {
    font-size: 14px !important;
}

.font-size-sm {
    font-size: 15px !important;
}

.font-size-md {
    font-size: 16px !important;
}

.font-size-lg {
    font-size: 17px !important;
}

.font-size-xl {
    font-size: 20px !important;
}

.font-size-xxl {
    font-size: 26px !important;
}

.text-primary-blue {
    color: var(--primary-blue);
}
.text-primary-green {
    color: var(--primary-color) !important;
}

.text-primary-red {
    color: var(--red);
}

.text-orange {
    color: var(--secondary-color) !important;
}

.text-justify {
    text-align: justify !important;
}
/* Font size end */

.project_logo {
    width: 130px;
}

/* Background */
.bg-green-primary {
    background-color: var(--primary-color);
}

.bg-blue-primary {
    background-color: var(--primary-blue);
}

.bg-blue-secondary {
    background-color: var(--secondary-blue);
}

.bg-grey-light {
    background-color: var(--grey-light);
}

.bg-blue-primary-outline {
    background-color: var(--secondary-blue);
    border: 1px solid var(--primary-blue);
    color: white;
}

.bg-grey-dark {
    background-color: var(--grey-dark) !important;
}

.bg-grey-darker {
    background-color: #797979;
}

.bg-yellow {
    background-color: var(--yellow-dark);
}

.bg-orange {
    background-color: var(--secondary-color);
}

.bg-orange.btn:hover {
    background-color: var(--secondary-color);
}

.bg-green-primary.btn:hover {
    background-color: var(--primary-color);
}
/* Background  end*/

/* Header */
.header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header .active {
    border-bottom: 2px solid var(--primary-blue);
}
/* Header end */

/* Footer */
/* .footer p,
.footer p a,
.footer p i {
    color: white !important;
} */

.footer .footer-content,
.footer .footer-socials {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.social-flex {
    justify-content: flex-end;
}
/* Footer end */

/* Hero section */
.hero-section {
    /* background-color: var(--grey-dark); */
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-header {
    display: flex;
    /* background-color: var(--primary-color); */
    background-color: rgba(18, 116, 114, 0.9);
    border-radius: 50px;
    border: 1px solid white;
    max-width: 50%;
    color: white;
}

.search-header .items {
    border-radius: 50px;
    border: 1px solid var(--secondary-color);
}

.search-header .items:hover {
    background-color: var(--secondary-color);
    cursor: pointer;
}

.search-header .items.active {
    background-color: var(--secondary-color);
}

.search-form {
    background-color: rgba(18, 116, 114, 0.9);
    /* background-color: var(--primary-color); */
    border-radius: 10px;
    /* border: 1px solid white; */
    max-width: 100%;
    color: white;
}

.car-collection {
    align-items: center;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.car-collection::-webkit-scrollbar {
    display: none;
}

.car-collection.selected {
    border: 2px solid var(--secondary-color);
}

.car-collection label {
    display: block ruby;
}

.promo_card {
    border: none;
    border-bottom: 4px solid var(--primary-color);
    border-radius: 0;
}

.promo_card a img {
    height: 300px;
}

/* Hero section end */

/* Input Forms */
.form-input input,
.form-input .twitter-typeahead input {
    border-left: 0 !important;
}

.form-input .twitter-typeahead input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.form-input input:focus,
.form-input .twitter-typeahead input:focus {
    background-color: var(--grey-light);
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-left: 0 !important;
}

.input-focus-none:focus {
    outline: none !important;
    box-shadow: none !important;
    background-color: var(--grey-light);
    border: 1px solid var(--primary-color);
}

.bg-focus-grey:focus {
    background-color: var(--grey-light);
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.border-none {
    border: none;
}

.submit-btn:hover,
.btn.bg-blue-primary {
    background-color: var(--primary-blue);
    color: white;
}

/* Input Forms end */

.company-banner img {
    width: 100px;
}

.promotion_image {
    height: 200px;
    width: 100%;
}

.hero-bg-img {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: -1;
}

.hero-car-img {
    /* width: 150px; */
    width: 180px;
}

.hero-company-img {
    /* width: 80px; */
    min-width: 60px;
    width: auto;
    max-width: 100px;
    height: 40px;
}

.hero-section .discount-span {
    /* For browsers that do not support gradients */
    background-color: var(--red);
    background-image: linear-gradient(var(--yellow-dark), var(--red));
}

.hero-section .car-offers {
    margin-top: 6rem;
}

.info-flex {
    width: 30%;
}
.info-flex .info-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--yellow-dark);
    position: relative;
}

.info-flex .info-img i {
    color: var(--primary-blue);
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 50px;
}

.subscribe-flex {
    width: 40%;
}

/* Result Card */
.result-card {
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.rate-flex {
    border: 2px solid var(--primary-color);
    background-color: var(--grey-dark);
    border-radius: 10px;
}

.rate-flex img {
    width: 90px;
    height: 40px;
}

/* Result Card */

/* input form style */
.input-style {
    border: none;
    border-bottom: 2px solid #ea0000;
    border-radius: 0px;
}
/* end of input form style */

/* font style  */
.font-style {
    color: #ea0000;
}
/* end of font style */
.btn-style {
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
}

.btn-style:hover {
    color: white;
    background-color: var(--green-dark);
}

.container-admin {
    position: absolute;
    top: 4rem;
    left: 55vh;
    width: 55rem;
}

.hr {
    margin: 0.5rem 0;
    opacity: none;
    color: #000000;
}

.bg-color {
    background-color: #4d4d4d;
}

.ml-4 {
    margin-left: 4rem;
}

.p-center {
    margin-left: auto;
    margin-right: auto;
}

.svg-ml-6 {
    margin-left: 6rem;
}

/* table,
td,
th {
    border: 1px solid;
} */

.vertical-hr {
    height: 100%;
    width: 2px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

/* Booking Progress bar */
.booking-progress .progress-flex .progress-text {
    color: var(--grey-light);
}

.booking-progress .progress-flex.active .progress-text {
    color: var(--primary-blue);
}

.booking-progress .progress-flex .booking-bar {
    width: 100%;
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

.booking-progress .progress-flex.active .booking-bar {
    border-bottom: 2px solid var(--primary-blue);
}

.border-radius-md {
    border-radius: 5px;
}
.border-radius-none {
    border-radius: 0px;
}

.car-detail-card img {
    width: 180px;
}

.border-left-d-md {
    border-left: 2px solid var(--primary-blue);
}

.promo-canvas {
    width: 80vw !important;
}

.car-type-list {
    border: 1px solid var(--grey-dark);
    padding: 10px 30px;
    background-color: var(--grey-light);
}

input[type="radio"],
input[type="checkbox"] {
    border: 1px solid var(--secondary-color) !important;
}
input[type="radio"].pay-radio {
    width: 22px;
    height: 22px;
}
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    background-color: var(--secondary-color) !important;
}

.pay-card.active {
    border: 2px solid var(--primary-blue);
}

#loading {
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
}

#loading img {
    width: clamp(
        120px,
        auto,
        180px
    ); /*clamp(min-width, preferred-value, max-width)*/
}

.input-dropdown.show,
.input-dropdown:hover,
.rental-plans:hover {
    background-color: var(--grey-light);
    color: black;
}

.car-collection-list {
    max-height: 250px;
    overflow-y: scroll;
}

.car-collection-list .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: white;
}

#rplan-options {
    background-color: var(--grey-light);
}

#rplan-options li {
    padding: 5px 10px;
}
#rplan-options li a,
#rplan-options li a h6 {
    text-decoration: none;
    font-size: 12px;
    color: black;
}

.booking-card {
    border-radius: 10px;
    border-left: 5px solid var(--primary-color) !important;
    /* border: 1px solid var(--primary-color); */
}

.confirmation-div {
    height: 55vh;
}

.border-left-primary {
    border-left: 5px solid var(--primary-color) !important;
}

.details-section {
    min-height: 50vh;
}

/*
.hotel-details,
.hotel-details .nav-link {
    border-radius: 0 !important;
    color: var(--primary-color);
}
*/

.package-details,
.package-details .nav-link {
    border-radius: 0 !important;
    color: var(--primary-color);
}

.floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 3.5rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    border: 0;
    z-index: 1;
    font-size: 25px;
}

.car_image {
    width: 100%;
}

/* Hotel Details Page CSS */
.hotel-icons {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 80px);
    gap: 10px;
    grid-template-areas:
        "item1 item1 item2 item2"
        "item1 item1 item5 item5"
        "item3 item4 item5 item5";
}

.grid-item {
    overflow: hidden;
    border-radius: 8px;
}

.hotel-image,
.hotel-image-expand {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: fill;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    /* smoother easing */
    transform: scale(1);
    cursor: pointer;
}
.hotel-image {
    object-fit: cover;
}

.hotel-image-expand {
    object-fit: fill;
}

.grid-item:hover .hotel-image {
    transform: scale(1.1);
    /* Zoom in slightly */
    border-radius: 8px;
}

/* Grid Area Assignments */
.item-1 {
    grid-area: item1;
}

.item-2 {
    grid-area: item2;
}

.item-3 {
    grid-area: item3;
}

.item-4 {
    grid-area: item4;
}

.item-5 {
    grid-area: item5;
}

.rooms-card.active {
    border: 2px solid var(--primary-color);
}

#hotel-image-modal .modal-header {
    background-color: transparent;
    border: none;
}
#hotel-image-modal .hotel-image-expand {
    height: 550px;
}
#hotel-image-modal .modal-content {
    background-color: transparent;
    border: none;
}

/* Sub menu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    min-width: 180px;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Optional: Prevent dropdown from closing on click inside */
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu > a::after {
    float: right;
    margin-left: 3px;
    /* content: "▶"; */
}

/* Align left if necessary */
.dropdown-menu.submenu-left {
    right: 100%;
    left: auto;
}

/* Default right alignment */
.dropdown-menu.submenu-right {
    left: 100%;
    right: auto;
}

/* Sub menu styles */

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: none;
    }

    .grid-item {
        grid-area: unset !important;
        height: auto;
    }

    .hotel-image {
        height: auto;
    }

    #hotel-image-modal .hotel-image-expand {
        height: 400px;
    }
}
/* Hotel Details Page CSS end */

.sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid var(--grey-dark);
}
.sticky-card {
    position: sticky;
    top: 10%;
    z-index: 10;
}
@media only screen and (max-width: 600px) {
    .ml-4 {
        margin-left: 0rem !important;
    }

    .svg-ml-6 {
        margin-left: 9rem !important;
    }

    .car_image {
        width: 60%;
    }
}
/*end of  customer-admin css */

/* Mobile */
@media screen and (max-width: 992px) {
    .font-size-xs {
        font-size: 8px !important;
    }

    .font-size-sm {
        font-size: 10px !important;
    }

    .font-size-md {
        font-size: 12px !important;
    }

    .font-size-lg {
        font-size: 14px !important;
    }

    .font-size-xl {
        font-size: 18px !important;
    }

    .font-size-xxl {
        font-size: 20px !important;
    }

    .project_logo {
        width: 120px;
    }

    .social-flex {
        justify-content: flex-start;
    }

    .company-banner img {
        width: 80px;
    }

    .hero-promo-img {
        width: 50%;
    }

    .hero-section {
        height: 90vh;
        padding: 10px !important;
        justify-content: start;
    }

    .search-form {
        max-width: 100% !important;
    }

    .info-flex {
        width: 100%;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .subscribe-flex {
        width: 100%;
    }
    .border-left-d-md {
        border: none;
    }

    .promo-canvas {
        width: 100vw !important;
    }

    .search-header {
        max-width: 100%;
    }
}

@media screen and (max-width: 780px) {
    .footer .footer-content,
    .footer .footer-socials {
        flex-direction: column;
    }
}

/** datepicker and timepicker**/
/* .datepicker-days table,
td,
th {
    border: none !important;
} */

.ui-timepicker-standard a {
    font-size: 14px;
}

.ui-timepicker-viewport > .ui-menu-item {
    width: auto !important;
    white-space: nowrap !important;
}
/** end datepicker and timepicker**/

@media screen and (min-width: 1400px) {
    .supplier-flex {
        gap: 0.5rem;
    }

    .supplier-flex .supplier-card {
        width: 150px;
    }
}

@media screen and (max-width: 1399px) {
    .supplier-flex {
        gap: 0.9rem;
    }

    .supplier-flex .supplier-card {
        width: 120px;
    }
}

.tab-content-scroll {
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
}
