/*выравниваем выпадающие пункты главного меню по правому краю*/
	#user3 > ul > li:last-child ul li:hover > ul {
        top: 0px;
        right: 220px;
        left: inherit;
    }
    #user3 > ul > li:last-child ul li {max-width:220px;right: -3px;}
    div#user3 ul li:nth-last-child(2) ul li:hover > ul {
        top: 0px;
        right: 220px;
        left: inherit;
    }
    div#user3 #jmenu-button ul li:nth-last-child(2) ul li {max-width:220px;}
    #menu-button li:hover  ul ul {
        -webkit-animation-duration: .005s;
        animation-duration: .005s;
}
      #user3 > ul > li:last-child ul li ul {
   margin-top: -3px;
}

/*выравниваем выпадающие пункты главного меню по правому краю - конец кода*/
/*показываем наличие выпадающих меню стрелками*/
#user3 ul li> a::after {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}
#user3 > ul > li.has-sub > a::after {
    position: absolute;
    top: 42%;
    right: -7px;
    width: 4px;
    height: 4px;
    content: "";
    -webkit-transform: rotate( 
45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate( 
45deg);
    display: flex;
    align-items: center;
}
#user3 ul li.has-sub:hover > a::after {
    border-bottom: 1px solid #1E90FF;
    border-right: 1px solid #1E90FF;
}


#user3 ul li> .separator::after {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}
#user3 > ul > li.has-sub > .separator::after {
    position: absolute;
    top: 42%;
    right: -7px;
    width: 4px;
    height: 4px;
    content: "";
    -webkit-transform: rotate( 
45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate( 
45deg);
    display: flex;
    align-items: center;
}
#user3 ul li.has-sub:hover > .separator::after {
    border-bottom: 1px solid #1E90FF;
    border-right: 1px solid #1E90FF;
}




#user3 ul ul li> a::after {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}
#user3 > ul ul > li.has-sub > a::after {
    position: absolute;
    top: 42%;
    right: 10px;
    width: 4px;
    height: 4px;
    content: "";
    -webkit-transform: rotate(
-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(
-45deg);
}
#user3 ul ul li.has-sub:hover > a::after {
    border-bottom: 1px solid #1E90FF;
    border-right: 1px solid #1E90FF;
}
/*показываем наличие выпадающих меню стрелками -конец кода*/
/*разделитель - начало кода кода*/
#user3 ul li .separator {
    font-family: "Montserrat Regular";
    cursor: pointer;
   font-size: 14px;
}
#user3 ul ul li .separator {
    border-bottom: #000 1px dotted;
    padding: 15px 12px;
    width: 220px;
    font-size: 12pt;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    background: #4179cc;
    font-family: "Montserrat Regular";
    text-align: left;
    margin-bottom: -14px;
    cursor: pointer;
}
#user3 ul li .separator {
    margin: 0;
    padding: 3px;
    /* border: 0; */
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 500;
}
#user3 ul ul li .separator:hover {
 background-color: #174279;
}
#user3 ul ul li .separator:active {
 background-color: #174279;
}
#user3 ul ul li .separator:hover {
 background-color: #174279;
}
#user3 ul ul li> .separator::after {
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}
#user3 > ul ul > li.has-sub > .separator::after {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 4px;
    height: 4px;
    content: "";
    -webkit-transform: rotate(
-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(
-45deg);
}
#user3 ul ul li.has-sub:hover > .separator::after {
    border-bottom: 1px solid #1E90FF;
    border-right: 1px solid #1E90FF;
}



/*разделитель -конец кода*/

#user3 > ul > li:first-child {
   border-left: #FFF 0px double;
  }
#user3 > ul > li:last-child {
   border-right: #FFF 0px double;
  }
#user3-menu {  
  background: url(../images/mbg.png) repeat-x;
}
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
#user3,
#user3 ul,
#user3 ul li,
#user3 ul li a,
#user3 #menu-button {
  margin: 0;
  padding: 3px;
  /*border: 0;*/
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: 500;
}
#user3:after,
#user3 > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#user3 #menu-button {
  display: none;
}
#user3 {
  font-family: "Montserrat Regular";
  /*background: #4179cc;*/
   z-index: 9999;
   min-height: 57px;
   padding: 0px;
  background: url(../images/mbg.png) repeat-x;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
#user3 > ul > li {
    float: left;
    padding: 15px 17px 15px 17px;
    font-size: 12pt;
    height: 50px;
    max-width: 220px;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-right: #FFF 1px double;
    white-space: pre-wrap;
    display: flex;
    align-items: center;
}
#user3.align-center > ul {
  font-size: 0;
  text-align: center;
}
#user3.align-center > ul > li {
  display: inline-block;
  float: none;
}
#user3.align-center ul ul {
  text-align: left;
}
#user3.align-right > ul > li {
  float: right;
}
#user3 > ul > li > a {
 /* padding: 15px 15px 15px 15px;
  font-size: 12pt;
  letter-spacing: 1px;
  font-weight: bold;
  text-transform: uppercase;
  border-right: #FFF 1px double;*/
  color: #fff;
  text-decoration: none;
  white-space: pre-wrap;
}
#user3 > ul > li:hover > a {
  color: #ffffff;
  /*background-color: #174279;*/
}
#user3 > ul > li. > a {
  padding-right: 30px;
}
#user3 > ul > li. > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#user3 > ul > li. > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#user3 > ul > li.:hover > a:before {
  top: 23px;
  height: 0;
}
#user3 ul ul {
  margin-left: -3px;
  position: absolute;
  left: -9999px;
  top: 50px;
}
#user3.align-right ul ul {
  text-align: right;
}
#user3 ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
      padding: 0px;
    margin-left: -17px;
  text-transform: none;
}

#user3 ul li ul ul li {
    margin-left: -3px;
  ;
}

#user3 li:hover > ul {
  left: auto;
}
#user3.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#user3 li:hover > ul > li {
  height: auto;
}
#user3 ul ul ul {
  margin-left: 100%;
  top: -3px;
}
#user3.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#user3 ul ul li a {
  /*border-bottom: 1px solid rgba(150, 150, 150, 0.15);*/
  border-bottom: #000 1px dotted;
  padding: 15px 12px;
  width: 220px;
  /*width: 100%;*/
  font-size: 12pt;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background: #4179cc;
  font-family: "Montserrat Regular";
  text-align: left;
}
#user3 ul ul li:last-child > a,
#user3 ul ul li.last-item > a {
  border-bottom: 0;
}
#user3 ul ul li:hover > a,
#user3 ul ul li a:hover {
  color: #ffffff;
  background-color: #174279;
}
#user3 ul ul li. > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#user3.align-right ul ul li. > a:after {
  right: auto;
  left: 11px;
}
#user3 ul ul li. > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#user3.align-right ul ul li. > a:before {
  right: auto;
  left: 14px;
}
#user3 ul ul > li.:hover > a:before {
  top: 17px;
  height: 0;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #user3 {
    width: 100%;
  }
  #user3 ul {
    width: 100%;
    display: none;
    margin-top: 3px;
  }
  #user3.align-center > ul {
    text-align: left;
  }
  #user3 ul li {
    width: 100%;
    /*border-top: 1px solid rgba(120, 120, 120, 0.2);*/
    border-right: #FFF 0px double;
  }
  #user3 ul ul li,
  #user3 li:hover > ul > li {
    height: auto;
  }
  #user3 ul li a,
  #user3 ul ul li a {
    width: 100%;
    border-bottom: 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-transform: none;
    font-family: "Montserrat Regular";
    font-weight: normal;
  }
  #user3 > ul > li {
    float: none;
  }
  #user3 ul ul li a {
    padding-left: 25px;
  }
  #user3 ul ul ul li a {
    padding-left: 35px;
  }
  #user3 ul ul li a {
    color: #fff;
    background: none;
  }
  #user3 ul ul li:hover > a,
  #user3 ul ul li.active > a {
    color: #ffffff;
  }
  #user3 ul ul,
  #user3 ul ul ul,
  #user3.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #user3 > ul > li. > a:after,
  #user3 > ul > li. > a:before,
  #user3 ul ul > li. > a:after,
  #user3 ul ul > li. > a:before {
    display: none;
  }
  #user3 #menu-button {
    display: block;
    padding: 25px;
    /*color: #fff;*/
    color: #357ac1;
    cursor: pointer;
    font-size: 1px;
    text-transform: uppercase;
    font-weight: 700;
    content: '';
    font-family: "Montserrat Regular";
  }
  #user3 #menu-button:after {
    position: absolute;
    top: 17px;
    right: 20px;
    display: block;
    height: 12px;
    width: 40px;
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
    content: '';
  }
  #user3 #menu-button:before {
    position: absolute;
    top: 16px;
    /*right: 379px;*/
    display: block;
    height: 28px;
    /*width: 200px;*/
    position: absolute;
    top: 21px;
    content: "Главное меню";
    color: #fff;
    font-size: 15px;
  }
  #user3 #menu-button.menu-opened:after {
   /* top: 23px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);*/
  }
  #user3 #menu-button.menu-opened:before {
    /*top: 23px;
    background: #ffffff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);*/
    top: 21px;
  }
  #user3 .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    height: 46px;
    width: 46px;
    cursor: pointer;
  }
  #user3 .submenu-button.submenu-opened {
    /*background: #262626;*/
  }
  #user3 ul ul .submenu-button {
    height: 34px;
    width: 34px;
  }
  #user3 .submenu-button:after {
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
   /* background: #dddddd;*/
    content: '';
  }
  #user3 ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #user3 .submenu-button.submenu-opened:after {
    background: #ffffff;
  }
  #user3 .submenu-button:before {
    position: absolute;
    top: 19px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    /*background: #dddddd;*/
    content: '+';
  }
  #user3 ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #user3 .submenu-button.submenu-opened:before {
    display: none;
  }
  #user3 ul ul li a {
margin-left: 0px;
  }
#user3 ul li .item-101 default current active {
border-left: #FFF 0px double;
}}
/*@media only screen and (max-width: 2000px) {
#user3 > ul > li {
    left: 396px;
  }
}
@media only screen and (max-width: 1900px) {
#user3 > ul > li {
    left: 326px;
  }
}
@media only screen and (max-width: 1800px) {
#user3 > ul > li {
    left: 0px;
  }
}
@media only screen and (max-width: 1700px) {
#user3 > ul > li {
    left: 246px;
  }
}
@media only screen and (max-width: 1600px) {
#user3 > ul > li {
    left: 196px;
  }
}
@media only screen and (max-width: 1400px) {
#user3 > ul > li {
    left: 96px;
  }
}
@media only screen and (max-width: 1300px) {
#user3 > ul > li {
    left: 47px;
  }
}
@media only screen and (max-width: 1200px) {
#user3 > ul > li {
    left: 296px;
  }
}
@media screen and (max-width: 2200px) {
#user3 > ul > li {
    left: 496px;
  }
}
@media screen and (max-width: 2180px) {
#user3 > ul > li {
    left: 487px;
  }
}
@media screen and (max-width: 2080px) {
#user3 > ul > li {
    left: 396px;
  }
}
@media screen and (max-width: 2000px) {
#user3 > ul > li {
    left: 380px;
  }
}
@media screen and (max-width: 2000px){
   #user3 > ul > li {
    left: 397px;
  }
}
@media screen and (max-width: 1980px){
   #user3 > ul > li {
    left: 387px;
  }
}
@media screen and (max-width: 1920px){
   #user3 > ul > li {
    left: 356px;
  }
}
@media screen and (max-width: 1900px) {
#user3 > ul > li {
    left: 326px;
  }
}
@media screen and (max-width: 1860px) {
#user3 > ul > li {
    left: 326px;
  }
}
@media screen and (max-width: 1800px) {
#user3 > ul > li {
    left: 297px;
  }
}
@media screen and (max-width: 1760px) {
#user3 > ul > li {
    left: 277px;
  }
}
@media screen and (max-width: 1700px) {
#user3 > ul > li {
    left: 247px;
  }
}
@media screen and (max-width: 1680px) {
#user3 > ul > li {
    left: 237px;
  }
}
@media screen and (max-width: 1600px) {
#user3 > ul > li {
    left: 197px;
  }
}
@media screen and (max-width: 1500px) {
#user3 > ul > li {
    left: 147px;
  }
}
@media screen and (max-width: 1400px) {
#user3 > ul > li {
    left: 97px;
  }
}
@media screen and (max-width: 1300px) {
#user3 > ul > li {
    left: 48px;
  }
}
@media screen and (max-width: 1240px) {
#user3 > ul > li {
    left: 17px;
  }
}
@media screen and (max-width: 1200px) {
#user3 > ul > li {
    left: 8px;
    width: 236px;
    padding: 14px 14px;
    margin: 0px;
  }
}*/
@media screen and (max-width: 1100px) {
#user3 > ul > li {
    left: 0px;
    /*width: 1000px;*/
    width: 100%;
    padding: 14px 14px;
    margin: 0px;
    background: #357ac1;
    border-bottom: #000 1px dotted;
  }
}
#user3 ul li .item-101 default current active {
border-left: #FFF 1px double;
}
@media screen and (max-device-width: 375px) {
#user3 ul li {
    padding: 40px 13px;
    width: 100%;
    display: block;
    position: relative;
    float: left;
  }
  }
@media screen and (max-device-width: 375px) {
  #user3 #menu-button:before {
    position: absolute;
    top: 16px;
    right: 624px;
    display: block;
    height: 37px;
    width: 450px;
    position: absolute;
    top: 33px;
    content: "Главное меню";
    color: #fff;
    font-size: 34px;
  }
  }
@media screen and (max-device-width: 375px) {
  #user3 #menu-button.menu-opened:before {
 top: 30px;
  }
  }
@media screen and (max-device-width: 375px) {
  #user3 #menu-button:after {
    position: absolute;
    top: 35px;
    right: 20px;
    display: block;
    height: 12px;
    width: 40px;
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
    content: '';
  }
  }
@media screen and (max-device-width: 375px) {
#user3 .submenu-button:after {
    right: 35px;
    top: 55px;
    width: 17px;
    height: 5px;
  }
  }
@media screen and (max-device-width: 375px) {
#user3 {
    height: 100px;
    background: #357ac1;
  }
  }
@media screen and (max-device-width: 375px) {
#user3 ul {
    width: 100%;
    display: block;
    margin-top: 50px;
  }
  }
@media screen and (max-device-width: 375px) {
#user3 ul li a {
    width: 100%;
    border-bottom: 0;
    color: #fff;
    text-decoration: none;
    font-size: 32px;
    text-transform: none;
    font-family: "Montserrat Regular";
    font-weight: normal;
}
 }