.gallery-list img{
    border: 1px solid #000;
    padding: 5px;
    margin: 5px;
}
*{
    margin: 0;
    padding: 0;
}
img{
    z-index: -2;
    position: relative;
}
@font-face {
    font-family: Corbel; /* Aa?ieoo?a o?eooa */
    src: url(../../upload/font/corbel.ttf); /* Ioou e oaeeo ni o?eooii */
   }
body{
    width: 100%;
    height: auto;
}
.container{
    position: relative;
    z-index: 0;
    width: 1000px;
    min-width: 1000px;
    margin: 0px auto 0px;
}
h1{
    color: #424242;
    font-size: 24px;
    font-weight: normal;
}
.header{
   width: 1000px;
   height: 425px;
   background: url(../../upload/img/header.jpg);
}
.log_txt{
    padding: 20px;
    padding-right: 5px;
    float: left;
    width: 270px;
    text-align: center;
}
.log_txt a{
    color: black;
    text-decoration: none;
    font-size: 38px;
    line-height: 1.2;
    font-family: Corbel;
}
#logotip{
    width: 400px;
    height: 50px;
    float: left;
    padding-top: 25px;
}
#logotip ul{
    margin: 0;
    padding: 0;
}
#logotip ul li{
    display: inline;
    list-style: none;
    float: left;
    width: 70px;
    margin-right: 10px;
    margin-bottom: 10px;
}
#logotip ul li img{
    width: 80px;
    height: 40px;
}
#gor{
    float: left;
    width: 130px;
    padding-top: 20px;
    padding-left: 5px;
}
#spn_tel{
    display: block;
}
#tel{
    width: 160px;
    height: 50px;
    float: right;
    padding-top: 10px;
    text-align: right;
}
#tel span{
    font-size: 18px;
}
#head{
    background: url(../../upload/img/head.png);
    width: 1000px;
    height: 116px;
    margin-top: 15px;
}
/***********************************************/
#top_menu{
    margin-right: 20px;
    width: 738px;
    float: right;
    display: table;
}
#top_menu ul{
    margin: 15px auto;
    display: table;
    height: 70px;
}
#top_menu ul li{
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: bottom;
    *display: inline;
    zoom: 1;
    text-align: center;
    margin-right: 25px;
    margin-left: 25px;
    list-style: none;
    position: relative;
    cursor: pointer;
}
#top_menu ul li a{
    width: 80px;
    height: 70px;
    color: #262626;
    position: relative;
}
#top_menu ul li:hover{
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
}

/***********************************************/
.home{
    background: #f1da36; /* Aey noa?uo a?aoc?ia */
    background: linear-gradient(to top, #fefcea, #f1da36);
    padding: 10px;
    width: 980px;
    height: 50px;
    border-radius: 8px;
}
.home span{
    float: left;
    margin-top: 15px;
    margin-right: 10px;
}
.home input#nomer{
    position: relative;
    z-index: 2;
    width: 877px;
    float: left;
    margin-top: 10px;
    height: 25px;
}
.home input#button{
    background: url(../../upload/img/btn-search.png) no-repeat scroll left top rgba(0, 0, 0, 0);
    border: medium none;
    height: 30px;
    width: 73px;
    float: left;
    margin-top:12px;
    margin-left: 15px;
}
.home input#button:hover{
    background-position: 0 -32px;
}
/*********************************************/
#footer{
    border-top:  1px solid black;
    position: relative;
    z-index: 1;
    width: 1000px;
    height: 50px;
    margin-top: 25px;
}
#menu_footer{
    width: 998px;
    margin: 15px auto 45px;
    border: 1px solid #CDCDCD;
    padding: 5px 0;
}
#menu_footer ul{
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
}
#menu_footer ul li{
    width: auto;
    display: table-cell;
    list-style: none;
    text-align: center;
}
#menu_footer ul li:nth-child(2) a {
    color: red;
}
#menu_footer ul li:after {
    content: '|';
}
#menu_footer ul li:last-child:after {
    display: none;
}
#menu_footer ul li a{
    font-size: 16px;
    margin-right: 5px;
    text-align: center;
}
.topMenu{
    width: 930px;
    margin: 0 auto;
}
nav a, nav:before, nav div:before {
    display: table;
    color: #000;
    text-align: center;
    cursor: pointer;
    padding-top: 3px;
    padding-bottom: 3px
}
nav a {
    width: auto;
    display: inline;
    list-style: none;
    border-right: 1px solid black;
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding-right: 5px;
}
nav a:hover {
    text-decoration: underline;
}
#footer_logo{
    float: right;
    margin-top: 0px;
}
#footer_logo span{
    color: black;
    padding-top: 5px;
}
#LiveInternet{
    margin-top: 10px;
}
/**********************************88
form
**************************************/
#CallBack_body{
    max-width: 456px;
    min-width: 456px;
}
.modal-header {
    padding:0px 15px!important;
}
#myModal label {
    margin-bottom: 0px!important;
}
#CallBack_detali{
    max-width: 456px;
    min-width: 456px;
}
.list-view .items span.empty{
    color: red;
    font-size: 24px;
}

.pagination ul#yw3{
    /*position: absolute;*/
    bottom: 80px;
}
#formsearch{
    height: 45px;
}

#consultsystems_button_0{
    margin-top: 30.5px!important;
}
.modal.fade.in {
    top: 5%!important;
}
.modal-body{
    /*max-height: 500px!important;*/
}


/*Konstantin*/
/*контентная часть смещеная блоком с рекламой*/
.page-content{
    width: 80%;
    float: left;

}
.left{
    width: 20%;
    float: left;
    height: 200px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
}

.adv{
    display: block !important;
    visibility: visible !important;
    width: 100%;
    height: 100%;
    padding: 20px;
    border:1px solid red;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*************MENU************************/
#text_icon{
    text-align: center;
    padding: 0px;
    margin-top: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    height: 20px;
    display: none;
    background: #ebebeb;
}
#text_icon a{
    display: block;
    cursor: pointer;
    color: black;
    font-size: 16px;
}
@media(max-width: 1024px) {
    body{
        margin: 0;
        padding: 0;
    }
    .container{
        width: 768px;
        min-width: 768px;
    }
    #logotip{
        padding-left: 30px;
        width: 270px;
    }
    #gor{
        width: 150px;
        padding-left: 15px;
    }
    #spn_tel{
        display: inline;
        line-height: 45px;
    }
    #tel{
        width: 100%;
        float: none;
        text-align: right;
        clear: both;
    }
    #tel span{
        font-size: 16px;
    }
    #br{
        display: inline-block;
        float: left;
        margin-left: 15px;
    }
    #head{
        width: 768px;
        height: 116px;
        margin-top: 5px;
    }
    #menu_footer{
        width: 768px;
        margin: 15px auto 45px;
    }
    #menu_footer ul li a {
        color: black;
        font-size: 13px;
        margin-right: 5px;
    }
    .topMenu
    {
        width: 768px;
    }
    nav a{
        font-size: 13px;
    }
    .home {
        width: 768px;
        padding-left:0px;
        padding-right: 0px;
    }
    .home input#nomer{
        width: 650px;
    }
    #footer{
        width: 768px;
    }
}
@media(max-width: 768px) {
    body{
        padding: 0px;
    }
    .container{
        width: 100%;
        min-width: 100%;
    }
    .log_txt{
        padding-left: 5px;
        width: 180px;
    }
    .log_txt a{
        font-size: 18px;
    }
    #logotip{
        padding-left: 5px;
        padding-right: 5px;
        width: 60%;
        height: 100px;
        padding-top: 5px;
        float: right;
    }
    #logotip + .li_img{
        display: none;
    }
    #gor{
        width: 150px;
        padding-left: 30px;
        float: none;
    }
    #gor + .li_img{
        display: none!important;
    }
    #spn_tel{
        display: block;
        line-height: 20px;
    }
    #tel{
        position: relative;
        top:-100px;
        width: 50%;
        float: right;
        margin-right: 15px;
    }
    #br{
        display: inline-block;
        float: right;
        margin-left: 15px;
    }
    #head{
        width: 100%;
        height: 116px;
        margin-top: -25px;
    }
    #menu_footer{
        width: 100%;
        margin: 15px auto 20px;
    }
    #menu_footer ul li a {
        color: black;
        font-size: 13px;
        margin-right: 5px;
    }
    .home {
        width: 100%
    }
    h1 {
        font-size: 20px;
        line-height: 25px;
    }
    .page-content{
        width: 100%;
    }
    .home input#nomer{
        width: 375px;
    }
    #footer{
        width: 100%;
    }
    .topMenu
    {
        width: 100%;
    }
    nav a{
        font-size: 13px;
        display:block;
        border: none;
    }
    nav a, nav:before, nav div:before {
        width: 100%; /* пункты меню растягиваются на всю ширину блока */
    }
    nav:before {
        content: "меню";
        background: #ebebeb;
    }
    nav:focus:before {
        content: none;
    }
    nav:focus div:before {
        content: "свернуть меню";
        background: #ebebeb;
    }
    nav:not(:focus) div:not(:active) { /* магия кнопки "меню", благодаря чему навигация скрывается/появляется по щелчку */
        display: none;
    }
    .table-responsive{
        width: 100%;
        font-size: 12px;
        border: 0px solid #ddd!important;
    }
    #menu_footer ul li{
        border-right: 0px solid black!important;
    }
    .pagination ul>li>a, .pagination ul>li>span{
        padding: 4px 10px;
    }
    #text_icon{
        display: block;
        background: #FAAE41;
    }
    #menu_footer{
        display: none;
        width: 300px;
        /*margin: 15px auto 45px;*/
    }
    #menu_footer ul{
        margin: 0;
        display: block;
    }
    #menu_footer ul li{
        text-align: center;
        width: auto;
        display: block;
        list-style: none;
        padding: 5px;
        /*border-right: 1px solid black;*/
    }
    #menu_footer ul li a{
        color: black;
        font-size: 16px;
        margin-right: 5px;
    }
    .topMenu{
        width: 100%;
        margin: 0;
    }

}
@media(max-width: 600px) {
    #logotip{
        width: 53%;
    }
    #consultsystems{
        position: fixed!important;
        bottom: 0px!important;
        right: 0px!important;
    }
}
@media(max-width: 480px) {
    .container{
        width: 100%;
        min-width: 100%;
    }
    #logotip {
        padding: 0px;
        width: 240px;
        margin: 0 auto;
        float: none;
    }
     #logotip li:nth-child(4){
        margin-left: 40px;
     }
    .li_img{
        display: none!important;
    }
    .log_txt{
        padding-left: 5px;
        width: 200px;
        margin: 0 auto;
        float: none;
    }
    .log_txt a{
        font-size: 18px;
    }
    #gor{
        width: 240px;
        float: none;
        margin: 0 auto;
        text-align: center;
        padding: 0;
    }
    #gor div.tt{
        display: inline;
    }
    #gor div.tt2{
        display: inline;
    }
    #tel {
        float: none;
        position: relative;
        top: 0;
        width: 150px;
        margin: 0 auto;
        clear: both;
    }
    #br{
        /*display: none;*/
        float: left;
    }
    .btn_kart{
        margin: 0 auto;
    }
    #head{
        display: none;
    }
    #menu_footer{
        width: 100%;
        margin: 15px auto 20px;
    }
    .home {
        width: 100%;
    }
    .home input#nomer {
        width: 180px
    }
    .home input#nomer {
        height: 23px;
        font-size: 8px;
        margin-left: 5px;
    }
    .home input#button {
        margin-left: 10px;
    }
    #footer{
        width: 100%;
    }
    .foter_mob{
        display: none;
    }
    .table-responsive{
        width: 100%;
        font-size: 11px;
        border: 0px solid #ddd!important;
    }
    .table-responsive .items th:nth-child(2){
        display:none;
    }
    .table-responsive .items td:nth-child(2){
        display:none;
    }
    .table-responsive .items td, .table-responsive .items th{
        padding-left: 2px;
        padding-right: 2px;
    }
    #menu_footer ul li{
        border-right: 0px solid black!important;
    }
    .pagination ul>li>a, .pagination ul>li>span{
        padding: 0px 8px;
    }
}
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
  margin-bottom: 0;
}
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px;
}
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}
.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}
.table-responsive {
  min-height: .01%;
  /*overflow-x: auto;*/
}
@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}
/* автокомплит */
.ui-autocomplete.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
    height: 400px;
    overflow: auto;
}