/* Common CSS for all the charts .*/
/* @version : 28 April 2016 */
.chart-container {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-top: 31%;
    height: 0;
    max-width: 600px;
    margin-top: 25px;
}

.chart-container svg {
    position: absolute;
    top: 0;
    left: 0;
}

.x-axis text, .x-axis-3 text, .x-axis-2 text {
    stroke: none;
    fill: #000;
    font-size: 12px;
}

.x-axis .domain, .y-axis .domain, .y-axis-type-1 .domain, .y-axis-type-2 .domain,
    .y-axis-type-3 .domain {
    stroke-width: 1px;
    stroke: #000;
    fill: none;
}

.x-axis line, .y-axis line {
    stroke: #000;
}

.y-axis text, .y-axis-type-1 text, .y-axis-type-2 text, .y-axis-type-3 text {
    font-size: 12px;
}

.legends-container {
    display: inline-block;
    vertical-align: top;
    overflow-y: auto;
    border: 1px solid #ccc;
    margin: 20px 0;
    padding: 5px 10px;
    text-align: center;
}

.legends-container .longitudinal {
    margin-bottom: 10px;
}

.legend .box {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin: 0 10px;
    vertical-align: top;
}

.legend {
    margin: 5px 0;
    cursor: pointer;
    text-align: left;
}

.legend .text {
    max-width: 150px;
    display: inline-block;
    text-transform: capitalize;
}

.legend .text:first-letter {
    text-transform: capitalize;
}

.btn-container {
    width: 100%;
    /*     color: #fff; */
    /*     background-color: #999; */
    color: #555;
    font-weight: bold;
    padding: 2px;
    font-size: 15px;
    box-sizing: border-box;
    margin-top: 10px;
}

.btn-container table {
    display: inline-block;
}

.btn-container-label {
    text-align: left;
}

.chart-icon {
    font-size: 25px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    color: #65378f;
    position: relative;
    box-shadow: inset 0 0 0 4px #CECECE;
    transition: 1s;
    box-sizing: border-box;
    margin: 5px 15px;
    cursor: pointer;
}

.chart-icon:before {
    z-index: 1;
    position: relative;
}

.chart-icon:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: #CECECE;
    left: 0;
    top: 0;
    border-radius: 50%;
    transition: 1s;
    opacity: 1;
}

.btn.active .chart-icon:after, .chart-icon:hover:after {
    transform: scale(1.3);
    opacity: 0;
}

.chart-title span {
    margin: 5px;
    display: inline-block;
    padding: 10px;
    background-color: #eee;
}

/******************************** Media queries *************************************/
@media screen and (max-width: 1300px) {
    .chart-container {
        padding-top: 36%;
    }
}

@media screen and (max-width: 1080px) {
    .chart-container {
        padding-top: 48%;
    }
}

@media screen and (max-width: 860px) {
    .chart-container {
        padding-top: 64%;
    }
}