/* ----- PLUGIN SETTINGS START ----- */

.sm-netland {
  border: 1px solid #bbbbbb;
  border-top: 0;
  background: white;
  /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
}
.sm-netland a, .sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active {
  padding: 13px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  color: #555555;
  /* font-family: Arial, sans-serif;
  font-size: 16px; */
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
}
.sm-netland a.current {
  background: #555555;
  color: white;
}
.sm-netland a.disabled {
  color: #cccccc;
}
.sm-netland a span.sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 15px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font: bold 14px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(0, 0, 0, 0.08);
}
.sm-netland a.highlighted span.sub-arrow:before {
  display: block;
  content: '-';
}
.sm-netland li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-netland > li:first-child {
  border-top: 0;
}
.sm-netland ul {
  background: rgba(179, 179, 179, 0.1);
}
.sm-netland ul a, .sm-netland ul a:hover, .sm-netland ul a:focus, .sm-netland ul a:active {
  /* font-size: 14px; */
  border-left: 8px solid transparent;
}
.sm-netland ul ul a,
.sm-netland ul ul a:hover,
.sm-netland ul ul a:focus,
.sm-netland ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-netland ul ul ul a,
.sm-netland ul ul ul a:hover,
.sm-netland ul ul ul a:focus,
.sm-netland ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-netland ul ul ul ul a,
.sm-netland ul ul ul ul a:hover,
.sm-netland ul ul ul ul a:focus,
.sm-netland ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-netland ul ul ul ul ul a,
.sm-netland ul ul ul ul ul a:hover,
.sm-netland ul ul ul ul ul a:focus,
.sm-netland ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}

/* ----- PLUGIN SETTINGS END ----- */



/* ----- NAVI SETTINGS START ----- */

.sm { z-index: 999; }

.sm-netland { border-radius: 0; }

/* Mobitoggler */
div#smartnavi-toggler-cont { 
 position: fixed;
 top: 0; 
 left: 0;
 width: 100%; 
 height: 54px; 
 z-index: 10000;
}

div#smartnavi-toggler { display: table-row; }
 
div#smartnavi-logo, 
div#smartnavi-search, 
div#smartnavi-toggle-button-cont { 
 display: table-cell; 
 vertical-align: middle;
}

div#smartnavi-logo {
 width: 20%;
}

div#smartnavi-logo img {
 height: 35px;
 margin-left: 15px;
 width: auto !important;
 display: block;
}

div#smartnavi-search {
 width: 79%;
 padding: 0 40px;
}

@media screen and (max-width: 450px) {
 div#smartnavi-search { padding: 0 10px; }
 div#smartnavi-logo img { height: 30px; }
}

div#smartnavi-toggle-button-cont { 
 width: 1%;
 padding-right: 15px;
}

div#smartnavi-toggle-button { 
 background-repeat: no-repeat;
 background-position: center center;
 width: 36px;
 height: 36px;
 /* -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 -ms-border-radius: 3px;
 -o-border-radius: 3px;
 border-radius: 3px; */
 cursor: pointer;
}

/* Takaisin ylös */
div#smartnavi-bottom-container {
 display: flex;
 align-items: center;
 position: fixed;
 height: 48px;
 bottom: 0;
 left: 0;
 cursor: pointer;
 z-index: 10000;
 -webkit-border-top-right-radius: 24px;
 -moz-border-radius-topright: 24px;
 border-top-right-radius: 24px;
}

div#smartnavi-bottom {
 font-size: 16px;
 text-transform: uppercase;
 padding-left: 20px;
 padding-right: 20px;
}

div#smartnavi-bottom span#arrow-up {
 display: inline-block;
 width: 0; 
 margin-right: 5px;
 height: 0; 
}

div#smartnavi-searchFormWrap {
 box-sizing: border-box;
 width: 100%;
 white-space: nowrap;
 background: #ffffff;
 border: 1px solid #bbbbbb;
/* -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 -khtml-border-radius: 5px;
 border-radius: 5px; */
 height: 35px;
 position: relative;
}

div#smartnavi-searchFormWrap input#smartnavisearch {
 width: 100%;
 background: none;
 vertical-align: top;
 border: 0;
 font-size: 16px;
 line-height: 1em;
 outline: none;
 margin: 0;
 padding: 8px;
}

div#smartnavi-searchFormWrap input#smartnavi-search-button {
 padding: 5px 3px 0 0;
 vertical-align: middle;
 border: none;
 outline: none;
 position: absolute;
 right: 0;
 width: 33px;
 height: 33px;
 background-repeat: no-repeat;
 background-position: center;
 cursor: pointer;
/* -webkit-border-top-right-radius: 5px;
 -moz-border-top-right-radius: 5px;
 -khtml-border-top-right-radius: 5px;
 border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
 -moz-border-bottom-right-radius: 5px;
 -khtml-border-bottom-right-radius: 5px;
 border-bottom-right-radius: 5px; */
}

/* ----- NAVI SETTINGS END ---- */

/* ----- NAVI COLORS START ----- */

/* Mobitogglerin tausta */

div#smartnavi-toggler-cont { 
 background-color: #e0e0e0;
 border-bottom: 1px solid #d0d0d0;
}

/* Mobitogglerin nappula */
div#smartnavi-toggle-button { 
 background-color: #ffffff;
 background-image: url(/common_ui/embed_ui/img/icons_google/navigation/ic_menu_grey600_24dp.png);
 border: 1px solid #dddddd;
}

/* Mobitogglerin nappula hover/active */
div#smartnavi-toggle-button:hover, 
div#smartnavi-toggle-button:active { 
 background-image: url(/common_ui/embed_ui/img/icons_google/navigation/ic_menu_black_24dp.png);
 border: 1px solid #d0d0d0;
}

/* Haku-painike */
div#smartnavi-searchFormWrap input#smartnavi-search-button {
 background-color: #f0f0f0;
 background-image: url(/common_ui/embed_ui/img/icons_google/action/ic_search_grey600_24dp.png); 
}

/* Haku-painike hover */
div#smartnavi-searchFormWrap input#smartnavi-search-button:hover {
 background-image: url(/common_ui/embed_ui/img/icons_google/action/ic_search_black_24dp.png); 
}

/* Naviwrapperin tausta */
nav#main-nav { background: transparent; }

/* Navin tausta */
.sm-netland { background: #eeeeee; }

/* Ykköstason taustaväri */
.sm-netland a { background: #eeeeee; }

/* Ykköstason hover-taustaväri */
.sm-netland a:hover, 
.sm-netland a:focus, 
.sm-netland a:active, 
.sm-netland a.highlighted { 
 background: #dddddd; 
}

/* Ykköstason linkkitekstit */
.sm-netland a, 
.sm-netland a:hover, 
.sm-netland a:focus, 
.sm-netland a:active, 
.sm-netland a.highlighted { 
 color: #555555; 
}

/* Alempien tasojen linkkitekstit */
.sm-netland ul a,
.sm-netland ul a:hover, 
.sm-netland ul a:focus, 
.sm-netland ul a:active, 
.sm-netland ul a.highlighted {
 color: #555555; 
}

/* Päätason nuoli alas */
.sm-netland a span.sub-arrow { border-color: #555555 transparent transparent transparent; }

/* Päätason nuoli oikealle (vertical) */
.sm-netland.sm-vertical a span.sub-arrow { border-color: transparent transparent transparent #555555; }

/* Päätason nuoli alas hover/select */
.sm-netland a:hover span.sub-arrow,
.sm-netland a:focus span.sub-arrow,
.sm-netland a:active span.sub-arrow,
.sm-netland a.highlighted span.sub-arrow { 
 border-color: #555555 transparent transparent transparent; 
}

/* Päätason nuoli oikealle (vertical) hover/select */
.sm-netland.sm-vertical a:hover span.sub-arrow,
.sm-netland.sm-vertical a:focus span.sub-arrow,
.sm-netland.sm-vertical a:active span.sub-arrow,
.sm-netland.sm-vertical a.highlighted span.sub-arrow {
 border-color: transparent transparent transparent #555555; 
}

/* Avautuvat boksit (alitasot) */
.sm-netland ul { 
 background: #ffffff; 
 /* -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); */
}

/* Alitasojen linkin väri */
.sm-netland ul a, 
.sm-netland ul a:hover, 
.sm-netland ul a:focus, 
.sm-netland ul a:active, 
.sm-netland ul a.highlighted { 
 color: #555555; 
}

/* Alitasojen taustaväri */
.sm-netland ul a, 
.sm-netland ul a:hover, 
.sm-netland ul a:focus, 
.sm-netland ul a:active, 
.sm-netland ul a.highlighted { 
 background: #ffffff;
}

/* Alitasojen hover/select-taustaväri */
.sm-netland ul a:hover, 
.sm-netland ul a:focus, 
.sm-netland ul a:active, 
.sm-netland ul a.highlighted { 
 background: #eeeeee; 
}

/* Alitasojen nuoli oikealle */
.sm-netland ul a span.sub-arrow { border-color: transparent transparent transparent #555555; }

/* Alitasojen nuoli oikealle hover/select */
.sm-netland ul a:hover span.sub-arrow, 
.sm-netland ul a:focus span.sub-arrow, 
.sm-netland ul a:active span.sub-arrow, 
.sm-netland ul a.highlighted span.sub-arrow { 
 border-color: transparent transparent transparent #555555; 
}

/* Takaisin ylös -painikkeen tausta */
div#smartnavi-bottom-container {
 background: #e0e0e0;
 border-top: 1px solid #f0f0f0;
 -webkit-box-shadow: 0px -2px 11px 1px rgba(0,0,0,0.1);
 -moz-box-shadow: 0px -2px 11px 1px rgba(0,0,0,0.1);
 box-shadow: 0px -2px 11px 1px rgba(0,0,0,0.1);
}

/* Takaisin ylös -painikkeen teksti */
div#smartnavi-bottom { color: #666666; }

/* Takaisin ylös -painikkeen nuoli */
div#smartnavi-bottom span#arrow-up {
 border-left: 8px solid transparent;
 border-right: 8px solid transparent;
 border-bottom: 8px solid #888888;
}
