﻿/* Modal dialog componenets*/
/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* 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 */
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: visible;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.menuitem {
    display: block;
    white-space: nowrap;
    font-size: 16px;
    border: none;
    /* cursor: pointer; */
    padding: 5px 5px 5px 5px;
    color: black;
    text-decoration: none;
}

    .menuitem a {
        display: inline;
        color: black;
    }

    .menuitem input {
        display: inline;
        color: black;
    }
    .menuitem a:hover, .menuitem a:focus {
        background-color: #CCCCCC;
        text-decoration: none;
        font-weight: bold;
        color: black;
    }
    .menuitem:hover, .menuitem:focus {
        background-color: #CCCCCC;
        text-decoration: none;
        font-weight: bold;
    }

.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a:hover {
    //background-color: #ddd;
}

.show {
    display: block;
}
/* List view elements */
.GridHeadButton {
    height: 100%;
    width: 100%;
    max-height: 30px;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
    //font-size: clamp(10px, 5vw, 20px);
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}