﻿/* The Modal (background) */
.simple-modal {
	position: fixed; /* Stay in place */
	z-index: 1000; /* Sit on top */
	padding-top: 20px; /* Location of the box */
	left: 0;
	top: 0px;
	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 */
}

.simple-modal-above-spinner {
	z-index: 1010;
}

	/* Modal Content */
	.simple-modal-content {
		position: relative;
		margin: auto;
		padding: 0;
		border: 1px solid #888;
		width: 60%;
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
		-moz-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
		-webkit-border-radius: 10px;
		background-color: white;
	}



/* Modal Content */

.simple-modal-header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1rem;
}


.simple-modal-body {
	padding: 10px 16px 2px 16px;
}

.simple-modal-footer {
	padding: 2px 16px;
	background-color: #373737;
	color: #1D1D1D;
}

.simple-modal-content {
	width: 1100px;
	margin-bottom: 50px;
}

.simple-modal-content-big {
	width: 1400px;
}

.simple-modal-content-fullwidth {
	width: 99%;
}

@media (max-width: 1400px), (max-device-width: 1400px) {
	.simple-modal-content-big {
		width: 99%;
	}
}

@media (max-width: 1050px), (max-device-width: 1050px) {
	.simple-modal-content {
		width: 100%;
	}
}

.simple-modal-content-small {
	width: 800px;
}

@media (max-width: 750px), (max-device-width: 750px) {
	.simple-modal-content-small {
		width: 100%;
	}
}

.simple-modal-content-mini {
	width: 500px;
}

@media (max-width: 500px), (max-device-width: 500px) {
	.simple-modal-content-mini {
		width: 100%;
	}
}

@media (max-height: 800px), (max-device-height: 800px) {
	.simple-modal, .simple-modal-big {
		padding-top: 10px;
	}
}