/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.text-nowrap {
    white-space: nowrap;
}

.index-news {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    /* font-size: 14px; */
    line-height: 1.1;
}
.index-news > li {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: flex-start;
}
.index-news > li > div:last-child {
}

.index-news-img {
    position: relative;
    display: block;
    margin: 2px 10px 2px 0;
    width: 94px;
    text-align: center;
    flex-shrink: 0;
}
.index-news-img::before {
    display: block;
    content: '';
    padding-top: 60%;
}
.index-news-img img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-height: 100%;
}

.index-news a {
    color: #000;
    font-weight: normal;
}
.index-news a:hover {
    /*color: #00AEEB;*/
}

.index-news-text {
    flex-grow: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    border-bottom: 1px dashed #716F6F;
}

.index-news-date {
    margin-bottom: .1em;
    /*color: #E06869;*/
    font-weight: 500;
}
.news-tag {
    margin: 0 0 .1em;
    font-size: 80%;
}
.news-tag:empty {
    margin: 0;
}

.news-tag > a {
    display: inline-block;
    margin: 0 .6em .2em 0;
    padding: .45em .8em;
    /*border-radius: 1.6em;*/
    transition: opacity .3s;
    line-height: 1;
}
.news-tag > a:hover {
    opacity: .65;
}

@media screen and (min-width: 768px) {
    .index-news {
        /* font-size: 16px; */
        line-height: 1.3;
    }
    .index-news > li {
        display: flex;
    }
    .index-news-date {
    }
    .index-news-img {
        margin: 8px 35px 8px 0;
        width: 30%;
        max-width: 240px;
        overflow: hidden;
    }
    .index-news-text {
        padding: 8px 0;
    }
    .index-news-text .title {
        margin-top: .8em;
    }
    .news-tag {
        margin-top: 0;
        margin-left: 0;
    }
}
@media screen and (min-width: 1025px) {
    .index-news {
        /* font-size: 20px; */
    }

}

.post-archive {
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}
.post-archive .post {
    margin-bottom: 3em;
    padding-bottom: 3em;
    border-bottom: 1px solid #ddd;

}

.post-archive h2 {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 600;
    padding: 0 0 10px 0;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #B16D28;

}
.post-archive h2 a {
    color: #6A3907;
}
.post-archive .post-attribute {
    margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
    .post-archive h2 {
        font-size: 32px;
        line-height: 1.2em;
    }
}

.post-navigation a,
.posts-navigation a {
    display: inline-flex;;
    align-items: center;
    margin-bottom: .8em;
    padding: .6em 1em;
    background: #fff;
    color: #666;
    line-height: 1.6;
    transition: opacity .3s;
    text-align: left;
    border: 1px solid #ddd;
    font-size:80%;
}
.post-navigation a:hover,
.post-navigation a:focus,
.post-navigation a:active,
.posts-navigation a:hover,
.posts-navigation a:focus,
.posts-navigation a:active {
    text-decoration: none;
    opacity: .8;
    background: #ddd;

}
.post-navigation .nav-previous,
.post-navigation .nav-next {
    float: none;
    width: 100%;
}
.post-navigation a {
    font-size: 90%;
}
.nav-previous a {
    justify-content: flex-start;
    padding-left: .8em;
}
.nav-next a {
    justify-content: flex-end;
    padding-right: .8em;
}
.nav-previous a::before,
.nav-next a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.nav-previous a::before {
    content: '\f104';
    margin-right: 1em;
}
.nav-next a::after {
    content: '\f105';
    margin-left: 1em;
}


.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 5rem 0;
    overflow: hidden;
}

@media screen and (min-width: 768px), print {
    .site-main .posts-navigation,
    .site-main .post-navigation {
        text-align: left;
    }

    .posts-navigation .nav-previous,
    .post-navigation .nav-previous {
        float: left;
        width: 50%;
    }

    .posts-navigation .nav-next,
    .post-navigation .nav-next {
        float: right;
        text-align: right;
        width: 50%;
    }
}
