/**CSS code voor algemene opbouw**/
body{
	background: #4682B4;
	background-image: url("src/background_4.jpg");
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 100%;
	background-attachment: fixed;
	overflow-y: scroll;
	font-family: Helvetica, sans-serif;
}
#logo{
	float : center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#header{
	max-width: 100%;
	height: auto;
	margin: auto;
	
}




/**navigatie menu**/
.navbar {
	max-width: 1200px; /** 20px smaller, to fit the paddings on the sides */
	padding-right: 10px;
	padding-left:  10px;
	height: auto;
	background: #555;
	border-top: 5px solid #555;
	border-left: 5px solid #555;
	border-right: 5px solid #555;
	overflow: auto;
	margin: auto;
}
.navbar a {
    float: left;
    font-size: 20px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #f9f9f9;
	color: black;
}
.dropdown {
    float: left;
    overflow: hidden;
}
.dropdown .dropbtn {
    font-size: 20px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    float: none;
    color: black;
  /*  padding: 12px 16px;*/
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}



/**wrapper en inhoud**/
#wrapper{
	max-width: 1200px; /** 20px smaller, to fit the paddings on the sides */
	padding-right: 10px;
	padding-left:  10px;
	height: auto;
	background: #ADD8E6;
	border-left: 5px solid #555;
	border-right: 5px solid #555;
	border-bottom: 5px solid #555;
	overflow: auto;
	margin: auto;
}
.content {
	width: 100%;
}
.tabcontent{
	width: 90%;
	margin: auto;
}

.content img{
	display: block;
	margin: auto;
	max-width: 100%;
	
}
#onderschrift{
	text-align: center;
	max-width: 640px;
	margin: auto;
	font-size: 13px;
	font-style: italic;
}
h3{
	font-size: 20px ;
	text-align: center;
}
h4{
	text-align: center;
}
p{
	text-align: justify;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: auto;
  margin-bottom: 20px;
  
}
td, th {
  border: 1px solid #555;
  text-align: center;
  padding: 8px;
  
}

/*Opmaak van Uitslagen*/
/*uitslag.php*/
.Uitslag{
	padding-top:20px;
	padding-bottom: 20px;
}
	
.Uitslag table{
	text-align: right;
}
.uitslag tr {
  background-color: #ADD8E6;
}
.Uitslag th,td{
	border: 0px;
	text-align: center;
	
}
/*Opmaak van Klassement*/
/*klas.php*/
.Klas{
	padding-top:20px;
	padding-bottom: 20px;
}
.Klas table{
	text-align: right;
}

/*tabel met route beschrijving*/
/*route.php*/
.tableRoute td,th{
	border:0px;
}
/*tabel met bestuursleden*/
/*bestuur.php*/
.tableBestuur{
	width: 60%;
}
.tableBestuur tr:nth-child(even) {
  background-color: #aeeeee;
}
.tableBestuur td,th{
	text-align:center;
	font-size: 16px;
	border: 1px solid #555;
}
/*tabelopmaak voor  legende voor kalender+ vrije wedstrijden*/
/*kalender.php - vrijewedstrijden.php*/
.tableLegende {
	width:25%;
	background-color: #ADD8E6;
}
.tableLegende tr:nth-child(even){
	background-color: #ADD8E6;
}
.tableLegende th{
	min-width: 25px;
}
.tableLegende th:nth-child(even){
	text-align: left;
}
.tableLegende th img{
	text-align: right;
}
/*tabelopmaak van de kalender*/
/*kalender.php - vrijewedstrijden.php*/
.tableKalender tr:nth-child(even) {
  background-color: #aeeeee;
}
.tableKalender th{
	background-color: #ADD8E6;;
}
.tableKalender td,th{
	min-width: 25px;
	text-align:center;
	border: 1px solid #555;
}
.tableKalender a{
	text-decoration:none;
	color: black;
}
.tableKlassement tr{
	background-color: #AEEEEE;
}
.tableKlassement tr:nth-child(even){
	background-color: #ADD8E6;
}
.tableKlassement td{
	border: 1px solid #555;
}
.tableKlassement a {
	text-decoration:none;
	color: black;
}
.tableKlassement td,th{
	text-align:center;
}
/*tabelopmaak voor reglement*/
/*regVrij.php - regWedstrijd.php*/
.tableReglement {
	width: 100%
}
.tableReglement tr{
	background-color: #ADD8E6;
}
.tableReglement td, th{
	border: 0px solid #555;
	text-align: left;
	padding: 8px;
	vertical-align: top;
}
.tableReglement td:nth-child(uneven){
	width: 20px;
}
/*tabelopmaak voor contact pagina*/
/*contact.php*/
.tableContact{
	width: 100%
}
.tableContact tr{
	background-color: #ADD8E6;
}
.tableContact td, th{
	border: 0px;
}
/*tabelopmaak voor sponsor pagina*/
/*sponsoren.php*/
.tableSponsoren{
	width: 100%;
	table-layout:fixed;
}
.tableSponsoren tr{
	background-color: #ADD8E6;
	text-align: center;
}
.tableSponsoren td, th{
	border: 0px;
	text-align: center;
	
}
.tableSponsoren a{
	text-decoration:none;
	color: black;
	text-align: center;
}
.tableSponsoren img{
	display: block;
	margin: auto;
	padding: auto;
	max-height: 200px;
}
/*tabelopmaak voor tabel van archief*/
/*archief.php*/
.tableArchief a{
	text-decoration:none;
	color: black;
}
/*opmaak voor foto album*/
/*foto.php*/
#fotoalbum{
	display: table;
	width: 100%;
}
div.gallery {
  opacity: 1;
  position: relative;
  
}
div.gallery img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	border-radius: 10%;
	
}
div.desc {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  
}
* {
  box-sizing: border-box;
}
.responsive {
  padding: 6px 6px;
  float: left;
  width: 24.5%;
  
}
.gallery:hover .overlay {
  bottom: 37%;
  width: 100%;
  opacity: 1;
}
.overlay {
  position: absolute;
  bottom: 37%;
  left: 0;
  right: 0;
  background-color: #888;
  overflow: hidden;
  width: 0%;
  height: 26%;
  transition: .5s ease;  
}
.overlay-text {
  white-space: nowrap; 
  color: white;
  font-size: 1.1vw;
  font-weight: bold;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
	

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/*opmaak copyright*/
/*footer.php*/
#copyright{
	max-width: 1200px; /** 20px smaller, to fit the paddings on the sides */
	padding-right: 10px;
	padding-left:  10px;
	border-left: 5px solid #555;
	border-right: 5px solid #555;
	border-bottom: 5px solid #555;
	text-align: center;
	color: white;
	background: #555;  
	margin: auto;
	line-height:7px;
	padding-bottom:4px;
}

@media only screen and (max-width: 800px) {
	/*aanpassing van fotoalbum*/
	.responsive {
		width: 49.5%;
		margin: 0px 0px;
	}
	.overlay-text{
		font-size:2vw; 
	}
}

@media only screen and (max-width: 500px) {
	/*aanpassing van fotoalbum*/
	.responsive {
		width: 100%;
	}
	.overlay-text{
		font-size:4vw;
	}	
}

/*css opmaak voor de fotoalbums*/
.row > .column {
  padding: 8px 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
  
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 20%;
}
@media only screen and (max-width: 850px) {
	.column {
		float: left;
		width: 33%;
	}
}
@media only screen and (max-width: 500px) {
	.column {
		float: left;
		width: 50%;
	}
}

.column img{
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	border-radius: 10%;
	text-align:center;
	
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.85);
}

/* Modal Content */
.modal-content {
	margin: auto;
	padding: 0;
	max-height:85vh;
	max-width:80vw;
}
.mySlides{
	display: none;
	text-align: center;
    vertical-align: middle;
	margin:auto;
}
.mySlides img{
    max-height:80vh;
	max-width: 75vw;
	padding-bottom: 0px;
	

}
.mySlides h4{
	color: white;
	margin-top: 0px;
	padding-top: 0px;
	text-align: center;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 45px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}



/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}