@font-face { 
	font-family: 'bowlby-onet'; 
	src: url('../fonts/bowlby-one/BowlbyOne-Regular.ttf') 
	format('truetype');
}

@font-face { 
	font-family: 'comfortaa'; 
	src: url('../fonts/comfortaa/Comfortaa-Bold.ttf') 
	format('truetype');
}

@font-face { 
	font-family: 'droid-sans'; 
	src: url('../fonts/droid-sans/DroidSans-Bold.ttf') 
	format('truetype');
}

@font-face { 
	font-family: 'nunito'; 
	src: url('../fonts/nunito/Nunitoa-Bold.ttf') 
	format('truetype');
}


body{

	background: #360033; /* fallback for old browsers */
	background: -webkit-linear-gradient(to left, #360033 , #0b8793); /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to left, #360033 , #0b8793); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        
	
	/** font-basics **/
	font-family: Arial;
	color: #222222;
}

#page{
	
}

#header{
	height:200px;
	height: 32px;
}

#menu{
	width:900px;
	height:28px;
	position: relative;
	margin:auto;
	margin-bottom: 7px;
}

#menu ul{
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#menu > ul > li{
	float: left;
	cursor: pointer;
	transition: all 0.4s ease;
	opacity:0.8;
	position: relative;
	z-index: 3;
	border-bottom: 2px solid transparent;
	margin: 0px 5px 0px 15px;
	padding: 5px 2px 3px 2px;
	min-width: 10px;
	text-align: center;
	line-height: 16px;
	color: #fff;
}

#menu > ul > li:after{
	content: '';
	position: absolute;
	
	bottom: -2px;
	height: 2px;
	width: 100%;
	background: #fff;
	left: 0px;
	
	width: 0px;
	left: 50%;
	opacity: 0;
		
	transition: all 200ms ease;
}

#menu > ul > li[data-layout="icon"]:after,
#menu > ul > li#cmdExtendMenu:after{
	display: none;
}

#menu > ul > li#cmdExtendMenu:hover:before{
	display: block;
}
#menu > ul > li#cmdExtendMenu:before{
	content: '';
	background: transparent;
	width: 120px;
	height: 40px;
	position: absolute;
	left: 10px;
	top: -10px;
	display: none;
}

#menu > ul > li[data-active="true"]:after,
#menu > ul > li:hover:after{
	width: 100%;
	left: 0px;
	opacity: 1;
}

#menu > ul > li:hover,
#menu > ul > li[data-active=true]{
	opacity:1;
	background: transparent;
}

#menu > ul > li:first-of-type p,
#menu > ul > li:hover p,
#menu > ul > li[data-active=true] p{

}


/* for the icons */
#menu > ul > li[data-layout="icon"]{
	padding: 5px 2px;
	
	/*theme 2*/
	padding: 5px 6px;
	margin: 0px 4px;
	border-radius: 100px;
	border: none;
}

#menu > ul > li[data-layout="icon"]:hover,
#menu > ul > li[data-layout="icon"][data-active=true]{
	background: transparent;
	opacity: 1;
	
	/*theme 2*/
	background: #fff;
}

#menu > ul > li[data-layout="icon"][data-active=true]{
	height: 15px;
	border-bottom: 1px solid #fff;

	background: #fff;
}

#menu > ul > li[data-layout="icon"]:hover > p,
#menu > ul > li[data-layout="icon"][data-active=true] > p{
	color: #222 !important;
}



#menu > ul > li p{
	margin: 0px;
	font-size: 14px;
	
	/* dark themes */
	color: #fff;
	font-weight: bold;
}


#menu > ul > li:hover > ul{
	display: block;	
}

#menu > ul > li > ul{
	position: absolute;
	top: 26px;
	left: 0px;
	background: #fff;
	list-style: none;
	z-index: 4;
	min-width: 150px;
	box-shadow: 3px 3px 6px -3px rgba(0,0,0,0.2);
	padding: 5px 0px;
	text-align: left;
	
	display: none;
	
	/* theme2 */
	border-radius: 3px;
	box-shadow: 0px 2px 5px -2px rgba(0,0,0,0.5);
	
}

#menu > ul > li > ul > li > p{
	margin: 0px;
	color: #000;
	font-weight: normal;
}

#menu > ul > li > ul > li[data-active="true"] > p{
	font-weight: bold;
}

#menu > ul > li > ul > li{
	padding: 5px;
	margin: 0px 5px 5px;
	border-bottom: 1px solid #e0e0e0;
}

#menu > ul > li > ul > li:last-of-type{
	border: none;
	margin-bottom: 0px;
}

#menu > ul > li > ul[data-layout="block"]{
	left: -50px;
	width: 250px;
	overflow: scroll;
	padding: 0px;
	max-height: 300px;
	
	/*theme 2*/
	color:#222 !important;
}

#menu > ul > li > ul[data-layout="block"] > li{
	background: #f4f4f4;
	padding: 5px;
	margin: 5px;
	border: none;
	font-size: 13px;
	height: 20px;
}

#menu > ul > li > ul[data-layout="block"] > li:hover{
	background: #e0e0e0;
}

#menu > ul > li > ul[data-layout="block"] > li:hover > span{
	display: none;
}

#menu > ul > li > ul[data-layout="block"] > li:hover > i{
	display: inline;
}

#menu > ul > li > ul[data-layout="block"] > li > span{
	background: #e13e3e;;
	color: #fff;
	line-height: 20px;
	height: 20px;
	min-width: 16px;
	text-align: center;
	border-radius: 20px;
	float: right;
	font-size: 11px;
	padding: 0px 2px;
}

#menu > ul > li > ul[data-layout="block"] > li > i{
	float: right;
	margin: 3px 8px 3px 5px;
	display: none;
}

#menu button.button{
	border:none;
	background: rgba(253, 253, 253, 1);
	float: right;
	height: 26px;
	font-size: 14px;
	color: #5a5a5a;
	cursor: pointer;
	transition: all 0.4s ease;
	
	/* theme2 */
	background: transparent;
	color: #fff;
	border-bottom: 2px solid transparent;
	line-height: 26px;
}

/* theme2 */
#menu button.button > i{
	border-radius: 100px;
	height: 20px;
	width: 24px;
	margin-top: -10px;
	transition: all 200ms linear;
	padding: 6px 0px 0px 2px;
	margin: 0px;
	float: left;
	display: block;
	
}

#menu button.button:hover > i{
	background: #fff;	
	color: #222;

}


#menu button.button:hover{
	color:#222;
	
	/* theme 2 */
	color: #fff;
}

/**********************************/
/********   CONTROL PANEL *********/
/**********************************/

#controlPanel{
	background: rgba(253, 253, 253, 0.88);
	background: rgba(253, 253, 253, 1);
	width:900px;
/* 	height:600px; */
	height:550px;
	position: relative;
	margin:auto;
	
/* 	overflow: auto; */

	/*theme 2*/
	border-radius: 3px;
	box-shadow: 0px 2px 5px -2px rgba(0,0,0,0.1);
}

/***** NAVIGATION *****/
#navigation{
/* 	background: inherit; */
	width:200px;
	height:100%;
/* 	box-shadow: 10px 0px 13px -12px rgba(0,0,0,0.3); */
	border-right: 1px solid #e3e3e3;
	float: left;
}

#navigation ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#navigation ul li{
	margin: 0px;
	padding: 0px;
	font-size:14px;
	cursor: pointer;
}

#navigation ul li p{
	padding: 6px;
	margin: 8px;
	cursor: pointer;
	background: inherit;
	margin-right: -1px;
	border: none;
	border-right: 1px solid transparent;
	transition: border-color 200ms linear;
}

#navigation ul li > ul{
	margin-left:10px;
}

#navigation ul li p:hover{
	border-right: 1px solid rgb(44,71,99);
}

/* #navigation ul li p:hover, */
#navigation ul li[data-active=true] > p{
/* 	background: #E9E9D1; */
/* 	background: #444349; */
	color: #f7f7f7;
	
	position: relative; /* für :after */
	
	background: none;
	background-color: rgb(44,71,99);
	
	/*theme 2*/
	border-radius: 3px 0px 0px 3px;
}

#navigation ul li[data-active=true] > p:after{
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	right: -1px;
	border: 6px solid;
	border-color: transparent rgba(253, 253, 253, 1) transparent transparent;
	top: 50%;
	margin-top: -5px;
}

/***** MAIN ****/
#main{
	width: 699px;
	height:100%;
	float: left;
	overflow: auto;
}


/***** BLOCK ****/
.block{
	margin: 10px;
/* 	overflow: hidden; */
	float: left;
	width: 679px;
}

.block_head{
	float: left;
	background: url('../graphics/stardust.png');
	height: 30px;
	width: 100%;
	border-radius: 3px 3px 0px 0px;
	color: #f7f7f7;
	
	/* theme 2 */
	background: none;
	background-color: rgb(44,71,99);
}

.block_head_title{
	font-size:14px;
	float: left;
	margin: 6px 0px 0px 10px;
	font-weight: bold;
}

.block_head_controls{
	float:right;
	margin: 4px;
}


.block_head_controls button,
.block_content > .block_content_controls button{
	float:left;
	margin: 2px 0px;
	background: #FDFDFD;
/* 	border: 1px solid #dadada; */
	border: none;
	border-right: 1px solid #dadada;
/* 	box-shadow: 0px 1px 3px -1px rgba(0,0,0,0.12) inset; */
	cursor: pointer;
	padding: 1px 5px;
		
	transition: border-bottom 200ms ease;
	-moz-transition: border-bottom 200ms ease;
	-webkit-transition: border-bottom 200ms ease;
	-o-transition: border-bottom 200ms ease;
}

.block_head_controls button:first-of-type,
.block_content > .block_content_controls button:first-of-type{
	border-radius: 3px 0px 0px 3px;
}

.block_head_controls button:last-of-type,
.block_content > .block_content_controls button:last-of-type{
	border-radius: 0px 3px 3px 0px;
	border-right: none;
}

.block_head_controls button:active,
.block_content > .block_content_controls button:active{
	box-shadow: 0px 1px 3px -1px rgba(0,0,0,0.15) inset;
}

.block_head_controls button[disabled="disabled"]{
	color: #a2a2a2;
	cursor: not-allowed;
}

.block > div.ui-state-highlight{
	background: #d4edfc;
	float: left;
	min-height: 40px;
	width: 100%;
	border: 1px solid #e7e7e7;
	border-top: none;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	position: relative;
	background: url('../graphics/mochaGrunge.png') repeat;
}

.block_content{
	float: left;
	min-height: 40px;
	width: 100%;
	border: 1px solid #e7e7e7;
	border-top: none;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	position: relative;
	background: rgb(253,253,253);
}

.block > div:last-of-type{
	border-bottom-right-radius: 3px;	
	border-bottom-left-radius: 3px;	
}

.block_content:nth-of-type(even){
	background: #f2f2f2;
}

.block_content > .block_content_controls{
    border-bottom: 1px solid #e7e7e7;
    height: 100%;
    position: absolute;
/*     right: -54px; */
/*     width: 43px; */
    width: 0;
    width: -11;
    overflow: hidden;
}

.block_content > .block_content_controls button{
	position: absolute;
	height:25px;
	margin-top:-12px;
	top:50%;
	
	border: 1px solid #db6363 !important;
	border-radius: 25px !important;
	background: #fff;
	color: #db6363;
	width: 25px;
	margin-left: 9px;
	box-shadow: none;
	
	transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-webkit-transition: all 200ms ease;
	-o-transition: all 200ms ease;}

.block_content > .block_content_controls button:hover{
	background: #db6363;
	color: #f9f9f9;
}

.block_content > .block_content_controls input{
	margin-top: -10px;
	position: absolute;
	top: 50%;
	width: 33px;
	display: block;
}


.block_content > .block_content_controls:first-of-type{
	border-top: 1px solid #e7e7e7;
}

.block_content_cover{
	padding: 5px;
	cursor: pointer;
}

.block_content_cover > p{
	margin: 0px;
}

.block_content_cover > p.block_content_cover_1{
	float: left;
	font-size: 15px;
	min-width: 500px;
}

.block_content_cover > p.block_content_cover_2{
	float: left;
	font-size: 11px;
	min-width: 500px;
	margin-top: 5px;
}

.block_content_cover > p.block_content_cover_3{
	float: right;
/* 	width: 150px; => why was this needed again? */
	background: inherit;
	border-radius: 3px;
	font-size: 13px;
	text-align: right;
	position: absolute;
	right: 5px;
	top: 5px;
}

/***** FIELD ****/
.field{
	background: inherit;
	position: relative;
	
	border-bottom: 1px solid;
/* 	border-color: inherit; */
	border-color: #e7e7e7;
	min-height:30px;
	overflow: hidden;
	margin: 0px 10px;
	padding: 8px 0px;
	display:table;
/* 	width: 657px; */
	width: calc(100% - 20px);
}

.field:first-of-type{
	margin-top: 0px;
}

.field:last-of-type{
	margin-bottom: 0px;
	border-bottom: none;
}

/*
.field[data-requireUpdate="true"] > .field_label > label:before{
	float:left;
	display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    content: "";
    font-family: FontAwesome;
    margin-top: 2px;
}

.field[data-requireUpdate="true"] > .field_label > label{
	color: #70403D;
	position: relative;
}


.field[data-requirePublish="true"] > .field_label > label:before{
	float:left;
	display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    content: "\f058";
    font-family: FontAwesome;
    margin-top: 2px;
}

.field[data-requirePublish="true"] > .field_label > label{
	color: #1cb9e8;
	position: relative;
}
*/

.field_label{
	width: 230px;
	display: table-cell;
	vertical-align: middle;
	font-size: 13px;	
	margin-top: 2px;
}

.field_label > div.field_labelIco{
	float:left;
	display: inline-block;
/*
    width: 16px;
    height: 16px;
*/
    margin-right: 2px;
    margin-left: 2px;
    margin-top: 1px;
    cursor: pointer;
	-moz-transition: all 100ms linear;
}

.field_label > div.field_labelIco:hover{
	transform: scale(1.15);
}

.field_label > div.field_labelIco:last-of-type{
	margin-right: 7px; /** add 5px between last icon and label **/
}


.field_label label{
}

.field_input{
	display: table-cell;
	vertical-align: middle;
	padding-left:10px;
}

.field_input input{
/* 	padding:0px 0px 0px 2px; */
	
 	border: 1px solid #dedede;
    border-radius: 3px;
    box-shadow: 0 1px 10px -5px rgba(0, 0, 0, 0.2) inset;
    min-width: 400px;
    padding: 3px;
}

.field_input input[type=number]{
	width: 30px;
}

.field_input input[type=text]{
	min-width: 400px;
}

.field_input img{
	max-height: 40px;
	padding: 2px;
	background: #fff;
	border: 1px solid #e8e8e8;
	cursor: zoom-in;
}

.field_input a{
	color: #299be1;
	text-decoration: none;
	font-size:13px;
}







	div.headline{
		border-bottom: 1px solid #e0e0e0;
/* 		width: 670px; (automatisch max. Breite) */
		padding: 5px;
		margin: 10px;
		height: 22px;
	}
	
	
	div.headline > p{
		margin: 5px;
		margin-left: 0px;
		float: left;
		font-size: 14px;
		position: relative;
/* 		padding-right: 20px; */
		margin-right: 25px;
		height: 22px;
	}

	div.headline > p:after{
		content: '';
		position: absolute;
/* 		background: red; */
		width: 10px;
		height: 10px;
/* 		right: 5px; */
		right: -15px;
		top: 2px;
		transform: rotate(45deg);
		border-top: 1px solid #e0e0e0;
		border-right: 1px solid #e0e0e0;
	}

	div.headline > p:last-of-type:after{
		display: none;
	}
	
	div.headline > p[onclick]{
		cursor: pointer;
	}
	
	div.headline > p[onclick]:hover{
		border-bottom: 1px solid rgb(44, 71, 99);
	}

	div.headline > p > i{
		padding-right: 10px;
	}

	div.headline > button{
		float: right;
		border: none;
		border-bottom: 1px solid transparent;
		background: none;
		height: 28px;
		padding: 0px;
		margin-left: 5px;
		cursor: pointer;
		transition: border-color 200ms linear 0s;
	}

	div.headline > button > img{
		max-height: 18px;
	}
	
	div.headline > button:hover{
		border-color: rgb(44, 71, 99);
	}
		
	div.headline > button[data-active="true"]{
		border-color: rgb(44, 71, 99);
		border-width: 3px;
	}
	
	div.headline > input.search {
	    background: transparent;
	    border: medium none;
	    float: right;
	    height: 26px;
	    margin: 0 0 0 5px;
	}
	
	
	/* fix headline (for overflow content) attention: add 50px offset top! */
	div.headline[data-layout="fix"]{
		border-bottom: 1px solid #e0e0e0;
		width: 670px;
		padding: 5px;
		margin: 10px;
		height: 22px;
		
		position: absolute;
		top: 0px;
		margin-top: 0px;
		padding-top: 15px;
		background: #fff;
		
		z-index: 1;
	}
		
	
	/** description **/
	.description{
		margin: 10px;
		background: #f4f4f4;
		padding: 5px;
		font-size: 13px;
		
		/* theme2 */
		border-radius: 2px;
	}
	
	/** table **/
	table.table{
		margin: 10px;
		width: 680px;
		font-size: 13px;
		border-collapse: collapse;
	}
	
	table.table thead tr td{
		border-bottom: 1px solid #e0e0e0;
	}

	table.table tr td{
		padding: 5px;
	}
	
	table.table tr td[title]{
		cursor: default;
	}	
	
	table.table tr td[onclick]{
		cursor: pointer;
/* 		color: #299be1; */
	}

	/*TODO test this . */
	table.table tr td a{
		color: inherit;
		text-decoration: none;
	}
	
	table.table tr td a.button{
		padding: 0px 5px;
	}
	
	table.table tr td a.button,
	table.table tr td button{
		background: #fcfcfc none repeat scroll 0 0;
	    border: 1px solid #dfdfdf;
	    border-radius: 3px;
	    box-shadow: 0 2px 5px -5px rgba(0, 0, 0, 0.4);
/* 	    transition: border-color 200ms linear; */
	    transition: all 200ms linear;
	}
	
	
	table.table tr td a.button:hover,
	table.table tr td button:hover,
	table.table tr td button[data-active="true"],
	table.table tr td button[data-layout="plain"]:focus{
		background-color: rgb(44, 71, 99); /* remove this for a more weight-less look */
		border-color: rgb(44, 71, 99);
		color: #fff;  /* remove this for a more weight-less look */
	}
	

	table.table tr td a.button[data-layout="plain"],
	table.table tr td button[data-layout="plain"],
	table.table tr td button[data-layout="plain"]:disabled,
	table.table tr td button[data-layout="plain"]:disabled:hover{
		background: transparent;
	    border: 1px solid transparent;
	    border-radius: 3px;
	    box-shadow: none;
	    transition: all 200ms linear;
	    cursor: default !important;
	}
	
	table.table tr td a.button[data-layout="plain"]:hover,
	table.table tr td button[data-layout="plain"]:hover{
		color: inherit !important;
		background-color: #fcfcfc;
		border: 1px solid #dfdfdf;
		box-shadow: 0 2px 5px -5px rgba(0, 0, 0, 0.4);
	}	
	
	
	table.table tr td a.button:disabled,
	table.table tr td button:disabled,
	table.table tr td button:disabled:hover{
		background: #fcfcfc none repeat scroll 0 0;
	    border: 1px solid #dfdfdf;
	    color: #7f7f7f;
	    cursor: not-allowed;
	}
