

.modal-text-shell {position: relative;min-height: 0;transition: min-height 0ms ease 0ms;
}

.modal-text-shell.open {transition: min-height 300ms ease 0ms;}

/* The Modal background */
.modal-text-shell .modal-bg {
	/*display: none;*/
	display: block;
	visibility: hidden;
	/*position: absolute;*/
	position: fixed;	
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 200%; /* Full height */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	opacity: 0;
	z-index: 1100;
	}


.modal-text-shell .modal-bg.close {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 450ms ease 50ms, visibility 450ms linear 0ms;
	-moz-transition: opacity 450ms ease 50ms, visibility 450ms linear 0ms;
	-ms-transition: opacity 450ms ease 50ms, visibility 450ms linear 0ms;
	-o-transition: opacity 450ms ease 50ms, visibility 450ms linear 0ms;
	transition: opacity 450ms ease 50ms, visibility 450ms linear 0ms;
}

.modal-text-shell .modal-bg.open {
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity 300ms ease, visibility 300ms linear 0ms;
	-moz-transition: opacity 300ms ease, visibility 300ms linear 0ms;
	-ms-transition: opacity 300ms ease, visibility 300ms linear 0ms;
	-o-transition: opacity 300ms ease, visibility 300ms linear 0ms;
	transition: opacity 300ms ease, visibility 300ms linear 0ms;
}

.modal-text-shell .modal-box {
	position: absolute;
	/*position: fixed;*/
	display: block;
	visibility: hidden;
	left: 0;
	top: 0;
	/*bottom: 0;*/
	/*height: 100%;*/
	/*width: 80%;
	margin: 150px 10% 0 10%;*/
	width: 60%;
	margin: 150px 20% 0 20%;
	/*padding-bottom: 20px;*/
	/*overflow: auto;*/
	/*overflow-y: scroll;
	overflow-x: hidden;*/
	opacity: 0;
	z-index: 1101;
}

.modal-text-shell .modal-box.close {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 150ms ease 50ms, visibility 150ms linear 250ms;
	-moz-transition: opacity 150ms ease 50ms, visibility 150ms linear 250ms;
	-ms-transition: opacity 150ms ease 50ms, visibility 150ms linear 250ms;
	-o-transition: opacity 150ms ease 50ms, visibility 150ms linear 250ms;
	transition: opacity 150ms ease 50ms, visibility 150ms linear 250ms;
	/*transform: scale(.8);*/
	animation-name: close1;
	animation-duration: 150ms;
	animation-timing-function: ease-out;
	animation-delay: 50ms;
}

.modal-text-shell .modal-box.open {
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity 150ms ease 250ms, visibility 150s linear 250ms;
	-moz-transition: opacity 150ms ease 250ms, visibility 150s linear 250ms;
	-ms-transition: opacity 150ms ease 250ms, visibility 150s linear 250ms;
	-o-transition: opacity 150ms ease 250ms, visibility 150s linear 250ms;
	transition: opacity 150ms ease 250ms, visibility 150s linear 250ms;
	/*transform: scale(1);*/
	animation-name: open1;
	animation-duration: 150ms;
	/*animation-timing-function: linear;*/
	animation-timing-function: ease-in;
	animation-delay: 250ms;
}


.modal-text-shell .modal-content {
	position: relative; display: block; min-height: 400px;
	/*width: 80%;
	margin: auto;*/
	padding: 20px;
	padding-bottom: 50px;
	background-color: #ffffff;
}

.modal-text-shell .modal-content .multimgleft {
    position: relative;
    display: inline;
    float: left;
    width: 20%; 
    padding: 0px;
    margin: 0px 15px 15px 0;
}
.modal-text-shell .modal-content .multimgleft img {
    position: relative;
    width: 100%;
    height: auto !important;
    padding: 0px;
    margin:0;
}

.modal-side {
	float: left;
	width: 24%;
	margin: 40px 0 0 0;
}

.modal-side .imgfull.fac_img { width:80%;}
.modal-side .imgfull.fac_img img { width:100%;}
.modal-main {
	float:right;
	width: 72%;
	margin:0; padding:0 0 0 20px;
	border-left: 1px solid #333;
}


/*-- close modal popup box styles --*/

.modal-text-shell button.modal-close {
	color: #333;
	float: right;
	font-size: 28px;
	font-weight: bold;text-transform: uppercase;
}

.modal-text-shell button.modal-close:hover,
.modal-text-shell button.modal-close:focus {
	color: #000;
	text-decoration: underline;
	cursor: pointer;
}

.modal-text-shell button.modal-open {
	display: block;
	width: 100%; 
	margin: 0;
	padding: 0;
	float: none;
	word-wrap: break-word;
	outline: none;
	border: none;
	background-color: transparent;
	padding: 0px; 
}

.modal-text-shell button.modal-open:hover,
.modal-text-shell button.modal-open:focus {
	text-decoration: underline;
	cursor: pointer;
}


@keyframes open1 {
	from{
		transform: scale(.8);
	}
	to {
		transform: scale(1);
	}
}

@keyframes close1 {
	from{
		transform: scale(1);
	}
	to {
		transform: scale(.8);
	}
}


/* -------------------------------------------- MOBILE ONLY  STYLES ------------------------------------ */
@media screen and (max-width: 564px) {
	
.modal-text-shell .modal-box {
	position: absolute;
	/*position: fixed;*/
	display: block;
	visibility: hidden;
	left: 0;
	top: 0;
	/*bottom: 0;*/
	/*height: 100%;*/
	/*width: 80%;
	margin: 150px 10% 0 10%;*/
	width: 90%;
	margin: 50px 5% 0 5%;
	/*padding-bottom: 20px;*/
	/*overflow: auto;*/
	/*overflow-y: scroll;
	overflow-x: hidden;*/
	opacity: 0;
	z-index: 1101;
}
	
}

/********************************************************************/








