﻿/* LMBX modal popup styles */

.modal-wrap {
    /* display: none; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50001;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 50001;
}

.modal-box {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 100%;
    /* overflow-y: scroll; */
    /* overflow-x: hidden; */
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    text-align: left;
    width: 300px;
    z-index: 50002;
    background-color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 0 5px #333;
    -moz-box-shadow: 0 0 5px #333;
    -webkit-box-shadow: 0 0 5px #333;
}


.modal-close {
    border: none;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 500;
}

.modal-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

.modal-scroll-horz {
    overflow-y: hidden;
    overflow-x: auto;
    width: 100%;
    height: 100%;
}


.modal-scroll-both {
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    height: 100%;
}

