﻿#search {
    background: #9199A1;
}

#search-container {
    background-color: #c2ccd4;
    border-bottom: solid 1px;
    width: 100%;
    -webkit-box-shadow: 0 1px 3px #000;
    -moz-box-shadow: 0 1px 3px #000;
    box-shadow: 0 1px 3px #000;
    position: relative;
    z-index: 2;
}

    #search-container a {
        margin: 3px 0 5px 0;
        display: inline-block;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        padding-right: 5px;
        text-align: right;
        cursor: pointer;
        font-size: 0.9em;
    }

#search-text-container {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px 5px;
}

    #search-text-container #searchText {
        width: 100%;
    }


#example-text-area {
    padding-left: 10px;
    margin: 16px 0 8px 0;
}

    #example-text-area p {
        margin: 0;
        font-weight: bold;
        font-size: 0.9em;
    }

    #example-text-area table {
        font-size: 0.9em;
        line-height: 1.15em;
    }

        #example-text-area table tr td:first-child {
            padding-right: 6px;
        }

#search .collapsible-body {
    background: none;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

/* SEARCH */

#search-results-groups {
    list-style: none;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}

#search-results {
    list-style: none;
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}

.main-search-results-container {
    background: #9199A1;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-header {
    height: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
}

.search-header-container {
    margin-left: 3px;
    margin-right: 3px;
    background: #1A2429;
    margin-top: 5px;
    width: auto;
    cursor: pointer;
    overflow-x: hidden;
}

.search-result {
    height: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.search-result-none {
    display: block;
    text-align: center;
    margin: 5px;
    font-style: italic;
}

.search-result-container {
    margin-right: 3px;
    background-color: #FAFAFC;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FAFAFC', endColorstr='#E8ECF2', GradientType=0 ); /* IE6-9 */
    background-image: -moz-linear-gradient(top, #FAFAFC 0%, #E8ECF2 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FAFAFC), color-stop(100%, #E8ECF2)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #FAFAFC 0%, #E8ECF2 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, #FAFAFC 0%, #E8ECF2 100%); /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, #FAFAFC 0%, #E8ECF2 100%); /* IE10+ */
    background-image: linear-gradient(to bottom, #FAFAFC 0%, #E8ECF2 100%); /* W3C */
    cursor: pointer;
    width: 100%;
    overflow-x: hidden;
}

    .search-result-container:hover {
        filter: none;
        background-image: none;
        background-color: #FEFEFE;
    }

    .search-result-container.selected {
        filter: none;
        background-image: none;
        background-color: #7DB1E8;
    }

.search-result-text-container {
    width: 100%;
    position: relative;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 4px 6px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.search-result-icon {
    height: 46px;
    padding: 4px;
    float: left;
    width: 46px;
}

.search-header-text {
    clear: both;
    color: #FEFEFE;
    font-size: 12px;
    position: relative;
    margin-left: 4px;
    float: none;
    cursor: pointer;
}

.search-result-primary-text {
    color: #1A2429;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
}

.search-result-invisible {
    display: none;
}

.search-result-edit {
    width: 16px;
    height: 16px;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    background-position: -32px -80px;
    background-image: url(images/ui-icons_222222_256x240.png);
}

    .search-result-edit:hover {
        background-position: -32px -80px;
        background-image: url(images/ui-icons_222222_256x240.png);
    }

.search-result-secondary-text {
    color: #9199A1;
    font-size: 13px;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
}

.search-result-container.selected .search-result-secondary-text {
    color: #435D68;
}

.search-result-other-text {
    color: #9199A1;
    position: absolute;
    top: 3px;
    right: 6px;
    font-size: 12px;
}

.search-result-container.selected .search-result-other-text {
    color: #FFFFFF;
}

/* Text boxes */
#search input[type="text"],
#search input[type="search"] {
    border: none;
    border-top: 2px solid #878b91;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 4px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: none;
    height: 34px;
    background: #fff;
}

    #search input[type="text"]:focus,
    #search input[type="search"]:focus {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        outline: #7db1e8 solid 2px;
        border-top-color: #0071bb;
    }

#search input[type="search"] {
    background: #fff url('../images/icon_search.png') no-repeat right center;
    padding-right: 24px;
}
