/*
Theme Name: Twenty Twenty-One Child
Description: Дочерняя тема для темы Twenty Twenty-One
Author: guezwho
Template: twentytwentyone
*/

@import url("../twentytwentyone/style.css");

body {
    background-color: #fff !important;
    font-size: 14px !important;
    font-family: Roboto !important;
}

.site {
    background-color: #fff !important;
}

.site-header {
    padding-top: 30px;
    padding-bottom: 30px;
}

.site-content {
    max-width: 1200px;
    margin: 30px auto;
}

.widget-area {
    grid-template-columns: 1fr !important;
}

#sidebar {
    width: 300px;
    font-size: 16px;
    float: left;
    padding: 0 5px 30px;
    font-family: Roboto !important;
}

.site-main {
    width: calc(100% - 300px);
    float: right;
    padding: 0 15px !important;
    font-family: Roboto !important;
}

.singular .entry-title {
    font-size: 32px !important;
    padding: 0 10px;
}

.singular .entry-header {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.entry-content h2 {
    font-size: 24px;
}

.singular .has-post-thumbnail .entry-header {
    padding-bottom: 0 !important;
}

.entry-content p {
    font-size: 14px;
}

p {
    max-width: 1200px !important;
}

#sidebar .widget a, .widget a {
    font-size: 14px !important;
}

.widget_dws_advanced_silo ul {
    list-style-type: disc !important;
}

.widget_dws_advanced_silo ul a {
    text-decoration: none;
}

.widget_dws_advanced_silo ul a:hover {
    text-decoration: underline;
}

.widget_dws_advanced_silo ul ul {
 margin-left: 17px;
}

#colophon {
    margin-top: 50px;
}

@media only screen and (max-width: 1200px) {
    #sidebar {
        width: 250px;
    }

    .site-main {
        width: calc(100% - 250px);
    }
}

@media only screen and (max-width: 990px) {
    #sidebar {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .widget a {
        font-size: 12px !important;
    }

    .site-main {
        width: 100%;
        float: none;
    }

    .entry-content p {
        font-size: 14px;
    }

    .singular .entry-title {
        font-size: 22px !important;
    }

    .entry-content h2 {
        font-size: 19px;
    }
    
}

@media only screen and (min-width: 822px) {
    .site-header {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}