table#teams{
    width: 100%;
    border-collapse: collapse;
    border: 0.1em solid #000000;
}

table#teams th{
    border-top: 0.1em solid #000000;
    border-bottom: 0.1em solid #000000;
}

table#teams td{
    border-bottom: 0.1em solid #000000;
    text-align: left;
    padding: 0.2em;
}

table#teams td.odd{
    background-color: #00000033;
}

table#teams td.team h4{
    margin: 0.2em;
}

table#teams td.team h5{
    margin: 0.1em;
}

table#teams td.units div.monster_panel{
    font-size: 25%;
    margin-bottom: -2em;
}

section#new_team{
    z-index: 1;
    display: none;
    position: fixed;
    width: 80%;
    height: 70%;
    margin: 0 10%;
    top: 10%;
    filter: drop-shadow(0 0 10em #000000) drop-shadow(0 0 6em #000000);
}

section#new_team table{
    width: 100%;
}

section#new_team table td.new_title{
    width: 10em;
    text-align: right;
    padding-right: 2em;
}

section#new_team table td.new_values{
    text-align: left;
    padding-right: 2em;
}

section#new_team select.new_area{
    display: none;
}

section#new_team select#new_area_difficulty{
    display: none;
}

section#new_team select#new_area_stage{
    display: none;
}

section#new_team div#new_team_units{
    background-color: #00000033;
    border-radius: 0.5em;
    height: 5em;
    text-align: left;
}

section#new_team div#new_team_units div.monster_panel{
    font-size: 50%;
    cursor: not-allowed;
}

section#new_team div.new_unit{
    text-align: right;
    display: none;
}

section#new_team div.new_unit div.new_unit_autocomplete{
    border: 0.1em solid #000000;
    display: none;
    border-radius: 0.5em;
    margin: auto auto auto 1em;
    position: absolute;
}

section#new_team div.new_unit div.new_unit_autocomplete div{
    border: 0.05em solid #000000;
    text-align: left;
    text-transform: capitalize;
    font-variant: small-caps;
    cursor: pointer;
    color: var(--input-color);
    font-weight: var(--input-font-weight);
    padding: var(--input-padding);
    background: var(--input-background);
    border: var(--input-border);
    border-radius: var(--input-border-radius);
    text-shadow: var(--input-text-shadow);
    box-shadow: var(--input-box-shadow);
}

section#new_team div.new_unit div.new_unit_autocomplete div span{
    vertical-align: middle;
}

section#new_team div.new_unit div.new_unit_autocomplete div img{
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    border-radius: 0.1em;
    border: 0.1em solid #000000;
}

