.modal {
	position: fixed;
	z-index: 9999999999999999999999999999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #ffffffe5;
	margin: 10% auto;
	width: 80%;
	box-shadow: 1px 1px 10px 0px black;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

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

.modal-desc {
	position: relative;
	padding: 10px;
}

.modal-desc-text-container {
	width: 100%;
}

.modal-desc-text {
	text-shadow: 1px 1px #ffffff;
}

.modal-img-container img {
	width: 100%;
}

@media only screen and (min-width: 1101px) {
	.modal-box {
		width: 100%;
		margin: 0px;
	}
	
	.modal-full{
		width: 100%;
		position:absolute;
		display:block;
	}

	.modal-content {
		padding: 0px;
	}
	.modal-desc-text {
		width: 60%;
		margin-left: 40%;
		margin-bottom: 0%;
	}

	.modal-omnimax {
		background: linear-gradient(to right, transparent, transparent, transparent, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff), url("/images/resources/modal-omnimax.png");
		background-size: cover;
	}
	
	.modal-qualitative {
		background: linear-gradient(to right, transparent, transparent, transparent, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff), url("/images/resources/modal-qualitative.jpg");
		background-size: cover;
	}
	
	.modal-quantitative {
		background: linear-gradient(to right, transparent, transparent, transparent, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff), url("/images/resources/modal-quantitative.jpg");
		background-size: cover;
	}
	
	.modal-panel {
		background: linear-gradient(to right, transparent, transparent, transparent, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff), url("/images/resources/modal-panel.jpg");
		background-size: cover;
	}
	
	.modal-mbalive {
		background: linear-gradient(to right, transparent, transparent, transparent, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff), url("/images/resources/modal-mbalive.png");
		background-size: cover;
	}

	.modal-img-full {
		display: none;
		margin-bottom: 0%;
	}

	.modal-img-thumb {
		display: none;
		margin-bottom: 0%;
	}
}

@media only screen and (min-width: 601px) and (max-width: 1100px) {
	.modal-box {
		width: 90%;
		margin: auto;
	}
	
	.modal-full{
		display:none;
	}

	.modal-content {
		padding: 20px;
		box-shadow: 1px 1px 10px 0px black;
	}

	.modal-desc-text {
		width: 100%;
		margin-left: 0%;
		margin-bottom: 0%;
	}

	.modal-omnimax {
		background-size: cover 50%;
		background-image: none;
	}
	
	.modal-qualitative {
		background-size: cover 50%;
		background-image: none;
	}
	
	.modal-quantitative {
		background-size: cover 50%;
		background-image: none;
	}
	
	.modal-panel {
		background-size: cover 50%;
		background-image: none;
	}
	
	.modal-mbalive {
		background-size: cover 50%;
		background-image: none;
	}

	.modal-img-full {
		display: inline-block;
		margin-bottom: 10px;
	}

	.modal-img-thumb {
		display: none;
		margin-bottom: 0%;
	}
}

@media only screen and (min-width: 401px) and (max-width: 600px) {
	.modal-box {
		width: 90%;
		margin: auto;
	}
	
	.modal-full{
		display:none;
	}

	.modal-content {
		padding: 20px;
	}

	.modal-desc-text {
		width: 100%;
		margin-left: 0%;
		margin-bottom: 50%;
	}

	.modal-omnimax {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-qualitative {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-quantitative {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-panel {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-mbalive {
		background-size: cover 20%;
		background-image: none;
	}

	.modal-img-full {
		display: none;
		margin-bottom: 0%;
	}

	.modal-img-thumb {
		display: inline-block;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 400px) {
	.modal-box {
		width: 90%;
		margin: auto;
	}
	
	.modal-full{
		display:none;
	}

	.modal-content {
		padding: 20px;
	}

	.modal-desc-text {
		width: 100%;
		margin-left: 0%;
		margin-bottom: 50%;
	}

	.modal-omnimax {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-qualitative {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-quantitative {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-panel {
		background-size: cover 20%;
		background-image: none;
	}
	
	.modal-mbalive {
		background-size: cover 20%;
		background-image: none;
	}

	.modal-img-full {
		display: none;
		margin-bottom: 0%;
	}

	.modal-img-thumb {
		display: inline-block;
		margin-bottom: 10px;
	}
}

.modal-desc-text p {
	color: black !important;
	font-weight: 800 !important;
}

.modal-desc-text p ul li {
	color: black !important;
	font-weight: 800 !important;
}

.modal-desc-text ul li {
	color: black !important;
	font-weight: 800 !important;
}

.modal-omnimax {
	background-repeat: no-repeat;
}

.modal-qualitative {
	background-repeat: no-repeat;
}
	
.modal-quantitative {
	background-repeat: no-repeat;
}

.modal-panel {
	background-repeat: no-repeat;
}

.modal-mbalive {
	background-repeat: no-repeat;
}
