/*
Theme Name: TheGem Elementor Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem-elementor
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

/* Abstände Startseite */
.home .block-content {
    padding-top: 20px !important;
}

.header-style-1 #primary-menu.no-responsive>li.menu-item-current>a,
.header-style-1 #primary-menu.no-responsive>li.menu-item-active>a {
    border-bottom: 4px solid transparent;
}
.header-style-1 .minisearch .sf-input{
    background-color: #000000;
    color: #ffffff;
}
#primary-menu.no-responsive > li > a {
    text-transform: uppercase !important;
}
.widget-title:after{
    display: none;
}
.widget_media_image a{
    position: relative;
    display: block;
    padding: 5px;
    background: #f0f3f2;
}
.widget_media_image a img{
    width: 100%;
    height: auto;
}
.widget .yikes-mailchimp-container{
    padding: 35px 25px 25px 25px;
    background: #f5f9fa;
}
.widget .yikes-mailchimp-form-description{
    color: #5f727f;
}
.widget .yikes-easy-mc-form{
    margin-top: 25px;
}
body .widget .tagcloud a {
    border: 1px solid #a2a7ab;
}
.site-footer .mc-form {
    margin-top: 0;
}
.site-footer .widget_text ul li,
#colophon .Custom_Recent_Posts .gem-pp-posts {
    border-bottom: 1px solid #444444;
}

.footer-form .form-line{
    margin-bottom:  15px;
}
.footer-form .gem-button-position-left{
    width: 100%;
}
.footer-form .form-line.button input{
    width: 100%;
    border: 2px solid  #ec2d2f !important;
    background: #ec2d2f !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    line-height: 36px !important;
    padding: 0 !important;
}
.footer-form .form-line.button input:hover{
    background: #ffffff !important;
    color: #000000 !important;
    border:2px solid #ffffff !important;
}
.page-title-block {
    background-color: #dfe5e8;
}
.wp-block-image figcaption {
    font-style: italic;
}

@media only screen and (min-width: 600px) and (max-width: 1220px) {
    .gem-news-item-left .gem-news-item-image {
        display: none;
    }
}

/* local fonts */
@font-face {
    font-family: 'Cormorant Garamond Regular';
    src: url('./fonts/cormorant-garamond-v16-latin-regular.woff') format('woff'),
    url('./fonts/cormorant-garamond-v16-latin-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Cormorant Garamond 700';
    src: url('./fonts/cormorant-garamond-v16-latin-700.woff') format('woff'),
    url('./fonts/cormorant-garamond-v16-latin-700.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Cormorant Garamond 300';
    src: url('./fonts/cormorant-garamond-v16-latin-300.woff') format('woff'),
    url('./fonts/cormorant-garamond-v16-latin-300.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Cormorant Garamond 500';
    src: url('./fonts/cormorant-garamond-v16-latin-500.woff') format('woff'),
    url('./fonts/cormorant-garamond-v16-latin-500.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat Regular';
    src: url('./fonts/montserrat-v25-latin-regular.woff') format('woff'),
    url('./fonts/montserrat-v25-latin-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat UltraLight';
    src: url('../thegem-elementor/fonts/montserrat-ultralight.woff') format('woff'),
    url('../thegem-elementor/fonts/montserrat-ultralight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Kategorieseiten Teaser */
.archive .blog .post-image {
    float: left;
    margin-bottom: 30px;
}

.archive .blog .post-meta {
    clear: left;
}

.archive .blog .post-title h3 {
    margin-bottom: 15px;
    margin-top: -5px;
}

.archive .blog .post-title h2 {
    margin-bottom: 10px;
    margin-top: -10px;
}

/* Archiv */
.version-default.news-grid .portfolio-item .image .links .caption .slide-content-hidden .author .author-avatar img {
    height: 40px;
    width: 40px;
}
.version-default.news-grid .portfolio-item .image .links .caption .slide-content-hidden .author > * {
    vertical-align: middle;
	/*font-size: 18px;*/
}

.portfolio-grid .slide-content-hidden .author-name > a {
    color: currentColor;
    font-size: 18px;
}

/* Transparenz des Sticky Headers */
#site-header.fixed.shrink .top-area-background:before,
#site-header.fixed.shrink .header-background:before {
    opacity: 1 !important;
}

/* Bildunterschrift */
figcaption {
    font-size: 16px;
    font-style: italic;
}

/* Breite der Navigation */
@media screen and (min-width: 1000px) and (max-width: 1300px) {
    .header-main {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* Weißraumanpassung nach #86838 und #86832*/
.block-content {
    padding: 50px !important;
}
@media screen and (max-width: 1000px) {
    .block-content {
        padding: 30px !important;
    }
}
@media screen and (max-width: 500px) {
    .block-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Abgrenzung Teasertexte nach #86819 */
.gem-news_title-excerpt {
    max-height: 3.8em;
    overflow: hidden;
}

.gem-compact-item-content {
    max-height: 5.8em !important;
}

.gem-compact-item-content::after,  .gem-compact-item-content:after {
    box-shadow: none !important;
}


/* fix sticky label nach #101559 */
body.search div.sticky-label {
    display:none
}
body.search article.sticky {
    position:relative !important
}

/* image wrapper refs #86837 */
div.three-column-blog-image {
    margin: 10px 10px 20px;
}

/* hero image overlay on smaller screens refs #86829 */
div.gem-featured-posts-slide-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 70%) !important;
}

@media screen and (max-width: 1000px) {
    div.gem-featured-posts-slide-overlay {
        background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 60%) !important;
    }
}

@media screen and (max-width: 500px) {
    div.gem-featured-posts-slide-overlay {
        background: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 50%) !important;
    }
}

.gem-featured-post-btn-box a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.three-column-blog-image a::before, .gem-featured-post-btn-box a {
    opacity: 0;
    content: '';
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: top 0.4s, opacity 0.4s, transform 0s 0.4s;
}
.three-column-blog-image a::after, .gem-featured-post-btn-box a::after {
    background-color: #3c3950;
    color: #ffffff;

    content: '\e628';
    border-radius: 50%;
    font-size: 16px;
    top: 150%;
    margin-top: -24px;
    margin-left: -24px;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: top 0.4s, opacity 0.4s, -webkit-transform 0s 0.4s;
    transition: top 0.4s, opacity 0.4s, transform 0s 0.4s;

    font-family: 'thegem-icons';
    font-weight: normal;
    font-style: normal;
    height: 48px;
    line-height: 48px;
    width: 48px;
    text-align: center;
    position: absolute;
    left: 50%;
    z-index: 5;
}
.three-column-blog-image a:hover::before, .gem-featured-post-btn-box a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.three-column-blog-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.three-column-blog-image a:hover::after, .gem-featured-post-btn-box a:hover::after {
    opacity: 1;
    transform: scale(1);
    transition: top 0s, opacity 0.4s, transform 0.4s;
    top: 50%;
}

.search-result-image {
    display: flex;
    justify-content: center;
}

.search-result-image img {
    max-height: 250px;
    object-fit: cover;
    object-position: top;
}

.search-results #page-title {
    background-color: #dfe5e8;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.search-results div.page-title-title {
    background-color: #dfe5e8;
    padding: 0 !important;
}
