/* fonts */

@import url("http://fonts.googleapis.com/css?family=Droid+Serif%3A400%2C700%2C400italic%2C700italic&ver=5.4.2");

/* header */
.hd-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 8px solid rgba(178, 178, 130, 0.85);
}
.header-container {
  background: url(images/header-background.jpg) no-repeat 50% 50%;
  background-size: 100% 100%;
}
.header-wrap {
  background: url(images/hd-top-background.png) repeat-x 8px 0;
  position: relative;
}
.header-holder {
  position: relative;
}

.logo a {
  display: inline-block;
  padding: 10px;
  background-color: #f9f6f0;
  margin-bottom: 40px;
}
.main-nav {
  display: flex;
}
.main-nav li a {
  font-style: italic;
  font-family: "Droid Serif", serif;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  padding: 75px 15px 24px;
  color: #000;
  transition: background-color 0.25s;
}
.main-nav li a:hover {
  color: #fff;
  background-color: #9e9a53;
}
.has-child {
  position: relative;
}
@media only screen and (min-width: 768px) {
  .has-child .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 160px;
    z-index: 10;
    background-color: #9e9a53;
  }
  .has-child:hover .sub-menu {
    display: block;
  }
}
.has-child .sub-menu a {
  padding: 15px;
  line-height: 13px;
  font-size: 13px;
  color: #fff;
  display: block;
}
.has-child .sub-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
/* footer */
.cst-cnt {
  margin: 0 auto;
  width: 1140px;
}
.copyright {
  padding: 20px 0;

  border-top: 6px solid #c1bbaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ft-right-nav {
  padding: 25px 0 26px;
  font-family: "Droid Serif", serif;
  font-style: italic;
  display: flex;
}
.ft-right-nav li:not(:last-child) {
  margin-right: 30px;
}
.ft-right-nav li a,
.ft-right-nav li a {
  color: #595b3f;
}

.ft-left-text {
  line-height: 16px;
  font-size: 12px;
  padding-bottom: 24px;
}

@media only screen and (max-width: 767px) {
  .logo img {
    width: 100px;
    height: 100px;
  }
  .logo-box {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .nav-box {
    background: url(images/hd-top-background.png) repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    transform: translate(100%);
    transition: transform 0.4s;
  }
  .nav-box.active {
    transform: translate(0);
  }

  body.open {
    overflow: hidden;
  }
  .main-nav {
    background-color: rgba(178, 178, 130, 0.85);
    flex-direction: column;
    width: 260px;
    height: 100%;
    padding-top: 100px;
  }
  .main-nav li a {
    padding: 10px 0 10px 20px;
  }
  .copyright {
    flex-direction: column;

    text-align: center;
  }
  .cst-cnt {
    width: 300px;
  }
  /******SPAN BUTTON*****/
  .btn-menu {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 5px;
    cursor: pointer;
    box-sizing: border-box;
  }
  .btn-menu span {
    position: absolute;
    width: 60%;
    display: block;
    height: 2px;
    background: #000;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    transition: all linear 0.25s;
  }
  .btn-menu span:before,
  .btn-menu span:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    top: -6px;
    background: #000;
    transition: all linear 0.25s;
  }
  .btn-menu span:after {
    top: 6px;
  }
  .btn-menu.open span:before {
    transform: rotate(-45deg);
  }
  .btn-menu.open span {
    background-color: transparent;
  }
  .btn-menu.open span:after {
    transform: rotate(45deg);
  }
  .btn-menu.open span:before,
  .btn-menu.open span:after {
    top: 0;
  }
  .btn-menu.open {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 30;
  }
  /******END OF SPAN BUTTON (sub-menu opener)*****/

  .main-nav li.has-child a {
    padding: 10px 0 5px 20px;
  }
  .main-nav .has-child .sub-menu a {
    padding: 5px 0 5px 40px;
  }
}
@media only screen and (max-width: 1165px) and (min-width: 959px) {
  .cst-cnt {
    width: 940px;
  }
}
@media only screen and (max-width: 959px) and (min-width: 768px) {
  .cst-cnt {
    width: 750px;
  }
}
@media only screen and (max-width: 767px) and (min-width: 480px) {
  .cst-cnt {
    width: 420px;
  }
}
