/* Il CSS inserito qui verrà usato durante la stampa delle ricette. Temporaneamente, tutte le ricette avranno solo questo CSS attivo in modo da poter realizzare la grafica rapidamente. */
header {
    background-image: none !important;
    display: block !important;
}
img {
    width: 400px;
}
.logo-container {
	margin-top: 1em;
    text-align: center;
}
.social-container,
nav#main-menu,
.content .call-to-action-btn, 
.content .social-share,
div#breadcrumbs,
div#comments-section,
div#newsletter,
footer#page-footer,
button.print-recipe,
.video-wrapper,
.recipe-mobile-img {
    display: none !important;
}
h1 {
    text-align: center;
    font-size: 3em !important;
    font-family: 'cookies&milk regular', sans-serif !important;
    text-transform: uppercase !important;
    color: #000 !important;
    max-width: 600px;
    margin: 0 auto;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 0.4em 0 0.2em 0;
    margin-top: 0.7em;
    font-weight: 300;
}
h4 {
	font-family: 'Opens Sans', sans-serif;
}
.central-wrapper {
	padding-top: 0;
}
.thumbnail {
    height: 300px;
    margin: 0 auto;
    background-size: cover;
    max-width: 500px;
    width: 100%;
    margin-top: 0;
    box-shadow: 0 0 5px 2px lightgrey;
}
div#serving-size {
    text-align: center;
}
div#serving-size img {
    display: none;
}
div#serving-size h4 {
    padding: 0.5em;
    background-color: #e4801e;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
}
.content-side {
    max-width: 1100px;
    margin: 0 auto;
}
.content-block {
    margin-top: 1.5em;
}
ul {
    display: flex;
    flex-flow: wrap;
    padding: 0;
    margin-top: 1em;
}
ul li {
    list-style: none;
    display: block;
    text-align: center;
    padding: 0 1em;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    color: #2b2b2b;
}
a {
    color: #2b2b2b;
}
/* Ingredienti */
div#ingredients {
	margin-top: 3em;
}
div#ingredients ul {
    margin-top: 1.5em;
}
div#ingredients li {
    border: 1px solid;
    padding: 0.5em 2em;
    margin-bottom: 0.6em;
    margin: 0.5em;
}
div#steps {
    margin-top: 10em;
}
/* Sidebar General
--------------------------------------------------------------------------------------------- */
.sidebar h4 {
    text-align: center;
}
.sidebar {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    flex-flow: wrap;
    border: 2px solid lightgrey;
}
.sidebar > div {
    padding: 2em;
}
.sidebar > div:first-child, .sidebar > div:nth-child(2) {
    border-bottom: 2px solid lightgrey;
}
.sidebar > div:first-child {
    border-right: 2px solid lightgrey;
}
.sidebar > div:nth-child(3) {.sidebar >
    div: nth-child(2);
}
.sidebar > div:nth-child(3) {
    border-right: 2px solid lightgrey;
}
.sidebar-block {
    width: 50%;
}
/* In breve */
#summary ul {
	display: flex;
	flex-flow: wrap;
	text-align: center !important;
}
#summary li {
    width: 50%;
    margin: 0.5em 0;
}
#summary ul li img, div#dietary-habits img { /* Icone Sidebar */
    width: 60px;
    display: block;
    margin: 0 auto;
}
/* Stili Alimentari */
div#dietary-habits {
    text-align: center;
}
.badges.grid-xs-3 {
    margin-top: 1.2em;
}
div#dietary-habits a {
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    font-weight: 600;
}
/* Valori Nutrizionali */
div#nutritional-values .sidebar-block {
    width: 100%;
    text-align: center !important;
}
div#nutritional-values {
    text-align: center;
}
#nutritional-values .grid-xs-2 {
    width: 60%;
    margin: 0 auto;
}
div#nutritional-values .grid-xs-2 {
    background: #c2e3c2;
    border-radius: 2px;
    margin-top: 1em;
}
div#nutritional-values .grid-xs-2 .cell {
    border-bottom: 1px solid #a8c0a8;
    padding: 0.2em;
}
div#nutritional-values .grid-xs-2 .cell:nth-child(1), .grid-xs-2 .cell:nth-child(2) {
    padding-top: 1em !important;
}
div#nutritional-values .grid-xs-2 .cell:nth-child(9), .grid-xs-2 .cell:nth-child(10) {
    padding-bottom: 1em;
    border-bottom: 0 !important;
}
div#mobile-header {
    display: none !important;
}
div#nutritional-values {
    padding: 2em 0;
}
@media print {
	main {
		margin-top: 2em !important;
	}
}

.recipe-desktop-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.content-block.step .images {
    display: flex;
    flex-flow: wrap;
}
.content-block.step img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
#recipe .images .cell {
    width: 30%;
    margin: 1.5%;
    display: block;
    height: 11em;
    background-size: cover;
    background-position: 50%;
    position: relative;
}
#recipe .images .cell .step-number {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    margin: 0.5em;
    width: 2.2em;
    height: 2.2em;
    text-align: center;
    vertical-align: middle;
    line-height: 2.2em;
    color: #fff;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #000;
}
#recipe .images.grid-xs-1.grid-md-3 {
    padding: 2em 0;
    padding-bottom: 4em;
}
.description p {
    padding: 0;
}