/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 */
body{
    font-family: 'Merriweather';
}

#text-logo a{
    color:#ffffff!important;
    font-size:14px!important;
}

h2, .contentgroup__h2 {
    font-size: 24px;
    font-weight: inherit;
    line-height: 36px;
    color: #972821;
    letter-spacing: inherit;
}
h3, .contentgroup__h3 {
    font-size: 29px;
    font-weight: inherit;
    color: #972821;
    line-height: 28px;
    letter-spacing: inherit;
}
h4, .contentgroup__h4 {
    font-size: 25px;
    font-weight: inherit;
    line-height: 26px;
    color: #972821;
    letter-spacing: inherit;
}

body.wp-singular .page-content{
    p, ul, ol, li {
        font-size: 14pt!important;
        font-weight: 500;
        line-height: 1.6;
        color: #972821;
        letter-spacing: inherit;
    }
    p {
        padding-top: 0;
        padding-bottom: .4em;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.btnegm1-a,
.btnegm1 .elementor-button{
    font-weight: inherit;
    line-height: 28px;
    letter-spacing: 1px;
    background-color: #972821;
    color: #fff!important;
    font-size: 1.1em;
    padding: 10px 16px;
    margin: 1em 0;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 0 4px #581713!important;
    text-decoration: none!important;
    text-shadow: 0 1px 0px rgba(0, 0, 0, 0.2) !important;
    &:hover {
        background-color: #8a251e;
        cursor: pointer;
    }
    @media (max-width: 767px) {
        margin:10px 0;
    }
}

a.widget-align-center{
    text-align: center;
    display: block!important;
}

.posts-category-list{
    max-width: 1000px;
    margin: 0 auto;


    > article.post-item{
        padding: 30px;
        background-color: #C6C6C6;
        border: 1px solid #b9b9b9;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        margin-bottom: 30px;

        .post-thumbnail {
            width: 100% !important;
            a {

                /*height:300px;
                overflow:hidden;
                display: block;*/

                @media (min-width: 1025px) {

                    height: 450px;
                    overflow: hidden;
                    display: block;
                    img {
                        object-fit: cover;
                        object-position: center;
                        width: 100%;
                        height: 100%;
                    }


                }
                @media (max-width: 1024px) {

                    display: block!important;
                    width: 100%!important;
                    img {
                        display: block!important;
                        width: 100%!important;
                    }

                }
            }
            
        }

        h3{
            font-size: 24px;
            font-weight: 700;
            line-height: 32px;
            letter-spacing: inherit;
            a{
                color: #972821;
                text-decoration: none;
                &:hover{
                    text-decoration: underline;
                }
            }
        }

        .post-excerpt{
            color: #972821;
        }

        .post-showmore {
            margin-bottom: 20px;
            margin-top: 10px;

            a {
                font-weight: bold;
                text-decoration: none;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
        .post-date{
            font-size: 14px;
            color: #972821;
        }

    }
}

.posts-navigation{
    text-align: center;
    margin-bottom: 25px;
    a {
        font-size: 18px;
        font-weight: bold;
    }
}
body.archive.tag,
body.archive.category,
body.search.search-results{
    .page-header h1{
        text-align: center;
        margin-top: 50px;
        text-transform: uppercase;
        font-weight: bold;
    }
    .page-content{
        article.post{
            max-width: 1000px;
            margin: 0 auto 30px auto;
            padding: 30px;
            background-color: #C6C6C6;
            border: 1px solid #b9b9b9;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            @media (min-width: 1025px) {
                > div > a{
                    height:450px;
                    overflow:hidden;
                    display: block;
                    img{
                        object-fit:cover;
                        object-position: center;
                        width: 100%; height: 100%;
                    }
                }
            }
            @media (max-width: 1024px) {
                > div > a{
                    display: block!important;
                    width: 100% !important;
                    height: auto!important;
                    img{
                        display: block!important;
                        width: 100%!important;
                        height: auto!important;
                    }
                }
            }
            h2.entry-title {
                a {
                    font-size: 28px;
                    font-weight: inherit;
                    line-height: 36px;
                    letter-spacing: inherit;
                    text-decoration: none;
                    color: #972821;
                    font-weight: bold;
                    &:hover {
                        text-decoration: underline;
                    }
                }

            }

        }

        .post-showmore{
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: bold;
            text-decoration: none;
            a{ text-decoration: none;
                &:hover { text-decoration: underline; }
            }
        }

    }
}

body:not(.home) .page-content.without-title{
    margin-top: 50px;
}
body.home #content .page-content .fcbkbttn_buttons_block{
    display: none!important;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;

    iframe{
        position: absolute;
        top: 0;
        left: 0;
    }
}


#comments{
    margin-top: 50px;
    margin-bottom: 80px;
    #reply-title{
        text-transform: uppercase;
        font-weight: bold;
        border-top: 1px solid #333;
        padding-top: 25px;
    }

    #comment{
        margin-top: 5px;
    }

}

#content .post-thumbnail{
    margin-top: 50px;
}

.gtranslate_wrapper {
    text-align:right;
    > a {
        border: 1px solid white;
        border-radius: 25px;
        padding: 5px 15px 6px;
        margin-top: 5px;
        display: inline-block;
        color: white;
        font-weight: bold;

        > span{
            color:white!important;
        }
    }
}

.form-container{
    background: rgba(35, 51, 68, 0.10);
    border: 1px solid #dfdfdf;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-top: 50px;

    label{
        width: 100%;
    }

    input,
    textarea {
        &.wpcf7-form-control {
            margin-top: 5px;
            width: 100%;
            border: 1px solid #cccccc;
        }
    }

    h3{
        font-size: 25px;
        font-weight: bold;
        text-align: center;
        color:#233344;
    }

    .wpcf7-submit{
        background: #233344;
        color: white;
        text-transform: uppercase;
        font-size:20px;
        font-weight: bold;
        min-width: 150px;
        border: 0;
        margin-top: 20px;
    }

    .wpcf7-spinner{ display:block!important; }

}

table td{
    background:transparent!important;
    border: none!important;
}

.posts-category-list .post-thumbnail{
    margin-top: 0!important;
}

.hfe-nav-menu-icon svg{
    fill: white;
    width: 35px;
    height: 35px;
}


.menu-item a.hfe-sub-menu-item {
    padding-left: 22px!important;
}

.link-white a{
    color:white!important;
}

@media (max-width: 767px) {

    body.archive.category .page-content article.post,
    .posts-category-list > article.post-item {
        padding: 15px;
    }

    /*body.archive.category .page-content article.post > a,*/
    /*.posts-category-list > article.post-item .post-thumbnail a{*/
    /*    height:200px;*/
    /*}*/

    .a2a_dd.addtoany_no_icon.addtoany_share_save.addtoany_share{
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 10px;
    }
    .a2a_kit {
        bottom: 20px;
        top:initial!important;

        @media(max-width: 767px){
            display:none!important;
        }

    }

}

.icon-circle {
    display: inline-flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
        display: inline-flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        color: #972821;

        svg {
            fill: #972821 !important;
        }

        .elementor-icon-wrapper {
            height: 20px;
        }

        svg {
            width: 20px;
            height: 20px;
        }

        @media (max-width: 767px) {
            width: 30px;
            height: 30px;
            .elementor-icon-wrapper {
                height: 24px;
            }

            svg {
                width: 15px;
                height: 15px;
            }
        }
    }
}


@media (max-width: 767px) {
    .hfe-nav-menu-icon svg{
        width: 25px;
        height: 25px;
    }
    .gtranslate_wrapper {
        > a {
            padding: 5px 2px 4px 10px;
            span{
                font-size: 13px !important;
            }
        }
    }
    #text-logo a{
        font-size: 18px!important;
    }
}

.btn-donate a{
    background:white;
    color:#972821!important;
    font-weight: bold;
    border-radius: 5px;
    background-image: url(assets/donate-heart.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center left 6px;
    padding-left: 30px;
    padding-right: 8px;
}

@media (max-width: 1315px) and (min-width: 1025px) {
    .r-col-header{
        flex-wrap: wrap;
        .gtranslate_wrapper{
            margin-top: 20px;
        }
    }
}

.btntelegram{
    .elementor-button-content-wrapper{
        display: flex;
        align-items: center;
    }
    svg{
        width:60px!important;
        height:60px!important;
    }
}

.footer-width-fixer .elementor-element-9f3b6a7 a{
    color: #fff!important;
    text-decoration: underline;
    font-weight: bold;
}

.silvet_pb_featured_bg{
    padding-top: 200px;
    padding-bottom: 200px;
    background-size: cover;
    background-repeat: no-repeat;
}

.silvet_pb_featured_bg h2{
    text-transform: uppercase;
    font-size: 45px;
    color: #FFFFFF !important;
    text-align: center;
    text-shadow: 0.08em 0.08em 0.08em #5B5B5B;
}

@media (max-width:767px){
    .silvet_pb_featured_bg{
        padding-top: 100px;
        padding-bottom: 100px;
    }
}


.container-soprascrittaimmaginemedio,
.container-soprascrittaimmaginebasso,
.container-soprascrittaimmagine{
    position: absolute;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    width: calc(100% - 20px);
}
.container-soprascrittaimmagine{
    top: 20px;
}
.container-soprascrittaimmaginemedio{
    top: 50%;
    transform: translateY(-50%);
}
.container-soprascrittaimmaginebasso{
    bottom: 20px;
}
.textarticle-image .container-soprascrittaimmaginemedio,
.textarticle-image .container-soprascrittaimmaginebasso,
.textarticle-image .container-soprascrittaimmagine{
    width: 100%;
}
.container-sottoscrittaimmagine{
    margin-top: -30px;
    padding-bottom: 20px;
}

.scritta-immagine{
    z-index: 33;
    background: #b61d0d;
    font-weight: 600;
    display: inline-block;
    padding: 8px 30px;
    color: white;
    border: 2px solid white;
    line-height: 1.3;
    text-align: center;
}
.silvfull-width{
    width: 100%;
}

.container-wrapimagetext{
    position:relative;
}

.container-wrapimagetext img{
    width:100%;
}
.container-wrapimagetext > div{
    z-index: 33;
    margin-bottom: 0;
    background: #b61d0d;
    font-weight: 600;
    display: inline-block;
    padding: 8px 10px;
    color: white;
    border: 2px solid white;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.3;
    text-align: center;
}


.textarticle-image{
    position: relative;
    display: inline-block;
}

.textarticle-image .container-sottoscrittaimmagine{
    margin-top: -6px;
}
.gallery-icon .textarticle-image .container-sottoscrittaimmagine{
    margin-top: -9px;
}

.textarticle-image img{
    width: 100%;
}
.textarticle-image.text-center{
    text-align: center;
}

.wrap-alignright{
    text-align: right;
}
.wrap-alignleft{
    text-align: left;
}
.wrap-aligncenter{
    text-align: center;
}

.ehf-header #masthead{
    max-width: 100vw;
}

.respondbtn{
    text-align: right;
    margin-top: 20px;
    margin-bottom: -30px;
    a{
        color:white;
        background: #972821;
        font-weight: bold;
        font-size: 14px;
        padding: 7px 20px;
        display: inline-block;
    }
}

#searchajaxheader{
    display: none;
    position: absolute;
    z-index: 9999999;
    right: 0;
    min-width: 280px;
    bottom: -100%;
    @media (max-width: 767px) {
        right: -130px;
    }
}

#searchajaxheader.showsearch{
    display: block;
}

.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown:not(.menu-is-active){
    display: none!important;
}
.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown.opacity{
    opacity: 0;
}

@media (max-width: 767px) {
    .hfe-nav-menu li a{
        padding-left: 10px!important;
    }
}