.HideOnMobile {
  display:inline;
}

.ShowOnMobile {
  display:none;
}

b {
    font-weight: bold;
    letter-spacing: 0.1px;
}

.home_bt {
float:left; 
padding:13px; 
width:13px; 
margin-left:10px; 
margin-right:10px; 
background:url(/bitrix/templates/harepoint_main/img/HarePoint/images/icon-home.png) no-repeat 10px 12px
}

.home_bt:hover {
background: url(/bitrix/templates/harepoint_main/img/HarePoint/images/icon-home.png) no-repeat -20px 12px
}


.last {
padding-bottom:10px;
}

#has_m li a, #hhd_m li a, #hcwm_m  li a, #hws_m li a, #hwm_m li a, #hss_m li a, #hpc_m li a, #hes_m li a {width: 170px !important;}
#p_has_m li a, #p_hhd_m li a, #p_hwm_m li a, #p_hwo_m li a, #p_hwmg_m li a, #p_hwmt_m li a, #p_hss_m li a, #p_hpc_m li a, #p_hdb_m li a, #p_hwe_m li a, #p_hwm_m li a, #p_hwo_m li a {width: 170px !important;}


#cssmenu {
  position: relative;
  height: 40px;
  background: #3b4049;
  z-index: 1001;
  width: auto;
  cursor:pointer;
}
#cssmenu ul {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  border: 1px solid #F0F0F0;
  border-radius: 0 2px 2px 2px;
}
#cssmenu ul ul li { 
list-style:none;
margin: 0px;
/* box-shadow: 1px 1px 4px rgba(0,0,0,0.3); */

}
#cssmenu > ul {
  position: relative;
  display: block;
  background: #3b4049; 


  width: 100%;
  z-index: 500;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-center ul {
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0;
  float:left;
}
#cssmenu > ul > #menu-button {
  display: none;
}
#cssmenu ul li a {
  display: block;

  /* color: #4d565e !important; 
  text-shadow: #fff 0px 0px 0px !important; */
  text-decoration: none !important;

  font-weight: normal;

}


#cssmenu ul li a:hover {
  color: #fff !important;
  text-shadow: none;

}



#cssmenu > ul > li > a:hover {
  background: #77889c !important;
  color: #fff !important;
  text-shadow: 0.5px 0.5px 0px #222 !important;
  
}



#cssmenu > ul > li > a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 14px 12px 13px 12px;
  color: #fff !important;
  text-shadow: -1px -1px 0px #25272c;
  -webkit-transition: color 0.25s ease-out;
  -moz-transition: color 0.25s ease-out;
  -ms-transition: color 0.25s ease-out;
  -o-transition: color 0.25s ease-out;
  transition: color 0.25s ease-out;
}


#cssmenu > ul > li:hover > a {
  color: #ffffff;
}

#cssmenu li.has-sub {
margin-right:-1px;
}


#cssmenu li.has-sub::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}


/* arrow down

#cssmenu > ul > li.has-sub > a {
  padding-right: 28px;
}

#cssmenu > ul > li.has-sub::after {
  right: 10px;
  top: 20px;
  border: 5px solid transparent;
  border-top-color: #fff;
}

*/
#cssmenu > ul > li:hover::after {
  border-top-color: #ffffff;
}
#indicatorContainer {
  position: absolute;
  height: 12px;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
#pIndicator {
  position: absolute;
  height: 0;
  width: 100%;
/*
  border: 12px solid transparent;
  border-top-color: #BABABA;
*/
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
#cIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #BABABA;
  top: -12px;
  right: 100%;
  z-index: -2;
}
#cssmenu ul ul {
  background: #ebebeb;
  position: absolute;
  left: -9999px;
  top: 70px;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .25s ease;
  -moz-transition: opacity .3s ease, top .25s ease;
  -ms-transition: opacity .3s ease, top .25s ease;
  -o-transition: opacity .3s ease, top .25s ease;
  transition: opacity .3s ease, top .25s ease;
  z-index: 1000;
}
#cssmenu ul ul ul {
  top: 37px;

}
#cssmenu ul ul li {
  position: relative;
}
#cssmenu > ul > li:hover > ul {
  left: auto;
  top: 40px;
  opacity: 1;
  padding-top:3px;
  border-top: none;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  margin-right: 3px;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
  
}
#cssmenu ul ul li:hover > ul {
  left: 309px;
  top: -1px;
  opacity: 1;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  border-left: none !important;
}
#cssmenu.align-right ul ul li:hover > ul {
  left: auto;
  right: 300px;
  top: 0;
  opacity: 1;
  padding-right: 5px;
  box-sizing:border-box;
}
#cssmenu ul ul li a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: 308px; 
  box-sizing:border-box;
  /* border-bottom: 1px solid #e1e1e1; */
  padding: 5px 12px;
  font-size: 13px;
  text-shadow: 1px 1px #FFFFFF;
  color: #555;
  background: #EBEBEB;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -ms-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  line-height: 1.5;
}
#cssmenu.align-right ul ul li a {
  text-align: right;
}
#cssmenu ul ul li:hover > a {
  background: #82a3bf;
  color: #fff;
  text-shadow: none;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul::after {
  content: '';
  border: 6px solid transparent;
  width: 0;
  height: 0;
  border-bottom-color: #ffffff;
  position: absolute;
  top: -12px;
  left: 30px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 30px;
}
#cssmenu ul ul li.has-sub::after {
  border: 4px solid transparent;
  border-left-color: #9ea2a5;
  right: 10px;
  top: 12px;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #9ea2a5;
  right: auto;
  left: 10px;
}
#cssmenu ul ul li.has-sub:hover::after {
  border-left-color: #ffffff;
  right: 4px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
#cssmenu.align-right ul ul li.has-sub:hover::after {
  border-right-color: #ffffff;
  border-left-color: transparent;
  left: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}


#pr_hwe_m ul {width: 208px !important;}
#pr_hwe_m li a, #pr_hwm_m li a, #pr_hwo_m li a {width: 208px !important;}

@media all and (max-width: 800px), 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) {

  .HideOnMobile {
  display:none;
}

  .ShowOnMobile {
  display:inline;
}


#has_m li a, #hhd_m li a, #hcwm_m  li a, #hws_m li a, #hwm_m li a, #hss_m li a, #hpc_m li a, #hes_m li a {width: 308px !important;}
#p_has_m li a, #p_hhd_m li a, #p_hwm_m li a, #p_hwo_m li a, #p_hwmg_m li a, #p_hwmt_m li a, #p_hss_m li a, #p_hpc_m li a, #p_hdb_m li a, #p_hwe_m li a, #p_hwm_m li a, #p_hwo_m li a, #pr_hwe_m li a, #pr_hwm_m li a, #pr_hwo_m li a {width: 208px !important;}


#cssmenu ul ul { background: #3b4049; }


  #cssmenu {
   width: auto;
   height: auto;
   
  }
 
  #cssmenu > ul > li > ul {
  width: 100% !important;
  }

  #cssmenu > ul > li > a:hover {
  text-shadow: none !important;
  }

  #cssmenu.align-center ul {
    text-align: left;
  }
  #cssmenu.align-right > ul > li {
    float: none;
  }
  #cssmenu ul {
    /* width: 320px; */
    width:100%;
  }
  #cssmenu .submenuArrow,
  #cssmenu #indicatorContainer {
    display: none;
  }
  #cssmenu > ul {
    height: auto;
    display: block;
  }
  #cssmenu > ul > li {
    float: none;
  }

  #cssmenu > ul > li > a {
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  }


  #cssmenu li,
  #cssmenu > ul > li {
    display: none;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu ul > li:hover > ul,
  #cssmenu ul ul > li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul > li:hover > ul,
  #cssmenu.align-right ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    right: auto;
    display: none; 
    border: 0px;
  }


 #cssmenu ul > li:active > ul { display: block }  

/*  #cssmenu ul > li:hover > ul { display: block }  */



  #cssmenu ul .has-sub::after {
    display: none;
  }
  #cssmenu ul li a {
    padding: 12px 20px;
    color: #fff !important;
    text-shadow: 0.5px 0.5px #222 !important;
  }

  #cssmenu ul li a:hover {
     background: #77889c !important; 
    /* background:#3b4049 !important; */
    color: #fff !important;
  }


  #cssmenu ul ul li a {
    border: 0;
    background: none;
    width: auto;
    padding: 8px 10px 8px 35px;

  }
  #cssmenu.align-right ul ul li a {
    text-align: left;
  }



  #cssmenu ul ul li:hover {
/*    background: #E22E0B; */ /* part of string is selected here */
    color: #8c9195;
  }



  #cssmenu ul ul li:hover > a {
    background: none;
    color: #8c9195;
  }
  #cssmenu ul ul ul a {
    padding: 8px 0 8px 50px
  }
  #cssmenu ul ul ul ul a {
    padding: 8px 0 8px 65px
  }
  #cssmenu ul ul ul ul ul a {
    padding: 8px 0 8px 80px
  }
  #cssmenu ul ul ul ul ul ul a {
    padding: 8px 0 8px 95px
  }
  #cssmenu > ul > #menu-button {
    display: block;
    cursor: pointer;
  }
  #cssmenu #menu-button > a {
    padding: 14px 20px;
  }
  #cssmenu ul.open li,
  #cssmenu > ul.open > li {
    display: block;
  }
  #cssmenu > ul.open > li#menu-button > a {
    color: #fff;
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  }
  #cssmenu ul ul::after {
    display: none;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    border-bottom: 2px solid #7a8189;
    right: 20px;
    top: 15px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    right: 20px;
    top: 25px;
  }
  #cssmenu ul.open #menu-button::after,
  #cssmenu ul.open #menu-button::before {
    border-color: #fff;
  }
}
