html, body.composer{
	height:100%;
	padding:0;
	margin:0;
}
body.composer>.container-fluid {
	padding-top: 60px;
	padding-bottom: 40px;
}
.flex-container{
	display: flex;
	height:100%;
}
.flex-components{
	width: 300px;
	overflow-y: auto;
	padding:20px;
	margin-top: 45px;
	background:lightgray;
}
.flex-template {
	flex: 1;
	overflow-y: auto;
	padding:20px;
	margin-top: 45px;
}

.available-component{
	width:230px;
	min-height: 60px;
	margin-bottom: 20px;
	box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
	text-align: center;
	border-radius: 4px;
	background: #fff;
}
.available-component div{
	padding:10px 2px;
}

.availableTemplate{
	width: calc(33.333% - 40px);
	float: left;
	margin-right: 20px;
	border: 1px solid #bbb;
}
.availableTemplate:nth-of-type(3n) {
	margin-right: 0;
}
.availableTemplate label{
	padding: 10px 10px 1px 10px;
}
.availableTemplate input[type=radio]{
	margin-top: -2px;
}

.template-buttons{
	margin-bottom:20px;
}
/*
#composer-container{
	width:925px;
	margin:auto;
}
*/
iframe{
	border: 1px solid #cccccc;
	width:100%;
	overflow: hidden;
	margin:auto;
	display:block;
}

.active{
	box-shadow: 0px 0px 2px 1px rgba(51,143,252,0.75), inset 0px 0px 1px 1px rgba(51,143,252,0.75);
	border-radius: 4px;
}
.component{
	transition: background 0.5s;
}
.component>.btn-group{
	position: absolute;
	top: 10px;
	right: -115px;
	z-index: 100;
	width: 105px;
}
#composer-container.highlight-components .component{
	background:rgba(51,143,252,0.2);
}
.component:hover{
	background:rgba(51,143,252,0.2) !important;
	transition: background 0.5s;
}
.component.droppable{
	background:rgba(204,112,3,0.4) !important;
}

.placeholder>.btn{
	position: absolute;
	top: -5px;
	left:-5px;
	display: none;
}
.placeholder:hover>.btn{
	display:block;
}
.placeholder>.btn-group{
	position:absolute;
	top:-30px;
	left:-1px;
	width: 500px;
	display: none;
}
.placeholder:hover>.btn-group{
	display:block;
}
.color-selection{
	width:35px;
	height:35px;
	margin-right:10px;
	border-radius:4px;
	border:1px solid #cccccc;
}
/* debug */

#composer-container.debug .component{
	background:rgba(255,0,0,0.2);
}
#composer-container.debug .placeholder{
	background: #ffffff;	
/*	xbackground:rgba(0,255,0,0.2);*/
}
