#application-wrapper {
    max-width: var(--width); 
    margin: 0 auto;

    min-height: 100%;
    
}


.required {
    color: var(--alert);
}

.hidden {
    display: none;
}

.disabled {
    opacity: .7;
    cursor: default;
}

.link {
    text-decoration: underline;
}

.link:hover {
    opacity: .5;
}

.strong {
    font-weight: 500;
}

div.checkbox {
    display: grid;
    grid-template-columns: .3fr 10fr;
    grid-gap: 10px;
    align-items: center;
    margin: 1vmin 0;
}

.light {
    font-weight: 100;
}


/* Buttons */
/* ---------------------------------------------------------- */

.button, button {
    border: 2px solid var(--button);
    border-radius: 10px;
    color: var(--button);
    background-color: var(--background);
    padding: 10px;
    margin: 10px auto;

    cursor: pointer;
    display: flex;
    justify-items: center;
    align-items: center;

    width: fit-content;
    width: -moz-fit-content;
    width: -o-fit-content;
    width: -webkit-fit-content;
    width: -ms-fit-content;
}

.button:hover, button:hover {
    border: 2px solid var(--highlight);
    color: var(--highlight);
}


/* Expandables */
/* ---------------------------------------------------------- */
div.expand {
    margin: 10px 20px;
    /* background-color: var(--quart); */
    border-radius: 10px;
}

div.expand > div:nth-child(1) {
    border: 2px solid var(--button);
    border-radius: 10px;
    color: var(--button);
    background-color: var(--background);

    cursor: pointer;
    padding: 2%;
    display: flex;
    align-items: center;

    font-size: 18px;
}

div.expand > div:nth-child(1):hover {
    border: 2px solid var(--highlight);
    color: var(--highlight);
    font-weight: 500;
}

div.expand > div:nth-child(2) {
    height: 0px;
    overflow: hidden;
    transition: height .4s;
    padding: 0;

    box-shadow: 2px 1px 17px -1px rgba(0,0,0,0.41);
    -webkit-box-shadow: 2px 1px 17px -1px rgba(0,0,0,0.41);
    -moz-box-shadow: 2px 1px 17px -1px rgba(0,0,0,0.41);

    
    border-radius: 10px;
}


/* Options */
/* ---------------------------------------------------------- */

div.options {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--theme);
    z-index: 1;
}

div.options ul {
    display: grid;
    grid-template-columns: repeat( 8, 1fr );
    max-width: var(--width);
    margin: 0px auto;
}

div.options li > div {
    color: white;
    fill: white;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    cursor: pointer;
    padding: 5px;
}


div.options li > div:hover {
    color: var(--button);
    background-color: var(--background);
    fill: var(--button);
}

div.options li span, div.options li i {
    white-space: nowrap;
    
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 550px) {
    div.options li span {
        display: none;
    }
}

/* Infoboxes */
/* ---------------------------------------------------------- */

div.info {
    background-color: whitesmoke;
}

div.info ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 5px;
    max-width: var(--width);
    margin: 0px auto;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px;
}

div.info li {
    color: var(--theme);
}

/* Data Tables */
/* ---------------------------------------------------------- */

div.data-table {
    width: 100%;
    overflow-x: scroll;
}
div.data-table table {
    width: 99%;
}

div.data-table thead th {
    border: 1px solid var(--theme);
    background-color: var(--theme);
}

div.data-table thead th > div {
    background-color: var(--theme);
    color: white;
    font-size: 12px;
    font-weight: 300;
    padding: 5px;
    text-align: left;
    cursor: pointer;

    
    height: 50px;
    width: 100;
}

div.data-table thead th > div:hover {
    background-color: white;
    color:  var(--theme);
}

div.data-table tbody td {
    padding: 5px;
    border: 1px solid var(--theme);
    cursor: pointer;
    color: inherit;
}

div.data-table tbody td.notes {
    padding: 0;
    overflow: hidden;
}


div.data-table tbody tr:hover {
    background-color: var(--theme);
    color:  white;
}

div.data-table tbody i.material-icons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}


/* Searchbar */
/* ---------------------------------------------------------- */
#search-filters {
    margin: 2vmin 0;

    display: grid;
    grid-template-columns: 0.1fr 10fr;
    align-items: center;


}

#search-filters input {
    
    border-radius: 5px;
    padding: 1vmin;
    outline: none;
    
}

#search-filters i:nth-child(2) {
    display: none;
    cursor: pointer;
}