.vrcdivsearch {
    background: var(--color-primary-dark);
    color: var(--color-white);
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    width: 100%;
}

.vrcdivsearch-inner form {
    column-gap: 30px;
    display: grid;
    grid-template-areas:
        "search_datetimes search_locations"
        "search_datetimes search_categories_and_submit";
    margin: 0 auto;
    max-width: 1203px;
    width: 100%;
}

.vrcdivsearch-inner form > div {
    padding: 10px;
}

.vrcdivsearch .vrclocationsbox {
    flex-basis: 200px;
    margin-left: 15px;
}

.vrc-searchf-section-locations {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    grid-area: search_locations;
    margin-bottom: 10px;
    padding-bottom: 0 !important;
}
.vrc-searchf-section-locations .location-pickup,
.vrc-searchf-section-locations .location-return {
    max-width: 365px;
}

.vrc-searchf-section-locations .location-return {
    transition: all 0.3s ease-in-out;
}
.vrc-searchf-section-locations .vrcsfentryselect select {
    background-color: var(--color-white) !important;
    color: var(--color-primary-darker) !important;
    padding: 0 60px;
}

.vrc-searchf-section-locations .vrcsfentryselect {
    color: var(--color-primary-darker);
}

.vrc-searchf-section-locations .vrcsfentryselect:before {
    content: "\f3c5";
    position: absolute;
    left: 30px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.vrc-searchf-section-locations .vrcsfentrycont.samelocation input {
    display: none;
}

.checkbox {
    background-color: var(--color-primary-darker);
    border: 2px solid var(--color-primary-darker);
    border-radius: 50%;
    color: var(--color-white);
    display: inline-block;
    font-size: 12px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    width: 22px;
}
.checkbox:before {
    color: var(--color-white);
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    text-align: center;
    text-rendering: auto;
}
input[type="radio"]:not(:checked) + .checkbox,
input[type="checkbox"]:not(:checked) + .checkbox {
    background-color: var(--color-white);
}

.vrc-searchf-section-locations .vrcsfentrycont.samelocation .checkbox {
    border-color: var(--color-primary-light);
}

.vrc-searchf-section-locations .vrcsfentrycont.samelocation input:checked + .checkbox {
    background-color: var(--color-primary-light);
}

.vrc-searchf-section-datetimes {
    display: flex;
    gap: 20px;
    grid-area: search_datetimes;
    flex-direction: column;
    justify-content: flex-start;
}

.vrc-searchf-section-categories-and-submit {
    align-items: flex-start;
    display: flex;
    gap: 30px;
    grid-area: search_categories_and_submit;
    justify-content: start;
    padding-top: 0 !important;
}
.vrc-searchf-section-categories-and-submit > * {
    flex-basis: 50%;
}

.vrc-searchf-section-categories .vrcsfentrycont {
    align-items: center;
    display: flex;
    gap: 20px;
}

.vrc-searchf-section-categories .vrcsfentrycont label {
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.vrcsfentryselect {
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    line-height: 1;
    text-rendering: auto;
    position: relative;
}

.vrcsfentryselect:after {
    content: "\f078";
    cursor: pointer;
    pointer-events: none;
    position: absolute;
    right: 20px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.vrcdivsearch .vrcsfentrycont > div {
    display: inline-block;
}

.vrcdivsearch .vrcsfentrycont select,
.vrcdivsearch .vrcsfentrycont input {
    font-size: 0.9em;
}

.vrcsfentrycont .vrcsfentrydate input,
.vrcsfentrycont .vrcsfentrydate .hasDatepicker {
    background: var(--color-primary-darker) !important;
    border: 0;
    border-radius: 34px;
    box-shadow: none;
    color: var(--color-white) !important;
    height: 44px;
    flex: 1;
    float: left;
    font-size: 18px;
    font-weight: bold;
    line-height: 21px;
    margin: 0;
    padding: 0 50px 0 30px;
}

.vrcsfentrycont .vrcsfentrydate .ui-datepicker-trigger {
    display: none;
}

.vrcsfentryselect select {
    appearance: none !important;
    background: var(--color-primary-darker) !important;
    border: none;
    border-radius: 22px;
    color: var(--color-white) !important;
    font-size: 18px;
    font-weight: bold;
    height: 44px;
    line-height: 21px;
    margin-bottom: 0;
    padding: 0 40px 0;
    width: auto;
}

.vrcsfentryselect select:focus-visible {
    outline: none;
}

.vrcsfentrycont .vrctimesep {
    display: inline-block;
    padding: 0 5px;
    align-self: center;
}

.vrcsfentrycont #vrccomselph select,
.vrcsfentrycont #vrccomselpm select,
.vrcsfentrycont #vrccomseldh select,
.vrcsfentrycont #vrccomseldm select {
    padding: 0px 40px 0px 20px !important;
}

.vrcdivsearch .vrc-searchf-section-datetimes .vrcsfentrycont {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.vrcdivsearch .vrcsfentrycont .vrc-sf-time-container {
    display: flex;
}

.vrcdivsearch .vrcsfentrycont label {
    display: block;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
}

.vrcdivsearch .vrcsfentrycont .vrcsfentrytime label {
    visibility: hidden;
}

.vrcdivsearch .vrc-searchf-section-sbmt {
    align-self: center;
}

.vrcdivsearch .vrc-searchf-section-sbmt .vrcsfentrycont {
    margin-bottom: 0;
}

.vrcdivsearch .vrc-searchf-section-sbmt .vrcsfentrysubmit {
    display: block;
}

.vrcdivsearch .vrc-searchf-section-sbmt .vrcsfentrysubmit input {
    width: 100%;
}

.vrcdivsearch .vrcsfentrycont .vrc-sf-time-container span:not(.vrctimesep) {
    flex: 1;
}

.vrcdivsearch .vrcsfentrycont .vrc-sf-time-container span:not(.vrctimesep) select {
    width: 100%;
}

.vrc-searchf-section-sbmt {
    display: flex;
}

.vrc-searchf-section-sbmt .vrcsfentrycont {
    margin-top: auto;
    margin-bottom: 22px;
}

.vrcdivsearch .vrcsfentrylabsel .vrcsfentrydate {
    background: var(--color-primary-darker);
    border-radius: 34px;
    border: 1px solid var(--color-primary-darker);
    color: var(--color-white);
    min-width: 160px;
    padding: 0;
    position: relative;
}

.vrcdivsearch .vrcsfentrylabsel .vrcsfentrydate i {
    color: var(--color-white);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.vrcdivsearch .vrcsfentrytime > span {
    display: inline-block;
}

.vrcdivsearch .vrcsfentrycont div {
    display: inline-block;
    vertical-align: top;
}

.vrcdivsearch .vrcsfentrycont .vrcsfentryselect {
    display: block;
}

.vrcdivsearch .vrcsfentrycont .vrcsfentryselect select {
    width: 100%;
}

@media screen and (max-width: 1203px) {
    .vrcdivsearch-inner form {
        grid-template-areas:
            "search_locations"
            "search_datetimes"
            "search_categories_and_submit";
        max-width: 840px;
    }

    .vrc-searchf-section-datetimes {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 0px;
    }

    .vrc-searchf-section-categories-and-submit {
        gap: 70px;
        margin-top: 20px;
    }

    .vrcdivsearch .vrc-searchf-section-sbmt,
    .vrcdivsearch .vrc-searchf-section-sbmt .vrcsfentrycont {
        width: 100%;
    }
}

@media screen and (max-width: 980px) {
    .vrcdivsearch .vrc-searchf-section-locations .location-return {
        order: 3;
    }
    .vrcdivsearch .vrc-searchf-section-locations .samelocation {
        order: 2;
    }

    .vrcsearchview .vrcsfentrycont > div select {
        width: 100%;
    }

    .vrcsearchview .vrc-searchf-section-datetimes {
        width: 100%;
    }

    .vrcsearchview .vrc-searchf-section-datetimes .vrcsfentrycont .vrc-sf-time-container {
        display: flex;
    }

    .vrcsearchview
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrc-sf-time-container
        #vrccomselph,
    .vrcsearchview
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrc-sf-time-container
        #vrccomselpm,
    .vrcsearchview
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrc-sf-time-container
        #vrccomseldh,
    .vrcsearchview
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrc-sf-time-container
        #vrccomseldm {
        flex: 1;
    }

    .vrcsearchview .vrc-searchf-section-categories-and-submit {
        width: 100%;
        margin-right: 0;
    }

    .vrc-searchf-section-categories-and-submit {
        flex-direction: column;
        gap: 30px;
    }

    .vrcsearchview .vrc-searchf-section-sbmt {
        margin-left: 0;
        width: 100%;
    }

    .vrcsearchview .vrc-searchf-section-sbmt .vrcsfentrycont {
        margin-top: 0 !important;
    }

    .vrcsearchview .vrc-search-btn {
        width: 100%;
    }

    .vrcdivsearch .vrc-searchf-section-locations {
        align-items: start;
        flex-direction: column;
        flex-wrap: unset;
        max-width: 100%;
        width: 100%;
    }

    .vrcdivsearch .vrc-searchf-section-locations .vrcsfentryselect {
        width: 100%;
    }

    .vrcdivsearch .vrcsfentryselect select {
        width: 100%;
    }

    .vrcdivsearch .vrc-searchf-section-datetimes {
        width: 100%;
        flex-wrap: wrap;
    }

    .vrcdivsearch .vrcsfentrycont > .vrcsfentrytime {
        width: auto;
    }

    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrylabsel {
        flex: 1;
    }

    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrydate {
        width: 100%;
        display: flex;
        box-sizing: border-box;
    }

    .vrcdivsearch .vrc-searchf-section-datetimes .vrc-sf-time-container {
        width: 100%;
        display: flex;
    }

    .vrcdivsearch .vrc-searchf-section-sbmt .btn {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .vrcdivsearch .vrclocationsbox {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 660px) {
    .vrcsfentrycont .vrcsfentrydate .hasDatepicker,
    .vrcsfentryselect select {
        height: 35px;
        line-height: 35px;
    }

    .vrcdivsearch {
        padding-bottom: 30px;
    }

    .vrcdivsearch .vrcsfentrycont label {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .vrcdivsearch .vrcsfentrycont.samelocation label {
        display: flex;
        font-size: 15px;
        gap: 20px;
    }

    .vrc-searchf-section-locations {
        align-items: start;
        flex-direction: column;
        max-width: 100%;
        margin-right: 0;
    }

    .vrc-searchf-section-locations .vrcsfentrycont {
        width: 100%;
        flex-basis: 100%;
    }

    .vrc-searchf-section-locations .vrcsfentrycont select {
        width: 100%;
    }

    .vrc-searchf-section-datetimes {
        margin-bottom: 20px;
        width: 100%;
    }

    .vrc-searchf-section-categories-and-submit {
        justify-content: flex-start;
        gap: 10px;
    }

    .vrcdivsearch .vrcsfentrycont .vrcsfentrysubmit .vrc-search-btn {
        font-size: 15px;
        height: 35px;
        white-space: nowrap;
    }

    .vrc-searchf-section-categories .vrcsfentrycont {
        display: initial;
    }

    .vrc-searchf-section-categories .vrcsfentrycont label {
        margin-bottom: 15px !important;
    }

    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrylabsel {
        flex: 1;
        margin-right: 0;
    }

    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrytime {
        flex-basis: 100%;
        margin-right: 0;
    }

    .vrcdivsearch .vrcsfentrycont .vrcsfentrytime label {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrylabsel {
        min-width: inherit;
    }

    .vrcdivsearch
        .vrc-searchf-section-datetimes
        .vrcsfentrycont
        .vrcsfentrytime {
        width: auto;
    }
}
