/* ========================= GENERAL STYLES ========================= */
body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: ' Arial, sans-serif;
    color: #050567;
    background-color: #FFFFFF;
}

/* ========================= HEADER STYLES ========================= */
header {
    background-color: #050567;
    padding: 0em; /* Rahmen um Bannerbild */
}


.header-banner {
    background-image: url('../img/banner_1200_250.jpg'); /* Pfad zum Bannerbild */
    background-size: cover; /* Das Bild so skalieren, dass es den gesamten Bereich abdeckt */
    background-position: center; /* Bild zentrieren */
    height: 250px; /* Höhe des Banners anpassen */
    width: 100%; /* Breite des Banners */
    position: relative; /* Ermöglicht die absolute Positionierung des Textes */
}

.header-banner bannertext {
    color: white; /* Textfarbe */
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; /* Textschatten für bessere Lesbarkeit */
    position: absolute; /* Damit der Text über dem Banner angezeigt wird */
    bottom: 20px; /* Positionierung des Titels */
    left: 20px; /* Abstand von links */
}


@media (max-width: 400px) {
    .header-banner {
        background-image: url('../img/banner_500_250.jpg'); /* Pfad zum kleinen Bild */
        height: 220px; /* Höhe des kleinen Banners */
    }

    header h1 {
        bottom: 10px; /* Positionierung des Titels für mobile Ansicht */
        left: 10px; /* Abstand von links */
    }
}

header h1 {
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

h2 {
    font-size: 2rem; /* Desktop */
    color: #555555; 
}



@media only screen and (max-width: 768px) {
    body {
        font-size: 0.8rem; /* Mobile */
    }

    h1 {
        font-size: 1rem; /* Mobile */
    }

    h2 {
        font-size: 0.8rem; /* Mobile */
    }
}

 
 
 
 
 
 
 /* ========================= NAVIGATION STYLES ========================= */

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav > ul {
    display: flex;
    flex-direction: row; /* Horizontale Navigation */
}

nav li {
    position: relative;
    margin: 0; /* Verhindere Verschiebungen */
}

/* Feste Höhe für Links, um Layout-Verschiebungen zu vermeiden */
nav a {
    display: block;
    padding: 10px 15px; /* Genügend Platz für den Link */
    height: 20px; /* Feste Höhe für Stabilität */
    color: white;
    background-color: #050567;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    color: #000000;
    background-color: #D1EEEE; /* Hintergrundfarbe beim Hover */
}

/* Untermenü-Styles */
nav .submenu {
    display: none; /* Standardmäßig ausblenden */
    position: absolute; /* Untermenü über dem normalen Inhalt */
    left: 0; /* Ausrichten */
    top: 100%; /* Direkt unter dem Hauptmenü */
    background-color: #050567; /* Hintergrundfarbe für das Untermenü */
}

nav li:hover .submenu {
    display: block; /* Untermenü anzeigen bei Hover */
}

/* Stil für benutzerdefinierte Body Links */
.body-link {
    color: #050567; /* Standardfarbe für Links */
    text-decoration: none; /* Keine Unterstreichung */
    font-weight: bold; /* Fettdruck */
}

/* Hover-Effekt für benutzerdefinierte Links */
.body-link:hover {
    color: #000000; /* Farbe beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover */
}


/* Stil für benutzerdefinierte Links */
.custom-link {
    color: #ffffff; /* Standardfarbe für Links */
    text-decoration: none; /* Keine Unterstreichung */
    font-weight: bold; /* Fettdruck */
}

/* Hover-Effekt für benutzerdefinierte Links */
.custom-link:hover {
    color: #2980b9; /* Farbe beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Ausrichtung für Links - links */
.align-left {
    text-align: left; /* Textausrichtung nach links */
}

/* Ausrichtung für Links - rechts */
.align-right {
    text-align: right; /* Textausrichtung nach rechts */
}

/* Zusätzliche Anpassungen */
.align-center {
    text-align: center; /* Textausrichtung in der Mitte */
}





/* ========================= MOBILE STYLES ========================= */
@media (max-width: 719px) {
    nav ul {
        flex-direction: column;
        display: none; /* Initially hide the menu */
    }
    nav:hover > ul {
        display: block; /* Show the menu on hover */
    }
    nav li:hover > .submenu {
        display: block; /* Show submenu on hover */
    }
}

/* ========================= DESKTOP STYLES ========================= */
@media (min-width: 720px) {
    nav > ul {
        flex-direction: row;
        justify-content: space-around;
    }
    nav li {
        margin: 0;
    }
    nav .submenu {
        display: none; /* Hide submenus */
    }
    nav li:hover .submenu {
        display: block; /* Show submenu on hover */
    }
}


/* ========================= NAVIGATION STYLES ========================= */
nav {
    position: relative;
}

/* Stile für mobile Navigation */
.mobile-menu-toggle {
    display: none; /* Standardmäßig ausblenden */
    background-color: #050567;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

@media (max-width: 719px) {
    .mobile-menu-toggle {
        display: block; /* Button nur auf mobilen Geräten anzeigen */
    }

    nav > ul {
        display: none; /* Standardmäßig ausblenden */
        flex-direction: column;
        background-color: #050567;
        padding: 10px;
    }

    nav > ul.visible {
        display: flex; /* Menü anzeigen, wenn die Klasse 'visible' hinzugefügt wird */
    }
}



/* Untermenü-Styles für Handy */
nav .submenu {
    display: none; /* Standardmäßig ausblenden */
    position: absolute; /* Untermenü über dem normalen Inhalt */
    left: 0; /* Ausrichten */
    top: 100%; /* Direkt unter dem Hauptmenü */
    background-color: #050567; /* Hintergrundfarbe für das Untermenü */
}

nav li:hover .submenu {
    display: block; /* Untermenü anzeigen bei Hover */
}

/* Mobile Styles für das Untermenü */
@media (max-width: 719px) {
    nav li {
        position: relative; /* Notwendig für das Untermenü */
    }
    nav .submenu {
        position: static; /* Positionierung ändern für mobile Ansicht */
        display: none; /* Standardmäßig ausblenden */
        background-color: #050567; /* Hintergrundfarbe für das Untermenü */
    }
    nav li.active .submenu {
        display: block; /* Untermenü anzeigen, wenn aktiv */
    }
}







/* ========================= DESKTOP STYLES ========================= */
@media (min-width: 720px) {
    nav > ul {
        display: flex;
        flex-direction: row;
    }
    nav > ul.visible {
        display: flex; /* Für Desktop, falls benötigt */
    }

    nav li {
        margin: 0;
    }
}

.mobile-menu-toggle {
    display: none; /* Standardmäßig ausblenden */
    background: none;
    border: none;
    cursor: pointer;
}

/* Hamburger-Striche */
.bar {
    display: block;
    width: 30px; /* Breite der Striche */
    height: 3px; /* Höhe der Striche */
    background-color: white; /* Farbe der Striche */
    margin: 5px 0; /* Abstand zwischen den Strichen */
}

@media (max-width: 719px) {
    .mobile-menu-toggle {
        display: block; /* Button nur auf mobilen Geräten anzeigen */
    }
}



/* ========================= Einrücken von spezifischen Elementen ======================== */

main {
    margin: 0 auto;
    padding: 5px; /* Gesamtabstand um den Hauptinhalt */
}

section {
    margin: 2px; /* Abstand um das section-Element */
    padding: 10px; /* Innenabstand für das section-Element */
    background-color: #F9F9F9; /* Hintergrundfarbe für das section-Element */
}

aside {
    margin: 2px; /* Abstand um das aside-Element */
    padding: 10px; /* Innenabstand für das aside-Element */
    background-color: #F9F9F9; /* Hintergrundfarbe für das aside-Element */
}
 
 
 
 
 
 
 
 
 
 
/* ========================= SHOP STYLES ========================= */ 
 
 
.txt-heading {
	margin: 15px 0px;
	text-align: left;
    background: #EFF8FB;
    padding: 0px 0px;
    overflow: auto;
}

.txt-heading-b {
	margin: 0px 0px;
	text-align: center;
    overflow: auto;
}



.txt-heading-c {
	text-align: center;
}

a:hover, a:focus {
  color: #000000;
  //background: #ffffff; /* Hintergrundfarbe beim Hover */
}

a:focus,
a:hover {
  color: #000000;
  //background: #ffffff;
}

#shopping-cart .txt-heading {
    border-top: #555555 2px solid;
    background: #FFFFFF;
    border-bottom: #555555 2px solid;
    
}

.txt-heading-label {
	display: inline-block;
}

#shopping-cart .txt-heading .txt-heading-label{
	margin-top:5px;
	
	
}

.btnAddAction {
    padding: 3px 10px;
    cursor: pointer;
    border: #555555 1px solid;
    background: #EFF8FB;
}

.cart-item {
	border-bottom: #555555 1px dotted;
	padding: 10px;
}

.cart-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    vertical-align: middle;
}

#product-grid {
	margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
}

.product-item {
    display: inline-block; /* Zeigt die Items nebeneinander an */
    margin: 6px; /* Abstand zwischen den Items */
    border: #555555 1px solid; /* Rahmen um die Items */
}
@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(100% - 12px); /* Jedes Item nimmt 100% der Breite ein */
    }
}


.product-title {
    position: absolute;
    bottom: 0px;
    color: #ffffff; /* Textfarbe */
    background: #050567; /* Hintergrundfarbe */
    width: 100%;
    padding: 5px 0px; /* Innenabstand oben und unten */
}

.product-title a {
    color: #ffffff; /* Link-Farbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

.product-title a:hover {
    color: #ffcc00; /* Farbe beim Hover (z. B. Gelb) */
    text-decoration: underline; /* Unterstreichung beim Hover */
}



.product-image {
    height: 200px; /* Höhe für Desktop */
    width: 180px; /* Breite für Desktop */
    position: relative; /* Positionierung für nachfolgende Elemente */
}

@media (max-width: 768px) {
    .product-image {
        height: 200px; /* Höhe automatisch anpassen */
        width: 100%; /* Breite auf 100% setzen */
        max-width: 180px; /* Maximalbreite, um das ursprüngliche Layout nicht zu überschreiten */
    }
}


.product-image img {
	width:100%;
    height: 130px;
}

.product-footer {
    padding: 10px 10px 10px;
    overflow: auto;
}
.float-left {
	float:left;
}
.float-right {
	float:right;
}
.align-right {
	text-align: right;
}

.input-cart-quantity {
    padding: 1px;
    margin: 0;
    vertical-align: top;
    border: #555555 1px solid;
    border-right: 0px;
    width:35px;
    color: #000000;
}
.cart-info {
	text-align: right; 
	display:inline-block;
	width:15%;
    font-size: 0.8em;
}
.cart-info.title {
	width:100%;
	text-align: left;
	color: #050567;
}
.cart-info.price {
        color: #000000;
	min-width:20%;
	position:relative;
}
.cart-info.action {
	width: 5%;
    float: right;
    padding: 5px 0px;
}
.cart-item-container {
	padding: 5px 5px;
    border-bottom: #555555 1px solid;
}
.cart-status {
	color: #000000;
    float: right;
    font-size: 0.8em;
    padding: 0px 5px;
    line-height: 18px;
} 
#btnEmpty img{
	margin-top:6px;
	cursor:pointer;
}

.cart-item-container.header {
	background: #EFF8FB;
    border-bottom: #555555 1px solid;    
    font-weight: bold;
}
.btn-action {
    margin: 10px 0px 10px;
    padding: 10px 10px;
    font-size: 1em;
    background: #EFF8FB;
    border: #555555 1px solid;
    color: #000000;
    cursor: pointer;
}
.frm-customer-detail {
    background: #EFF8FB;
    padding: 10px;
}

.frm-heading {
	margin: 10px 0px 0px;
	text-align: left;
    background: #EFF8FB	;
    padding: 10px;
}

.input-field {
	display:inline-block;
	margin:10px 0px;
}

.input-field input {
	margin-right:0px;
	padding:10px;
	min-width:200px;
}

.success {
	margin-top: 20px;
    background: #EFF8FB;
    padding: 15px;
    border: #000000 1px solid;
}
.btn-continue {
    margin: 20px 0px 20px;
    padding: 10px 20px;
    font-size: 1em;
    background: #EFF8FB;
    border: #555555 1px solid;
    color: #000000;
    cursor: pointer;
}

.product-price {
    font-size: 1em;
    color: #000000;
}
/* ========================= SHOP STYLES ENDE========================= */ 
 




/* ========================= FOOTER STYLES ========================= */

footer {
    text-align: center;
    padding: 1em;
    background-color: #050567;
    color: white;
}

