#main-container {
    max-width: 600px;
}

.wp-graphics-tooltip {
    width: 170px;
    font-size: 15px;
}

h1.franklin {
    font-size: 2.3em;
}

h4.franklin-thin {
    font-size: 1.2em;
    margin-top: 0;
}

.top-bar-chart {
    width: 100%;
    height: 24px;
    margin: 10px 0;
    position: relative;
}

.top-bar {
    float: left;
    background: #d2d6e6;
    height: 100%;
}

.top-bar.bar-non-drug {
    width: 46%;
    background: #313c65;
    color: #fff;
}

.top-bar.bar-drug {
    width: 54%;
}

.chart-wrapper h4 strong {
    font-size: 1.2em;
}

.chart-wrapper {
    width: 100%;
    margin: 0 0 10px;
    float: left;
}

#drug-chart {
    margin-right: 4%;
}

.stack-wrapper {
    width: 38%;
    float: left;
}

.target {
    width: 100%;
    height: 400px;
}

#other-chart .target {
    height: 341px;
}

.bar-segment {
    background: #313c65;
    border-bottom: 1px solid #d2d6e6;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    /*height: 100%;*/
    float: left;
    cursor: pointer;
    transition: background 500ms;
    -webkit-transition: background 500ms;
}

.bar-segment:hover, .bar-segment.active {
    background: #6975A0;
    transition: background 500ms;
    -webkit-transition: background 500ms;
}

span.segment-label {
    display: block;
    margin: 5px 0 0 5px;
    color: #d2d6e6;
}

span.segment-label.label-hide {
    display: none;
}

span.segment-label strong {
    margin-right: 5px;
    color: #fff;
    text-transform: uppercase;
}

.detail-wrapper {
    float: left;
    width: 56%;
    padding: 0 3%;
}

.detail-wrapper h3 {
    color: #666;
    margin-top: 0;
    font-size: 1.6em;
}

.detail-wrapper h3 strong {
    display: inline-block;
    margin-right: 10px;
    color: #000;
}

.detail-wrapper table {
    font-size: 15px;
}

.detail-wrapper table td {
    vertical-align: top;
    line-height: 1.1em;
    padding-bottom: 5px;

}

.detail-wrapper table td.subcat-num {
    text-align: right;
    padding-right: 7px;
}

.detail-wrapper table td.subcat-num strong {
    line-height: 1.1em;
}

.detail-wrapper p.franklin {
    font-size: 1.3em;
    margin: 10px auto;
}

h5.category-within {
    font-weight: normal;
    text-transform: uppercase;
    margin: 15px auto;
}

@media screen and (max-width: 520px) {
    .detail-wrapper p.franklin {
        font-size: 1em;
    }

    .detail-wrapper h3 {
        font-size: 1.2em;
        line-height: 1.1em;
    }

    .detail-wrapper h3 strong {
        line-height: 1em;
    }

    span.segment-label {
        margin-top: 2px;
    }

    span.segment-label strong {
        display: block;
        clear: both;
    }
}

@media screen and (max-width: 420px) {

}
