.nyroModalBg {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.7;
    z-index: 1;
}

.nmReposition {
    position: absolute;
}

.nyroModalCloseButton {
    top: -34px;
    right: -34px;
    width: 34px;
    height: 34px;
    background: url(../files/close_white.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -9999em;
    z-index: 100;
}

.nyroModalTitle {
    top: -26px;
    left: 0;
    margin: 0;
    font-size: 1.1em;
    color: #ddd;
}

.nyroModalCont {
    margin-top: 70px;
    position: absolute;
    min-height: 80%;
    max-height: 80%;
    width: 630px !important;
    max-width: 100%;
    left: 50% !important;
    margin-left: -315px;
    z-index: 100;
    top: 0 !important;
    background: white;
}

@media (min-width: 832px) {
    .nyroModalCont {
        margin-top: 110px;
    }
}

.nyroModalCont iframe {
    width: 100%;
    height: 100%;
}

.nyroModalError {
    border: 4px solid red;
    color: red;
    width: 250px;
    height: 250px;
}

    .nyroModalError div {
        min-width: 0;
        min-height: 0;
        padding: 10px;
    }

.nyroModalLink, .nyroModalDom, .nyroModalForm, .nyroModalFormFile {
    position: relative;
    padding: 10px;
    min-height: 250px;
    min-width: 250px;
    max-width: 1000px;
}

.nyroModalImage, .nyroModalSwf, .nyroModalIframe, .nyroModalIframeForm {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

    .nyroModalImage img {
        vertical-align: top;
    }

.nyroModalHidden {
    left: -9999em;
    top: -9999em;
}

.nyroModalLoad {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #fff url(../img/ajaxLoader.gif) no-repeat center;
    padding: 0;
}

.nyroModalPrev, .nyroModalNext {
    outline: none;
    position: absolute;
    top: 0;
    height: 60%;
    width: 150px;
    min-height: 50px;
    max-height: 300px;
    cursor: pointer;
    text-indent: -9999em;
    background: transparent url('data:image/gif;base64,AAAA') left 20% no-repeat;
}

.nyroModalImage .nyroModalPrev, .nyroModalImage .nyroModalNext {
    height: 100%;
    width: 40%;
    max-height: none;
}

.nyroModalPrev {
    left: 0;
}

    .nyroModalPrev:hover {
        background-image: url(../img/prev.gif);
    }

.nyroModalNext {
    right: 0;
    background-position: right 20%;
}

    .nyroModalNext:hover {
        background-position: right 20%;
        background-image: url(../img/next.gif);
    }


.nyroModalCont {
    margin-top: 110px !important;
}

@media (max-width: 700px) {
    .nyroModalCont {
        width: 100% !important;
        left: 0 !important;
        top: 40px !important;
        bottom: 0 !important;
        margin-left: 0;
        height: auto !important;
        margin-top: 0px !important;
        max-height: 10000px;
    }
}

@media (max-width: 700px) {
    .nyroModalCloseButton {
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        height: 40px;
        width: 100%;
        background-image: url(../files/close_black.png);
        background-color: white;
        background-position: right center;
    }
}
