#search_block_top {
    padding-top: 10px;
    float: right;
  width:57%;
}
.isStuck #search_block_top {
    /*padding-top:11px;*/
    padding-top: 5px;
    margin-right: 40px;
    padding-left: 10px;
}

.isStuck .RadSearchBox_Silk .rsbButtonSearch {
    color:#fff!important;
}


    .RadSearchBox {
    width: 100% !important;
}
.RadSearchBox_Silk .rsbInput {
    width: 100% !important;
    height:32px !important;
}
.RadSearchBox_Silk .rsbLoadingIcon {
    /*background-image: url('/images/loadingred.gif')!important;*/
    background-image: url('/images/loadingray.gif') !important;
}
.RadSearchBox_Silk .rsbInner.rsbFocused {
    border-color: #999999 !important;
}

.search_query {
    /*without dropdown:*/
    width: 585px;
    /*with dropdown:*/
    /*width: 445px;*/
    display: inline-block !important;
    margin-right: -4px;
}
#searchbox .selector {
    /*display: inline-block;*/
    display: table-cell;
    width: 150px !important;
    font-size: 14px;
}
#searchbox div.selector span:before {
    background:none;
    border:none;
    font-size:15px;
    right:1px;
    top:7px;
}
#searchbox div.selector span {
    padding-right: 30px;
    width: 150px !important;
}

#search_block_top #searchbox {
    float: right;
    width: 100%;
    /*border: 1px solid #e5e5e5;*/
    position: relative;
    background: white;
    /*padding-right: 55px;*/
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    display: table;
}
.rsbPopup_Silk  .rsbListItemHovered {
    background-color: #ededed !important;
}
.rsbSlide, .rsbDropDownSlide {
float:right !important;
}

#search_block_top .RadSearchBox .rsbButton {
    float: right;
    right: -221px;
    position: absolute;
    width: 60px;
    color: white;
    height: 37px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 16px;
}

#search_block_top .RadSearchBox .rsbButton, #search_block_top .RadSearchBox_Silk .rsbButton:focus,
#search_block_top .RadSearchBox .rsbButtonSearch:hover {
    /*background: #bc1b0d;
    background-image: -moz-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: -o-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: -webkit-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: linear-gradient(#bc1b0d, #b1190c, #ab1609);*/
    border: none !important;
}

#search_block_top .btn.button-search /*.RadSearchBox_Silk .rsbButtonSearch*/ {
    /*color: white;
    background: #bc1b0d;
    background-image: -moz-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: -o-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: -webkit-linear-gradient(#bc1b0d, #b1190c, #ab1609);
    background-image: linear-gradient(#bc1b0d, #b1190c, #ab1609);
    border-color: #ff6026 #e8511b #8b2e0d #e8511b;*/
    border-width: 1px 1px 1px 1px;
    border-style: solid solid solid solid;
    -moz-border-radius: 0 2px 2px 0;
    -webkit-border-radius: 0;
    border-radius: 0 2px 2px 0;
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
    /*font: 400 17px/18px "Open Sans", sans-serif;*/
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    padding: 3px 10px 5px 10px;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    width: 56px;
    height: 27px;
    display: table-cell;
}
    #search_block_top .btn.button-search:hover {
      /*background: #ab1609;
      background-image: -moz-linear-gradient(#ab1609, #f6581e, #bc1b0d);
      background-image: -o-linear-gradient(#ab1609, #f6581e, #bc1b0d);
      background-image: -webkit-linear-gradient(#ab1609, #f6581e, #bc1b0d);
      background-image: linear-gradient(#ab1609, #f6581e, #bc1b0d);*/
      -moz-transition: all 0.2s linear;
      -o-transition: all 0.2s linear;
      -webkit-transition: all 0.2s linear;
      transition: all 0.2s linear; 
    }
    #search_block_top .btn.button-search:before {
        content: "\f002";
        font-family: "FontAwesome";
        font-size: 16px;
    }

.rsbPopup .rsbList {
    text-align:right;
}

    #search_block_top #search_query_top {
        display: inline-block;
        padding: 2px 13px 3px 10px;
        height: 25px;
        border: none;
        background: none;
    }

    .ac_results {
        background: white;
        border: 1px solid #e5e5e5;
        width: 271px;
        margin-top: -1px;
    }

        .ac_results li {
            padding: 0 10px;
            font-weight: normal;
            color: #686666;
            font-size: 13px;
            line-height: 22px;
        }

            .ac_results li.ac_odd {
                background: white;
            }

            .ac_results li:hover, .ac_results li.ac_over {
                background: #fbfbfb;
            }

    form#searchbox {
        position: relative;
    }

        form#searchbox label {
            color: #333333;
        }

        form#searchbox input#search_query_block {
            margin-right: 10px;
            max-width: 222px;
            margin-bottom: 10px;
            display: inline-block;
            float: left;
        }

        form#searchbox .btn.btn-sm {
            float: left;
        }

            form#searchbox .btn.btn-sm i {
                margin-right: 0;
            }


    #searchbox .riSingle {
        display: table-cell;
        width: 100% !important;
    }


@media (min-width: 769px) {
    .rsbSlide, .rsbDropDownSlide {
        width: 492px;
    }
}


@media (max-width: 768px) {
    #search_block_top {
        width: auto;
        float: none;
        padding: 0px !important;
        margin: 5px 3px;
        display: block;
        position: relative;
    }

        #search_block_top #searchbox {
            float: none;
            width: 100%;
            padding-right: 40px;
        }

    /*.RadSearchBox {
        width: auto !important;
    }*/

    .RadSearchBox_Silk .rsbInner {
        /*position:relative!important;*/
        /*width: 90%;*/
        position:inherit!important;
    }

    .RadSearchBox .rsbInput {
        margin: 0 !important;
    }

    .RadSearchBox .rsbLoadingIcon {
        position: absolute;
        left: 0px;
        top: 5px;
    }

    #search_block_top .RadSearchBox .rsbButton  {
        width: 40px;
        right: 3px;
        position: absolute;
    }

    .search_query {
        width: 100%;
    }
    .rsbSlide, .rsbDropDownSlide {
        width: 60%;
    }
    #search_block_top .btn.button-search {
        border: none;
        transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        background-image: none;
        -webkit-appearance: none;
    }

        #search_block_top .btn.button-search:hover {
            border: none;
            transition: none;
            -moz-transition: none;
            -ms-transition: none;
            -o-transition: none;
            background-image: none;
            -webkit-appearance: none;
        }


    #search_block_top .btn.button-search {
        content: " ";
        color: transparent;
        /*width: 37px;
        height:28px;*/
        width: 27px;
        height: 27px;
        /*padding-top: 3px;
        padding-bottom: 3px;*/
        padding: 4px 5px 5px 6px !important;
    }

    .button-search::before {
        content: "\f002";
        /*display: inline-block;*/
        display: inline;
        font-size: 19px;
        line-height: 19px;
        color: #fff;
        vertical-align: -2px;
        padding-left: 6px;
        font-weight: normal;
        font-style: normal;
        font-family: "FontAwesome";
    }
}

@media(max-width:424px) {
    #searchbox .selector {
        width: 100px !important;
    }

    #searchbox div.selector span {
        padding-right: 11px;
        padding-left: 5px;
        width: 100px !important;
    }

}

#searchbox > select{
    display:table-cell;
    width:auto;
}
    #searchbox > select + .RadSearchBox {
        display:table-cell;
    }

#searchbox div.selector select {
    opacity: 1;
    filter: alpha(opacity=1);
    -moz-opacity: 1;
    left: auto;
    width: 110%;
    right: 0;
    padding-right: 20px;
    font-family: inherit;
}