/* CSS überschreibt Standardt-CSS 
Stand: 10.2024, Homepage TSV Korntal e.V. 
Alle hier nicht angepassten CSS greifen auf die "main.css" zurück */

/* === INHALT			 === */
/* === 1 SCHRIFTARTEN	 === */
/* === 2 BILDER			 === */
/* === 3 Hauptfeld		 === */
/* === 4 Class allgemein === */
/* === 5 Slider Front	 === */
/* === 6 NEWS BOXES		 === */
/* === 7 FORMULARFELDER  === */
/* === 8 BUTTONS		 === */
/* === 9 Mobile CF Menü	 === */


/* ===	CI Farben: Blau: 1059a7  Rot:  df2c23	Blau-Grau (Hoover): #738BA1	Grau : F2F2F2 */
/* ===	HP Grau: FCFCFC (News-Box) */
/* https://www.farb-tabelle.de/de/farbtabelle.htm */

/* ================================================== */
/* === 1 SCHRIFTARTEN	 === */
/* ================================================== */

/* === Home-Seite  === */
.home h1 {
    font-weight:bold;
    color:#df2c23;
    background: transparent;
}
.home h2 { /* z.B. Überschirften und Spaltensysteme, alt! - wird wohl mit anderem CSS überschrieben, mulss ggf. angepasst werden*/
    color:#1059a7;

}
.home h3 {
    font-weight:bold;
}

.home h5 { /*Ünerschriften der Spaltensysteme*/
    font-weight:normal;
    color:#1059a7;
    letter-spacing:.1px;
    text-transform: uppercase;
    border-bottom: 1.1px solid #F2F2F2 ;
    padding-bottom: 4px
}

.home h6 {
    font-weight:bold;
    color:#123456;
    text-transform:uppercase;
    letter-spacing:10px;
    line-height:-1px;
}

/* === Alle weiteren Seiten  === */

h1 { 
    font-weight:bold;
    color:#1059a7;
    
}
h2 { /* Überschirften in den einzelnen Bereichen*/
    color:#df2c23;
}

h5 { /*Ünerschriften der Spaltensysteme*/
    font-weight:normal;
    color:#1059a7;
    letter-spacing:.1px;
    text-transform: uppercase;
    border-bottom: 1.1px solid #F2F2F2 ;
    padding-bottom: 4px
}


/* Sonstiges aus den alten CSS */
body {
    background-color:#eee;
}
a { /*Links auf der gesamten Homepage*/
    color:#1059a7;
}
.logo {
    padding:5px 8px;
}
.header-navigation {
    color:#1059a7;
}
.mod_eventlist {
    margin-bottom:20px;
}
.eventdate-item {
    font-size:.77778em;
    color:#8a8a8a;
    text-transform:uppercase;
}

/* ================================================== */
/* === 2 Bilder		  === */
/* ================================================== */

/* Einstellung für alle Bilder. Exkl. Startseite */
.image_container {
    border: 1;
    box-shadow: none;
    background-color: #FFFFFF;
    padding: 0px;
}

/* ================================================== */
/* === 3 Hauptfeld	  === */
/* ================================================== */


@media only screen {
  body {
    padding: 0px; /*abstand der box nach oben und unten*/
    width: 100%;
  }
}

/* Seitenbreite Page
.page {
    max-width: 60%;
}

===*/



/* ================================================== */
/* === 4 Class allg.  === */
/* ================================================== */

.tab { /*ICONS Sportangebot Startseite*/
	margin-right: 18px;
	align-items:center;
	Margin-top: -10px;
	margin-bottom:-0px;
}

@media screen and (max-width: 599px) {
.tab {
	margin-right: 18px;
	align-items:center;
	margin-bottom:12px;
	height: 40px;
	width: 40px;
}
}

.sau { /*ICONS auf Sportangebot*/
	margin-right: 18px;
	align-items:center;
	Margin-top: 3px;
	margin-bottom: -1px;
}

@media screen and (max-width: 599px) {
.sau {
	margin-right: 18px;
	align-items:center;
	margin-top: -1px;
	margin-bottom: 6px;
	height: 40px;
	width: 40px;
}
}

.cbc { /*Cookiebar-Kekcks-Bils*/
	float: left;
}

.imb { /*Gestaltung Box*/
	margin-top: -15px;
	margin-bottom: -50px;
	background-color: #FFFFFF;
	height: 20px;
}

.anb { /*Alle News Button, Position etwas nach oben */
	margin-top: -30px;
}

@media screen and (max-width: 599px) {
.anb { /*Alle News Button, Position etwas nach oben */
	margin-top: 0px;
	margin-bottom: -5px;
}
}
/*UNBEKANNT

.met {
	font-size: 1.2em;
	color: black;
	text-align: left;
}


.imm {
	margin-top: -30px;
	font-size: 1.0em;
	color: #1059a7;
	text-align: center;
}
*/ 

.int {
	margin-top: -22px;
}

.jhv { /*JHV Ankündigungsfeld auf Startseite*/
	margin-top: -30px;
	margin-bottom: -30px;
}

.info { /*Abstand DAtum in Infotafel*/
		margin-top: 0.02rem;
		margin-bottom: -0.5rem;
		font-size: 0.9em;
}


/* ================================================== */
/* === 5 Slider Front === */
/* ================================================== */

.slider_front {
            height: 120px; /* Höhe des Containers */
}

.slider_inhalt {
	 position: relative; /* Ermöglicht Verschiebungen */
            top: -35px; /* Verschiebt das Element nach oben */
}

@media screen and (max-width: 599px) { /*Gestaltung Slider --> Handy*/
.slider_front {
            height: 150px; /* Höhe des Containers */
}
}

@media screen and (max-width: 599px) { /*Gestaltung Slider --> Handy*/
.slider_inhalt {
	 position: relative; /* Ermöglicht Verschiebungen */
            top: -15px; /* Verschiebt das Element nach oben */
	}
.slider_front {
            height: 145px; /* Höhe des Containers */
            margin-top: 15px;
}
}

/* ================================================== */
/* === 6 NEWS BOXES === */
/* ================================================== */

.news-boxes { /*Hauptbox*/
	margin-top: -7px;
	background-color: #FCFCFC;
	padding: 8px;
	margin-bottom: -5px;
	height: 500px;
	font-size: 0.9em;
	}	
	.news-boxes h2 a {
    color: #1059a7; /* Textfarbe */
    font-size: 0.9em;
	}
    .news-boxes a { /*verkleinert den Link (exkl. h2) um das Weiterlesen... auszublenden*/
    color: #1059a7; /* Textfarbe */
    font-size: 0.0em;
}

@media screen and (max-width: 599px) {
	.news-boxes {
	margin-top: -7px;
	background-color: #FCFCFC;
	padding: 8px;
	margin-bottom: -5px;
	height: auto;
	}
}
	
.news-boxes_single { /*Weitere News 3-Boxen*/
	margin-top: -7px;
	background-color: #FCFCFC;
	padding: 8px;
	margin-bottom: -5px;
	height:470px;
	font-size: 0.9em;
	}
	.news-boxes_single h2 a {
    color: #1059a7; /* Textfarbe */
    font-size: 0.9em;
	}
    .news-boxes_single a { /*verkleinert den Link (exkl. h2) um das Weiterlesen... auszublenden*/
    color: #1059a7; /* Textfarbe */
    font-size: 0.0em;
}

@media screen and (max-width: 599px) {
	.news-boxes_single {
	margin-top: -7px;
	background-color: #FCFCFC;
	padding: 8px;
	margin-bottom: -5px;
	height: auto;
	}
}

.newsbox_short { /*short news Gestaltung Grundsatz*/
	margin-top: -7px;
	background-color: #FCFCFC;
	padding: 8px;
	height: 500px;
	margin-bottom: -5px;
	font-size: 0.9em;
	}
	.newsbox_short h2 a {
	font-size: 0.85em;
	margin-top: 15px;
	}
	
    .newsbox_short a { /*verkleinert den Link (exkl. h2) um das Weiterlesen... auszublenden*/
    color: #1059a7; /* Textfarbe */
    font-size: 0.0em;
    }

@media screen and (max-width: 599px) {
.newsbox_short { 
	margin-top: -22px;
	background-color: #FCFCFC;
	padding: 8px;
	height: auto;
	margin-bottom: -5px;
	font-size: 0.9em;
	}
	.newsbox_short h2 {
	font-size: 1.5em;
	margin-top: 19px;
	}
}

.newsbox_short_p { /*CSS in Plakat-Nachricht Gestaltung der Box oben in .newsbox_short*/
	margin-top: 0px;
	padding: 0px;
	font-size: 0.0em;
}

.newsbox_short_m { /*CSS in Mitglieder-Vorlage Gestaltung der Box oben in .newsbox_short*/
	margin-top: -20px;
	padding: 1px;
	font-size: 0.9em;
	}
	
.newsbox_short_n { /*CSS für normale Nachricht, Gestaltung der Box oben in .newsbox_short*/
	margin-top: -25px;
	padding: 1px;
	font-size: 0.95em; 
	}
	.newsbox_short_n a:hover {
    text-decoration: none; /* Unterstrich entfernen */
}

	
/* ================================================== */
/* === 7 FIELDSET FORMULARFELDER === */
/* ================================================== */

 .main-content fieldset { /*Breite eines Eingabefelds, Ausrichtung am Rahmen*/
	width: 100%;
 }
 
@media screen and (max-width: 599px) {
	.main-content fieldset {
		width: 100%;
	}
}

.input-fieldset { /*??*/
	border: 0px;
}

.firstformfield { /*??*/
	margin-top: -10%;
}

 /* Abstand zwischen den einzelnen Eingabefeldern in einem Formular:*/
 
.main-content form .widget {
	margin-top: 0px;
	margin-bottom: 10px;
}

@media screen and (max-width: 599px) {
	.main-content form .widget {
	margin-top: 8px;
	margin-bottom: 8px;
	}
}

 /* Erklärugstext in einem Formular: */

.explanation p,
.captcha_text p {
	margin: 0;
}

.explanation {
	font-size: 0.77778em;
	margin: -0.85714em 0 1.71429em;
	color: #8a8a8a;
	width: 100%;
}

.ffe { /*Erklärfeld im Formular glattstellen und größer darstellen*/
	font-size: 1.3em;
	color: black;
}


/* ================================================== */
/* === 8 BUTTONS ===  	-webkit-border-radius: 1.5px;
	-moz-border-radius: 1.5px;
	border-radius: 8px; */
/* ================================================== */

button,
.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block; /*kein Zeilenumbruch, bleibt im Fluss*/
	padding: 0.55556em 1.5em;
	border: 1px solid;
	border-color: #1059a7 #1059a7 #1059a7;
	-webkit-border-radius: 1.5px;
	-moz-border-radius: 1.5px;
	border-radius: 11px;
	color: #FFFFFF; /* Schriftfarbe*/
	text-align: center;
	text-decoration: none;
	text-shadow: none; /* Vorgher: 1px 1px 0 #2b3c4d; */
	font-family: 'Calibri', calibri;
	font-weight: 500; /* Halbfett */
	/*	font-weight: bold; /* Fett */
	
	background: #00FF00;
	background: -webkit-linear-gradient(#00FF00, #00FF00);
	background: -moz-linear-gradient(#00FF00, #00FF00);
	background: -o-linear-gradient(#00FF00, #00FF00);
	background: linear-gradient(#1059a7, #1059a7);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), inset 1px 1px lightslategrey, inset -1px 0 lightslategrey;
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), inset 1px 1px lightslategrey, inset -1px 0 lightslategrey;
	box-shadow: none; /* vorher: 0 0 8px rgba(0, 0, 0, 0.1), inset 1px 1px lightslategrey, inset -1px 0 lightslategrey; */
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
	border-color: #738BA1 #738BA1 #738BA1;
	background-image: -webkit-linear-gradient(#738BA1, #738BA1);
	background-image: -moz-linear-gradient(#486582, #32475a);
	background-image: -o-linear-gradient(#486582, #32475a);
	background-image: linear-gradient(#738BA1, #738BA1);
}

button:active,
.button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
	background-image: -webkit-linear-gradient(#3f5971, #3b536b);
	background-image: -moz-linear-gradient(#3f5971, #3b536b);
	background-image: -o-linear-gradient(#3f5971, #3b536b);
	background-image: linear-gradient(#3f5971, #3b536b);
}

#colorbox button,
#colorbox .button,
#colorbox input[type="submit"],
#colorbox input[type="reset"],
#colorbox input[type="button"] {
	/* Fix colorbox close button */
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.mbh {
	width: 391px;
	height: 65px;
}

@media screen and (max-width: 599px) {
	.mbh {
	width: 100%;
	height: 55px;
}
}

/*Alle Buttons in den short News sowie den Sportangeboten und "alle News" Button*/
	.s_news {
   height: 55px;
   width: 100%;
   padding: 0.3em 1.5em;
   font-size: 16px;
}

@media screen and (max-width: 599px) {
	.s_news {
	height: 55px;
	width: 100%;
	font-size: 16px;
	}
}

fbb {
            display: flex;
            justify-content: center; /* Horizontale Zentrierung */
            align-items: center; /* Vertikale Zentrierung */
}

        
 .hex-button {
            width: 130px;
            height: 135px; /* Höhe für ein Sechseck */
            background-image: url(files/opensauce/img/Unterseiten/Bild3.jpg);
            background-size: cover; /* Bild anpassen */
            background-position: center; /* Bild zentrieren */
            margin-bottom: -7px;
            background-color: #1059a7; /* Hintergrundfarbe */
            color: white; /* Schriftfarbe */
            border:  none;
            padding: 0px;
            text-align: center;
            font-size: 0.9em;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.3s;
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        }

        .hex-button:hover {
            background-color: #738BA1; /* Farbe beim Hover */
        }

/* BUTTONS ENDE */


/* ================================================== */
/* === 9 Mobile CF Menü	 = aktuell deaktiviert, da der Menübutton nciht schpn dargestellt werden kann=== */
/* ================================================== */



/* Menü-Button */
.menu-toggle {
  font-size: 30px;
  color: #333;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 15px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 999;
}


/* Das Menü */
.mobile_menu_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #333;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile_menu_wrapper.active {
  transform: translateX(0); /* Menü nach rechts verschieben */
}

.mobile_menu {
  list-style-type: none;
  padding: 0;
  margin-top: 60px; /* Abstand zum oberen Rand */
}

.mobile_menu li {
  padding: 10px;
  text-align: left;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.mobile_menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
   display: block;
  transition: background-color 0.3s ease;
}

.mobile_menu li a:hover {
  background-color: #555; /* Farbe bei Hover */
}

/* Für größere Bildschirme - Menü bleibt immer sichtbar */
@media (min-width: 768px) {
  .mobile_menu_wrapper {
    position: static;
    transform: translateX(0);
    box-shadow: none;
    display: block;
  }
  .menu-toggle {
    display: none; /* Menü-Button wird bei größeren Bildschirmen ausgeblendet */
  }
}

/* === 9 Mobile CF Menü	 ENDE === */



/* Standard: ausblenden */
.mobile-only {
  display: none;
}

/* Nur auf mobilen Geräten anzeigen */
@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }
}

