/* Global =================================================================== */

html, body{
    width: 100%;
    height: 100%;
}

body {
    background: #fff;
    margin:0;
    padding:0;
}
.ov{
position:absolute;
top:0;
left:0;
width:100%;
height:150px;
background:transparent!important;
z-index:1000;
}

header .widget{
display:inline-block;
background:none;
color:#fff;
margin:0;
}
header .widget > .body{
font-size:12px;
line-height:14px;
}
a.bt{
font-size:16px;
font-weight:bold;
color:#fff;
text-decoration:none;
}
#tslide .info{
margin-top:180px;
width:50%;
background:rgba(0,0,0,0.6);
padding:20px 30px;
border-radius:15px;
}
.widget img{max-width:100%;}
#tslide .teaser{color:#fff;}
#tslide .info .title a{
font-size:30px;
line-height:32px;
color:#f90;
text-decoration:none;
font-weight:600;
text-transform:uppercase;
}
a.st{
font-size:12px;
color:rgba(255,255,255,0.7);
text-decoration:none;
}
a.st:hover{color:#fff;}

a.bt:hover{color:#ff0;}

#tslide{  
position:absolute;
top:3px;
left:0;
width:100%;
height:450px;
}
#ow1,#ow1 .item{height:450px;background-size:cover!important;}
.widget.zak{float:right;margin-top:30px;}
button.zakaz{
margin-top:-20px;
background:#009;
font-size:14px;
font-weight:bold;
color:#ff0;
border-radius:6px;
border:2px dotted #fff;
line-height:34px;
padding:0 15px;
text-transform:uppercase;
font-family: 'Open Sans Condensed';
cursor:pointer;
}
button.zakaz:hover{
border:2px dotted #ff0;
background:#ff0;
color:#000;
}
.widget.adr{
margin-left:20px;
padding-left:15px;
margin-top:0;

background:url(../images/marker.png) left center no-repeat;
}
.widget.tel{
margin-left:40px;
padding-left:15px;
background:url(../images/tel.png) left center no-repeat;

}
.tel a{
color:#fff;
text-decoration:none;
font-weight:bold;
}
.tel a.osn{font-size:16px;}
.tel a:hover{
color:#ff0;
}
#card{
position:absolute;
display:block;
width:360px;
height:200px;
background:url(../images/card.gif) no-repeat;
text-indent:-1000px;
overflow:hidden;
right:0;
top:0;
}
/* Wrapper ================================================================== */

#layout{
position:relative;

}
.layi{
    width: 980px;
    margin: 0 auto;

}
/* Header =================================================================== */

#layout header{
    height: 450px;
    padding: 0 14px;
}

#layout header #logo a{
    display: block;
    float: left;
    width: 350px;
    height: 105px;
    background: url("../images/logo.png") no-repeat left center;
margin-top:17px;
}
.bvi-body #layout header #logo a{
    background: url("../images/logob.png") no-repeat left center!important;
}
.widget.garant{
background:url(../images/bgm.jpg) top left no-repeat;
background-size:cover;
padding:50px 0;
text-align:center;
}
.widget.garant1{
background:#339;
padding:20px 0;
}
.garant1 h3{
font-size:24px;
color:#fff;
text-transform:uppercase;
font-weight:bold;
margin:0;
}
.garant .title {
 font-weight:bold;
font-size:44px;
text-align:center;
color:#fff;
text-transform:uppercase;
margin-bottom:50px;
}
.rnd {
display:inline-block;
width:170px;
height:170px;
border-radius:90px;
color:#fff;
background:rgba(255,255,255,0.2);
margin:0 15px;
border:5px solid rgba(0,0,150,0.5);
}
.rnd .cf{
display:block;
font-size:60px;
font-weight:bold;
margin-top:30px;
}
.usl{padding:20px 0;}
.usl .layi > .title {
 font-weight:bold;
font-size:44px;
text-align:center;
color:#555;
text-transform:uppercase;
margin-bottom:30px;
}
.usl .item{
width:calc(48% - 26px);
margin:10px 1%;
border-radius:5px;
border:2px solid #ccc;
padding:10px;
float:left;
height:120px;
}
.usl .item:hover{
background:#eee;
}
.usl .item .title a{
text-transform:uppercase;
color:#00c;
font-size:20px;
text-decoration:none;
font-weight:bold;
font-family:'Open Sans Condensed';
}
.usl ul{padding-left:20px;}
.usl li{margin-bottom:5px;font-size:16px;}
button.bto{
float:right;
margin:0 !important;
}
.usl .item .title a:hover{color:#333;}
/* Header Navigation ======================================================== */

header .menu,
header .menu li { margin:0; padding:0; list-style: none; background:none; }

header .menu {
    float:right;
    position: relative;
    z-index: 15;
    height: 30px;
    line-height: 30px;
    padding-top:10px;
}

header .menu .item{
    background-image: url("../images/icons/bullet_arrow_down.png");
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left:28px;
}

header .menu > li {
    float: left;
    padding-left:5px;
}

header .menu > li > a {
    display: block;
    padding: 0 5px;
    color:#ecf0f1;
    text-decoration: none;
    font-size: 12px;
}

header .menu > li > a:hover {
    color:#FFF;
}

header .menu > li.active > a { color:#F5CF53; }
header .menu > li.active > a:hover { color:#F5CF53; }
header .menu > li.active > ul a:hover { color:#000; }

header .menu ul li a,
header .menu li.active ul li a {
    color: #000;
    text-shadow: none;
    text-decoration: none;
    padding: 0 10px;
}

header .menu li ul li.active a{ color:#F5CF53; }
header .menu li ul li.active a:hover { color:#F5CF53; }

header .menu li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}

header .menu ul {
    visibility: hidden;
    position: absolute;
    top: 99%;
    left: -15px;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li {
    float: none;
    border-bottom: solid 1px #224674;
    background-color: #224674;
    color: #FFF;
}

header .menu ul li:last-child {
    border-bottom: none;
}

header .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    color:#A3CAE0;
}

header .menu ul li:hover > a { background-color: #224674; color: #FFF; }

header .menu ul ul {
    top: 0px;
    left: 90%;
}

header .menu li:hover > ul {
    visibility: visible;
}

header .menu ul { width:230px; margin-top: 1px; }

header .menu ul li:last-child,
header .menu ul li:last-child a {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li:first-child,
header .menu ul li:first-child a {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

header .menu > .folder a {
    padding-right: 8px;
}

/* Main Navigation =========================================================== */

nav {
    height:50px;
    background: #039;
    padding: 0;
    margin-bottom: 10px;
    font-size:12px;

}

nav .menu,
nav .menu li,
nav .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .menu {
    position: relative; z-index: 5; float: left;
    height: 50px;
    line-height: 50px;
}

nav .menu .item{
    background-image:none !important;
}

nav .menu > li {
    float: left;
}

nav .menu > li:first-child {
    background:none;
}

nav .menu > li > a {
    display: block;
    padding: 0 15px;
    color:#fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
font-size:15px;
}

nav .menu > li > a:hover {
    background: #003 !important;
color:#fff;
}

nav .menu > li.active > a { background: #f93 !important; }
nav .menu > li.active > a:hover {  }
nav .menu > li.active > ul a:hover { color:#000; }

nav .menu ul li a,
nav .menu li.active ul li a {
    color: #000;
    text-shadow: none;
    text-decoration: none;
    padding: 0 10px;
}

nav .menu li ul li.active > a{ color:#2980B9; }
nav .menu li ul li.active > a:hover { color:#2980B9; }

nav .menu ul li:hover > a { background-color: #DAE9FA; }

nav .menu li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}

nav .menu ul {
    visibility: hidden;
    position: absolute;
    top: 98%;
    left: 0;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
border:1px solid #009;
}

nav .menu ul li {
    float: none;
    border-bottom: solid 1px #DAE9FA;
    background-color: #f9f9f9;
    color: #000;
}

nav .menu ul li:last-child {
    border-bottom: none;
}

nav .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    overflow: hidden;
}

nav .menu ul ul {
    top: 0px;
    left: 99%;
}

nav .menu li:hover > ul {
    visibility: visible;
}

nav .menu ul { width: 200px; margin-top: 1px; }

nav .menu ul li:last-child,
nav .menu ul li:last-child a {
}

nav .menu ul li:first-child,
nav .menu ul li:first-child a {
}

nav .menu > .folder > a {
    padding-right: 8px;
}

nav .menu > .folder > a > .wrap {
    padding-right: 20px;
    background: url("../images/nav-arrow-down-white.png") no-repeat right center !important;
}

nav .menu ul *.folder > a {
    padding-right: 15px;
    background-image: url("../images/nav-arrow-right.png") !important;
    background-position: 100% 50%;
    background-repeat: no-repeat;
}

nav select { display: none; }

/* Body ===================================================================== */

#body{
background:#fff;
display:block;
}

/* Breadcrumbs ============================================================== */

#breadcrumbs { margin:-20px; margin-bottom: 20px; background:#ecf0f1; padding:0 10px; }

#breadcrumbs ul, #breadcrumbs li { margin:0; padding:0; list-style: none; }

#breadcrumbs ul{
    overflow: hidden;
}

#breadcrumbs ul li {
    height:32px; line-height:32px; float:left;
    font-size:12px;
    color:#2c3e50;
}

#breadcrumbs ul li a {
    color:#2c3e50;
}

#breadcrumbs ul li a:hover {
    color:#34495e;
    text-decoration: none;
}

#breadcrumbs ul li.sep {
    margin:0 10px;
    width: 4px;
    background: url("../images/nav-arrow-right-light.png") no-repeat left center;
}

#breadcrumbs ul li.home {
    width: 16px;
}

#breadcrumbs ul li.home a {
    display:block;
    width:16px;
    height:32px;
    background: url("../images/nav-home.png") no-repeat left center;
}

/* Section ================================================================== */

#body section{
    float:left;
    width:100%;
}

#body section article {
    padding: 20px;
    background:#FFF;
    margin-bottom: 10px;
}

#body section h1{

    margin-bottom: 20px;
    color:#555;
font-size:30px;
font-weight:bold;
font-family:'Open Sans';
text-transform:uppercase;
}

#body section h1 .parent_title{
    font-size:16px;
}

/* Sidebar ================================================================== */

#body aside{
    float:right;
    width:240px;
    margin-bottom: 10px;
}

/* Sidebar Navigation ======================================================= */

#body aside .menu, #body aside .menu li { margin:0; padding:0; list-style: none; }

#body aside .menu ul{
    border: solid 1px #EDEDED;
    border-bottom: none;
}

#body aside .menu ,
#body aside .menu li ul {
    padding:0;
    background:#FFF;
}

#body aside .menu{
    margin:-15px;
}

#body aside .menu li ul {
    visibility: hidden;
    position:absolute;
    top:-1px;
    left: auto;
    right: 91%;
    width:220px;
    box-shadow: 0 1px 2px #666;
    z-index: 999;
}

#body aside .menu li {
    border-bottom: solid 1px #ecf0f1;
}

#body aside .menu li:hover,
#body aside .menu li.active {
    position: relative;
    z-index: 2;
    cursor: default;
    background: #ecf0f1;
}

/*#body aside .menu li:hover > a,
#body aside .menu li.active > a { color:#FFF; }*/

#body aside .menu li:first-child {
}

#body aside .menu li:last-child {
    border-bottom: none;
}

#body aside .menu li:hover > ul {
    visibility: visible;
}

#body aside .menu li.active:hover {
}

aside .menu .item{
    background: url("../images/icons/item.png") no-repeat 10px center;
}

#body aside .menu li.active .item {
    color:#000;
}

#body aside .menu li.hover a {
}

#body aside .menu a,
#body aside .menu span.item {
    overflow: hidden;
    display:block;
    color:#666;
    text-decoration: none;
    padding:4px 10px;
    padding-left:36px;
}

#body aside .menu a:hover {
    color:#000;
}

#body aside .menu .counter{
    float:right;
    padding: 0px 7px;
    background: #376499;
    border-radius: 50px;
    font-size: 11px;
    color: white;
}

#body aside .menu li:hover .counter{
    background:#BDC3C7;
}

/* Footer =================================================================== */

#layout footer{
    background: #339;
    height: 60px;
    color: #7f8c8d;
    padding: 0 15px;
    clear:both;
    font-size:12px;
margin-top:10px;
}

#layout footer ul, #layout footer li {
    margin: 0; padding: 0; list-style: none;
}

#layout footer ul {
    overflow: hidden;
}

#layout footer ul li {
    height: 60px;
    line-height: 60px;
    float:left;
    margin-right: 15px;
}

#layout footer ul li:last-child { margin:0; }


#layout footer a { color:#95a5a6; }
#layout footer a:hover { color:#ecf0f1; }

#layout footer span.item { padding:0 15px; border-left: solid 1px #7f8c8d; }

/* Footer SQL Debug ======================================================== */

#sql_debug{
    display:none;
}

#sql_queries .query{
    padding:10px;
    margin:10px;
    background:#FFF;
    border:solid 1px #DDD;
}

#sql_queries .query .src{
    font-size:12px;
    color:#999;
    margin-bottom:4px;
}

/* Footer Navigation ======================================================== */

#layout footer #nav {
    float:right;
    margin-right: 0;
}

/* Site offline notice ====================================================== */

#site_off_notice{
    position: fixed;
    left:15px; top:15px;
    padding:5px 10px;
    padding-left:28px;
    background: url("../images/icons/error.png") no-repeat 8px center #FFF;
    border:solid 1px red;
    color:red;
}

/* Media Queries ============================================================ */

@media screen and (max-width: 980px) {
    #body section { width:100% !important; }
    #body aside { display:none; }
}

@media screen and (max-width: 800px) {
    #body section { width:100% !important; }
    #body aside { display:none; }
    nav { padding:5px; height:auto; }
    nav .menu { display:none; }
    nav select { display: block; }
    #layout footer #info { display: none !important; }
}

@media screen and (max-width: 640px) {
    #layout header #logo { margin: 0 auto; overflow:hidden; width:200px; }
    #layout header .menu { display:none; }
    .tabs-menu ul { display:none; }
    .tabs-menu select { display:block !important; }
    .widget > .title { font-size:14px !important; }
    .widget > .title .links { display:none; }
    .content_item .ft_image { float:none !important; }
#logo{float:none !important; width:100% !important;}
#logo a{float:none !important; width:100% !important;background-size:contain !important;}

#card {position:relative;max-width:100% !important;background-size:contain !important;}	
}

@media screen and (max-width: 480px) {
    #layout footer #nav { display: none !important; }
}
.articles_item .ft_image {
max-width:100%;
}