﻿/* button */

.dialog-open {
}

.dialog-open-button {
    background-image: url('../../img/popup.png');
    height: 25px;
    width: 30px;
    display: inline-block;
    cursor: pointer;
    vertical-align: bottom;
}



/* The Modal (background) */
.dialog-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 152; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.dialog-modal-content {
    background-color: #fefefe;
    margin: 3% 10%; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.dialog-xs {
    width: 40%;
    margin: 3% 30%;
}

.dialog-md {
    width: 50%;
    margin: 3% 25%;
}

.dialog-lg {
    width: 60%;
    margin: 3% 20%;
}

.dialog-xl {
    width: 80%;
}

@media (max-width: 1000px) {
    .dialog-xs {
        width: 60%;
        margin: 3% 20%;
    }

    .dialog-md {
        width: 70%;
        margin: 12% 15%;
    }

    .dialog-lg {
        width: 75%;
        margin: 3% 12.5%;
    }

    .dialog-xl {
        width: 80%;
    }
}

@media (max-width: 800px) {
    .dialog-xs, .dialog-md, .dialog-lg, .dialog-xl {
        width: 80%;
    }
}

 


/* The Close Button */
.dialog-close {
}

.dialog-close-button {
    width: 20px;
    height: 20px;
    background-image: url('../../img/False.png');
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    border: 1px solid #FFFFFF;
    float: left;
}

    .dialog-close-button:hover,
    .dialog-close-button:focus {
        text-decoration: none;
        cursor: pointer;
        width: 20px;
        height: 20px;
        border: 1px solid #888;
        border-radius: 10px;
    }
