* {
    opacity: 1;
    transition: all .15s;
}
html, body {
    background: #ffda24;
    margin: 0;
    color: rgba(0, 0, 0, 0.9);
}
nav {
    background: #ffba0d;
    padding: 1rem;
    font-size: 2rem;
}
a:not(.button) {
    border-bottom: 1px solid #9e5c00;
}
a:not(.button):hover {
    font-weight: bold;
}
a:not(.button), a:not(.button):visited {
    color: #9e5c00;
}
nav > *, nav a {
    margin-right: 1rem;
}
nav a.selected {
    font-weight: bold;
}
vr {
    border-right: solid 1px #000;
}
.hide {
    opacity: 0;
}
.none {
    display: none;
}
.content {
    margin-top: 2rem;
    margin-left: 25%;
    margin-right: 25%;
}
@media (max-width: 1200px) {
    .content {
        margin-left: 10%;
        margin-right: 10%;
    }
}
@media (max-width: 750px) {
    .content {
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .hide-on-small {
        display: none;
    }
}

select, input:not([type=submit]), textarea {
    background-color: rgba(255, 255, 255, 0.7) !important;
}
select:hover, input:not([type=submit]):hover, textarea:hover {
    background-color: white !important;
}
select:focus, input:not([type=submit]):focus, textarea:focus {
    border-color: #9e5c00 !important;
}

/* https://codepen.io/l4ci/pen/zAiws/ */
.radio-box, #patients {
    width: 100%;
    margin: 2rem auto;
    border: 1px solid white;
    background:rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    text-align: left;
}
.radio-box input[type=radio], .radio-box input[type=checkbox] {
    display: none;
}
.radio-box label:focus::before, .radio-box label:hover::before, .radio-box label:active::before, .radio-box input:checked + label::before {
    background: white;
    border-color: #9e5c00;
}
.radio-box label::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: .2rem solid #ccc;
    transition: all .1s;
}
.radio-box input[type=checkbox] + label::before {
    border-radius: 0;
}
.radio-box label:focus, .radio-box label:hover, .radio-box label:active, .radio-box input:checked + label, #patients a:hover {
    background: white;
    color: #9e5c00;
}
.radio-box label, #patients a {
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 0;
}
.radio-box label {
    display: block;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
}
.radio-box label:nth-child(2), #patients a:nth-child(1) {
    border: none;
}
.radio-box input:checked + label::before {
    background: #9e5c00;
}
.radio-box input[type=checkbox]:checked + label::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#chart .ct-point {
    display: none;
}
#chart .ct-series-a .ct-line {
    stroke: #2521ff;
}
.result-phototheraphy {
    color: #2521ff;
}
#chart .ct-series-b .ct-line {
    stroke: #d70206;
}
.result-transfusion {
    color: #d70206;
}
#chart .ct-label {
    font-size: inherit;
}
#chart .ct-series-c .ct-line {
    stroke: green;
    stroke-width: 3px;
}
#chart .ct-series-d .ct-point {
    display: initial;
    stroke: #913a00;
    stroke-width: 15px;
}
img.flag {
    width: 24px;
    cursor: pointer;
}
footer {
    margin-top: 50px;
    text-align: center;
}
#patients a {
    padding: 1.2rem;
    display: list-item;
    color: black;
    border-bottom: none;
}
#patients a .remove {
    color: red;
    font-weight: 800;
    cursor: pointer;
    padding: 5px 7px;
    border-radius: 3px;
    position: absolute;
    right: 8px;
    top: 8px;
}
#patients a .remove:hover {
    background-color: red;
    color: white;
}
.justify {
    text-align: justify;
}