/*
 Theme Name:   THD Buzzfeed
 Description:  Custom Theme for The Hotdog Org Site.
 Author: Ripcord Digital
 Author URI: https://www.ripcorddigital.com/
 Template:     grandmagazine
 Version:      2.8
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
body
{
	background: none;
}

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */
}

/* Nav */
#nav_wrapper {
	padding: 13px 0 27px 0;
}

a.button.cooking_instructions, a.button.cooking_instructions:visited {
	color: #fff;
	background: #0056B3 !important;
	border-color: #0056B3;
}
a.button.cooking_instructions:hover, a.button.cooking_instructions:active {
	color: #fff;
	background: black !important;
	border-color: black;
}

#edamam-badge {
	text-align: right;
}

#logo_right_button
{
	float: right;
	padding: 15px 0 15px 0;
	
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#custom_logo_transparent img {
	width: 194px;
	height: auto;
}

#commentform label[for=wp-comment-cookies-consent] {
	display: inherit;
}


/* Recipe Card Blocks */
.wp-block-wpzoom-recipe-card-block-recipe-card { max-width: 100%; }

.wp-block-wpzoom-recipe-card-block-recipe-card.is-style-newdesign .recipe-card-heading .recipe-card-title,
.wp-block-wpzoom-recipe-card-block-recipe-card.is-style-newdesign .ingredients-title,
.wp-block-wpzoom-recipe-card-block-recipe-card.is-style-newdesign .directions-title
{ 
	font-family: Poppins, Helvetica, Arial, sans-serif; 
}

/* WCAG */
noscript
{
	background-color: #fff;
	color: #444;
}
.post_info_date span,
.post_info_author a,
#featured_first_post_wrapper .post_detail span a, 
#featured_first_recipes_post_wrapper .post_detail span a,
.post_info_comment 
{
    padding: 4px 10px;
    border-radius: 25px;
}

/* Home page */
.home .post_info_cat {
	display:none;
}

#page_content_wrapper .inner .sidebar_content.three_cols .type-articles,
#page_content_wrapper .inner .sidebar_content.three_cols .type-recipes
{
	float: left;
	width: 31.29%;
	margin-right: 3%;
	margin-bottom: 3;
	box-sizing: border-box;	
}
#page_content_wrapper .inner .sidebar_content.three_cols .type-articles[data-column=last], 
#page_content_wrapper .inner .sidebar_content.three_cols .type-recipes[data-column=last] 
{
    float: right;
    margin-right: 0;
    clear: right;
}


#featured_first_post_wrapper, 
#featured_first_recipes_post_wrapper
{
	position: relative;
	width: 100%;
	height: 640px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

#featured_first_post_wrapper .featured_first_post_link, 
#featured_first_recipes_post_wrapper .featured_first_post_link
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}

#featured_first_post_wrapper:after,
#featured_first_recipes_post_wrapper:after
{
	content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    background-image: -webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(50%,transparent),color-stop(60%,rgba(0,0,0,0.05)),color-stop(93%,rgba(0,0,0,0.6)),to(rgba(0,0,0,0.59)));
    background-image: -webkit-linear-gradient(transparent 0%,transparent 50%,rgba(0,0,0,0.05) 60%,rgba(0,0,0,0.6) 93%,rgba(0,0,0,0.59) 100%);
    background-image: linear-gradient(transparent 0%,transparent 50%,rgba(0,0,0,0.05) 60%,rgba(0,0,0,0.6) 93%,rgba(0,0,0,0.59) 100%);
}

#featured_first_post_wrapper .post_header,
#featured_first_recipes_post_wrapper .post_header
{
	position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
}

#featured_first_post_wrapper .post_header h2,
#featured_first_recipes_post_wrapper .post_header h2
{
	color: #fff;
	font-size: 36px;
	line-height: 1.2em;
	margin: 10px 0 10px 0;
	width: 50%;
}

#featured_first_post_wrapper .post_header .post_info_author a,
#featured_first_recipes_post_wrapper .post_header .post_info_author a,
#page_caption.hasbg .post_info_author a
{
	color: #fff;
}


#featured_posts_wrapper,
#featured_recipes_posts_wrapper
{
	padding: 50px 0 20px 0;
	background: #000;
	float: left;
	width: 100%;
	color: #C7C7C7;
}

#featured_posts_wrapper .post_header h3,
#featured_recipes_posts_wrapper .post_header h3

{
	line-height: 1.3em;
	margin: 10px 0 10px 0;
}

#featured_posts_wrapper .post_header h4,
#featured_recipes_posts_wrapper .post_header h4
{
	line-height: 1.3em;
	margin: 10px 0 10px 0;
	font-size: 18px;
}

#featured_posts_wrapper .post_header h3 a, 
#featured_posts_wrapper .post_header h4 a,
#featured_recipes_posts_wrapper .post_header h3 a,
#featured_recipes_posts_wrapper .post_header h4 a
{
	color: #fff;
}



#featured_first_post_wrapper iframe,
#featured_first_recipes_post_wrapper iframe,
body.single #page_caption iframe,
.post_featured_content_bg.notitle iframe
{
	max-height: 1000px !important;
}

.overlay_background_content_inner .search_title {
    font-size: 40px;
	line-height: 1.1;
    margin: 20px 0;
	color: #000000;
	font-weight: 700;
    letter-spacing: 0px;
}
#page_content_wrapper .sidebar .content .sidebar_widget li p.widgettitle {
    font-family: Poppins, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    display: block;
    position: relative;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    border-left: 0;
    border-right: 0;
    padding: 0 0 8px 0;
    width: 100%;	
}