/***************************
 * Default Styles für:
 * - Eingabeformulare
 * - Formularfelder,
 * - Tabs
 * - Fieldsets
 * - Buttons
 * - Wrappendes Div um Buttons
 *
 * XXX: ACHTUNG!
 * 		Aptana Autoformat macht 100rem zu 100 rem. Lücke löschen, sonst ungültig!
 *
 ***************************/

/***************************
 * Infobubble Viewhelper
 ***************************/
.dp-infobubble-button {
	display: inline-block;
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/info_style1.png') no-repeat scroll center center;
	width: 20px;
	vertical-align: bottom;
}
.dp-infobubble-div {
	display: inline-block;
	padding-right: 20px;
	vertical-align: bottom;
}
.dp-infobubble-style0 {
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/info_style1.png') no-repeat scroll right center;
}
.dp-infobubble-style1 {
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/info_style2.png') no-repeat scroll right center;
}


/***************************
 * FieldWrapper
 ***************************/
.dp-form div.dp-fieldInfoWrapper {
	width: 50%;
}
.dp-form div.dp-fieldWrapper {
	margin-bottom: 0.8em;
	padding: 0;
	width: 100%;
}
.dp-form div.dp-fieldWrapper:last-child {
	margin-bottom: 0;
}

/* Label */
.dp-form label.dp-label {
	min-width: 200px;
	max-width: 300px;
	padding: 0.4em 0;
	font-weight: bold;
}

/* Required asterisk */
.dp-form label.dp-required-label {
	padding: 0.5em 0;
	margin: 0 0.2em;
	width: 0.4em;
}
.dp-form .dp-required-label-active::after {
	content: '*';
}

/* IntoText */
.dp-form div.dp-infoText {
	margin-top: 0.4em;
	line-height: 1.1em;
	font-size: 0.9em;
}

.dp-form .dp-fieldInfoWrapper-infobubble {
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/info_style1.png') no-repeat scroll right 8px;
	padding-right: 20px;
}

/* Error message */
.dp-form div.dp-errormsg {
    background-color: #ffdddd;
    border: 1px solid #aa0000;
    font-size: 0.9em;
    padding: 0.4em;
    min-height: 2em;
}

/***************************
 * Form-Layout
 * Labels on top
 ***************************/
.dp-form-layout-top label.dp-label {
	width: 95%;
	max-width: 95%;
}
.dp-form-layout-top .dp-fieldWrapper {
	margin-top: 0.3em;
}

.dp-form-layout-top div.dp-fieldInfoWrapper {
	width: 100%;
}

.dp-form-layout-top div.dp-errormsg {
	width: 100%;
}

/***************************
 * Various Formfield defaults
 * see further below for specific types
 ***************************/

.dp-form input, .dp-form textarea, .dp-form select {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.dp-form input[type=radio], .dp-form input[type=checkbox] {
	width: auto;
	margin-top: 0.500em;
}

.dp-form label.dp-box-label {
	padding-top: 0.5em;
}

/***************************
 * Slug Fields
 ***************************/
.dp-form .dp-form-slug {
    position: relative;
}

.dp-form .dp-form-slug input[type="text"] {
   padding-right: 35px;
}

.dp-form .dp-form-slug .icon {
    cursor: pointer;
    margin-right: 8px;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.dp-form .dp-form-slug .icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

/***************************
 * Custom Fields
 ***************************/


/***************************
 * 	RTE
 ***************************/
.dp-form .dp-rte {
	border: 1px solid transparent;
}
/* CKEditor 5
.ck.ck-content:not(.ck-comment__input *) {
    height: 300px;
    overflow-y: auto;
}
*/

/***************************
 * Multiple Selectbox
 * Typo3 Backend Style
 ***************************/

.dp-form .dp-multiSelectBox {
	float: left;
	width: 100%;
}

.dp-form .dp-multiSelectBox .button,
.dp-form .dp-sprite {
	cursor: pointer;
}

.dp-form .dp-multiSelectBox .dp-sprite {
    opacity: 0.5;
}
.dp-form .dp-multiSelectBox .dp-sprite.dp-sprite-show {
    opacity: 1;
}
.dp-form .dp-sprite .icon svg,
.dp-form .dp-sprite .icon img {
    width: 16px;
}
/* Fix fuer Chrome */
.dp-form .dp-multiSelectBox .dp-multiSelectSelect {
    overflow: hidden;
}

.dp-form .dp-multiSelectBox select {
	height: 170px !important; /* sorry, but this is really important! :-( */
	width: 100%;
	padding: 0.5em;
}
.dp-form .dp-multiSelectBox select.right {
	float: right;
	height: 140px;
}

.dp-form .dp-multiSelectBox .dp-multiSelectLabel {
	float: left;
	width: 48%;
}
.dp-form .dp-multiSelectBox .dp-multiSelectLabel-right {
	float: right;
	width: 48%;
}

.dp-form .dp-multiSelectBox .dp-mutliSelectLabelSpan {
	font-size: 0.8em;
	font-weight: bold;
}

.dp-form .dp-multiSelectBox select option {
	font-size: 0.8em;
	text-align: left;
}

.dp-form .dp-multiSelectBox div.center {
	float: left;
	width: 2%;
	text-align: center;
}


/***************************
 * 	Token Multi Select
 ***************************/
.dp-form .dp-tokenizer {
	border: 1px solid transparent;
}

/***************************
 * 	DateField
 ***************************/

.dp-form input.datepicker {
	margin-right: -17px;
}
#ui-datepicker-div {
	font-size: 0.9em;
}
.dp-form .picker__holder select {
    width: auto;
}


/***************************
 * 	MapField
 ***************************/
.dp-form .dp-map-input {
	border: 1px solid transparent;
	padding-bottom: 1px;
}
.dp-form .dp-map-input div.gmap {
	height: 300px;
	width: 100%;
}

.dp-form .dp-map-input .geoCoderWrapper {
    margin-top: 5px;
}

/***************************
 * 	General Inline Field
 ***************************/

.dp-form .dp-record-container {
	margin-top: 4px;
}
.dp-form .dp-record-container img.delete {
	display: inline-block;
}

/***************************
 * 	Captcha
 ***************************/
.dp-form .dp-captcha img {
	display: inline-block;
	width: 70%;
	margin-right: 1%;
	margin-bottom: 1em;
}
.dp-form .dp-captcha .tx-srfreecap-pi1-cant-read {
	display: inline-block;
	vertical-align: top;
	width: 28%;
}

.dp-form .dp-captcha-input-text {
	font-size: 0.8em;
	margin-bottom: 0.2em;
}

/***************************
 * 	Date Selectbox
 ***************************/

.dp-form .dp-dateSelect select {
	width: 33.33%;
	border-right: 1px solid white;
}

/***************************
 * 	Slider
 ***************************/
.dp-form .dp-slider input {
	width: 50px;
	display: inline-block;
}
.dp-form .dp-slider .sliderWrapper {
	width: 100%;
	margin-right: -50px;
	display: inline-block;
}
.dp-form .dp-slider .slider {
	margin-right: 80px;
}

/***************************
 * 	OnOffSwitch Checkbox
 ***************************/

.dp-form .dp-switchbutton {
	display: inline-block;
	padding-top: 0.5em;
}

.dp-form .switch-button-label {
	float: left;
	cursor: pointer;
}

.dp-form .switch-button-label.off {
	color: #adadad;
}

.dp-form .switch-button-label.on {
	color: #000;
}

.dp-form .switch-button-background {
	float: left;
	position: relative;
	background: #ccc;
	border: 1px solid #aaa;
	margin: 1px 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	cursor: pointer;
}

.dp-form .switch-button-button {
	position: absolute;
	left: -1px;
	top: -1px;
	background: #FAFAFA;
	border: 1px solid #aaa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/***************************
 * 	Checkboxes and radioboxes
 ***************************/
.dp-form .dp-checkboxes {
	padding: 0.3em;
	border: 1px solid transparent;
}
.dp-form .dp-checkboxes .dp-checkbox-col {
	vertical-align: top;
}

.dp-form .dp-checkboxes .dp-checkbox-col input, .dp-form .dp-checkboxes .dp-checkbox-col label {
	padding-top: 0;
	margin-top: 0;
	margin-bottom: 0.6em;
}

.dp-form .dp-checkboxes div.dp-checkbox-col input:last-of-type {
	margin-bottom: 0;
}

/***************************
 * 	Password indicator
 ***************************/
.dp-form .dp-indicator-wrapper {
	width: 100%;
	margin-top: 0.3em;
}

.dp-form .dp-indicator {
	line-height: 2em;
	height: 2em;
	transition: 1s;
	border-radius: 4px;
	text-align: right;
	padding-right: 0.8em;
	box-sizing: border-box;
	color: #000;
	white-space: nowrap;
	font-size: 0.8em;
	padding-left: 0.8em;
}

/***************************
 * Upload Field
 * @see https://github.com/LPology/Simple-Ajax-Uploader
 ***************************/
.dp-form .dp-file {
    /*	height: 55px;*/
    margin-bottom: 20px;
}
.dp-form .dp-file-list {
    display: -webkit-flex;    
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}


.dp-form .dp-file-progress {
	padding-top: 0.5em;
}
.dp-form .dp-file-progress > div {
	height: 100%;
	height: 2em;
	display: inline-block;
	vertical-align: center;
}
.dp-form .dp-file-progressbar {
	background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
	background-image: -o-linear-gradient(45deg,#ffffff 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
	background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
	-webkit-background-size: 40px 40px;
	background-size: 40px 40px;
	height: 100%;
}

.dp-form .dp-file-percentage {
	width: 10%;
	margin-left: 1%;
	text-align: right;
}
.dp-form .dp-file-progressBarWrapper {
	width: 89%;
}

.dp-form .dp-file-newbutton {
	width: 100%;
}
.dp-form .dp-file-list svg,
.dp-form .dp-file-list img {
	width: 100%;
}

/***************************
 * Responsive Tabs in input forms
 * @see main_responsive.css
 ***************************/
.dp-form  .dp-tabNavigation {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 38px;
}

.dp-form  .dp-tabNavigation .dp-tabHeader {
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
	border-width: 1px;
	border-style: solid;
	border-bottom-style: none;
	border-bottom-right-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.dp-form  .dp-tabNavigation .dp-tabHeader:hover {
}

.dp-form .dp-tabNavigation .dp-tabHeader-active, .dp-form  .dp-tabNavigation .dp-tabHeader-active:hover {
	display: block;
}

.dp-form  .dp-tabNavigation .dp-tabHeader a, .dp-form  .dp-tabNavigation .dp-tabHeader a:hover, .dp-form  .dp-tabNavigation .dp-tabHeader a:visited {
	overflow: hidden;
	display: block;
	padding: 8px;
	text-decoration: none;
	font-weight: bold;
	outline: none;
}

.dp-form .dp-tabNavigation .dp-tabHeader-active a, .dp-form .dp-tabNavigation .dp-tabHeader-active a:hover, .dp-form .dp-tabNavigation .dp-tabHeader-active a:visited {
/* 	background-color: white; */
	position: relative;
	top: 1px;
}

.dp-form  .dp-tabNavigation .dp-tabHeader-error a, .dp-form  .dp-tabNavigation .dp-tabHeader-error a:hover, .dp-form  .dp-tabNavigation .dp-tabHeader-error a:visited {

	background-image: url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/error.gif');
	background-position: 8px 10px;
	background-repeat: no-repeat;
	padding-left: 30px;
}

/* Tabs Container / pages */

.dp-form .dp-tabContainer {
	width: 100%;
	background-color: transparent;
	overflow: auto;
}

.dp-form .dp-tabContainer .dp-tabPage {
	padding: 1em;
	border-width: 1px;
	border-style: solid;
	display: none;
	border-top-left-radius: 0 !important;
}

.no-js .dp-form .dp-tabContainer .dp-tabPage, .dp-form .dp-tabContainer .dp-tabPage-forceActive {
	display: block;
}

/* used for responsive tabs to drawers */
.dp-form .dp-tabDrawer {
	display: none;
}

/***************************
 * 	Fieldset
 ***************************/
.dp-form .dp-fieldset legend {
	display: none;
}

.dp-form .dp-legend {
	padding: 0.6em;
	margin-bottom: 1em;
	margin-top: 1.3em;
	border-width:1px;
	border-style: solid;
	font-weight: bold;
}

.dp-form .dp-legend-error {
	background-image: url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/error.gif');
	background-position: 8px 10px;
	background-repeat: no-repeat;
	padding-left: 30px;
}

.dp-form .dp-fieldset {
	margin-bottom: 1em;
	border: none;
	padding: 0;
}

/***************************
 * Buttons and Step Form, Wrapping Button Div (autoposition)
 * Buttons are used for Input and Output!
 ***************************/

.dp-text-for-button, .dp-button-important, .dp-button, .dp-form input[type=button] {
	display: inline-block;
	padding: 0.45em 0.8em;
	box-sizing: border-box;
	font-size: 0.9rem;
	height: auto;
}
.dp-text-for-button {
    border: 1px solid transparent;
    line-height: 1.5em;
}
.dp-button-important, .dp-button, .dp-form input[type=button] {
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	white-space: nowrap;
	width: auto;
	min-width: 6em;
	text-align: center;
	/**
	 * 	XXX(all): no space here!!
	 */
/*	background-color: white;  I left this on purpose, to get all buttons white! */
}
/* Hover */
.dp-button:hover, .dp-button:focus, .dp-form input[type=button]:hover, .dp-form input[type=submit]:hover, .dp-form input[type=button]:focus, .dp-form input[type=submit]:focus {
	text-decoration: none;
}

/* Primary Action */
.dp-button-important, .dp-form input[type=button].dp-button-important, .dp-form input[type=submit].dp-button-important {

}
.dp-button-important:hover, .dp-form input[type=button].dp-button-important:hover, .dp-form input[type=submit].dp-button-important:hover {

}

/* Searchform */
.dp-searchform input[type=submit] {
	width: 100%;
}
/* Button inside the dp-table, edit, delete, more buttons */
.dp-table .dp-button {
	display: block;
	min-width: 0;
}
/* Button Wrapper + margins */
.dp-form .dp-fieldWrapper-buttons,
.dp-buttons {
	margin-top: 2em;
	margin-bottom: 2em;
}
.dp-form .dp-fieldWrapper-buttons,
.dp-form .dp-buttons {
    margin-left: max(20%,100px);
}

.dp-form-layout-top .dp-buttons, .dp-form-hasTabs .dp-buttons {
	margin-left: 0;
}

.dp-form-stepsform .dp-buttons {
	margin-left: 0;
}

.dp-buttons > a, .dp-buttons > button, .dp-buttons > input[type=button], .dp-buttons > input[type=submit] {
	margin-left: 3em;
}

.dp-buttons > a:first-child, .dp-buttons > button:first-child, .dp-buttons > input[type=button]:first-child, .dp-buttons > input[type=submit]:first-child {
	margin-left: 0;
}

.dp-steps-buttons {
	padding: 0.8em;
	border-left-style: solid;
	border-left-width: 1px;
	border-right-style: solid;
	border-right-width: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}
.dp-steps-buttons > div {
	display: inline-block;
	width: 33%;
}

.dp-steps-buttons .dp-steps-of {
	text-align: center;
	font-weight: bold;
}

.dp-steps-buttons > div:last-child {
	text-align: right;
}


.dp-inlinerecord-container-new {
    background-color: red;
     display: none;
}
.dp-inlinerecord-container-entries {
}
.dp-inlinerecord-add {

}
.dp-inlinerecord-container-entries .dp-record {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}


/*
.dp-form .dp-generalinline-header,
*/
.dp-form .dp-form-inline .dp-record {
	width: calc(100% - 30px);
	box-sizing: border-box;
	display: -webkit-flex;
	display: flex;
	column-gap: 5px;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}
.dp-form .dp-sprite.dp-delete {
    width: 24px;
    padding-left: 6px;
    display: inline-block;
}
.dp-form .dp-multiSelectBox .dp-sprite.dp-delete {
    padding-left: 0px;
    display: block;
    width: auto;
}

.dp-form-inline .dp-record {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px 10px 10px 10px;
}
.dp-form-inline-record > div.hiddenfields + div .dp-sorting-up {
    visibility: hidden;
}

.dp-form-inline-record > div:nth-last-of-type(2) .dp-sorting-down  {
    visibility: hidden;
}

.dp-form-inline .dp-panel {
	display: -webkit-flex;    
	display: flex;
}
/*
.dp-form-inline .dp-record .dp-panel {
    text-align: right;
    margin-bottom: 10px;
}
.dp-form-inline .dp-record .dp-panel .delete {
    padding-left: 20px;
}
*/

.dp-sorting-up:hover,
.dp-sorting-down:hover {
    cursor: pointer;
}
textarea:disabled{
    opacity:0.2;
}
/***********************************************
 * Errors, Flash Messages, Extension unabhänglig
 ***********************************************/


/* Validation Message Box */
.dp-errorBox {
	padding: 10px 10px 10px 0px;
	margin: 0;
	list-style-type: none;
	margin-bottom: 20px;
	border-width: 1px;
	border-style: solid;;
}

.dp-errorBox li {
	padding-left: 23px;
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/error.gif') no-repeat scroll 0px center;
}


/**************************
 * Extention: fluid_styled_content
 * Errors, Flash Messages,
 * Validation Errors
 ***************************/

.dp-messageBox > div {
    padding: 10px;
    margin: 0;
    list-style-type: none;
    margin-bottom: 20px;
    border-width: 1px;
    border-style: solid;
}
.dp-messageBox div.message-header {
    font-weight: bold;
}
/**
 *      I left these Colors on purpose, so we have defaults!
 */
.dp-messageBox .message-ok {
    background-color: #CDEED3;
}
.dp-messageBox .message-notice {
    background-color: #FDF7CE;
}
.dp-messageBox .message-error {
    color: #D12427;
    padding-left: 40px;
    background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/error.gif') no-repeat scroll 10px center;
}
.dp-messageBox .message-warning {
    background-color: #FCE3C9;
}
.dp-messageBox .message-information {
    background-color: #CCDCEC;
}


/**************************
 * Extention: css_styled_content
 * Errors, Flash Messages,
 * Validation Errors
 ***************************/
.typo3-messages > div,
.typo3-messages > li {
	padding: 10px;
	margin: 0;
	list-style-type: none;
	margin-bottom: 20px;
	border-width: 1px;
	border-style: solid;
}
.typo3-messages .alert-title {
	font-weight: bold;
}
/**
 * 	I left these Colors on purpose, so we have defaults!
 */
.typo3-messages .alert-success {
	background-color: #CDEED3;
}
.typo3-messages .alert-notice {
	background-color: #FDF7CE;
}
.typo3-messages .alert-danger {
	color: #D12427;
	padding-left: 40px;
	background: transparent url('/typo3conf/ext/ig_datapool_fe/Resources/Public/Icons/error.gif') no-repeat scroll 10px center;
}
.typo3-messages .alert-warning {
	background-color: #FCE3C9;
}
.typo3-messages .alert-info {
	background-color: #CCDCEC;
}
.picker__header select {
}
.dp-dropzone-active {
    background-color: #f60;
}

.dp-form .dp-file-list > .dp-file-list-item {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 1em;
}


.dp-file-list-layout-doc .dp-file-list-item .dp-file-name {
    min-width: 190px;
}
.dp-file-list-layout-doc .dp-file-list-item .dp-file-thumb img {
    max-width: 100px;
}
.dp-file-list-layout-doc .dp-file-list-item .dp-file-thumb {
    width: 100px;
    text-align: center;
}
.dp-file-list-item .dp-file-delete {
    display: inline-block;
    width: 20px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.dp-file-delete svg:hover {
    fill: #c66 !important;
}
.dp-form .dp-file-list-layout-doc .dp-file-list > .dp-file-list-item > div {
	display: inline-block;
	vertical-align: middle;
}

.dp-form .dp-file-list-layout-doc > .dp-file-list-item {
    display: -webkit-flex;    
    display: flex;
}
.dp-file-list-layout-doc .dp-file-thumb img {
    width: 48px;
}

.dp-file-list-layout-image .dp-file-list-item {

  position: relative;
}

.dp-file-list-layout-image .dp-file-list-item,
.dp-file-list-layout-image .dp-file-name,
.dp-file-list-layout-image .dp-file-thumb,
.dp-file-list-layout-image .dp-file-thumb img {
    width: 150px;
    height: 150px;
    box-sizing: border-box;
}
  .dp-file-list-layout-image .dp-file-name,
.dp-file-list-layout-image .dp-file-thumb {
    position: absolute;
}
.dp-file-list-layout-image .dp-file-thumb img {
  object-fit: contain;
}
.dp-file-list-layout-image .dp-file-name {
    padding: 10px;
    background-color: #eee;
    opacity: 0.9;
    display: none;
    font-size: 0.6em;
    word-wrap: break-word;
}
.dp-form .dp-filesize {

}

.dp-file-list-layout-image .dp-file-list-item:hover .dp-file-name {
    display:block;
}

.picker__footer button {
    color: #000;
    font-weight: normal;
}
