/* 
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
*/

/* alegreya-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* alegreya-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* alegreya-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* alegreya-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/hello-theme-child-master/fonts/alegreya-sans-v24-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



body {
    font-family: 'Alegreya Sans';
    font-weight: 400;
    font-size: 1.3rem;
}

h3 {
    font-size: 1.5rem;
    color: #958149;
    font-weight: 400;
}

.page-content a,
footer a {
  text-decoration: none;
  font-style: italic;
  font-weight: 500;
}
.page-content a:hover,
footer a:hover {
  color: #958149;
}


.wp-caption {
    position: relative;
}

.wp-caption .wp-caption-text {
    background-color: rgba(248, 245, 238, 0.8);
    text-align: left;
    font-size: 1.8rem;
    color: #958149;
    font-style: normal;
    text-transform: uppercase;
    padding: 0.5rem;
    }

@media only screen and (min-width: 767px) {
  .wp-caption .wp-caption-text {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: rgba(248, 245, 238, 0.9);
    text-align: left;
    font-size: 2.5rem;
    color: #958149;
    text-transform: uppercase;
    font-style: normal;
    padding: 1rem 1.5rem 1rem 4rem;
    }
}

.seitenbild {
    border-left: solid 15px #bb9a5b;
    margin-left: -15px;
    margin-top: -1px;
}
header {
    border-left: solid 15px #223c58;
}
main {
    border-left: solid 15px #e2e2e2;
}

header ul.hfe-nav-menu {
    padding: 0.5rem 0;
    border-top: solid 1px #958149;
    border-bottom: solid 1px #958149;
    margin-bottom: 1rem;
}


/* Main Menu */
nav .hfe-nav-menu > li.parent.current-menu-item a:after, nav .hfe-nav-menu > li.current-menu-parent .hfe-has-submenu-container a:after {
    position:absolute;
    content:" ";
    bottom:-9px;
    right:0;
    height:5px;
    background-color:black;
    width:100%;
    opacity: 1 !important;
}
.hfe-nav-menu .menu-item-has-children .sub-menu {
    margin-top: 10px;
}
.elementor-22 .main_nav .elementor-element.elementor-element-47c0576 {
    width: 100%;
}
.elementor-22 .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding-left: 0;
    padding-right: 0;
}

nav .hfe-nav-menu li > ul.sub-menu > li.menu-item > a.hfe-sub-menu-item:hover {
    color: #fff;
    background-color: #958149;
}

nav .hfe-nav-menu li > ul.sub-menu > li.menu-item > a.hfe-sub-menu-item.hfe-sub-menu-item-active {
    color: #fff;
    background-color: #958149;
}




.hfe-menu-item {
    font-size: 1.3rem;
    text-transform: uppercase;
}



.hfe-nav-menu-icon {
  border: 1px solid #223c58;
  border-radius: 5px;
}



/* Aktuelle Meldungen Box */

.aktuelle_meldungen {
    padding-bottom: 2rem;
}
.aktuelle_meldungen .elementor-widget-text-editor {
    background-color: #fbf9f6;
    padding: 2rem 2rem 1rem 2rem;
    margin-top: 1rem;
}
.aktuelle_meldungen h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #958149;
}


.wpcf7 form.sent .wpcf7-response-output {
  border-color: #223c58;
}



/* Sprechzeiten Liste */
.zeiten_liste ul {
    margin:0;
    padding:0;
    font-size: 0.9em
}
.zeiten_liste ul li {
    list-style-type: none;
    margin-bottom: 0;
}
.zeiten_liste ul strong  {
    display: block;
    margin-bottom: -0.5rem;
}

.zeiten_liste ul em {
    display: inline-block;
    font-style: normal;
}
.zeiten_liste ul strong + em {
    padding-right: 1rem;
}




@media only screen and (max-width: 767px) {
    .elementor-widget-polylang-language-switcher {
        width: 65% !important;
        margin-top: 0.4rem;
        margin-left: 0.5rem;
    }
    .cpel-switcher__list li:last-child {
        /*border-left: solid 2px #999;*/
        margin-left: 5px
    }
    .cpel-switcher__code {
        padding-left: 5px !important;
    }
    .hfe-nav-menu-icon {
        margin: 0.1rem 0 0 1rem;
    }
    /* Aktuelle Meldungen Box */
    .perz-col-width-20 {
        width: 0%
    }
    .perz-col-width-60 {
        width: 100%;
    }
    .seitenbild .elementor-image picture img {
        height: auto !important;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .elementor-22 .elementor-element.elementor-element-073fe5e .menu-item a.hfe-menu-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .elementor-22 .elementor-element.elementor-element-073fe5e nav .hfe-nav-menu li > ul.sub-menu > li.menu-item > a.hfe-sub-menu-item.hfe-sub-menu-item-active {
        color: #fff;
        background-color: #958149;
    }
    .elementor-22 .elementor-element.elementor-element-073fe5e nav .hfe-nav-menu li > ul.sub-menu > li.menu-item > a.hfe-sub-menu-item:hover {
        color: #fff;
        background-color: #958149;
    }
    .gtranslate_wrapper {
        display: flex;
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 15px;

    }
    .glink img {
        width: 40px;
    }




}

@media only screen and (min-width: 768px) {
    .cpel-switcher__list li:last-child {
        /*border-left: solid 2px #999;*/
        margin-left: 10px
    }
    /* Aktuelle Meldungen Box */
    .perz-col-width-20 {
        width: 19.5%
    }
    .perz-col-width-60 {
        width: 59%;
    }

     .gtranslate_wrapper {
        display: flex;
        justify-content: flex-end;
    }
    .glink {
        padding-left: 0.5rem;
    }
}

.cpel-switcher__lang--active a span {
    font-weight: bold;
}



/* Vita */
.vita_liste ul {
    list-style-type: none;
    padding: 0;
}

.vita_liste ul li strong {
    font-weight: normal;
    color: #958149;
}
.vita_liste ul li {
    margin-bottom: 1rem;
}



/* Icon Liste */
.page-content .elementor-icon-list-item a  {
    text-decoration: none;
}
.page-content .elementor-icon-list-item a .elementor-icon-list-text  {
    text-decoration: underline;
}


/* Sprachen */

.gt-current-lang {
    display: none;
}



.back-to-top {
 background:#223C58;
 position: fixed;
 bottom:20px;
 right:20px;
 padding:10px;
 z-index: 999;
}

a.back-to-top {
color: white;
text-decoration: none;
}

footer {
    background-image: url('/wp-content/themes/hello-theme-child-master/images/wirbel.gif');
    background-repeat: no-repeat;
    background-position: right 20px bottom 50%;
    background-size: 300px 300px;
    border-top: solid 1px #BB9A5B;
}