.header-logo{
    position: absolute;
    top: 5%;
    right: 10%;
    z-index: 999;
}

html{
    margin-top: 0px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body b,body strong{
    font-weight: 800;
}

.site-branding a .custom-logo{
    display: none;
}

a.back-to-overview{
    color: #000;
}

a.back-to-overview:hover{
    color: #87bb2b;
}

.header-social-nav{
    position: absolute;
    top: 5%;
    left: 10%;
    z-index: 999;
    display: none;
}

.header-background-image{
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center center;
}


body .shariff a{
    position: relative;
    display: block !important;
    height: 35px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    background-image: none !important;
    box-shadow: 0px 0px 0px rgba(0,0,0,0) !important;
}

.shariff ul{
    display: flex;
    flex-direction : row;
    flex-flow: row wrap;
    padding: 0 !important;
    margin: 0 !important;
}

.shariff li{
    width: 130px;
    height: 35px;
    box-sizing: border-box;
    list-style-type: none !important;
    list-style-image: none !important;
    overflow: hidden !important;
    margin: 5px !important;
    padding: 0 !important;
    text-indent: 0 !important;
    border-left: 0 !important;
}

.shariff .shariff-icon svg{
    width: 32px;
    height: 20px;
    padding: 7px 1px;
    box-sizing: content-box;
    fill: #fff;
}

.shariff .shariff-text{
    padding-left: 3px;
    line-height: 36px;
    vertical-align: top;
    display: inline;

}

body .site-footer .widget-column img{
    max-width: 300px;
    width: 100%;
    height: auto;
    display: inline-block;
    margin: 0 auto;
}

body .site-footer .wrap{
    padding-top: 0px;
    padding-bottom: 0px;
}

.header-social-nav ul{
    margin: 0px;
    padding: 0px;
}

.header-social-nav a svg{
    fill: #fff;
    width: 100%;
    height: 30px;
    display: block;
}

.header-social-nav li{
    display: inline-block;
    width: 50px;
    height: 50px;
}

.header-social-nav li a{
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: .5em;
}

article.page .entry-content{
    width: 100%;
    float: none;
}

.header-logo img{
    width: 250px;
    height: auto;
}

body .site-info{
    width: 100%;
}

body .site-info .copyright{
    text-align: center;
}



body .site-info .bottom-socials{
    text-align: center;
}

body .site-info .bottom-socials ul{
    display: block;
    margin: 0px;
    padding: 0px;
}

body .site-info .bottom-socials ul li{
    display: inline-block;
    width: auto;
}

body .site-info .bottom-socials ul li a{
    display: inline-block;
    width: 2em;
    height: auto;
}

body .site-info .bottom-socials ul li a svg{
    fill: #000;

}

body .wrap{
    max-width: 1920px;
    padding-left: 0px;
    padding-right: 0px;
}

body .site-content{
    padding-top: 0px;
}

body.has-sidebar #secondary{
    background: #cccccc;
    color: #000;
}


body.single-post #secondary{
    display: none;
}

body.single-post.has-sidebar #primary{
    width: 100%;
    float: none;
    padding: 5% 10%;
}

body.single-post .custom-header-media video{
    height: auto;
}

body.page .custom-header-media video{
    height: auto;
}

body.has-sidebar #secondary .widget {
    padding: 5% 10% 5% 10%;
}

body.has-sidebar #secondary .widget.page-info-widget {
    padding-top: 10%;
    padding-bottom: 20%;
    background: #87bb2b;
    color: #fff;
}

body.has-sidebar #secondary .widget.page-info-widget h2.widget-title{
    color: #fff;
    font-size: 1.5em;
}

body.has-sidebar #secondary .widget.page-info-widget  a{
    color: #fff;
}

body.has-sidebar #secondary .widget.page-info-widget + .widget{
    padding-top: 20%;
}



body.has-sidebar #secondary a{
    color: #000;
    text-decoration: none;
    box-shadow: none;
}

body #primary{
    padding: 5% 5% 10% 10%;
}

body .site-footer{
    padding: 0px 10% 5% 10%;

}

body .site-branding{
    padding: 5% 10%;
    padding-top: 10%;
}

body .site-header{
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

body.has-header-image .custom-header-media img,
body.has-header-video .custom-header-media video,
body.has-header-image:not(.twentyseventeen-front-page):not(.home)
body .custom-header-media img{
    position: absolute;
    height: 650px;
    min-height: 650px;
    max-height: 650px;
}


h3.entry-title{
    font-size: 3em;
}

body .home_articles_list{
    background: #efefef;
    padding: 5% 10%;    
}

body .home_articles_list article{
    background: #fff;
    padding: 2em;
    margin-top: 2em;
}


body a.more-link{
    color: #87bb2b;
}

@media all and (min-width: 900px) {



    .site-branding a .custom-logo{
        display: block;
    }


    .header-background-image{

        height: 400px;

    }

    body .site-info{
        position: relative;
        height: 2em;
    }

    body .site-footer .widget-area{
        display: table;
        width: 100%;
    }

    body .site-footer{
        margin-top: 0px;
    }

    body .site-footer .widget-column.footer-widget-1,
    body .site-footer .widget-column.footer-widget-2,
    body .site-footer .widget-column.footer-widget-3{
        display: table-cell;
        float: none;
        padding: 3em;
        vertical-align: bottom;
        width: 33.3%;
    }

    body .site-footer .widget-column.footer-widget-1{
        padding-left: 0px;
    }


    body .site-footer .widget-column.footer-widget-3{
        padding-right: 0px;
    }


    body .site-footer .widget-column p{

            margin-bottom: 0px;

    }




    body .site-info .copyright{
        position: absolute;
        left: 0px;
        top: 1em;
    }

    body .site-info .bottom-socials{
        position: absolute;
        right: 0px;
    }








    .single-post .entry-title{
        font-size: 3em;
    }

    .two-cols{
        display: table;
        width: 100%;
    }

    .two-cols .col{
        display: table-cell;
        width: 50%;
        padding: 1em;
        vertical-align: top;
    }


    .two-cols.s33-66 .col.first-col{
        width: 33%;
    }

    .home_articles_list .two-cols.s33-66 .col.first-col{
        width: auto;
        max-width: 300px;
        min-width: 200px;

    }

    .home_articles_list .two-cols.s33-66 .col.first-col a{
        display: block;
    }

    .home_articles_list .two-cols.s33-66 .col.first-col img{
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .home_articles_list .two-cols.s33-66 .col.last-col{
        width: auto;
    }




    .two-cols.s75-25 .col.last-col{
        width: 25%;
        padding-right: 0px;
    }

    .two-cols.s75-25 .col.first-col{
        padding-left:  0px;
    }

}

body.page:not(.home) #content{
    padding-bottom: 0px !important;
}

.newsletter-subscription{
    background: #87bb2b;
    color: #fff;
}
.newsletter-subscription .two-cols .col.first-col{
    padding: 5% 5% 5% 10%;
}

.newsletter-subscription .two-cols .col.last-col{
    padding: 5% 10% 5% 5%;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.custom-header-media{
    position: relative;
}


#wp-custom-header-container{
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;

    &.bottom{
        background-position: center bottom;
    }

     &.top{
          background-position: center top;
     }

}

.custom-header-media video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    max-width: inherit;
    max-height: inherit;
    transform: translate3d(-50%, -50%, 0);
}

@media all and (min-width: 762px) {
    .header-social-nav{
        display: block;
    }

    body.has-sidebar .wrap{
        display: table;
        width: 100%;
        height: 100%;
    }

    body.has-sidebar .wrap #primary{
        display: table-cell;
        width: 70%;
        height: 100%;
        float: none;
    }

    body.has-sidebar .wrap #secondary{
        display: table-cell;
        width: 30%;
        height: 100%;
        float: none;
    }

}



@media all and (min-width: 1160px) {

    body.single-post .entry-title{
        font-size: 3em;
    }
    .custom-header-media video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: auto;
        min-height: 100%;
        min-width: 100%;
        transform: translate3d(-50%, -50%, 0);
    }
    .custom-header-media video.bottom {
        transform: translate3d(-50%, 0, 0);
        bottom: 0px;
        top: auto;
    }
}