
/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
 		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.9);
		z-index: 100;
		display: none;
		top: 0;
		left: 0;  
		align-items: center;
  justify-content: center;
		}
	
	.reveal-modal {
		flex-wrap: wrap;
		visibility: hidden;
		top: 19%;   /*  100px */
		left : 30%;
		/* width: 400px;  /*  520px  
		 height:auto;*/
		

		
		
		background: #eee url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 25px 15px 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif" ;
		font-size: 18px;
		line-height: 1.2;
		color: #000;
		 
		
		width:600px;height:auto;max-height:300%;max-width:100%;max-device-width:100%;max-device-height:100%;
		}





		


@media only screen and (max-width: 600px) {
  body {
   /* background-color: lightblue;*/
  }
	.reveal-modal {
				flex-wrap: wrap;
		visibility: hidden;
		top: 19%;   /*  100px */
		left : 10%;
		right : 5%;
		align-content: center;
		/* width: 400px;  /*  520px  
		 height:auto;*/
		
		
		background: #eee url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 25px 15px 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif" ;
		font-size: 18px;
		line-height: 1.2;
		color: #000;
		width:80%;height:auto;max-height:400%;max-width:100%;max-device-width:100%;max-device-height:100%;
}
	
	
	

	
	
}






	.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;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer; 
		} 
	/*
		
	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>
	
	*/
