﻿.w3-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 4%; /* Location of the box */
    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 */
}

.w3-modal, .modal-myaccount {
    padding-top: 10%;
    overflow: initial;
}

/* Modal Content */
.w3-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    text-align: left;
    border-radius: 5px;
}

.w3-modal-content-compressed {
    background-color: #fefefe;
    margin: auto;
    width: fit-content;
    text-align: left;
    border-radius: 5px;
}

.w3-modal-results-table {
    height: 400px;
    overflow: auto;
    padding: 20px;
}

h4.modal-compressed {
    text-align: left;
    padding: 15px 20px;
    background-color: black;
    color: darkorange;
    font-weight: bold;
}

h5.modal-compressed {
    text-align: left;
    padding: 15px 20px;
    background-color: black;
    color: darkorange;
    font-weight: bold;
}

/* The Close Button */
.w3-close {
    float: right;
    padding-right: 20px;
}

.w3-close, .w3-close-myaccount {
    padding: 0px;
}

    .w3-close:hover {
        filter: brightness(90%);
    }

.w3-close, .w3-close-text {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
}

    .w3-close-text:hover,
    .w3-close-text:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.w3-modal-content-h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 500;
    padding-top: 20px;
    text-align: center;
}

.w3-modal-content-textarea {
    background-color: white;
    color: black;
    border: 0;
    padding: 20px;
    width: 90%;
    height: 95%;
    resize: none;
}

.w3-modal-content-p {
    text-align: center;
    width: 100%;
    height: 90%;
}

tr.modal-dark-header {
    height: 34px;
    color: white;
    background-color: black;
    border-bottom: 1px solid darkgray;
}

tr.modal-light-body {
    height: 34px;
    border-bottom: 1px solid darkgray;
}
