/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */

.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000;
    background: rgba(0,0,0,.8);
    z-index: 99999;
    display: none;
    top: 0;
    left: 0;
}



.reveal-modal {
    position: fixed !important;
    visibility: hidden;
    top: 20px;
    left: 59%;
    margin-left: -400px;
    width: 480px;
    background: white;
    position: absolute;
    z-index: 999999;
    padding: 30px 40px 34px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -box-shadow: 0 0 10px rgba(0,0,0,.4);
    height: auto;
    overflow: hidden;
}

    .reveal-modal.small {
        width: 200px;
        margin-left: -140px;
    }

    .reveal-modal.medium {
        width: 400px;
        margin-left: -240px;
    }

    .reveal-modal.large {
        width: 600px;
        margin-left: -340px;
    }

    .reveal-modal.xlarge {
        width: 800px;
        margin-left: -440px;
    }

    .reveal-modal .close-reveal-modal {
        font-size: 22px;
        line-height: .5;
        position: absolute;
        top: 8px;
        right: 11px;
        color: #aaa;
        text-shadow: 0 -1px 1px rbga(0,0,0,.6);
        font-weight: bold;
        cursor: pointer;
    }

    .reveal-modal tr th {
        text-align: left;
    }

    .reveal-modal .field_module {
        border: 1px solid #ccc;
        margin-bottom: 0px
    }




@media (max-width:875px) {
    .reveal-modal {
        width: 100%;
        left: auto;
        margin-left: 0%;
        margin-right: auto;
        height: 100%;
        overflow: auto;
        padding: 20px;
        top: 0px !important;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }
}
