/*
* searchform-subpage.css (Main Search form for non-landing pages)
***************************************************************************** */
.cf:before, .cf:after {
    content: '';
    display: table;
}
.cf:after {
    clear: both;
}
/* -------------------------------------------------------------------------- */
/* sc = section */
.sc-search-form {
    display: block;
    min-height: 100px;
    width: 100%;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f9be34;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
    color: #fff;
}

.sc-search-form p {
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 200
}

.container-search-form {
    max-width: 100%;
}

.search-form {
    display: block;
    width: 1196px;
    max-width: 90%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    color: #fff;
}

.search-form img {
    margin-top: -5px;
}

.search-form input {
    height: 42px;
    font: normal 16px 'Open Sans', Arial, Helvetica, Sans-serif;
    color: #555;
    width: 49%;
    font-style: italic;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding-left: 55px;
    border: none;
    text-transform: uppercase;
}

.search-form input:first-of-type {
    margin-right: 0.5%;
}

.search-form input:nth-of-type(2) {
    margin-left: 0.5%;
}

.search-form input:focus {
    outline: 2px solid #f9be34;
}

.search-form input.near {
    background: url(/images/location.jpg) 12px 50% no-repeat #fff;
    padding-left: 90px;
}

.search-form input.find {
    background: url(/images/find.png) 12px 50% no-repeat #fff;
    padding-left: 60px;
}


/* *****************************************************************************
    Media Breakpoints
***************************************************************************** */
@media screen and (max-width:1200px), (max-device-width: 1200px) {
    .search-form {
        width: 95%;
    }

    .search-form input.topsearch {
        width: 49%;
    }
}

@media screen and (max-width:992px), (max-device-width: 992px) {
    .search-form {
        display: flex;
        flex-direction: column;
        width: 85.5%;
    }

    .search-form input {
        border: solid 1px #000;
        padding-left: 55px;
    }

    .search-form input, .search-form input.near, .search-form input.find {
        display: block;
        float: left;
        clear: left;
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
        font-size: 14px;
    }
}

@media screen and (max-width:768px), (max-device-width: 768px) {
    .sc-search-form {
        padding-top: 3%;
        padding-bottom: 3%;
    }
}
