/* ======================================== modalDialog */

.modalDialog {
   position: fixed /* absolute */;
   top   :    0;
	right :    0; 
	bottom:    0;
	left  :    0; 
   background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}
.modalDialog > div {
   /* width: 600px; */
   position: relative;
   margin:  15px auto auto auto; 
   
	padding: 13px ;
	
   border-radius: 10px;
	border: 2px  rgb(160, 160, 160) solid;
   background:  rgb(160, 160, 160);

}

.close {
	background: #606061;
	border: 2px #606061 solid;
   color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -14px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.modalDialog > div:hover { border: 2px #F05050 solid; }
.close:hover             { border: 2px #F05050 solid; }

/* ========================================  */
@media screen and (max-width : 670px) {.modalDialog > div { width: 500px;} }
@media screen and (max-height: 900px) {.modalDialog > div { width: 500px;} }

@media screen and (max-width : 540px) {.modalDialog > div { width: 400px;} }
@media screen and (max-height: 760px) {.modalDialog > div { width: 400px;} }

@media screen and (max-width : 440px) {.modalDialog > div { width: 200px;} }
@media screen and (max-height: 610px) {.modalDialog > div { width: 200px;} }
