/*
 Theme Name:   Hepta Child
 Theme URI:    http://keenitsolutions.com/products/wordpress/hepta/
 Description:  Hepta Child
 Author:       RS Theme
 Author URI:   http://rstheme.com
 Template:     hepta
 Version:      2.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

 /*----------------------------------
 General Theme Styling and correction
 -----------------------------------*/

body {
    line-height: 26px;
}

.rs-blog .blog-meta .blog-title {
    text-transform: none;
}

input[type="date"] {
    height: 45px;
    padding: 10px 18px;
}

.single-teams .ps-informations {
    padding-right: 20px;
}

.ps-informations-values {
    width: inherit !important;
    min-width: 250px;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.single-post .bs-img img {
    margin-bottom: 0;
}

.single-post .bs-img {
    margin-bottom: 30px;
    font-style: italic;
    font-size: 12px;
}

.fa-youtube-square:before {
    content: "\f431";
}

.rs-heading h2 span.watermark{
    width: unset;
}

/* Employee List */

.employee-list-excerpt {
    margin-top: 10px !important;
    font-style: oblique;
}

.employee-list-email a{
    color: inherit;
}

.employee-list-email a:hover {
    color: #4d6de6;
}

ul.employee-letter-naviation {
    float: left;
    width: 100%;
    margin: 0 0 50px 0;
}

ul.employee-letter-naviation > li.letter-item {
    float: left;
    list-style-type: none;
    width: 7.6926%;
}


ul.employee-letter-naviation > li.letter-item > a {
display: block;
    background-color: #dddddd;
    color: #000;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    font-weight: bolder;
}

.employee-letter{
    font-size: 20px;
    font-weight: 600;
    /* padding-left: 50%; */
    display: inline-block;
    width: 100%;
    /* background: #dddddd; */
    padding: 0 0 5px 0px;
    border-bottom: 3px solid;
    border-bottom-color: #dddddd;
    color: #000;
}

.employee-item{
  border-top: none !important;
}


.employee-team-categories{
    margin: 10px 0 30px 0;
}

.employee-team-categories span{
    display: inline-block;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: #dddddd;
    padding: 5px 7.5px;
    margin: 5px 5px 5px 0;
}

/* WP Bakery Element "Rs Team Showcase" team item frontend */
.team-gird .team-style1 .team-item .normal-text {
    height: 120px;
}


/*---------------
Search and Filter
----------------*/

.searchandfilter ul {
    margin: initial;
}

.searchandfilter ul li ul {
    margin: 9.5px;
}

/*------------
Contact Form 7
-------------*/

.wpcf7-form-control.wpcf7-textarea {
    min-height: 150px;
}

span.wpcf7-not-valid-tip {
    margin-top: -20px;
}

/* Hiding Google recaptcha badge */

.grecaptcha-badge {
    opacity: 0;
}

/*---------
Breadcrumbs 
----------*/

 /* fixing bug in mobile between default stylesheet and breadcrumb plugin */

 .rs-breadcrumbs .breadcrumbs-inner {
    overflow: initial;
}
.rs-breadcrumbs:before {
    opacity: 0.1;
}

/* Overwriting hover colors for bc navigation of hepta default stylesheet */

body .rs-breadcrumbs .breadcrumbs-inner span:hover a,
body .rs-breadcrumbs .breadcrumbs-inner span:hover a:after,
body .rs-breadcrumbs .breadcrumbs-inner span:hover a span,
body .rs-breadcrumbs .breadcrumbs-inner span:hover a span:before,
body .rs-breadcrumbs .breadcrumbs-inner span:hover a span:after
{
    color: #fff;
}

/*---------
Header Menu 
----------*/

/* Centering Menu-Items */

.menu-area .navbar ul li > a {
    line-height: 100px;
}

.menu-area {
    padding: 0; 
}

@media only screen and (max-width: 991px) {
    #rs-header .logo-area {
        line-height: 35px;
        position: relative;
    }
}

/* Fixing jumping content to top by scrolling down */

.menu-sticky {
    height: 100px;
    position: absolute;
    background: #fff;
}

.forcefullwidth_wrapper_tp_banner{
    padding-top: 100px;
}

.rs-breadcrumbs{
    padding-top: 100px;
}

/* Bugfixing Mobile Menu */
 
/* Centering Mobile Menu Icon */
@media only screen and (max-width: 1220px) {
    .header-style-5 .mobile-menu-link {
        top: 50px;
        padding-right: 15px;
    }
}

/* Sticky Header for mobile view */
@media only screen and (max-width: 480px) {
    #rs-header .menu-sticky.sticky {
        position: fixed !important;
    }
}

/* better navigation and look and feel on mobile devices, if menu fits the whole screen */
@media only screen and (max-width: 480px){
    .sidenav {
        width: 100%;
    }
}

/* transition plus another animation on .menu-sticky.sticky causes box-shadow-bug on mobile browsers */
.menu-sticky {
  transition: inherit;
}

/* Centering logo */

.menu-area.desktop-menu .col-md-2{
    text-align: center;
} 

#rs-header .logo-area {
    float: none;
    margin-right: 0px;
    /* padding-left: 15px; */
}

/* positioning search icon and form for desktop and mobile menu */

.sticky_search i.fa-search {
    position: absolute;
    padding-top: 42px;
    cursor: pointer;
    z-index: 99999;
}

.mobile-menu .sidebarmenu-search.text-right {
    position: absolute;
    right: 65px;
    top: -1.2px;
}

.bs-search {
    overflow: initial;
}

.sticky_form {
    position: relative;
}

.mobile-menu .sticky_form {
    top: 61px;
    z-index: 99;
}

/* Bugfixing Mobile Menu */
 
/* Centering Mobile Menu Icon */
/*@media only screen and (max-width: 1220px) {
    .header-style-5 .mobile-menu-link {
        top: 50px;
        padding-right: 15px;
    }
}*/

/* Hamburger Menu Color = Text Color */

.nav-link-container .nav-menu-link span {
    background: #666666;
 }


/*----------------
Nav Menu 3rd level
-----------------*/

.widget_nav_menu ul.menu {
    margin: 0;
    max-width: 525px;
    font-style: 800;
    list-style: none;
}

.widget_nav_menu .menu-item a {
    display: block;
    position: relative;
    padding: .6em 1.2em;
    border-width: 1px 0 0!important;
    border-style: solid;
    color: inherit;
    border-color: #eee;
}

.widget_nav_menu .menu-item a[aria-current="page"] {
    background-color: #dd3333;
    color: #fff !important;
    border: none;
}

/*---------------------------
Sidebar Veranstaltungsformate
----------------------------*/

.container-sidebar-vf{
    margin-bottom: 50px;
}

.container-sidebar-vf h2.widgettitle{
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.container-sidebar-vf figure{
    margin: auto !important;
}

.wp-caption-text h5{
    margin-top: 20px;
}

/*-------------
Events Calendar 
--------------*/

:root{
    --tec-color-accent-primary: #dd3333;
    --tec-color-link-accent-hover: #222222;
}

button.tribe-common-c-btn.tribe-events-c-search__button {
    border-radius: 0px;
    background-color: #dd3333;
    margin-right: 10px;
}

@media(max-width: 991px) {
    .tribe-events .tribe-events-c-events-bar__search-container {
        background-color: var(--tec-color-background-events-bar);
        border: 1px solid #d5d5d5;
    }
}

button.tribe-common-c-btn.tribe-events-c-search__button:hover,
button.tribe-common-c-btn.tribe-events-c-search__button:focus {
    background-color: #dd3333;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container {
    padding-left: 0px;
    padding-right: 0px;
}

.tribe-common .tribe-common-anchor-thin:active, .tribe-common .tribe-common-anchor-thin:focus, .tribe-common .tribe-common-anchor-thin:hover {
    border-bottom: 0px;
}

.tribe-common .tribe-common-anchor-thin {
    border-bottom: 0px; 
    transition: none; 
}

.tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events-calendar-list__event-venue,
.tribe-events-calendar-list__event-description {
    font-family: 'Roboto', sans-serif !important;
}



#tribe-events-pg-template {
    max-width: unset;
}

.tribe-events-content {
    color: #666666;
    font-family: inherit;
}

.tribe-events-content p,
.tribe-events-content ol,
.tribe-events-content ul{
    font-size: 15px;
    color: #666666;
}

.tribe-events-content a {
    border-bottom: 0px; 
}

.tribe-events-content a:active, 
.tribe-events-content a:focus, 
.tribe-events-content a:hover {
    border-bottom: 0px;
}

.tribe-events-content a {
    text-decoration: none;
}

.tribe-events-event-meta {
    width: 100% !important;
}

@media (min-width: 768px){
    .tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
        width: 100%; 
    }
}

.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 16px;
}

.tribe-events-meta-group.tribe-events-meta-group-venue {
    order: 0;
}

.tribe-events-venue-map {
    order: 0;
    flex: auto;
}

@media (min-width: 768px){
    .tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
        max-height: unset; 
    }
}

.tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
    max-height: unset;
}

.tribe-events-nav-next {
    text-align: right;
}

.tribe-events .tribe-events-c-search__button:focus, 
.tribe-events .tribe-events-c-search__button:hover, 
.tribe-events button.tribe-events-c-search__button:focus, 
.tribe-events button.tribe-events-c-search__button:hover {
    border-radius: 0;
} 



.tribe-events-calendar-list__event-row {
    margin: var(--tec-spacer-8) 0 !important;
    box-shadow: 0px 0px 15px -10px #222222;
    border-radius: 15px;
    padding: 2.5em !important;
}

/*.tribe-events-calendar-list__event-row {
    margin: var(--tec-spacer-8) 0 !important;
    border-radius: 4px;
    padding: 2.5em 1em !important;
    border: 1px solid #e3e3e3 !important
}*/



.tribe-common .tribe-common-l-container{
    padding-left: inherit !important;
    padding-right: inherit !important;
}

.tribe-events .tribe-events-calendar-list__event-title {
    margin-bottom: 0.9em !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
    width: fit-content !important;
}

.tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events-calendar-list__event-venue {
    line-height: 1.5rem !important;
}

span.chenext-event-list-icon {
    font-size: 40px;
    width: 1em;
    height: 1em;
    position: absolute;
    right: 30px;
    transform: translateY(-140%);
    display: flex;
    flex-direction: row-reverse;
    border-radius: 25px;
/*    box-shadow: 0px -13px 15px -16px #222222;*/
    padding: 7.5px !important;
    background: #ffffff;
    color: #E20019;
    border: 1px solid #E20019 !important;
}

.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events-calendar-series-archive__container
{
    vertical-align: top;
}

.tribe-events-calendar-list__event-venue-title,
.tribe-events-calendar-list__event-venue-address{
    vertical-align: top;
}


.tribe-events .tribe-events-calendar-series-archive__link:focus .tribe-events-series-archive__icon, 
.tribe-events .tribe-events-calendar-series-archive__link:hover .tribe-events-series-archive__icon
{
    color: unset !important;
}

.chenext-events-list-categories{
    display: flex;
}

.chenext-events-list-categories li a {
    display: inline-block;
    font-size: 0.8em;
    border-radius: 0px;
    border-style: solid;
    border-width: 1px;
    color: #ffff !important;
    border-color: #17477B;
    padding: 5px 7.5px;
    margin: 5px 5px 5px 0;
    color: #17477B !important;
}

.single-tribe_events .tribe-events-single .tribe-events-event-meta {
    box-shadow: 0px 0px 15px -10px #222222;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0.4rem 0.4rem 1rem;

/*    border-radius: 4px;
    border: 1px solid #e3e3e3 !important;*/
}

.tribe-events-event-meta:before, .tribe-events-event-meta~div:not(.tribe-events-event-meta,.event-tickets) {
    border-top: 0 !important;
}


@media (min-width: 768px) {
    .tribe-events-meta-group {
        padding: 0 !important; 
    }
}

#tribe-events-footer {
     border-top: 0 !important; 
}

.tribe-common a:not(.tribe-common-anchor--unstyle):active, 
.tribe-common a:not(.tribe-common-anchor--unstyle):focus, 
.tribe-common a:not(.tribe-common-anchor--unstyle):hover {
    color: #E20019 !important;
    transition: all 0.3s ease 0s;
}


/*--
RTEC
---*/

/* Registration form styling */

#rtec{
   min-width: initial;
   max-width: 600px;
   margin-bottom: 30px;
}

#rtec .rtec-form-field {
    margin-bottom: 15px;
}

.rtec-error-message{
   background: red !important;
}

#rtec .rtec-form-wrapper{
   background: #eeeeee !important;
   border: none !important;
}

#rtec label{
    font-size: .9rem;
    font-weight: 700;
}

.rtec-field-input select{
    padding: 8px;
}

#rtec .tribe-bar-toggle-arrow{
   top: 8px !important;
}

#rtec .rtec-register-button{
    border-radius: 25px;
    background: #dd3333;
    color: #fff;
    border: 2px solid #dd3333;
    padding: 0px 40px 0px 16px;
    line-height: 2.8;
}

#rtec .rtec-register-button:hover{ 
   color: #222222 !important;
   background: transparent !important;
}

#rtec input[type="text"],
#rtec select[type="select"]{
height: 40px;
    border: 1px solid #ddd;
    color: #444444;
    padding: 10px 17px;
    width: 100%;
    border-radius: 5px;
} 

#rtec input[type="submit"]{
    border-radius: 25px;
    background: #dd3333;
    color: #fff;
    border: 2px solid #dd3333;
    padding: 0px 16px 0px 16px;
    line-height: 2.8;
}

#rtec input[type="submit"]:hover{
   color: #222222 !important;
   background: transparent !important;
}

.rtec-last, .rtec-funktion, .rtec-e-mail-assistenz, .rtec-land{
    margin-bottom: 50px !important;
}

.rtec-input-wrapper a{
    font-size: 0.8rem;
}


/*-----------------------------------
The Events Calendar Shortcode & Block
------------------------------------*/

h2.ecs-event-title {
    /* hyphens */
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
   line-height: 0; 
}

h2.ecs-event-title a {
    font-size: 22px;
    color: #212121;
    margin: 0px 0 9px;
    font-weight: 600;
    line-height: 28px !important;
}

h2.ecs-event-title a:hover {
    color: #dd3333;
}

.time{
    font-weight: bold;
}


/*-------
Rapidmail
--------*/

#rm-email {
    color: #303745;
    width: 300px;
}

input#rm-email::placeholder {
    color: #808080;
    font-style: italic;
}

.rm-form-container input[type="submit"]{
    border: 2px solid #dd3333;
    border-radius: 25px;
}

#rmOrganism .rmPopup__container {
    z-index: 99999 !important;
}

button.rm-open-popup {
    border: 2px solid #dd3333;
    border-radius: 25px;
    background: #dd3333 !important;
    -webkit-appearance: button;
    cursor: pointer;
    color: #fff;
    padding: 9px 30px;
    font-size: 15px;
    text-transform: none;
    outline: none;
    transition: all .5s ease;
    line-height: normal;
}

a.rm-open-popup:hover {
    cursor: pointer;
}

/*----
Footer
-----*/

img.footer-logo {
    height: 80px;
}

/*--------------
Download Manager
---------------*/

.w3eden .badge {
    background: #777;
}

.rs-portfolio-style1 
.portfolio-item 
.p-title{
    font-size: 12px;
}

/*-----------------------------
CHE Kadence Block Post Carousel
-----------------------------*/
.che-post-carousel .splide__arrows.splide__arrows--ltr {
    position: relative;
}

.che-post-carousel .kb-splide .splide__arrow {
    transform: translateY(-120%);
    background: #e20019;

}

.che-post-carousel .kb-splide .splide__arrow--prev {
    left: unset;
    right: 2.5rem;
}

.che-post-carousel .kb-splide .splide__arrow--next {
    right: 0;
}

/*.che-post-carousel .entry-title {
    margin-bottom: 15px !important;
}*/

.che-post-carousel .kt-blocks-post-grid-item-inner {
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.che-post-carousel a {
    transition: all 0.3sease 0s;
}

/* Full width row */
.alignfull {
  margin: 0px calc(50% - 50vw);
/*  max-width: 100vw;
  width: 100vw;*/
}

.alignwide {
  margin: 0px calc(25% - 25vw);
}

.wp-container-id > * {
    max-width: 840px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/*-----------------------------
CHE Kadence Block Button (Adv)
-----------------------------*/
.che-button svg{
    transition: transform .2s ease-in, -webkit-transform .2s ease-in;
    transition-property: transform, -webkit-transform;
}

.che-button:hover svg{
    -webkit-transform: translate(25%, 0);
    transform: translate(25%, 0);
    transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.che-button .kb-svg-icon-wrap {
    display: inline-flex !important; 
}

/*-----------------------------
CHE Red Underscore on Headlines
------------------------------*/
.red-underscore:after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 88px;
    height: 2px;
    background: #DD3333;
}

.has-text-align-center.red-underscore:after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    top: auto;
    background: #DD3333;
}

/*-------------------------
CHE Underscore on Headlines
--------------------------*/
.che-underscore:after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 88px;
    height: 2px;
    background: #303745;
}

.has-text-align-center.che-underscore:after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    top: auto;
    background: #303745;
}

.che-underscore.blue:after{
    background: #17477B;
}

.has-text-align-center.che-underscore.blue:after {
    background: #17477B;
}

.che-underscore.red:after{
    background: #DD3333;
}

.has-text-align-red.che-underscore.red:after {
    background: #DD3333;
}

/*-------------------
CHE WP Headline Block
--------------------*/
.che-headline:after{
    background-color: #868686;
    content: "";
    display: block;
    height: 1px;
    width: 200px;
    margin-top: 10px;
}

.che-headline-red:after{
    background-color: #E20019;
    content: "";
    display: block;
    height: 1px;
    width: 200px;
    margin-top: 10px;
}

.che-headline-blue:after{
    background-color: #17477B;
    content: "";
    display: block;
    height: 1px;
    width: 200px;
    margin-top: 10px;
}

/*---------------------------------------------------------------------
CHE Kadence Block Portfolio/Grid Carousel for projects on employee page
----------------------------------------------------------------------*/
.che-employe-projects .kb-blocks-portfolio-grid-item .entry-title{
    color: #17477B !important;
}
.che-employe-projects .kb-blocks-portfolio-grid-item{
    border: 2px solid;
    border-radius: 4px;
    border-color: #17477B;
    background: #fff;
}
.che-employe-projects .kb-portfolio-content-item-inner {
    opacity: 1;
}
.che-employe-projects .kb-blocks-portfolio-grid-item:hover .entry-title.kb-portfolio-loop-title {
    color: #fff !important;
    transition: all .35s ease-in-out;
}

.che-employe-projects .kadence-portfolio-image {
    opacity: 0;
}

.che-employe-projects .kb-blocks-portfolio-grid-item-inner-wrap.kb-feat-image-align-none {
    background: #fff;
}
.che-employe-projects.wp-block-kadence-portfoliogrid .kb-blocks-portfolio-grid-item:hover .kb-portfolio-overlay-color, .wp-block-kadence-portfoliogrid .portfolio-hover-item-link:focus~.kb-portfolio-overlay-color {
    background: rgba(23, 71, 123, 1);
}

.che-employe-projects .kb-blocks-portfolio-img-hover-zoomin .kadence-portfolio-image img, 
.che-employe-projects .kb-blocks-portfolio-img-hover-zoomout .kb-blocks-portfolio-grid-item:hover .kadence-portfolio-image img {
    transform: scale(1);
    display: none;
}
.che-employe-projects .kb-portfolio-loop-title {
    margin: unset;
}
.che-employe-projects.wp-block-kadence-portfoliogrid .kb-blocks-portfolio-grid-item:hover .kb-portfolio-overlay-border, .wp-block-kadence-portfoliogrid .portfolio-hover-item-link:focus~.kb-portfolio-overlay-border {
    border: unset;
}
.che-employe-projects.wp-block-kadence-portfoliogrid .kb-blocks-portfolio-grid-item:hover .kb-portfolio-overlay-border, .wp-block-kadence-portfoliogrid .portfolio-hover-item-link:focus~.kb-portfolio-overlay-border {
    bottom:0;
    left:0;
    right:0;
    top:0;
}

/*.che-employe-projects.wp-block-kadence-portfoliogrid .kb-blocks-portfolio-grid-item:hover .kb-portfolio-overlay-color, .wp-block-kadence-portfoliogrid .portfolio-hover-item-link:focus~.kb-portfolio-overlay-color {
     background: rgba(23, 104, 234, 1); 
}*/


/* Kadence Testimonials Block Hepta Style Fix */
.kt-testimonial-title{
    clear: unset;
}

/*---------------
WP Picture Block
----------------*/
figcaption.wp-element-caption {
    font-size: 0.8rem;
}