﻿.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 120px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0, 0.4);
}

    .modal .content {
        background-color: #fefefe;
        margin: auto;
        /*padding: 20px;*/
        border: solid 1px #888;
        width: 80%;
    }

        .modal .content p {
            width: 90%;
            margin: auto;
            padding: 24px 0 24px 0;
        }

        .modal .content .sub-content {
            display: block;
            text-align: center;
            width: 80%;
            margin: auto;
            padding-top: 20px;
        }

            .modal .content .sub-content div {
                padding-top: 10px;
                width: 56%;
                margin: auto;
                text-align: left;
            }

.modal-button {
    padding: 20px 10px;
    font-size: larger;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-button button {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 8rem;
    margin: 0 10px;
}

.modal-button .modal-btn-proceed {
    /*background-color: #3333de;
border-color: #3333de;
color: white;
*/
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}

.modal-button .modal-btn-cancel {
    background-color: #ffffff;
    border-color: #007bff;
    border-radius: 4px;
    /*color: #3333de;*/
}

        .modal .content .close, .modal .content .dismiss {
            color: #aaaaaa;
            float: right;
            padding-right: 20px;
            font-size: 28px;
            font-weight: bold;
        }

            .modal .content .close:hover, .modal .content .close:focus,
            .modal .content .dismiss:hover, .modal .content .dismiss:focus {
                color: #000000;
                text-decoration: none;
                cursor: pointer;
            }

@media screen and (max-width: 800px) {
    .modal .content {
        width: 100%;
    }

        .modal .content .sub-content {
            width: 100%;
        }

        .modal .content .sub-content {
            width: 100%;
            padding-left: 5px;
            padding-right: 5px;
        }

            .modal .content .sub-content div {
                width: 100%;
            }
}
