html {
font-family:sans-serif;
-ms-text-size-adjust:100%;
-webkit-text-size-adjust:100%;
-webkit-overflow-scrolling:touch;
color:#222;
font-size:100%;
line-height:1.4;
}
/*img {
border:0;
max-width:100%;
height:auto;
}*/
button {
overflow:visible;
}
*,:after,:before {
box-sizing:inherit;
}
h2 {
font-size:1.5rem;
margin:1.245rem 0;
}
button,input[type=button],input[type=reset],input[type=submit] {
cursor:pointer;
}
.modal-overlay {
position:fixed;
top:0;
right:0;
bottom:0;
left:0;
z-index:2147483647;
width:100%;
height:100%;
overflow:hidden;
-ms-touch-action:none;
touch-action:none;
background-color:rgba(0,0,0,.7);
-webkit-overflow-scrolling:touch;
-webkit-backface-visibility:hidden;
text-align:center;
}
.modal-overlay:before {
content:"";
display:inline-block;
height:100%;
width:1px;
margin-right:-1px;
vertical-align:middle;
}
[dir=rtl] .modal-overlay:before {
margin-right:0;
margin-left:-1px;
}
.modal-loader:after {
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
z-index:3;
width:12px;
height:4px;
content:"";
background-image:url(data:image/gif;base64,R0lGODlhDAAEAPABAP///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJMgABACwAAAAADAAEAAACCoQRqXm42h48MhUAIfkECTIAAQAsBAAAAAQABAAAAgSEjwkFACH5BAUyAAEALAgAAAAEAAQAAAIEhI8JBQA7);
image-rendering:optimizeSpeed;
margin:auto;
}
.modal {
display:inline-block;
max-height:90%;
max-width:90%;
vertical-align:middle;
overflow:none;
margin:0 auto;
margin:-100px auto 0 auto;
}
.modal-iframe.iframe-full {
height:95%;
}
.modal-image>img {
max-height:100%;
}
.modal-content {
max-height:100%;
overflow:auto;
background-color:rgba(255,255,255,0.2);
text-align:left;
padding:1rem;
}
.modal-footer,.modal-header {
position:fixed;
top:0;
right:0;
left:0;
color:#fff;
}
.modal-header {
padding:0 4.555rem;
}
.modal-footer {
top:auto;
bottom:0;
}
.modal-close {
position:fixed;
top:1px;
right:1px;
z-index:2;
display:inline-block;
font-size:1.5rem;
font-weight:700;
color:#fff;
padding:1.245rem;
}
.modal-direction {
position:fixed;
top:49%;
left:0;
z-index:2;
display:block;
width:3rem;
color:#fff;
font-size:2rem;
font-weight:700;
text-align:center;
padding:1rem;
}
[dir=rtl] .modal-direction {
right:0;
}
[dir=rtl] .modal-direction.next {
right:auto;
left:0;
}
button.modal-close,button.modal-direction {
background-color:transparent;
border:none;
}
.visuallyhidden {
border:0;
clip:rect(0000);
height:1px;
overflow:hidden;
position:absolute;
width:1px;
margin:-1px;
padding:0;
}
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus {
clip:auto;
height:auto;
overflow:visible;
position:static;
width:auto;
margin:0;
}
.fade-in,.fade-out {
-webkit-transition:opacity .3s;
transition:opacity .3s;
}
.fade-out {
opacity:0!important;
}
.fade-in {
opacity:1!important;
}
b,strong,optgroup {
font-weight:700;
}
svg:not(:root),.modal-iframe,.modal-image {
overflow:hidden;
}

