/*
 Theme Name:   Minimum Minimal Child
 Theme URI:    http://youproof.hu/minimumminimal-child/
 Description:  YOUPROOF version of the Minimum Minimal Theme
 Author:       David Moldvai
 Author URI:   http://youproof.hu
 Template:     minimum-minimal
 Version:      1.0.0
 Tags:         featured-images, custom-menu, threaded-comments, translation-ready, theme-options, post-formats, sticky-post, one-column, custom-colors, custom-logo, footer-widgets, blog
 Text Domain:  minimum-minimal-child
*/

.wp-block-image {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image figcaption {
    width: 100%;
    color: #555d66;
    text-align: center;
    font-size: 13px
}

.postlistthumbwrap {
    background: #fff;
}

.katex-display {
    overflow-x: auto;
    overflow-y: hidden;
}

article.postbox {
    margin-top: 0px;
    padding: 10px 0px 10px 0px;
    margin-bottom: 50px;
    border: 1px solid #000;
    -webkit-box-shadow: 0px 0px 15px 0px #888;
    /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0px 0px 15px 0px #888;
    /* Firefox 3.5 - 3.6 */
    box-shadow: 0px 0px 15px 0px #888;
    /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.articlebox.post:after {
    border-bottom: 1px solid #000;
    content: "";
    display: block;
    margin: 0 auto;
    width: 2.5%;
}

.yp-facebook-follow {
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.yp-facebook-follow>a {
    display: block;
    font-size: 1.1rem;
    width: 100%;
    margin-bottom: 0;
}


/* yp-ads */

.yp-ads {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 4rem;
    background-color: #eee;
    border: 1px solid #000;
    -webkit-box-shadow: 0px 0px 15px 0px #888;
    /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0px 0px 15px 0px #888;
    /* Firefox 3.5 - 3.6 */
    box-shadow: 0px 0px 15px 0px #888;
    /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.yp-ads>h5 {
    display: block;
    margin-bottom: 0;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.yp-ads>a {
    display: block;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.yp-ads>a>img {
    width: 85%;
    height: 85%;
    max-width: 327px;
    max-height: 115px;
}


/* yp-element-recall */

.yp-element-recall {
    font-size: 1rem;
    border: 1px solid #000;
    margin-bottom: 1.4rem;
    margin-left: 5%;
    margin-right: 5%;
    -webkit-box-shadow: 0px 0px 15px 0px #888;
    /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0px 0px 15px 0px #888;
    /* Firefox 3.5 - 3.6 */
    box-shadow: 0px 0px 15px 0px #888;
    /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.yp-element-expand-button {
    font-family: Muli, sans-serif;
    width: 100%;
    cursor: pointer;
    text-align: left;
    outline: none;
    padding: 10px;
    background-color: #eee;
    font-weight: bold;
}

.yp-element-expand-button-active,
.yp-element-expand-button:hover {
    background-color: #ccc;
}

.yp-element-expand-button-text {
    display: inline-block;
}

.yp-element-expand-button-text {
    width: 90%;
}

.yp-element-expand-button:after {
    clear: both;
}

.yp-element-recall-container {
    display: none;
}

.yp-element-recall-container.yp-element-expanded {
    display: block;
}

.yp-element-recall-content {
    padding: 10px;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid #000;
}

.yp-element-recall-links {
    border-top: 1px solid #000;
}

.yp-element-recall-links>.yp-element-link-to-related,
.yp-element-recall-links>.yp-element-link-to-article {
    margin: 5px 0px 5px 5px;
    display: inline-block;
    border: 1px solid #000;
    padding: 2px 15px;
    font-size: 0.8rem;
    color: black;
    background-color: #eee;
    font-weight: bold;
}

.yp-element-recall-links>.yp-element-link-to-related:hover,
.yp-element-recall-links>.yp-element-link-to-article:hover {
    color: black;
    text-decoration: none;
    background-color: #ccc;
}


/* yp-element-normal */

.yp-element-indexed-header {
    font-family: Muli, sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.yp-element-non-indexed-header {
    font-family: Muli, sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0;
}

.yp-element-normal>.yp-element-link-to-related {
    font-size: 0.8rem;
}

.yp-element-end-character {
    font-size: 1.4rem;
    text-align: right;
    display: block;
    margin-top: -2.2rem;
    margin-bottom: 1.4rem;
}


/* yp-series-header */

.yp-series-header {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.yp-series-header a,
.yp-series-header a:hover {
    color: black;
    text-decoration: none;
}

.yp-series-header .yp-series-logo {
    display: inline-block;
    width: 25%;
    padding: 1%;
}

.yp-series-header .yp-series-title {
    display: inline-block;
    vertical-align: middle;
}

.yp-series-header .yp-series-title>h1,
.yp-series-header .yp-series-title>h2 {
    font-family: "Muli";
    font-size: 2rem;
}

.yp-series-header .yp-series-index {
    letter-spacing: 4px;
    font-weight: 700;
}

.yp-series-header .yp-series-title>h1 {
    font-weight: 300;
    letter-spacing: 12px;
    text-transform: uppercase;
}

.yp-series-header .yp-series-title>h2 {
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 6px;
    text-transform: lowercase;
}

.postbox .yp-series-title {
    font-size: 0.9em;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.postbox .yp-postbox-first-line {
    margin: 1.2rem 0 0.4rem;
}

@media screen and (min-width: 640px) {
    .postbox .yp-series-title {
        font-size: 1.1em;
    }
    .postbox .yp-postbox-first-line {
        margin-top: 0;
    }
}

.postbox a .yp-postbox-second-line {
    margin: 0rem 0 0.4rem;
}