/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		text-align:center;
		}
	
	.reveal-modal {
		visibility: hidden;
		position: fixed;
		z-index: 101;
		padding:10px;
		width:100%;
		text-align:center;
		top:10% !important;
		}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		width:29px; height:29px;
		margin-left:-45px; margin-top:20px;
		background-image:url(../images/close.png); background-position:left top; background-repeat:no-repeat;
		} 
		
	.reveal-modal iframe{ max-width:700px; width:100%; height:450px; padding:10px; background-color:#fff;}
	
	/*
		
	NOTES
	
	Close button entity is &#215;
	
	Example markup
	
	<div id="myModal" class="reveal-modal">
		<h2>Awesome. I have it.</h2>
		<p class="lead">Your couch.  I it's mine.</p>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
		<a class="close-reveal-modal">&#215;</a>
	</div>
	
	*/
	@media only screen and (max-width:768px){
		.reveal-modal iframe{ max-width:500px; width:100%; height:400px; padding:10px; background-color:#fff;}
		
	}
	
	@media only screen and (max-width:670px){
		.reveal-modal{ top:2% !important;}
		.reveal-modal iframe{ max-width:580px; width:100%; height:290px; padding:10px; background-color:#fff;}
		
	}
	
	@media only screen and (max-width:520px){
		.reveal-modal iframe{ max-width:510px; width:100%; height:270px; padding:10px; background-color:#fff;}
		.reveal-modal .close-reveal-modal{ margin-left:0px; right:15px;}
		
	}
	
	@media only screen and (max-width:380px){
		.reveal-modal iframe{ max-width:510px; width:100%; height:250px; padding:10px; background-color:#fff;}
		.reveal-modal .close-reveal-modal{ margin-left:0px; right:15px; margin-top:10px;}
		
	}
