/*
Theme Name:  theme55142
Theme URI:   http://yoursite.com/link/to/theme
Description: Your theme description.
Author:      Your Name
Author URI:  http://yoursite.com
Version:     1.0.5
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:        fixed-layout, fluid-layout, responsive-layout, left-sidebar, right-sidebar, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, translation-ready
Text Domain: theme55142
Template:    cherryframework4
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
/* header */
#header .header-top {
    background-color: #fff;
    box-shadow: none;
    height: 92px;
    margin: 0 15px;
    max-width: 1600px;
    position: absolute;
    top: 44px;
    z-index: 100;
    padding-top: 0;
    padding-bottom: 0;
    width: calc(100% - 30px)
}
@media (max-width: 600px) {
    #menu-primary-items {
        height: calc(100vh - 140px);
        overflow-y: scroll;
    }    
}
@media (max-width: 768px) {
    #header .header-top {
        top: 0;
        margin: 0;
        width: 100%;
        height: auto;
        padding-bottom: 15px;
        position: fixed;
    }
    .site-branding img {
        max-width: 50vw;
        margin-top: 15px;
    }
    #menu-primary .menu-primary_trigger {
        padding: 3px 15px;
    }
}
@media only screen and (min-width: 1600px) {
  #header .header-top {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 768px) {
    #header .header-top .container {
        max-width: 100%;
        height: 100%;
    }
    #header .header-top .row     {
        display: flex;
        height: 100%;
        flex-flow: row-reverse;
    }

    #header .header-top__layer {
        background-color: #fff;
        max-height: 254px;
        position: absolute;
        bottom: 45px;
        left: 8.33vw !important;
    }
    #menu-primary {
        position: absolute;
        bottom: 10px;
    }
    #header #menu-primary .menu-items {
        align-content: flex-end;
        gap: clamp(1.875rem, -2.4107rem + 6.6964vw, 5.625rem);
        float: none;
        display: flex;
        justify-content: flex-start;
        white-space: nowrap;
    }
    #header #menu-primary .menu-items > li {
        margin: 0;
    }
    .site-branding {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        padding-right: 1vw;
    }
    .site-branding .site-title {
        text-align: right;
        max-width: 270px;
    }
    .static-header-menu {
        padding-left: 33px;
        width: calc(100% - 150px);
    }
    #header #menu-primary .menu-items a {
        font-family: "Open Sans", sans-serif;
        font-size: 17px;
        font-weight: 400;
    }

/*    #header #menu-primary .current-page-ancestor > a,*/
    #header #menu-primary .current-menu-ancestor > a,
    #header #menu-primary .current-menu-parent > a,
    #header #menu-primary .menu-items > li.current-menu-item > a,
    .menu-items li li.current-menu-item > a {
        color: #7c7b7b;
        font-weight: bold!important;
    }
    #menu-primary .menu-items li:hover li.current-menu-item > a {
        color: #7c7b7b
    }
    #header #menu-primary .menu-items > li:hover > a, 
    #header #menu-primary .menu-items > li > a:hover,
    #menu-primary .menu-items li:hover li.current-menu-item:hover > a,
    #menu-primary .menu-items li:hover li.current-menu-item > a:hover {
        color: #5da62b;
    }

    #header #menu-primary .menu-items > li > a:before {
        display: none;
    }
    #header #menu-primary .menu-items ul.simple-sub, 
    #header #menu-primary .menu-items ul.sub-menu {
        background-color: transparent;
        box-shadow: none;
        display: flex;
        gap: 14px;
        padding: 0;
        width: auto;
    }
    #header #menu-primary .menu-items ul.simple-sub li, 
    #header #menu-primary .menu-items ul.sub-menu li {
        background-color: #fff;
        box-shadow: none;
        margin: 0;
        padding: 4px 10px;
        text-transform: inherit;
    }
    #header #menu-primary .menu-items > li li a {
        font-size: 16px;
        font-weight: 400;
        line-height: 26px;
    }
    #header #menu-primary .menu-items > li > ul.sub-menu {
        left: -10px;
        position: absolute;
    }
    #header #menu-primary .menu-items > li > ul.sub-menu > li {
        position: unset;
    }
    #header #menu-primary .menu-items ul.simple-sub ul, #header #menu-primary .menu-items > li > ul.sub-menu > li > ul {
        display: flex;
        flex-flow: nowrap;
        left: 0;
        padding-top: 12px;
        top:28px!important;
        width: 100%;
    }
}
.parallax-box.custom-style .parallax-content{
    position: absolute;
    bottom: 0;
    max-width: 1600px;
    width: 100%;
    left: 50.8%;
    transform: translateX(-50%);
    padding-top: 0;
    padding-bottom: 44px;
}
.header-content__wrapper {
    bottom: 20px;
    position: absolute;
    width: 100vw;
}
.header-video-outerwrapper--simple .header-content__wrapper {
    bottom: 42px;
}
.header-content__wrapper--home {
    bottom: 42px;
    padding-left: 15px;
}
@media only screen and (max-width: 768px) {
  .header-content__wrapper {
    display: none;
  }
}
.header-content__wrapper > .row > .container {
    width: 100%;
}

.header-content__container {
    background-color: #fff;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    max-width: min-content;
}
.header-content__container h2 {
    color: #5b6062;
    font-size: clamp(45px, 4.5vw, 60px);
    line-height: 1;
    margin-bottom: 5px;
    margin-right: 8vw;
    padding: 0;
    white-space: nowrap;
}
@media only screen and (min-width: 1600px) {
    .header-content__wrapper--home {
        padding-left: 0;
    }
    .header-content__container {
        margin-left: -10px;
    }
}

@media screen and (max-width: 768px) {
    .header-content__container h2 {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.header-content__container p,
.header-content__container .cherry-banner_content {
    color: #5b6062;
    font: 23px/35px "Open Sans", sans-serif;
    margin-bottom: 0;
    margin-top: 8px;
    max-width: 90%;
    padding: 0;
}
.header-content__container p + p{
    margin-top: 20px;
}
/* Video container styling */
.header-video-outerwrapper {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
}
.header-video-mask {
    position: relative;
    max-height: 750px;
    overflow: hidden;
    width: 100%;
}
.header-video-wrapper {
    min-height: 0;
    height: 0;
    padding-bottom: 56.26%;
    position: relative;
}

.header-video-frame {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}


.title-box {
    margin-bottom: 18px;
}

/* Overlay content styling */
.overlay-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 650px;
  display: flex;
  align-items: center;
}


/* content*/
.parallax-box.style_1 {
    margin-top: 0;
}
#content.site-content {
    padding-top: 120px;
}
@media screen and (min-width: 768px) {
    #content.site-content {
        padding-top: 0;
    }
    .flex-row:has(.template-custom_banner.style_3) .row.row-edge  {
        display: flex;
    }
    .box-primary .row-edge {
        display: flex;
    }
    #menu-primary li:nth-last-child(3) ul {
        flex-wrap: wrap;
        width: 80vw!important;
    }
    #menu-primary li:nth-last-child(2) ul {
        flex-wrap: wrap;
        width: 70vw!important;
    }
    #menu-primary-items li:last-child ul {
        flex-wrap: wrap;
        width: 60vw!important;
    }
}
.round-border {
    border-radius: 10px;
}
.box-primary .row-edge .template-custom_banner {
    border-radius: 10px;
    height: 100%;
}
.box-primary .row-edge .template-custom_banner .cherry-banner_wrap {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}
.box-primary .row-edge .template-custom_banner.style_1 .cherry-banner_wrap {
    background-size: auto;
    background-position: left 30px bottom 21px;
    background-repeat: no-repeat;
    height: 100%;
    padding-bottom: 135px;
}
.cherry-banner.style_1 {
    border-radius: 5px;
}
.cherry-banner.style_1 .cherry-banner_content{
    color: #5b6062;
}
.cherry-box.style_1 .title-box_title {
    font-size: 46px;
}
.cherry-box.style_1 .title-box_subtitle {
    font-size: 23px;
    line-height: 35px;
}

.cherry-banner.style_1.template-custom_banner {
    border: 3px solid #5da62b;
    height: 100%;
}
.cherry-banner.style_1.template-custom_banner::before {
    background-color: #5da62b;
    background-image: none;
    display:none;
}
.cherry-banner.style_1.template-custom_banner h2{
    font-size: 46px;
    line-height: 53px;
}
.cherry-banner.style_3.template-custom_banner {
    background-color: #f4f2e0;
    border-radius: 10px;
    height: 100%;
}
.template-custom_banner.style_3 h2 {
 font-size: 30px;
 line-height: 35px;   
}
.cherry-banner.style_1 .cherry-banner_wrap h2 {
    margin-bottom: 30px;
}
.cherry-banner.style_3 .cherry-banner_wrap .cherry-banner_content,
.cherry-banner.style_1 .cherry-banner_wrap .cherry-banner_content {
    font-size: 16px;
    line-height: 26px;
}
.cherry-banner.style_1 .cherry-banner_wrap a.cherry-banner_link {
    font-size: 16px;
    font-weight: bold;
    width: 200px;
}
@media (hover: hover) and (pointer: fine) {
    .cherry-banner.style_1 a.cherry-banner_link:hover, 
    .cherry-banner.style_1:hover .cherry-banner_wrap > a.cherry-banner_link {
        background-color: transparent!important;
        color: #5b6062;
        text-decoration: underline;
        text-decoration-color: #5da62b;
    }   
}

.cherry-banner.style_1 .cherry-banner_wrap a.cherry-banner_link::before {
    display: none;
}
.cherry-banner.style_1 .cherry-banner_wrap a.cherry-banner_link::after {
    background: none;
    color: #5b6062;
    transition: none;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    content: 'mehr erfahren \003E\003E';
    right: 0;
    left: auto;
    position: relative;
    width: auto;
    white-space: nowrap;
}
.cherry-banner.style_1:hover .cherry-banner_wrap a.cherry-banner_link::after {
    background: none;
    color: #5da62b;
    transition: none;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    content: 'mehr erfahren >>';
    right: 0;
    left: auto;
    width: auto;
}
.cherry-banner.style_3 .cherry-banner_wrap {
    padding: 30px;
}
.cherry-banner.style_3 .cherry-banner_wrap a.cherry-banner_link {
    width: auto;
    padding-right: 30px;
}
.cherry-banner.style_3 .cherry-banner_wrap a.cherry-banner_link::before {
    background: none;
    color: #5b6062;
    transition: none;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    content: 'mehr Infos \003E\003E';
    right: 0;
    left: auto;
    position: relative;
    width: auto;
    white-space: nowrap;
}
.cherry-banner.style_3:hover .cherry-banner_wrap a.cherry-banner_link::before {
    background: none;
    color: #5da62b;
    transition: none;
    font-size: 16px;
    text-decoration: underline;
    content: 'mehr Infos >>';
    right: 0;
    left: auto;
    width: auto;
}
/* custom content  */
.custom-content--green {
    background-color: #5da62b;
    display: flex;
    height: 100%;
    padding-bottom: 30px;
    padding-top: 30px;
}
.custom-content--beige {
    background-color: #f5f2e0;
    color: #5b6062;
    display: flex;
    height: 100%;
    padding-bottom: 30px;
    padding-top: 30px;
}
.custom-content--green li {
    color: #fff;
}
.custom-content--beige ul + h3,
.custom-content--beige ul + p,
.custom-content--green ul + h3,
.custom-content--green ul + p{
    margin-top: 22px;
}
.custom-content--beige p + ul,
.custom-content--green p + ul{
    margin-top: -22px;
}
.custom-content--beige h3 + ul,
.custom-content--green h3 + ul{
    margin-top: -15px;
}
.custom-content--transparent ul,
.custom-content--green ul,
.custom-content--beige ul {
    margin-bottom: 0;
}
.custom-content--beige h2,
.custom-content--beige h3,
.custom-content--beige h4,
.custom-content--beige p {
    color: #5b6062;
}
@media only screen and (min-width: 1600px) {
    .custom-content--green {
        min-height: 480px;
    }
}
.custom-content--green-left {
    justify-content: flex-end;
}
.custom-content--transparent > .row,
.custom-content--green > .row {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: flex-end;    
}

.custom-content--green h1,
.custom-content--green h2,
.custom-content--green h3,
.custom-content--green h4,
.custom-content--green h5,
.custom-content--green p,
.custom-content--green a {
    color: #fff;
}
.custom-content--green h2.title-box_title {
    font-size: 46px;
    line-height: 53px;
}
.custom-content--green p {
    font-size: 20px;
    line-height: 30px;
}
.custom-content--round {
    border-radius: 10px;
}
.custom-content--medium {
    padding: 30px 10px 20px 100px;
}
.custom-content--col-left,
.custom-content--col-right {
    max-width: 770px;
    padding-left: 0;
    padding-right: 30px;
    width: 100%;
}
.custom-content--col-left {
    margin-left: 0px;
    margin-right: 15px;
    padding-right: 40px;
}
.custom-content--round .custom-content--col-left {
    margin-right: 0;
    padding-right: 40px;
}
.custom-content--col-right {
    margin-left: 0;
    margin-right: auto;
    padding-left: 40px;
}
.custom-content--col-right.custom-content--green-fc,
.custom-content--col-right.custom-content--beige {
    max-width: 50vw;
}
.custom-content--col-right-full {
    max-width: inherit;
}
@media screen and (max-width: 1600px) {
    .custom-content--transparent .custom-content--col-left
    .custom-content--round .custom-content--col-left {
        padding-left: 20px;
    }
    .custom-content--col-left {
        padding-left: 40px;
    }
    .custom-content--col-left-transparent {
        padding-left: 30px;
    }
}
.custom-content--col-left .custom-content-more-link,
.custom-content--col-right .custom-content-more-link {
    float: right;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
}
@media (hover: hover) and (pointer: fine) {
    .custom-content--col-left .custom-content-more-link:hover,
    .custom-content--col-right .custom-content-more-link:hover {
        text-decoration: underline;
    }
}

.custom-content--col-left .custom-content-more-link:after,
.custom-content--col-right .custom-content-more-link:after {
    content: '>>';
    display: inline-block;
    padding-left: 6px;
}
.custom-banner-more-link {
    
}
.custom-banner-more-link:after {
    content: ' >>';
    display: inline-block;
}
@media screen and (min-width: 768px) {
    .custom-content--equal-height-row {
        margin-left: -30px;
        margin-right: -30px;
        display: flex;
        flex-wrap: wrap;
    }
    .custom-content--equal-height-row > div {
      display: flex;
    }
    .custom-content--col-left-transparent-img {
        padding-right:0;
    }

    .custom-content--equal-height-row > .container > .row {
        margin-left: 0;
        margin-right: 0;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round {
        margin-right: 15px;
        width: calc(50% - 15px);
        justify-content: flex-end;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child {
        margin-left: 15px;
        margin-right: 0;
        width: calc(50% - 15px);
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:first-child,
    .custom-content--equal-height-row .col-md-6.custom-content--round:first-child .custom-content--round {
        border-radius: 10px;
        margin-bottom: 30px;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child,
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child .custom-content--round{
        border-radius: 10px;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:first-child,
    .custom-content--equal-height-row .col-md-6.custom-content--round:first-child .custom-content--round {
        border-radius: 0 10px 10px 0;
        margin-bottom: 0;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child,
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child .custom-content--round{
        border-radius: 10px 0 0 10px;
    }
    .custom-content--equal-height-row .custom-content--image-wrapper img{
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .site-content.wide .custom-content--equal-height-row > div.container {
      max-width: 100%;
      width: 100%;
    }
    .site-content.wide .custom-content--equal-height-row > div.container > div.row {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .custom-content--equal-height-row .col-md-6.custom-content--round {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .custom-content--equal-height-row .col-md-6.custom-content--round:last-child {
        border-radius: 0;
        margin-left: 0;
        width: 100%;
    }
    .custom-content--equal-height-row .custom-content--image-wrapper {
        border-radius: 0;
    }
}
img.size-full {
    height: auto;
    width: 100%;
}

.custom-content--video-container {
    /*height: 0;
    padding-bottom: 28.1% !important;
    */
   padding-bottom: 0;
    position: relative;
}
.custom-content--video-wrapper {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    left: 0;
    top: 0;
}
/*
.custom-content--video-container {
    position: relative;
    height: 100%;
    padding: 0;
    overflow: hidden;
}
.custom-content--video-wrapper {
    position: absolute;
    width: 0;
    height: 100%;
    overflow: hidden;
    right: clamp(-20vw, -5vw + 20px, 0px);
    top: 0;
    padding-right: calc(426 * 100% / 24);
}
 */
@media (min-width: 768px) and (max-width: 992px) {
  .site-header.wide .container, .site-content.wide .container, .site-footer.wide .container {
    width: auto;
  }
}

.site-main ul {
    font-size: 20px;
    line-height: 26px;
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}
.site-main ul > li:before {
    display: inline-block;
    content: "-";
    width: 1em;
    margin-left: -1em;
}

/* Image container styling */
.custom-content--image-container {
  height: 100%;
  padding: 0 !important;
}

.custom-content--image-wrapper {
    display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.custom-content--fill-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.custom-hr-text__wrapper {
    font: 33px/31px Lora, sans-serif;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    margin: 50px 0;
}
.custom-hr-text__wrapper:before,
.custom-hr-text__wrapper:after {
    content: '';
    display: block;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: auto;
    height: 1px;
    border-bottom: 2px dotted currentColor;
}
.custom-hr-text__content h2{
    font-size: 46px;
    line-height: 1;
    padding: 0 20px;
}

/* footer */
.footer__add-on .cherry-banner_content {
    color: #5b6062;
    padding: 0;
}
.footer__add-on-img--right {
    display: flex;
}
@media only screen and (min-width: 768px) {
    .footer__add-on-img--right {
        justify-content: flex-end;
        text-align: right;
    }
}
.footer__add-on-img--maxw160 {
    margin-right: 60px!important;
    max-width: 160px;
}
.footer__add-on-img--maxw125 {
    max-width: 125px;
}
#footer {
    background-image: url(images/footer_icon.png);
    background-color: #5b6062;
    background-size: contain;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 60px;
}
#footer .static-footer-info,
#static-area-footer-bottom .footer-logo-link {
  font: 400 16px/20px "Open Sans", sans-serif;
}
@media only screen and (max-width: 768px) {
    #static-area-footer-bottom .row {
        flex-flow: column;
    }
    #static-area-footer-bottom .static-footer-logo {
        float: none!important;
    }
    #static-area-footer-bottom .static-footer-info {
        float: none!important;
    }
    #static-area-footer-bottom .static-footer-info .custom-footer__infotext-wrapper {
        width: 100vw;
    }
    #static-area-footer-bottom .static-footer-info .custom-footer__infotext-wrapper a {
        display: block;
        margin-top: 10px;
        padding-left: 0;
    }
    #static-area-footer-bottom .static-footer-info .custom-footer__infotext-wrapper a:before {
        content: none;
    }
}
#static-area-footer-top .cherry-icon.style_1 {
    font-size: 66px;
    color: #80ba26;
}
#static-area-footer-bottom {
    display: flex;
}
#static-area-footer-bottom > .container > .row {
    display: flex;
    align-items: baseline;
}
@media (max-width: 992px) {
  #static-area-footer-top .cherry-icon.style_1 {
    font-size: 66px !important;
  }
}
#static-area-footer-bottom a {
    color: #fff;
}
@media (hover: hover) and (pointer: fine) {
    #static-area-footer-bottom a:hover {
        color: #5da62b;
    }   
}
.custom-footer__infotext-wrapper a{
    display: inline-block;
    padding: 0 10px;
    position: relative;
}
.custom-footer__infotext-wrapper a:before {
    background-color: currentColor;
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 17px;
    top: 50%;
    transform: translateY(-50%);
}
.sidebar-footer-2 .textwidget {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: end;
}
#footer .static-footer-sidebars a,
#footer .sidebar-footer-2 .textwidget a {
    color: #fff;
}

.motopress-margin-top-30 {
    margin-top: 30px;
}
.motopress-margin-bottom-30 {
    margin-bottom: 30px;
}
.parallax-box.style_1.extra {
    margin-bottom: 0;
}
