.CLS_MDL {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* 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.6s;
    animation-name: fadeIn;
    animation-duration: 0.6s;
	opacity: 0.95;
}

.CLS_MDL_TRIGGER_HEAD{
	color: #ff0000;
	background-color: transparent;
	font-size: 12px;
}
.CLS_MDL_TRIGGER{
	background-color: #ff0000;
	color: #ffffff;
	border: 1px;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
}
/*.CLS_MDL_TRIGGER a {
	display: block;
	font-size: 16px;
	padding: 15px 10px;
}*/
/* Modal Content */
.CLS_MDL-content {
    position: fixed;
    top: 0; /* NOTE: Forms changed from snapping to bottom to snapping to top as fix for mobile layouts as tested on Samsung Galaxy Note4 */
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.6s;
    animation-name: slideIn;
    animation-duration: 0.6s;
	opacity: 0.95;
}

/* The Close Button */
.CLS_MDL_CLOSE {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.CLS_MDL_CLOSE:hover,
.CLS_MDL_CLOSE:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.CLS_MDL-header {
    padding: 2px 16px;
    background-color: #ff0000;
    color: white;
}

.CLS_MDL-body {padding: 2px 16px;}

.CLS_MDL-footer {
    padding: 2px 16px;
    background-color: #ff0000;
    color: white;
}

/* Add Animation */ /* NOTE: Forms changed from snapping to bottom to snapping to top as fix for mobile layouts as tested on Samsung Galaxy Note4 */
@-webkit-keyframes slideIn {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 0.9}
}

@keyframes slideIn {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 0.9}
}

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

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


.CLS_MDL-input{
	position: relative;
	padding: 4px;
	background-color: white;
	width: 100%;
}

.CLS_MDL-input-tel{
	position: relative;
	width: 50%;
	border: 1px solid;
	border-radius: 3px;
	font-size: 16px;
}
.CLS_MDL-input-textarea{
	position: relative;
	width: 50%;
	height: 50px; /* reduced for mobile keyboard on-screen push-up */
	color: #ff0000;
	border: 1px solid;
	border-radius: 3px;
	font-size: 16px;
}
.CLS_MDL-input-text, .CLS_MDL-input-email{
	position: relative;
	width: 50%;
	color: #ff0000;
	border: 1px solid;
	border-radius: 3px;
	font-size: 16px;
}
.CLS_MDL-input-label{
	color: #ff0000;
	border: 1px solid;
	border-radius: 3px;
	font-size: 16px;
}
.CLS_MDL-input-submit, .CLS_MDL-input-reset, .CLS_MDL-input-btn{
	background-color: #ff0000;
	color: white;
	position: relative;
	border: 1px;
	border-radius: 3px;
	font-size: 24px;
	height: 32px;
	cursor: pointer;
}