/*
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}*/
*::after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
/*ul 
{
    list-style: none;
    padding: 0;
    margin: 0;
}*/
.b-hor-menu ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
/*************************** Основные пункты **/

.b-hor-menu {
    position: relative;
    border: 0px;
    background-image: -moz-linear-gradient(#61bd25,#4da617,#3f960f,#2a7f01);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
    background-image: -webkit-linear-gradient(#61bd25,#4da617,#3f960f,#2a7f01);
    background-image: -o-linear-gradient(#61bd25,#4da617,#3f960f,#2a7f01);
    background-image: linear-gradient(#61bd25,#4da617,#3f960f,#2a7f01);
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
    height: 51px;
    margin: 0px auto 20px auto;
    padding: 0;
    width: 100%;
    min-width: 1260px;
    z-index: 999;
}


.b-hor-menu__level-1 {
    clear: left;
    position: relative;
    right: 50%;
    height: 50px;
    float: right;
    text-align: center;
    font: 14px Open Sans;
    text-transform: uppercase;
}
.b-item__level-1 {
    border-right: 1px solid #89ce5c;
    border-left: 1px solid #2d5313;
    box-shadow: 1px 0 0 #444;
    -moz-box-shadow: 1px 0 0 #444;
    -o-box-shadow: 1px 0 0 #444;
    -ms-box-shadow: 1px 0 0 #444;
    -webkit-box-shadow: 1px 0 0 #444;
    position: relative;
    left: 50%;
    float: left;
    height: 50px;
    display: table!important;
    vertical-align: middle!important;
}
.b-item-level-1__link {
    padding: 7px 20px!important;
    display: table-cell!important;
    vertical-align: middle!important;
}
.b-item__level-1:first-child {
    border-left: 0px;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none
}
.b-item__level-1:last-child {
    border-right: 0px;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none
}
.b-item-level-1__link,.b-item-level-2__link,.b-item-level-3__link{
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 25px;
    text-transform: uppercase;
}
.b-item-level-1__link{
    font-weight: 600;
}
.b-item-level-2__link,.b-item-level-3__link{
    width: 230px;
}
.b-item-level-1__link:hover
 {
    background-image: -moz-linear-gradient(#04acec, #0186ba);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
    background-image: -webkit-linear-gradient(#04acec, #0186ba);
    background-image: -o-linear-gradient(#04acec, #0186ba);
    background-image: linear-gradient(to right,#00365d,#004e81,#005284,#004e81,#00365d);
    color: #fafafa;
}
.b-item-level-2__link{
    background-image: -moz-linear-gradient(#04acec, #0186ba);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
    background-image: -webkit-linear-gradient(#04acec, #0186ba);
    background-image: -o-linear-gradient(#04acec, #0186ba);
    background-image: linear-gradient(#004a7a,#004370,#00406a,#003a62,#00355b);
}
.b-item-level-2__link:hover{
    background-image: -moz-linear-gradient(#04acec, #0186ba);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
    background-image: -webkit-linear-gradient(#04acec, #0186ba);
    background-image: -o-linear-gradient(#04acec, #0186ba);
    background-image: linear-gradient(#1b93b9,#158fb6,#0d8ab2,#0585ae,#0182ab);
}
.b-item-level-2__link, .b-item-level-3__link {
    font: 13px Open Sans;
}
.b-item-level-3__link{
    background-image: linear-gradient(#1b92b8,#117ca7,#0c709d,#045e8f,#01598a);
}
.b-item-level-3__link:hover{
    background: #0d8eb5;
}
/** Индикатор наличия вложенных уровней **/

.b-item--firstparent::after {
    border-left: 1px solid #CCC;
    border-top: 1px solid #CCC;
    display: inline-block;
    vertical-align: top;
    margin: 4px 0 0 8px;
    -webkit-transform: rotate(-135deg);
       -moz-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
         -o-transform: rotate(-135deg);
            transform: rotate(-135deg);
    height: 5px;
    width: 5px;
}


.b-item--parent::after {
    border-left: 1px solid #CCC;
    border-top: 1px solid #CCC;
    display: inline-block;
    vertical-align: top;
    margin: 7px 0px 0px 8px;
    -webkit-transform: rotate(135deg);
       -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
         -o-transform: rotate(135deg);
            transform: rotate(135deg);
    height: 5px;
    width: 5px;
    float: right;
}

/*************************** Выпадающие подпункты **/

.b-hor-menu__level-2, .b-hor-menu__level-3 {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    -webkit-border-radius: 3px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    line-height: 18px;
    top: 50px;
    font-size: 12px;
    margin-top: 20px;
    height: auto;
    min-width: 150px;
    width: 100%
}
.b-hor-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    -webkit-transition: margin 0.3s ease 0s;
       -moz-transition: margin 0.3s ease 0s;
         -o-transition: margin 0.3s ease 0s;
            transition: margin 0.3s ease 0s;
    margin: 0;
    z-index: 11;
}
.b-item__level-2,.b-item__level-3 {
    border: none;
    position: relative;
    left: 0;
    float: none;
    height: auto;
    text-align: left !important;
}

/*************************** Выпадающие пункты второго уровня **/

.b-hor-menu__level-3{
    margin: 0px;
    padding: 0px;
    top: 0;
    left: 280px;
    margin: 0 0 0 20px;
    _margin: 0;
    /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
    -o-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
    -ms-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
    -webkit-box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
}

/** Индикатор наличия подкатегорий 2 уровня **/

.b-hor-menu ul ul li:first-child > a {
    border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -o-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
}
.b-hor-menu ul li > ul > li:first-child > a:before {
    /*content: ''; стрелка над меню */
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}
.b-hor-menu ul ul ul li:first-child a:before {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}
.b-hor-menu ul ul li:first-child a:hover:before {
    border-bottom-color: #04acec
}
.b-hor-menu ul ul ul li:first-child a:hover:before {
    border-right-color: #0299d3;
    border-bottom-color: transparent;
}
.b-hor-menu ul ul li:last-child > a {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}
.b-hor-menu > ul > li.parent > ul > li:first-child > a::before {
    display: none;
}
.b-hor-menu > ul > li.parent > a::before {
    bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
    content: '';
    visibility: hidden;
    position: absolute;
    left: 50%;
    margin-left: -6px;
}
.b-hor-menu > ul > li.parent:hover > a::before {
    visibility: visible;
    -webkit-transition: all .5s ease .2s;
       -moz-transition: all .5s ease .2s;
         -o-transition: all .5s ease .2s;
            transition: all .5s ease .2s;
}
@-moz-document url-prefix() { 
  .b-hor-menu {
    height: 52px!important;
  }
}
@-moz-document url-prefix() { 
    .b-item-level-1__link{
        padding: 6px 20px !important;
    }
}
@-moz-document url-prefix() { 
    .b-item__level-1{
      height: 52px;
    }
}
