section.container.main-content {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

div.control-group {
    border: solid 4px #444;
    margin-top: 1em;
    background-color: #fff;
    overflow: hidden;
}

div.control-group h3 {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 -1em;
    padding: 0.3em;
    background-color: #001E4E;
    color: #fff;
}

span.icon {
    display: block;
    float: right;
    padding: 7px;
    margin-top: -3px;
    margin-bottom: -13px;
    border-radius: 5px;
    background-color: #ccc;
    text-align: center;
    color: #222;
}

span.icon span.glyphicon {
    margin-right: 0;
}

ul.search-option-list {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
}

div.control-group.no-clear ul.search-option-list {
    clear: none;
    margin-top: 0.5em;
}

ul.search-option-list input[type=checkbox] {
    margin-right: 0.5em;
}

ul.search-option-list li label {
    font-weight: bold;
}

ul.search-option-list li label span.subdued {
    font-weight: normal;
}

ul.search-option-list li {
    float: left;
    min-width: 70px;
    margin-right: 1em;
}

ul.search-option-list li label.disabled-option {
    color: #8a8a8a;
}

ul.search-option-list li label.disabled-option input {
    cursor: not-allowed;
}

.vehicle-type-panel {
    text-align: center;
}

.vehicle-type-panel ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
}

.vehicle-type-panel li {
    float: left;
    margin: 0;
    width: 25%;
}

.vehicle-type-panel.all li {
    width: 20%;
}

.vehicle-type-panel li img {
    width: 90%;
}

.vehicle-type-panel li span {
    display: block;
    min-height: 88px;
}

.btn-submit {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background-color: #444;
}

.btn-submit:hover {
    background-color: #999;
}

p.note {
    color: #f00;
    clear: both;
    margin-top: 0.5em;
}

p.note strong {
    text-decoration: underline;
}

.vehicle-type-camper-only.is-hidden,
.vehicle-type-motorhome-only.is-hidden {
    display: none !important;
}

.layout-columns {
    display: flex;
    gap: 1.25em;
    clear: both;
}

.layout-columns ul.search-option-list {
    flex: 1;
    clear: none;
    margin-top: 0.5em;
}

@media (min-width: 992px) {
    div.row.criteria-row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    div.row.criteria-row > div[class*="col-"] {
        display: flex;
    }

    div.row.criteria-row > div[class*="col-"] > div.control-group {
        width: 100%;
    }

    div.control-group {
        border-right: none;
        border-bottom: none;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    div.control-group:last-child {
        border-right: solid 4px #444;
    }

    div.row.last div.control-group {
        border-bottom: solid 4px #444;
    }

    div.control-group ul.search-option-list li {
        float: none;
        min-width: inherit;
        margin-right: 0;
    }

    div.control-group.columns ul.search-option-list li {
        float: left;
        min-width: 34%;
        margin-right: 2em;
    }

    div.control-group.columns ul.layouts {
        float: none;
        clear: both;
        margin-top: 0.5em;
    }

    div.control-group.columns ul.layouts li {
        float: none;
    }

    div.control-group.columns.columns-3 ul.search-option-list li {
        min-width: 25%;
        margin-right: 2em;
    }

    div.stock-search-header-row {
        margin-top: 1em;
        margin-bottom: 0.75em;
    }

    div.stock-search-header-row div.stock-search-header-desktop {
        border-right: solid 4px #444;
        margin-top: 0;
    }

    div.stock-search-header-desktop {
        background: #0d72ba url('/Images/Carousels/Misc/Stock-Search-Header.jpg') no-repeat center center;
        background-size: cover;
        min-height: 220px;
        padding: 1.5em 2em;
        justify-content: center;
        color: #fff;
    }

    div.stock-search-header-desktop h1 {
        margin: 0;
        font-size: 2em;
        font-weight: 700;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    div.stock-search-header-desktop p {
        margin-top: 0.6em;
        margin-bottom: 0;
        max-width: 760px;
        font-size: 1.15em;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
}
