/* HawkinsRails.net - Snapshots modal CSS

Generation 4 - Jan 2021

All CSS by RWH except Bootstrap code */

/* MODAL (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	-webkit-animation-name: fadeIn; /* Fade in the background */
	-webkit-animation-duration: 0.4s;
	animation-name: fadeIn;
	animation-duration: 0.4s
}

/* MODAL CONTENT */
.modal_content {
	position: fixed;
	bottom: 0;
	background: url(../images/background.png) repeat;
	width: 100%;
	-webkit-animation-name: slideIn;
	-webkit-animation-duration: 0.4s;
	animation-name: slideIn;
	animation-duration: 0.4s
}

/* SNAPSHOTS BANNER */
.snapshots_banner {
	margin-top: 15px;
	margin-bottom: 15px;
	border: 7.5px solid;
	border-bottom: 15px solid;
	border-color: var(--horange);
	max-width: 100%;
}

/* CLOSE BUTTON */
.close {
	color: black;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: var(--horange);
	text-decoration: none;
	cursor: pointer;
}

.modal_body {
	padding: 5px 15px;
}

.modal_body h2 {
	width: 90%;
}

/* SNAPSHOT AD BLOCKS */
.snapblock {
	float: left;
	margin: 5px;
}

.snapblock img {
	border: 5px solid white;
	border-bottom: 10px solid white;
	width: 100px;
}

.snapblock .caption {
	font: 90% "Lucida Grande", Lucida, Verdana, sans-serif;
	font-weight: bold;
	text-align: right;
	margin-right: 10px;
}

.modal_padding {
	height: 225px;
	display: block;
}

.also_button {
	background: none; border: none;
	font-weight: bold;
	color: #382dcf;
}

.also_button:hover {
	color: #382dcf;
	text-decoration: underline;
}

/* ADD ANIMATION */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

/* SCREEN ADJUSTMENTS */

@media (min-width: 768px) {
	
	.snapblock img {
	border: 7.5px solid white;
	border-bottom: 15px solid white;
	width: 150px;
}

	.snapblock .caption {
	font-size: 110%;
	}
}

@media (min-width: 992px) {

	.modal_body {
	width: 970px;
	margin-right: auto;
	margin-left: auto;
}

	.snapshot .caption {
		font-size: 115%;
	}
}
		
@media (min-width: 1200px) {

	.modal_body {
	width: 1170px;
	margin-right: auto;
	margin-left: auto;
}
}