.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.club-subscription {
  position: relative;
  display: inline-block;
  padding: 1rem;
  border: 1px solid #0000002d;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
  width: 180px;
  height: 175px;
}

.club-subscription .club-logo {
  max-width: 140px;
  height: 100px;
  object-fit: cover;
}

.club-subscription a {
  color: #212529;
}

.club-subscription .club-name {
  display: block;
  margin-top: 0.5rem;
}

.club-subscription .club-checkbox {
  display: none;
}


.club-subscription .hover-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 15px;
  height: 15px;
  border: 2px solid gray;
  border-radius: 50%;
  background-color: white;
  transition: border-color 0.3s, background-color 0.3s;
}

.club-subscription:hover .hover-indicator {
  background-color: #f0f0f0;
}

.club-subscription .club-checkbox:checked ~ .hover-indicator {
  border-color: green;
  background-color: green;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.173 14.727l-5.2-5.2 1.414-1.414 3.786 3.786 7.786-7.786 1.414 1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.club-subscription .club-checkbox:checked ~ .club-subscription {
  border-color: green;
}
/*Club Index*/
.club-map-container {
	border-radius: 14px
}

#club-details {
	padding: 15px;
	text-align: center;
}

#club-details h3 {
	margin-top: 20px;
}

#club-details img {
	max-height: 130px;
}

.card.club-information img.club-logo {
	max-height: 150px;
	width: auto;
	object-fit: contain;
}


ul.club-info li i {
	color: #145056; 
	font-size: 28px; 
	display: inline-block;
	margin-right: 10px;
}


#club-list .club-logo {
	text-align: center;
	padding: 10px;
}

#club-list .club-logo img {
	height: 80px;
	max-width: fit-content;
}

.club-title a {
	text-decoration: mone;
}
/* COOKIE NOTIFICATION BANNER */

#cookie-banner {
	position: fixed;
	bottom: 0px;
	width:100%;
	background-color: #f7f7f7;
	border-top: 1px solid #f7f7f7;
	padding: 20px 0;
	z-index: 3;
}
.subscription {
  img {
		max-width: 100%;
		max-height: 60px;
	}
}


  .checkbox-toggle-switch .switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }

  .checkbox-toggle-switch .switch input {
    display:none;
  }

  .checkbox-toggle-switch .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }

  .checkbox-toggle-switch .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
  }

  .checkbox-toggle-switch input:checked + .slider {
    background-color: #66bb6a;
  }

  .checkbox-toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
  }

  .checkbox-toggle-switch .slider.round {
    border-radius: 34px;
  }

  .checkbox-toggle-switch .slider.round:before {
    border-radius: 50%;
  }
#map {
  height: 350px;
  width: 100%;
  border-radius: 14px;
}

.ratgeber {

	font-size: 18px;
	line-height: 30px;
	
	h2, h3 {
		font-weight: bold;
		font-size: 1.5rem;
		margin-top: 55px;
		margin-bottom: 30px;
	}

	ul {
		list-style-type: circle;
	}

	.toc {
		margin-bottom: 20px;
		background-color: #f9f9f9;
		border-radius: 18px;
		border: none;
		padding: 10px;
		.list-group-item {
			padding: 3px 5px;
			border: none;
			background-color: transparent;
		}	
	}

	
}
.region-box {
  background-color: grey;
  padding: 14px;
  border-radius: 14px;
}
.search-results {
  position: absolute;
  z-index: 1000;
}

.search-results .list-group-item {
  cursor: pointer;
  color: black;
}

.search-results .list-group-item:hover {
  background-color: #f8f9fa;
}

input.search-input:focus {
  outline: none;
  box-shadow: 0.2rem 0.8rem 1.6rem #80b87a;
}

input.search-input {
  border: none;
  border-radius: 4px;
  padding: 10px;
}
/* Slider-Bar für Webkit-Browser (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 14px;
  background: #ffffff; /* Weiße Farbe für die Bar */
  border-radius: 5px; /* Runde Kanten */
  border: 1px solid #dee2e6;
}

/* Slider-Bar für Firefox */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 14px;
  background: #ffffff; /* Weiße Farbe für die Bar */
  border: 1px solid #dee2e6;
}

/* Slider-Bar für Edge/IE */
input[type="range"]::-ms-track {
  width: 100%;
  height: 14px;
  background: transparent; /* Transparenter Hintergrund für Kompatibilität */
  border: 1px solid #dee2e6;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #ffffff; /* Weiße Farbe für die untere Bar */
  border-radius: 5px;
}

input[type="range"]::-ms-fill-upper {
  background: #ffffff; /* Weiße Farbe für die obere Bar */
  border-radius: 5px;
}

/* Thumb (der bewegliche Punkt) für WebKit-Browser */
input[type="range"].form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff; /* Weißer Thumb */
  border: 2px solid #3D563A; /* Grüner Rand */
  border-radius: 50%; /* Runde Form */
  cursor: pointer; /* Hand-Cursor beim Bewegen */
  transition: background 0.2s;
}

input[type="range"].form-range::-webkit-slider-thumb:hover {
  background: #e0e0e0; /* Hellgrauer Thumb beim Hover */
}

/* Thumb für Firefox */
input[type="range"].form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #3D563A;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

/* Thumb für Edge/IE */
input[type="range"].form-range::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #3D563A;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
/*second color?     background-color: rgb(20, 110, 153);*/

body {
	font-family: Verdana, sans-serif;
/*	background-color: #e0ebe3;*/
}

html, body {
  height: 100%; /* Damit der Body die volle Höhe einnimmt */
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Wrapper erstreckt sich über die gesamte Höhe des Viewports */
}

.body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content {
  flex: 1; /* Füllt den verfügbaren Platz, damit der Footer unten bleibt */
}

footer {
  background-color: #495057;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  
  p {
  	color: #a6a6a6;
  }
  .nav-link {
  	color: #f9f9f9;
  	&:hover {
  		color: #c9c9c9;
  	}
  }
}

.container {
/*	background-color: #fff;*/
}



h1, h2, h3, h4, h5 {
	color: #104F55;
/*	#40514E*/
/*  #055160*/
}

.gtk-green {
	color: #80B87A;
}

.muted, .muted * {
	color: grey !important;
}

hr {
	margin: 0;
	color: #d8d8d8;
}

ul {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #80B87A;

	&.disabled {
  	color: gray;
  	pointer-events: none;
	}
}

a:hover {
	color: #47783F;
}

button.btn-link {
	color: #80B87A;
	display: inline;
	text-decoration: none;
	&:hover {
		color: #47783F;
	}
}

.bg-grey {
	background-color: #f8f8f8;
}

.bg-white {
	background-color: #fff;
}

.ms-6 {
	margin-left: 2rem!important;
}

@media (min-width: 992px) { 
	.border-right-bottom {
		border-right: 1px solid #d8d8d8;
	}
}

@media (max-width: 991px) { 
	.border-right-bottom {
		border-bottom: 1px solid #d8d8d8;
	}
}

.badge {
	border-radius: 8px;
	padding: 5px;
	font-size: 18px;
}

.badge.badge-active {
	background-color: #80B87A;
}

.badge.badge-inactive {
	background-color: #d9d9d9;
}

.badge.badge-light {
	background-color: #fff;
	color: #104f55;
	font-size: 0.8em;
}

.btn.btn-primary, .btn.btn-cta:hover {
	background-color: transparent;
	font-size: 20px;
	color: #80B87A !important;
	border-radius: 14px;
	border-color: #80B87A;
	padding: 10px;
}

.btn.btn-primary:hover, .btn.btn-cta {
	background-color: #80B87A;
	color: #fff !important;
	border-radius: 14px;
	border-color: #80B87A;
	padding: 10px;
	font-size: 20px;

}

.btn.btn-primary.small {
	padding: 6px;
	font-size: 1rem;
	border-radius: 8px;
}

.btn.btn-primary.filled {
	background-color: #80B87A;
	color: #fff !important;
}



.card.side-box {
	padding: 12px;
	background-color: #f9f9f9;
  border-radius: 14px;
  border-color: transparent;
  color: #145056;	
}

.card.side-box h5 {
	color: #145056;
}

.card.side-box a {
	color: #145056;
	text-decoration: none;
}

/* Layout */

.logo-desktop {
  display: inline;
}

.logo-mobile {
  display: none !important;
}

/* Für Bildschirme mit einer Breite von max. 991px (Mobile) */
@media (max-width: 991px) {
  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: inline !important;
  }
}

.title {
	background-image: url(/assets/background_image_1-30c1dab8e0e1d9ec1b884495adf0dfdcd715fc3d9675dcf9d031784eeec812c0.png); 
	background-size: cover;
  background-position: center;
  padding: 20px 0;
	h1 {
		color: #fff !important;
	}
}

.breadcrumb {
	background-color: #e0ebe3;
}

nav.breadcrumb {
	margin-top: 0px;
	margin-bottom: 0px;
	ol {
		margin: 4px 0 !important;
	}
}


/*navbar*/

.navbar {
	padding: 25px 0;
	border-bottom: 1px solid #f7f7f7;
	background-color: #fff;
	--bs-navbar-toggler-border-color: #fff;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

	a {
		color: #508249;

		&:hover {
			color: #80B87A;
		}
	}

	a.nav-link {
		border: 0 solid #fff;
		border-radius: 5px;
		padding: 5px;
		display: inline-block;
		&:hover {
			background-color: #508249;
			color: #fff;
			.badge.badge-primary {
				background-color: #fff;
				color: #3D563A;
			} 
		}
		.badge.badge-primary{
			font-size: 12px;
			background-color: #508249;
		}

	}

	li.profile .btn-secondary {
		background-color: #80B87A;
		color: #fff;
		border: none;
		&:hover {
			background-color: #508249;
		}
	} 

	ul.dropdown-menu { 
		li a:hover {
			background-color: #fff;
			color: #3D563A;
			font-weight: bold;
		}
		li a.sign-out {
			color: #820000;
			font-weight: bold;
			&:hover {
				color: #bd0909;
			}
		}
	}
	.navbar-toggler {
		border-color: #3D563A;

		&:focus {
			box-shadow: none;
		}

		.navbar-toggler-icon {
			background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%233D563A' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
		}
	}

	

}

.navbar-brand h1 {
	padding-top: 8px;
	font-size: 20px;
}


li.list-group-item {
	border: none;
	padding: 3px 0;
}

.navbar a.menu {
	font-size: 18px;
	color: #80B87A;
	text-decoration: none;
}

.navbar a.menu:hover, .navbar a.menu:active {
	color: #47783F;
}

.bg-highlight {
	background-color: red;
}

button.btn.btn-outline-primary {
	border-color: #80B87A;
	color: #80B87A;
}

a.btn.btn-outline-primary {
	font-size: 14px !important;
	border-color: #80B87A;
	color: #80B87A;	
}

a.btn.btn-outline-primary:hover {
	background-color: #80B87A;
	color: #ffffff !important;
}

button.btn.btn-outline-primary:hover {
	background-color: #80B87A;
	color: #ffffff;
}

label.btn.btn-outline-primary {
	border-color: #80B87A;
	color: #80B87A;		
}

label.btn.btn-outline-primary:hover {
	border-color: #47783F;
	background-color: #47783F;
	color: #fff;
}

label.btn.btn-outline-primary:active, .btn-check:checked+.btn {
	border-color: #80B87A;
	background-color: #80B87A;
	color: #fff;
}

span.badge.bg-primary {
	background-color: #fff !important;
	border: 1px solid #104f55 !important;
	color: #104f55 !important;
	padding: 8px;
}

/* nav-tabs */

.nav.nav-tabs {
	.nav-item {

	}

	.nav-link {	
		color: #508249;
		border: none;
		
		&.active{
			border: none;
			color: #fff;
			background-color: #80B87A;
		}
		&:hover {
			border: none;
			border-bottom: 1px solid #80B87A;
			padding-bottom: 7px;
		}
	}
}

/*Pages*/

.hero {
	background-image: url(/assets/regions/index-09385af442b6f4dc1c976e241ca98191e1a5a6e3e12e5af84bc0028d2a6f41f7.png);
	width: 100%;
	height: 500px;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 12px;
}

.hero h1, .hero p {
	background-color: #055160;
	max-width: max-content;
	padding: 5px 10px;
}

.hero p {
	color: #fff;
}
.hero h1 {
	margin-top: 40px;	
}

/*FILTERS*/

.filters .form-floating {
	color: #145056;
}

.filters .form-group {
  color: #145056;
}

.filters .tag {
  cursor: pointer;
  margin: 2px;
  font-size: 12px;
}

.filters .input-group-addon {
    width: auto;
    min-width: 16px;
    padding: 5px 5px;
    line-height: 1.42857143;
    border-width: 1px 0;
    background-color: #e0ebe3;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

#start_date, #end_date {
  font-size: 14px;
  @media screen and (min-width: 992px) and (max-width: 1199px){
    font-size: 11px;
    padding: 2px;
  }

  @media screen and (min-width: 1200px) {
    font-size: 13px;
  }
  
  /*color: #e8e8e8;*/
}

#clear-dates {
  font-size: 12px;
}


#location-radius-value {
  font-weight: bold;
  color: #fff;
  border-radius: 10px;
  padding: 3px 7px;
  background-color: #145056;
}

.checkbox {
  display: block;
  margin-bottom: 15px;
}

.checkbox input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.checkbox label {
  position: relative;
  cursor: pointer;
}

.checkbox label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #57737A	;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.checkbox input:checked:before {
	border: 2px solid #fff !important;
}

.checkbox input:checked + label:after {
  content: '';
  display: block;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid #145056;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* tournament cards */
#tournaments .tournament {
	font-size: 14px;
	margin: 10px 0;
}

#tournaments .tournament h3 {
	font-size: 20px;
	line-height: 22px;
}


#tournaments .tournament .date-wrapper {
	max-width: 100px;
	text-align: center;
	font-size: 14px;
	background-color: #d9d9d9;
	border-radius: 14px;
	height: 100%;
  display: flex;

}

#tournaments .tournament .date-wrapper.active {
	background-color: #80B87A;
	color: #fff;
}

@media (max-width: 991px) {
	#tournaments .tournament h3.tournament-name {
		margin-top: 15px;
	} 
}


#tournaments .tournament .date-wrapper .date {
	margin: auto;
}

#tournaments .tournament .date .date-day {
	font-size: 34px;
	line-height: 28px;
	font-weight: bold;
}

#tournaments .tournament .date .date-month {
	margin-left: -7px;
}

#tournaments .tournament p.club {
	margin: 0;
}

#tournaments .tournament .club-logo {
	height: 100%;
}

#tournaments .tournament .club-logo img {
	max-width: 100%;
  max-height: 60px;
}

#tournaments .tournament .t-details {
	text-align: right;
	font-size: 16px;
}

.watchlist-toggle button {
  color: #fff;
  border: none;
}

.watchlist-toggle form {
  display: inline;
}

/* Detail pages */

#tournament-details {
  table {
    th {
      font-weight: normal;
      font-size: 14px;
      color: #4e4e4e;
    }
    td {
      text-align: right;
    }
  }
  .club-logo{
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;    /* Vertikal zentrieren */
    margin-bottom: 10px;    
    img {
      max-height: 100px;
      max-width: 100%;
    }
  }
}

.internal-filters .radius-search {
  display: none;
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


*/
