#sections section {
    padding-top: 10px;
}

#sections section > div {
    margin-top: 16px;
}

#sections section.hidden {
    display: none;
}

#character #name {
    display: block;
    font-style: italic;
    font-size: 1.8em;
    margin-bottom: 16px;
}

#tabs > button.btn {
    font-size: 1em;
}

#basic-info {
    display: grid;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#basic-info span {
    width: 100%;
    font-style: italic;
    font-size: 0.9em;
    text-transform: capitalize;
}

#ability-scores {
    display: grid;
    grid-column-gap: 5px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

#ability-scores .ability {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#ability-scores .ability span {
    display: block;
    padding: 0px;
}

#ability-scores .ability .score {
    margin: 0 auto;
    font-weight: bold;
    font-size: 1.5em;
}

#ability-scores .ability .mod {
    margin-top: -4px;
    font-size: 0.9em;
}

#skills > div:nth-child(1) {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#skills .skill {
    width: 100%;
    margin: 0px auto;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
}


#combat-info {
    display: grid;
    grid-column-gap: 5px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#combat-info div span {
    display: block;
    padding: 0px;
}

#combat-info div span.value {
    margin: 0 auto;
    font-weight: bold;
    font-size: 1.5em;
}

#combat-info > div {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#skills .skill:hover {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
}

#skills .skill input[type="checkbox"] {
    float: left;
    margin: 8px 8px 8px 6px;
}

#skills .proficient span.name {
    font-weight: bold;
    letter-spacing: 1px;
}

/* #skills div.proficient .name::before {
    content: "○";
    padding-right: 6px;
} */

#skills .skill:nth-child(odd) {
    background: rgba(95, 95, 95, 0.3);
}

#skills .skill span.name {
    float: left;
    font-size: 1.2em;
}

#skills .skill span.ability {
    font-size: 0.8em;
    font-style: italic;
    font-weight: normal;
    margin-left: 2px;
    float: left;
    padding: 6px;
    display: block;
}

#skills .skill span.value {
    float: right;
    font-size: 1.2em;
}

#conditions {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#conditions > span {
    font-size: 0.80em;
    cursor: pointer;
    margin: auto 1%;
    display: inline-block;
}

#conditions > span.affected {
    color: red;
}

#spells #spell-list > div {
    margin-top: 16px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#spells #spell-list div {
    text-align: left;
}

#spells #spell-list .header span {
    display: inline-block;
    font-size: 1.25em;
}

#spells #spell-list .header .slots {
    display: block;
    float: right;
}

#spells #spell-list .header .slots input {
    display: inline-block;
    margin-left: 5px;
}

#spells #spell-list .header .slots div {
    margin-left: 10px;
}

#spells #spell-list div.spells .spell {
    margin: 5px auto;
    padding: 5px;
    border-radius: 5px;
    padding: 4px 8px;
}

#spells #spell-list div.spells .spell:nth-child(odd) {
    background: rgba(95, 95, 95, 0.3);
}

#spells #spell-list div.spells .spell input {
    display: inline-block;
    margin-right: 5px;
    margin-top: 6px;
}

#spells #spell-list div.spells .spell > span {
    display: inline-block;
    position: relative;
    top: -3px;
    padding: 0 5px;
}


#spells #spell-list div.buttons {
    margin-top: 11px;
    display: grid;
    grid-column-gap: 5px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
}

#equipment #coins {
    display: grid;
    grid-column-gap: 5px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#equipment #coins div {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    padding: 8px;
}

#equipment #coins div span {
    display: block;
    font-size: 1.5em;
}

#equipment #coins div span.name {
    font-size: 1em;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.hit-points .modal-trigger {
    cursor: pointer;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 5px;   
    background: #ffffff;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-top: 12px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: rgb(21, 140, 186);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}