
/* evkdo2016 - custom styles
-------------------------------------------------------------------------------------------*/



/* Menu Button 
================================================ */
.main-menu-btn {
  position: relative;
  top:10px;
  left:10px;
  display: inline-block;
  width: 28px;
  height: 28px;
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* hamburger icon */
.main-menu-btn-icon, 
.main-menu-btn-icon:before, 
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #D2052A;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu {
  display: none;
}
#main-menu-state ~ #main-menu {
  
}
#main-menu-state:checked ~ #main-menu{

}
@media (min-width: 1200px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
}








/* Theme 
================================================ */


.sm-custom {
  background: #ffffff;
  margin-top: 12px;
  margin-bottom:0;
}
.sm-custom a, 
.sm-custom a:hover, 
.sm-custom a:focus, 
.sm-custom a:active {
  padding: 13px 0;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  padding-left:15px;
  color: #15469D;
  /*font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;*/
  font-size: 16px;
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
}
.sm-custom a.current {
  color: #d23600;
}
.sm-custom a.disabled {
  color: #bbbbbb;
}
.sm-custom a .addtext{ display:none; font-size:70%; margin-top:5px;}

.sm-custom a span.sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 8px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font:  "kultursekretariaticon";
  font-size:15px;
  line-height:34px;
  text-align: center;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.5);
}
.sm-custom a span.sub-arrow:before {
  display: block;
  font-family: "kultursekretariaticon";
  content: "\e908";
}
.sm-custom a.highlighted span.sub-arrow:before {
  display: block;
  font-family: "kultursekretariaticon";
  content: "\e909";
}
.sm-custom > li:first-child > a, 
.sm-custom > li:first-child > :not(ul) a {

}
.sm-custom > li:last-child > a, 
.sm-custom > li:last-child > *:not(ul) a, 
.sm-custom > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > a, 
.sm-custom > li:last-child > ul > li:last-child > *:not(ul) a, 
.sm-custom > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {

}
.sm-custom > li:last-child > a.highlighted, 
.sm-custom > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > a.highlighted, 
.sm-custom > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted,
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, 
.sm-custom > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {

}
.sm-custom li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-custom > li:first-child {
  border-top: 0;
}
.sm-custom ul {
  background: rgba(93,72,123, 0.05);
}
.sm-custom ul a, 
.sm-custom ul a:hover, 
.sm-custom ul a:focus, 
.sm-custom ul a:active {
  font-size: 16px;
  /*border-left: 8px solid transparent;*/
  padding-left: 20px;
}
.sm-custom ul ul a,
.sm-custom ul ul a:hover,
.sm-custom ul ul a:focus,
.sm-custom ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-custom ul ul ul a,
.sm-custom ul ul ul a:hover,
.sm-custom ul ul ul a:focus,
.sm-custom ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-custom ul ul ul ul a,
.sm-custom ul ul ul ul a:hover,
.sm-custom ul ul ul ul a:focus,
.sm-custom ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-custom ul ul ul ul ul a,
.sm-custom ul ul ul ul ul a:hover,
.sm-custom ul ul ul ul ul a:focus,
.sm-custom ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

@media (min-width: 1200px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
  .sm-custom ul {position: absolute; width: 12em; }
  .sm-custom li {float: left; }
  .sm-custom.sm-rtl li {float: right; }
  .sm-custom ul li, 
  .sm-custom.sm-rtl ul li, 
  .sm-custom.sm-vertical li {float: none; }
  .sm-custom a {white-space: nowrap; }
  .sm-custom ul a, 
  .sm-custom.sm-vertical a {white-space: normal; }
  .sm-custom .sm-nowrap > li > a, 
  .sm-custom .sm-nowrap > li > :not(ul) a {white-space: nowrap; }
  /* ...end */








  .sm-custom {
    padding: 0;
    background: transparent;
  }
  .sm-custom a,
  .sm-custom a:hover,
  .sm-custom a:focus,
  .sm-custom a:active,
  .sm-custom a.highlighted {
    color:#000000; font-weight:400; display:block; margin:0 20px; padding:0;
  }
  .sm-custom a:hover,
  .sm-custom a:focus,
  .sm-custom a:active,
  .sm-custom a.highlighted {
    color:#EC1B23; text-decoration:none;
  }
  .sm-custom a.current {
    color: #EC1B23;
  }
  .sm-custom a.disabled {
    color: #bbbbbb;
  }
  .sm-custom a.has-submenu {
    /*padding-right: 24px;*/
  }

  .sm-custom ul li:last-child a{margin-right:0;}
  .sm-custom a span.addtext{ display:block; }
  .sm li, .sm a {
     position: static; 
}

  .sm-custom a span.sub-arrow {
    /*top: 50%;
    margin-top: -2px;
    right: 12px;
    width: 0;
    height: 0;
    border-width: 4px;
    border-style: solid dashed dashed dashed;
    border-color: #555555 transparent transparent transparent;*/
    display:none;
  }
  .sm-custom a.highlighted span.sub-arrow:before {
    display: none;
  }
  .sm-custom li {
    border-top: 0;
  }
  .sm-custom > li > ul:before,
  .sm-custom > li > ul:after {
    content: '';
    position: absolute;
    top: -18px;
    left: 30px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 9px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #bbbbbb transparent;
  }
  .sm-custom > li > ul:after {
    top: -16px;
    left: 31px;
    border-width: 8px;
    border-color: transparent transparent white transparent;
  }
  .sm-custom ul {
    border: 1px solid #bbbbbb;
    padding: 5px 0;
    background: white;
    -webkit-box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
  }
  .sm-custom ul a, 
  .sm-custom ul a:hover, 
  .sm-custom ul a:focus, 
  .sm-custom ul a:active, 
  .sm-custom ul a.highlighted {
    border: 0 !important;
    padding: 10px 20px;
    color: #555555;
  }
  .sm-custom ul a:hover, 
  .sm-custom ul a:focus, 
  .sm-custom ul a:active, 
  .sm-custom ul a.highlighted {
    background: #eeeeee;
    color: #d23600;
  }
  .sm-custom ul a.current {
    color: #d23600;
  }
  .sm-custom ul a.disabled {
    background: white;
    color: #cccccc;
  }
  .sm-custom ul a.has-submenu {
    padding-right: 20px;
  }
  .sm-custom ul a span.sub-arrow {
    right: 8px;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #555555;
  }
  .sm-custom span.scroll-up,
  .sm-custom span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }
  .sm-custom span.scroll-up:hover,
  .sm-custom span.scroll-down:hover {
    background: #eeeeee;
  }
  .sm-custom span.scroll-up:hover span.scroll-up-arrow, 
  .sm-custom span.scroll-up:hover span.scroll-down-arrow {
    border-color: transparent transparent #d23600 transparent;
  }
  .sm-custom span.scroll-down:hover span.scroll-down-arrow {
    border-color: #d23600 transparent transparent transparent;
  }
  .sm-custom span.scroll-up-arrow, 
  .sm-custom span.scroll-down-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -6px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 6px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #555555 transparent;
  }
  .sm-custom span.scroll-down-arrow {
    top: 8px;
    border-style: solid dashed dashed dashed;
    border-color: #555555 transparent transparent transparent;
  }
  .sm-custom.sm-rtl a.has-submenu {
    padding-right: 12px;
    padding-left: 24px;
  }
  .sm-custom.sm-rtl a span.sub-arrow {
    right: auto;
    left: 12px;
  }
  .sm-custom.sm-rtl.sm-vertical a.has-submenu {
    padding: 10px 20px;
  }
  .sm-custom.sm-rtl.sm-vertical a span.sub-arrow {
    right: auto;
    left: 8px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #555555 transparent transparent;
  }
  .sm-custom.sm-rtl > li > ul:before {
    left: auto;
    right: 30px;
  }
  .sm-custom.sm-rtl > li > ul:after {
    left: auto;
    right: 31px;
  }
  .sm-custom.sm-rtl ul a.has-submenu {
    padding: 10px 20px !important;
  }
  .sm-custom.sm-rtl ul a span.sub-arrow {
    right: auto;
    left: 8px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #555555 transparent transparent;
  }
  .sm-custom.sm-vertical {
    padding: 10px 0;
  }
  .sm-custom.sm-vertical a {
    padding: 10px 20px;
  }
  .sm-custom.sm-vertical a:hover, 
  .sm-custom.sm-vertical a:focus, 
  .sm-custom.sm-vertical a:active, 
  .sm-custom.sm-vertical a.highlighted {
    background: white;
  }
  .sm-custom.sm-vertical a.disabled {
    background: #eeeeee;
  }
  .sm-custom.sm-vertical a span.sub-arrow {
    right: 8px;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #555555;
  }
  .sm-custom.sm-vertical > li > ul:before,
  .sm-custom.sm-vertical > li > ul:after {
    display: none;
  }
  .sm-custom.sm-vertical ul a {
    padding: 10px 20px;
  }
  .sm-custom.sm-vertical ul a:hover, 
  .sm-custom.sm-vertical ul a:focus, 
  .sm-custom.sm-vertical ul a:active, 
  .sm-custom.sm-vertical ul a.highlighted {
    background: #eeeeee;
  }
  .sm-custom.sm-vertical ul a.disabled {
    background: white;
  }
}