
#ais-wrapper {
    display: flex;
}

#ais-main {
    padding: 1rem;
    width: 100%;
}

#ais-facets {
    width: 40%;
    padding: 5%;
    padding: 1rem;
}

.ais-facets {
    margin-bottom: 2rem;
}

.ais-clearfix {
    clear: both;
}

#algolia-search-box {
    position: relative;
    margin-bottom: 3rem;
}

#algolia-search-box input {
    border: none;
    border-bottom: 2px solid #21A4D7;
    background: transparent;
    width: 100%;
    line-height: 30px;
    font-size: 22px;
    padding: 10px 0 10px 30px;
    font-weight: 200;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

#algolia-search-box .search-icon {
    position: absolute;
    left: 0px;
    top: 14px;
    fill: #21A4D7;
}

.ais-search-box--powered-by {
    position: absolute;
    top: 60px;
    right: 0;
    font-size: 14px;
    text-align: right;
}

.ais-search-box--powered-by-link {
    display: inline-block;
    width: 45px;
    height: 16px;
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    background-image: url('data:image/svg+xml;utf8,<svg width="169" height="54" viewBox="0 0 169 54" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="#46AEDA"><path d="M101.876 20.698l-2.458 8.73 7.916-4.348c-1.15-2.113-3.112-3.71-5.458-4.382zM88.002 14.806c-1.058-1.066-2.776-1.065-3.835 0l-.48.483c-1.058 1.064-1.057 2.794 0 3.86l.512.513c1.085-1.755 2.47-3.305 4.076-4.58l-.274-.277zM104.568 12.134c.004-.06.017-.115.017-.175v-1.366c0-1.507-1.214-2.73-2.71-2.73h-4.747c-1.497 0-2.71 1.222-2.71 2.73v1.34c1.51-.425 3.1-.658 4.744-.658 1.885 0 3.7.303 5.406.858"/><path d="M99.355 18.333c5.948 0 10.788 4.853 10.788 10.817s-4.84 10.816-10.788 10.816c-5.95 0-10.79-4.852-10.79-10.816s4.84-10.817 10.79-10.817M84.25 29.15c0 8.362 6.76 15.143 15.105 15.143 8.343 0 15.104-6.78 15.104-15.143s-6.762-15.143-15.105-15.143c-8.344 0-15.105 6.78-15.105 15.143z"/></g><path d="M30.23 43.472c-.624-1.66-1.21-3.29-1.758-4.893-.55-1.605-1.117-3.236-1.702-4.895H9.53l-3.46 9.787H.527c1.463-4.054 2.836-7.804 4.117-11.25 1.282-3.448 2.534-6.72 3.762-9.815 1.225-3.097 2.443-6.054 3.65-8.874 1.208-2.82 2.47-5.61 3.79-8.376h4.885c1.318 2.765 2.58 5.556 3.79 8.376 1.207 2.82 2.423 5.777 3.65 8.874 1.226 3.096 2.48 6.367 3.76 9.814 1.282 3.448 2.654 7.198 4.118 11.252h-5.82zm-4.998-14.21c-1.172-3.206-2.333-6.31-3.486-9.315s-2.352-5.888-3.596-8.654c-1.282 2.766-2.5 5.65-3.65 8.654-1.154 3.004-2.3 6.11-3.433 9.316h14.165zM49.444 44.024c-3.147-.073-5.38-.755-6.697-2.045-1.32-1.29-1.976-3.3-1.976-6.028v-34.5l5.106-.885v34.556c0 .85.073 1.55.22 2.102.146.552.384.995.713 1.327.328.33.768.58 1.317.746.55.165 1.227.304 2.03.415l-.713 4.31M73.767 40.597c-.44.296-1.29.673-2.553 1.133-1.263.46-2.736.692-4.42.692-1.72 0-3.34-.277-4.86-.83-1.518-.553-2.845-1.41-3.98-2.57-1.134-1.163-2.03-2.608-2.69-4.34-.658-1.733-.988-3.797-.988-6.193 0-2.102.31-4.028.933-5.78.62-1.75 1.527-3.26 2.717-4.533 1.19-1.27 2.644-2.267 4.365-2.985 1.72-.72 3.66-1.08 5.82-1.08 2.38 0 4.456.177 6.232.527 1.775.35 3.266.672 4.474.966V41.26c0 4.424-1.134 7.63-3.403 9.62-2.27 1.99-5.71 2.985-10.323 2.985-1.794 0-3.486-.146-5.078-.44-1.593-.297-2.975-.646-4.145-1.05l.932-4.48c1.024.404 2.278.765 3.76 1.078 1.483.313 3.03.47 4.64.47 3.038 0 5.224-.608 6.56-1.825 1.337-1.215 2.005-3.15 2.005-5.805v-1.216zM71.653 18.84c-.86-.128-2.022-.193-3.486-.193-2.745 0-4.86.904-6.34 2.71-1.484 1.806-2.225 4.2-2.225 7.187 0 1.66.21 3.078.63 4.257.422 1.182.99 2.157 1.703 2.932.714.773 1.538 1.345 2.47 1.713.934.37 1.896.553 2.884.553 1.352 0 2.597-.193 3.732-.58 1.134-.388 2.03-.838 2.69-1.354V19.256c-.513-.148-1.2-.286-2.06-.415zM128.387 44.025c-3.148-.074-5.38-.755-6.698-2.046-1.32-1.29-1.977-3.3-1.977-6.027v-34.5l5.106-.885v34.555c0 .85.072 1.55.218 2.102.147.552.385.995.715 1.327.328.33.767.58 1.317.746.55.166 1.225.304 2.03.415l-.713 4.312M137.336 9.525c-.914 0-1.693-.305-2.332-.912-.642-.61-.962-1.428-.962-2.46 0-1.033.32-1.853.962-2.46.64-.61 1.418-.913 2.332-.913.915 0 1.693.303 2.334.912.64.608.96 1.428.96 2.46 0 1.033-.32 1.852-.96 2.46-.64.608-1.42.913-2.334.913zm-2.525 5.197h5.107v28.75h-5.106v-28.75zM157.925 14.003c2.05 0 3.78.27 5.19.802 1.407.535 2.542 1.29 3.402 2.266.86.98 1.474 2.14 1.84 3.485.365 1.346.55 2.83.55 4.45v17.97c-.44.074-1.054.175-1.84.304-.788.128-1.675.248-2.663.358-.99.11-2.06.212-3.212.304-1.154.09-2.298.138-3.432.138-1.61 0-3.093-.165-4.447-.497-1.354-.332-2.526-.858-3.514-1.576-.99-.718-1.758-1.667-2.307-2.847-.55-1.18-.823-2.6-.823-4.258 0-1.584.32-2.948.96-4.09.64-1.143 1.51-2.064 2.608-2.765 1.1-.7 2.38-1.217 3.844-1.548 1.463-.333 3-.5 4.612-.5.51 0 1.043.028 1.592.084.55.055 1.07.13 1.564.22.494.094.925.176 1.292.25.365.074.62.13.768.166v-1.438c0-.848-.092-1.686-.275-2.516-.184-.83-.513-1.566-.988-2.21-.476-.646-1.126-1.162-1.95-1.55-.823-.386-1.894-.58-3.21-.58-1.686 0-3.158.12-4.42.36-1.263.24-2.206.49-2.83.746l-.602-4.257c.658-.294 1.757-.58 3.294-.857 1.536-.277 3.2-.415 4.995-.415zm.44 25.765c1.207 0 2.278-.028 3.21-.083.935-.056 1.712-.156 2.335-.304v-8.57c-.367-.183-.962-.34-1.785-.47-.824-.128-1.82-.193-2.992-.193-.77 0-1.584.056-2.443.166-.86.11-1.648.342-2.36.69-.715.352-1.31.83-1.786 1.44-.475.607-.713 1.41-.713 2.404 0 1.843.586 3.124 1.758 3.842 1.17.72 2.763 1.078 4.776 1.078z" fill="#1D3657"/></g></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}
.ais-stats {
    position: absolute;
    top: 60px;
    font-size: 14px;
}

.ais-hits--item {
    /* hit item */
    margin-bottom: 2rem;
}

.ais-hits--item h2 {
    margin: 0;
}

.ais-hits--tags {
    margin-bottom: 1rem;
}

.ais-hits--tag {
    background: #F2F2F2;
    padding: 0px 7px;
    border-radius: 2px;
    display: inline-block;
    margin-right: .5rem;
    margin-bottom: .5rem;
    font-size: 14px;
}


.ais-hits--item em, .ais-hits--item a em {
    font-style: normal;
    background: #FFFBCC;
    border-radius: 2px;
}

.ais-hits--thumbnail {
    float: left;
    margin-right: 2rem;
}

.ais-hits--content {
    overflow: hidden;
}

.ais-hits--thumbnail img {
    border-radius: 3px;
}

.ais-pagination {
    margin: 0;
}

.ais-pagination--item {
    /* pagination item */
    display: inline-block;
    padding: 3px;
}

.ais-pagination--item__disabled {
    /* disabled pagination item */
    display: none;
}

.ais-pagination--item__active {
    font-weight: bold;
}

.ais-menu--item__active {
    /* active list item */
    font-weight: bold;
}

.ais-hierarchical-menu--list__lvl1 {
    /* item list level 1 */
    margin-left: 10px;
}

.ais-hierarchical-menu--list__lvl2 {
    /* item list level 0 */
    margin-left: 10px;
}

.ais-range-slider--target {
    position: relative;
    direction: ltr;
    background: #F3F4F7;
    height: 6px;
    margin-top: 2em;
    margin-bottom: 2em;
}

.ais-range-slider--base {
    height: 100%;
    position: relative;
    z-index: 1;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    border-left: 2px solid #DDD;
    border-right: 2px solid #DDD;
}

.ais-range-slider--origin {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
}

.ais-range-slider--connect {
    background: #46AEDA;
}

.ais-range-slider--background {
    background: #F3F4F7;
}

.ais-range-slider--handle {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    border: 1px solid #46AEDA;
    border-radius: 50%;
    cursor: pointer;
}

.ais-range-slider--handle-lower {
    left: -10px;
    bottom: 7px;
}

.ais-range-slider--handle-upper {
    right: 10px;
    bottom: 7px;
}

.ais-range-slider--tooltip {
    position: absolute;
    background: #FFFFFF;
    top: -22px;
    font-size: .8em;
}

.ais-range-slider--pips {
    box-sizing: border-box;
    position: absolute;
    height: 3em;
    top: 100%;
    left: 0;
    width: 100%;
}

.ais-range-slider--value {
    width: 40px;
    position: absolute;
    text-align: center;
    margin-left: -20px;
    padding-top: 15px;
    font-size: .8em;
}

.ais-range-slider--value-sub {
    font-size: .8em;
    padding-top: 15px;
}

.ais-range-slider--marker {
    position: absolute;
    background: #DDD;
    margin-left: -1px;
    width: 1px;
    height: 5px;
}

.ais-range-slider--marker-sub {
    background: #DDD;
    width: 2px;
    margin-left: -2px;
    height: 13px;
}

.ais-range-slider--marker-large {
    background: #DDD;
    width: 2px;
    margin-left: -2px;
    height: 12px;
}

.ais-range-slider--marker-large:first-child {
    margin-left: 0;
}

.ais-star-rating--item {
    /* list item */
    vertical-align: middle;
}

.ais-star-rating--item__active {
    /* active list item */
    font-weight: bold;
}

.ais-star-rating--star {
    /* item star */
    display: inline-block;
    width: 1em;
    height: 1em;
}

.ais-star-rating--star:before {
    content: '\2605';
    color: #FBAE00;
}

.ais-star-rating--star__empty {
    /* empty star */
    display: inline-block;
    width: 1em;
    height: 1em;
}

.ais-star-rating--star__empty:before {
    content: '\2606';
    color: #FBAE00;
}

.ais-star-rating--link__disabled .ais-star-rating--star:before {
    color: #C9C9C9;
}

.ais-star-rating--link__disabled .ais-star-rating--star__empty:before {
    color: #C9C9C9;
}

.ais-root__collapsible .ais-header {
    cursor: pointer;
}

.ais-root__collapsed .ais-body, .ais-root__collapsed .ais-footer {
    display: none;
}

/* Hierarchical Menu: Categories */
.ais-hierarchical-menu--item__active > div > a {
    font-weight: bold;
}

/* Responsive */
@media only screen and (max-width: 1000px) {
    #ais-facets {
        display: none;
    }

    .ais-hits--thumbnail img {
        width: 100% !important;
    }
    .ais-hits--item {
        border-bottom: 1px solid gainsboro;
        padding-bottom: 23px;
    }
}

@media only screen and (max-width: 500px) {
    .ais-hits--thumbnail {
        margin-right: 0 !important;
        margin-bottom: 10px;
        float: none !important;
    }
}
