/*
 Theme Name:   Cheerup Child
 Description:  Child Theme modifying the Cheerup Theme
 Author:       Alchemy + Aim
 Author URI:   http://alchemyandaim.com
 Template:     cheerup
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

#shop-the-post {
  margin:2em 50px;
}

#shop-the-post h1,
#featured-products h1 {
  text-align:center;
  text-transform:uppercase;
  margin-bottom:1.5em;
}

#shop-the-post h1:after,
#featured-products h1:after {
  content:'';
  display:block;
  height:2px;
  width:150px;
  background-color:black;
  margin-left:calc(50% - 75px);
}

#shop-the-post .inner,
#featured-products .inner {
  position:relative;
}

#shop-the-post a.stp-item img,
#featured-products a.fp-item img {
  transition:150ms ease opacity;
}

#shop-the-post a.stp-item:hover img,
#featured-products a.fp-item:hover img {
  opacity:.75;
}

#shop-the-post .inner .owl-nav,
#featured-products .inner .owl-nav {
  position:absolute;
  top:calc(50% - .5em);
  font-size:3em;
  line-height:1em;
  width:100%;
}

#shop-the-post .inner .owl-nav .owl-prev,
#featured-products .inner .owl-nav .owl-prev {
    left: -50px;
    position: absolute;
    padding: 0px 10px 3px;
    background-color: #fbd2cc;
    color: white;
    font-family: 'Playfair Display';
}

#featured-products .inner .owl-nav .owl-prev {
  left:-48px;
}

#shop-the-post .inner .owl-nav .owl-next,
#featured-products .inner .owl-nav .owl-next {
  right:-50px;
  position:absolute;
  padding: 0px 10px 3px;
  background-color: #fbd2cc;
  color: white;
  font-family: 'Playfair Display';
}

#featured-products .inner .owl-nav .owl-next {
  right:-48px;
}

#shop-the-post .inner .owl-nav .owl-prev,
#shop-the-post .inner .owl-nav .owl-next,
#featured-products .inner .owl-nav .owl-prev,
#featured-products .inner .owl-nav .owl-next {
  opacity:.75;
}

#shop-the-post .inner .owl-nav .owl-prev:hover,
#shop-the-post .inner .owl-nav .owl-next:hover,
#featured-products .inner .owl-nav .owl-prev:hover,
#featured-products .inner .owl-nav .owl-next:hover {
  opacity:1;
}

#featured-products {
  width:1170px;
  max-width: 100%;
  margin:40px auto 100px;
  overflow: hidden;
}

#featured-products .inner {
  margin:0 50px;
  width: calc(100% - 100px);
}

#featured-products h3 {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  margin: 10px 0 0;
  letter-spacing: .1em;
  /* text-transform: uppercase; */
  line-height: 1.3em;
}

#featured-products h4 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .05em;
  display: inline-block;
  margin-left: calc(50% - 41px);
  /* border: 1px solid black; */
  padding: 0px 6px;
  width: 82px;
  margin-top: 6px;
  box-sizing: border-box;
  text-align: center;
}

#featured-products a:hover h4 {
  color:white;
  background-color:black;
}

/* Press Page */

.page-template-page-press .main.wrap {
  max-width:1000px;
}

.page-template-page-press .post-title-alt {
  text-align:center;
}

.page-template-page-press .press-items {
  overflow:hidden;
}

.page-template-page-press .press-item {
  float:left;
  width:calc((100% / 4) - (90px / 4));
  margin-bottom:30px;
  margin-right:30px;
  text-align:center;
}

.page-template-page-press .press-item h1 {
  font-size:20px;
  line-height:1.4em;
}

.page-template-page-press .press-item img {
  width:100%;
  height:auto;
  transition:150ms ease opacity;
}

.page-template-page-press .press-item img:hover {
  opacity:.75
}

.page-template-page-press .press-item:nth-of-type(4n) {
  margin-right:0px;
}

.page-template-page-press .press-item:nth-of-type(4n-3) {
  clear:both;
}

@media screen and (max-width:767px) {
  .page-template-page-press .press-item {
    float:left;
    width:calc((100% / 2) - (30px / 2));
    margin-bottom:30px;
    margin-right:30px;
    text-align:center;
  }

  .page-template-page-press .press-item h1 {
    font-size:18px;
  }

  .page-template-page-press .press-item:nth-of-type(2n) {
    margin-right:0px;
  }

  .page-template-page-press .press-item:nth-of-type(2n-1) {
    clear:both;
  }
}

.page-template-page-video .post-title-alt {
  text-align:center;
  font-family: "Lato" !important;

}

.page-template-page-video .videos {
  overflow:hidden;
}

.videos {
  max-width:1000px;
  margin:0 auto;
}

.videos figure {
  position:relative;
  width:calc((100% / 3) - (60px / 3));
  margin-right:30px;
  float:left;
  margin-bottom:50px;
}

.videos h1 {
  font-size: 17px;
  text-align: center;
  line-height: 1.4em;
}

.videos figure:nth-of-type(3n) {
  margin-right:0px;
}

.videos figure:nth-of-type(3n-2) {
  clear:both;
}

.videos figure:hover .play {
  border-color:#fff;
}
.videos figure:hover .play:before {
  border-left-color:#fff;
}

.videos .thumb-container {
  position:relative;
}

.videos .play {
  border:5px solid rgba(255,255,255,0.5);
  -webkit-border-radius:40px;
  -moz-border-radius:40px;
  -ms-border-radius:40px;
  -o-border-radius:40px;
  border-radius:40px;
  width:60px;
  height:60px;
  position:absolute;
  left:50%;
  top:50%;
  margin:-30px 0 0 -30px;
}
.videos .play:before {
  content:'';
  height:0;
  display:block;
  border-top:15px solid transparent;
  border-bottom:15px solid transparent;
  border-left:20px solid rgba(255,255,255,0.5);
  position:absolute;
  top:15px;
  left:22px;
}

@media screen and (max-width:768px) and (min-width:600px) {
  .videos figure {
    position:relative;
    width:calc((100% / 2) - (30px / 2));
    margin-right:30px;
    float:left;
    margin-bottom:50px;
  }

  .videos h1 {
    font-size:18px;
  }

  .videos figure:nth-of-type(3n) {
    margin-right:30px;
  }

  .videos figure:nth-of-type(2n) {
    margin-right:0px;
  }

  .videos figure:nth-of-type(3n-2) {
    clear:none;
  }
  .videos figure:nth-of-type(2n-1) {
    clear:both;
  }
}

@media screen and (max-width:599px) {
  .videos figure {
    position:relative;
    width:100%;
    margin-right:0px;
    float:none;
    margin-bottom:30px;
  }

  .videos h1 {
    font-size:18px;
  }

  .videos figure:nth-of-type(3n) {
    margin-right:0px;
  }

  .videos figure:nth-of-type(2n) {
    margin-right:0px;
  }

  .videos figure:nth-of-type(3n-2) {
    clear:both;
  }
  .videos figure:nth-of-type(2n-1) {
    clear:both;
  }
}


.tag-share .post-tags {
  float: left;
  margin-top: -2px;
  max-width: 70%;
  line-height:1.2em;
}

.tag-share .post-tags:before {
  content:'LABELED: ';
  color: #fbd2cc;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.095em;
}

.tag-share .post-tags a {
  display: inline-block;
  margin-top: 0px;
  margin-right: 0px;
  padding: 0px;
  border: none;
  color: #454545;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.095em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tag-share .post-tags a:after {
  content:', ';
  margin-right:4px;
}

.tag-share .post-tags a:last-of-type:after {
  display:none;
}

.woocommerce div.product .product-cat a:nth-child(n+2) { display: none; }

.widget-cta .label {
opacity:0.7;
}

.widget-cta .label:hover{
opacity:1;
}

.main-head .title .logo-image {
    width: 50%;
}

.main-head.nav-below .title {
    padding: 25px 0;
    padding-bottom:10px;
}

.text {
    font-size: 13px;
}

.posts-carousel .block-heading {
    display: none;
}

.archive-head .title {
    font-weight: 700;
}

.related-posts .post-title {
    font-family: lato;
}

.post-title-alt {
    text-transform: none;
}

.post-title {
    text-transform: none;
}

li.pins-feed-item {
width:33.3333%;
margin:2px;
}

.navigation .mega-menu .sub-cats {
width:20%;
}

.widget-posts .post-title {
font-family:'Playfair Display', serif;
font-weight:600;
}

.the-post .post-header .post-title {
font-family: 'Playfair Display', serif;
}

p {
letter-spacing:.5px;
}

.lower-footer .social-icons {
float:none;
display: table;
    margin-right: auto;
    margin-left: auto;
font-size:4em;
}

.lower-footer .copyright{
float:none;
    display: table;
    margin-right: auto;
    margin-left: auto;
    margin-top: 15px;
}

.lower-footer .social-link:after {
    color:transparent;
}

.posts-carousel .post-title {
font-family: "Playfair Display";
}

.the-post .post-header .post-title {
font-family: 'Playfair Display', serif !important;
}

h1 {
font-family: "Playfair Display";
}

.post-content a {
font-weight:700;
}

.widget-subscribe .widget-title{
font-family: "Playfair Display";
}

.footer-logo {
padding-bottom:10px;
padding-top:20px;
}

.mega-menu .recent-posts .post-title {
font-family: "Playfair Display";
}

.archive .post-title a{
font-family: "Playfair Display";
}

.video .post-title-alt h1{
font-family:"lato";
}

#fancybox-content {
  max-height:57vw;
}

.posts-carousel .prev-post, .posts-carousel .next-post {
  top:115px;
}


.contrast .lower-footer .copyright {
    margin-right:auto;
    max-width:100%;
}

.footer-logo img {
  max-width:250px;
}


	