﻿.searchBlock {
    float: left;
    margin-top: 10px;
}

.search-text {
    height: 36px;
    line-height: 36px;
    position: relative;
    width: 635px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    margin: 10px 0 0 10px;
}

    .search-text .input-text {
        width: 524px;
        height: 34px;
        line-height: 34px;
        float: left;
        padding-right: 96px;
        padding-left: 10px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        color: #8d8d8d;
        box-sizing: content-box;
        background: #ededed;
    }

    .search-text .search-button {
        width: 95px;
        height: 36px;
        line-height: 36px;
        float: right;
        margin-top: -37px;
        margin-right: -1px;
        -ms-border-radius: 5px;
        border-radius: 5px;
        background: url('img/hb_iconsearch.png') repeat-x top left;
    }

        .search-text .search-button
        /*Search Result*/
        .caption-search {
            padding: 20px;
        }

.caption-search span {
    text-transform: uppercase;
    color: #2956a4;
    font-weight: bold;
    margin-right: 10px;
}
.caption-search b {
    color: #2956a4;
}

.searchlist {
    padding: 20px 0 0 0;
}

    .searchlist .item {
        width: auto;
        border-bottom: solid 1px #ccc;
        border-left: solid 1px #ccc;
        border-right: solid 1px #ccc;
        padding: 15px 10px 10px 20px;
        overflow: hidden;
        background-color: #fff;
        position: relative;
    }

    .searchlist .first {
        border-top: solid 1px #ccc;
    }

    .searchlist .item > a {
        display: block;
        float: left;
        margin: 0 10px 10px 0;
    }

    .searchlist .item > a > img {
        width: 100px;
        height: 100px;
    }

    .searchlist .item .title {
        width: 802px;
        display: block;
        margin: 0 0 3px 0;
        background: none;
        padding: 0;
    }

        .searchlist .item .title a {
            font-weight: bold;
            color: #000;
            line-height: 18px;
            -ms-text-shadow: none !important;
            text-shadow: none !important;
        }

    /*.searchlist .item .title a:hover {
                color: #006400;
            }*/

    .searchlist .item .desciption {
        font: 12px/16px Arial;
        width: 520px;
        overflow: hidden;
        text-align: justify;
        float: left;
    }

    .searchlist .item .order {
        /*text-align: right;*/
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

        .searchlist .item .order b {
            border-right: 1px solid black;
            margin: 0 10px 0 5px;
            padding: 0 10px 0 0;
        }

            .searchlist .item .order b a {
                font-weight: bold;
                color: Black;
                text-decoration: none;
            }

                .searchlist .item .order b a:hover {
                    text-decoration: underline;
                }

        .searchlist .item .order a {
            color: #2956a4;
            font: 12px/17px Arial;
            text-decoration: underline;
        }

/*.searchlist .item .order a:hover {
                color: #006400;
            }*/
/*.searchlist .pager { width: 100%; position: relative; overflow: hidden; text-align: center; top: 15px; margin-bottom: 20px; }
        .searchlist .pager label { color: #656565; line-height: 20px; padding-right: 5px; display: inline-block; }
        .searchlist .pager a.num { width: 20px; height: 20px; line-height: 20px; color: #656565; text-align: center; display: inline-block; margin-left: 1px; }
        .searchlist .pager a.select, .searchlist .pager a:hover { color: #fff; font-weight: bold; background: #da6c00; border-radius: .5em; border: 1px solid #da6c00; }*/
.highlight {
    background-color: Yellow;
    color: #000 !important;
    -ms-text-shadow: none !important;
    text-shadow: none !important;
}


/**AutoComplete**/

.autocomplete-w1 {
    /*background: url(img/shadow.png) no-repeat bottom right;*/
    left: 0px;
    margin: 8px 0 0 6px;
    position: absolute;
    /* IE6 fix: */ _background: none;
    _margin: 0;
}

.autocomplete {
    background: #FFF;
    border: 1px solid #999;
    cursor: default;
    margin: -6px 6px 6px -6px;
    max-height: 350px;
    overflow: auto;
    text-align: left; /* IE6 specific: */
    _height: 350px;
    _margin: 0;
    _overflow-x: hidden;
}

    .autocomplete .selected {
        background: #F0F0F0;
    }

    .autocomplete div {
        padding: 2px 5px;
        white-space: nowrap;
    }

    .autocomplete strong {
        color: #3399FF;
        font-weight: normal;
    }

.qlTop {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: url(img/qlbg.png) no-repeat 0 top;
    border: 0px solid transparent;
    border-radius: 5px;
    height: auto;
    margin-left: -20px;
    margin-top: 5px;
    overflow: hidden;
    padding-top: 10px;
    position: absolute;
    width: 310px !important;
    z-index: 300;
}

    .qlTop .qlBottom {
        background: url(img/qlbg.png) no-repeat -620px bottom;
        padding-bottom: 10px;
    }

    .qlTop .qlContent {
        background: url(img/qlbg.png) repeat-y -310px 0;
        padding: 0 5px;
        width: 300px;
    }

.ac_results {
    background-color: white;
    padding: 0px;
}

    .ac_results * {
        float: none;
        font-size: 11px;
        line-height: 120%;
        list-style: none;
    }

    .ac_results ul {
        list-style: none;
        margin: 0;
        max-height: none !important;
        overflow: visible !important;
        padding: 0;
        width: 100%;
    }

    .ac_results li {
        cursor: default;
        display: block;
        font-size: 12px;
        height: auto; /*  	it is very important, if line-height not setted or setted  	in relative units scroll will be broken in firefox 	*/
        line-height: 16px;
        margin: 0px;
        min-height: 20px; /*  	if width will be 100% horizontal scrollbar will apear  	when scroll mode will be used 	*/ /*width: 100%;*/
        font: menu;
        overflow: hidden;
        padding: 0px 5px;
    }

        .ac_results li:hover {
            background: #ffcbb4 !important;
        }

        .ac_results li .caption {
            height: 25px;
            line-height: 25px;
            margin-left: -5px;
            padding-left: 10px;
            width: 300px;
        }

            .ac_results li .caption b {
                color: #B53510;
                font-size: 12px;
                font-weight: bold;
                line-height: 25px;
            }

        .ac_results li .thumb {
            float: left;
            padding: 8px;
            width: 48px;
        }

        .ac_results li .content {
            color: #000 !important;
            float: right;
            padding: 5px;
            width: auto;
            width: 216px;
        }

            .ac_results li .content .title {
                color: #000 !important;
                display: block;
                font-weight: bold !important;
                margin-bottom: 2px;
            }

                .ac_results li .content .title * {
                    color: #000 !important;
                    font-weight: bold !important;
                }

            .ac_results li .content .desc {
                color: #000 !important;
                display: block;
                font-weight: normal !important;
            }

                .ac_results li .content .desc * {
                    color: #000 !important;
                    font-weight: normal !important;
                }

.ac_loading {
    background: white /* url('indicator.gif') right center no-repeat*/;
}

.ac_odd {
    background-color: #fbfbfb;
}

.ac_over {
    color: #000;
}

* html .ui-autocomplete {
    height: 200px;
}

.autocomplete-w1 {
    /*background: url(img/shadow.png) no-repeat bottom right;*/
    left: 0px;
    margin: 8px 0 0 6px;
    position: absolute;
    top: 0px; /* IE6 fix: */
    _background: none;
    _margin: 0;
}

.autocomplete {
    background: #FFF;
    border: 1px solid #999;
    cursor: default;
    margin: -6px 6px 6px -6px;
    max-height: 350px;
    overflow: auto;
    text-align: left; /* IE6 specific: */
    _height: 350px;
    _margin: 0;
    _overflow-x: hidden;
}

    .autocomplete div {
        padding: 2px 5px;
        white-space: nowrap;
    }

    .autocomplete strong {
        color: #3399FF;
        font-weight: normal;
    }


.searchBlock .remove {
    background: url(img/delete.png) no-repeat center center;
    cursor: pointer;
    display: none;
    height: 16px;
    left: 3px;
    position: absolute;
    top: 6px;
    width: 16px;
    z-index: 20;
}

    .searchBlock .remove.fetching {
        background: url(img/cube_orange.gif) no-repeat center center;
    }

