/*********************************************/
/*****  TERMINE *****************************/
#table-termine { width:100%; margin-bottom:15px;  }
#table-termine thead tr th { border-left:1px solid #ddd !important;  border-top:1px solid #ddd !important;   background-color:#fff;}
#table-termine thead  { border-left:1px solid #ddd !important;  border-top:1px solid #ddd !important;   border-right:1px solid #ddd; }
#table-termine td { border-left:1px solid #ddd; }
.set-status { cursor:pointer; }
#table-termine_length, #table-termine_filter, #table-termine_info, #table-termine_paginate { /*display:none !important; */ }

#table-termine #td1 { width:15%;  }
#table-termine #td2 { width:28%;  }
#table-termine #td3 { width:25%; }
#table-termine #td3 { width:22%; }
#table-termine #td5, #table-termine td:nth-child(5) { width:10%; text-align:center; }

.subtitle {  font-size:15px !important; }

#date-choice {margin-top:10px; }
#date-choice ul { margin-left:0px !important;}
#date-choice li { list-style-type:none; display:inline-block; height:26px;}
#year li { float:left; width:33.3333%; text-align:center; border-bottom:1px solid #fff; border-right:1px solid #fff;}
#month li { float:left; width:8.33333%; text-align:center; border-right:1px solid #fff;}
#year li:last-child, #month li:last-child  { border-right:none !important; }
/*.y2 { text-align:center;}
.y3 { text-align:right;} */
#year li a { border-bottom:1px solid #fff;}
#date-choice a {display:block; width:100%; height:26px; text-decoration:none !important; color:#333; padding-top:3px; }
#date-choice a { background-color:#ccc;}
#date-choice a:hover { background-color:#FFCC33; color:#333; }   /* #0093D0 */

a.yactive, a.mactive { background-color:#FFCC33 !important; color:#333; }
.divider-termine { margin-top:20px;}

.termine .dataTables_wrapper { margin-top: 0px !important; } 

@media screen and (max-width: 720px) { 
	#table-termine th:nth-child(5), #table-termine td:nth-child(5) {display:none; width:0px; }
}

@media screen and (max-width: 600px) { 
	#table-termine th:nth-child(3), #table-termine td:nth-child(3) {display:none; width:0px; }
	#table-termine th:nth-child(4), #table-termine td:nth-child(4) {display:none; width:0px; }
}


@media screen and (max-width: 540px) { 
	#table-termine #td1 { min-width:85px !important;  }
}






/*********************************************/
/*****  GEWERBE *****************************/
#table-gewerbe { width:100%; margin-bottom:15px;  }
#table-gewerbe thead tr th { border-left:1px solid #ddd !important;  border-top:1px solid #ddd !important;   background-color:#fff;}
#table-gewerbe thead  { border-left:1px solid #ddd !important;  border-top:1px solid #ddd !important;   border-right:1px solid #ddd; }
#table-gewerbe td { border-left:1px solid #ddd; }
.set-status { cursor:pointer; }
h2.gewerbe { margin-top:25px !important; margin-bottom:10px !important; }




/** ALL PAGES  : TABLES  **/
.dataTables_wrapper { margin-top:10px; }
.dataTables_length label, .dataTables_filter label { font-weight:400 !important;}

table.dataTable thead th, table.dataTable thead td {  border-bottom: none !important; padding: 8px 0px 8px 6px !important;  }
.table thead > tr > th {   border-bottom: 1px solid #ddd !important;  }
table.dataTable.no-footer {     border-bottom: 1px solid #ddd !important;   }
table.dataTable  { border-right: 1px solid #ddd !important;   }

table.dataTable tbody td {  padding: 8px 2px 8px 6px !important; }

.formlink {
	float:right;
	padding-top:11px; 
	font-size: 15px !important;
	color: #272727 !important;
	font-weight:400 !important;
}
.formlink a { text-decoration:none !important; }
.formlink .fa { color:#333 !important; font-size: 0.9em !important; }

/* ALL PAGES : MODAL WINDOW */
#content-wrapper { position:relative;}
.modal-backdrop {   /* z-index: -1 !important; */ }
.modal-content { padding:15px !important;}
.modal-dialog { max-width: 700px; width:initial !important;  }
.display { float:left; width:300px; }
.display:after { clear:both;}
ul.formfields { padding-bottom:20px !important; }

.mod-section { padding-top:5px; margin-top:5px; border-top:1px solid #ccc;  }
.mod-title { font-weight:700; }

.modal-header { min-height: 25px; padding: 0px 15px 25px 0px !important; }
.close { font-size: 28px !important; }

.modal-body { padding:20px 0px 20px 0px !important;}
.modal-body ul.formfields li label {  padding-top: 1px !important;  }
.modal-body label {  margin-bottom: 2px;  }
#modal-services div {float:left;}
.modal-content h3 { font-family: 'Open Sans', sans-serif; font-size:17px; margin-bottom:5px;  color:#333; font-weight:700;}
.modal-body li { /* margin-left:20px; */}
.modal-body .mdate { font-size:16px; color:#9E9691; }
.modal-body .stitle { margin-bottom:10px; }

.charge { margin-top:20px; padding:0px;}
.dept-title { font-weight:700; color: #999;}

#content-wrapper #person-image { top:85px !important; }

#prev-next { margin-top:-5px; margin-left:10px;}

.fa { font-size:1.4em;}
.fa-caret-right { font-size:2.4em; }
.fa-caret-left {  font-size:2.4em; }
.fagrey { color:#E1E1E1;}

.dataTable .fa { color:#0093D0; }
#table-immo .fa, #table-bau .fa { color: #1a1a1a !important; }


ul.formfields { margin-top:0px;}
ul.formfields li label { padding-top: 3px !important; }

.descr label, .descr div { float:none !important; display:block;}
.descr label { display:inline-block !important; background-color:#E5E5E5; font-weight:700 !important; width:auto !important; padding:2px; margin-top:15px; }

div.descr { font-weight:700 !important; margin-top:20px; }

#form-wrapper {
 position:relative;
}

.form-group { margin-bottom: 6px; }


ul.formfields {
	list-style-type: none !important;
	margin-left:0px !important;
	padding:0px !important; 
	/* padding:0px 15px 10px 15px !important; */
}

ul.formfields li {
display:block;
height:auto;
 clear:both;  
 }

ul.formfields li label {
display:block;
float:left;
width:200px;
font-weight:400 ;
padding-top:5px;
}

ul.formfields li input  {
 width: 500px;
 float:left;
 border:1px solid #ccc;
 padding:4px 0px 4px 4px;
 margin-bottom:6px;
}

ul.formfields li select  {
 width: 500px;
 float:left;
 border:1px solid #ccc;
 padding:4px 0px 4px 0px;
  margin-bottom:6px;
}

ul.formfields li input[type="submit"] {
margin-top:15px;
margin-left:200px; 
}


input[type="file"] { /* margin-left:200px;*/ float:left; }

button, input, select[multiple], textarea {
    /* background-image:; */
}


input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


.fill-date { height:auto !important;}

.rbutton { float:left;}
.stat { float:left;}
input[type="radio"] {display:inline !important; width:25px !important; float:left;}
.firstr { margin-right:30px !important;}

.form-control { border-radius: 0px !important; height:auto !important; font-size:13px; max-width:500px;}

#datetimepicker, #datetimepicker1 { max-width:500px !important; }
.input-group-addon { padding: 4px 12px; }


.rte-content { width:100%; height:auto; float:none !important; }
.rte-content ul { list-style-type: square !important; } 
.rte-content ul li { display:list-item !important; list-style-type: square !important; }



.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #9acc85;
	-webkit-box-shadow:inset 0px 1px 0px 0px #9acc85;
	box-shadow:inset 0px 1px 0px 0px #9acc85;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #74ad5a), color-stop(1, #68a54b));
	background:-moz-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-webkit-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-o-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-ms-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:linear-gradient(to bottom, #74ad5a 5%, #68a54b 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#74ad5a', endColorstr='#68a54b',GradientType=0);
	background-color:#74ad5a;
	border:1px solid #3b6e22;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:6px 12px;
	text-decoration:none;
	width:180px !important;
	margin-top:15px;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #68a54b), color-stop(1, #74ad5a));
	background:-moz-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-webkit-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-o-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-ms-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:linear-gradient(to bottom, #68a54b 5%, #74ad5a 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#68a54b', endColorstr='#74ad5a',GradientType=0);
	background-color:#68a54b;
}
.myButton:active {
	position:relative;
	top:0px;
}

#rte { height:auto; padding-top:25px;}
#rte-content  { overflow:scroll; width:400px; height:350px; }
#editor { width:800px !important; height:450px !important; background-color:#fff; max-width:800px !important;}

.red { color:#FF3300; }
.green { color:#33CC33; }


#new-termin { margin-bottom:10px; float:right; text-align:right;}

#close {
    position: absolute;
    right: 15px;
    top: 4px;
}

#modal-services div {
    float: left;
}
#addr-edit {
    margin-left: 20px;
    margin-top: 1px;
}

.img-vcard {
	width:18px !important;
	height:17px;
	max-width:18px !important;
	max-height:17px;
}







@media screen and (max-width: 750px) { 

	#termine-form label {
		float:none !important;
		clear:both;
		width:100% !important;
		max-width:100% !important; 
	}	
	.form-horizontal .form-group { margin-left: 0px !important; }
	#termine-form .form-control { float:none !important; width:100%; }
	#termine-form #rte-content {  width: 100% !important; }
	#termine-form  ul.formfields li input[type="submit"] { margin-left: 0px !important; }
}




@media screen and (max-width: 700px) { 
	#table-termine_filter, #table-termine_length  {
		display:none !important; height:0px; 
	}
}



@media screen and (max-width: 690px) { 

	.rte-content {
	  width: 100% !important;
	}
	
}


@media screen and (max-width: 690px) { 

	ul.formfields li label {
		width: 110px;
		max-width:110px;
	}
	
	.display {
	  width: auto;
	}
}