/*
 Theme Name:   Fundação Metropolitana Paulista
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0
*/

/* CSS for Posts */
h2.wp-block-heading {font-weight: normal !important;} 
h3.wp-block-heading {font-weight: normal !important;} 
h4.wp-block-heading {font-weight: normal !important;} 
h5.wp-block-heading {font-weight: normal !important;} 
h6.wp-block-heading {font-weight: normal !important;} 
.is-layout-flex {display: flex;} /*Fix for WP Gallery Block*/
.wp-block-image, .wp-block-embed, .wp-block-gallery, .wp-block-media-text {margin-bottom: 1em;}
.wp-block-heading {margin-top: 1em;}
.wp-element-caption {color: #5d5d5d; margin-bottom: 0px !important;}
.alignwide {width: 100% !important; margin-left: auto !important; margin-right: auto !important;}
.wp-block-outermost-social-sharing {display: flex; margin: 0px !important;}
.inside-right-sidebar {position: sticky; top: 1.5em;}
.post-image img, input, select, textarea, .wp-block-button .wp-block-button__link, a.button, a.button:visited, button, input[type=button], input[type=reset], input[type=submit], input[type=text], input[type=email], input[type=search], .search-modal-form {border-radius: 10px !important;}

.yarpp-related-block h3 {font-size: 1.5em !important; font-weight: normal !important;}
.yarpp-thumbnail-title:hover {color: #1e73be;}
.yarpp-thumbnail-title {color: #000000; font-size: 0.9em !important; font-weight: normal !important; overflow: unset !important; width: unset !important;}
.yarpp-thumbnails-horizontal {width: 100% !important; display: flex !important; flex-direction: row !important; justify-content: space-between !important;}
.yarpp-thumbnail {max-width: 200px; width: unset !important; height: unset !important; border: none !important;}
.yarpp-thumbnail img {object-fit: cover; width: 100% !important; height: 175px !important; border-radius: 10px;}

@media (max-width:768px) {
.yarpp-thumbnails-horizontal {width: 100% !important; display: flex !important; flex-direction: column !important;}
.yarpp-thumbnail img {min-height: 90px !important; min-width: 110px !important; max-width: 110px !important; max-height: 90px !important;}
.yarpp-thumbnail-title {margin: 0.8em !important;}
.yarpp-thumbnail {display: flex !important; flex-direction: row; height: 125px !important; object-fit: cover; max-width: 100%; width: unset !important; height: unset !important;border: none !important;}}

/* CSS for Comments */
.required-field-message {display: none;}
.comment {font-size: 15px;}
.comment-metadata {font-size: 12px;}
.comment-author-info {line-height: 25px;}
.comment-content {padding: 0px 0px 0px 20px; border: 0 !important;}
.depth-1 .comment-body {padding: 0px 0px 0px 0px; margin:  0px 0px 25px 0px;}
.depth-2 .comment-body {padding: 10px 0px 0px 0px; margin: 20px 0px 10px 0px;}
.comment .children {padding:0px 0px 20px 20px;margin: 20px 0px 40px 20px;}
.form-submit input#submit.submit {margin-bottom: 0;}
#comment-nav-below {display: flex; justify-content: space-evenly; margin-left: auto; margin-right: auto; padding-left: 2em; padding-right: 2em;}
@media (max-width: 768px) {
    .comment-form #author, .comment-form #email {width: 100%;}
    .comment-form #email {width: 100%;}
    .form-submit input#submit.submit {width: 100%;}}
@media (min-width: 769px) {
    .comment-form #author, .comment-form #email {width: 48%; float: left;}
    .comment-form #email {float: right;}
    .form-submit input#submit.submit {width: 100%;}}	

/* CSS for Pages*/
html {background-color: #1e73be;}
.paging-navigation {text-align: center;}
.category-catequese .entry-date.published, .category-liturgia-e-vida .entry-date.published {display: none;}
.author .page-header .avatar {width: 1.75em; margin-left: 0; margin-right: 0.5em; border-radius: 50%;}
.taxonomy-description {padding-bottom: 1.25em;}
.type-page h1.entry-title, h1.page-title {font-size: 2.5em; color: #1e73be !important;}
@media (max-width:768px) {.cookieinfo {display: flex; flex-direction: column-reverse;}}

.ead-author-post a, .ead-author-name a {font-family: Optima; font-weight: normal;}
.ead-author-post a {font-size: 1.1em; line-height:0; letter-spacing: -0.25px;}
.ead-author-name a:hover, .ead-author-post a:hover {color: var(--accent);}

.santo-display-desktop .santo-display-content {padding: 1em;}
.santo-display-title a {font-family: Optima; font-size: 1.5em; font-weight: bold; letter-spacing: -1px;line-height: 1em;}
.santo-display-title a:hover {color: var(--accent);}
@media (max-width:768px){.santo-display-title a {font-size: 1.35em;}}
