.site-search-widget {
    padding-bottom: 50px;
    background: #ffffff;
    .dropdown-group {
        position: inherit;
        display: inline-block;
        vertical-align: middle;
        width: 100%;
        float: left;
    }
    button {
        &.dropdown-toggle {
            background-color: #f0efed;
            padding: 15px 20px;
            font-size: 1em;
            font-weight: 600;
            color: #575a5d !important;
            float: left;
            border: 1px solid #ffffff;
            text-align: left;
            width: 100%;
            margin-bottom: 20px;
            font-family: Arial, Helvetica, sans-serif;
        }
    }
    .dropdown-menu {
        font-family: Arial, Helvetica, sans-serif;
        position: absolute;
        top: 55px;
        left: 0;
        z-index: 1000;
        float: left;
        padding: 0;
        margin: 0;
        list-style: none;
        font-size: 1em;
        font-weight: 600;
        text-align: left;
        background-color: #f0efed;
        border: 1px solid #ccc;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0px;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        width: 100%;
        max-height: 300px;
        overflow-y: scroll;
        li {
            margin: 0;
            a {
                display: block;
                margin: 0;
                padding: 15px 20px;
                clear: both;
                font-size: 1em;
                font-weight: 600;
                line-height: 1.42857143;
                color: #575a5d;
                white-space: nowrap;
                &:hover {
                    background: transparent;
                }
            }
        }
    }
    .squaredOne {
        width: 20px;
        height: 20px;
        position: relative;
        margin: 0px 20px 0px 0px;
        background: #ffffff;
        display: block;
        cursor: pointer;
        p {
            font-family: Arial, Helvetica, sans-serif;
            display: inline;
            padding-left: 15px;
            font-weight: 700;
        }
        label {
            width: 20px;
            height: 20px;
            position: absolute;
            top: 0px;
            left: 0px;
            cursor: pointer;
            &:after {
                width: 16px;
                height: 16px;
                position: absolute;
                top: 2px;
                left: 2px;
                background: #575a5d;
            }
            &:hover {
                &::after {
                    opacity: 0.8;
                }
            }
        }
        input[type=checkbox] {
            visibility: hidden;
        }
        input[type=checkbox]:checked + label:after {
            opacity: 1;
            background: white;
        }
    }
    .no-padding {
        padding: 0 !important;
    }
    h1 {
        color: #ae005f;
        text-align: center;
        line-height: 1.2em;
        margin-bottom: 10px;
        margin-top: 0;
        position: relative;
        padding-top: 100px;
    }
    img {
        margin: 0 -50px;
        margin-bottom: 50px;
        position: absolute;
        width: 100%;
    }
    p {
        text-align: left;
        color: #575a5d;
        font-weight: 400;
        margin-top: 0;
        display: block;
        a {
            transition: color 0.4s ease;
            font-size: 1em;
            text-align: center;
            color: #999;
            font-weight: 100;
            margin-top: 0;
            margin-bottom: 20px;
            text-decoration: underline;
            &:hover {
                font-size: 1em;
                text-align: center;
                color: #575a5d;
                font-weight: 100;
                margin-top: 0;
                margin-bottom: 20px;
                text-decoration: underline;
            }
        }
    }
    input {
        &.text-field-three-fourth {
            background-color: #f0efed;
            padding: 15px 20px;
            font-size: 1em;
            font-weight: 500;
            color: #999999 !important;
            float: left;
            border: 1px solid #ffffff;
            text-align: left;
            width: 75;
            margin-bottom: 20px;
        }
    }
    button.primary-button.search-button {
        width: 25%;
        border: 1px solid #ffffff;
    }
    h4 {
        font-weight: 300;
        color: #575a5d;
        margin: 0;
        line-height: 1.2em;
        font-weight: 300;
        a {
            color: #ae005f;
            text-decoration: none;
            &:hover {
                color: #ae005f;
                text-decoration: underline;
            }
        }
    }
    h5 {
        color: #575a5d;
        margin: 0 0 20px 0;
        display: inline-block;
    }
    h6 {
        color: #000;
        font-size: 1em;
        margin: 0 0 20px 0;
    }
    h7 {
        font-size: 0.875em;
        color: #575a5d;
        margin: 0 0 10px 0;
        width: 100%;
        display: block;
    }
    p {
        color: #575a5d;
    }
    .dropup, 
    .dropdown {
        position: initial;
    }
    .primary-button {
        width: 100%;
        padding: 15px 20px;
        font-weight: 300;
        font-size: 1em;
        &:hover {
            font-size: 1em;
        }
    }
    i.chevron-down {
        background: url(../images/down-arrow.svg);
        width: 20px;
        height: 20px;
        margin-top: 5px;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
    }
    i.chevron-up {
        background: url(../images/up-arrow.svg);
        width: 20px;
        height: 20px;
        margin-top: 5px;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .search-results-container {
        padding-top: 80px;
    }
    .sort-filter {
        color: #575a5d;
        cursor: pointer;
        &.selected {
            font-family: Arial, sans-serif;
            font-weight: 700;
            color: #575a5d;
        }
        &:hover {
            text-decoration: underline;
        }
    }
    .result-filters {
        background-color: #f0efed;
        padding: 30px;
        a {
            color: #575a5d;
            &.selected {
                font-family: Arial, sans-serif;
                font-weight: 700;
                color: #575a5d;
            }
        }
        span {
            &.remove {
                text-align: right;
                font-size: 0.75em;
                margin-top: 3px;
                text-decoration: none;
                cursor: pointer;
                float: right;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .site-search-widget {
        h4 {
            margin-bottom: 0px;
            display: inline-block;
            width: 100%;
        }
        h7 {
            strong {
                margin-top: 20px;
                display: block;
            }
        }
        .result-filters {
            padding: 20px;
            margin: 40px -20px 40px -20px;
        }
        img {
            margin: 0 -20px;
        }
    }
}
