/*
Theme Name: reGeneration
Author: Mirlo Studio
Version: pre-alpha
*/


/**
 * Table of Contents
 *
 * 1.0 - Basis
 * 2.0 - Content
 *   2.1 - Header
 *   2.2 - Header Menu
 *   2.3 - Main
 *   2.4 - Footer
 * 3.0 - Home
 * 4.0 - Search
 *   4.1 - Search Form
 *   4.2 - Search
 * 4.0 - Media Queries
 *   4.1 - >= 320px
 *   4.2 - >= 768px
 *   4.3 - >= 1024px
 *   4.4 - >= 1440px
 */


/**
 * 1.0 - Basis
 */

@font-face {
  font-family: 'Chronicle Display Roman';
  src: url(fonts/Chronicle_Display_Roman.otf)
}
@font-face {
  font-family: ChronicleDisplay;
  font-weight: 700;
  src: url(fonts/Chronicle_Display_Bold.otf)
}
@font-face {
  font-family: ChronicleDisplay;
  font-weight: 600;
  src: url(fonts/ChronicleDisplaySemibold.otf)
}
@font-face {
  font-family: Akkurat;
  font-weight: 400;
  src: url(fonts/Akkurat_Regular.otf)
}
@font-face {
  font-family: Akkurat;
  font-weight: 700;
  src: url(fonts/Akkurat_Bold.otf)
}
body { margin: 0 }
button:focus, input:focus { outline:0 }


/**
 * 2.0 - Content
 */

/**
 * 2.1 - Header
 */

.page-header {
  position: fixed;
  height: 50px;
  width: 100%;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 9
}
.page-header-container {
  margin: 0 18px
}
.page-header-menu-icon {
  position: absolute;
  top: 22px;
  cursor: pointer
}
.page-header-menu-icon > div {
  display: table;
  height: 1px;
  width: 18px;
  background: #000
}
.page-header-menu-icon .line1, .page-header-menu-icon .line2 {
  margin-top: 3px
}
.page-header-logo {
  position: absolute;
  left: 50%;
  height: 100%;
  width: 146px;
  background: url(img/logo.png) no-repeat center;
  background-size: contain;
  transform: translateX(-50%)
}
.page-header-search-icon {
  display: table;
  position: relative;
  float: right;
  top: 19px;
  margin: 0 12px 0 0;
  height: 15px;
  width: 15px;
  background: url(img/search.png) no-repeat center;
  background-size: contain;
  cursor: pointer
}
.page-header-cart-icon {
  display: table;
  position: relative;
  float: right;
  top: 19px;
  height: 15px;
  width: 16px;
  background: url(img/cart.png) no-repeat center;
  background-size: contain;
  cursor: pointer
}


/**
 * 2.2 - Header Menu
 */

.page-header-menu {
  visibility: hidden;
  position: fixed;
  top: calc(-100% + 50px);
  height: calc(100% - 50px);
  width: 252px;
  background: #fff;
  transition: .4s;
  z-index: 8;
  overflow: hidden
}
.page-header-menu.open {
  visibility: visible;
  top: 50px
}
.page-header-menu > ul {
  transition: .3s
}
.page-header-menu ul {
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none
}
.page-header-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  padding: 0 0 0 36px
}
.page-header-menu .sub-menu a {
  padding: 13px 18px 13px 0
}
.page-header-menu .sub-menu > .go-back {
  position: absolute;
  font: 700 18px Akkurat;
  color: #ff585c;
  transform: translateY(7px) translateX(-18px);
  cursor: pointer
}
.page-header-menu li.menu-item-has-children > a::after {
  content: '>';
  margin: 0 0 0 60px;
  font: 700 18px Akkurat;
  color: #ff585c
}
.page-header-menu li {
  margin: 2px 0 0
}
.page-header-menu a {
  display: block;
  padding: 13px 18px;
  font: 400 12px Akkurat;
  color: #737373;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s
}
.page-header-menu a:hover {
  color: #ff585c
}


/**
 * 2.3 - Main
 */

.page {
  position: absolute;
  top: 0;
  width: 100%
}
.page-main {
  margin-top: 50px
}


/**
 * 2.4 - Footer
 */

.page-footer {
  padding: 38px 0;
  border-top: solid 1px #818181
}
.page-footer p, .page-footer .textwidget {
  margin: 3px 0 6px;
  font: 400 13px Akkurat;
  line-height: 22px
}
.go-arrow {
  display: table;
  margin: auto;
  height: 12px;
  width: 12px;
  background: url(img/right_arrow.png);
  opacity: .7
}
h5 {
  margin: 0;
  font: 700 18px ChronicleDisplay
}
.page-footer h2 {
  margin: 0;
  font: 700 18px ChronicleDisplay
}
.page-footer-container {
  display: table;
  margin: auto
}
.page-footer-container > div {
  display: table;
  color: #a7a7a7
}
.contact-us {
  margin-top: 10px
}
.follow-us {
  margin-top: 10px
}
.follow-us a, .contact-us a {
  font: 400 13px Akkurat;
  color: #a7a7a7;
  text-decoration: none
}
.follow-us .links {
  margin: 4px 1px 30px
}
.follow-us a::after {
  content: ' | ';
  font: 400 13px Akkurat;
  color: #a7a7a7
}
.follow-us a:last-child::after {
  content: ''
}
.follow-us input[type=email] {
  margin: 0 3px 0;
  width: 130px;
  border: none;
  border-bottom: 1px solid #a7a7a7;
  font: 400 14px Akkurat;
  color: #a7a7a7
}
button, input[type=submit] {
  padding: 4px 18px;
  background: #fff;
  border: 1px solid #a7a7a7;
  font: 400 11px Akkurat;
  color: #a7a7a7;
  cursor: pointer
}
.rights {
  padding: 65px 0 38px;
  margin: auto;
  font: 400 13px Akkurat;
  box-sizing: border-box
}


/**
 * 3.0 - Home
 */

.cover-images {
  display: table;
  position: relative;
  height: calc(100vh - 50px);
  width: 100%;
  background-size: cover!important;
  transition: .8s
}
.scroll-down {
  position: absolute;
  bottom: 12px;
  left: calc(50% - 15.5px);
  height: 31px;
  width: 31px;
  background: url(img/scroll_down.png);
  cursor: pointer
}
h1 {
  margin: 57px 0 26px;
  font: 400 18px 'Chronicle Display Roman';
  color: #000;
  text-align: center
}



.products {
  display: table;
  width: 100%;
  margin: auto
}
.products .product {
  position: relative;
  float: left;
  margin: 9px;
  padding: 40px 38px;
  background: #f6f6f6;
  box-sizing: border-box
}
.products .product img {
  display: table;
  margin: auto
}
.product .hover {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, .75);
  border: 1px solid #f00;
  box-sizing: border-box
}
.product .hover p {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 200px;
  font: 400 13px Akkurat;
  transform: translateY(-50%) translateX(-50%)
}
.product:hover .hover {
  visibility: visible;
}
.product .go-arrow {
  margin: 20px auto 0;
  opacity: 1
}
.product .icons {
  float: right;
  margin: 7px
}
.product .icons a {
  display: table;
  margin: 4px 0 0;
  height: 20px;
  width: 22px;
  background: url(img/product.png) no-repeat
}
.product .fav {
  background-position: 0 -27px!important
}
.product .inquiry {
  background-position: 0 -50px!important
}
.product .download {
  background-position: 0 -72px!important
}



.collections .posts {
  margin: auto;
  width: calc(100% - 36px)
}
.collections .post {
  margin: 0 auto 34px
}
.collections .post-thumbnail {
  height: 60vw;
  background-size: cover!important;
  background-position: center!important
}
.collections .col:last-child {
  display: none
}
.collections .content {
  margin: 30px auto 0;
  width: calc(100% - 24px);
  text-align: left
}
.collections h2 {
  margin: 10px 0 0
}
.collections p {
  margin: 11px 0 10px;
  font: 400 12px Akkurat;
  line-height: 21px
}
.collections .explore {
  display: table;
  margin: 42px 0 0 10px;
  font: 400 11px Akkurat;
  color: #818181;
  letter-spacing: 2.3px;
  text-decoration: none;
  cursor: pointer
}
.collections .view-more {
  display: none
}




.content {
  margin: auto;
  color: #818181;
  text-align: center
}
.interiors p {
  max-width: 415px;
  margin: 10px auto 0;
  font: 400 12px Akkurat;
  line-height: 23px
}
.interiors h3 {
  margin: 24px 0 10px;
  font: 400 11px Akkurat;
  letter-spacing: 3px
}
.interiors h2 {
  margin: 0
}
.interiors .go-arrow {
  margin: 32px auto 20px
}
.interiors img {
  width: calc(100% - 36px)
}
h3 {
  font: 400 15px Akkurat
}
h2 {
  font: 600 20px ChronicleDisplay
}

.news .post {
  margin: 0 auto 20px;
  width: calc(100% - 36px)
}
.news .post .content  {
  position: relative;
  padding: 46px 24px 36px;
  top: -22px;
  max-height: 390px;
  width: calc(100% - 24px);
  background: #f6f6f6;
  box-sizing: border-box;
  text-align: left
}
.news h2 {
  margin: 0 0 10px;
  line-height: 30px
}
.news p {
  font: 400 12px Akkurat;
  line-height: 21px
}
.news .post-thumbnail {
  height: 60vw;
  background-size: cover!important
}
.news .go-arrow {
  margin: 0
}






.instagram {
  display: table;
  width: 100%
}
.left-pic {
  display: none;
  float: left;
  height: 480px;
  max-width: 342px;
  background: url(img/inst0.jpg) no-repeat center
}
.center-col {
  margin: auto;
  width: calc(100% - 36px)
}
.center-col a {
  display: table;
  float: left;
  height: 18px;
  width: 18px;
  background-image: url(img/social.png)
}
.social {
  display: table;
  margin: 0 auto 50px
}
.hash {
  margin: 42px 0 10px;
  font: 600 20px ChronicleDisplay;
  color: #818181;
  text-align: center
}
.twitter {
  background-position: -18px 0
}
.pinterest {
  background-position: -41px 0
}
.instagram {
  background-position: -63px 0
}
.center-pic {
  height: 240px;
  background: url(img/inst2.jpg) no-repeat center;
  background-size: cover
}
.right-pic {
  display: none;
  float: right;
  height: 480px;
  max-width: 342px;
  background: url(img/inst1.jpg) no-repeat center
}


/**
 * 4.0 - Search
 */

/**
 * 4.1 - Search Form
 */
#search-popup {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255,255,255,.92);
  z-index: 9;
  opacity: 0;
  transition: .2s
}
#search-popup.show {
  visibility: visible;
  opacity: 1
}
#search-popup-close {
  position: absolute;
  top: 15px;
  right: 21px;
  padding: 20px;
  height: 16px;
  width: 16px;
  background: url(img/close.png) no-repeat center;
  cursor: pointer
}
#search-popup form {
  display: table;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%)
}
#search-popup input[type=text] {
  margin: 3px 16px;
  padding: 1px 1px 1px 8px;
  float: left;
  width: 570px;
  background: rgba(0,0,0,0);
  border: none;
  border-bottom: 1px solid #818181;
  font: 400 13px Akkurat;
  color: #818181;
  box-sizing: border-box
}
#search-popup input[type=submit] {
  padding: 5px 20px;
  background: #818181;
  border: none;
  font: 400 11px Akkurat;
  color: #fff;
  letter-spacing: 2px
}


/**
 * 4.2 - Search
 */
#search-results {
  display: table;
  margin: 0 auto 225px
}
#search-results header {
  display: table;
  max-width: 760px
}
#search-results h1 {
  margin: 80px 0 0;
  font: 600 24px ChronicleDisplay;
  color: #818181;
  text-align: left
}
#search-results p {
  font: 400 12px Akkurat;
  color: #818181
}
#search-results .posts {
  display: table;
  margin: 80px auto 0;
  max-width: 710px
}
#search-results .post {
  float: left;
  margin-bottom: 20px
}
#search-results .post:not(:nth-child(3n+0)) {
  margin-right: 10px
}
#search-results .post-thumbnail {
  display: table;
  height: 220px;
  width: 230px;
  background-size: cover!important
}
#search-results .view-button {
  display: table;
  margin: 22px auto 0;
  padding: 4px 25px;
  border: solid 1px #000;
  font: 400 11px Akkurat;
  color: #000;
  letter-spacing: 2.5px;
  text-decoration: none
}



#contact-content {
  margin: 32px auto 82px;
  max-width: calc(100% - 90px)
}
.button {
  display: table;
  margin: 14px 0 0;
  padding: 4px 14px;
  border: solid 1px #818181;
  font: 400 11px Akkurat;
  color: #818181;
  letter-spacing: 2.5px;
  text-decoration: none
}
#contact-content h1 {
  margin: 0;
  font: 600 18px ChronicleDisplay;
  color: #818181;
  text-align: left
}
#contact-content hr {
  margin: 18px 0;
  width: 65px;
  border: none;
  border-bottom: solid 1px #818181
}
#contact-content p {
  font: 400 14px Akkurat;
  color: #818181;
  line-height: 24px
}


/**
 * 4.0 - Media Queries
 */

 /**
  * 4.1 - >= 320px
  */

 @media screen and (min-width: 320px) {
   .products .product {
     width: 138px
   }
   .products .product img {
     width: 87px
   }

 }


 /**
  * 4.2 - >= 768px
  */

 @media screen and (min-width: 768px) {
   h1 {
     margin: 57px 0 61px;
     font-size: 32px
   }
   h2 {
     font-size: 20px
   }


   .page-header {
     height: 90px
   }
   .page-header-container {
     margin: 0 34px 0 18px
   }
   .page-header-menu-icon {
     top: 40px
   }
   .page-header-logo {
     width: 300px
   }
   .page-header-search-icon {
     top: 34px;
     margin: 0 17px 0 0;
     height: 19px;
     width: 19px
   }
   .page-header-cart-icon {
     top: 34px;
     height: 21px;
     width: 22px
   }
   .page-header-menu {
     top: calc(-100% + 90px);
     height: calc(100% - 90px)
   }
   .page-header-menu.open {
     top: 90px
   }
   .page-header-menu li {
     margin: 2px 0 8px
   }
   .page-main {
     margin-top: 90px
   }
   .cover-images {
     height: calc(100vh - 90px);
   }
   .content {
     display: table
   }



   .products .product {
     width: 198px
   }
   .products .product img {
     width: 123px
   }

   .interiors img {
     width: 608px
   }


   .collections {
     overflow: hidden
   }
   .collections .posts {
     margin: auto;
     width: 200%;
     transition: .8s
   }
   .collections .posts.second {
     transform: translateX(-50%)
   }
   .collections .col {
     float: left;
     width: 50%
   }
   .collections .col:last-child {
     display: block
   }
   .collections .post {
     display: table;
     margin: 0 auto 20px
   }
   .collections .post-thumbnail {
     float: left;
     margin: 0 20px 0 0;
     height: 355px;
     width: 295px;
     background-size: cover!important
   }
   .collections .post:nth-child(2n+0) .post-thumbnail {
     float: right;
     margin: 0 0 0 20px
   }
   .collections .content {
     position: relative;
     margin: 63px auto 0;
     height: 292px;
     width: 295px;
     text-align: left
   }
   .collections h2 {
     margin: 10px 0 0;
     font-size: 24px
   }
   .collections p {
     margin: 11px 0 10px;
     font: 400 12px Akkurat;
     line-height: 21px
   }
   .collections .explore {
     display: table;
     margin: 35px 0 0;
     font: 400 11px Akkurat;
     color: #818181;
     letter-spacing: 2.3px;
     text-decoration: none;
     cursor: pointer
   }
   .collections .view-more {
     display: table;
     position: absolute;
     bottom: 20px;
     right: 0;
     margin: 75px 0 0;
     font: 400 11px Akkurat;
     color: #818181;
     letter-spacing: 2.3px;
     text-decoration: none;
     cursor: pointer
   }
   .collections .post:nth-child(2n+1) .view-more::after {
     content: '';
     display: table;
     float: right;
     margin: 0 6px;
     height: 12px;
     width: 12px;
     background: url(img/right_arrow.png);
     opacity: .75
   }
   .collections .post:nth-child(2n+0) .view-more {
     left: 0
   }
   .collections .post:nth-child(2n+0) .view-more::before {
     content: '';
     display: table;
     float: left;
     margin: 0 6px;
     height: 12px;
     width: 12px;
     background: url(img/right_arrow.png);
     opacity: .75;
     transform: rotate(180deg)
   }




   .news .post {
     display: table;
     float: left;
     width: 295px
   }
   .news .post-thumbnail {
     height: 196px!important
   }
   .news .post:first-child {
     margin-right: 20px
   }
   .news .post .content {
     padding: 50px 26px 16px!important;
     height: 370px;
     width: calc(100% - 36px)!important;
     max-width: 445px
   }
   .news .go-arrow {
     margin: 30px 14px 0
   }



   .left-pic, .right-pic {
     display: block;
     margin: 60px 0 136px;
     height: 250px;
     width: 185px;
     background-size: cover!important
   }
   .center-col {
     position: absolute;
     left: 50%;
     width: auto;
     transform: translateX(-50%)
   }
   .center-pic {
     height: 250px;
     width: 295px
   }
   .hash {
     margin: 26px 0 10px;
     font-size: 24px
   }



   #contact-content {
    margin: 55px auto 126px;
    max-width: 480px
   }
   #contact-content h1 {
     font: 600 24px ChronicleDisplay
   }




   .page-footer-container > div {
     float: left;
     height: 150px
   }
   .contact-us, .follow-us {
     margin-top: 0
   }
   .contact-us {
     float: none!important
   }
   .soho-location {
     margin-right: 140px
   }
   .follow-us {
     margin-right: 160px
   }
   .rights {
     padding: 85px 0 0
   }

 }


 /**
  * 4.3 - >= 1024px
  */

 @media screen and (min-width: 1024px) {
   #contact-content {
     margin: 60px auto 126px;
     max-width: 700px
   }
   #contact-content h1 {
     font: 600 24px ChronicleDisplay
   }
 }


 /**
  * 4.4 - >= 1440px
  */

 @media screen and (min-width: 1440px) {
   .products .product {
     width: 375px
   }
   .products .product img {
     width: 244px
   }



   .collections .post-thumbnail {
     float: left;
     margin: 0 120px 0 0;
     height: 676px;
     width: 562px;
     background-size: cover!important
   }
   .collections .content {
     margin: 225px auto 0;
     height: 451px;
     width: 562px
   }
   .collections .post:nth-child(2n+0) .post-thumbnail {
     margin: 0 0 0 120px
   }




   .interiors img {
     width: 1165px
   }



   .news .post {
     width: 565px
   }
   .news .post-thumbnail {
     height: 380px!important
   }
   .news .post:first-child {
     margin-right: 35px
   }
   .news .post .content {
     top: -60px;
     padding: 76px 62px 36px!important;
     height: 370px;
     width: calc(100% - 36px)!important;
     max-width: 445px
   }
   .news .go-arrow {
     margin: 56px 0 0
   }



   .left-pic, .right-pic {
     display: block;
     margin: 77px 0 136px;
     height: 480px;
     width: 296px;
     background-size: cover!important
   }
   .center-col {
     position: absolute;
     left: 50%;
     width: auto;
     transform: translateX(-50%)
   }
   .center-pic {
     height: 480px;
     width: 566px
   }
   .hash {
     margin: 26px 0 10px;
     font-size: 24px
   }




   .page-footer-container > div {
     height: 126px
   }
   .contact-us, .follow-us {
     margin-top: 0
   }
   .soho-location {
     margin-right: 126px
   }
   .contact-us {
     float: left!important;
     margin-right: 126px
   }
   .follow-us {
     margin-right: 0;
     float: none!important
   }
   .rights {
     padding: 10px 0 0
   }
 }
