h1 {
    font-family: 'DeltaSans', sans-serif;
    color: #717D84;
    font-weight: normal;
    margin: 0;
    padding: 0 0 15px 0;
    font-size: 36px !important;
    line-height: 39px;
}

.circle {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #E1E6E6;
    color: #939CA0;
    display: table;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
    overflow: hidden;
}

    .circle span {
        display: table-cell;
        vertical-align: middle; /*font-family:sl, Arial, Helvetica, sans-serif;*/
        font-weight: bold;
    }

mark {
    background-color: #E0E6E6;
    color: inherit;
}

/**************** SEARCH BAR ****************/
#searchBar {
    background-color: #E1E6E6;
    padding-top: 60px;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

    #searchBar #counts {
        color: #717D84;
        font-size: 18px;
        margin-top: 72px;
    }

    #searchBar form * {
        float: left;
        line-height: 23px;
        padding: 1.6%;
    }

    #searchBar input[type=text] {
        width: 57.8%;
        max-height: 23px;
    }

    #searchBar input[type=submit] {
        background: #0087DC url(../images/general/magnifier.svg) center center no-repeat;
        background-size: 95%;
        text-indent: -9999px;
        width: 5%;
        cursor: pointer;
    }
/*****************************************/

/**************** FILTER ****************/
#filterBar {
    margin-bottom: 40px;
}

    #filterBar a {
        color: #717D84;
        font-size: 18px;
        text-decoration: none;
        margin-left: 20px;
    }

        #filterBar a:first-child {
            margin-left: 0;
        }

        #filterBar a.active, #filterBar a:hover {
            color: #0087DC !important;
        }
/****************************************/

/**************** SEARCH RESULTS ****************/
#searchResults {
    margin-bottom: 20px;
    width: 75%;
    max-width: 755px;
    font-size: 15px !important;
    line-height: 20px !important;
}

    #searchResults .result > div {
        float: left;
    }

    #searchResults .result > hr {
        float: right;
        border-bottom: 2px solid #D7D7D7;
        width: 75%;
        margin: 35px 0;
    }

    #searchResults .result .resultImage {
        width: 20%;
    }

        #searchResults .result .resultImage img {
            width: 100%;
            height: auto;
        }

    #searchResults .result .resultdetail {
        width: 70%;
        margin-left: 2%;
        padding-left: 3%;
        border-left: 4px solid #0087DC;
    }

        #searchResults .result .resultdetail > span, #searchResults .result .resultdetail > div {
            display: block;
            margin-top: 10px;
        }

            #searchResults .result .resultdetail > span:first-child {
                margin-top: 0;
            }

    #searchResults .result .resultTitle {
        color: #0087DC;
        font-weight: bold;
        text-decoration: none;
    }

        #searchResults .result .resultTitle:hover {
            text-decoration: underline;
        }

    #searchResults .result .resultdetail div.minitagG > span {
        display: inline-block;
        border-left: 1px solid #5e6a71;
        padding: 0 8px;
        font-weight: inherit;
    }

        #searchResults .result .resultdetail div.minitagG > span:first-child {
            border-left: 0;
            padding-left: 0;
        }

#pagination {
    margin-bottom: 50px;
    width: 75%;
    max-width: 755px;
}

    #pagination #numbers {
        float: right;
        color: #939CA0;
    }

        #pagination #numbers > span {
            position: relative;
            top: 5px;
            margin-left: 15px;
            float: left;
        }

        #pagination #numbers a.circle {
            float: left;
            margin-left: 15px;
        }

            #pagination #numbers a.active, #pagination #numbers a.circle:hover {
                background-color: #0087DC;
                color: #fff;
            }

        #pagination #numbers a#prev_results, #pagination #numbers a#next_results {
            float: left;
            width: 10px;
            height: 15px;
            display: inline-block;
            text-indent: -9999px;
            background: url(../images/search/left.png) top left no-repeat;
            background-size: 10px;
            margin-left: 15px;
            margin-top: 13px;
        }

        #pagination #numbers a#next_results {
            background-image: url(../images/search/right.png);
        }

            #pagination #numbers a#prev_results:hover, #pagination #numbers a#next_results:hover {
                background-position: bottom left;
            }

    #pagination .SumoSelect {
        display: none;
    }

.SumoSelect {
    width: 100%;
}

    .SumoSelect > .CaptionCont {
        background-color: #E1E6E6;
        padding: 2%;
    }

        .SumoSelect > .CaptionCont > span {
            color: #414141;
            font-weight: normal !important;
        }

    .SumoSelect > .optWrapper > .options li.selected {
        background-color: #0087DC;
    }
/************************************************/

@media screen and (max-width: 980px) {

    h2, h1 {
        font-size: 26px !important;
        line-height: 29px !important;
    }

    /***************** SEARCH ***************/
    #searchBar {
        padding-top: 30px;
    }

        #searchBar input[type=text] {
            width: 55.8%;
        }

        #searchBar input[type=submit] {
            width: 7%;
        }

        #searchBar #counts {
            font-size: 15px;
            margin-top: 42px;
        }
    /***********************************************/
}

@media screen and (max-width: 900px) {
    /***************** PRODUCT SEARCH ***************/
    #searchBar input[type=text] {
        width: 88.8%;
    }

    #searchBar input[type=submit] {
        width: 8%;
    }
    /***********************************************/

    #searchResults .file .resultdetail .minitagG span {
        display: block !important;
        border-left: 0 !important;
        padding: 0 !important;
        font-weight: inherit !important;
    }
}

@media screen and (max-width: 700px) {
    #filterBar a {
        font-size: 15px !important;
    }

    #pagination .SumoSelect {
        display: block;
    }

    #pagination #numbers {
        display: none;
    }

    #searchResults {
        margin-bottom: 0;
    }

    #pagination {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 500px) {
    /***************** PRODUCT SEARCH ***************/
    #searchBar input[type=text] {
        width: 85.8%;
    }

    #searchBar input[type=submit] {
        width: 11%;
    }
    /***********************************************/

    #filterBar a {
        font-size: 15px !important;
        display: block;
        margin: 0 0 10px 0;
    }

    #searchResults .result .resultImage {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    #searchResults .result .resultdetail {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    #searchResults .result > hr {
        width: 100%;
    }

    #searchResults .file .resultImage img {
        width: 50%;
    }

    #searchResults .result .no-image {
        display: none;
    }
}
