html * {
	box-sizing: border-box;
}


.column {
	max-width: 400px;
	display: flex;
	align-content: flex-start;
	flex-wrap: wrap;
}

.widget2 {
	flex-shrink: 0;
	position: relative;
	width: 100px;
	height: 110px;
}


/* Grid */


.grids-stack-editor {
	padding: 10px;
}

.TraminoForm .grids-stack-editor .element { padding: 0px; }


.grid-stack-item-content {

	/* box-shadow: 0px 0px 10px rgba(0,0,0,0.2) */;

	overflow: hidden;
	background: rgb(195,196,196);
	background: linear-gradient(0deg, rgba(195,196,196,1) 0%, rgba(147,147,147,1) 100%);
	border-radius: 0.5rem;
	padding: 0.7rem;

}

.grid-stack-item.progress .grid-stack-item-content .items {
	filter: blur(3px);
}








/* Bearbeitbare Elemente (Infosystem) */

.grid-stack-item-content h3 { 
	color: #fff;
	margin: -0.4rem 0px 0.6rem 0px;

	font-weight: normal;
	font-size: 0.8rem;
	background-color: rgba(0,0,0,0.15);
	margin: -0.8rem -1.5rem 0.3rem -1.5rem !important;
	padding: 0.3em 2em;

}

.grid-stack-item-content .sub h3 .name { 
	position: absolute;
	left: 50%;
	transform: translate(-50%,0);
}


.grid-stack-item-content .item { 
	margin: 0px 0px 0.3rem 0px;
	padding: 0px 0px 0.3rem 0px;
	border-bottom: 1px solid rgba(255,255,255,0.3);
}

.grid-stack-item-content .item .line {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.grid-stack-item-content .item:last-child { border-bottom: 0px solid transparent; }

.grid-stack-item-content .item .outer { display: flex; align-items: center; }

.grid-stack-item-content .item .icon { margin: 0 0.4rem 0 0; color: #FFF; }

.grid-stack-item-content .item .nr { 
	margin: 0 0.2rem 0 0;
	color: #FFF;
	font-weight: bold;
	font-size: 0.8rem;
	min-width: 15px;
}

.grid-stack-item-content .item .name {	
	margin: 0 2rem 0 0;
	font-size: 0.70rem;
	color: #FFF;
	font-weight: bold;
	vertical-align: middle;
	position: relative;
}

.grid-stack-item-content .item .name i { 
	font-weight: bold;
	font-size: 0.85rem;
	margin: 0 0.5rem 0 0;
}


.grid-stack-item-content .item .name .inner {
	position: relative;
	display: flex;
	align-items: center;
	z-index:2;
	border-radius: 1rem;
	padding: 0.25rem 0.6rem;
	line-height: 1.1;
	z-index: 2;
}

.grid-stack-item-content .item.opened .name .inner { background-color: #1DB100; }
.grid-stack-item-content .item.closed .name .inner { background-color: #EE220C; }
.grid-stack-item-content .item.vorbereitung .name .inner { background-color: #0076ba; }
.grid-stack-item-content .item.gray .name .inner { background-color: #666; }


.grid-stack-item-content .item .time {
	background-color: #666;
	height: 100%;
	position: absolute;
	border-top-right-radius: 1rem;
	border-bottom-right-radius: 1rem;
	z-index: 1;
	left: calc( 100% - 0.7rem );
	padding: 0 0.5rem 0 1rem;
	top: 0px;
	text-align: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

.grid-stack-item-content .item .time i { padding: 0px 0px 0px 0px;
	margin: 0px;
	display: inline-block;
	padding: 1px; 
	margin-left: 7px;
	border-radius: 20px; 
	background-color: #999; 
	font-size: 0.8rem;
}

*[data-set] { cursor: pointer; }

/* Buttons */


.grid-stack-item-content .buttons {
	background-color: #666;
	border-radius: 0.3rem;
	align-items: flex-start;
	display: flex;
	height: 100%;
}

/* BUTTON HANDLING TO DELETE */
.grid-stack-item-content .button {
	display: inline-block;
	width: 2.7rem;
	height: 1.5rem;
	padding: 0.2rem 0.6rem;
	border-right: 1px solid #AAA;
	line-height: 1.1;
	color: #FFF;
	cursor: pointer;
	text-align: center;
	
}

.grid-stack-item-content .button:last-child { border-right: 0px; }

.grid-stack-item-content .button.open:hover { background-color: #1DB100; }
.grid-stack-item-content .button.close:hover { background-color: #EE220C; }
.grid-stack-item-content .button.vorbereitung:hover { background-color: #0076ba; }

.grid-stack-item-content .button i { line-height: 1.2; font-weight: bold;  }
/* BUTTON HANDLING TO DELETE */



/* NEW BUTTON HANDLING */


.grid-stack-item-content .ctrl_buttons {
	background-color: #666;
	border-radius: 0.3rem;
	align-items: flex-start;
	display: flex;
	height: 100%;
}


.grid-stack-item-content .ctrl_button {
	display: inline-block;
	width: 2.7rem;
	height: 1.5rem;
	padding: 0.2rem 0.6rem;
	border-right: 1px solid #AAA;
	line-height: 1.1;
	color: #FFF;
	cursor: pointer;
	text-align: center;
	
}

.grid-stack-item-content .ctrl_button:last-child { border-right: 0px; }

.grid-stack-item-content .ctrl_button.open:hover { background-color: #1DB100; }
.grid-stack-item-content .ctrl_button.close:hover { background-color: #EE220C; }
.grid-stack-item-content .ctrl_button.vorbereitung:hover { background-color: #0076ba; }

.grid-stack-item-content .ctrl_button i { line-height: 1.2; font-weight: bold;  }


/* NEW BUTTON HANDLING */


.grid-stack-item-content .overlay { display: none; padding: 10px 0px; }

.grid-stack-item-content .overlay .pick { 
	display: inline-block;
	color: #fff;
	background-color: #666;
	border-radius: 3px;
	padding: 2px 5px;
	margin-bottom: 3px;
	cursor: pointer;
	font-size: 0.75rem;
}
.grid-stack-item-content .overlay .pick:hover { 
	background-color: #444;
}
























/* ??? */


.widget .subhead {
	color: #FFF;
	font-size: 1.4rem;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
}

.widget .round-button {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 15px;
	width: 30px;
	height: 30px;
	background-color: #FFF;
	color: #000;
	border-radius: 50%;
}



.widget .content {
	overflow: hidden;
	position: absolute;
	left: 0px;
	right: 15px;
	top: 0px;
	bottom: 30px;
	background: rgb(195,196,196);
	background: linear-gradient(0deg, rgba(195,196,196,1) 0%, rgba(147,147,147,1) 100%);
	border-radius: 12px;
	padding: 1rem;

}

.dashboard .widget .label {
	position: absolute;
	left: 0px;
	right: 15px;
	bottom: 13px;
	text-align: center;
	color: #999;
	font-size: 10px;


}





.items .object {
	position: relative;
	z-index: 1;
	display: flex;
	background-color: #666;
	color: #fff;
	font-weight: bold;
	font-size: 0.9rem;
	border-radius: 10px;
	padding: 3px 15px 3px 10px;
	cursor: pointer;

}

.items .object.inline { display: inline-flex; }

.items .objectslider {
	border-radius: 10px;
	display: none;
	background-color: #666;
	color: #FFF;
	padding: 0.1rem;
	padding-left: 50px;
}
.items .objectslider.show { display: flex; }
.items .objectslider .item {margin-right: 1rem; }
.items .objectslider .item:after { content: "|"; display: inline-block; padding-left: 1rem; }
.items .objectslider .item:last-child:after { display: none; }


.items .object .icon {
	width: 1.5em;
}

.items .object.opened {
	background-color: #1DB100;
}

.items .object.closed {
	background-color: #EE220C;
}

.items .object.dayoff {
	background-color: #0076BA;
}



.widget .footer {
	display: flex; 
	justify-content: center;
}

.widget .add i {
	transform: rotate(-45deg);
}









.clear { clear: both; }

