/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ROBOTO */

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 400;
	src: url("Fonts/Roboto/Roboto-Regular.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 100;
	src: url("Fonts/Roboto/Roboto-Thin.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: italic;
    font-weight: 100;
	src: url("Fonts/Roboto/Roboto-ThinItalic.ttf") format("ttf");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 300;
	src: url("Fonts/Roboto/Roboto-Light.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: italic;
    font-weight: 300;
	src: url("Fonts/Roboto/Roboto-LightItalic.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 500;
	src: url("Fonts/Roboto/Roboto-Medium.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: italic;
    font-weight: 500;
	src: url("Fonts/Roboto/Roboto-MediumItalic.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 700;
	src: url("Fonts/Roboto/Roboto-Bold.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: italic;
    font-weight: 700;
	src: url("Fonts/Roboto/Roboto-BoldItalic.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: normal;
    font-weight: 900;
	src: url("Fonts/Roboto/Roboto-Black.ttf") format("truetype");
   font-display: swap;
}

@font-face{
	font-family:"Roboto";
    font-style: italic;
    font-weight: 900;
	src: url("Fonts/Roboto/Roboto-Italic.ttf") format("truetype");
   font-display: swap;
}


html {
  scroll-behavior: smooth;
}

.background-video {
    /* position: absolute; */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
	width: 100%;
}

.background-video-content {
    position: relative;
    z-index: 1;
}

video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

input[type=submit].wpcf7-submit {
	border: 2px solid #005E42;
}

.gb-button:hover {
	cursor: pointer;
}

@media(min-width: 769px) {
    .main-navigation .main-nav ul li:hover > a,
    .main-navigation .main-nav ul li[class*="current-menu-"] > a {
        text-decoration: underline;
    }
}

.reverse-icon .gb-headline-text{
	order: -1;
	margin-right: 10px;
}

.page-id-956 .header_contact_button {
	display: none;
}

.wpcf7-form a {
	color: #005E42;
	text-decoration: underline;
}

.wpcf7-acceptance > span {
	margin-left: 0;
}

.wpcf7-form input[type=submit] {
	display: inline-flex;
	padding: 15px 20px;
    border-style: solid;
    border-width: 2px;
}

.contact_button_team {
	color: #FFFFFF !important;
}

.start-header-video-container {
    position: absolute !important;
}

@media (max-width: 768px) {
    .has-sticky-branding.main-navigation.navigation-stick {
        padding-left: 30px;
        padding-right: 30px;
    }

    #generate-slideout-menu .inside-navigation {
        padding-left: 10px;
    }

    #generate-slideout-menu #menu-hauptmenue-1 li a {
        font-size: 18px;
    }
	
	.mobile-menu-control-wrapper .menu-toggle {
		background-color: transparent;
	}

    .contact_button {
        margin-right: 30px;
    }

    .mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover {
        background-color: transparent;
    }

    .page-id-956 .gb-container-b1da1bc8.gb-has-dynamic-bg:before {
        background-position: right;
    }

    #mobile-menu-control-wrapper .menu-bar-items, .has-sticky-branding .menu-bar-items {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0px);
    }
}

.offside--right {
    transform: translate3d(0,0,0);
}

/* #generate-slideout-menu:before {
    position: absolute; 
    width: 100%;
    height: 100%;
    content:'';
    background-image: url('https://pb-dernbach.de/wp-content/uploads/2023/07/menu-background.png');
    background-position: center center;
    background-size: cover;
    opacity: .3;
} */

/* 
    .offside--right.is-open,
    .offside-js--is-right .offside-sliding-element {
        -webkit-transform: translate3d(-70vw, 0, 0) !important;
        -moz-transform: translate3d(-70vw, 0, 0) !important;
        -ms-transform: translate3d(-70vw, 0, 0) !important;
        -o-transform: translate3d(-70vw, 0, 0) !important;
        transform: translate3d(-70vw, 0, 0) !important;
    }

    .main-navigation.offside {
        width: 70vw !important;
    }


    .offside--right {
        right: -70vw !important;
    }

    .offside-js--is-right.slide-opened .slideout-overlay button.slideout-exit {
        right: auto !important;
    } */


.error404 .site-main#main {
    margin-top: 100px;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 100px;
}

#primary-menu #menu-hauptmenue li.current-menu-item > a {
	font-weight: bold;
}
