﻿html, body {
	height: 100%;
	overflow: auto;
}

.modalDialog {
    overflow: hidden;
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
	-webkit-overflow-scrolling: touch;
	/*overflow: auto;*/
	-webkit-transform: translate3d(0,0,0);
}

    .modalDialog > div {
        background: #fff;
        position: absolute;
        top: 5%;
        bottom: 5%;
        left: 5%;
        right: 5%;
        width: 90%;
    }

.modalDialogClose {
    color: #F00;
    background: #FFF;
    border: 3px solid #f00;
    position: absolute;
    text-align: center;
    line-height: 24px;
    width: 31px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    top: 15px;
    right: 15px;
}

    .modalDialogClose:hover {
        color: #FFF;
        background: #F00;
        border: 3px solid #FFF;
        text-decoration: none;
        cursor: pointer;
    }

.modalDialogLoader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../Images/processing.gif') 50% 50% no-repeat rgba(0, 0, 0, 0.1);
}

    .modalDialogLoader span {
        width: inherit;
        bottom: 35%;
        position: fixed;
        vertical-align: middle;
        text-align: center;
        color: #2c5234;
        font-style: italic;
        font-size: 16px;
    }

@media (max-width : 450px) {
    .modalDialogLoader span {
        margin: 0% 10%;
        bottom: 30%;
        width: initial;
        font-size: 14px;
    }
}

.modalDialogIframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
    overflow: auto;    
}

.hidden {
    display: none;
}


body.modal-open {
    overflow: hidden;
}