/* 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-color: rgba(0, 0, 0,.7);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  float: left;
} 

#viewTemplateDiv .modal-header {
	border-bottom: none;
	border-radius-bottom: 0;
}
#viewTemplateDiv .modal-body {
	background: #fff;
}

#viewTemplateDiv .modal-dialog {
	margin: 0 auto;
}
.mySlides {
	text-align: center;
	padding-top: 25px;
}
.mySlides img {
	height: 500px !important;
	margin: 0 auto;
}
/* The Close Button */
#viewTemplateDiv .close {
  color: #fff;
  position: absolute;
  top: -34px;
  right: 0;
  font-size: 35px;
  font-weight: bold;
  background: transparent;
  opacity: 1;
  z-index: 10;
}

#viewTemplateDiv .close:hover,
#viewTemplateDiv .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
#viewTemplateDiv .prev,
#viewTemplateDiv .next {
  cursor: pointer;
  position: absolute;
  top: 57%;
  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;
   background-color: rgba(0, 0, 0, 0.8);
}

/* Position the "next button" to the right */
#viewTemplateDiv .prev {
	left: 0;
}

#viewTemplateDiv .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#viewTemplateDiv .prev:hover,
#viewTemplateDiv .next:hover {
 
}

/* Number text (1/3 etc) */
 .numbertext {
  color: #fff;
  font-size: 14px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
	width: 100%;
	left: 0;
	text-align: center;
	background: #000;
	font-weight: bold;
} 

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.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);
}
@media (max-width: 767px) {
	#viewTemplateDiv {
		width: 90%;
		left: 5%;
	}
	.mySlides img {
		height: auto !important;
	}
}