/*
Theme Name: kvhtheme
Theme URI: http://conextra.at
Author: conextra
Author URI: http://conextra.at
Description: kvh custom Theme.
Version: 1.0
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kvhtheme
*/

.shadow {
    position: relative;
}
.shadow::before {

        content: '';
        width: 100%;
        height: 80vh;
        position: absolute;
        bottom: 0;
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
        z-index: 0;

}



:root {
    --color_deep_forest_green:#3D5F36;
    --color_soft_sage: #CCD6CC;
    --coror_softer_sage: #CDD6CB;
    --color_dark-olive-black: #152412;
    --color_gray: #F7F7F7;
    --color_light_gray: #DCDCDC;
    --color_pure_white: #FFFFFF;
    --color_grayish: #707070;
    --color_another_gray: #EEEEEE;
    --color_blackest: #000000;
    --headerpaddingTopBottom: 1.261rem;
    --max-width: 1920px;
    --max-width-main-content: 1500px;
    --mobile-vertical-gap: 2rem;
    --grid_gap: 0.833rem;
}

* {
  -webkit-tap-highlight-color: transparent;
}


@font-face {
    font-family: "Caudex-Regular";
    src: url("/wp-content/themes/kvhtheme/fonts/Caudex-Regular.ttf");
}

@font-face {
    font-family: "Caudex-Bold";
    src: url("/wp-content/themes/kvhtheme/fonts/Caudex-Bold.ttf");
}

html {
    font-size: 23px;
    -webkit-font-smoothing: antialiased;
}

.brlbs-cmpnt-content-blocker {
    margin-bottom: 5rem;
}

.textwidget p {
    line-height: 1.5rem;
    color: var(--color_dark-olive-black);
}

.nav .nav-menu .menu-item.current-menu-item > a,
.nav .current-page-ancestor > a,
.nav .current-menu-ancestor > a {
    color: var(--color_dark-olive-black);
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
	text-decoration-thickness: 1px !important;
}

.footer-nav .footer-menu .menu-item.current-menu-item > a,
.footer-nav .current-page-ancestor > a,
.footer-nav .current-menu-ancestor > a {
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
	text-decoration-thickness: 1px !important;
}

.nav-mobile .mobile-nav-menu .menu-item.current-menu-item > a,
.nav-mobile .current-page-ancestor > a,
.nav-mobile .current-menu-ancestor > a {
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
	text-decoration-thickness: 1px !important;
}

.so-panel a {
    color: var(--color_deep_forest_green);
    line-break: anywhere;
}


.textwidget h1,
.textwidget h2,
.textwidget h3,
.textwidget h4,
.textwidget h5,
.widget-title {
    color: var(--color_dark-olive-black);
    font-weight: 100;
}

.textwidget h1 {
    font-size: 3rem;
    line-break: anywhere;
}

h3 {
    line-height: 1.75rem;
}

.textwidget h2 {
    margin-top: 0;
}

h3.widget-title {
    font-size: 1.5rem;
}


header {
    background-color: var(--color_pure_white);
    padding: 0 2rem;
    position: fixed;
    top: 0;
    z-index: 9;
    width: calc(100% - 4rem);
    height: 7.5rem;
    display: flex;
    justify-content: center;
    transition: height .4s ease-in-out, background .4s ease-in-out;

    /*-webkit-box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.3);*/
    /*-moz-box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.3);*/
    /*box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.3);*/

}



header.shrink {
    height: 5.5rem;
}
header.shrink .nav-menu {
    height: 5.5rem;
}
.adaptMenu {
    top: 6.5rem!important;
}
header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
}

.header-logo {
    /*padding: .5rem 0;*/
}
.header-logo img {
    width: 11.35rem;
}

/*Burger*/
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

/* Style for the burger icon bars */
.burger-icon {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 20px;
}

.burger-icon .bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color_deep_forest_green);
    transition: 0.3s ease;
}

/* Positioning the three bars */
.burger-icon .bar:nth-child(1) {
    top: 0;
}
.burger-icon .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.burger-icon .bar:nth-child(3) {
    bottom: 0;
}

/* When menu is open, transform the bars into an "X" */
.menu-toggle.open .burger-icon .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.open .burger-icon .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .burger-icon .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}
/*Burger*/
/*Mobile m*/
.nav-mobile {
    display: none;
}

.menu-toggle {
    display: none;
}


.nav-mobile .mobile-nav-menu .menu-item {
    font-weight: bold;

}
.mobile-nav-menu ul {
    list-style: none;
}
.mobile-nav-menu ul li {
}

.mobile-nav-menu li a {
    color: var(--color_dark-olive-black);
    text-decoration: none;
    font-weight: 100;
    font-size: 1.5rem;
    text-transform: uppercase;
}
.mobile-nav-menu li a:hover {
    color: var(--color_dark-olive-black);
}
.mobile-nav-menu {
    width: 100%;
    position: absolute;
    top: 100%;
    left:-100vw;
    padding-left: 0;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    height: calc(100vh - 7.5rem);
    -webkit-box-shadow: 10px 11px 5px 0px rgba(112, 112, 112, 0.1);
    -moz-box-shadow: 10px 11px 5px 0px rgba(112, 112, 112, 0.1);
    box-shadow: 10px 11px 5px 0px rgba(112, 112, 112, 0.1);
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;
}



.mobile-nav-menu .menu-item {
    display: flex;
    flex-direction: column;

}
.mobile-nav-menu>.menu-item {
    border-top: 1px solid #3d5f3642;
    padding: 1.8rem;
    padding-right: calc(2.5rem + 2px);
}

.mobile-nav-menu>.menu-item:last-child {
    border-bottom: 1px solid #3d5f3642;
}

.mobile-nav-menu>.menu-item a {
    /*padding: 1rem;*/
}
.mobile-nav-menu>.menu-item li {
    margin-bottom: 1rem;
}
.mobile-nav-menu>.menu-item.menu-item-has-children>a {
    display: flex;


}
.mobile-nav-menu>.menu-item.menu-item-has-children>a span {
    margin-left: auto;
}
.mobile-nav-menu>.menu-item.menu-item-has-children>a:after {
}
.mobile-nav-menu>.menu-item>.sub-menu {
    padding-left: 1rem;
    display: none;
}




.mobile-nav-menu>.menu-item>.sub-menu .sub-menu a {
    font-size: 1.3rem;
}

.mobile-nav-menu>.menu-item>.sub-menu .sub-menu {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.mobile-nav-menu>.menu-item>.sub-menu .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: var(--color_deep_forest_green);
    opacity: 0.5;
}

.mobile-nav-menu>.menu-item>.sub-menu .sub-menu>li:last-child {
    margin-bottom: 0;
}


.mobile-nav-menu .sub-menu {
    margin-top: 2rem;
}

.submenu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1rem;
    transition: transform 0.3s ease-in-out;
}
.carot {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--color_deep_forest_green);
    border-bottom: 2px solid var(--color_deep_forest_green);
    transform: rotate(45deg);
    margin: 1px;
    color: var(--color_deep_forest_green);
    transition: all 0.3s ease-in-out;
}

.carot::before {
  content: "";
  position: absolute;
  top: -15px;
  bottom: -15px;
  left: -15px;
  right: -15px;
}

.carot:hover {
    color: var(--color_dark-olive-black);
}
.submenu-icon.open .carot  {
    transform: rotate(225deg);
}

/*Mobile m*/

.kvhAutoHero {
    width: 100%;
    aspect-ratio: 2.75 / 1;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-bottom: 5rem;
    position: relative;
}

.kvhAutoHero:after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 10rem;
    content: '';
    left: 0;
    opacity: 0.72;
    z-index: 1;
}

/*hintergrundbild*/
.backImage {
    position: fixed;
    /*background-color: black;*/
    /*position: absolute;*/
    width: 100%;
    overflow: hidden;
    /*left: 45%;*/

    /*temp*/
    top: 11rem;
    left: 40%;
    /*background-color: black;*/
}

.textwidget {
    margin-bottom: 5rem;
}

.thekvhTags {
    background-color: var(--color_soft_sage);
    padding: 2px;
}

.textwidget ol {
    padding-left: 0;
    list-style-position: inside;
}

.backImage img {
    position: relative;
    width: 40%;
    left: 35%;

}
.backImage.frontpage {
   top: 11rem;
   left: -50%;
}
.backImage.frontpage img {
    left: 30%;
}
.kvhAutoHero h1 {
    margin: 0;
    color: white;
    padding: 2rem;
    font-size: 3rem;
    z-index: 2;
}

h2 {
    font-size: 2rem;
    font-weight: normal;
}

body {
    font-family: 'Caudex-Regular';
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    background-color: var(--color_gray);
    /*background-image: url('/wp-content/themes/kvhtheme/img/Bildmarke(1).svg');*/
    /*background-attachment: fixed;*/
    /*background-repeat: no-repeat;*/
    /*background-size: contain;*/
    /*background-position-x: -340px;*/
    /*background-position-y: 185px;*/
    overflow-x:hidden;
}
main {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 18.25rem);
    max-width: var(--max-width-main-content);
    padding-top: 12.5rem;

}
.safari-browser main {
    overflow-x: hidden;
}

ol li {
    margin-bottom: 2rem;
}


/*main:before {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    content: url('/wp-content/themes/kvhtheme/img/Bildmarke(1).svg');*/
/*    z-index:-1 ;*/
/*}*/


.nav {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    /*font-size: 24px;*/
    cursor: pointer;
    padding: 0;
    /*display: none;*/
}

nav .nav-menu {
    display: flex;
    list-style: none;
    padding-left: 0;
    height: 7.5rem;
    display: flex;
    align-items: center;
    margin:0;
    transition: height .4s ease-in-out, background .4s ease-in-out;
    gap: 3rem;
}
.nav .nav-menu > .menu-item {
    /*padding: 0 3rem 0 3rem;*/
    height: 100%;
    display: flex;
    align-items: center;
}
.nav .nav-menu>.menu-item.menu-item-has-children:last-child .sub-menu {
    right:0;
}
.nav .nav-menu > .menu-item:last-child {
    /*padding: 0 0 0 3rem;*/
}
.nav .nav-menu > .menu-item > a {
    text-transform: uppercase;
    color: var(--color_grayish);
}
.nav .nav-menu > .menu-item.menu-item-has-children > a:hover {
    color: var(--color_blackest);
}
.nav .sub-menu {
    position: absolute;
    display:flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    top: 100%;
    background-color: var(--color_soft_sage);
    padding: 1rem;
    display: none;
    z-index: 1;
    transition: height .4s ease-in-out, background .4s ease-in-out;
    overflow-y: auto;
    max-height: calc(100vh - 8rem);
}

.nav .sub-menu .sub-menu {
    overflow-y: visible;
    max-height: unset;
}

.mobileMenuOpen {
    left: 0;
}

.nav .menu-item.menu-item-has-children > .sub-menu:not(.sub-menu .sub-menu) {
    -webkit-box-shadow: 0px 10px 16px -5px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 10px 16px -5px rgba(0,0,0,0.25);
    box-shadow: 0px 10px 16px -5px rgba(0,0,0,0.25);
}
.nav .sub-menu .menu-item:not(.sub-menu .menu-item:last-child) {
    margin-bottom: 1rem;
}
.nav .sub-menu  a {
    color: var(--color_deep_forest_green);
}
.nav .sub-menu  a:hover {
    color: var(--color_dark-olive-black);
}

.nav .menu-item:hover .sub-menu{
    display: flex;
    position: absolute;

}
.nav .nav-menu li {
}

.nav .nav-menu a {
    text-decoration: none;
}



.mobile-nav-menu {
    transition: left 0.3s ease-in-out;
}

/*sub-menu sub-menu*/
.nav .menu-item .sub-menu .sub-menu {
    position: relative;
}

/*bx generals*/
.bx-wrapper{
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    border: none!important;
    background: unset!important;
    /*overflow: hidden! important;*/
    position: relative!important;
}
.bx-wrapper:before {
    position: absolute;
    content:'';
    width: 100%;
    top: 0;
    height: 100%;
    background-color: var(--color_pure_white);
    left:-100%;
    z-index: 999;
}
.bx-viewport {
    overflow: visible !important;
    position: relative;
}
.bx-viewport:before {

}
/*Home Slider*/
.aktuelles-posts {
    position: relative;
    margin-bottom: 5rem;
}


.aktuelles-posts .slider.blog-list {
    display: block;
    display: flex;
    min-height: 15rem;
    flex-direction: row !important;
}

.aktuelles-posts .slider.blog-list h3 {

}




.aktuelles-posts .slider.blog-list .blogPost {
    min-height: 12rem;
}

.aktuelles-posts>.widget-title {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 3rem;
    margin-top: 0;
}
.aktuelles-posts>.widget-title:after {
    position: relative;
    content: '';
    width: 100%;
    height: 0.2rem;
    background-color:var(--color_another_gray);
    margin-left: 4rem;
}
.aktuelles-posts .textwidget {
    display: none;
}
.aktuelles-posts .slider .slide {
    transition: all .1s ease-in-out;
}

.aktuelles-posts .slider .slide {
    background-color: var(--color_soft_sage);
    /*background-color: red;*/
    align-self: stretch;
    /*min-height: 15.1rem;*/
    /*min-height: 5rem;*/
    position: relative;
    overflow: hidden;
}
.aktuelles-posts .slider .slide:hover {
    background:#B5C3B5;
}
.aktuelles-posts .slider .slide:hover:after,
.aktuelles-posts .slider .slide:hover:before {
    background:#B5C3B5;
}
.aktuelles-posts .slider .slide:after,
.aktuelles-posts .slider .slide:before {
    position: absolute;
    content: '';
    width: 100%;
    z-index: 9;
    /*background-color:var(--color_soft_sage);*/
    /*background-color: red;*/
    height: 2rem;
    transition: all .1s ease-in-out;
}
.aktuelles-posts .slider .slide:after {
    bottom:0;
    left:0;
    background: linear-gradient(to top, var(--color_soft_sage), transparent);
    background: var(--color_soft_sage);
}
.aktuelles-posts .slider .slide:before {
    top:0;
    left: 0;
    height: 2rem;
    background: linear-gradient(to bottom, var(--color_soft_sage), transparent);
    background: var(--color_soft_sage);
}
.aktuelles-posts .slider .slide .inner {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    padding: 1rem 1rem;
    align-self: stretch;
    min-height: 13rem;
    transform: translateY(1rem);
    transition: all .2s ease-in;
}

.aktuelles-posts .slider .slide:hover .inner {
    transform: translateY(-1.2rem);
}

.aktuelles-posts .slider .slideLast {
    background-color: var(--color_pure_white);
    display: flex;
    align_content: center;
    align-items: center;
    justify-content: center;
    min-height: 13rem;
    padding: 1rem 1rem;
}
.aktuelles-posts .slider .slideLast a {
    color: var(--color_soft_sage);
    text-decoration: none;
}
.aktuelles-posts .slider .slide .slideDate {
    margin-left: auto;
    font-size: 1rem;
    color: var(--color_pure_white);
    text-transform: uppercase;
    transform: rotateX(0deg);
}
.aktuelles-posts .slider .slide:hover .slideDate {
    transform: rotateX(90deg);
}
.aktuelles-posts .slider .slide .widget-title {
    font-weight: 100;
    font-size: 1.5rem;
    color:var(--color_dark-olive-black);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.aktuelles-posts .slider .slide .widget-title-custom {
    font-size: 1.5rem;
    font-weight: bold;
    color:var(--color_dark-olive-black);
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.aktuelles-posts .slider .slide .widget {
    font-size: 1.75rem;
    color:var(--color_dark-olive-black);
}
.aktuelles-posts .mehr {
    text-decoration: none;
    color: var(--color_deep_forest_green);
    opacity:.5;
    cursor: pointer;
    margin-top: unset;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.aktuelles-posts .mehr h3:hover {
    color: var(--color_dark-olive-black);
}

.slide .widget-content-custom {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}


/*textwidget siteorigin*/


.autotextcolumns .siteorigin-widget-tinymce.textwidget p {
    column-count: 2;
    column-gap: 5rem;
    /* column-rule: 1px solid #ccc; */
    max-width: 100%;
    margin: 0 auto;
}

.cols-4 .siteorigin-widget-tinymce.textwidget p {
    column-count: 1;
}


.furtherPages {
    padding: 4rem 0;
    color: var(--color_deep_forest_green);
    background-color: var(--color_pure_white);
    z-index: 1;
    position: relative;
}


.furtherPages .furtherRuler {
    width: 100%;
    height: 3px;
    margin: 2rem 0;
    opacity: 0.2;
    background-color: var(--color_deep_forest_green);
}

.furtherPages>div>h3 {
    margin: 0;
    opacity: 0.5;
    font-size: 2rem;
    font-weight: 100;
}

.furtherPages .thePages {
    display: flex;
    justify-content: space-between;
}

.furtherPages .furtgerPagesContent {
    width: 80%;
}

.furtherPages .thePages>div {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
}

.furtherPages .thePages>div:hover {
    opacity: 1;
}

.furtherPages .thePages>div>a:last-child {
    margin-top: auto;
    padding-top: 15px;
    color: unset;
    text-decoration: none;
}

.furtherPages>div {
    max-width: var(--max-width-main-content);
    margin-left: auto;
    margin-right: auto;
}

/*cell Backgrounds*/
.panel-cell-style {
    background-repeat: no-repeat;
    background-size: cover;
    /*aspect-ratio: 1 / 1;*/
    display: flex;
    background-position: center;
    content: '';
}

.mainNotFound h1 {
    font-weight: 100;
    font-size: 6rem;
    margin: 0;

    background: linear-gradient(90deg, rgba(21,36,18,1) 0%, rgba(53,111,42,1) 100%);
    -webkit-background-clip: text; /* Apply background gradient to text */
    background-clip: text; /* Standard property for non-Webkit browsers */
    color: transparent; /* Make the text color transparent to show the gradient */

}

.mainNotFound {
    display: flex;
    justify-content: center;
    color: var(--color_dark-olive-black);

    align-items: flex-start;

}

.mainNotFound .notFoundPage {
    width: 400px;
    text-align: center;
    background-color: var(--coror_softer_sage);
    background-image: url('/wp-content/themes/kvhtheme/img/Bildmarke(1).svg');
    background-size: cover;
    background-position: 5vw;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    padding: 2rem;
    margin-bottom: 5rem;
}
/*wp-gallery plugin overrides*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    gap: 1rem;
    width: 100%;
    /*max-width: 1000px; !* Optional: Max width to control the overall size *!*/
    /*padding: 10px;*/
    margin-bottom: 5rem !important;
}
.gallery br {
    display: none;
}
.gallery-item {
    position: relative;
    width: 100%!important;
    padding-top: 100%; /* This makes the item square by keeping the aspect ratio */
    background-color: unset;
    /*border-radius: 8px;*/
    overflow: hidden;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
    margin: 0!important;
}
.gallery-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item a img {
    border: unset;
}
.gallery-item > a {
    width: 1rem;
    height: 1rem;
    top: 0rem;
    left: calc(100% - 3rem);
    padding: 1rem;
}
.download-icon {
    width: 1rem;
    position: absolute;
    top: 0;
    display: block;
    border: unset !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -90%);
    background-color: #f7f7f7;
    border-radius: 50px;
    padding: 3px;

}
/*Footer*/
footer {
    background-color: var(--color_dark-olive-black);
    padding: 0 1.8rem;
    z-index: 1;
    position: relative;
    height: 5.75rem;

}

footer>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

footer a {
    color: var(--color_light_gray);
    text-transform: uppercase;
    text-decoration: none;
}
.footer-menu {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    list-style: none;
    padding-left: 0;
}
.socialFooter {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
footer .socialFooter img {
    width: 1rem;
    height: 1rem;
}
footer .social-link {
    display: flex;
    opacity: 0.5;
}
footer .social-link:hover {
    opacity: 1;
}

footer .menu-item {
    opacity: 70%;
}
footer .menu-item:hover {
    opacity: 100%;
}
/* Kontakt Formular*/

.wpcf7 {
    background-color: var(--color_pure_white);
    padding: 5rem 10%;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: -5rem;
}
.wpcf7-form {
    width: 50%;
}
.wpcf7 textarea {
    aspect-ratio: 16 / 9;
}
.wpcf7 input,
.wpcf7 textarea {
    font-family: "Caudex-Regular";
    padding-left: 15px;
}
.wpcf7 p {
    margin: 0;
    margin-bottom: 1rem;
}
.wpcf7-form-control {
    line-height: 2rem;
    font-size: 1em;
    width: calc(100% - 15px);
    /*padding-left: 1rem;*/
    padding: 0;
}
.wpcf7-form-control.wpcf7-submit[type="submit"] {
    background-color: #152412;
    color: var(--color_light_gray);
    padding: .5rem 10%;
    border: none;
    border-radius: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 50%;
}

.wpcf7-form-control.wpcf7-submit[type="submit"]:hover {
    background-color: #014430;
    color: white;
}

.wpcf7-form-control.wpcf7-submit[type="submit"]:active {
    background-color: #3e8e41;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}
/*XL: 1366px (Large desktops)*/
/*L: 1024px (Small desktops and tablets)*/
/*M: 768px (Tablets)*/
/*S: 480px (Mobile phones and other small devices)*/

@media screen and (max-width: 1500px) { /*var(--max-width-main-content)!!!!*/
    main {
        margin: 0 2rem;
    }

    .furtherPages {
        padding: var(--mobile-vertical-gap) 1rem;
    }
}

@media screen and (max-width: 1366px) {
    html {
        font-size: 16px;
    }

    .nav .nav-menu {
        gap: 3rem;
    }
}
@media screen and (max-width: 1200px) {

    main {
        padding-top: calc(7.5rem + var(--mobile-vertical-gap));
    }


    .kvhAutoHero,
    .textwidget {
        margin-bottom: var(--mobile-vertical-gap);
    }

    .theArchiveGrid {
        margin-bottom: var(--mobile-vertical-gap) !important;
    }

}
@media screen and (max-width: 1024px) {
    html {
        font-size:16px;
    }
    /*.nav .nav-menu > .menu-item {*/
    /*    padding: 0 1rem 0 1rem;*/
    /*}*/
    /*.nav .nav-menu > .menu-item:last-child {*/
    /*    padding: 0 0 0 1rem;*/
    /*}*/
    .nav .nav-menu {
        gap: 2rem;
    }

    .backImage  {
        display: none;
    }

}

@media screen and (max-width: 768px) {
    html {
        font-size:14px;
    }
    .nav {
     display: none;
    }
    .nav-mobile {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    .backImage img {
        position: relative;
        width: 117%;
        left: 1%;
    }
    .backImage.frontpage img {
        left: 0;
    }
    .aktuelles-posts .bx-viewport {
        overflow: hidden !important;
    }
    .theArchiveGrid .blog-list {
        grid-template-columns: 1fr;
    }
    footer {
        height: unset;
        padding: 2rem 0;
    }

    footer>div {
        flex-direction: column;
    }

    header.shrink {
        height: 7.5rem;
    }

    .footer-menu {
        gap: 1rem;
        margin-bottom: var(--mobile-vertical-gap);

    }

    header::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        top: 7.5rem;
        height: 25px;
        background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,0) 100%);
    }

    main {
        transition: filter 0.3s ease-in-out;
    }

    .blurrer {
        filter: blur(2px) grayscale(1);

    }

    footer>div {
        flex-direction: column;
    }
    .wpcf7 {
        padding: 5rem 5%;
    }

    .wpcf7-form {
        width: 100%;
    }

}

@media screen and (max-width: 700px) {
    .furtherPages .thePages {
        flex-direction: column;
        align-items: center;

    }

    .furtherPages .thePages>div {
        width: 100%;
        margin-bottom: var(--mobile-vertical-gap);
    }


    .autotextcolumns .siteorigin-widget-tinymce.textwidget p {
        column-count: unset;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size:13px;
    }
    .mobile-nav-menu {
        font-size: 1.5rem;
    }

    .footer-menu {
        flex-direction: column;
    }
}
