/* Xenophon Verlag – forms.css · Formulare (Basis, Kontakt, Login, Suche, Tabelle, Pager, Statusmeldungen)
   Portiert aus Wosh style.css (UA4, exakter D8-Nachbau) */
/*	FORM
/*---------------------------------------------------*/
input,
button,
select,
textarea {
	padding: 10px;
	border: 1px solid #ecedee;
	background-color: transparent;
	outline: none !important;
	max-width: 100%;
}
input[type=search] {
    background-color: #ffffff;
	color: var(--color-heading);
}

/* FORM COMPONENTS */
form .field-multiple-table {
	margin: 0;
}
form .field-multiple-table .field-multiple-drag {
	width: 30px;
	padding-right: 0;
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag {
	padding-left: 0;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
	padding-right: .5em;
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
	padding-right: 0;
	padding-left: .5em;
}
form .field-add-more-submit {
	margin: .5em 0 0;
}
.form-item,
.form-actions {
	margin-top: 1em;
	margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
	margin-top: 0;
	margin-bottom: 0;
}
.form-composite > .fieldset-wrapper > .description,
.form-item .description {
	font-size: 0.85em;
}
label.option {
	display: inline;
	font-weight: normal;
}
.form-composite > legend,
.label {
	display:inline;
	font-size: inherit;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
.form-checkboxes .form-item,
.form-radios .form-item {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}
.form-type-radio .description,
.form-type-checkbox .description {
	margin-left: 2.4em;
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
	margin-left: 0;
	margin-right: 2.4em;
}
.marker {
	color: #e00;
}
.form-required:after {
	content: '*';
	vertical-align: middle;
	display: inline-block;
	width: 6px;
	margin: 0 0.3em;
    color: red;
}
abbr.tabledrag-changed,
abbr.ajax-changed {
	border-bottom: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
	border: 2px solid red;
}

/* Inline error messages. */
.form-item--error-message:before {
	content: '';
	display: inline-block;
	height: 14px;
	width: 14px;
	vertical-align: sub;
	color: red;
	background-size: contain;
}

/* CONTACT FORM */
.contact-message-form select option,
.contact-message-form select * {
	color: var(--color-text) !important;
}

.contact-message-form label {
    display: block;
    text-transform: uppercase;
    font-weight: 400;
}
.contact-message-form .form-item-copy label {
	display: inline-block;
}
.contact-message-feedback-form .form-item,
.contact-message-feedback-form .form-actions {
	margin-top: 0;
	margin-bottom: 25px;
	/*text-align: center;*/
}
.contact-message-feedback-form .form-actions {
	margin-bottom: 0;
}
.contact-message-feedback-form input,
.contact-message-feedback-form textarea {
	width: 100%;
}
.contact-message-feedback-form input[type="submit"] {
	width: auto;
}
.block-contact-block #edit-preview {
	display: none;
}

@media (min-width: 768px) {
	.contact-message-feedback-form.block-contact-block .form-item-name,
	.contact-message-feedback-form.block-contact-block .form-item-mail {
		width: 48%;
		float: left;
	}
	.contact-message-feedback-form.block-contact-block .form-item-name {
		margin-right: 4%;
	}
	
}

/* RESERVATION FORM */
.contact-message-reservation-form .form-item {
    margin: 0;
    margin-bottom: 1.2em;
}
.contact-message-reservation-form .form-wrapper {
	margin: 0;
}
.contact-message-reservation-form input,
.contact-message-reservation-form .form-item-field-guests select,
.contact-message-reservation-form textarea {
	width: 100%;
}
.contact-message-reservation-form .button {
	width: auto;
}
.contact-message-reservation-form legend {
	display: none;
}
.contact-message-reservation-form form {
	max-width: 650px;
	padding: 30px;
	margin-right: auto;
	margin-left: auto;
}
.contact-message-reservation-form #edit-preview,
.contact-message-reservation-form #edit-preview--3 {
	display: none;
	visibility: hidden;
}

/* USER LOGIN FORM */
.user-login-form,
.user-form,
.user-pass{
	max-width: 650px;
	margin: 40px auto;
	border: 1px solid #efefef;
	padding: 20px 30px;
}
.user-login-form .form-text,
.user-login-form .form-email,
.user-form .form-text,
.user-form .form-email,
.user-pass .form-text{
	width: 100%;
}
.form-composite > .fieldset-wrapper > .description,
.form-item .description {
	font-size: 11px;
	color: #999;
	font-style: italic;
}

/*---------------------------------------------------*/
/*	SEARCH FORM
/*---------------------------------------------------*/
.search-block-form form{
	display: table;
	width: 100%;
}
.search-block-form .form-item,
.search-block-form .form-actions{
	display: table-cell;
	vertical-align: top;
}
.search-block-form input{
	width: 100%;
	margin: 0;
	border: 1px solid var(--color-border);
	border-right: none;
}
.search-block-form input[type="submit"],
.search-form input[type="submit"] {
	padding: 15px 15px 14px 15px;
	border: 1px solid var(--color-accent);
	border-radius: 0px 2px 2px 0px;
}
.search-block-form input[type="submit"]:hover,
.search-form input[type="submit"]:hover {
    border-color: var(--color-heading);
}
.search-result-title {
	display: inline-block;
}

.search-content .block {
	margin: 0 !important;
}
.search-content .block-search input {
	width: 100%;
	background-color: #f7f7f7;
	padding: 10px 65px 10px 15px;
}
.search-content .block-search input[type="submit"],
.modal-wrapper .form-submit {
	background-color: var(--color-accent);
	background-image: url(../images/icon-search-light.png);
	background-repeat: no-repeat; 
	background-position: center center;
    border: 0;
    border-radius: 0 2px 2px 0;
	border-radius: 0;
    text-transform: uppercase;
    margin: 0;
	text-indent: -9999px;
    position: absolute;
    right: 0px;
    top: 0;
	height: 100%;
    width: 50px;
	padding: 0;
}

/*---------------------------------------------------*/
/*	TABLE
/*---------------------------------------------------*/
table {
	width: 100%;
	margin-bottom: 20px;
	border: 1px solid #ecedee;
}
table tbody {
	border-top: none;
	border-bottom: 1px solid #ecedee;
}
table tr.even,
table tr.odd,
th {
	background-color: transparent;
	border-bottom: 1px solid #ecedee;
}
thead tr th,
thead tr td,
tbody tr th,
tbody tr td {
	padding: 8px;
	line-height: 142%;
	vertical-align: middle;
	border-right: 1px solid #efefef;
}
td.active {
    background-color: transparent;
}
table thead {
	text-transform: uppercase;
	background: #f5f5f5;
}
table tr {
	border-bottom: 1px solid var(--color-border);
}

.flipped-table table {
	text-align: center;
	table-layout: fixed;
}
.flipped-table table th,
.flipped-table table td {
    border-right: 1px solid #efefef;
    padding: 15px;
}
.flipped-table table th {
	background-color: #f8f8f8;
	font-size: 16px;
	font-weight: 500;
	width: 280px;
	padding: 15px 25px;
}
table .flag i {
	display: none;
}

/*---------------------------------------------------*/
/*	TASK BAR
/*---------------------------------------------------*/
.task-bar .tabs {
  margin: 1em 0;
}
.task-bar ul.tabs {
  list-style: none;
  margin: 0 0 0.5em;
  padding: 0;
}
.task-bar .tabs > li {
  display: inline-block;
  margin-right: 0.3em;
}
[dir="rtl"] .tabs > li {
  margin-left: 0.3em;
  margin-right: 0;
}
.task-bar .tabs a {
  display: block;
  padding: 0.2em 1em;
  text-decoration: none;
}
.task-bar .tabs a.is-active {
  background-color: var(--color-border);
}
.task-bar .tabs a:focus,
.task-bar .tabs a:hover {
  background-color: #f5f5f5;
}
.task-bar {
	text-align: center;
}
.task-bar.alert {
	    margin-bottom: 0;
}
.task-bar ul.tabs {
    margin: 0;
    border-bottom: 1px solid var(--color-border);
	text-transform: uppercase;
    font-size: 12px;
}
.task-bar.alert-dismissable .close,
.task-bar.alert-dismissible .close {
    right: 0;
}

/* PAGER */
.pager {
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
	font-size: 13px;
}
.pager li.is-active a,
.pager li.pager__item.is-active > a,
.pager li > a:hover {
	color: #ffffff;
	border-color: var(--color-accent);
	 background-color: var(--color-accent);
}


.views-infinite-scroll-content-wrapper {
	margin-bottom: 30px;
}

.views-more-link {
	display: block;
    margin-top: 10px;
}
.views-more-link:after {
	content: "\f101";
	font-family: 'FontAwesome';
	margin-left: 5px;
}

/*---------------------------------------------------*/
/*	STATUS MESSAGES
/*---------------------------------------------------*/
.messages {
	margin: 0 0 10px;
	padding: 15px;
	position: relative;
}
.messages a {
	color: var(--color-heading);
	text-decoration:underline;
}
.messages.status {
	background: #A8DA58;
}
.messages.error {
	background: #E46539;
}
.messages.warning {
	background: #eb8314;
}

/* STATUS MESSAGES SYMBOLS */
.messages.status:before,
.messages.error:before,
.messages.warning:before {
	font-family: 'FontAwesome';
	font-size: 24px;
	position: absolute;
	left: 0;
	top: 0;
	width: 55px;
	text-align: center;
	height: 100%;
	padding-top: 15px;
}
.messages.status:before {
	content: "\f00c";
	font-size: 20px;
	background-color: #81AB3E;
	padding-top: 13px;
}
.messages.error:before {
	content: "\f00d";
	background-color: #CB291D;
}
.messages.warning:before {
	content: "\f12a";
	background-color: #e2630b;
}

/*---------------------------------------------------*/
