/*
Theme Name: Wilderness
Theme URI: http://wordpress.org/
Description: The theme by <a href="http://www.veckd.com" title="veckd">veckd.com</a>
Version: 1.0
Author: Greg Ponchak
Author URI: http://veckd.com/

Enjoy the theme =D

*/
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  background: #fff url('../img/bg.jpg') repeat top;
  font-family: helvetica, arial, verdana, tahoma, sans-serif;
  line-height: 18px;
  color: #333;
}

a {
  color: #8e8a77;
  text-decoration: none;
}

a:hover {
  color: #eee;
}

p {
  margin: 10px 0;
}

small {
  font-size: 11px;
  color: #8e8a77;
}

h2 a,
h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
  color: #615d58;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
}

.clear {
  clear: both;
}

img.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 5px;
}

#container {
  width: 929px;
  margin: 0 auto;
}

.wrapper {
  -webkit-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.5);
}

#header {
  min-height: 368px;
  background: url('../img/header.jpg') no-repeat;
}

.header__top {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 15px;
}

.header__title a {
  font-size: 40px;
  line-height: 40px;
  overflow: hidden;
  color: #39322a;
  text-transform: none;
}

#nav {
  font-size: 19px;
  display: flex;
}

#nav li {
  /* display: inline; */
  padding: 20px 15px 10px 15px;
}

#nav li a {
  text-transform: uppercase;
  color: #d5ccc2;
}

#nav li a:hover {
  border-bottom: 1px solid #d5ccc2;
}

.nav {
  margin-right: 100px;
}

.header__main {
  position: relative;
}

#sideblog {
  font-size: 28px;
  overflow: hidden;
  padding-top: 91px;
  padding-left: 25px;
}

#sideblog,
#sideblog h5 {
  color: #d5ccc2;
}

#sideblog h5 {
  font-weight: normal;
  font-size: 28px;
  line-height: 30px;
  text-transform: uppercase;
}

#picture {
  height: 251px;
  overflow: hidden;
  position: absolute;
  top: 23px;
  right: 28px;
}

#picture img {
  width: 392px;
  height: 251px;
}

#content {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  /* background: url('../img/header.jpg') no-repeat center -368px; */
}

#left {
  width: 100%;
  padding: 15px 0 0 5px;
  background: url('../img/content-bg.png') no-repeat;
}

.post {
  margin: 0 15px 25px 20px;
  /* text-align: left; */
}

.post h2 a:hover {
  color: #000;
}

.post__text {
  color: #505050;
  font-size: 17px;
  font-weight: 600;
}

#right {
  padding: 15px 5px 0 4px;
  background: url('../img/sidebar-bg.png') no-repeat;
}

#sidebar1 {
  float: left;
  width: 202px;
  margin: 0 0 0 3px;
}

#sidebar2 {
  width: 200px;
}

#right div ul,
#right nav ul {
  margin-bottom: 15px;
}

#right div ul li,
#right nav ul li {
  display: inline;
}

#right div ul li a,
#right nav ul li a {
  display: block;
  padding: 2px;
  border-bottom: 1px solid #eee;
}

#right div ul li a:hover,
#right nav ul li a:hover {
  color: #333;
  border-bottom: 1px solid #ccc;
}

.menu-1-container {
  min-height: 84px;
}

.commentlist li {
  padding: 10px;
  background: #eee;
  border-bottom: 1px solid #888;
}

.commentlist li.alt {
  background: #fafafa;
}

.cont-link {
  color: #0000ff;
}

.cont-link:hover {
  color: navy;
  text-decoration: underline;
}

.sideblog__title {
  font-weight: normal;
  text-transform: none;
  color: #d5ccc2;
  font-size: 28px;
  line-height: 36px;
}

.ml-40 {
  margin-left: 38px;
}

.ml-10 {
  margin-left: 9.5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.post__title {
  color: #505050;
  text-transform: none;
  margin-bottom: 0;
  line-height: 22px;
  margin-top: 8px;
}

.list {
  color: #505050;
  list-style-type: none;
  font-size: 17px;
}

.list:first-of-type {
  margin-top: -2px;
}

.list small {
  font-size: 12px;
  color: #505050;
}
.underline-text {
  text-decoration: underline;
}

.pt-8 {
  padding-top: 8px;
}

.nav__tels {
  display: none;
}

.header__burger {
  display: none;
}

.lock {
  overflow: hidden;
}

@media screen and (max-width: 960px) {
  #container {
    width: 100%;
    padding: 0px 15px 0px 15px;
    box-sizing: border-box;
  }

  #header {
    background-position: right top;
  }
}

@media screen and (max-width: 920px) {
  .sideblog__title {
    font-size: 24px;
    line-height: 24px;
  }

  .header__title a {
    font-size: 34px;
  }
}

@media screen and (max-width: 860px) {
  .sideblog__title {
    font-size: 22px;
  }

  .header__title a {
    font-size: 32px;
  }

  #sideblog {
    padding-left: 15px;
  }
}

@media screen and (max-width: 820px) {
  #header {
    background: url(../img/header-bg-table.png) no-repeat;
    background-position: top 0px right -100px;
    min-height: 320px;
  }

  .nav {
    margin-right: 15px;
  }

  .header__title a {
    font-size: 28px;
  }

  .header__main {
    display: flex;
    justify-content: space-between;
    padding-right: 15px;
    align-items: center;
    background: url('../img/header-bg-table.png');
    background-position: top -70px left 0px;
  }

  #sideblog {
    padding-top: 0;
  }

  #picture {
    position: static;
    width: 40%;
    display: flex;
    align-items: center;
  }

  #picture img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 10px solid #b7a893;
    border-radius: 5px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 670px) {
  #header {
    background: white;
    min-height: 0;
  }

  #container {
    padding: 0px;
  }

  #right {
    padding: 0;
  }

  #sidebar2 {
    display: none;
  }

  .header__top {
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
  }

  .nav {
    background-color: rgba(15, 11, 12, 0.9);
    position: absolute;
    left: 0;
    right: 0;
    top: -100vh;
    height: 100vh;
    display: block;
    z-index: 10;
    margin-right: 0;
    transition: 0.5s;
    padding-top: 80px;
    box-sizing: border-box;
    padding-bottom: 40px;
  }

  #nav {
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .nav.active {
    display: block;
    top: 0;
  }

  .nav__tels {
    display: block;
    text-align: center;
  }

  .nav__tels span {
    color: wheat;
  }

  .nav__tels > * {
    display: block;
    margin-bottom: 10px;
  }

  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 11;
    cursor: pointer;
  }

  .header__burger span {
    display: block;
    top: 9px;
    position: absolute;
    background-color: #332a25;
    width: 100%;
    height: 2px;
    left: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .header__burger:before,
  .header__burger:after {
    display: block;
    content: '';
    position: absolute;
    background-color: #332a25;
    width: 100%;
    height: 2px;
    left: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .header__burger.active:before,
  .header__burger.active:after {
    background-color: wheat;
  }

  .header__burger:after {
    bottom: 0;
  }

  .header__burger.active span {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  .header__burger.active:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 9px;
  }

  .header__burger.active:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 9px;
  }
}

@media screen and (max-width: 600px) {
  .header__main {
    flex-direction: column;
    background: url('../img/header-bg-mobile.jpg');
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 0;
  }
  #sideblog {
    margin-bottom: 20px;
  }
  .sideblog__title {
    font-size: 28px;
  }
  #picture {
    width: 80%;
    height: auto;
  }
}

@media screen and (max-width: 600px) {
  .sideblog__title {
    font-size: 22px;
  }
  #picture {
    width: 90%;
  }
  .post__text {
    font-size: 14px;
  }

  #left {
    padding: 0;
  }

  .post {
    padding: 15px;
    margin: 0;
  }
}
