/* choices box (background) */
.choices {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* 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 */
}

/* choices box Content */
.choices_content {
    display: block;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;

    position: relative;
    background-color: #5e5e5e;
    color: whitesmoke;
    margin: auto;
    padding: 0;
    border: 1px solid whitesmoke;
    width: 20%;
    animation-name: animateTop;
    animation-duration: 0.4s
}

.choices_body table {
    width: 100%;
}

.choices_body > form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choices_body > form > table tr:nth-child(odd) {
    background-color: #404040;
}

/* choices box button */
.choices_body > form > button {
    background-color: whitesmoke;
    margin: 5px auto;
    padding: 2px;
}

.choices_body > form > button:hover {
    background-color: lightgrey;
}

.choices_body > form > button:active {
    background-color: darkgray;
}

@keyframes animateTop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    float: right;
    font-size: 25px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* choices box header */
.choices_header {
    padding: 2px 2px;
    background-color: rgba(0, 76, 153, 1);
    text-align: center;
    border-bottom: 1px dashed whitesmoke;
    font-family: Calibri, sans-serif;
}
 .choices_header h3 {
     margin: 4px 0px;
 }

.choices_body {padding: 2px 0px;}

/* responsive settings */
@media screen and (max-width: 2000px) {
    .choices_content {width:25%}
}

@media screen and (max-width: 1600px) {
    .choices_content {width:30%}
}

@media screen and (max-width: 1400px) {
    .choices_content {width:35%}
}

@media screen and (max-width: 1200px) {
    .choices_content {width:40%}
}

@media screen and (max-width: 1000px) {
    .choices_content {width:50%}
}

@media screen and (max-width: 850px) {
    .choices_content {width:65%}
}

@media screen and (max-width: 600px) {
    .choices_content {width:80%}
}