/*
 Theme Name:   Twenty Twenty-One Child
 Template:     twentytwentyone
 Description:  Twenty Twenty-One Theme
 Author:       Timur Khudiyev
*/
@import url("../twentytwentyone/style.css");

.t-post-thumb {
    max-width: 640px;
    margin: 0 auto;
}

.t-posted-on {
    font-size: 1rem;
}

.t-archive-description {
    font-size: 1.2rem;
}

.text-center {
    text-align: center;
}

.nav-btn-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3px;
    width: 40px;
    height: 40px;
    margin-left: 25px;
}

.nav-btn-icon:hover svg path {
    fill: #28303d;
}

.nav-btn-icon svg path {
    fill: #fff;
}

.header-search-block section {
    display: flex;
    justify-content: flex-end;
}

.header-search-block section form {
    max-width: 350px;
}
.header-search-block section form label {
    display: none;
}

.entry-header h2.entry-title {
    font-size: 1.2rem;
}

.singular .entry-title.entry-title--medium{
    font-size: 1.2rem;
}

.entry-header h1.entry-title, .page-header h1.page-title {
    font-size: 2em;
}

.t-site-header {
    padding-bottom: 50px;
}

.article-container {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.article-container article.type-picture {
    padding: 0 15px;
    background-color: #f7f6f6;
    border: 4px solid #fbfbfb;
    /*flex-grow: 1;*/
    /*width: 350px;*/
}

.article-container article.type-picture .t-post-thumb {
    position: relative;
    padding-top: 80%;
    overflow: hidden;
}
.article-container article.type-picture .t-post-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
}

.article-container article.type-picture .entry-content {
    margin-top: 0;
    font-size: 1rem;
}

.article-container article.type-picture .entry-header {
    position: relative;
}

.article-container article.type-picture .entry-title a::after {
    content: '';
    display: block;
    width: 100%;
    left: 0;
    top: 0;
    padding-top: 85%;
    position: absolute;
}
/*.article-container article*/

.site-footer .to-top {
    position: fixed;
    right: 10px;
    bottom: 70px;
    width: 50px;
    height: 51px;
    background-color: #28303d;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none!important;
    opacity: 0.9;
    z-index: 9;
    display: none;
}

.to-top.visible {
    display: flex;
}
.site-footer .to-top svg {
    display: inline-block;
    width: 34px;
    height: 27px;
    vertical-align: middle;
}

.site-footer .to-top svg path {
    fill: #fff;
}

.single-picture-full .post-thumbnail img {
    max-height: 700px;
    width: auto!important;
}

.painter-item h3 {
    font-size: 1.3rem;
}

.copy-text {
    font-size: 13px;
    text-transform: none;
    color: #8a97ab;
}
