@media (max-width: 460px) {
    .week-title {
        font-size: 3.1vw;
    }
    .week-day-label {
        font-size: 3.1vw;
    }
}

.week-title {
    display: block;
    height: 30px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adherence-legend {
    display: inline-block;
    height: 25px;
    width: 100%;
}

.adherence-legend-entry {
    display: inline-block;
    height: 100%;
    width: 105px;
}

.adherence-legend-color {
    display: inline-block;
    float: left;
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 24px;
}

.adherence-legend-text {
    display: inline-block;
    float: left;
    height: 100%;
    width: 75px;
    padding-left: 3px;
    text-overflow: clip;
    overflow: hidden;
    padding-top: 3px;
}

.week-day {
    display: inline-block;
    width: 14%;
    height: 100%;
    border: 1px solid #ccc;
    border-left: 0px solid #ccc;
}

.week-day:first-child {
    border-left: 1px solid #ccc;
}
.day-label {
    display: inline-block;
    width: 100%;
}
.week-day-label {
    display: inline-block;
    width: 14%;
    text-align: center;
    text-overflow: clip;
    overflow: hidden;
}

.history-visual-container.boxTools {
    margin-bottom: 18px;
}

.adherence-medication-name-column {
    display: inline-block;
    float: left;
    width: 30%;
}
.adherence-medication-name-column > .week-title {
    padding: 10px 0;
}

.week-chart {
    display: inline-block;
    float: right;
    width: 70%;
}

.week-chart > .week-title {
    display: block;
    margin-bottom: -1px;
}

.week-adherence-none {
    background-color: white;
}

.week-adherence-took,
.week-adherence-completed {
    background-color: #36d7b2;
}

.week-adherence-postpone {
    background-color: #ebc456;
}

.week-adherence-skip,
.week-adherence-missed {
    background-color: #f86c5f;
}
.week-title-medication-name{
    display: block;
    height: 29px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding-top: 5px;
}
