﻿
/* WCM.UI.ModalContainer */
.wcm-modalcontainer-overlay 
{
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.wcm-modalcontainer-container {
    z-index: 2;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 49%;
    left: 48%;
    max-width: 100%;
    transform: translate(-50%, -50%);
}

/* smaller or equal to 359 */
@media (max-width: 359px) {
    .wcm-modalcontainer-container {
        width: 95%;
    }
}

/* greater or equal to 360px and smaller or equal to 719 */
@media (min-width: 360px) and (max-width: 719px) {
    .wcm-modalcontainer-container {
        width: 90%;
    }
}

/* greater or equal to 720px */
@media (min-width: 720px) {
    .wcm-modalcontainer-container {
        width: 70%;
    }
}

.wcm-modalcontainer-container a 
{
    margin: 50px;
}

.wcm-modalcontainer-background 
{
    z-index: 0;
    position: relative;
}

html.hasOverlayForModal {
    overflow: hidden;
}

html.hasOverlayForModal body{
    position: fixed;
    width: 100%;
}