/* @override http://test.creative-city-berlin.de/media/5948/css/screen/forms.css */


textarea:hover,
input:hover {
border-color: #000 !important;}

/* corrections */

.uniForm .ctrlHolder {
    padding: 10px 1em;
    clear: none;
    border-top: 1px solid #FFFFFF;
}

.uniForm .buttonHolder {
    margin: 0.5em 0 0;
}

.uniForm label .checkboxinput {
    margin-right: 8px;
}

/* time field */

.uniForm .inlineLabels ul li label .timeinput {
    display: block;
    float: none;
    width: 98%;
}
.uniForm ul .timeinput {
    display: block;
    float: none;
    margin-top: 0.5em;
    width: 98%;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #AAAAAA;
    padding: 4px 2px;
}

/* autocomplete */

.ac_input {
    display: block;
    float: left;
    margin-top: 0.5em;
    width: 64%;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #AAAAAA;
    padding: 4px 2px;
}

.ac_results {
	padding: 0px;
	border: 1px solid WindowFrame;
	background-color: Window;
	overflow: hidden;
	z-index: 1000;
}

.ac_results ul {
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results iframe {
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute;
	top:0;
	left:0;
	z-index:-1;
	filter: mask();
	width:3000px;
	height:3000px;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: pointer;
	display: block;
	font: menu;
	font-size: 12px;
	overflow: hidden;
}

.ac_loading {
	background : window url('../../img/default/indicator.gif') right center no-repeat;
}

.ac_over {
	background-color: #eeeeee;
	color: #666;
}

.ac_title {
	font-weight: normal;
	color: #666;
}

.ac_description {
	font-size:10px;
	color: #aaaaaa;
}

/* multiple autocomplete */

div.autocomplete_container {
    float: left;
    width: 273px;
}

ul.autocomplete_selected {
    border-top: 0;
    margin-left: 10px;
    margin-bottom: 0;
    width: 261px;
}

ul.autocomplete_selected li {
    background: #D1E0E8;
    border: 1px solid #C7CFD5;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    padding: 4px 16px 4px 6px;
    margin-bottom: 3px;
    position: relative;
}

ul.autocomplete_selected a.closebutton {
    position: absolute;
    right: 5px;
    top: 6px;
}

.deletebutton {
    margin-right: 40px;
}

.uniForm fieldset {
    background-color: #F8F8F8;
    margin-bottom: 7px;
    border-top: 1px solid #D7D7D7;
    border-bottom: 1px solid #D7D7D7;
}

.uniForm h3 {
    padding-left: 194px;
}
.uniForm h4 {
    border-top: 1px solid #FFFFFF;
    padding-left: 194px;
}

.uniForm .inlineLabels label,
.uniForm .inlineLabels .label,
.uniForm .inlineLabels .readOnlyLabel {
    margin: 0.3em 4% 0 0;
    width: 30%;
}

.uniForm .buttonHolder {
    margin-bottom: 1em;
    clear: none;
}

.uniForm .buttonHolder .primaryAction {
    background: #D7466B url(../../img/default/save.png) no-repeat 28px 7px;
    color: #FFFFFF;
    padding: 5px 30px 5px 40px;
    line-height: 1em;
    text-align: center;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    float: right;
    margin-left: 1em;
    cursor: pointer;
}

.uniForm .secondaryAction {
    background: #4E4E4E;
    color: #FFFFFF;
    padding: 5px 30px 5px 30px;
    line-height: 1em;
    text-align: center;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    float: right;
    margin-left: 1em;
    cursor: pointer;
}

a.add-form {
    margin-left: 193px;
    display: block;
    background: url(../../img/default/add.gif) no-repeat 0 0;
    line-height: 16px;
    padding-left: 26px;
    text-transform: uppercase;
    color: #666666;
}
a.add-form:hover {
    background: url(../../img/default/add.gif) no-repeat 0 -16px;
    color: #333333;
}

a.delete-form {
    margin-left: 193px;
    display: block;
    background: url(../../img/default/delete.gif) no-repeat 0 0;
    line-height: 16px;
    padding-left: 26px;
    text-transform: uppercase;
    color: #666666;
}
a.delete-form:hover {
    background: url(../../img/default/delete.gif) no-repeat 0 -16px;
    color: #333333;
}

.uniForm .inlineLabels {
    padding-top: 1em;
    padding-bottom: 1em;
}

.uniForm .inlineLabels ul li {
    margin: 0;
}

.uniForm .inlineLabels ul li label {
    clear: none;
    display: block;
    float: left;
    width: 88%;
}

.uniForm .inlineLabels .textInput,
.uniForm .inlineLabels .fileUpload,
.uniForm .inlineLabels .selectInput,
.uniForm .inlineLabels select,
.uniForm .inlineLabels textarea {
    width: 59.7%;
}

.inlineLabel {
    text-align: right;
}
.errorField, .errorlist {
    color: red;
}

.uniForm .inlineLabels .errorlist {
    float: none;
    width: auto;

}

input.read-only,
textarea.read-only,
select.read-only {
    background: #E8EDF0;
}

.uniForm .formHint {
    padding-top: .5em;
}

.uniForm .error {
    background: #FF9CB4;
}
.disclaimer {
    padding-left: 192px;
    padding-right: 2em;
    clear: left;
}

.messages {
    margin: 0;
    padding: 0;
}
.success {
    background: #c8ffbf;
    color: green;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}
.messages .error {
    background: #FF9CB4;
    color: red;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}
.focused {
    background: #D8E0E6;
}

.uniForm .inlineLabels .alternate2 .textInput,
.uniForm .inlineLabels .alternate2 .fileUpload,
.uniForm .inlineLabels .alternate2 .selectInput,
.uniForm .inlineLabels .alternate2 textarea {
    float: left;
    width: 83.8%;
}

.uniForm .inlineLabels .alternate2 select {
    width: 96.8%;
}

.uniForm .inlineLabels .alternate2 .decimalwidget {
    margin-top: 0.5em;
}

.uniForm ul.file-upload li {
    margin-bottom: .5em;
    display: block;
}
.uniForm ul.file-upload li label {
    float: none;
}

.uniForm .inlineLabels label.inlineLabel {
    line-height: 1.5em;
    margin-top: 0;
}
.formHint-autocomplete {
    padding-bottom: 12px;
}

/* Tooltip */

label {
  position: relative;
  display: inline-block;
}
label .tooltip {
  background: #fff;
  position: absolute;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -moz-box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #b3b3b3;
  z-index: 9;
  margin: 10px;
  padding: 10px;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  visibility: hidden;
  opacity: 0;
  -moz-transform: translateY(10px) translateX(-30%);
  -ms-transform: translateY(10px) translateX(-30%);
  -webkit-transform: translateY(10px) translateX(-30%);
  transform: translateY(10px) translateX(-30%);
    text-align: left;
    width: 304px;
    top: 16px;
    left: 100%;
}
label .tooltip p {
    margin: 0;
}
label .tooltip:before, label .tooltip:after {
  left: 50%;
  height: 0;
  width: 0;
  display: block;
  content: " ";
  position: absolute;
}
label .tooltip:before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid #b3b3b3;
  margin-left: -7px;
  top: -6px;
}
label .tooltip:after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #fff;
  margin-left: -6px;
  top: -6px;
}
label:hover .tooltip {
  opacity: 1;
  visibility: visible;
  -moz-transform: translateY(0) translateX(-30%);
  -ms-transform: translateY(0) translateX(-30%);
  -webkit-transform: translateY(0) translateX(-30%);
  transform: translateY(0) translateX(-30%);
  z-index: 5000;
}

#rich_text_editor_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 9;
}
#rich_text_editor_content {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 5% auto 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid gray;
}
#rich_text_editor_wrapper {
    width: 100%;
    margin: 0 0 50px 0;
}
#rich_text_editor_cancel {
    position: absolute;
    left: 30px;
    bottom: 15px;
    width: 100px;
    height: 40px;
    margin: 0 auto;
    cursor: pointer;
}
#rich_text_editor_ok {
    position: absolute;
    right: 30px;
    bottom: 15px;
    width: 100px;
    height: 40px;
    margin: 0 auto;
    cursor: pointer;
}

.tooltip h2, .ck-editor__editable h2 {
    font-size: 1.3rem;
    font-weight: normal;
    line-height: 130%;
    margin-bottom: 20px;
    padding: 0;
}
.tooltip h3, .ck-editor__editable h3 {
    padding: 0 0 0.8rem;
    font-size: 0.8rem;
}
.tooltip h4, .ck-editor__editable h4 {
    padding: 0.1rem 0 0.5rem;
    font-size: 0.55rem;
    font-weight: normal;
}
.tooltip p, .ck-editor__editable p {
    line-height: 1rem;
    margin: 0;
    padding: 0;
}
