/*
 * Override Handelskraft styles and set labs style.
 */

body {
    background: #f1f1f1 url(../images/bg_pattern.jpg) no-repeat top center !important;
    background-attachment: fixed !important;
}

/**
 * Typo Changes
 */
h1,
h2,
h3,
h4,
.h1,
.entry-title,
.h2,
.comments-title,
.comment-reply-title,
.h3 {
    font-family: "DINWeb Condensed", Arial;
    font-weight: bold;
}

h1,
.h1 {
    font-size: 30px;
    line-height: 36px;
}

h2,
.h2 {
    font-size: 20px;
    line-height: 24px;
}

h3,
.h3 {
    font-size: 18px;
    line-height: 25px;
}

h4,
.h4 {
    font-size: 16px;
    line-height: 24px;
}

/**
 * Header Styles
 */
.header-image a img {
    width: 420px;
    height: auto;
}

.header-page-links a {
    color: #000;
}

.header-page-links a:hover,
.header-page-links a:focus {
    background: #97bf0d;
}

.header-social-links a {
    color: #000;
}

.header-social-links a .icon-linkedin::before { background-image: url(../../images/linkedin-black.svg); }
.header-social-links a .icon-spotify::before { background-image: url(../../images/spotify-black.svg); }
.header-social-links a .icon-apple-podcast::before { background-image: url(../../images/applepodcasts-black.svg); }

/**
 * Post/Pages
 */
.entry-title {
    font-size: 30px;
    line-height: 36px;
}

.entry-title a {
    color: #648213;
}

.entry-title a:focus,
.entry-title a:hover {
    color: #648213;
}

.entry-meta {
    color: #000;
}

.comments-counter:focus, .comments-counter:hover {
    color: #97bf0d;
}

.tag,
.widget_categories li a,
.cat-links a {
    border: 1px solid #97bf0d;
    background-color: transparent;
    color: #648213;
}

.tag:hover, .tag:focus,
.widget_categories li a:hover, .widget_categories li a:focus,
.cat-links a:hover, .cat-links a:focus {
    background-color: #97bf0d;
    color: #fff;
}

.home .interaction-row {
    margin: 10px 0;
}

/**
 * Button Style
 */
.btn.btn-special {
    background: #97bf0d;
}

.btn.btn-special::before {
    background-image: radial-gradient(circle closest-side, #83a70f, transparent);
}

/**
 * Link Styles
 */
.link-underline, .wpp-list a, #recentcomments a, .site-content .widget.widget_links ul > li > a:not(.shutterset), .site-content .widget.widget_nav_menu ul a, .entry-content a, .single .byline a, .group-blog .byline a, .comment-content a, footer section.widget_nav_menu a {
    background-image: linear-gradient(to top, #97bf0d 50%, transparent 50%);
}

a[href $=".pdf"] {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 13px 20px;
    background: #97bf0d;
    border: none;
    color: white;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    border-radius: 20px;
}

a[href $=".pdf"] > * {
    position: relative;
    pointer-events: none;
}

a[href $=".pdf"]::before {
    --size: 200px;
    content: "";
    position: absolute;
    left: calc(-1 * var(--size) / 2);
    top: calc(-1 * var(--size) / 2);
    width: 0;
    height: 0;
    max-width: 0;
    max-height: 0;
    background-image: radial-gradient(circle closest-side, #83a70f, transparent);
    transition: max-width 0.25s linear, max-height 0.25s linear;
    -webkit-transform: translate(var(--x), var(--y));
    transform: translate(var(--x), var(--y));
}

a[href $=".pdf"]:hover {
    color: #fff;
}

a[href $=".pdf"]:hover::before {
    --size: 200px;
    width: var(--size);
    height: var(--size);
    max-width: var(--size);
    max-height: var(--size);
}

a[href $=".pdf"] span::after {
    position: relative;
    right: -5px;
    top: -1px;
    font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\E900";
}

/*
 * Special Elements
 */

.to-top {
    background: #1a85cd;
}

.to-top:hover, .to-top:focus {
    background: #648213;
}

/*
 * Widgets/Sidebar
 */
.widget {
    background: #fff;
}

.widget .widget-title {
    font-family: "DINWeb", Arial;
    color: #000;
    font-size: 20px;
    font-weight: normal;
}

input[type="search"].search-field {
    border: 1px solid #97bf0d;
    /*font-size: 18px;*/
}

.search-submit {
    background: #97bf0d;
    color: #fff;
}

.search-submit:hover, .search-submit:focus {
    background: #648213;
}

@media (max-width: 1010px) {
    #secondary {
        background: #e4e4e4;
    }
}

/*
 * Footer
 */
.open-footer,
.close-footer {
    background: #1a85cd;
    font-family: "DINWeb", Arial;
    font-size: 18px;
}

.open-footer:hover, .open-footer:focus,
.close-footer:hover, .close-footer:focus {
    background: #648213;
}

footer .widget-title {
    font-weight: normal;
}

footer .content {
    max-width: 1000px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
}

@media(max-width: 940px) {
    footer .content {
        flex-wrap: wrap;
    }
}

@media(max-width: 940px) {
    footer .content > .content-left {
        flex: 1 1 100%;
    }
}

@media(max-width: 940px) {
    footer .content > .content-right {
        flex: 1 1 100%;
    }
}

@media(max-width: 940px) {
    footer .content > .content-right .social-icons {
        margin: 0;
    }
}

footer .copyright {
    background: #97bf0d;
    color: #000;
}

footer .content > .content-right .social-icons > a {
    background: #ccc;
    color: #fff;
}

footer .content .menu .spacer {
    display: none;
}

.partner-logos .alignleft,
.partner-logos .alignright {
    float: none;
    margin: 0;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
}

.partner-logos a {
    background-image: none;
    margin: 0 auto 40px auto;
}

.to-startpage {
    background: #1a85cd;
}

.to-startpage:hover, .to-startpage:focus {
    background: #648213;
    color: #ffffff;
}

.style-select {
    border: 1px solid #97bf0d;
}

.style-select > .open-select {
    height: 38px !important;
}

footer .content > .content-right .social-icons > a {
    display: inline-flex!important;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

footer .social-icons a .icon-linkedin::before { background-image: url(../../images/linkedin-white.svg); }
footer .social-icons a .icon-spotify::before { background-image: url(../../images/spotify-white.svg); }
footer .social-icons a .icon-apple-podcast::before { background-image: url(../../images/applepodcasts-white.svg); }
