/**

 * Theme Name:     GeneratePress Child
 * Author:         Tom Usborne
 * Template:       generatepress
 * Text Domain:	   generatepress-child
 * Description:    GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
 */

body.home h1 {
    padding-top: 1em;
}
body.home .recommended-recipes {
    max-width: 1200px !important;    
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 4em;
    padding: 1em 1em 2em 1em;
}

body > header,
body > header nav.main-navigation.is_stuck {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
}
body > header div.inside-header {
    max-width: 2000px;
}
body > header div.inside-header li:first-child {
    border-left: 1px solid #d9d9d9;
}
body > header div.inside-header li {
    border-right: 1px solid #d9d9d9;
}
body > header div.inside-header li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
body > header div.inside-header li.current-menu-item a,
body > header div.inside-header li a:hover {
    color: #222222 !important;
    font-weight: bold;
    text-decoration: underline;
}

body.recipe-template-default div.inside-article {
	padding: 0px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;	
    box-shadow: rgba(23, 43, 99, .4) 0 7px 28px !important;
    border-radius: 15px 15px 10px 10px;
}
body.recipe-template-default div.inside-article div.featured-image {
	margin-bottom: 0px;
}
@media (min-width: 768px) {
    body.recipe-template-default div.inside-article div.featured-image img {
    	border-radius: 15px 15px 0px 0px;
    }
}
@media (max-width: 768px) {
    body.recipe-template-default main.site-main {
        margin-top: 0px !important;
    }
}
body.recipe-template-default div.inside-article header {
	padding: 2em 2em 1em 2em;
	text-align: center;
}
body.recipe-template-default div.inside-article header h1 {
	color: #019a3d;
}
body.recipe-template-default div.inside-article div#recipe-info {
    display: flex;
    gap: 20px;
    margin-bottom: 1em;
}
body.recipe-template-default div.inside-article div#recipe-info div {
    display: flex;
    align-items: center;
}
body.recipe-template-default div.inside-article div#recipe-info div p {
    margin: 0px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 5px;
}
body.recipe-template-default div.inside-article div.entry-content {	
	padding: 0.5em 2em 1em 2em;    
}
body.recipe-template-default div.inside-article div.entry-content {
	margin-top: 0px;
}
body.recipe-template-default ol#steps {
	list-style-type: none;
    padding: 0px !important;
    margin: 0px 0px 2em 0px !important;
}
body.recipe-template-default ol#steps li {
    counter-increment: step-counter;
    margin: 25px 0 1rem;
    padding: 0 0 0 50px;
    position: relative;
}
body.recipe-template-default ol#steps li::before {
    content: counter(step-counter);
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 3px;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    min-width: 40px;
    padding: 5px 0;
    background-color: #019a3d;
    color: white;
    text-align: center;
}
body.recipe-template-default div.inside-article div.entry-content h2 {
	margin-top: 2em;
}

body.recipe-template-default div.inside-article #nutritional-info {
    margin-top: 4em;
}
body.recipe-template-default div.inside-article #nutritional-info h2 {
    margin-top: 0px !important;
}
body.recipe-template-default div.inside-article #nutritional-info table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
body.recipe-template-default div.inside-article #nutritional-info table th, 
body.recipe-template-default div.inside-article #nutritional-info table td {
    border: 1px solid #019a3d;
    padding: 8px;
    text-align: left;
}
body.recipe-template-default div.inside-article #nutritional-info table th {
    background-color: #e6fff0;
}

/* FOOTER */
footer #menu-footer-menu a {
    text-transform: uppercase;
    color: #4c4c4c;
    text-decoration: none;
    letter-spacing: 1px;
}
footer #menu-footer-menu a:hover {
    font-weight: bold;
}

/* CONTACT FORM */
body.page-id-55 article {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
body.page-id-55 .wpcf7 input[type="text"],
body.page-id-55 .wpcf7 input[type="email"],
body.page-id-55 .wpcf7 input[type="submit"] {
    width: 100%;
}

/* RECIPES GRID SHORTCODE */
div.recipes-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
}
div.recipes-grid div.recipe-card {
    border: 1px solid #ccc;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}
div.recipes-grid div.recipe-card div.recipe-thumb img {
    width: 100%;
}
div.recipes-grid div.recipe-card .recipe-title {
    padding: 0px 0.75em;
    margin-bottom: 5px;
    font-size: 1.1em;
    text-align: center;
}
div.recipes-grid div.recipe-card .recipe-title a {    
    text-decoration: none;
    color: #808080;
    font-weight: bold;
}
div.recipes-grid div.recipe-card .recipe-title a:hover {
    color: #4d4d4d;
}
div.recipes-grid div.recipe-card div.recipe-info {
    display: flex;
    padding: 0px 0.75em;
    margin-bottom: 5px;
    justify-content: center
}
div.recipes-grid div.recipe-card div.recipe-info > div {
    margin-right: 7px;
}
div.recipes-grid div.recipe-card div.recipe-info > div:last-child {
    margin-right: 0px !important;
}
div.recipes-grid div.recipe-card div.recipe-info div p {
    margin: 0px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
}

/* HEADER */
div.page-hero h1 {
    text-align: center;
}

/*******************************************************************/
/*                     BLOG POST AUTHOR BLOCK                      */
/*******************************************************************/
.author-box {
    padding: 25px 20px 8px 30px;
    background-color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: rgba(23, 43, 99, .4) 0 7px 28px !important;
    border-left: 7px solid #333333;
    max-width: 700px;
    margin: 1em auto;
}

.author-box .avatar {
    width: 90px;
    height: auto;
    border-radius: 100%;
    margin-right: 30px;
}

.author-box .author-prev,
.author-box .author-title {
    font-size: 1.1em;
    margin-bottom: 0px;
}

.author-box .author-summary {
    display: block;
}

.author-box p.author-description {
    line-height: 1.6em
}

@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 10px 10px;
    }

    .author-box .avatar {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        margin-top: -5px;
    }

    .author-box .avatar img {
        max-width: 90px;
    }

    .author-box .author-title {
        margin-bottom: 0.1em;
    }

    .author-box .author-description {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .author-box {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
/*******************************************************************/
/*                       END BLOG POST AUTHOR BLOCK                */
/*******************************************************************/



/*******************************************************************/
/*                     PÁGINA SOBRE MI STYLES                      */
/*******************************************************************/
body.page-id-183 {
    background-color: white;
}
body.page-id-183 .featured-image {
    text-align: center;
    padding-bottom: 0px;
    margin-top: 3em;
}
body.page-id-183 .featured-image img {
    border-radius: 50%;
    max-width: 300px;
    height: auto;
}
body.page-id-183 h1 {
    margin-bottom: 0px;
}
body.page-id-183 .site-content {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
body.page-id-183 .site-content .site-main {
    margin-top: 0px;
}
body.page-id-183 .site-content .subtitle {
    text-transform: uppercase;
    font-weight: bold;
    color: #808080;
    margin-bottom: 10px;
    font-size: 0.9em;
}
body.page-id-183 .site-content .site-main .inside-article {
    padding-top: 1em !important;
}
body.page-id-183 .site-content .site-main .inside-article #rrss-shortcode {
    margin-bottom: 1em;
}
/*******************************************************************/
/*                   END PÁGINA SOBRE MI STYLES                    */
/*******************************************************************/