/* General */
.verowa_input_has_error {
	border: 1px solid red !important;
}

.verowa_inline_error_msg {
	margin: 0.1rem 0 0 0;
}

.verowa_inline_error_msg,
.verowa_connect_error_box,
.verowa_connect_error_box ul li {
	color: red;
}

.verowa_inline_error_msg::first-letter {
	text-transform: uppercase;
}

.verowa_connect_error_box ul {
	list-style: none;
	margin: 0 0 1rem 0;
}

.verowa-text-input {
	width: 400px;
}

.verowa-display-block {
	display:block;
}

.verowa-display-none {
	display:none;
}

/* Verowa Settings */
.verowa_input_disabled {
	color: #CCC;
}

.verowa-setting-section {
	margin-bottom: 1rem;
}

.verowa-setting-section h2 {
    margin-top: 1rem;
    margin-bottom: 0;
    position: relative;
    top: 0.5rem;
}

.verowa-setting-section + .verowa-setting-section {
    border-top: 1px solid #c3c4c7;
}
.verowa-personlist-options .fa-question-circle {
	position: relative;
	top: 3px;
}

.verowa-keep-outdated-events i {
	position: relative;
	top: 4px;
}

.verowa-manual-link {
	display: inline-block;
	margin-left: 1em;
}

.verowa-select-error-first-child {
	color: #F00 !important;
}

.verowa-select-error-first-child option:not(first-child) {
	color: #000;
}

.verowa-save-options {
	margin-top: 15px;
	margin-bottom: 15px;
}

#verowa-pgroup-mapping {
	max-width: 750px;
	width: 100%;
	margin-bottom: 1rem;
}

.verowa-group-select {
	width: 100%;
}

.verowa-delete-row {
	cursor: pointer;
	color: #a00;
	margin-top: 8px;
}

/*  Import control */
#verowa-ajax-import-control .verowa_import-ctrl-wrapper {
    margin-top: 1rem;
}

/* Template editor */
.verowa-template-overview .column-template_id {
	width: 25px;
}

.verowa-template-overview .column-edit {
	width: 270px;
	text-align: right;
}

.verowa-delete-action {
	color:#F00;
}

.verowa-edit-ml-template {
	margin-right: 0.5rem;
}

.verowa-delelete-ml-template {
	color: #db2929 !important;
	display: inline-block;
	margin-left: 0.5rem;
}

.verowa-disable-delete, .verowa-disabled-label {
	color: #808080;
	cursor: default;
}

.verowa-template-overview .verowa-disable-delete {
	margin: 0 7px;
}

div[data-verowa-accordion=enable] {
	display: flex;
	flex-direction: column;
	border: 1px solid #c3c4c7;
	margin: 10px 0 0 0;
	position: relative;
	width: 80%;
}

.wp-list-table.templates tr:hover {
	background-color: rgba(0, 120, 215, 0.2);
}

div[data-verowa-accordion=enable] .verowa-accordion-header {
	font-weight: bold;
	padding: 1rem;
	border-bottom: 1px solid #c3c4c7;
	cursor: pointer;
}

div[data-verowa-accordion=enable] .verowa-accordion-header::after {
    font-family: 'Dashicons';
    content: "\f139";
    font-size: 1.5rem;
	transition: all 0.3s ease-in-out;
    position: absolute;
    right: 0.5rem;
	top: 10px;
}

div[data-verowa-accordion=enable].open .verowa-accordion-header::after {
	transform: rotate(90deg);
}

div[data-verowa-accordion=enable] .verowa-accordion-content {
	display: none;
	padding: 0 1rem;
}

.verowa_form {
	padding: 15px;
}

.verowa_form .row {
	display:flex;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.verowa_form label {
	font-weight:bold;
	font-size:1.0rem;
	width: 20vw;
}

.verowa_form .CodeMirror {
	margin-top: 15px;
	width: 100%;
}

#verowa_template_header_row .CodeMirror,
#verowa_template_footer_row .CodeMirror,
#verowa_template_separator_row .CodeMirror {
	max-height: 100px;
}

#verowa_deprecated_placeholder {
	flex-basis: 100%;
	margin-top: 15px;
	display: flex;
	flex-flow: column;
	color: #F00;
}

#verowa_deprecated_placeholder span.label {
	font-weight: bold;
	padding-bottom: 5px;
}

#verowa_deprecated_placeholder p.placeholders {
	color: #F00;
	margin-top: 0;
	margin-bottom: 0;
}


.verowa_current_placeholder {
	margin-top: 15px;
	width: 75%;
}

#verowa_current_placeholder .verowa-pcl-btn, .verowa_current_placeholder .verowa-pcl-btn {
	display: flex;
	align-items: center;
	border: none;
	background-color: #f6f7f7;
	color: #2271b1;
	text-align: center;
	text-decoration: none;
	height: 32px;
	padding: 0 15px;
	font-size: 11px;
	margin: 4px 2px;
	transition: all .3s ease-in-out;
}

.verowa_current_placeholder .verowa-pcl-group {
	margin-bottom:1rem;
	display: flex;
	flex-direction: column;
}

.verowa_current_placeholder .verowa-pcl-group > div {
	display: flex;
	flex-wrap: wrap;
}

.verowa_current_placeholder .verowa-pcl-title {
	font-weight:bold;
	margin-right: 1rem;
}

.verowa-plc-title-wrapper .tooltip-wrapper {
	position: relative;
	top: -3px;
	left: -5px;
}
.verowa-plc-title-wrapper .tooltip-wrapper i {
	font-size: 1.3em;
}

.verowa_current_placeholder .verowa-pcl-btn {
	background-color: #f0f0f1;
	color: #0a4b78;
}

.verowa_form #btn_abort_template {
	margin-right: 1rem;
}

.verowa-settings-table tr td {
	padding: 2px 5px;
}

.verowa-settings-table tr td:first-child {
	vertical-align: top;
}

.verowa-settings-table textarea {
	resize:none;
}

.news-settings-wrapper {
	margin-bottom: 1rem;
}

.news-settings-wrapper .verowa-pcl-btn {
	background-color: #dcdcde;
	color: #0a4b78;
}

.verowa_current_placeholder .verowa-pcl-btn .dashicons, .news-settings-wrapper .verowa-pcl-btn .dashicons {
	margin-left: 10px;
}

.verowa-news-gallery-title {
	display:flex;
	align-items: center;
}

.verowa-news-gallery-title i {
	margin-left: 1rem;
	display: inline-block;
}

.verowa-template-overview .edit.column-edit a {
	margin: 0 7px;
	white-space: nowrap !important;
}

/* Event-list assign */
.verowa-list-option input {
	margin-right: 10px;
}

/* Verowa Optionen */
.verowa-options-wrapper {
	width: 99%;
	box-sizing: border-box;
}

.verowa-options-wrapper .notice {
	width: 100%;
	margin-top: 1rem;
}

.verowa-options-wrapper .tab-content {
	position: relative;
}

.verowa-options-header {
	display: flex;
	flex-wrap: wrap;
}

.verowa-options-header .nav-tab.tab-active{
	background-color: #fff;
	color: #3c434a;
}

.verowa-options-header > img {
	margin-right: 1rem;
}

.verowa-options-header .nav-tab-wrapper {
	width: 99%;
}

.verowa-options-wrapper .tab-content {
	border-left: 1px solid #c3c4c7;
	border-bottom: 1px solid #c3c4c7;
	border-right: 1px solid #c3c4c7;
	padding: 16px;
}

.tbl-verowa-ddls {
	display:table;
}

.tbl-verowa-ddls > div {
	display: table-row;
}

.tbl-verowa-ddls > div > * {
	display: table-cell;
	margin-bottom: 1rem;
}

#verowa-agenda-filter-settings label {
	display: inline-block;
	margin: 0 10px 0 0;
}

#verowa-agenda-filter-settings input[type=text], 
#verowa-agenda-filter-settings input[type=number] {
	margin: 0 0 10px 0;
}

.verowa-filter-group {
	display: flex;
	flex-wrap: wrap;
}

.verowa-single-filter {
	box-sizing: border-box;
	padding: 10px;
}

.verowa-filter-group .ui-sortable-handle {
	cursor: grab;
}

.verowa-filter-group .ui-sortable-helper {
	cursor: grabbing;
}

.verowa_agenda_dropdown_sort {
	margin-bottom: 0;
	padding-bottom: 0;
}

.verowa-wpml-string-en {
	max-width: 300px;
	width: 300px !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.verowa-options-wrapper *[role=button] {
	cursor: pointer;
	transition: box-shadow .1s linear;
}

.verowa-options-wrapper *[role=button]:hover {
	color: #72aee6;
}

/* Modal Popup */

#verowa-wpml-translation-popup {
	display: none;
	position: absolute;
	z-index: 100;
	width: 80%;
	max-width: 800px;
}

#verowa-wpml-translation-popup h2 {
	white-space: nowrap;
}

.verowa-wpml-translation-modal {
	background-color: #fefefe;
	padding: 15px;
	border: 1px solid #888;
}

.verowa-wpml-translation-modal .row {
	display: flex;
	flex-direction: row;
	width: 100%;
}

/* Spalten */
.verowa-wpml-translation-modal .column {
	flex: 1; /* Jede Spalte nimmt gleichen Platz ein */
	padding: 0 10px;
}

/* Textarea */
.verowa-wpml-translation-modal textarea {
	width: 100%;
	height: 100px;
	resize: vertical; /* Erlaubt nur vertikales Vergrößern */
}

/* Close Button */
.verowa-wpml-translation-modal .close-button {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.verowa-wpml-translation-modal .close-button:hover,
.verowa-wpml-translation-modal .close-button:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

/* Save Button */
.verowa-wpml-translation-modal .verowa-save-button { }

/* WPML-Tab */
#verowa-wpml-mapping {
	border-spacing: 0;
}

#verowa-wpml-mapping td {
	border-top: 1px solid #c3c4c7;
	border-collapse: collapse;
}

#verowa-wpml-mapping td {
	margin: 0;
	padding: 5px 0;
}

#verowa-wpml-mapping tr td:first-child {
	padding-right: 0.8rem;
}

.custom-tooltip {
	text-align: left;
	font-size: 0.9rem;
}

.verowa-pcl-group .verowa-pcl-btn i {
	font-size: 17px;
	position: relative;
	top: 2px;
	left: 10px;
	display: inline-block;
}