/* Scrollbar */
.dashboard-modal *::-webkit-scrollbar,
.dashboard-container *::-webkit-scrollbar {
    width: 0.5rem;
}
.dashboard-modal *::-webkit-scrollbar,
.dashboard-container *::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.dashboard-modal *::-webkit-scrollbar-button,
.dashboard-container *::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}
.dashboard-modal *::-webkit-scrollbar-thumb,
.dashboard-container *::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border: 0px none #ffffff;
    border-radius: 50px;
}
.dashboard-modal *::-webkit-scrollbar-thumb,
.dashboard-container *::-webkit-scrollbar-thumb:hover {
    background: #949494;
}
.dashboard-modal *::-webkit-scrollbar-thumb,
.dashboard-container *::-webkit-scrollbar-thumb:active {
    background: #707070;
}
.dashboard-modal *::-webkit-scrollbar-track,
.dashboard-container *::-webkit-scrollbar-track {
    background: inherit;
    border: 0px none #ffffff;
    border-radius: 50px;
}
.dashboard-modal *::-webkit-scrollbar-track,
.dashboard-container *::-webkit-scrollbar-track:hover {
    background: #cecece;
}
.dashboard-modal *::-webkit-scrollbar-track,
.dashboard-container *::-webkit-scrollbar-track:active {
    background: #d3d3d3;
}
.dashboard-modal *::-webkit-scrollbar-corner,
.dashboard-container *::-webkit-scrollbar-corner {
    background: transparent;
}

.dashboard-container {
	background-color: #efefef;
}
.dashboard-container .dashboard-grid{
	border: 1px solid transparent;
	display: grid;
	list-style-type: none;
	margin: 0;
	padding: 0;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	position: relative;
}
.dashboard-container .dashboard-grid.bordered {
	border: 1px solid#bbbbbb;
}
.dashboard-container .dashboard-placeholder{
	cursor: pointer;
	position: relative;
	box-shadow: inset 0px 0px 1px 2px transparent;
	border-radius: 10px;
	list-style-type: none;
	margin: 0;
	background-color: transparent;
	min-height: 100px;
	transition: all 0.15s linear;
	transition: border-radius 0.3s linear;
}
.dashboard-container .dashboard-grid.bordered .dashboard-placeholder{
	border-radius: 0;
	transition: all 0.05s linear;
	box-shadow: inset 0px 0px 1px 1px #bbbbbb;
}
.dashboard-container .dashboard-grid .dashboard-placeholder.drag-over{
	z-index: 10;
	border-radius:  10px;
	background-color: #dfeeff;
	box-shadow: inset 0px 0px 1px 2px #9fcdff;
}
.dashboard-container .dashboard-placeholder:hover{
	background-color: #e6e6e6;
}
.dashboard-container .dashboard-placeholder .placeholder-add{
	display: inline-block;
	opacity: 0;
	text-align: center;
	height: auto;
	vertical-align: bottom;
	line-height: 100%;
	position: absolute;
	color: #adadad;
	top: calc(50% - 15px);
	left: calc(50% - 15px);
	font-size: 30px;
	transition: opacity 0.15s linear;
}
.dashboard-container .dashboard-placeholder:hover .placeholder-add{
	opacity: 1;
}
.dashboard-container .dashboard-widget{
	z-index: 15;
	position: absolute;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 20px 0 #cecece !important;
	transition: transform 0.15s ease-in, box-shadow 0.15s ease-in;
}
.dashboard-container .dashboard-widget.ui-draggable-dragging{
	transform: scale(1.03);
	box-shadow: 0 0 40px 10px rgba(0,0,0,0.1)!important;
}
.dashboard-container .dashboard-widget .dashboard-widget-header{
	padding: 5px;
	background-color: #222222;
	color: #ffffff;
	border-radius: 10px 10px 0 0;
	    max-height: 35px;
	    overflow: hidden;
	display: flex;
}
.dashboard-container .dashboard-widget .dashboard-widget-content{
	padding: 5px;
	height: calc(100% - 34px);
	max-height: calc(100% - 34px);
	overflow: auto;
	display: flex;
}
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon,
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title,
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
	display: inline-block;
	vertical-align: top;
}
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon{
	padding-left: 5px;
}
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title{
	padding-left: 5px;
	flex-grow: 1;
}
.dashboard-container .dashboard-widget.widget-draggable .ui-draggable-handle{
	cursor: move;
}
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
	list-style-type: none;
	margin: 0;
	cursor: pointer;
	float: right;
	padding: 0;
}
.dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options:after{
	content :'';
	display: block;
	clear: both;
}
.dashboard-container .dashboard-widget .widget-header-options li{
	display: inline-block;
}
.dashboard-container .dashboard-widget .dashboard-widget-resize{
	opacity: 0;
	position: absolute;
	bottom: -2px;
	right: 0px;
	cursor: all-scroll;
	transform: rotate(45deg);
	transition: all 0.15s ease-in;
	cursor: nw-resize;
}
.dashboard-container .dashboard-widget:hover .dashboard-widget-resize {
	opacity: 0.3;
}
.dashboard-container .dashboard-widget .widget-header-options li{
	padding: 0 0.5rem;
	opacity: 0.5;
	transition: opacity 0.15s ease-in;
}
.dashboard-container .dashboard-widget .widget-header-options .widget-option-delete,
.dashboard-container .dashboard-widget .dashboard-widget-resize{
	display: none;
}
.dashboard-container .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
.dashboard-container .dashboard-widget.widget-resizeable .dashboard-widget-resize{
	display: inline-block;
}
.dashboard-container .dashboard-widget .widget-header-options li:hover{
	opacity: 1;
}
.dashboard-configure-menu li.active i.text-muted{
	color: #ffffff!important;
}
.dashboard-configure-menu li{
	cursor: pointer;
	transition: background 0.15s ease-in;
}
.dashboard-configure-menu li:hover{
	background: #f3f3f3;
}
.dashboard-modal .modal-body {
	min-height: 300px;
}
.dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item .nav-link,
.dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link {
    color: var(--secondary);
    background-color: transparent;
}
.dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item.show .nav-link,
.dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link.active {
    color: var(--white);
    background-color: var(--primary);
}
.dashboard-modal .widget-models{
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: auto auto auto;
    list-style-type: none;
}
.dashboard-modal .widget-models li{
    border-radius: 2px;
    padding: 5px;
    margin: 5px;
    background: #ebebeb;
    list-style-type: none;
}

.widget-types li h3{
	font-size: 20px;
	text-transform: uppercase;
    color: #213066;
}

.dashboard-modal .widget-models li {
	cursor: pointer;
	position: relative;
	transition: background 0.2s ease-in-out;
	opacity: 0.8;
}

.dashboard-modal .widget-models li.active {
	background:  #007bff!important;
	color: #ffffff;
	opacity: 1;
}

.widget-types li.active li h3,.widget-models li.active .widget-model-info{
	color:  #97c9ff;
}

.widget-model-info{
	color: #cecece;
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
}

.dashboard-modal .modal-lg{
    max-width: 1200px;
}

.dashboard-widget-customizer{
	width: calc(100% - 30px); 
	height: calc(100% - 30px); 
}