.modal-window {
-webkit-transform: translate(0, 100%);
-moz-transform: translate(0, 100%);
-o-transform: translate(0, 100%);
-ms-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
opacity: 0;
line-height: 1.3;
display: none\9;
}
.modal-window:target {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-o-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
opacity: 1;
}
.is-active.modal-window {
display: block\9;
}
.modal-window:target {
display: block\9;
background-color: rgba(255,255,255,.8);
}
.modal-window .modal-inner {
	position: absolute;
    top: 50%;
    left: 50%;
	z-index: 20;
	margin-left: -550px;
    width: 1100px;
	overflow-x: hidden;
	background: rgba(246, 246, 246, 0.85);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	padding: 50px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	transform:translateY(-50%);
}
.modal-window .modal-inner p {
/*padding: 0 20px;*/
}
.modal-window .modal-close {
position: absolute;
top: 0;
right: 0;
font-size: 48px;
color: #305097;
}
.modal-window .modal-close:hover {
	text-decoration: none;
}
.modal-window .modal-close:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
}
.modal-window .modal-close:after {
content: '\00d7';
position: absolute;
top: 13px;
left: 50%;
z-index: 20;
margin-left: 495px;
/* background: #fff; */
padding: 2px 8px;
font-size: 2.5em;
text-decoration: none;
text-indent: 0;
color: #DD0033;
}
.modal-window {
-webkit-transition: opacity 0.4s;
-o-transition: opacity 0.4s;
transition: opacity 0.4s;
}

@media only screen and (max-device-height:480px) and (orientation:landscape) {
	.modal-window .modal-inner {
	    position: absolute;
	    top: 15px;
	    left: 50%;
	    z-index: 20;
	    margin-left: -550px;
	    width: 1100px;
	    overflow-x: hidden;
	    background: rgba(246, 246, 246, 0.85);
	    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	    padding: 50px;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}
/* style */
}






