footer{position:relative;z-index:7;padding-top:40px;padding-bottom:20px;width:100%!important}
footer .footerWrap{position:relative}

footer *:not(h3){font-size:var(--font-size-s)}
footer p span *{font-size:inherit}
footer strong{font-family:os-regular,arial,helvetica,awesome,sans-serif}

footer aside,footer nav{position:relative}

footer .fHeader{padding:15px 20px;width:100%;background-color:#cfeaec;-webkit-border-radius:10px;border-radius:10px}
footer .fHeader .hGroup *{font-size:var(--font-size-l)!important;font-family:medium,arial,helvetica,sans-serif,awesome!important}

footer .fContent{padding:40px 0 20px;width:100%}
footer .fContent *{color:#fff}
footer .fContent .fLogo{display:inline-block;width:50%;vertical-align:top}
footer .fContent .fLogo section.flipLogo{height:80px}
footer .fContent .fText{display:inline-block;width:50%;vertical-align:top}

footer .fLinks{width:100%}
footer .fLinks *{color:#fff}
footer .fLinks .hGroup *{font-size:var(--font-size-r)!important;font-family:medium,arial,helvetica,sans-serif,awesome!important}

footer .fFooter{margin-top:30px;padding-top:30px;border-top:1px solid #fff}
footer .fFooter *{color:#fff}
footer .fFooter .fCredits,footer .fFooter .fMenu{display:inline-block;width:auto}

.fancyPage footer aside.social .bodyText,.fancyPage footer aside.social .gridGroup{display:none}
.fancyPage footer aside.social .galWrap{width:35%!important}

footer .ceItem .galWrap{width:35%!important}


/* --- EXTCONTENT / GRIDS --- */

footer .ceItem.extContent .itemWrap .bodyWrap .txtWrap p a,footer .ceItem.extContent .itemWrap .bodyWrap .txtWrap p a:hover{text-decoration:none}
footer .extContent .bodyWrap .hGroup.hasTeaser .teaserAdd.cur::before{content:'';position:absolute;z-index:20;top:-10px;left:calc(50% - 5px);width:10px;height:10px;background-color:#fff;clip-path:polygon(50% 50%, 0% 100%, 100% 100%)}
footer .extContent .galWrap .imgRow.flexRow.jCenter .imgCol{margin:0;padding:0}

footer .extContent .hGroup,footer .extContent .buttonBox,footer .extContent .galWrap{display:inline-block}
footer .extContent .hGroup{order:1}
footer .extContent .galWrap{order:2}
footer .extContent .txtWrap{order:3}

footer .extContent .buttonBox .btn{-webkit-border-radius:4px!important;border-radius:4px!important}
footer .extContent .buttonBox.align-right .btn{margin-left:10px!important}
footer .extContent .buttonBox.align-left .btn{margin-right:10px!important}
footer .extContent .buttonBox .btn a img{position:relative;top:5px;width:18px;height:18px}

footer .grid-container{margin-top:15px}
footer .grid-row{display:block;column-count:4}
#page footer .gridItem{break-inside:avoid;margin:0 0 30px;width:auto!important}
footer .gridItem .hGroup{margin-bottom:15px}


/* --- HUBSPOT --- */

footer .hubSpot .txtWrap{position:relative}

footer .hubSpot .hGroup{margin-bottom:20px}
footer .hubSpot .hGroup *{font-size:var(--font-size-r);color:#fff}
footer .hubSpot .hGroup.headerAcc{cursor:pointer}
footer .hubSpot .hGroup.headerAcc > * > *{margin-right:7px}
footer .hubSpot .hGroup.headerAcc > *::after{content:'?';display:inline-block;padding:3px 2px 2px 3px;width:16px;height:16px;font-size:14px;text-align:center;color:#212121;background-color:#fff;-webkit-border-radius:50%;border-radius:50%}
footer .hubSpot .hGroup.headerAcc + *{display:none;position:absolute;z-index:20;top:40px;left:-10px;padding:20px;width:22rem;background-color:#fff;-webkit-border-radius:4px;border-radius:4px;filter:drop-shadow(0 4px 4px rgba(0,0,0,.2))}
footer .hubSpot .hGroup.headerAcc + *::before{content:'';position:absolute;z-index:20;top:-10px;left:calc(50% - 5px);width:10px;height:10px;background-color:#fff;clip-path:polygon(50% 50%,0% 100%,100% 100%)}
footer .hubSpot .hGroup.headerAcc + * *{color:#212121}
footer .hubSpot .hGroup.headerAcc + * a{text-decoration:underline}
footer .hubSpot .hGroup.headerAcc + * a:hover{text-decoration:none}

footer .hubspotAdd p{line-height:1.8}
footer .hubspotAdd p span{color:#dfdfdf !important}
footer .hubspotAdd p span strong{color:#dfdfdf !important}

/* inner */

footer .txtWrap.flexCol > *{order:2}
footer .txtWrap.flexCol > .iframeWrap{order:1}
footer .txtWrap.flexCol > .iframeWrap{padding:20px 0}

footer .hs-form-private .hs-fieldtype-text{margin-top:0}
footer .hs-form-private > *.hs-email{width:calc(100% - 160px)}
footer .hs-form-private > *.hs-email input:focus{color:#fff!important;border-color:#fff!important}
footer .hs-form-private input.hs-input{background-color:rgba(255,255,255,.2);-webkit-border-radius:4px!important;border-radius:4px!important}

footer .hs-form-private > *.hs-submit{margin:0 0 0 10px;width:150px;height:50px;text-align:center;-webkit-border-radius:4px;border-radius:4px;-webkit-transition:all .4s;transition:all .4s}
footer .hs-form-private > *.hs-submit .actions{padding:0}
footer .hs-submit .actions .hs-button{font-weight:bold;color:var(--color-black);background-color:#fff;border-color:#fff;-webkit-transition:all .4s;transition:all .4s}
footer .hs-submit .actions .hs-button:hover{background-color:var(--main-color);border-color:var(--main-color)}


/* --- TOTOP --- */

#toTopBox{position:fixed;z-index:11;right:40px;bottom:40px;width:auto;height:auto;text-align:right;-webkit-transition:all .4s;transition:all .4s}
#toTopBox:hover{bottom:50px}
#toTopBox button{display:inline-block;font-size:0}
#toTopBox button::before{display:block;padding-top:8px;width:50px;height:42px;font-size:30px;line-height:1;color:#212121;background-color:#fff;border:1px solid #eaeaea;filter:drop-shadow(0 0 10px rgba(0,0,0,.1));-webkit-border-radius:50%;border-radius:50%;-webkit-transition:all .4s;transition:all .4s}



@media only screen and (max-width:1399px) {

    footer .menu.page .level-1 .li{margin:0px!important;width: 25%!important;text-align: center;}

}


@media only screen and (max-width:1024px) {

    footer .fHeader{margin: 15px 20px 25px 20px!important;width: auto !important;}
    footer .fHeader .itemWrap .txtWrap{margin-top:0px!important}
    footer .fHeader .itemWrap .textPic.w100 .txtWrap{display: flex;flex-direction: column-reverse;gap: 1rem;}
    footer .extContent .buttonBox.align-right .btn{margin-left:0px !important;}
    footer .extContent .buttonBox.align-right .btn:first-child{margin-right:10px !important;}
    footer .fFooter .fMenu{width:100%!important}

}

@media only screen and (max-width:768px) {

    footer .fHeader .itemWrap .buttonBox .btn{width:100%!important;text-align:center!important;}
    footer .fHeader .itemWrap .buttonBox .btn:first-child{margin-bottom:10px!important}
    footer .fHeader .itemWrap .hGroup .h3{text-align: center;}
    footer .fContent, footer .fContent .fText .itemWrap .txtWrap .hsWrap .hubspotForm form{display: flex;flex-direction: column;}
    footer .fContent .fLogo, footer .fContent .fText{width:100%!important}
    footer .fContent .fLogo .itemWrap .textPic .galWrap{width:30%!important}
    footer .fContent .fText{margin-top: 35px;}
    footer .fContent .fText .itemWrap .txtWrap .hsWrap .hubspotForm form .hs_email{width:100%!important;margin-bottom:10px!important}
    footer .fContent .fText .itemWrap .txtWrap .hsWrap .hubspotForm form .hs_submit{margin:0!important;width: 100% !important;}
    footer .fContent .fText .itemWrap .txtWrap .hsWrap .hubspotForm form .hs_submit .hs-button{width: 100% !important;max-width: 100% !important;}
    footer .fLinks .itemWrap .gridGroup .gridItem .itemWrap .hGroup h2,footer .fLinks .itemWrap .gridGroup .gridItem .itemWrap .hGroup h3{text-align:center!important;margin-bottom:10px!important}
    footer .fLinks .itemWrap .gridGroup .gridItem .itemWrap .txtWrap p{text-align:center!important;}
    footer .fLinks .itemWrap .gridGroup .gridItem .itemWrap .txtWrap p a{margin-bottom:5px!important}

}


@media only screen and (max-width:650px) {

    footer .fLinks .itemWrap .txtWrap .gridGroup .grid-row{display: flex;flex-direction: column;}
    footer .gridItem .hGroup{margin-bottom:0px!important}
    footer .gridItem .bodyWrap .txtWrap{margin-top:0px!important}
    footer .fHeader .itemWrap .buttonBox .btn{width:100%!important}
    footer .fHeader .itemWrap .hGroup .h3 span{font-size: var(--font-size-m) !important;}

}


@media only screen and (max-width:500px) {

    footer .extContent .buttonBox.align-right .btn:first-child{margin-bottom:10px !important;margin-left: 0px !important}
    footer .fContent .fLogo .itemWrap .textPic .galWrap{width:100%!important}
    footer .menu.page .level-1 .li{margin:0px!important;width: 50%!important;text-align: center;}

}