.angolia-box select.ais-sort-by-selector {
    display: none;
}


#search-result {
    width: 34%;
    background-color: #363636;
}

.clear:after {
    content: '';
    display: table;
    clear: both;
}

#hits, #hitsq {
    margin: 4px 0;
    padding: 10px 3px;
    /*border-top: 2px solid #eee;*/
}


    /*result-search page*/

    #hits.content-search-result .hit {
        background-color: white;
    }

    #hits.content-search-result .hit-description {
        color: black;
        font-size: 16px;
        margin-bottom: 0px;
    }

    #hits.header-search {
        /*background-color: orange;*/
    }

        #hits.header-search .hit {
            /*background-color: purple;*/
        }

.hit {
    /*font-size: 0;
  padding: 8px 0;
  border-bottom: 1px solid #eee;*/
    /*position: absolute;*/
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*margin: 70px 140px 175px 140px;*/
    /*padding : 30px;
  width: 700px;
  height: 400px;*/
    background-color: #363636;
    /*visibility: hidden;*/
    /*border: 1px solid black;*/
    z-index: 1;
    font-size: 16px;
    font-weight: 300;
    padding: 8px 0;
    /*border-bottom: 1px solid #eee;*/
}

.hit-image {
    display: inline-block;
    width: 16%;
}

    .hit-image img {
        max-width: 100%;
        max-height: 180px;
    }

.hit-content-search-result {
    font-size: 13px;
    font-weight: 300;
    width: 86%;
    position: relative;
    display: inline-block;
    margin: 0 20px 0 20px;
    vertical-align: top;
}

    .hit-content a {
        cursor: pointer;
        /* position: relative; */
    }

    .hit-content .hit-metatitle {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 0;
        /* position: relative; */
        color: #000;
    }

.header-search .hit-content .hit-metatitle {
    font-size: 15px;
    color: #fff;
    width: 87%;
    font-weight: lighter;
    margin: 10px 0px 0 0;
}

.hit-content .hit-metatitle:hover {
    color: #00ace5;
}

.hit-content .hit-title {
    font-weight: normal;
    margin-top: 0;
}

.hit-content em {
    font-style: normal;
    font-weight: 900;
    /*background: #fbdde0;*/
}

.hit-content .hit-description {
    color: white;
}

/*.hit-content a h2:after {
    content: "\e258";
    font-family: 'Glyphicons Halflings';
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    margin-left: 7px;
    top: 14px;
    right: -4%;
    position: absolute;
    color: #fff;
}

.content-search-result .hit-content a h2:after {
    left: initial;
    right: initial;
    top: 23px;
}*/

.header-search .hit-content .hit-description {
    display: none;
}

.header-search .hit-publicationdate {
    margin-bottom: 0;
}

.hit-publicationdate {
    color: #afafaf;
}


.load-more-results {
    width: 100%;
    margin: 10px 0 50px 0;
    font-size: 16px;
    color: #f1f000;
    cursor: pointer;
    padding-left: 5%;
    padding-bottom: 3%;
}



.header-search.load-more-results .font2 {
    position: relative;
}

    .header-search.load-more-results .font2:after {
        content: "\e258";
        font-family: 'Glyphicons Halflings';
        font-size: 10px;
        font-style: normal;
        font-weight: 300;
        margin-left: 6%;
        top: 4px;
        position: absolute;
    }
/* for result page */

.navbar-inverse {
    background: #000;
}

.result {
    padding-top: 4%;
}

    .result .content-search-result {
        background-color: #FFF;
    }

.algoria-header-results {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 16px;
}

.header-results {
    margin-left: 15px;
    color: #afafaf;
    padding-top: 6%;
    border-bottom: 1px solid #afafaf;
    padding-bottom: 3px;
}

.result-full-search {
    min-height: 300px;
    max-width: 864px;
}

    .result-full-search .content-search-result {
        background-color: #FFF;
    }


/* PAGINATION */

#pagination {
    margin-top: 5px;
}

    #pagination ul {
        font-size: 0;
        list-style-type: none;
        text-align: center;
        padding: 10px;
        margin-bottom: 13px;
    }

    #pagination li {
        font-size: 14px;
        display: inline;
    }

    #pagination a {
        padding: 8px 12px;
        text-decoration: none;
        color: #000;
        border: 1px solid #363636;
    }

        #pagination a:hover {
            background: #ed5565;
        }

    #pagination li:first-child a {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    #pagination li:last-child a {
        border-right: 1px solid #363636;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
		margin-right: 5px;
		cursor: pointer;
    }

    #pagination li.ais-pagination--item__active a {
        color: white;
        border-color: #00ace5;
        /*#ed5565;*/
        background: #00ace5;
    }

        #pagination li.ais-pagination--item__active a:hover {
            cursor: default;
        }

    #pagination li.ais-pagination--item__disabled a {
        cursor: not-allowed;
    }

        #pagination li.ais-pagination--item__disabled a:hover {
            background: none;
        }


/* SORT BY */

#sort-by-wrapperq {
    font-weight: 300;
    position: relative;
    color: #afafaf;
}


#sort-byq select {
    font-size: 14px;
    font-weight: 600;
    padding-top: 14px;
    padding-bottom: 8px;
    padding-right: 50%;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-bottom: 2px solid #afafaf;
    margin-left: 4%;
}

#sort-by:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 0;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    color: #000;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    pointer-events: none;
}

#top-arrow {
    background-image: url(../img/rectangle-top.png);
    height: 10px;
    position: absolute;
    width: 20px;
    left: 11%;
    top: -10px;
}

/* STATS controls the vertical location for results */


/*#stats {
     color: white;
}

#stats .ais-stats--time {
  font-size: 0.8em;
  color: white;
}*/


/* FACETS */

.facet {
    margin-bottom: 24px;
}

    .facet h5 {
        margin: 0 0 6px;
        padding: 0 0 6px;
        text-transform: uppercase;
        border-bottom: 2px solid #eee;
    }

    .facet ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    .facet li {
        margin-bottom: 3px;
    }

.ais-refinement-list--label,
.ais-menu--link {
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.sffv_no-results {
    font-size: 13px;
    line-height: 1.2;
    padding-top: 6px;
}

.ais-refinement-list--label:hover,
.ais-refinement-list--item__active .ais-refinement-list--label,
.ais-menu--link:hover,
.ais-menu--item__active .ais-menu--link {
    color: #ed5565;
}

    .ais-refinement-list--item__active .ais-refinement-list--label:hover,
    .ais-menu--item__active .ais-menu--link:hover {
        text-decoration: line-through;
        color: #ed5565;
    }

.ais-refinement-list--count,
.ais-menu--count {
    position: relative;
    top: 3px;
    float: right;
    color: #999;
}

#type.facet .ais-refinement-list--checkbox {
    display: none;
}


/* NO RESULTS */

.no-results #pagination,
.no-results #sort-by,
.no-results #stats,
.no-results #facets {
    display: none;
}

#no-results-message {
    /*text-align: center;*/
    padding-top: 29px;
    margin-left: 5%;
}

    #no-results-message p {
        font-family: "montserrat-light";
        font-size: 16px;
        font-weight: 100;
        color: white;
    }

    #no-results-message ul {
        list-style-type: none;
    }

    #no-results-message li {
        font-size: 12px;
        position: relative;
        display: inline-block;
        margin: 4px 2px;
        padding: 4px 28px 4px 8px;
        color: #999;
        border: 1px solid #ddd;
        border-radius: 12px;
    }

        #no-results-message li span.value {
            font-weight: bold;
            color: #000;
        }

        #no-results-message li a.remove img {
            position: absolute;
            top: 3px;
            right: 5px;
            float: right;
            width: 17px;
            height: 17px;
            opacity: .5;
        }

        #no-results-message li a.remove:hover img {
            opacity: 1;
        }

a.clear-all {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    margin: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    border: 2px solid #ddd;
    border-radius: 4px;
}

    a.clear-all:hover {
        transition: border-color .3s ease-in;
        border-color: #999;
    }


/* SLIDER */

.ais-range-slider--target {
    margin: 40px 30px 40px 0;
    font-size: 13px;
}

.ais-range-slider--connect {
    background: #ed5565;
}

.ais-range-slider--handle {
    border-color: #ed5565;
}

@media (min-width: 769px){
	.service-titles-row {
	    padding-bottom: 57px;
	    padding-left: 40px;
	    padding-right: 40px;
	}
}

@media (max-width: 992px) and (min-width: 769px) {
    .ang-search-result {
        text-align: left;
    }
}