.car-select-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    max-width: 1520px;
    width: 100vw;
    height: 100px;
    text-align: right;
    align-content: center;
    margin-bottom: -100px;
    border-bottom: 2px solid rgb(0, 131, 202);
    -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4)
}

.car-logo, .car-image {
    margin-top: 10px;
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
}

.car-image .car-reset {
    fill: #909090;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}
.car-image .car-reset:hover {
    fill: #0083ca;
}

/*.car-select, .model-select, .engine-select {*/
/*    padding: 8px;*/
/*    border-radius: 3px;*/
/*    border: 1px solid #bdbdbd;*/
/*    font-size: 12px;*/
/*}*/

.disabled-select {
    pointer-events: none;
    opacity: 60%;
}

.car-select {
    position: relative;
    cursor: pointer;
    text-align: left;
}

.car-options-container {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-width: 500px;
    width: 100%;
    max-height: 400px;
    min-height: 300px;
    overflow-y: auto;
    border-radius: 5px;
    padding: 0 10px 10px;
}

.model-options-container {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-width: 500px;
    width: 100%;
    max-height: 400px;
    min-height: 300px;
    overflow-y: auto;
    border-radius: 5px;
    padding: 0 10px 10px;
}

.model-select {
    position: relative;
    cursor: pointer;
    text-align: left;
}

.engine-select {
    position: relative;
    cursor: pointer;
    text-align: left;
}

#car-datatable thead,
#model-datatable thead {
    display: none;
}

#car-datatable, #car-datatable th, #car-datatable td,
#model-datatable, #model-datatable th, #model-datatable td {
    border: none;
}

.dataTables_filter {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

#car-datatable tr td:last-child,
#model-datatable tr td:last-child {
    border-bottom: none !important;
}

#car-datatable tbody tr,
#model-datatable tbody tr {
    border-bottom: 1px solid #d3d2d2;
}

#car-datatable tbody tr:hover,
#model-datatable tbody tr:hover {
    background-color: #0083ca;
    color: white;
}

#car-datatable_wrapper,
#model-datatable_wrapper {
    width: 100%;
}

#engine-datatable thead {
    display: none;
}

#engine-datatable, #engine-datatable th, #engine-datatable td {
    border: none;
}

#engine-datatable tr td:last-child {
    border-bottom: none !important;
}

#engine-datatable tbody tr {
    border-bottom: 1px solid #d3d2d2;
}

#engine-datatable tbody tr:hover {
    background-color: #0083ca;
    color: white;
}

#engine-datatable_wrapper {
    width: 100%;
}

.engine-options-container {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-width: 500px;
    width: 100%;
    max-height: 400px;
    min-height: 300px;
    overflow-y: auto;
    border-radius: 5px;
    padding: 0 10px 10px;
}

.hidden {
    display: none;
}

.car-select-block {
    display: flex; gap: 10px;
}

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

    .main-container {
        margin-top: 100px;
    }

    .page-header {
        margin-top: 70px;
    }
    .car-select-container {
        position: relative;
        height: 300px;
        padding: 10px;
    }
    .car-select-block {
        display: flex;
        flex-direction: column;
        width: 95vw;
    }

    .car-select-mobile-block {
        display: none;
        z-index: auto;
    }

    .car-select {
        width: 100%;
    }

    .content .row {
        flex-direction: column;
        align-items: center;
    }

    .content .col-sm {
        width: 100%;
        margin-bottom: 15px;
    }

    .car-logo {
        display:none;
        text-align: center;
        margin-bottom: 15px;
    }

    .car-image {
        display: block;
        position: absolute;
        right: 0;
        top: 65%;
        margin: 10px 0 20px;
        transform: scale(0.8);
    }

    /*.car-select, .model-select, .engine-select {*/
    /*    width: 100%;*/
    /*    margin-bottom: 10px;*/
    /*}*/

    .car-options-container,
    .model-options-container,
    .engine-options-container {
        width: 100%;
    }

    .car-select-mobile-block {
        z-index: 6000005;
    }
}

.car-type-select > button {
    /*padding: 0.5rem 0.8rem 0.5rem 0.6rem;*/
    /*border-radius: 4px;*/
}

.car-type-select > button > span {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 1rem);
}

.car-type-select .dropdown-menu .selected {
    background: #c2c2c2;
}

.car-select .dt-search .dt-input, .model-select .dt-search .dt-input, .engine-select .dt-search .dt-input {
    width: 100%;
}

.car-select .dt-search label, .model-select .dt-search label, .engine-select .dt-search label {
    display: none;
}

#car-selectors {
    margin: 0 auto;
}

#car-selectors table td {
    text-align: left;
}

#car-selectors table td:last-child {
    text-align: right;
}

#car-selectors table td:first-child {
    text-align: left;
}

.car-selectors table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}

.car-loader {
    margin: 0 auto;
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
}

.car-loader::before,
.car-loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.car-loader::before {
    border-color: #f03355 #0000;
    animation: inherit;
    animation-duration: .5s;
    animation-direction: reverse;
}

.car-loader::after {
    margin: 8px;
}

@keyframes l16 {
    100% {
        transform: rotate(1turn)
    }
}
