:root {
  --colora: #0000ff; /* braun/gold */  
}

/* resets */
h1{
	margin:0px;
	padding:0px;
}
/*

input, textarea{
	font-family:"Times New Roman", Georgia, Helvetica, Arial, sans-serif;
	font-size:inherit;
	line-height:inherit;
	background:none;
}
input.label{
	font-size:11px;
	padding-left:0px !important;
	padding-right:0px !important;
	background:url(../img/input_edit.png) no-repeat right;
}

h1{
	font-size:20px;
	font-weight:bold;
	margin:0px;
	padding:0px;
	line-height:20px;
}
h1.logo{
	font-size:15px;
	font-weight:normal;
	letter-spacing:4px;
}
a{
	text-decoration:none;
	color:#000;
	cursor:pointer;
	
}
li{
	padding:0px;
	
}
table{
	width:100%;
	empty-cells:show;
	table-layout:fixed;
	border-spacing:0px;
}
tfoot{
	display:none;
}
div, td, th{
	position:relative;
	padding:0px;
	vertical-align:top;
}
.float-l{
	float:left;
}
.float-r{
	float:right;
	margin-left:5px;
}
.pointer{
	cursor:pointer;
}

*/



/*table -----*/
.gui-table{
    width: 100%;
}
.gui-table th{
	text-align:left;
	font-weight:normal;
	border-bottom:2px solid #000;
	position:relative;
	overflow:hidden;
	font-style:italic;
}
.gui-table th div{
	padding:10px 10px 10px 0px;
}
.gui-table th.sorting{
	cursor:pointer;
}
.gui-table th.asc div, .gui-table th.desc div{
	color:var(--colora);
}

.gui-table tr{
	border-bottom:1px solid rgba(0,0,0,0.2);	
}
.gui-table tbody tr:hover{
	background-color:rgba(0,0,0,0.05);
}
.gui-table tbody tr.noselect:hover{
	background-color:rgba(255,255,255,0.05);
}
.gui-table tr.datarow{
	cursor:pointer;	
}
.gui-table tr.titlerow{
	background-color:rgba(0,0,0,0.1);
	cursor:auto;
	border-top:2px solid #000;
	border-bottom:0px solid #000;
}
.gui-table tr.titlerow:first-child{
	border-top:0px solid #00f;	
}
.gui-table tr.titlerow td{
	padding:0px 8px 0px;
	font-style:italic;
}

.gui-table tr.off{
	background-color:rgba(0,0,0,0.3);
}

.gui-table tr.remove{
	background-color:rgba(255,0,0,0.3);
}
.gui-table td{
	padding:5px 10px 5px 0px;
}
.gui-table td.action{
	padding:0px;
}
.gui-table .gui-action{
	position:absolute;
    top:0px;
    right:0px;
    width:40px;
    height:40px;
	cursor:pointer;
}
.gui-table .gui-action:hover{
	color:var(--colora);	
}
.gui-table .gui-action i{
  line-height: 30px;
}  
.gui-table.searchtable th {
	display:none;
}

.gui-table.searchtable td {
	padding-left:8px;
}

/* news table*/
.gui-table.newstable, .gui-table.newstable tr, .gui-table.newstable td, .gui-table.newstable tbody{
	display:block;
	width:100%;
}
.gui-table.newstable thead{
	display:none !important;
}
.gui-table.newstable tr{
	border:0px;
	cursor:default;
}
.gui-table.newstable tr:hover{
	background-color:inherit;
}
.gui-table tr.newsitem td{
	padding:0px;
}
	
/* gui */

/* error*/

.error-msg{
	color:#FF0000;
	padding:0 0 10px;
}

/* form */
.gui-form-head{
	height:32px;
}

.gui-form{
}
.gui-form.mainform{
	margin-bottom:120px;
}
/*
.gui-form.login th{
	width:75px;
}
*/
.gui-form .msg, .msg{
	padding:8px 0px;
	border-bottom:1px solid rgba(0,0,0,0.1);
    background:rgba(0,0,0,0.2);
}
.gui-form .msg.error , .msg.error{
	color:rgba(255,0,0,1);
	background:rgba(255,0,0,0.05);	
}
.gui-form .msg.confirm , .msg.confirm{
	color:rgba(0,150,0,1);
	background:rgba(0,150,0,0.05);	
}



.gui-form-group{
	border-bottom:2px solid #000;
}
.gui-form .line{
	display:flex;
	border-bottom:1px solid #ddd;
}
.gui-form .line.doc{
	
}
.gui-form .line.doc a{
	padding:18px 20px;
    background:rgba(0,0,0,0.1);
    margin:10px 0px;
    border-radius:5px;
}
.gui-form .line:last-child{
	border-bottom:0px solid #ddd;
}
.gui-form .space{
	border-bottom:2px solid #000;
	margin-top:-1px;
}

.gui-form h3{
	border-bottom:1px solid #ddd;
	font-size:16px;
	line-height:40px;
	padding:40px 0px 0px;
	margin:0px 0px 0px;
	z-index:100;
}
.gui-form .lbl{
	position:relative;
	flex:0 0 200px;
	font-size:12px;
	line-height:16px;
	display:block;
	border-right:1px solid #ddd;
}
.gui-form .datax .lbl{
	border-right:0;
}
.gui-form .lbl label{
	display:block;
	padding:12px 0px;	
}
.gui-form .lbl .unit{
    display:block;
	position:absolute;
	top:0px;
	right:0px;
	padding:12px 10px;
}


.gui-form.login .lbl{
	flex:0 0 100px;	
}
.gui-form .fld{
	width:100%;
}
.gui-form .fld.comment input{
	width:70% !important;
	border-left:1px solid rgba(0,0,0,0.1);
}
.gui-form .fld.comment input:first-child{
	width:30% !important;
	border-left:0px solid rgba(0,0,0,0.1);
}

.gui-form .switch{
	position:relative;
	list-style:none;
	padding:0px;
	margin:2px;
}
.gui-form .switch li{
	padding:0px;
	margin:0px;
	float:left;
}
.gui-form .switch input{
	position:absolute;
	top:0px;
	left:0px;
	opacity:0;
}
.gui-form .switch label{
	display:block;
	padding:6px 16px;
	background:#ddd;
}
.gui-form .switch input:checked+label {
	background:var(--colora);
	color:#fff;
}

.gui-form input[type='text'], input[type='number'], input[type='password'], input[type='date'], .gui-form textarea, .gui-form .data{
	width:100%;
	padding:8px 10px;
	border:0px;
	min-height:40px;
	margin:0px;
}
.gui-form .data.colors{
    padding:1px;
}

.gui-form .data i{
	margin:0px 4px;	
}
.gui-form .data.multi{
	padding:4px 0px 4px 10px;
}
.gui-form .data.multi tr{
	border-bottom:1px solid rgba(0,0,0,0.1);
}
.gui-form .data.multi tr:last-child{
	border-bottom:0px solid rgba(0,0,0,0.1);
}
.gui-form .data.multi td{
	padding:4px 0px;
}
.gui-form .data.multi td:first-child{
	width:120px;
}
.gui-form .data.content{
	padding:2px 2px 0px 2px;
}
.gui-form .data.imgs{
	padding:3px 0px 8px 3px;
}
.gui-form .info{
	width:160px;
	border-left:1px solid #ddd;
	font-size:11px;
	padding:8px 10px 0px 5px;
}
.gui-form .ex{
	font-size:12px;
	padding:1px 5px 0px 10px;
	background:#f6f6f6;
	border-top:1px solid #ddd;
	color:#777;
	width:100%;
}
.gui-form .ex a{
	color:inherit !important;
	text-decoration:underline;
}
.gui-form .tex{
	font-size:11px;
	padding:1px 5px 0px 5px;
	background:#f6f6f6;
	//border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	color:#777;
}
.gui-form input[type='text']:focus, .gui-form textarea:focus, .gui-form input[type='text'].focus, .gui-form input[type='number']:focus, .gui-form textarea.focus{
	background:#f6f6f6;
	-moz-box-shadow: inset 0 0 4px #aaa;
    -webkit-box-shadow: inset 0 0 4px #aaa;
  	box-shadow: inset 0 0 4px #aaa;
}
.gui-form input[type='text']:disabled, .gui-form textarea:disabled, .gui-form input[type='number']:disabled, .gui-form input[type='password']:disabled, .gui-form textarea.disabled{
	background:none;
    color:#aaa;	
	-webkit-text-fill-color: #aaa;
	opacity:1;
}

.gui-form .checkbox{
	padding:7px 6px 6px 6px;
}
.gui-form .checkbox > div{
	position:relative;
	padding:2px 6px 2px 6px;
	//border-bottom:1px solid #ddd;
}
.gui-form .checkbox input{
	margin:0px 8px 0px 0px;
}
.gui-form .checkbox.milestones{
	padding:0px;
}
.gui-form .checkbox.milestones > div{
	padding:8px 8px 8px 8px;
	border-bottom:1px solid #ddd;
}
.gui-form .checkbox.milestones .date{
	position:absolute;
	top:0px;
	right:0px;
	width:200px;
	margin:0px;
	border-left:1px solid #ddd;
}

.gui-form .radio{
	padding:7px 6px 6px 6px;
}
.gui-form .radio > div{
	padding:2px 6px 2px 6px;
}
.gui-form .radio.inline > div{
	display:inline-block;
	margin-right:6px;
}
.gui-form .radio input{
	margin:0px 8px 0px 0px;
}

.gui-form .select{
	position:absolute;
	top:0px;
	background:#eee;
	margin:2px;
	width:100%;
	padding:5px;
}
.gui-form .gui-action{
	padding:120px 0px;
	border:0px;
	text-align:center;
}
.gui-form .gui-action .button{
	margin:0px 5px 0px 5px;	
}
input:focus,select:focus,textarea:focus {
    outline: none;
}
.gui-form .tagedit{
	border-bottom:1px solid #ddd;
}
.gui-form .tagedit .old{
	padding:10px 10px 10px;
	
}
.gui-form .tagedit .new{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	
}
.gui-form .tagedit a{
	background:var(--colora);
	color:white;
	position:absolute;
	top:6px;
	right:6px;
	padding:4px 8px;
	border-radius:2px;
}

/* relations */

.gui-form .rel{
	position:relative;
	padding:8px 10px;
	margin:2px 0px 0px 2px;
	background:rgba(0,0,0,0.05);	
}
.gui-form .rel:hover{
	background:rgba(0,0,0,0.1);	
}
.gui-form .rel .buticon{
	
	width:40px;
	min-width:40px;
	height:40px;
	color:#000;
	margin:0px;
	border:0px;
	opacity:0;
	transition:all 0.4s;
	
}
.gui-form .rel .buticon.imgs{
	background:#fff;
	border-radius:100%;
	top:8px;
	right:8px;	
}
.gui-form .rel .buticon i{
	font-size:20px;
	color:var(--colora);
}
.gui-form .rel:hover .buticon{
	opacity:1;		
}


.gui-form .jqrelation.imgs .rel, .gui-form .imgs .rel{
	padding:0px;
	margin:8px 0px 0px 8px;
	float:left;
	background:none;
}


/* form links & buttons */

.gui-form .formlink{
	display:block;
	padding:8px 10px;
	font-size:12px;
	color:var(--colora);
	cursor:pointer;
}
.gui-form .formaction{
	padding:16px 0px;
}
.gui-form .formbutton{
	display:inline-block;
	padding:8px 16px;
	min-width:200px;
	background:var(--colora);
	color:#fff;
	cursor:pointer;
}


/* panes */

.pane-side .button{
	display:block;
	border:0px;
	background:#ccc;
	padding:20px 12px;
	margin:0px;
	width:100%;
}
.pane-side .button.primary{
	background:var(--colora);
	color:#fff;	
}
.pane-side .button.small{
	border:0px;
	background:none !important;
	padding:16px !important;
	margin:0px !important;
	width:100%;
}
.pane-side .button.small span{
	padding:18px 12px;
	background:#ccc;	
}


/* buttons */

.button{
	display:inline-block;
	cursor:pointer;
	min-width:200px;
	color:#000;
	//letter-spacing:1px;
	text-align:center;
	//border:2px solid #000;
	margin:0px 5px;
	line-height:40px;
	background:rgba(0,0,0,0.3);
}

.button span{
	display:block;
	//padding:10px 16px;
	
}
.button.small{
	width:100px;
	height:22px;
	margin:1px 1px 1px 1px !important;
	letter-spacing:1px;
	text-align:center;
}
.button.small span{
	padding:4px 10px 5px 10px;	
}
.button div{
	position:absolute;
	top:0px;
	right:0px;
	width:30px;
	height:30px;
	background-image:url(../img/buticons.png);
		
}

.button:hover{
	background:#eee;
	background:rgba(0,0,0,0.3);
}
.button.primary{
	background:#917D3;	
}


/* buticon */

.buticon{
	position:absolute;
	display:block;
	top:0px;
	right:0px;
	width:40px;
	height:40px;
	color:#000;
	text-align:center;
	cursor:pointer;
}
.buticon i{
	font-size:24px;
	line-height:40px;
}
.buticon.small i{
	font-size:16px;
	line-height:40px;
}
.buticon.td{
	top:-4px;
	height:30px;
}
.buticon.td i{
	font-size:16px;
	line-height:30px;
}


/* dialog */

#gui-dialog{
	z-index:10000;
	position:fixed;
	display:none;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:rgba(230,230,230,0.9);
	
} 
#gui-dialog .win{
	width:490px;
	margin:auto;
	margin-top:163px;
	background:#fff;
	//border:2px solid #000;
	box-shadow:0px 0px 10px rgba(0,0,0,0.2);
}
#gui-dialog .head{
	position:relative;
}
#gui-dialog .head span{
	display:block;
	margin:0px 16px;
	padding:12px 0px;
	border-bottom:2px solid #000;
	font-weight:bold;
}
#gui-dialog .head span.corporate{
	font-weight:normal;
    letter-spacing: 5px
}
#gui-dialog .head a{
	margin:4px 8px;
}
#gui-dialog .content{
	padding:0px 16px 16px 16px;
}
#gui-dialog .content .img{
	padding:0px;
	background:rgba(0,0,0,0.1);
	text-align:center;
	border-bottom:2px solid #000;
	display:flex;
	justify-content:center;
	
	
}
#gui-dialog .content .img i{
	position:relative;
	text-align:center;
}
#gui-dialog .content .img img{
	max-height:200px;
}
#gui-dialog .content .img a{
	position:absolute;
	top:50%;
	left:50%;
	width:20px;
	height:20px;
	background:rgba(0,0,255,0.5);
	margin-top:-10px;
	margin-left:-10px;
	border-radius:100%;
	display:none;
}
#gui-dialog .content .img a.on{
	display:block;	
}
#gui-dialog .loading{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:rgba(255,255,255,1);
	opacity:0;
	pointer-events:none;
	transition:opacity 0.4s;
	padding:10px;
	z-index:1000;
}
#gui-dialog .loading.on{
	opacity:1;
	pointer-events:auto;
}

#gui-dialog .urldata{
	background:rgba(0,0,0,0.1);
}
#gui-dialog .urldata img{
	width:100%;	
}
#gui-dialog .urldata .urlinfo{
	padding:8px;
}
#gui-dialog .urldata .domain{
	color:rgba(0,0,0,0.5);	
}
#gui-dialog .urldata .title{
	font-weight:bold;
}

