/* basic elements */

@font-face{font-family: 'Montserrat'; src: url('../font/Montserrat-Regular.ttf');}
@font-face{font-family: 'Tangerine';src: url('../font/Tangerine-Regular.ttf');}



html {
  background-color: #F9F6F1;
}

body {
  font-family: 'Montserrat', Helvetica, Arial sans-serif;
  font-size: 100%;
  color: #4c4a4c;
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {

  font-family: 'Tangerine', cursive;
  color: #626262;
  font-size: 250%;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
h2,
h3 {

  font-family: 'Tangerine', cursive;
  color: #626262;
  font-size: 200%;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
h4,
h5,
h6 {
  font-family: 'Tangerine', cursive;
  color: #626262;
  font-size: 100%;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

main p > a,
aside p > a {
  color: #252425;
  border-bottom: 1px dotted #666366;
}

a.button,
button,
input[type=submit],
input[type=button] {
  color: inherit;
  border: 1px solid #09764E;
  background-color: transparent;
}
a.button:hover,
button:hover,
input[type=submit]:hover,
input[type=button]:hover {
  color: inherit !important;
  background-color: rgba(9, 118, 78, 0.1);
}

b,
strong {
  font-weight: 500;
}

hr {
  background-color: #626262;
  border: 1px;
  height: 1px;
  margin: 15px 0px;
}

main span[class^=icon-]
aside span[class^=icon-],
footer span[class^=icon-] {
  color: #626262;
}

main ul[class^=list-] > li::before {
  color: #626262;
}

/* wrapper + container */
.page-container {
  margin: 20px auto;
  padding: 10px 20px;
  background-color: white;
  -webkit-box-shadow: 0px 0px 10px #9b9b9b;
  -moz-box-shadow: 0px 0px 10px #9b9b9b;
  box-shadow: 0px 0px 10px #9b9b9b;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/* header */
.header-container {
  position: relative;
  padding: 10px;
}
.header-container::after {
  content: '';
  clear: both;
  display: table;
}
.header-container .logo-container {
  width: 150px;
  max-width: 30%;
  margin: 0 auto;
}
.header-container .logo-container > a > img {
  width: 150px;
  display: block;
}
.header-container .below {
  max-width: 75%;
  margin: 10px auto 0 auto;
}
.header-container .below > p {
  color: #666366;
  font-size: 0.9em;
  text-align: center;
  margin: 0;
}

/* headerimg wrapper */
.headerimg img {
  display: block;
  width: 100%;
}

/* navigation */
.menu-toggle-container {
  display: none;
  float: right;
}
.menu-toggle-container > a {
  display: block;
  width: 40px;
  padding: 7px 5px;
  border: 5px;
}
.menu-toggle-container > a > span {
  display: block;
  height: 5px;
  background-color: #d3d3d2;
}
.menu-toggle-container > a > span + span {
  margin-top: 5px;
}

.nav-container {
  border-top: 1px solid #626262;
  text-align: center;
}
.nav-container::after {
  content: '';
  clear: both;
  display: table;
}
.nav-container nav {
  display: inline-block;
}
.nav-container nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.nav-container nav ul > li {
  margin: 0;
  padding: 0;
}
.nav-container nav .menu-current > a {
  color: #626262;
  font-weight: 500;
}
.nav-container nav .menu-expand > a > .icon-down-open {
  color: #666366;
}
.nav-container nav > ul {
  float: right;
}
.nav-container nav > ul > li {
  float: left;
  position: relative;
}
.nav-container nav > ul > li > a {
  font-size: 0.95em;
  display: block;
  padding: 10px 14px;
  color: #626262;
}
.nav-container nav > ul > li:hover > a {
  color: #505050;
}
.nav-container nav > ul > li:hover > a > .icon-down-open:before {
  content: '\e816';
}
.nav-container nav ul > li > ul {
  position: absolute;
  opacity: 0;
  min-width: 100%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0px 2px 2px #9b9b9b;
  -moz-box-shadow: 0px 2px 2px #9b9b9b;
  box-shadow: 0px 2px 2px #9b9b9b;
  -webkit-transition: opacity 0.4s ease-out;
  -moz-transition: opacity 0.4s ease-out;
  -ms-transition: opacity 0.4s ease-out;
  -o-transition: opacity 0.4s ease-out;
  transition: opacity 0.4s ease-out;
}
.nav-container nav ul > li > ul > li {
  position: relative;
}
.nav-container nav ul > li > ul > li > a {
  display: block;
  padding: 7px 12px;
  font-size: 0.9em;
  color: #4c4a4c;
  white-space: nowrap;
}
.nav-container nav ul > li > ul > li:hover > a {
  color: #0da56d;
}
.nav-container nav > ul > li > ul {
  top: 100%;
  left: 0px;
}
.nav-container nav > ul > li > ul > li > ul {
  left: 100%;
  top: 0;
}
.nav-container nav ul > li:hover > ul {
  opacity: 1;
  z-index: 999;
}

/* footer */
.footer-container {
  font-size: 0.8em;
  overflow: hidden;
  border-top: 1px solid #626262;
}
.footer-container h4,
.footer-container h5,
.footer-container h6 {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  color: #626262;
}
.footer-container .column-content {
  padding: 10px 20px;
}
.footer-container .column-content .footernav > nav {
  margin: 0 auto;
  display: inline-block;
}
.footer-container .column-content .footernav > nav > ul {
  margin: 0;
  padding-left: 0.8em;
}
.footer-container .column-content .footernav > nav > ul > li > a {
  color: #666366;
}
.footer-container .column-content .footernav > nav > ul > li.menu-current > a {
  color: #a1a09e;
}

/* content */
.content-container {
  padding: 10px;
}

/* to-top button */
#totop .icon-up-open-big {
  color: #666366;
}

/* breakpoints */
@media screen and (max-width: 980px) {
  .page-container {
    margin: 0px auto;
    padding: 10px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }

  .header-container {
    padding: 0 0 5px 0;
  }
  .header-container .logo-container {
    width: 12em;
    max-width: 90%;
  }

  .menu-toggle-container {
    display: block;
  }

  .nav-container {
    border-right: 0;
    width: 100%;
  }
  .nav-container nav {
    width: 100%;
    float: none;
    position: relative;
    z-index: 999;
    overflow: hidden;
    max-height: 0px;
    -webkit-transition: max-height 0.6s ease-in-out;
    -moz-transition: max-height 0.6s ease-in-out;
    -ms-transition: max-height 0.6s ease-in-out;
    -o-transition: max-height 0.6s ease-in-out;
    transition: max-height 0.6s ease-in-out;
    /* first to x level */
    /* first level */
    /* second to x level */
  }
  .nav-container nav.open {
    max-height: 500px;
  }
  .nav-container nav ul > li {
    float: none;
    position: static;
  }
  .nav-container nav ul > li > a {
    padding: 7px 10px;
  }
  .nav-container nav > ul {
    float: none;
    margin-left: 10px;
  }
  .nav-container nav ul > li > ul {
    position: static;
    display: none;
    opacity: 1;
    margin-left: 20px;
    border-left: 2px solid #d3d3d2;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .nav-container nav .menu-current > ul,
  .nav-container nav .menu-parent > ul {
    display: block;
  }
  .nav-container nav .menu-expand:hover > a > .icon-down-open:before {
    content: '\e813';
  }
  .nav-container nav .menu-expand.menu-current > a > span:before,
  .nav-container nav .menu-expand.menu-current:hover > a > span:before {
    content: '\e816';
  }

  .content-container {
    padding: 10px 0;
  }
}
@media screen and (max-width: 320px) {
  .header-container .below {
    display: none;
  }
}
