body {
    width: 100%;
    padding: 0;
    margin: 0;
}

.disabled {
    position : relative;
    opacity: 0.3;
}
.disabled:after {
    position :absolute;
    left     : 0;
    top      : 0;
    width    : 100%;
    height   : 100%;
    content  :' ';
}


#content {
    margin: 1rem auto;
    max-width: 1280px;
}


a {
    text-decoration: none;
    color: #000055;
}
a:visited, a:active {
    color: #000055;
}


ul.nav {
    background: #e7e7e7;
    margin: 0;
    padding: 0.5rem;
    list-style-type: none;
    margin-bottom: 0.5rem;
}

ul.nav li {
    display: inline;
    text-align: center;
    background: #FFF;
    padding: 0 0.5rem;
}

#sheet_container {
    display: block;
}

#character_sheet {
    margin-bottom:3rem;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

#sheet_container .banner {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-gap: 1rem;
}

#sheet_container .banner #portrait {
    width: 64px;
    height: 64px;
    background: #e7e7e7;
}

#controls {
    float: right;
    display: inline-block;
}

.temp_hp input {
    font-size: 0.75rem !important;
}

#sheet_container h1 {
    margin: 0;
}

#sheet_container .sidebar {
    grid-column-start: 2;
    grid-row-start: 1;
}

#sheet_container .sidebar .card {
    margin-bottom: 1rem;
}

#sheet_container .sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#sheet_container .sidebar ul > li {
    margin: 0;
    padding: 0;
}

#hp {
    grid-row-start: 1;
    grid-column: 7;
    grid-column-end: 9;
}

#saves {
    grid-row-start: 2;
    grid-column: 3;
    grid-column-start: span 2;
}

#proficiency {
    grid-row-start: 2;
    grid-column: 5;
}

#initiative {
    grid-row-start: 2;
    grid-column: 6;
}
#ac {
    grid-row-start: 2;
    grid-column: 7;
}
#speed {
    grid-row-start: 2;
    grid-column: 8;
}

#skills {
  grid-row-start: 2;
  grid-row-end: 50;
  grid-column: 1;
  grid-column-start: span 2;
  text-align:left;
}

#actions {
    grid-row-start: 3;
    grid-column: 4;
    grid-column-start: span 6;
}


table {
    display: grid;
    grid-template-columns: minmax(50px, 150px) 1fr;
    grid-gap: 0rem;
}
table th {
    grid-column-start: span 4;
    white-space: nowrap;
    padding-right: 1rem;
    text-align: left;
}

table td {
    padding-right: 1rem;
    white-space: nowrap;
}

.note {
    font-size: 0.75em;
    font-style: italic;
}



#sheet_container input,
#sheet_container select, 
#sheet_container textarea {
    font-weight: bold;
    border: 0;
}

#sheet_container input#name {
    font-size: 2.0rem;
    font-weight: bold;
    width: 100%;
}

.stats {
    display: grid;
    grid-template-columns: repeat(8, minmax(6rem, 1fr));
    grid-gap: 1rem;
}

.card {
    border: 2px solid #e7e7e7;
    border-radius: 4px;
    padding: .5rem;
    text-align: center;
}

.label {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.card input {
    font-size: 1.25em;
    text-align: center;
    padding: 0;
    margin: 0;
}


ul.multiclass {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}
.multiclass li {
    display: inline;
}
.multiclass label {
    display: none;
}


ul#class_attributes {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul#class_attributes li {
    display: grid;
    grid-template-columns: min-content 1fr 1fr;
}

ul#class_attributes span,
ul#class_attributes label {
    margin-right: 0.5rem;
}

ul#class_attributes label {
    text-align: left;
    font-weight: bold;
}

ul#class_attributes span select {
    width: 100%;
}
