/* Header - logo & top banner */
.logo-main-container-theme2 {
    display: flex!important;
    align-items: center!important;
    position: relative!important;
    overflow: hidden;
    max-width: 280px!important;
    max-height: 250px!important;
    margin-bottom: 0!important;
}

.logo-img-container-theme2 {
    position: relative!important;
    max-width: 250px!important;
    height: auto!important;
    display: inline-block!important;
    padding: 4px!important;
}

.logo-txt-container-theme2 {
    position: relative!important;
    max-width: 60%!important;
    height: auto!important;
    display: inline-block!important;
    vertical-align: middle!important;
    padding: 2%!important;
}


.site-title-theme2 {
    color: #fff!important;
    font-size: 1.15rem!important;
    font-weight: 800!important;
    text-transform: uppercase!important;
    margin: 0!important;
}

.top-banner-theme2 a, .top-banner-theme2 img {
	max-height: 180px;
}

/* Colors */
.first-main-color {
	color: #fff;
	background-color: #961332;
}

.second-main-color {
	color: #fff;
	background-color: #6e0a28;
}

.third-main-color {
	color: #fff;
	background-color: #a3344e;
}

/* Header */
.header-box {
	border: 1px solid #fff;
	border-radius: 3px;
}

.search-button {
	border: none;
	cursor: pointer;
	border-top-left-radius: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
}

/* Dropdown arrow */
.dropdown-toggle::after {
	vertical-align: 0 !important;
}

/* Nav items */
.my-nav-item {
	padding-bottom: .5rem !important;
	padding-top: .5rem !important;
	padding-left: .2rem !important;
	padding-right: .2rem !important;
}

.my-nav-item .nav-link {
	color: #fff !important;
}

.my-nav-item:hover, .my-nav-item:active, .my-nav-item.active, .my-nav-item.show {
	background-image: linear-gradient(#b01f41, #971332);;
}

/* Dropdown menu */
.dropdown-menu.show {
	border: none;
	display: block;
}

.dropdown-menu.show .dropdown-item {
	width: auto !important;
	color: #fff;
	padding: 1.5% 0;
}

#sub-menu {
	min-height:50px;
	height:100%;
}

#sub-menu .dropdown-item {
	width: auto !important;
	color: #fff;
}

.dropdown-toggle::after {
    display: none !important;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-menu.show .dropdown-item:hover, 
.dropdown-menu.show .dropdown-item:active, 
.dropdown-menu.show .dropdown-item .active,
.dropdown-menu.show .dropdown-item:focus {
	color: #bababa;
	background-color: transparent;
	box-shadow: none;
}

#sub-menu .dropdown-item:hover, 
#sub-menu .dropdown-item:active, 
#sub-menu .dropdown-item .active,
#sub-menu .dropdown-item:focus {
	color: #bababa !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Frontpage Main news */
.home-news-container {
	height: 450px;
}

.left-news-container {
	width: 50%;
	height: 100%;
	float: left;
	margin-right:0.5%
}

.right-news-container {
	width: 49.5% !important;
	height: 100% !important;
	float: left !important;
}

.right-bottom-news-container {
	width: 100%;
	height: 49.5%;
	float: left;
	margin-top: 1%
}

.first-news-container {
	position: relative;
	width: 100%;
	height: 100%;
	margin-right:0.5%;
	overflow: hidden;
}


.second-news-container {
	position:  relative;
	width: 100%;
	height: 49.5%;
	float: left;
	overflow: hidden;
}

.third-news-container {
	position: relative;
	width: 49.5%;
	height: 100%;
	float: left;
	overflow: hidden;
	margin-right:1%;
}

.fourth-news-container {
	position: relative;
	width: 40.5%;
	height: 100%;
	float: left;
	overflow: hidden;
}

.news-link {
	width:auto;
	height: 100%;
}

.second-news-container .news-link {
	width:auto;
	height: 100%;
}

.news-img-container {
	display: block;
	margin: auto;
}

.first-news-img {
	position: absolute;
	width: 100%;
	max-height: 150%;
	flex-shrink: 0; 
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
	transition: all 0.5s !important;
	max-width: none !important;
}

.second-news-img {
	position: absolute;
	width: 100%;
	height: 150%;
	flex-shrink: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s !important;
}

.third-news-img, .fourth-news-img {
	position: absolute;
	width: 100%;
	max-height: 100%;
	flex-shrink: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s !important;
	max-width: none !important;
}

.first-news-txt-container {
	position: absolute;
	bottom: 2.5%;
	left: 2%;
	width: 60%;
}

.second-news-txt-container {
	position: absolute;
	bottom: 5%;
	left: 2%;
	width: 60%;
}

.third-news-txt-container, .fourth-news-txt-container {
	position: absolute;
	bottom: 5%;
	left: 4%;
	width: 75%;
}

.front-news-tag {
	background-color: #6e0a28 !important;
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	font-weight: 650 !important;
}

.front-news-heading {
	background-color: #010101 !important;
	color: #c8c8c8 !important;
}

.first-news-txt-container h5 {
	font-size: 1.2rem !important;
}

.second-news-txt-container h5 {
	font-size: 1rem !important;
}

.third-news-txt-container h5, .fourth-news-txt-container h5 {
	font-size: .9rem !important;
}
	
.first-news-txt-container p.news-tag {
	font-size: 1rem !important;
}

.second-news-txt-container p.news-tag {
	font-size: .85rem !important;
}

.third-news-txt-container p.news-tag, .fourth-news-txt-container p.news-tag {
	font-size: .75rem !important;
}
 
a:hover .front-news-heading {
	color: #fff !important;
	text-shadow: 1px 1px 1px #c8c8c8 !important;
	transition: all 1s !important;
}

a:hover .first-news-img, 
a:hover .third-news-img, 
a:hover .fourth-news-img {
	max-height: 380% !important;
	transition: all 2s !important;
}

a:hover .second-news-img {
	max-width: 150% !important;
	transition: all 2s !important;
}

/* Team groups */
.team-groups-box-menu {
	flex-grow: 0 !important;
	background-color: #6e0a28;
	border: 2px solid #6e0a28;
	border-radius: 0 !important;
	width: 135px !important;
	height: 135px !important;
	margin-bottom: 2% !important;
}

.card-txt-team-groups {
	display: flex;
	height: 100%;
    justify-content: center;
    align-items: center;
}

.submenu-container-theme2 > .team-groups-box-menu:first-child {
	margin-left: 0 !important;
}

.submenu-container-theme2 > .team-groups-box-menu:last-child {
	margin-right: 0 !important;
}

.team-groups-box-menu > a p {
	color: #e8e8e8;
	margin-bottom: 0 !important;
	border-top: 1px solid #e8e8e8 ;
	border-bottom: 1px solid #e8e8e8;
	padding: 35px 0;
	width: 80%;
	transition: all 0.2s !important;
}

.team-groups-box-menu > a:hover p,
.team-groups-box-menu.active p {
	padding: 15px 0;
	color: #ffffff;
	border-top: 1px solid #ffffff ;
	border-bottom: 1px solid #ffffff;
	transition: all 0.2s !important;
}

.team-groups-box-menu:hover p {
	color: #ffffff;
}

.team-groups-box-menu > a:hover {
	text-decoration: none !important;
}

.top-body-ad-banner-theme2 {
	max-width: 730px;
	max-height: 250px;
}

/* Next game table */
.next-game-table {
	background-image: linear-gradient(115deg, #961332 50%, #6e0a28 50%);
	color: #fff;
}

.next-game-team-logo-theme2 {
	max-width: 100px;
	max-height: 100px;
	padding: 5px;
}

.upcoming-match-item {
	width: 30%;
}

/* Scores table */
.teams-score-select-menu {
	height: calc(2.25rem + 2px) !important;
	border: none;
	border-radius: 0;
	border: 1px solid #fff;
	width: 75%;
}

select.teams-score-select-menu {
	text-align-last: center;
	padding-right: 29px;
	color: #fff !important;
	background-color: #6e0a28 !important;
}

select.teams-score-select-menu:focus {
	-webkit-box-shadow: none !important;
    box-shadow: none !important;
	outline: none !important;
	border-color: #fff !important;
}

.team-score-table th:not(:nth-child(3)), .team-score-table td:not(:nth-child(3)) {
	min-width: 50px;
	text-align: center;
    vertical-align: middle !important;
}

.team-score-table th:nth-child(3), .team-score-table td:nth-child(3) {
	min-width: 220px;
	text-align: left;
    vertical-align: middle !important;
}

.team-score-table thead tr {
	color: #626267;
	background-color: #d8d8d8;
	font-weight: 600;
}

.team-score-table tbody tr {
	color: #626267;
	background-color: #f4f4f4;
	font-weight: 450;
}

.team-score-table tbody tr:hover {
	color: #fff;
	background-color: #a3344e;
}

.home-main-txt-paragraph {
	background-color: #f4f4f4;
}

/* Sponsors */
.home-top-sponsors img {
	max-height: 250px;
	width: auto;
}

.home-other-sponsors img {
	max-height: 120px;
	width: auto;
}

/* Social links */
.home-social-links a {
	text-decoration: none;
	color: #fff;
}

.home-social-links a:hover, .home-social-links a:active, .home-social-links a:focus {
	text-decoration: none;
	color: #bababa;
}

/* Social embed */
.inst-imgs-container {
	width: 350px;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
}

.insta-link {
	dispaly: block;
	width: 33%;
	height: auto;
}

.inst-img, .inst-img img {
	display: block;
	width: 100%;
	height: auto;
	padding: 2%;
}

.social-embed {
	height: 100%;
}

/* Footer */
.footer-theme2 {
	border-top: 5px solid #6e0a28;
}

.footer-theme2 a {
	color: #ffffff;
}

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: 1px solid #ffffff;
  outline: none;
  background-color: #961332;
  color: #ffffff;
  cursor: pointer;
  padding: 15px;
}

#scrollToTop:hover {
  background-color: #6e0a28;
}


/*** Media Styles ***/
@media (max-width: 575px) {
	/* Frontpage Main news */
	.home-news-container {
		height: 650px;
	}

.col-sm-12 {
    flex: 0 0 50%; /* Make the column half width for small devices */
    max-width: 100%;
    margin: center; /* Center the column */
  }
  
	.left-news-container {
		width: 100%;
		height: 25%;
		float: left;
		margin-right: 0%;
		margin-bottom: 1%;
	}

	.right-news-container {
		width: 100% !important;
		height: 75% !important;
		float: left !important;
	}

	.right-bottom-news-container {
		width: 100%;
		height: 66%;
		float: left;
		margin-top: 1%
	}

	.first-news-container {
		position: relative;
		width: 100%;
		height: 100%;
		margin-right:0.5%;
		overflow: hidden;
	}


	.second-news-container {
		position: relative;
		width: 100%;
		height: 33%;
		float: left;
		overflow: hidden;
	}

	.third-news-container {
		position: relative;
		width: 100%;
		height: 50%;
		float: left;
		overflow: hidden;
		margin-right:0%;
		margin-bottom: 1%;
	}

	.fourth-news-container {
		position: relative;
		width: 100%;
		height: 50%;
		float: left;
		overflow: hidden;
	}

	.first-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0; 
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		transition: all 0.5s !important;
	}

	.second-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}

	.third-news-img, .fourth-news-img {
		position: absolute;
		width: 100%;
		max-height: 100%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}
	
	.first-news-txt-container h5 {
		font-size: .9rem !important;
	}

	.second-news-txt-container h5 {
		font-size: .9rem !important;
	}

	.third-news-txt-container h5, .fourth-news-txt-container h5 {
		font-size: .9rem !important;
	}
		
	.first-news-txt-container p.news-tag {
		font-size: .75rem !important;
	}

	.second-news-txt-container p.news-tag {
		font-size: .75rem !important;
	}

	.third-news-txt-container p.news-tag, .fourth-news-txt-container p.news-tag {
		font-size: .75rem !important;
	}
	
	.first-news-txt-container {
		position: absolute;
		bottom: 5.5%;
		left: 4%;
		width: 75%;
	}

	.second-news-txt-container {
		position: absolute;
		bottom: 5%;
		left: 4%;
		width: 75%;
	}
	
	a:hover .third-news-img, 
	a:hover .fourth-news-img {
		max-height: 400% !important;
		transition: all 1s !important;
	}

	a:hover .first-news-img, 
	a:hover .second-news-img {
		max-height: 400% !important;
		transition: all 1s !important;
	}
}

@media screen and (orientation: landscape) and (max-width: 767.98px) {
	.top-banner-theme2 a, .top-banner-theme2 img {
		max-height: 100%;
	}
	
	.col-sm-12 {
    flex: 0 0 50%; /* Make the column half width for small devices */
    max-width: 70%;
    margin: center; /* Center the column */
  }
  
	.logo-main-container-theme2 {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

@media (min-width:576px) and (max-width:767px) {
	/* Frontpage Main news */
	.home-news-container {
		height: 650px;
	}

	.left-news-container {
		width: 100%;
		height: 33%;
		float: left;
		margin-right: 0%;
		margin-bottom: 1%;
	}

	.right-news-container {
		width: 100% !important;
		height: 66% !important;
		float: left !important;
	}

	.right-bottom-news-container {
		width: 100%;
		height: 50%;
		float: left;
		margin-top: 1%
	}

	.first-news-container {
		position: relative;
		width: 100%;
		height: 100%;
		margin-right:0.5%;
		overflow: hidden;
	}


	.second-news-container {
		position: relative;
		width: 100%;
		height: 49.5%;
		float: left;
		overflow: hidden;
	}

	.third-news-container {
		position: relative;
		width: 49.5%;
		height: 100%;
		float: left;
		overflow: hidden;
		margin-right:1%;
	}

	.fourth-news-container {
		position: relative;
		width: 49.5%;
		height: 100%;
		float: left;
		overflow: hidden;
	}

	.first-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0; 
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		transition: all 0.5s !important;
	}

	.second-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}

	.third-news-img, .fourth-news-img {
		position: absolute;
		width: 100%;
		max-height: 120%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}
	
	.first-news-txt-container h5 {
		font-size: 1rem !important;
	}

	.first-news-txt-container p.news-tag {
		font-size: .85rem !important;
	}
	 
	a:hover .third-news-img, 
	a:hover .fourth-news-img {
		max-height: 250% !important;
		transition: all 1s !important;
	}

	a:hover .first-news-img, 
	a:hover .second-news-img {
		max-height: 400% !important;
		transition: all 1s !important;
	}
	
	/* Sponsor logo */
	.top-sponsor-logo {
		max-width: 70%;
		height: auto;
	}
	
	.other-sponsor-logo {
		max-width: 40%;
		height: auto;
	}
}

@media (min-width:768px) and (max-width:991px) {
	/* Frontpage Main news */
	.home-news-container {
		height: 650px;
	}
	
	.col-sm-12 {
    flex: 0 0 50%; /* Make the column half width for small devices */
    max-width: 70%;
    margin: center; /* Center the column */
  }

	.left-news-container {
		width: 100%;
		height: 33%;
		float: left;
		margin-right: 0%;
		margin-bottom: 1%;
	}

	.right-news-container {
		width: 100% !important;
		height: 66% !important;
		float: left !important;
	}

	.right-bottom-news-container {
		width: 100%;
		height: 50%;
		float: left;
		margin-top: 1%
	}

	.first-news-container {
		position: relative;
		width: 100%;
		height: 100%;
		margin-right:0.5%;
		overflow: hidden;
	}


	.second-news-container {
		position: relative;
		width: 100%;
		height: 49.5%;
		float: left;
		overflow: hidden;
	}

	.third-news-container {
		position: relative;
		width: 49.5%;
		height: 100%;
		float: left;
		overflow: hidden;
	
	}

	.fourth-news-container {
		position: relative;
		width: 49.5%;
		height: 100%;
		float: left;
		overflow: hidden;
	}

	.first-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0; 
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		transition: all 0.5s !important;
	}

	.second-news-img {
		position: absolute;
		width: 100%;
		max-height: 150%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}

	.third-news-img, .fourth-news-img {
		position: absolute;
		width: auto;
		max-height: 120%;
		flex-shrink: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: all 0.5s !important;
	}
	 
	a:hover .third-news-img, 
	a:hover .fourth-news-img {
		max-height: 150% !important;
		transition: all 1s !important;
	}

	a:hover .first-news-img, 
	a:hover .second-news-img {
		max-height: 400% !important;
		transition: all 1s !important;
	}
	
	/* Sponsor logo */
	.top-sponsor-logo {
		max-width: 60%;
		height: auto;
	}
	
	.other-sponsor-logo {
		max-width: 40%;
		height: auto;
	}
	
	/* Add this CSS to your existing styles */
.logo-container {
  position: relative;
}

.next-game-team-logo-theme2 {
  max-width: 80px; /* Set the desired max width for the team logos */
}

.kleineres-bild {
  max-width: 200px; /* Passe die gewünschte maximale Breite des Bildes hier an */
  max-height: 150px; /* Passe die gewünschte maximale Höhe des Bildes hier an */
}

.d-flex {
  display: flex;
}
.justify-content-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px; /* Optional: for rounded corners */
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card-img {
  width: 100%;
  border-radius: 5px 5px 0 0; /* Rounded corners for the top of the image */
}

.card-content {
  padding: 2px 16px;
}

.card-title {
  font-size: 1.2em; /* Adjust based on your design */
}

.card-description {
  color: #555; /* Subtle color for the description */
}

.card-link {
  text-decoration: none;
  color: #007bff; /* Example color */
}

.shadow-card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px;
}

.shadow-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  .card {
    width: 100%;
    padding: 10px;
  }
}

#carouselExampleIndicators .carousel-item img {
  max-width: none;
  width: auto;
  height: auto;
}

.map-container {
    position: relative;
    width: 100%; /* Use 100% of the container width */
    max-width: 380px; /* Maximum width of the iframe */
    margin: 0 auto; /* Center the container */
    padding-bottom: 100%; /* Aspect ratio for the height based on the iframe's width */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}
/* Hamburger Icon */
.navbar-toggler-icon {
    /* Style your icon here */
}

/* Navigation Menu */
.navbar-nav {
    list-style-type: none;
    padding: 0;
}

.nav-item {
    padding: 10px;
}

.nav-link {
    text-decoration: none;
    color: #000;
}

/* Hidden by default */
.navbar-collapse {
    display: none;
}

/* Active class for showing the menu */
.active {
    display: block;
}
/********************/