/* styling for picture page */

body {
  margin-left: auto;
  margin-right:auto;
  margin-top:50px;
  background-color: ivory;
  max-width: 100%;
}

.galerij-tabel {
	margin:auto;
}

h4.galerij-header{
	text-align: center;
}

div.polaroid {
  width:320px;
  padding: 10px 10px 20px 10px;
  border: 1px solid #BFBFBF;
  background-color: #fafafa;
  box-shadow: 10px 10px 5px #aaaaaa;
  margin:10px;
}

div.polaroid:hover {
	width:320px;
	border:1px solid #afafaf;
	background-color: white;
   box-shadow: 8px 8px 4px #aaaaaa;
}

div.rotate_right {
  float: left;
  -ms-transform: rotate(7deg); /* IE 9 */
  -webkit-transform: rotate(7deg); /* Safari */
  transform: rotate(7deg);
}

div.rotate_left {
  float: left;
  -ms-transform: rotate(-8deg); /* IE 9 */
  -webkit-transform: rotate(-8deg); /* Safari */
  transform: rotate(-8deg);
}


p.caption {
	font: italic bold 13px/24px Georgia, serif;
   color: mediumblue;	
   text-align: center;
}

/****** modal images ****/

.polaroid-image {
	/* Originele maten: 213 x 284 px */
 	cursor: pointer;
 	transition: 0.3s;
	width:320px;
	max-height:240px;
}

.pushpin {
	display: block;
	position: absolute;
	top: -15px;
	left:45%;
}

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

/* Modal Content */
.modal-content {
  position: relative;
/*  background-color: #fefefe;*/
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 800px;
}

/* Caption of Modal Image */
#caption {
/*	margin: auto;*/
	display: block;
	width:96%; 
	max-width: 800px; 
	text-align: center;
	color: #ccc;
	position: absolute;
	bottom: 5px;
}

/* Add Animation */
.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.1)} 
  to {transform: scale(1)}
}


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

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* 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: 20px;
  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);
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2px 16px;
  color: white;
}

.portfolio-exerpt{
	align-items: center;
	margin:auto;
	padding: 16px;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.8);
}

.pf_example{
	width: 320px;
	max-height: 240px;
	padding:8px;
}

.tekst {
	text-align: center;
	color:white;
}