/* mini reset */
.nav,
.nav a,
.nav form,
.nav input,
.nav li,
.nav ul {
  /* border: none; */
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
}
.nav li {
  list-style: none;
}

/* menu container */
.nav,
input {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.nav {
  cursor: default;
  display: inline-block;
  position: relative;
  z-index: 500;
}

/* menu list */
.nav > li {
  float: left;
}

/* menu links */
.nav > li > a {
  /*background: #372f2b;*/
  /*border-left: 1px solid #4b4441;*/
  /*border-right: 1px solid #312a27;*/
  color: #fcfcfc;
  display: block;
  font-weight: bold;
  line-height: 30px;
  padding: 0 20px 0 0;
  position: relative;
  /*text-shadow: 0 0 1px rgba(0,0,0,.35);*/
  transition: all .3s ease;
  z-index: 510;
}
.nav > li > a:focus,
.nav > li:hover > a {
  color: #4b4441 !important;
}
.nav > li:first-child > a {
  border-left: none;
  /* NAVIN ALLEVIIVAUKSESTA SAI KULMAN PYÖRISTYKSEN POIS */
  /* border-radius: 3px 0 0 3px; */
}

/* search form */
.nav-search > form {
  border-left: 1px solid #4b4441;
  height: 54px;
  position: relative;
  width: inherit;
  z-index: 510;
}
/* .nav-search input[type="text"] {
  background: #372f2b;
  color: #999;
  display: block;
  float: left;
  font-weight: bold;
  line-height: 24px;
  padding: 15px 0;
  text-shadow: 0 0 1px rgba(0,0,0,.35);
  transition: all .3s ease 1s;
  width: 0;
} */
.nav-search input[type="text"]:focus {
  color: #fcfcfc;
}
.nav-search input[type="text"]:focus,
.nav-search:hover input[type="text"] {
  padding: 15px 20px;
  transition: all .3s ease .1s;
  width: 110px;
}
.nav-search input[type="submit"] {
  background: #372f2b url(https://laatukenno.kenno.mehilainen.fi/img/search-icon.png) no-repeat center center; /* IE8 fallback */
  background: #372f2b url(https://laatukenno.kenno.mehilainen.fi/img/search-icon.svg) no-repeat center center;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  display: block;
  float: left;
  height: 54px;
  padding: 0 25px;
  transition: all .3s ease;
}
.nav-search input:focus,
.nav-search input[type="submit"]:hover {
  background-color: #4b4441;
}

/* menu dropdown */
.mega-menu {
  background: #222;
  /*border: 1px solid #ddd;*/
  border-radius: 0 0 3px 3px;
  opacity: 0;
  position: absolute;
  transition: all .3s ease .15s;
  visibility: hidden;
  width: 100%;
  /*margin-top: 1px;*/
  margin-top: 0px;
  width: 470px; /* JÖ */
  height: 170px; /* JÖ */
  margin-left: -1px;
}
li:hover > .mega-menu {
  opacity: 1;
  overflow: visible;
  visibility: visible;
}

/* menu content */
.nav-column {
  float: left;
  padding: 2.5%;
  width: 20%;
}
.nav-column a {
  color: #888;
  display: block;
  font-weight: bold;
  line-height: 26px;
}
.nav-column a:hover {
  color: #ff722b;
}
h3 {
  color: #372f2b;
  font-size: 14px;
  font-weight: bold;
  line-height: 18px;
  margin: 20px 0 10px;
  text-transform: uppercase;
}
.orange {
  color: #ff722b;
}

.mega-menu h3 {
  color: #fff;
}

