  ﻿.custom-search-page {
    width: 100%;
}

    .custom-search-page .ms-srch-sb-border {
        width: 463px;
    }

        .custom-search-page .ms-srch-sb-border:hover, .custom-search-page .ms-srch-sb-border:focus, .custom-search-page .ms-srch-sb-borderFocused, .custom-search-page .ms-srch-sb-border:active {
            width: 463px;
            !important;
        }
    /* Search Page */
    .custom-search-page .ms-srch-sbLarge {
        z-index: 1;
    }

#refiner-toggle {
    background-color: #0069a8;
    color: #fff;
    padding: 7px 5px 7px 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    margin: 20px 15px;
    display: none;
    cursor: pointer;
    margin-bottom: 0
}

    #refiner-toggle .fa {
        float: right;
        margin-right: 5px;
        cursor: pointer;
        margin-top: 2px;
    }

.ms-ref-refiner #Container {
    padding-bottom: 0;
}

.ms-ref-refinername:link, .ms-ref-refinername:visited {
    margin: 1rem 0 !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 0.5rem !important;
    color: #231f20;
}

.ms-ref-uparrow, .ms-ref-downarrow {
    margin-right: 10px;
}

.ms-ref-refiner #Value a, span.ms-ref-name {
    color: #0069a8;
    white-space: normal;
    display: table-cell;
}

.ms-ref-name {
    color: #0069a8;
    margin-bottom:0px;
}

.custom-search-page .srch-list {
    padding: 20px 15px;
    padding-right: 2rem;
}

.search-results h3, .search-results h3 a {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #0069a8;
    text-decoration: underline;
    padding: 2px 0px 2px 0px;
}

.custom-search-page .ms-srch-sbLarge {
    display: table;
    height: 30px !important;
    border: 0;
}

.custom-search-page #SearchBox {
    width: 100%;
    float: none;
}

.custom-search-page .ms-srch-sbLarge > input {
    float: none;
    display: table-cell;
    margin: 0 !important;
    background: none;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    padding: 0 0 0 8px !important;
    font-size: 16px !important;
    border: 0;
    height: 35px !important;
    width: 424px;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important
}

img.ms-srch-sbLarge-searchImg {
    display: none;
}

.ms-srch-sbLarge-searchImg {
    left: 0px;
}

.custom-search-page .ms-srch-sbLarge {
    position: relative;
}

.custom-search-page a.ms-srch-sb-searchLink {
    position: absolute !important;
    right: 0 !important;
    top: 0px !important;
    z-index: 1 !important;
    background-image: url("/Style%20Library/SCCOE/Images/search-btn-white.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: transparent !important;
    border: 1px solid !important;
    border-color: transparent !important;
    box-shadow: NONE !important;
    background-size: 20px 20px !important;
    height: 20px !important;
    width: 20px !important;
    text-indent: -9999px !important;
    color: #231f20 !important;
    background-color: #006d9e !important;
    padding: 16px !important;
    box-shadow: none !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important
}

    .custom-search-page a.ms-srch-sb-searchLink:focus, .custom-search-page a.ms-srch-sb-searchLink:active {
        background-image: url(/Style%20Library/SCCOE/Images/search-button.png);
    }

.ms-promlink-button {
    box-sizing: initial
}

.main-content.custom-search-page #SearchBox > .ms-srch-sbLarge {
    z-index: 40;
}

.ms-srch-resultFooter #ResultFooter {
    display: none;
}

.main-content {
    margin: 0px;
}

.ms-srch-result #UpScopeLinkTop {
    display: none !important;
}

.ms-srch-item-body {
    display: block !important;
}

.ms-webpart-zone, .ms-webpart-cell-vertical, .ms-webpart-chrome-vertical {
    display: block;
}

.ms-srch-item-previewContainer {
    display: none !important;
}

.ms-srch-item-path {
    color: #0069a8;
    text-decoration: underline;
}

div.ms-ref-unsel-shortList div#Value input[type='checkbox'] {
    margin-top: -1px;
}

div.ms-ref-unsel-shortList div#Value label {
    display: inline;
}

.ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
    display: none !important;
}

.ms-srch-result #PagingLink a {
    color: #545454;
}

.ms-srch-resultFooter, .ms-srch-resultFooter a {
    color: #545454;
}

a.ms-ref-refinername h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

a.ms-ref-refinername, a.ms-ref-refinername:hover {
    text-decoration: none;
}

#unselShortList input[type=checkbox] {
    margin: 0;
}

.ms-ref-refiner {
    padding: 0;
}

a.ms-ref-refinername, .ms-ref-refinername:link, .ms-ref-refinername:visited {
    width: 100%;
}

.ms-srch-item, .ms-srch-item-summaryPreview {
    width: 100%;
}

.ms-srch-item {
    margin-bottom: 20px
}

@media (min-width: 768px) {
    .custom-search-page .srch-list {
        display: block !important;
    }
}

@media only screen and (max-width: 767px) {
    .ms-srch-item-body .ms-srch-item-title h3.ms-srch-ellipsis {
        white-space: normal;
    }

    .custom-search-page .ms-srch-sb-border:hover, .custom-search-page .ms-srch-sb-border:focus, .custom-search-page .ms-srch-sb-borderFocused, .custom-search-page .ms-srch-sb-border:active {
        width: 100% !important;
    }

    .custom-search-page .ms-srch-sbLarge {
        width: 100%;
    }

    .custom-search-page .ms-srch-result .ms-srch-item-summaryPreview {
        width: 100%;
    }

    .ms-srch-sbLarge {
        display: block;
    }

    .custom-search-page .ms-srch-result .ms-srch-item {
        word-break: break-word;
    }

    .custom-search-page .srch-list {
        display: none;
    }

    #refiner-toggle {
        display: block;
    }

    .custom-search-page .srch-list {
        padding: 0px 15px;
    }

    .ms-ref-refiner #Value, .ms-ref-unsel-toggle, #OtherValue, #SubmitValue {
        padding: 0;
        padding-bottom: 0.5rem
    }
}

@media (min-width: 1200px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 280px !important;
    }
}

@media (max-width: 1024px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 155px !important;
    }
}

@media (min-width: 1100px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 280px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 250px !important;
    }
}

@media (min-width: 425px) and (max-width: 767px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 150px !important;
    }

    .custom-search-page .ms-srch-sb-border {
        width: 100% !important;
    }

    .ms-srch-item, .ms-srch-item-path, .ms-srch-sbLarge-fullWidth {
        width: 100% !important;
    }
}

@media (min-width: 320px) and (max-width: 424px) {
    .ms-srch-hover-outerContainer, ms-srch-hover-innerContainer.ms-srch-hover-standardSize {
        left: 80px !important;
    }

    .ms-srch-item, .ms-srch-item-path, .ms-srch-sbLarge-fullWidth {
        width: 100% !important;
    }
}
