/* Simmer's front-end styles */

/** Global **/

.nobg {
	background: none; 
	padding: none;
	border: none;
}


/* Clearfixes */
.simmer-recipe-details:before,
.simmer-recipe-details:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.simmer-recipe-details:after {
    clear: both;
}
.simmer-recipe-details {
    *zoom: 1;
}

/* Meta */
.simmer-recipe-meta {
}
.simmer-recipe-meta img.wp-post-image {
	width: 150px;
	float: right;
	margin: 0 0 20px 20px;
}
.simmer-recipe-date {
	display: none;	
}

/* Description */


/* Details */

.simmer-recipe-details {
	padding: 20px 40px 0 40px;
    font-size: 0.8em;
    border-top: 1px solid rgb( 0, 0, 0 );
    border-bottom: 1px solid rgb( 0, 0, 0 );
    clear: both;
    margin: 30px -40px 0 -40px; 
}
	.simmer-recipe-details.simmer-nutrition {
		border-bottom: none;
		margin-top: 0;
	}
	.single-recipe .simmer-recipe-details {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
.simmer-recipe-details label {
	font-weight: bold;
	margin-bottom: 0;
}
.simmer-recipe-details ul {
	margin: 0 0 0 0;
	padding: 0;
	list-style: none;
}
.simmer-embedded-recipe .simmer-recipe-categories {
	padding-left: 0;
	margin-left: 0;
	margin-bottom: 1.2em;
	margin-top: 0.8em;
	margin-bottom: 1em;
}
.simmer-recipe-meta .more-link {
	display: none;
}
.simmer-recipe-categories {
	list-style: none;
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
	margin-bottom: 0;
}
	.simmer-recipe-categories li {
		width: 100%;
		margin: 0;	
	}
	.simmer-recipe-categories li label {
		display: inline;
	}
	.simmer-recipe-categories li span a {
		line-height: 1;
	}
.simmer-recipe-details ul:last-child {
	margin-bottom: 0;
	margin-top: 0;
}
.simmer-recipe-details li {
	display: inline-block;
	padding-right: 20px;
	margin-bottom: 20px;
    margin-right: 18px;
    border-right: 1px solid rgb( 0, 0, 0 );
    max-width: 25%;
}	 
	@media screen and ( max-width: 600px ) {
		.simmer-recipe-details li {
			display: block;
			padding-left: 0;
			border-right: none;
			margin-bottom: 10px;
			width: 100%;
			max-width: 100%;
		}
	}
.simmer-recipe-details li:first-child {
	padding-left: 0;
}
.simmer-recipe-details li:last-child, 
.simmer-recipe-details-list li:last-child, 
.simmer-recipe-yield li:last-child, 
.simmer-recipe-yield li:last-child, 
.simmer-recipe-categories li:last-child {
	padding-right: 0;
	border-right: none;
}

/* Recipe Nutrition */ 
.recipe-nutrition {
	margin-top: 10px;
	font-size: 1.2em;
}
.simmer-recipe-nutrition {
    padding-left: 0 !important;
    padding-bottom: 10px !important;
}
.simmer-nutrition-item {
	list-style: none;
	margin-bottom: 10px;
	margin-top: 10px;
	padding-right: 0;
}
	.simmer label,
	.simmer-embedded-recipe label {
		display: block;
		font-weight: bold;
	}
	@media screen and ( max-width: 600px ) {
		.simmer-recipe-details label {
			display: inline;
		}
		.simmer-recipe-details.simmer-nutrition label {
			display: block;
		}
	}
	
.simmer-recipe-nutrition-meta {
	margin-bottom: 9px;
	clear: both;
	padding: 0 0 0.5rem 0;
    margin: 0;
    font-size: 0.85em;
}
.simmer-recipe-nutrition-meta li {
	margin-right: 15px;
	list-style-type: none;
    margin-bottom: 10px;
    border-right: 1px solid rgba( 0, 0, 0, 0.1 );
    padding-right: 15px;
    display: inline;
    margin-top: 10px;
}
	.simmer-recipe-nutrition-meta label {
		font-weight: bold;		
		display: inline;
		margin-right: 5px;
	}
	.simmer-recipe-nutrition-meta li:last-child {
		border-right: none;
	}
	.recipe-nutrition li {
		display: block;
		border: none;
		float: left;
		max-width: 25%;
	}
	@media screen and ( max-width: 520px ) {
		.simmer-recipe-nutrition-meta li {
			display: block;
			border-right: none;
		}
	}
.simmer-recipe-details.simmer-nutrition {
	padding-top: 0;
}

/* Ingredients */
.simmer-recipe-ingredients {
	float: left;
	width: 33%;
    padding-top: 40px;
}
	.simmer-ingredients {
		margin: 0;
		padding: 0;
		list-style: none;
		font-size: 90%;
	}
		.simmer-ingredients li {
			padding: 10px 16px 10px 0;
			border-bottom: 1px solid;
		}
		.simmer-ingredients li:first-child {
			margin-top: -10px;
		}
		.simmer-ingredients li:last-child {
			border-bottom: none;
		}

/* Instructions */

.simmer-recipe-instructions {
	float: right;
    width: 66%;
    padding-left: 5%;
    padding-top: 40px;
}
	.simmer-instructions {
		margin: 0 0 0 17px;
		padding: 0;
	}
	.simmer-instructions li {
		margin-bottom: 1em;
		padding-left: 0.5em;
	}
	

/* Headings */

.simmer-recipe h4,
.simmer-embedded-recipe h4,
.simmer-recipe-ingredients h4,
.simmer-recipe-instructions h4 {
	margin: 20px 0;
	padding-top: 10px;
}
	.simmer-recipe-ingredients h4:nth-child(2),
	.simmer-recipe-instructions h4:nth-child(2) {
		padding-top: 0;
	}
.simmer-recipe-ingredients h3,
.simmer-recipe-instructions h3,
.simmer-recipe-nutrition-title {
	margin-top: 0;
	margin-bottom: 20px;
}
.simmer-recipe-nutrition-title {
	padding-top: 40px;
	clear: both;
}


/* Responsive Items */
@media screen and ( max-width: 600px ) {
	.simmer-recipe-ingredients,
	.simmer-recipe-instructions {
		float: none;
		width: 100%;
		padding-left: 0;
	}
}


/* Footer */
.simmer-recipe-footer .featured-image {
	margin-top: 60px;
}
.single-recipe .single-recipe-featured {
	display: none;
}
.simmer-recipe-footer {
	font-size: 0.8em;
	clear: both;
	padding-top: 5px;
    margin-top: 30px;
}
.simmer-recipe-footer .simmer-keywords,
.simmer-recipe-footer .simmer-recipe-source { 
	margin-bottom: 10px;
}
.simmer-embedded-recipe .simmer-recipe-footer {
	margin: 40px -40px -10px -40px;
	padding: 40px 40px 30px 40px;
}
.simmer-recipe-video {
	margin: 30px 0 20px 0;
}
.simmer-recipe-video .video-title {
	display: none;
}
.simmer-recipe-footer::before,
.simmer-recipe-footer::after {
	content: "";
	display: table;
}
.simmer-recipe-footer::after {
	clear: both;
}
.recipe .simmer-recipe-video iframe {
	margin-bottom: 0;
}
.simmer-keywords span.keywords-label {
	font-weight: bold;
}
.simmer-recipe-source {
	font-weight: bold;
}
	.simmer-recipe-source a {
		font-weight: normal;
	}

.simmer-embedded-recipe .clear,
.single-recipe .clear {
	clear: both;
}

/* Source */
.simmer-recipe-source {
}

/* Tools */
.simmer-recipe-tools {
	text-align: right;
	margin-bottom: 30px;
	margin-top: 3px;
}
.simmer-recipe-tools ul {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-type: none;
	display: grid;
	column-gap: 3%;
}
.simmer-recipe-tools li {
	float: right;
	padding: 0; 
	line-height: 1;
	margin-top: 2px;
	cursor: pointer;
}
	.simmer-recipe-tools li a[role="button"] {
		border-style: solid;
		border-width: 1px;
		padding: 5px;
		display: block;
		text-align: center;
		line-height: 2em;
		font-size: 1.25em;
	}
	.simmer-recipe-tools li a.simmer-pinterest .icon {
		-webkit-mask: url(pinterest.svg) no-repeat 100% 100%;
		mask: url(pinterest.svg) no-repeat 100% 100%;
		-webkit-mask-size: 1em;
		mask-size: 1em;
		display: inline-block;
		width:  1em;
		height: 1em;
		display: inline-block;
		margin-bottom: -2px;
		margin-right: 3px;
	}
.simmer-recipe-tools li:last-child {
	margin-right: 0;
}
.simmer-hidden-Pinterest {
	display: none;
}

/* Messages */
.simmer-message {
	margin: 20px 0;
	padding: 10px;
	text-align: center;
	border-radius: 4px;
}
/** Embedded Recipes **/ 
.simmer-embedded-recipe .simmer-recipe-featured-image {
	float: left;
	margin-right: 40px;
	margin-bottom: 20px;
} 
.simmer-embedded-recipe .simmer-recipe-byline {
	display: block;
}
@media screen and ( max-width: 520px ) { 
	.simmer-embedded-recipe .simmer-recipe-featured-image {
		float: none;
		text-align: center;
	}
}

.simmer-embedded-recipe .simmer-recipe-top {
	position: relative;
    overflow: hidden;
}
	.simmer-embedded-recipe .simmer-recipe-top .simmer-recipe-excerpt,
	.simmer-embedded-recipe .simmer-recipe-top .simmer-recipe-tools,
	.simmer-embedded-recipe .simmer-recipe-top .simmer-recipe-categories,
	.simmer-embedded-recipe .simmer-recipe-top .simmer-recipe-author,
	.simmer-embedded-recipe .simmer-recipe-top .simmer-recipe-date {
		font-size: 0.8em;
		line-height: 1.5em;
	}

	.single-recipe .simmer-recipe-top .simmer-recipe-categories,
	.single-recipe .simmer-recipe-top .simmer-recipe-author,
	.single-recipe .simmer-recipe-top .simmer-recipe-date {
		font-size: 0.85em;
	}

.simmer-embedded-recipe .simmer-recipe-author,
.simmer-embedded-recipe .simmer-recipe-date {
    margin: 0 0 0.5em 0;
}
.simmer-embedded-recipe .simmer-recipe-tools {
	margin-bottom: 0;
}
.simmer-recipe-tools {
	margin-top: 20px;
}
.simmer-embedded-recipe p {
	margin-bottom: 0;
}
.simmer-embedded-recipe,
.simmer-embedded-recipe * {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.simmer-embedded-recipe {
	margin: 20px 0 60px 0;
	padding: 40px 40px 10px 40px;
}
.simmer-embedded-recipe .simmer-recipe-title {
	line-height: 1em;
    margin-top: 0;
    padding: 0 80px 0.25em 0;
    margin-bottom: 0;
}

.single-recipe .simmer-recipe-title {
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0.25em;
}
.single-recipe .simmer-recipe-excerpt {
	font-size: 0.8em;
	line-height: 1.8em;
	margin-top: 1em; 
}

/** Recipe Archives/Library **/
.post-type-archive-recipe .recipe .post-thumbnail img {
	width: 50%;
    float: right;
    margin: 0 0 1em 2em;	
}


/** Print Styles **/

@media print {

	body {
		margin: 0 !important; 
		padding: 0 !important; 
	}

	/* Title */
	.simmer-recipe-title {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 40px !important;
	}
	.entry-header {
		display: none !important;
	}
	.simmer-recipe-description {
		max-height: 200px;
	}
	/* Description */
	.simmer-recipe-details {
		padding-top: 8px;
		margin-bottom: 40px;
		margin-top: 0;
	}
		.simmer-recipe-details li {
			margin-bottom: 8px;
		}
	.simmer-recipe-featured-image img {
		float: right;
		width: 20%;
		margin: 0 0 20px 20px;
	}
	.simmer-nutrition {
		padding-bottom: 0;
	}
	.simmer-recipe-top {
		width: 70%;
		float: left;
	}
	.simmer-recipe-description {
		margin-bottom: 40px;
	}
		.simmer-recipe-excerpt {
			display: block;
			margin-bottom: 20px;
		}
	.simmer-recipe-ingredients h3,
	.simmer-recipe-instructions h3 {
		margin-top: 0;
		padding-top: 0;
		font-weight: bold;
	}
	.simmer-ingredients li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.28);
		padding: 4px 8px 4px 0;
	}
	
	/* Information */
	.simmer-recipe-details {
		border-top: 1px solid rgba(0, 0, 0, 0.28);
		border-bottom: 1px solid rgba(0, 0, 0, 0.28);
	}
	.simmer-recipe-details li {
		padding: 0;
		border: none;
	}


	/* Ingredients */
	.simmer-recipe-ingredients {
		width: 30%;
		padding: 0;
		margin: 0;
	}

	/* Instructions */
	.simmer-recipe-instructions {
		width: 65%;
		padding: 0;
		margin: 0;
	}

	/* Tools */
	.simmer-recipe-tools {
		display: none;
	}
	.post-edit-link { 
		display: none;
	}
}
