/*
Theme Name:     Huta Child Theme
Theme URI:      https://generatepress.com
Description:    Generatepress child theme.
Author:         Maik Bernstein - 7einhalb.de
Author URI:     https://www.7einhalb.de
Template:       generatepress
Version:        0.1.0
*/


/* Webfont lokal abgelegt */
/* aleo-300italic - 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: 'Aleo';
    font-style: normal;
    font-weight: 300;
    src: url('./assets/fonts/aleo-v14-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* eigene Klassen*/

/* Menu-Icons */
.main-navigation .main-nav ul li.icon-menu > a {
    padding-right: 15px;
    padding-left: 15px;
}
.main-navigation .main-nav ul li.icon-menu > a:last-of-type {
    margin-right: 15px;
}

/* Menü-Button */
.menu-button {
    background-color: var(--accent);
    border-radius: 5px;
}
.menu-button:hover {
    background-color: var(--accent-2);
}
#menu-item-1533.menu-button > a {
  line-height: 2em;
}

/* no-margin (for text in boxes) */
body .no-margin p,
body p.no-margin,
body .nomargin p,
body p.nomargin {
    margin: 0;
}

/* Z-Index -1 */
.layer-back {
    z-index: -1;
}

/* Hide Content */
.hideme {
    display: none !important;
}
@media screen and (max-width: 768px) {
    .mobile-hideme {
        display: none !important;
    }
}
@media screen and (min-width: 769px) {
    .desktop-hideme {
        display: none !important;
    }
}


/* ALLGEMEINES */

/* Helper - Kontakt Overlay Mobil */
@media screen and (max-width: 768px) {
    .contact-overlay-mobil {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
    }
}
/* Helper - Kontakt Overlay Desktop */
@media screen and (min-width: 769px) {
    .contact-overlay-desktop {
        position: fixed;
        top: auto;
        right: 0px;
        bottom: 5%;
        left: auto;
        /* rotate: -90deg; */
        height: auto;
    }
}
@media screen and (min-width: 1401px) {
    .contact-overlay-desktop {
        right: 10px;
    }
}


/* Footer - Menu Styling (Shortcode) */
.site-footer ul {
    list-style: none;
    margin: 0 0 1.5em 0;
}
.site-footer ul a {
    color: var(--contrast);
}

/* Abstand Listenpunkte */
.gb-container ol,
.gb-container ul {
    margin: 0 0 1.5em 1em;
}



/* SEITEN */
/* Home - Video */
.background-video {
    position: absolute;
    opacity: 1;
}
video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}





/* PLUGINS */
/* Carousel Slider */
.wp-block-cb-carousel .slick-slide {
    padding-left: 40px;
    padding-right: 40px;
}
.wp-block-cb-carousel .slick-dots {
    bottom: unset;
}

/* Contact Form 7 - Feld-Stile */
.wpcf7-form-control.wpcf7-textarea {
    max-height: 175px;
}
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    width: 100%;
}
.wpcf7-list-item {
    margin-left: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    background-color: #f7f7f7;
    border-color: var(--contrast-2);
}

/* Contact Form 7 - Button */
.wpcf7-form-control.wpcf7-submit {
    border-radius: 5px;
}


/* Contact Form 7 - Column Grid */
.dwp-form {
    width: 100%;
    margin: 0 auto;
}
.dwp-form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.dwp-form-row .wpcf7-form-control,
.wpcf7-form label {
    width: 100%;
}
.dwp-form-column {
    flex: 1;
    padding: 0.5rem 0;
    width: 100%;
}
.dwp-form-column:first-of-type {
    padding-left: 0;
}
.dwp-form-column:last-of-type {
    padding-right: 0;
}
 
/* CF7 Grid - Desktop Ansicht */
@media only screen and ( min-width: 48em ) { 
    .dwp-form-row {
        flex-direction: row;
    }
    .dwp-form-column {
        padding: 0.5rem 1rem;
    }
}