/* you can add your own custom css here if you don't want to worry about SASS/SCSS */
/*footer und header*/

#site-footer {
  color: #000000;
}
/* Desktop-Logo */
#site-title {
    height: 120px;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: black;
    display: block;
    width: 100%;
}

div.site-header {
    color: whitesmoke;
    background-color: black;
}
.floating-header-module {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    color: white;
}

/* Optional: Logo mittig auf allen Bildschirmgrößen */
#site-title {
    display: inline-block;
}

/* Zeile zentrieren und ausrichten */
#main-header {
    position: relative;
    z-index: 10;
  background-color: #000;
}

/*Allgemeines*/
#main-area {
    padding-top: 20px;
	background-color: whitesmoke;
    width: 100%;
}

#mietenfrontendfields {
    width: 40%;
    float: left;
}

/* Standard Layout: Beide DIVs nebeneinander */
#mietenfrontendfields, #mietenfrontendkonditionen {
    display: inline-block;
    vertical-align: top;
    width: 48%; /* Passe die Breite an, falls nötig */
    margin: 1%;
}

/* Wenn der Bildschirm kleiner als 1000px ist */
@media (max-width: 1000px) {
    #mietenfrontendfields, #mietenfrontendkonditionen {
        display: block; /* Block-Layout für beide DIVs */
        width: 100%; /* Volle Breite */
        margin: 0; /* Kein Abstand links/rechts */
    }
}





.container-header {
    background-color: #ebf2fa;
    background-image: none;
}
   .container-header .mod-menu {
    color: #000000;
    font-size: 1.5rem;
    flex: unset;
   }
   .container-header .navbar-toggler {
    color: #db504a;
    border: 1px solid #db504a;
   }
   .redTitle .module_header h3 {
    color: #D80000;
}
.nav-item:hover {
    /* background-color: #ebf2fa; */
    background-image: none;
    color: #bdbdbd;
  }
a.nav-link:hover {
    color: #bdbdbd;
    /* background-color: #ebf2fa;*/
  /*color: black;*/
}

.menu li.active a {
    color: #bdbdbd;
    
}

.nav {
    color:#D80000;
}

.nav-link{
    color:#D80000;
    
}
.mobileNavOpen{
    display: none;
}
#hamburgermenu {display: none}

/* ==========================================================================
MOBILE BUTTON
========================================================================== */
/* Adds a overlay to the page when button clicked */
/*.mobileNavOpen:before { background-color: rgba(255,255,255,0.5); content: ""; width: 100%; position: fixed; height: 100%; z-index: -1;}*/
.mobileNavOpen:before { content: ""; width: 100%; position: fixed; height: 100%; z-index: -1;}

/* Hide it from all views/devices for the time being */
.mobileNavButtonWrapper { float: right; display:none; }

#mobileNavButton {
/*background-color: #046;*/
padding: 10px;
border-radius: 5px;
width: 20px;
text-align: center;
cursor: pointer;
color: black;
font-size: 3.5em;
}

/* Change the colour when the button is clicked */
.mobileNavOpen #mobileNavButton { background-color: #0088cc; }


/* ==========================================================================
MOBILE NAVIGATION STYLES
========================================================================== */
.mobileNavOpen .nav {
position: absolute;
right: 0px;
top: 50px;
width: 100%;
display: none;
background-color: #0088cc;
border-radius: 5px;
padding: 5px;
}

/* Creates the triangle at the top of the menu */
.mobileNavOpen .nav:before {
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 15px 10px 15px;
border-color: transparent transparent #0088cc transparent;
position: absolute;
top: -8px;
right: 5px;
}
.mobileNavOpen .nav li { width: 100%; margin: 0px !important; }
.mobileNavOpen .nav li a { font-size: 1.4em; text-transform: uppercase; color: black; }
.mobileNavOpen .nav li a:hover { border-radius: 5px; color: black; }
#hamburgermenu .nav-link:hover { color: black; }

@media only screen and (min-width: 120px) and (max-width: 1000px) {
    /*// CSS GOES HERE LIKE THIS */
    .mobileNavButtonWrapper { display:block; } /* Displays the mobile button */
    .navbar { display: none; } /* hides off the navigation */
    #main-header {
        text-align: center;
        background-color: black;
        padding: 1rem;
      color: whitesmoke;
    }

    #main-header .col-12 {
        text-align: center !important;
    }

    #site-title {
        height: 100px;
        background-size: 60%;
    }

    #main-header .small {
        text-align: center !important;
        font-size: 13px;
    }
   }