/*!
Theme Name:  Cookly
Author:      Sigma Digital Partners
Theme URI:   http://sigmadigitalpartners.com/themes/templatemonster/wp/cookly
Author URI:  https://www.templatemonster.com/authors/andromedathemes/
Description: Cookly - Food and Recipe WordPress Theme
Version:     1.0.0
License:     GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: cookly
Domain Path: /languages
Tags:        one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/
/* WordPress Required CSS Utilities */

.alignleft {
  display: inline;
  float: left;
  clear: both;
  margin: 0 20px 20px 0;
}

.alignright {
  display: inline;
  float: right;
  clear: both;
  margin: 0 0 20px 20px;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
  margin: 0.4em 20px 20px 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
  margin: 0.4em 0 20px 20px;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
  clear: both;
  margin-top: 0.4em;
  margin-bottom: 20px;
}
.wp-block-pullquote.is-style-solid-color blockquote{
  max-width: 100%;
}
.wp-block-pullquote.has-background blockquote{
  background-color: transparent;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
  margin-bottom: 20px;
}

.wp-caption {
  margin-bottom: 20px;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 0 10px;
}

.wp-caption-text {
  font-family: "Varela Round", sans-serif;
  font-size: 13px;
  line-height: 21px;
  padding: 0;
  margin: 10px 0 0;
  color: #848486;
}

.bypostauthor {
  display: block;
}

.pagination .current .screen-reader-text {
  position: absolute !important;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.image-navigation {
  padding: 0 9.0909%;
}

.comment-content ul,
.comment-content ol {
  margin-left: 0;
}

.widecolumn {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  margin: 7.6923%;
}

.gallery {
  margin-bottom: 20px;
}

.gallery-item {
  display: inline-block;
  padding: 0 1.79104477%;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin-bottom: 20px;
}
.wp-block-table.is-style-stripes{
  border-bottom: 0;
}
.wp-block-latest-posts.is-grid{
  margin: 0;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-icon img {
  margin: 0 auto;
}

.gallery-caption {
  margin-top: 10px;
  margin-bottom: 0;
  color: #848486;
  font-size: 13px;
  line-height: 21px;
  font-family: "Varela Round", sans-serif;
  padding: 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

p{ word-wrap: break-word; }
.wp-block-pullquote{
  padding: 0;
}
.wp-block-image{
  margin-bottom: 20px;
}
.wp-block-image .alignleft{
  margin-right: 20px;
}
.wp-block-image .alignright{
  margin-left: 20px;
}
.alignwide audio{
  width: 100%;
}
.alignleft img {
	float: left;
}
.alignright img {
 	float: right;
}
.page-body .wp-block-gallery li.blocks-gallery-item::before{
  content: '';
  display: none;
}
hr.wp-block-separator{
  clear:both;
}
.entry-content ul.blocks-gallery-grid,
.entry-content ul.wp-block-gallery,
.wp-block-latest-posts.wp-block-latest-posts__list{
  padding-left: 0;
}
.wp-block-cover, .wp-block-cover-image{
  border-radius: 8px;
  margin-bottom: 20px;
}
.wp-block-quote.is-large, .wp-block-quote.is-style-large{
  margin: 0 0 20px;
  padding: 30px;
}
.wp-block-button{
  margin-bottom: 20px;
}
.wp-block-button.aligncenter{
  margin-bottom: 20px;
}
.wp-block-button.alignleft{
  margin: 0 20px 20px 0;
}
.wp-block-button.alignright{
  margin: 0 0 20px 20px;
}
.wp-block-button__link{
  cursor: pointer;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  background-color: #ff0005;
  line-height: 24px;
  border: 0;
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  font-weight: 600;
  padding: 13px 30px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  text-transform: uppercase;
  border-radius: 8px;
  z-index: 1;
}

.wp-block-button.is-style-squared .wp-block-button__link::before{
  border-radius: 0;
}
.wp-block-button__link:hover{
  background-color: #bc0004;
}

.entry-content a.wp-block-button__link:not(.has-color),
.entry-content a.wp-block-button__link:not(.has-color):hover{
  color: #fff;
}
.is-style-outline .wp-block-button__link::before{
  display: none;
}
.is-style-outline .wp-block-button__link,
.entry-content .is-style-outline .wp-block-button__link:not(.has-color){
  background-color: transparent;
  border: 2px solid #ff0005;
  color: #ff0005;
}
.is-style-outline .wp-block-button__link::before{
  border-radius: 0;
}
.is-style-outline .wp-block-button__link:hover,
.entry-content .is-style-outline .wp-block-button__link:not(.has-color):hover{
  border-color: #bc0004;;
  color: #bc0004;;
}

.has-cookly-green-background-color{
  background-color: #ff0005;
}
.has-cookly-red-background-color{
  background-color: #022147;
}
.has-white-background-color{
  background-color: #fff;
}
.has-white-color{
  color: #fff;
}
.has-black-background-color{
  background-color: #333;
}
.has-black-color{
  color: #333;
}
.has-cookly-green-color{
  color: #ff0005;
}
.has-cookly-red-color{
  color: #022147;
}

.wp-block-cover.has-background-dim,
.wp-block-cover.has-background-dim .wp-block-cover-text a{
  color: #fff;
}
.wp-block-cover.has-background-dim .wp-block-cover-text a:hover{
  text-decoration: underline;
}
.wp-block-image figcaption,
.wp-block-video figcaption,
.wp-block-embed figcaption{
  margin-top: 10px;
  margin-bottom: 0;
  color: #848486;
  font-size: 13px;
  line-height: 21px;
}
.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption{
  border-radius: 0 0 8px 8px;
  line-height: 20px;
}
.blocks-gallery-caption{
  margin-bottom: 16px;
}
.wp-block-columns{
  margin-bottom: 0;
}

.wp-block-audio audio,
.wp-block-embed{
  margin-bottom: 20px;
}

/* ========================
    WIDGETS
==========================*/

/* List Widgets */
.sidebar-widget ul {
  margin-bottom: 0;
}
.sidebar-widget ul li{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sidebar-widget ul ul{
  padding-left: 15px;
}
.sidebar-widget ul li + li,
.sidebar-widget ul li ul{
  margin-top: 10px;
}
.sidebar-widget ul li ul{
  flex: 0 100%;
}
.sidebar-widget ul li a{
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #7a7a7a;
  font-size: 15px;
}

.sidebar-widget ul li a::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f061";
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: 12px;
  margin-right: 10px;
  transition: .3s;
}
.sidebar-widget ul li a:hover{
  color: #ff0005;
}

.sidebar-widget.widget_recent_comments li,
.sidebar-widget.widget_rss li{
  display: block;
}

/* Recemt Comments */
.sidebar-widget.widget.widget_recent_comments ul li a::before,
.sidebar-widget.widget.widget_rss ul li a::before,
.sidebar-widget.widget.widget_nav_menu ul li a::before,
.sidebar-widget.widget.woocommerce.widget_shopping_cart ul li a::before,
.sidebar-widget .metro_sm li a::before{
  display: none;
}
.sidebar-widget.widget.widget_recent_comments ul li{
  position: relative;
  padding-left: 30px;
}

.sidebar-widget.widget.widget_recent_comments ul li::before{
  position: absolute;
  top: 10px;
  left: 0;
  font-family: "Font Awesome 5 Pro";
  content: "\f086";
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  transition: .3s;
  line-height: 1;
  font-size: 12px;
  margin-right: 10px;
}

.sidebar-widget.widget.widget_recent_comments ul li,
.sidebar-widget.widget.widget_recent_comments ul li span{
  font-weight: 600;
}

.sidebar-widget.widget.widget_recent_comments ul li a{
  font-weight: 400;
}

/* RSS Widget */
.sidebar-widget.widget.widget_rss .widget-title a:first-child{
  display: none;
}
.sidebar-widget.widget.widget_rss .widget-title a{
  position: relative;
  display: flex;
  align-items: center;
  color: #222;
}
.sidebar-widget.widget.widget_rss .widget-title a::before{
  font-family: "Font Awesome 5 Pro";
  content: "\f09e";
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  transition: .3s;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: 12px;
  margin-right: 10px;
  color: #ff0005;
}

.sidebar-widget.widget.widget_rss ul li a{
  font-weight: 600;
}
.sidebar-widget.widget.widget_rss ul li .rss-date{
  font-size: 13px;
}
.sidebar-widget.widget.widget_rss ul li .rssSummary{
  margin: 5px 0;
}
.sidebar-widget.widget.widget_rss ul li cite{
  font-size: 12px;
  font-style: italic;
  color: #ff0005;
}

/* Navigation menu */
.sidebar-widget.widget.widget_nav_menu ul li{
  display: block;
}

/* Image */
figure, .wp-caption, .wp-caption-overlay .wp-caption{
  border: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

figure figcaption,
.wp-block-embed figcaption,
.wp-block-image figcaption,
.wp-block-video figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption,
.wp-caption .wp-caption-text,
.wp-caption .wp-caption-dd,
.wp-caption-overlay .wp-caption .wp-caption-text,
.wp-caption-overlay .wp-caption .wp-caption-dd {
  position: absolute;
  z-index: 1;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 10px;
  line-height: 15px;
  font-weight: 600;
  font-style: normal;
  transition: all 0.3s;
  margin-bottom: 0;
  text-align: center;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-height: 50%;
  opacity: 1;
  background-color: #ff0005;
  color: #fff;
}

/* Tag Cloud */
.tags a,
.tagcloud a,
.entry-content .wp-block-tag-cloud a{
  display: inline-block;
  font-size: 13px !important;
  padding: 3px 12px;
  color: #7a7a7a;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  background-color: #f1f1f1;
  margin: 6px 6px 0 0;
}
.tags a:hover,
.tagcloud a:hover,
.entry-content .wp-block-tag-cloud a:hover{
  background-color: #ff0005;
  border-color: rgba(0, 0, 0, 0.1);
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Custom Widgets */
.widget_sigma_recent_entries .post{
  display: flex;
  align-items: center;
  text-align: left;
}
.widget_sigma_recent_entries .post > a{
  position: relative;
  display: block;
  overflow: hidden;
  width:110px;
  height: 100px;
  object-fit: cover;
}
.widget_sigma_recent_entries .post > a img{
  margin-right: 10px;
  width: 100px;
}
.widget_sigma_recent_entries .post .post-content{
  flex: 1;
}
.widget_sigma_recent_entries .post .post-content > a{
  font-size: 15px;
  font-weight: 600;
}
.widget_sigma_recent_entries .post h6{
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.4;
}
.widget_sigma_recent_entries .post h6 a{
  color: #222;
}
.widget_sigma_recent_entries .post h6 a:hover,
.widget_sigma_recent_entries .post span a:hover{
  color: #ff0005;
}
.widget_sigma_recent_entries .post span{
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
  color: #222;
}
.widget_sigma_recent_entries .post span a{
  font-weight: 400;
  text-decoration: underline;
  color: #222;
}
.widget_sigma_recent_entries .post + .post{
  margin-top: 30px;
}

.sidebar-widget .sidebar-cta{
  padding: 0;
  position: relative;
  border: 0;
}
.sidebar-widget .sidebar-cta img{
  width: 100%;
  margin: 0;
}
.sidebar-widget .sidebar-cta-content{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  flex-direction: column;
  z-index: 1;
}
.sidebar-widget .sidebar-cta-content span,
.sidebar-widget .sidebar-cta-content p,
.sidebar-widget .sidebar-cta-content h6{
  color: #fff;
}
.sidebar-widget .sidebar-cta-content h6{
  font-size: 30px;
}
.sidebar-widget .sidebar-cta-content::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: -1;
}
.sidebar-widget .sidebar-cta-content::after{
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 1px solid rgba(255,255,255,.4);
}

/* Search Widget */
.sidebar-widget.widget_search{
  padding: 0;
  border: 0;
}

/* Calendar Widget */
.sidebar-widget table{
  margin-bottom: 0;
}
.wp-calendar-table td, .wp-calendar-table th {
  padding: 0;
  border: 0;
  text-align: center;
  color: #222;
  width: 14.2857%;
}
.wp-calendar-table th{
  padding: 0 2px 12px 2px;
}
.wp-calendar-table td{
  font-size: 12px;
  line-height: 2.2;
}
.calendar_wrap caption{
  caption-side: top;
  padding-left: 13px;
  padding-bottom: 10px;
  color: #222;
  font-weight: 600;
}
.calendar_wrap .wp-calendar-nav{
  padding-left: 13px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget_calendar td#today, .wp-block-calendar td#today {
  position: relative;
  z-index: 2;
  color: #fff;
}
.widget_calendar td#today a, .wp-block-calendar td#today a{
  color: #fff;
}
.widget_calendar td#today:before, .wp-block-calendar td#today:before {
  content: ' ';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 2em;
  height: 2em;
  line-height: 2.2;
  text-align: center;
  background-color: #ff0005;
}

@media(max-width: 575px){

  .sidebar-widget .sidebar-cta-content{
    padding: 30px;
  }

}
