.chart-wrapper {
clear: both;
display: flex;
}
.idx-chart * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.idx-chart .widget-title {
position: relative;
text-align: center;
}
.idx-chart .widget-title span {
background: none repeat scroll 0 0 white;
padding: 0 15px;
}
.idx-chart .widget-title::after {
border-top: 1px solid #ddd;
content: "";
left: 0;
position: absolute;
top: 50%;
width: 100%;
z-index: -1;
}
.chart-canvas {
position: relative;
z-index: 10;
}
.idx-chart:after {
content: "";
clear: both;
display: table;
}
.idx-chart .widget-title {
margin-bottom: 40px;
}
#community-switch {
margin-left: 20px;
width: auto;
}
.doughnut-legend {
margin-top: 20px;
text-align: center;
}
.doughnut-legend a {
display: inline-block;
padding: 0 10px;
font-weight: 600;
}
.doughnut-legend > li {
display: inline-block;
}
.doughnut-legend span {
border-radius: 3px;
display: inline-block;
height: 15px;
margin-right: 10px;
width: 15px;
}
.canvas-left {
border: 20px solid #ececec;
padding: 20px 0;
width: 38%;
} .canvas-right {
border-left: 20px solid #ececec;
border-top: 20px solid #ececec;
margin-left: 2%;
width: 60%;
display: flex;
flex-wrap: wrap;
}
.canvas-left > p {
text-align: center;
margin-bottom: 16px;
}
.total-price:first-child {
width: 100%;
}
.total-price {
border-bottom: 20px solid #ececec;
border-right: 20px solid #ececec;
padding: 10px;
text-align: center;
width: 50%;
text-transform: uppercase;
display: flex;
flex-direction: column;
justify-content: center;
}
.total-price:last-child {
margin: 0;
}
.total-price > span {
color: #385d7e;
display: block;
font-size: 100px;
font-weight: 600;
line-height: 1.3;
}
.canvas-left > div {
position: relative;
margin: 0 10%;
}
.chart-count {
font-size: 16px;
font-weight: 600;
position: absolute;
text-align: center;
bottom: 50%;
width: 100%;
transform: translateY(50%);
}
.chart-count > span {
color: #385d7e;
display: block;
font-size: 72px;
line-height: normal;
}
.single .total-price {
width: 100%;
}
.single .doughnut-legend {
display: table;
margin: 20px auto 0;
text-align: left;
}
.single .doughnut-legend > li {
display: block;
}
@media only screen and (max-width:720px) {
.chart-wrapper {
display: block;
}
.canvas-right, .canvas-left {
margin: 0 0 15px;
width: 100%;
}
}