.h-menu:before,
.h-menu:after {
  content: "";
  display: table;
}
.h-menu:after {
  clear: both;
}
.h-menu input[type="checkbox"] {
  display: none;
}
.h-menu ul {
  text-transform: uppercase;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}
.h-menu ul > li {
  position: relative;
}
.h-menu ul > li > a,
.h-menu ul > li > span {
  color: rgb(150, 150, 150);
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: block;
  border-radius: 2px;
  padding: 12px 27px 13px 16px;
}
.h-menu ul > li > a:hover {
  text-decoration: none;
}
.h-menu ul > li > label {
  display: table-cell;
  position: absolute;
  margin: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.h-menu > input,
.h-menu > label {
  display: none;
}

.h-menu ul > li:hover,
.h-menu ul > li:active {
  background-color: #f7f7f7;
  color: rgba(0,0,0,.87);
}

.h-menu ul > li:focus > ul,
.h-menu ul > li:active > ul,
.h-menu ul > li:hover > ul,
.h-menu ul ul:hover {
  /*display: block;*/
}

.h-menu ul > li a:hover {
  text-decoration: none;
}

.h-menu ul li > a:only-child {
  padding-right: 16px;
}

.h-menu ul > li {
  float: left;
  transition: background-color .2s;
}

.h-menu ul > li > label {
  width: 26px;
}

.h-menu ul ul {
  position: fixed;
  height: calc(100% - 136px);
  overflow-y: scroll;
  top: 136px;
  padding: 0 0 70px 0;
  z-index: 100;
  display: block;
  visibility: hidden;
  width: 355px;
  border-left: 1px solid #dfe4e9;
  background: #e6f4f8;
  opacity: 0;
  /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);*/
  margin-left: 0;
  /*transition: margin-left .3s ease-in;*/
}
.h-menu ul.li-opened ul.ul-visible {
  visibility: visible;
  transition: margin-left .3s ease-in;
  opacity: 1;
}
.user-logged-in .h-menu ul ul {
  top: 214px;
  height: calc(100% - 214px);
}

.h-menu ul ul > li {
  float: none;
  padding: 0 33px;
}

.h-menu ul ul ul {
  /*margin-left: 100%;*/
  /* line height + padding of link */
  /*margin-top: -45px;*/
}

/*.h-menu ul > li.edge > ul {*/
/*  margin-left: 0;*/
/*  right: 0;*/
/*}*/

.h-menu ul ul li.edge > ul{
  right: 100%;
}

.h-menu ul > li > label:after {
  content: '';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgb(150, 150, 150);
  position: absolute;
  top: 43%;
  left: 8px;
}

.h-menu ul ul > li > label:after  {
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgb(150, 150, 150);
}


/* MAX 991 */
.h-menu {
  clear: both;
  position: static;
}

.h-menu.hamburger.slidedown > ul {
  display: none;
}

#nav-back {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
}

.h-menu.hamburger.slideright > ul,
.h-menu.hamburger.slideleft > ul {
  position: absolute;
  width: 100%;
  max-height: 100%;
  background: #e4e4e4;
  z-index: 99;
  overflow-y: auto;
}

div#menu-container {
  /*position: absolute;*/
  width: 100%;
  max-height: 100%;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  padding: 20px 33px 70px 33px;
}
label.hamburger {
  display: none;
}
.h-menu.hamburger.slideleft.pull > ul,
.h-menu.hamburger.slideright.pull > ul,
.h-menu.hamburger.slideleft.pull > div#menu-container,
.h-menu.hamburger.slideright.pull > div#menu-container {
  position: fixed;
  min-height: 100%;
  width: 355px;
  border-left: 1px solid #dfe4e9;
}
.h-menu.hamburger.slideleft > ul,
.h-menu.hamburger.slideright > ul,
.h-menu.hamburger.slideleft > div#menu-container,
.h-menu.hamburger.slideright > div#menu-container {
  position: fixed;
}

.h-menu.hamburger.slideright > ul,
.h-menu.hamburger.slideleft > ul,
html body > .layout-container > *:not(header),
html body > .layout-container > header > div > *:not(.hamburger) {
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  transition: all .4s ease;
}

html body > .layout-container > *:not(header),
html body > .layout-container > header > div > *:not(.hamburger) {
  position: relative;
  left: 0;
  right: 0;
}

html.pulledright body > .layout-container > *:not(header),
html.pulledright body > .layout-container > header > div > *:not(.hamburger) {
  right: 100%;
  left: -100%;
}

html.pulledleft body > .layout-container > *:not(header),
html.pulledleft body > .layout-container > header > div > *:not(.hamburger) {
  right: -100%;
  left: 100%;
}

html.pulledright,
html.pulledleft,
html.pulledleftpulledleft,
html.pulledright > body,
html.pulled > body,
html.pulledleft > body {
  overflow: hidden;
}

.h-menu.hamburger.slideright > ul,
.h-menu.hamburger.slideright > div#menu-container {
  right: -100%;
}

.h-menu.hamburger.slideleft > ul,
.h-menu.hamburger.slideleft > div#menu-container {
  left: -100%;
  transition: .3s;
  transition-timing-function: ease-in;
}

.h-menu.hamburger.slideleft.pull > ul,
.h-menu.hamburger.slideleft.pull > div#menu-container {
  left: -100%;
  transition: margin-left .3s ease-in;
  margin-left: -40%;
}
.h-menu.hamburger.pull > ul {
  top: 0;
  padding-top: 45px;
}

.h-menu.hamburger.slideright > input:checked + label + ul,
.h-menu.hamburger.slideright > input:checked + label + div#menu-container {
  right: 0;
}
.h-menu.hamburger.slideleft  > input:checked + label + ul,
.h-menu.hamburger.slideleft > input:checked + label + div#menu-container {
  left: auto;
  transition: margin-left .3s ease-in;
  margin-left: 0;
}

.h-menu.hamburger > input:checked + label + ul {
  margin-left: 0;
}

/*.h-menu ul ul,*/
.h-menu.hamburger.dropdown > ul,
.h-menu.hamburger.dropdown > div#menu-container {
  display: none;
  overflow: hidden;
}

/*.h-menu.hamburger > input:checked + label + ul,*/
/*.h-menu ul input[type=checkbox]:checked + label + ul,*/
/*.h-menu ul input[type=checkbox]:checked + label:nth-of-type(n) + ul,*/
/*.h-menu.dropdown > input:checked + label + div#menu-container {*/
/*display: block !important;*/
/*left: 0;*/
/*}*/

.h-menu ul > li a {
  padding: 12px 16px 13px 16px;
  margin-right: 45px;
}

.h-menu ul > li > label {
  width: 45px;
  height: 45px;
}

.h-menu ul > li > label:before,
.h-menu ul > li > label:after {
  background: rgb(150, 150, 150);
  content: "";
  position: absolute;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.h-menu ul > li > label:before {
  width: 4px;
  height: 16px;
  left: 20px;
  top: 13px;
}

.h-menu ul > li > label:after {
  width: 16px;
  height: 4px;
  top: 19px;
  left: 14px;
}

.h-menu ul input[type=checkbox]:checked + label:before {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.h-menu ul input[type=checkbox]:checked + label:after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
/**
 * Toggle Switch Globals
 *
 * All switches should take on the class `hamburger` as well as their
 * variant that will give them unique properties. This class is an overview
 * class that acts as a reset for all versions of the icon.
 */
.hamburger > input {
  display: none;
}

.hamburger > .hamburger {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 0;
  top: 5px;
  left: 30px;
  padding: 0 40px;
  width: 20px;
  height: 16px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  -webkit-transition: background .3s, -webkit-transform .3s;
  transition: background .3s;
  /*float: none;*/
  z-index: 100;
}
.outside-menu ul > li > ul {
  display: none;
}
.hamburger > .hamburger:focus {
  outline: none;
}

.hamburger > .hamburger > span {
  display: block;
  position: absolute;
  top: 20px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: rgb(150, 150, 150);
}

.hamburger .hamburger > span::before,
.hamburger .hamburger > span::after {
  position: absolute;
  display: none;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgb(150, 150, 150);
  content: "";
}

.hamburger .hamburger > span::before {
  top: -10px;
}

.hamburger .hamburger > span::after {
  bottom: -10px;
}

/* Toggle Switch Style 1 - Blue hamburger, carets instead of pluses */

.hamburger > input + label.hamburger span {
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.hamburger > input + label.hamburger span,
.hamburger > input + label.hamburger span::before,
.hamburger > input + label.hamburger span::after {
  display: none;
  background-color: #fff;
}

.hamburger > input:checked + label.hamburger span {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.h-menu ul > li > label:before {
  width: 12px;
  height: 3px;
  top: 20px;
  left: 13px;
  transform:rotate(45deg);
}

.h-menu ul > li > label:after {

  width: 12px;
  height: 3px;
  top: 20px;
  left: 20px;
  transform:rotate(-45deg);
}

.h-menu ul input[type=checkbox]:checked + label:before {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.h-menu ul input[type=checkbox]:checked + label:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

#block-isiteopen-main-menu ul li {
  float: none;
}
#block-isiteopen-main-menu ul li:hover {
  background: none;
}
#block-isiteopen-main-menu ul li a {
  margin-right: auto;
  padding: 12px 0 13px 0;
  font-size: 16px;
  font-weight: normal;
  line-height: normal;
  color: #15344f;
  text-transform: none;
  border-bottom: 1px solid #dfe4e9;
  position: relative;
}
#block-isiteopen-main-menu ul li.back-menu {
  position: relative;
  padding: 34px 33px 13px 50px;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  line-height: normal;
  color: #008dbc;
  text-transform: none;
  background: #fff;
}
#block-isiteopen-main-menu ul li.back-menu:before {
  content: '';
  display: inline-block;
  height: 12px;
  width: 7px;
  background: url(/sites/default/files/strelica-natrag.svg) no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  position: absolute;
  left: 33px;
  margin-top: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
#block-isiteopen-main-menu ul li.back-menu:hover {
  text-decoration: underline;
  cursor: pointer;
}
#block-isiteopen-main-menu > ul > li:nth-of-type(1) > a,
#block-isiteopen-main-menu > ul > li:nth-of-type(2) > a,
#block-isiteopen-main-menu > ul > li:nth-of-type(3) > a,
#block-isiteopen-main-menu > ul > li:nth-of-type(4) > a {
  font-weight: bold;
}
#block-isiteopen-main-menu ul li ul li ul li a {
  border: none;
  padding: 7px 0 8px 0;
}
#block-isiteopen-main-menu ul > li > ul > li > a {
  font-weight: normal;
}
#block-isiteopen-main-menu ul.li-opened > li > ul.li-opened > li a.link-active,
#block-isiteopen-main-menu ul.li-opened > li > a.link-active {
  text-decoration: underline;
  color: #15344f;
}
#block-isiteopen-main-menu ul.li-opened > li > ul.li-opened > li > a,
#block-isiteopen-main-menu > ul.li-opened > li > a {
  color: #dfe4e9;
}
#block-isiteopen-main-menu ul.li-opened > li > ul.li-opened > li > a:hover,
#block-isiteopen-main-menu ul li a:hover {
  text-decoration: underline;
  color: #15344f;
}
#block-isiteopen-main-menu ul li.has-children > a.link-active:after,
#block-isiteopen-main-menu ul li.has-children > a:hover:after {
  right: -6px;
}
#block-isiteopen-main-menu ul li.has-children > a:after {
  content: '';
  display: inline-block;
  height: 12px;
  width: 7px;
  background: url(/sites/default/files/strelica-desno.svg) no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
@media (max-width: 1199px) {
  .h-menu ul ul {
    top: 90px;
    margin-left: -34px;
  }
}
@media (max-width: 991px) {
  .h-menu.hamburger.slideleft.pull > ul,
  .h-menu.hamburger.slideright.pull > ul,
  .h-menu.hamburger.slideleft.pull > div#menu-container,
  .h-menu.hamburger.slideright.pull > div#menu-container {
    margin-top: -3px;
  }
  .h-menu.hamburger.slideleft > input:checked + label + div#menu-container {
    margin-left: -15px;
  }
  .h-menu ul ul {
    top: 60px;
  }
}
@media (max-width: 575px) {
  .h-menu ul ul {
    top: 52px;
  }
  .h-menu.hamburger.slideleft > input:checked + label + div#menu-container {
    margin-left: 0;
    left: 0;
  }
}
@media (max-width: 450px) {
  .h-menu ul ul {
    width: calc(100% + 34px);
  }
  .h-menu.hamburger.slideleft.pull > ul,
  .h-menu.hamburger.slideright.pull > ul,
  .h-menu.hamburger.slideleft.pull > div#menu-container,
  .h-menu.hamburger.slideright.pull > div#menu-container {
    width: 100%;
    border: none;
    padding-left: 5px;
  }
}
