/*
* Theme Name: Artfolio
*
* Layout: Content-Sidebar
*
* Learn more: https://developer.wordpress.org/themes/basics/template-files/
*/

.site-content {
    padding-bottom: 4em;
}

.content-area {
    padding-top: 4rem;
}

.single .site-content,
.page .site-content { 
    background: #fff; 
    background: hsl(0, 0%, 100%);
}

.site-content .widget-area {
    width: 440px;
    float: right;
    padding: 4rem;
    background: #fff;
    background: hsl(0, 0%, 100%);
}

.site-content .index-widgets {
    display: block;
    position: relative;
    float: none;
    width: 100%;
}

.site-footer {
    clear: both;
    width: 100%;
}

.entry-header,
.entry-content,
.entry-footer,
.tag-links,
.post-navigation,
.comments-area,
.pagination,
.page-header {
    position: relative;
    max-width: 780px;
    max-width: 78rem;
    padding: 0;
    margin: 0 auto;
}

.index-box {
    max-width: 780px;
    max-width: 78rem;
    padding: 0 0 1em;
    margin: 0 auto 2em;
    background: #fff;
    background: hsl(0, 0%, 100%);
    border-bottom: 12px solid #d3d3d3;
}

.index-widgets .index-box {
    max-width: none;
    margin: 0;
}

.index-box blockquote.alignleft,
.index-box blockquote.alignright {
    background: #fff;
    background: hsl(0, 0%, 100%);
    border: none;
}

@media screen and (min-width: 1981px) {
    .index-widgets .index-box {
        max-width: 780px;
        max-width: 78rem;
        margin: 0 auto 2em;
    }
}

@media screen and (min-width: 1820px) {
    .index-box blockquote.alignright { padding-right: 2em; }
}

@media screen and (min-width: 1320px) {
    .index-box blockquote.alignleft { padding-left: 2em; }
}

@media screen and (min-width: 1540px) {
    .content-area {
        float: left;
        width: 100%;
    }
}

@media screen and (min-width: 1250px) and (max-width: 1980px) {
    .content-area {
        width: 100%;
        float: left;
        margin-left: -440px;
        padding-left: 440px;
    }

    .entry-header,
    .entry-content,
    .entry-footer,
    .tag-links,
    .post-navigation,
    .comments-area,
    .pagination,
    .index-box,
    .page-header {
        margin-right: 0;
    }

}

@media screen and (max-width: 1249px) {
    .site-content .widget-area {
        margin: 1em auto 0;
        float: none;
        width: auto;
        max-width: 780px;
    }

    .entry-header,
    .entry-content,
    .entry-footer,
    .tag-links,
    .post-navigation,
    .comments-area,
    .pagination {
        padding: 0 2rem;
    }
}

.page-header,
.pagination {
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 2em;
    background-color: #F1EEE9;
    list-style-type: none;
    border-bottom: 12px solid #65625D;
    text-align: center;
}

.pagination { border-bottom: none; }

.search-no-results .page-header { border-bottom: none; }