.page-search .region-content {
    max-width: 900px;
}

.page-search h2 + .custom-search-filter {
    border-bottom: 1px solid #bfb8af;
    padding-bottom: 20px;
    margin-bottom: -5px;
}

.page-search #edit-keys {
    width: 100%;
    border-radius: 8px;
    border: none;
    background-color: #f2f1ef;
    padding: 5px 12px 6px;
    color: #8c857b;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-sizing: border-box;
    margin-bottom: 35px;
}
.page-search #edit-basic {
    position: relative;
}
.page-search #edit-basic input[type=submit] {
    position: absolute;
    right: 0;
    top: 0;
    height: 31px;
    background: #004c97;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    text-indent: -1000px;
    width: 35px;
}

.page-search .search-item-type {
    background-color: #8c857b;
    color: #fff;
    padding: 1px 4px;
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    float: left;
    margin-top: 4px;
    margin-right: 6px;
}
.page-search .search-item-type.type-project {
     background-color: #0085ca;
}
.page-search .search-item-type.type-publication {
    background-color: #004c97;
}
.page-search .search-item-type.type-video {
    background-color: #582c83;
}
.page-search .search-item-type.type-event {
    background-color: #8c4799;
}
.page-search .search-item-type.type-blog {
    background-color: #94a596;
}
.page-search .search-item-type.type-news {
    background-color: #8c857b;
}
.page-search .search-item-type.type-newsletter {
    background-color: #a6192e;
}
.page-search .search-item-type.type-people {
    background-color: #a6192e;
}
.page-search .search-item-type.type-presentation {
    background-color: #64a70b;
}
.search-results-search-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: white;
    width: 35px;
    height: 31px;
    font-size: 17px;
    padding: 6px 0 0 0px;
    text-align: center;
    pointer-events: none;
}

.search-advanced {
    margin-bottom: 45px;
}
.search-advanced legend {
    width: 100%;
    background-color: #004c97;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-sizing: border-box;
}
.search-advanced.collapsed legend {
    border-radius: 8px;
}
.search-advanced legend a {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    padding: 6px 10px 5px 10px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.6px;
}
.search-advanced legend .summary {
    display: none;
}
html.js fieldset.search-advanced.collapsible .fieldset-legend {
    background: none;
}
html.js fieldset.search-advanced.collapsible .fieldset-legend:after {
    content: "\f068";
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    top: 5px;
    color: white;
    font-size: 14px;
    display: block;
}
html.js fieldset.search-advanced.collapsed .fieldset-legend:after {
    content: "\f067";
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    top: 6px;
    color: white;
    font-size: 14px;
    display: block;
}
.search-advanced .fieldset-wrapper {
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding-top: 20px;
    padding-bottom: 10px;
}
.search-advanced .fieldset-wrapper ul {
    margin-top: 0;
    padding-left: 40px;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.search-results {
    list-style-type: none;
    padding: 0;
}
.search-info {
    display: none;
}
.search-result {
    border-bottom: 1px solid #bfb8af;
}
.search-result .title {
    margin: 8px 0 0px;
    text-transform: capitalize;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.4px;
}
.search-result .title a {
    color: #231f20;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.search-snippet {
    margin-top: 0;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
}
.search-snippet strong {
    font-weight: 500;
}
@media(max-width: 767px) {
    .search-result .title {
        font-size: 16px;
        line-height: 1.2em;
        margin-bottom: 5px;
    }
    .search-snippet {
        font-size: 14px;
        line-height: 1.2em;
    }
    .search-advanced .fieldset-wrapper ul {
        padding-right: 10px;
        padding-left: 30px;
    }

}
