/*  ------        CAROUSEL MODAL POPUP          ----- */
/*  ------ (c) 2018 ForNext Software Development ----- */
/*  ------          www.ForNext.nl               ----- */

/* Carousel Box */
.carousel-modal-box {
    display: none; 
    position: fixed; 
    z-index: 1; 
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) !important;
    height: 100%; 
    width: 100%; 
    overflow: auto; 
	background-image: url('../images/overlay-carousel.png'); 
    background-color: rgb(200, 200, 200); 
    background-color: rgba(200, 200, 200, 0.9); 
	font-size: 1.8em;
}

/* Full sized container */
.carousel-modal-box .container {
	height: 100%;
	width: 100%;
	max-width: 1280px;
}

/* Full sized row */
.carousel-modal-box .row {
	margin: 10px;
	height: 100%;
}

/* Carousel Content (Item, containing images and text) */
.carousel-modal-item {
    position: absolute; 
    z-index: 1; 
    margin: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) !important;
    width: 100%; 
	background-color: white;
	border-style: groove;
	border-radius: 10px;
	border-color: black;
}

/* Carousel Content (Image) */
.carousel-modal-image {
    margin: auto;
	padding: 10px;
    display: block;
    width: auto;
	max-width: 98%;
	max-height: 400px;
	background-color: white;
}

/* Carousel Content (Text) */
.carousel-modal-text {
    margin-top: 10px;
    display: block;
	width: auto;
    padding: 10px;
    text-align: left;
}

/* Add Animation - Zoom */
.carousel-modal-zoom { 
    animation-name: carousel-modal-zoom;
    animation-duration: 1.5s;
}

@keyframes carousel-modal-zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* Add Animation - Fade */
.carousel-modal-fade { 
    animation-name: carousel-modal-fade;
	animation-timing-function: linear;
    animation-duration: 1s;
	animation-fill-mode: forwards;
}

@keyframes carousel-modal-fade {
    from {opacity: 0;}
    to   {opacity: 1;}
}

/* The Close Button */
.carousel-modal-close {
    position: absolute;
    top: 0.2em;
    right: 0.2em;
    color: #000000;
    font-size: 2.4em;
    font-weight: bold;
	line-height: 1.0;
}

/* Hover over the close button */ 
.carousel-modal-close:hover {
    color: #FF0000;
    text-decoration: none;
    cursor: pointer;
}

/* ------ ARROW ----- */

arrow {
    display: inline-block;
 	position: absolute;
	top: 50%;
	padding: 6px;
    border: solid black;
    border-width: 0 6px 6px 0;
}

.arrow:hover {
    display: inline-block;
 	position: absolute;
	top: 50%;
	padding: 6px;
    border: solid red;
    border-width: 0 6px 6px 0;
    cursor: pointer;
}

.arrow-right {
    transform: rotate(-45deg);
}

.arrow-left {
    transform: translate(-15px) rotate(135deg);
}

/* ------ MEDIA ----- */

@media (max-width: 576px) {
	.carousel-modal-item {
		width: 80%; 
	}
}

@media (min-height: 576px) {
  .carousel-modal-image {
	max-height: 400px;
  }
}

@media (min-height: 768px) {
  .carousel-modal-image {
	max-height: 600px;
  }
}

@media (min-height: 992px) {
  .carousel-modal-image {
	max-height: 800px;
  }
}

@media (min-height: 1200px) {
  .carousel-modal-image {
	max-height: 1000px;
  }
}

@media (min-height: 1600px) {
  .carousel-modal-image {
	max-height: 1400px;
  }
}



