.row {
    margin-left: 0;
}

#allSearch {
    width: 70%;
}

@media screen and (max-width: 768px) {
    #allSearch {
        width: 100%;
    }
}

#booking {
    font-family: 'Lato', sans-serif;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), */
    /* url("{% static 'flight/img/rbus.jpg' %}"); */
    /* url("../../images/bus/busNew.jpg"); */
    background-size: cover;
    background-position: center;
    color: #191a1e;
    position: absolute;
    z-index: 999;
}

.booking-form {
    max-width: none;
    padding: 20px 25px 25px;
    width: 85%;
}

.error {
    color: red;
}

.collapsible-body.collapsed {
    display: none;
}

@media screen and (max-width: 768px) {
    .tbar-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .tbar span {
        display: block;
        margin-top: 5px;
    }

    .tbar span:first-child {
        margin-top: 10px;
    }
}

.icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-container {
    position: relative;
}

.input-container input {
    padding-left: 30px;
}

.section {
    height: 80vh;
}




/* input */
.bus-input-container {
    position: relative;
}

.bus-input {
    width: 100%;
    padding: 1.75rem 1.25rem;
    font-size: 1.55rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding-left: 3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

}

.bus-input::placeholder {
    font-size: 1.55rem;
}

.bus-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.5rem;
}

.bus-input {
    pointer-events: auto;
}

.bus-input::-webkit-calendar-picker-indicator {
    /* display: none; */
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
}


.inside-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 9px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.inside-button:hover {
    background-color: #83a2bc;
    color: white;
}

.inside-button:nth-child(2) {
    top: 50%;
    right: 125px;
}

.today-button {
    /* background-color: grey; */
    right: 115px;
    box-shadow: 0px 0px 3px 0px grey;
}

.tomorrow-button {
    right: 10px;
    box-shadow: 0px 0px 3px 0px grey;
}


.arrow {
    text-align: center;
    background: #eeeeee;
    padding: 10px;
    border-radius: 0.5rem;
    cursor: pointer;
}

.bus-input:focus {
    outline: none;
}






/* filter */
.overlay {
    background: rgb(0 0 0 / 55%);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1030;
}

.search-section {
    padding: 50px 0;
}

.filter-header {
    font-weight: bold;
    font-size: 30px;
}

.filter-title {
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 14px;
    margin-bottom: 15px;
}

.title {
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 0;
    margin-bottom: 15px;
}

.mb-30 {
    margin-bottom: 30px;
}

.row-grid img {
    margin-bottom: 30px;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .filters-actions {
        position: fixed;
        background: #fff;
        display: flex;
        justify-content: center;
        border: 0;
        bottom: 0;
        z-index: 1031;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: 0px -2px 3px rgb(0 0 0 / 21%);
        -webkit-box-shadow: 0px -2px 3px rgb(0 0 0 / 21%);
        -moz-box-shadow: 0px -2px 3px rgb(0 0 0 / 21%);
        height: 50px;
    }

    .filters-actions>div {
        flex: 1;
        text-align: center;
    }

    .filters-actions>div:first-of-type {
        border-right: 1px solid #d6d1ce;
    }

    .filters-actions>div>* {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }


    .filter-btn,
    .filter-btn:hover,
    .filter-btn:focus,
    .filter-btn:active {
        padding: 14px 20px;
        height: 50px;
        border: 0;
        position: relative;
        z-index: 1;
        background: #fff;
        border-radius: 0;
    }

    .sort-drop .dropdown-menu {
        width: 100%;
        left: 0;
        position: fixed !important;
        transform: translateY(100%) !important;
        bottom: 50px !important;
        top: auto !important;
        text-align: center;
        border-radius: 6px 6px 0 0 !important;
        box-shadow: none !important;
        transition: 0.3s;
        display: block;
        /* border: 0;*/
        z-index: -11;
    }

    .sort-drop .dropdown-menu .dropdown-item {
        padding: 15px 20px !important;
    }

    .sort-drop .dropdown-menu .dropdown-item:first-child {
        border-radius: 6px 6px 0 0 !important;
    }

    .sort-drop.show .dropdown-menu {
        transform: translateY(0) !important;
    }

    .btn.sort-toggle {
        background-image: none;
        padding: 10px !important;
        width: 100%;
        border: 0;
        height: 50px;
        position: relative;
        z-index: 1;
        background: #fff;
        border-radius: 0;
        font-size: 16px;
        line-height: 22px;
    }

    .sidebar {
        position: fixed;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;

        background: #fff;
    }

    .sidebar.open {
        z-index: 1032;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
    }

    .sidebar__inner {
        padding: 15px;
        height: calc(100% - 58px);
        overflow-y: auto;
    }

    .filter-header {
        height: 58px;
    }

    .filter-body {
        padding-right: 0;
    }
}










/* bus search */
.circle {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3498db;
    /* Change color as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    width: 80%;
    height: 40px;
}

.body p {
    color: gray;
    font-size: 15px;
}

.body h4 {
    color: gray;
    font-size: 15px;
}

.flight-design {
    position: relative;
    height: 40px;
    /* Adjust height as needed */
}

.flight-design:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    /* Thickness of the line */
    background-color: #3498db;
    /* Color of the line */
    transform: translateY(-50%);
}

.flight-design {
    margin-top: 12px;
}

.flight-design i {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    color: #3498db;
    /* Color of the airplane icon */
}





/* seats */

.seat-type .col {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.seat-type .col span {
    font-size: 10px;
    line-height: .9;
}

.icon-error {
    margin-top: 5px;
    /* Adjust the margin-top value as needed */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* semi-transparent black */
    z-index: 1000;
    /* ensure it's above other content */
}

.loader-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}




.custom-loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;

    display: none;
}





.custom-dropdown {
    position: relative;
}

.custom-dropdown input[type="text"] {
    width: 100%;
}

.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    max-height: 200px;
    /* Set the fixed height for the dropdown */
    overflow-y: auto;
    /* Enable vertical scrolling if the content exceeds the height */
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 1;
}

.dropdown-content li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-content li:hover {
    background-color: #ddd;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: hsla(8, 57%, 95%, .7);
}

::-webkit-scrollbar-thumb {
    background: #2f71a9;
    /* background-color: hsla(8,57%,95%,.7); */
    border-radius: 10px;
}