/**
 * @file
 * Navigation Styling
 */
/* WARNING: This file is completely overridden in the hsl_tyyliopas subtheme, so if you modify this please review
 and apply the modifications in that subtheme's navigation.scss file. */
.icon-small-sprite, .icon-small-cross-blue, .icon-small-star-blue, .icon-small-star-pink, .icon-small-star-white {
  background: url('../img/icon-small-se8cae0c792.png') no-repeat;
}

.icon-small-cross-blue {
  background-position: 0 0;
}

.icon-small-star-blue {
  background-position: 0 -18px;
}

.icon-small-star-pink {
  background-position: 0 -48px;
}

.icon-small-star-white {
  background-position: 0 -33px;
}

/*
 * Markup generated by theme_menu_tree().
 */
ul li.expanded {
  list-style-type: circle;
}

ul li.collapsed {
  list-style-type: disc;
}

ul li.leaf {
  list-style-type: square;
}

@media all and (max-width: 767px) {
  html #navigation,
  html .region-content-nav,
  html #third-level-toggle,
  html #mobile-third-level {
    display: none;
  }
}
/*
 * Navigation bar
 */
#navigation-wrapper {
  background: #007ac9;
  position: relative;
}

#navigation {
  font-size: 16.003px;
  height: 39px;
}
@media all and (max-width: 480px) {
  #navigation {
    border-bottom: 1px solid #ffffff;
  }
}
#navigation .block {
  margin-bottom: 0;
}
#navigation .block-menu .block-title,
#navigation .block-menu-block .block-title {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
#navigation ul.links,
#navigation ul.menu {
  margin: 0;
  padding: 0;
  text-align: left;
}
#navigation ul.links li,
#navigation ul.menu li {
  float: left;
  padding: 0 6px 0 0;
  list-style-type: none;
  list-style-image: none;
}
#navigation ul.links li a,
#navigation ul.menu li a {
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  background: #0255c3;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0090d1), color-stop(100%, #0255c3)), #0255c3;
  background: -webkit-linear-gradient(top, #0090d1, #0255c3), #0255c3;
  background: -moz-linear-gradient(top, #0090d1, #0255c3), #0255c3;
  background: -o-linear-gradient(top, #0090d1, #0255c3), #0255c3;
  background: linear-gradient(top, #0090d1, #0255c3), #0255c3;
  border-top: 1px solid #5ac1ea;
  border-bottom: 1px solid #ffffff;
  color: white;
  display: block;
  font-family: "Proxima Nova Soft Regular", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  font-size: 16.003px;
  line-height: 38px;
  padding: 0 20px;
  position: relative;
  text-decoration: none;
  z-index: 3;
}
@media all and (max-width: 959px) {
  #navigation ul.links li a,
  #navigation ul.menu li a {
    font-size: 15.002px;
    padding: 0 15px;
  }
}
#navigation ul.links li a.active, #navigation ul.links li a.active-trail,
#navigation ul.menu li a.active,
#navigation ul.menu li a.active-trail {
  background: #dfedf5;
  border-bottom-color: #dfedf5;
  border-top-color: #dfedf5;
  color: #007ac9;
}
#navigation ul.links li a.active:hover, #navigation ul.links li a.active-trail:hover,
#navigation ul.menu li a.active:hover,
#navigation ul.menu li a.active-trail:hover {
  cursor: pointer;
  text-decoration: none;
}
#navigation ul.links li a:hover,
#navigation ul.menu li a:hover {
  text-decoration: underline;
}

/*
 * Adjust the main navigation based on the device screen width.
 */
@media all and (max-width: 767px) {
  #navigation {
    height: auto;
    position: absolute;
    right: 0;
    top: -40px;
    width: 100%;
    z-index: 6;
  }
  #navigation .dropdown-menu {
    display: none;
  }
  #navigation.open .dropdown-menu {
    -webkit-box-shadow: 0 4px 0 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 4px 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 0 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #999999;
    border-top: 0 none;
    display: block;
    margin-top: 40px;
  }
  #navigation.open .dropdown-menu ul {
    display: block;
  }
  #navigation.open .dropdown-menu ul li {
    clear: both;
    float: left;
    padding: 0;
    width: 100%;
  }
  #navigation.open .dropdown-menu ul li a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    font-size: 1.154em;
    line-height: 1.69977em;
    background: #007ac9;
    border: 0 none;
    border-bottom: 1px solid #005b96;
    border-top: 1px solid #0099fc;
    padding: 5px 25px;
  }
  #navigation.open .dropdown-menu ul li a.active, #navigation.open .dropdown-menu ul li a.active-trail {
    background: #dfedf5;
    border-bottom: 0 none;
  }
  #navigation.open .dropdown-menu ul li a.active:hover, #navigation.open .dropdown-menu ul li a.active-trail:hover, #navigation.open .dropdown-menu ul li a:hover {
    background: #0089e3;
    color: #ffffff;
  }

  body.with-compact-header #navigation {
    height: 40px;
    position: absolute;
    right: 75px;
    top: -2px;
  }
  body.with-compact-header #navigation .dropdown-menu {
    margin-left: 75px;
  }
}
#main-menu-toggle {
  -webkit-border-radius: 14px 14px 0 0;
  -moz-border-radius: 14px 14px 0 0;
  -ms-border-radius: 14px 14px 0 0;
  -o-border-radius: 14px 14px 0 0;
  border-radius: 14px 14px 0 0;
  background: url('../img/hsl-sprite.png?20160401') no-repeat -12px -158px;
  float: right;
  height: 40px;
  overflow: hidden;
  padding: 0;
  text-indent: -999px;
  width: 75px;
  z-index: 5;
}
#main-menu-toggle:hover {
  background-position: -12px -200px;
}
#main-menu-toggle:active, #main-menu-toggle:focus {
  background-position: -12px -242px;
  outline: none;
}

.with-compact-header #main-menu-toggle {
  margin-right: 10px;
}

/*
 * Top navigation bar
 */
.region-navbar-top h2 {
  display: none;
}
.region-navbar-top ul {
  margin: 0;
  padding: 0;
}
.region-navbar-top ul li {
  float: left;
  list-style-type: none;
}
.region-navbar-top ul li:before {
  content: '\25CF';
  display: block;
  font-size: 0.5em;
  float: left;
  text-align: center;
  width: 2em;
}
.region-navbar-top ul li.first:before {
  content: "";
  display: none;
}
.region-navbar-top ul.menu li.first:before {
  content: '\25CF';
  display: block;
}

/*
 * Second level navigation bar
 */
#content-top .block-menu-block {
  margin: 0;
  position: relative;
}
#content-top .block-menu-block h2.block-title {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
#content-top .block-menu-block ul {
  clear: both;
  list-style-type: none;
  margin: 0;
  padding: 0 60px 0 0;
  position: relative;
}
#content-top .block-menu-block ul li {
  display: inline-block;
  float: left;
  list-style-type: none;
  padding: 6px 0;
}
#content-top .block-menu-block ul li.first {
  margin-top: -10px;
  padding: 0;
}
#content-top .block-menu-block ul li.first a,
#content-top .block-menu-block ul li.first a:hover,
#content-top .block-menu-block ul li.first a:active,
#content-top .block-menu-block ul li.first a:focus,
#content-top .block-menu-block ul li.first a.active-trail {
  font-size: 3.385em;
  line-height: 1.15896em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #007ac9;
  font-family: "Proxima Nova Soft Semibold", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  font-weight: normal;
  height: 1.3em;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
@media all and (max-width: 767px) {
  #content-top .block-menu-block ul li.first a,
  #content-top .block-menu-block ul li.first a:hover,
  #content-top .block-menu-block ul li.first a:active,
  #content-top .block-menu-block ul li.first a:focus,
  #content-top .block-menu-block ul li.first a.active-trail {
    font-size: 2.031em;
    line-height: 0.90141em;
    padding-top: 15px;
  }
}
@media all and (max-width: 767px) {
  #content-top .block-menu-block ul li.first a,
  #content-top .block-menu-block ul li.first a:hover,
  #content-top .block-menu-block ul li.first a:active,
  #content-top .block-menu-block ul li.first a:focus,
  #content-top .block-menu-block ul li.first a.active-trail {
    height: 1.8em;
  }
}
@media all and (min-width: 768px) {
  #content-top .block-menu-block ul li.first a:after {
    content: '\203A';
    font-family: "Proxima Nova Soft Semibold";
    font-size: 45px;
    padding-left: 10px;
  }
  #content-top .block-menu-block ul li.first a.active:after {
    content: "";
  }
}
#content-top .block-menu-block ul li a {
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
  border-radius: 14px;
  border-bottom: 1px solid transparent;
  border-top: 1px solid transparent;
  display: inline-block;
  font-weight: bold;
  margin: 0 0 0 5px;
  padding: 4px 10px;
  position: relative;
}
#content-top .block-menu-block ul li a.active-trail {
  background: #00b9e4;
  border-bottom-color: #ffffff;
  border-top-color: #0094b6;
  border-top-color: #00b9e4;
  color: #ffffff;
}
#content-top .block-menu-block ul li a:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #00b9e4;
  cursor: pointer;
  text-decoration: none;
}
#content-top .block-menu-block ul li a:active, #content-top .block-menu-block ul li a:focus {
  background: #eff5f9;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #cee2ee), color-stop(100%, #eff5f9)), #eff5f9;
  background: -webkit-linear-gradient(top, #cee2ee, #eff5f9), #eff5f9;
  background: -moz-linear-gradient(top, #cee2ee, #eff5f9), #eff5f9;
  background: -o-linear-gradient(top, #cee2ee, #eff5f9), #eff5f9;
  background: linear-gradient(top, #cee2ee, #eff5f9), #eff5f9;
  border-bottom-color: #ffffff;
  border-top-color: #a5b5be;
  color: #007ac9;
  text-decoration: none;
}
#content-top .block-menu-block ul .menu-inner {
  float: right;
  margin: 0;
}
#content-top .block-menu-block ul .more {
  color: #007ac9;
  margin-top: -10px;
}
#content-top .block-menu-block ul .more #more-toggle {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  background: url('../img/hsl-sprite.png?20160401') no-repeat -212px -153px transparent;
  border: 0 none;
  height: 47px;
  margin: 0 -60px 0 10px;
  overflow: hidden;
  padding: 0 5px;
  text-indent: -999px;
  width: 38px;
  z-index: 4;
}
#content-top .block-menu-block ul .more #more-toggle:hover, #content-top .block-menu-block ul .more #more-toggle:active, #content-top .block-menu-block ul .more #more-toggle:focus {
  border: 0 none;
  outline: none;
}
#content-top .block-menu-block ul .more.open #more-toggle {
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  -ms-border-radius: 5px 5px 0 0;
  -o-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background-color: #ffffff;
  background-position: -310px -155px;
  border-top: 1px solid #cccccc;
}
#content-top .block-menu-block ul .more #more-items {
  padding: 0;
  position: absolute;
  right: 0;
  top: 43px;
  z-index: 2;
}
#content-top .block-menu-block ul .more #more-items li {
  display: none;
  float: none;
  padding: 0;
}
#content-top .block-menu-block ul .more #more-items li.last {
  border: 0 none;
}
#content-top .block-menu-block ul .more #more-items li.last a {
  -webkit-box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #cccccc;
}
#content-top .block-menu-block ul .more #more-items li a {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  background: #ffffff;
  border-top: 1px solid #cccccc;
  display: block;
  font-weight: normal;
  margin: 0 -10px;
  padding: 10px;
}
#content-top .block-menu-block ul .more #more-items li a.active, #content-top .block-menu-block ul .more #more-items li a.active-trail {
  background: #ffffff;
  color: #000000;
}
#content-top .block-menu-block ul .more #more-items li a.active:hover, #content-top .block-menu-block ul .more #more-items li a.active:active, #content-top .block-menu-block ul .more #more-items li a.active:focus, #content-top .block-menu-block ul .more #more-items li a.active-trail:hover, #content-top .block-menu-block ul .more #more-items li a.active-trail:active, #content-top .block-menu-block ul .more #more-items li a.active-trail:focus {
  background: #ffffff;
  cursor: default;
}
#content-top .block-menu-block ul .more.open #more-items {
  width: 100%;
}
@media all and (min-width: 768px) {
  #content-top .block-menu-block ul .more.open #more-items {
    width: 50%;
  }
  #content-top .block-menu-block ul .more.open #more-items li a {
    margin: 0;
  }
}
#content-top .block-menu-block ul .more.open #more-items li {
  display: block;
}

/*
 * Main menu
 */
/*
 * Secondary menu
 */
#secondary-menu {
  float: right;
}

/*
 * "Menu block" blocks
 */
/*
 * Menu blocks on sidebar
 */
.region-sidebar-first .block-menu-block h2.block-title {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.region-sidebar-first .block-menu-block ul {
  font-size: 19.8055px;
  margin: 0;
  padding: 0;
}
.region-sidebar-first .block-menu-block ul li {
  list-style-type: none;
  margin: 0 0 2px;
  position: relative;
}
.region-sidebar-first .block-menu-block ul li a {
  background: #dfedf5;
  border-bottom: 2px solid #dfedf5;
  display: block;
  font-family: "Proxima Nova Soft Regular", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  line-height: 1.2em;
  padding: 13px 10px 11px 30px;
}
.region-sidebar-first .block-menu-block ul li a.active {
  background: #00b9e4;
  border-bottom-color: transparent;
  color: #ffffff;
}
.region-sidebar-first .block-menu-block ul li.active-trail a {
  background-color: #ffffff;
}
.region-sidebar-first .block-menu-block ul li.active-trail a.active {
  background: #00b9e4;
  color: #ffffff;
}
.region-sidebar-first .block-menu-block ul li.expanded {
  border: 2px solid #dfedf5;
  margin: 12px 0;
}
.region-sidebar-first .block-menu-block ul li.expanded a.active {
  margin: -2px -2px 0 -2px;
}
.region-sidebar-first .block-menu-block ul li.expanded ul li a {
  font-size: 16.003px;
  padding-left: 40px;
}
.region-sidebar-first .block-menu-block ul li.expanded .expanded {
  border: 0;
  margin: 0;
}
.region-sidebar-first .block-menu-block ul li.expanded .expanded ul li a {
  border-bottom: 1px dotted #b2b2b2;
  font-size: 15.002px;
  margin: 0 10px 0 30px;
  padding: 7px 10px 5px 15px;
}
.region-sidebar-first .block-menu-block ul li.expanded .expanded ul li a.active {
  background: transparent;
  color: #000000;
}
.region-sidebar-first .block-menu-block ul li.last a {
  border-bottom: 0;
}

/*
 * Sidebar menu moved to the top on mobile
 */
#third-level-toggle {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background: url('../img/hsl-sprite.png?20160401') no-repeat -477px -173px #dfedf5;
  border: 1px solid #dfedf5;
  border-bottom: 0 none;
  display: block;
  float: right;
  height: 38px;
  margin: 0 0 10px;
  overflow: hidden;
  position: relative;
  text-indent: -999px;
  width: 29px;
  z-index: 1;
}
#third-level-toggle.open {
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  -ms-border-radius: 5px 5px 0 0;
  -o-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background-position: -598px -175px;
  background-color: #ffffff;
  border-color: #cccccc;
}
#third-level-toggle:focus {
  outline: none;
}

#mobile-third-level ul {
  background: #ffffff;
  display: none;
  list-style-type: none;
  margin: 0 -15px;
  padding: 0;
  position: absolute;
  top: 38px;
  width: 100%;
}
#mobile-third-level ul li {
  list-style-type: none;
}
#mobile-third-level ul li a {
  border-top: 1px solid #cccccc;
  display: block;
  margin: 0 -10px;
  padding: 10px 25px;
}
#mobile-third-level ul li.last a {
  -webkit-box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 0 0px rgba(0, 0, 0, 0.2);
}
#mobile-third-level ul li ul {
  margin: 0 15px;
  position: static;
}
#mobile-third-level ul li ul li.last a {
  -webkit-box-shadow: 0 0 0 0 white;
  -moz-box-shadow: 0 0 0 0 white;
  box-shadow: 0 0 0 0 white;
}
#mobile-third-level.open ul {
  display: block;
}

#block-system-user-menu {
  float: right;
  padding-top: 0.2em;
  font-family: "Proxima Nova Soft Regular", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  font-weight: bold;
  color: white;
  font-size: 17.004px;
}
#block-system-user-menu ul.menu li.first:before {
  content: "";
  width: 0.5em;
}

#block-hsl-embedded-components-components-embedded-navigation {
  margin-bottom: 0;
}
