/*
Theme Name: Skinnykitchen custom GP theme
Template: generatepress
Theme URI: https://finleychen.dev
Author: Finley Chen
Author URI: https://finleychen.dev
Description: This is a child theme for GeneratePress for Skinnykitchen.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpc
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, fixed-layout, responsive-layout, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/


#site-navigation {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited {
  border-width: 1px;
  border-style: solid;
  border-color: inherit;
}


html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.button:visited:hover {
  border-style: dashed;
  border-width:1px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  font-size: 13px;
}

.mc4wp-form-fields input[type="email"] {
  margin-bottom: 10px;
  width: 100%;
}

.entry-meta {
  font-weight: 300;
}

.main-navigation:not(.toggled) li.menu-social > a,
.main-navigation:not(.toggled) li.search-item > a {
  padding: 0 10px;
}

.post-image img {
  transition: opacity 500ms;
}

.post-image img:hover {
  opacity: 0.9;
}

.no-sidebar .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.page.no-sidebar .entry-title {
  text-align: center;
}

.top-bar .lsi-social-icons a,
.top-bar .lsi-social-icons a:focus,
.top-bar .lsi-social-icons a:active,
.top-bar .lsi-social-icons a:hover {
  background: transparent !important;
}

.top-bar .lsi-social-icons li {
  margin-bottom: 0 !important;
}

.widget-title {
  text-align: center;
  padding:30px;
}

.footer-widgets .widget-title {
  padding:0;
  text-align: left;
  margin-bottom: 1em;
  text-transform:capitalize;
  color: #4e920a;
}


.footer-widgets .widget > div {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



/* End GeneratePress Site CSS */

.home-featured {
  padding-top: 1em;
}

.featured-recipe-container h2 {
  font-size:2em;
}

.featured-recipe-container h2 .search-field {
  border-color:#f5f5f5;
  border-width:1px;
  background-color:#f5f5f5;
}

.featured-recipe-container h2 .search-form {
  display:none;
}

.featured-recipe-container {
  padding-bottom:3em;
  padding-top:3em;
}

.home-featured .featured-recipes,
.home-featured .popular-recipes {
  list-style: none;
  margin: 0;
  padding: 1em 0;
  display: flex;
  flex-wrap: wrap;
}

.home-featured .featured-recipes .featured-recipe,
.home-featured .popular-recipes .popular-recipe {
  width: calc(49% - 2px);
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 8px 0 rgba(222,222,222,.5);
  
}

.home-featured .featured-recipes .featured-recipe:hover,
.home-featured .popular-recipes .popular-recipe:hover {

}

.home-featured .featured-recipes .featured-recipe img {
  display: block;
}

.home-featured .featured-recipes .featured-recipe {
  margin: 5px;
}

.popular-recipe img,
.featured-recipe img {
  -o-object-fit: cover;
  object-fit: cover;
}

.popular-recipe img {
  height: 150px;
}

.featured-recipe img {
  height:200px;
}

.popular-recipe {
  margin: 0.5%;
}
@media screen and (min-width: 480px) {
  .home-featured .popular-recipes .popular-recipe {
    width: calc(24% - 2px);
  }

  .popular-recipe {
    margin: 0;
  }
  .popular-recipe + .popular-recipe {
    margin-left: 1%;
  }
  .popular-recipe img {
    height: 200px;
  }
  
  .featured-recipe img {
    height:250px;
  }

  .featured-recipe-container h2 {
    display:flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .featured-recipe-container h2 .search-form {
    display:flex;
    align-items: baseline;
  }
}

.slider-wrap {
  padding-left: 35px;
  padding-right: 35px;
  position: relative;

}
.slick-prev:before {
  content: "";
  background: url(/wp-content/themes/skinnykitchen/icons/chevron-back-outline.svg)
    no-repeat 50%;
  background-size: contain;
  left: 0;
}

.slick-next {
}



.carousel-next,
.carousel-prev {
  position: absolute;
  padding: 0;
  background-color: rgba(255,255,255);
  border-radius: 50%;
  padding:9px;
  display:flex;
  border:1px solid rgba(0, 0, 0, 0.1);
  top: calc(50% - 18px);
  transition: 0.2s all ease-in-out;
}

.carousel-next:hover,
.carousel-prev:hover,
.carousel-next:focus,
.carousel-prev:focus {
  background-color: rgba(255,255,255,0.9);
  border-color:rgba(0, 0, 0, 0.3);
}

.carousel-next img,
.carousel-prev img {
  width: 15px;
  height: 15px;
}

.carousel-next {
  right: -5px;
}

.carousel-prev {
  left: -5px;
}
.slick-track {
  display: flex !important;
}

.slick-slide {
  height: inherit !important;
}

.home-featured .featured-recipes .featured-recipe .featured-recipe-title,
.popular-recipe h3 {
  line-height: 1.15;
  font-weight: 300;
  margin: 0;
  /* font-size: 1.5em; */
  padding: 1em;
  text-align: left;
}

.home-featured .featured-recipes .featured-recipe .featured-recipe-title a {
  text-decoration: none;
}

.popular-recipe-container {
  padding-bottom:3em;
}

.popular-recipe-container h2, .recent-recipes-title {
  font-size:2em;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  
}

.recent-recipes-title {
}

.popular-recipe-container h2 a, .recent-recipes-title a {
  font-size: 0.6em;
}

.popular-recipe-container h3 {
  /* font-size:1.3em; */
  font-weight: 300;
}

.newsletter-form-container {
  background-color:#fff;
  padding-bottom: 2em;
  padding-top: 2em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-form-container > * {
  padding:0 2em;
}

.newsletter-form-container .grid-container {

}

.newsletter-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: "Work Sans", sans-serif;
}

.inside-article .newsletter-form-container {
  padding-top:2em;
  margin-top:2em;
}

.single .newsletter-form-container h4 {
  margin-bottom:0.5em;
}

#ema_signup_form {
  display: flex;
}

.newsletter-form-container img {
  width:150px;
}

.newsletter-form-container p {
  margin-bottom:0.5em;
  font-size:0.75em;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color:#4e920a;
  font-family: "Work Sans", sans-serif;

}

.newsletter-form-container h4 {
  font-weight: 300;
  font-size:2em;
  margin:0;
}
#ema_signup_form #signup_email {
  max-width: 250px;
  border-color:#f5f5f5;
  border-width:1px;
  background-color:#f5f5f5;
}

#ema_signup_form #signup_email:focus, .search-field:focus {
  border-color:#4e920a;
  border-style: dashed;
}

#ema_signup_form label {
  display: none;
}

.widget #ema_signup_form #signup_email {
  border-right-width: 1px;
}
.widget #ema_signup_form {
  flex-direction: column;
}

.widget #webform_submit_button {
  margin-top:1em;
}

.widget .newsletter-form-container {
  flex-direction: column;
  align-items: inherit;

}

.widget .newsletter-form-container h4 {
  font-size:1.4em;
  margin-bottom:0.5em;
}

@media screen and (min-width: 768px) {
  .search-item {
    display:none!important;
  }
}

.comment-meta .avatar {
  border-radius: 0;
}

.archive .entry-summary {
  display: none;
}

.home .masonry-load-more {
  display:none;
}

@media (max-width: 768px) {
  h3 {
    font-size: 18px;
  }

  .featured-recipe-container h2, .popular-recipe-container h2, .recent-recipes-title {
    font-size:1.6em;
  }
  .recent-recipes-title {
    margin-left:0;
    padding-left:10px;
  }

  .recent-recipes-title a {
    padding-right:10px;
  }

  .newsletter-form-container {
    flex-direction: column;
    align-items: inherit;
  }

  .newsletter-form-container img {
    width:75px;
  }

  .newsletter-form-container h4 {
    font-size:1.5em;
    margin-bottom:.5em;
  }


  #ema_signup_form {
    flex-direction: column;
  }

  #webform_submit_button {
    margin-top:1em;
  }

}


.recipe-categories {
  list-style-type:none;
  margin:0;
  padding:0;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.recipe-categories h3 {
  text-transform: capitalize;
  font-weight:300;
  text-align: center;
  padding:0.5em;
}

.recipe-index-button {

  text-align:center;
}

.comment-content {
  border:none;
  padding:15px;
  padding-left:0;
}

.comment-author cite {
  font-weight:400; 
}

.comment.bypostauthor {
  padding-left:0.5em;
}

.comment.bypostauthor .comment-body {
  padding:10px;
  border-top:1px solid #4e920a;
  background-color:#f5f5f5;
}

.popular-recipe, .featured-recipe, .generate-columns .inside-article, .separate-containers .inside-article, .separate-containers .comments-area, .inside-right-sidebar .widget {
  border: 1px solid rgba(0,0,0,0.1);
}

.featured-recipe-container h2, .popular-recipe-container h2, .recent-recipes-title, .generate-columns-container .page-header {
  padding:1em;
  border: 1px solid rgba(0,0,0,0.1);
  background-color:#fff;
}

/* .popular-recipe:hover, .featured-recipe:hover {
  border-style: dashed;
  border-color: #4e920a;
} */

.bio {
  padding:30px;
}
@media (min-width: 769px) {
    #right-sidebar {
        width: 300px;
    }
    .inside-right-sidebar {
    }
    body:not(.no-sidebar) #primary {
        width: calc(100% - 300px);
    }

    .recipe-categories {
      grid-template-columns: repeat(3, 1fr);

    }
}

/* Print Skinny */

@media print {
	body {
		color: black;
		background: white;
		margin: 0;
		line-height: 120%;
		font-size: 70%;
	}
	article {
    width: 80%;
    margin:auto!important;
	}
	.alignnone {
		width: 300px;
		height: auto;
	}
	.print_button, .shareaholic-canvas, #ninja, iframe, #comments, .main-navigation, #print_button, .entry-meta, .newsletter-form-container, .comments-area, #right-sidebar, #mobile-header, .site-footer, a[href]:after, .cb-article-footer, div[style$="90px;"], #ga_2107011 {
		display: none !important;
  }
  
  .inside-article {
    border:none!important;
  }

}

.print_button {
}

.shareaholic-canvas {
  clear:none!important;
}

.inside-article img {
  margin:auto;
  display:block;
}

/* WP Show Posts */

body .wp-show-posts h2 a {
  color:#333;
}

.wp-show-posts-inner {
  border:1px solid rgba(0, 0, 0, 0.1);
  padding:30px;
  background-color:#fff;
}

.wp-show-posts-image {
  margin-left: -30px;
  margin-right: -30px;
}

.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) .wp-show-posts-image img {
  height: 300px;
  -o-object-fit: cover;
  object-fit: cover;
}

.widget.ad {
  border:none;
  background-color: transparent;
}

