/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/

/**
 * This file should be included on websites so that the rendered charts looked better.
 */

div.chartjs canvas, div.chartjs div.chartjs-legend {
	display:inline-block;
	text-align:left;
}
div.chartjs div.chartjs-legend span {
	display: inline-block;
	width:20px;
	height:20px;
	margin-right:10px;
	margin-bottom:-5px;
}
div.chartjs div.chartjs-legend ul {
	list-style-type:none;
}
div.chartjs div.chartjs-legend li {
	margin-top:10px;
}
.longtext div.chartjs div.chartjs-legend ul {
    list-style-type:none;
    background:transparent;
}
.longtext div.chartjs div.chartjs-legend ul li:before {
    display:none;
}
/*
 * Charts in tabs
 */
.longtext .owl-carousel div.chartjs, .longtext .tabs-horizontal div.chartjs, .longtext .carousel div.chartjs {
    margin-top:10px;
}
.longtext .tabs-horizontal div.chartjs {
    background: #2ea3c0;
}
.longtext .tabs-horizontal div.chartjs ul {
    padding:10px;
}
.longtext .tabs-horizontal div.chartjs ul li, .longtext .owl-carousel div.chartjs ul li, .longtext .carousel div.chartjs ul li {
    padding:0;
}
.longtext .chartjs[data-chart="polar"] canvas, .longtext .chartjs[data-chart="line"] canvas, .longtext .chartjs[data-chart="bar"] canvas{
    background:#ffffff;
}
