/* Branding */

.brand.site-name{
	display:block !important;
}

.site-branding__name a {
	display: none !important; 
}


/* Navigation */
.top-nav {
    text-align: right !important;
}

@media (min-width: 768px) {
	.top-nav .top-menu {
		float: inherit !important;
		padding: 0;
	}
	
	.block-language-blocklanguage-interface ul, .block-language-blocklanguage-interface li {
		padding-top: 0 !important;
	}
	
	.top-nav {
		text-align: right;
	}
	
	.top-nav>div {
		vertical-align: inherit;
	}
}


.social-media {
	padding: 0;
}


.path-node .tabledrag-toggle-weight-wrapper{
	display: none;
}


caption {
    caption-side: inherit !important;
}

.path-cm .form-actions,
.path-frontpage .form-actions,
.path-events .form-actions {
	padding-bottom: 1em;
}

.path-cm .block-local-tasks-block,
.path-frontpage .block-local-tasks-block,
.path-events .block-local-tasks-block {
	padding-bottom: 1em;
}

.path-frontpage caption,
.path-events caption {
	font-weight: bold;
}

.path-frontpage .views-field,
.path-events .views-field {
	text-align: left;
}


.path-frontpage .views-field-title-1,
.path-events .views-field-title-1 {
	font-weight: bold;
}

.path-frontpage .views-field-title-1 a.cboxElement,
.path-events .views-field-title-1 a.cboxElement {
	color: #51b371;
	cursor: pointer;
}




/* frontpage/events */

@media (min-width: 768px) {

	.path-frontpage .views-field:nth-child(1),
	.path-events .views-field:nth-child(1) {
		width: 15%
	}
	
	.path-frontpage .views-field:nth-child(2),
	.path-events .views-field:nth-child(2) {
		width: 35%
	}

	.path-frontpage .views-field:nth-child(3),
	.path-events .views-field:nth-child(3) {
		width: 15%
	}

	.path-frontpage .views-field:nth-child(4),
	.path-events .views-field:nth-child(4) {
		width: 5%
	}
	
	.path-frontpage .views-field:nth-child(5),
	.path-events .views-field:nth-child(5) {
		width: 20%
	}

	.path-frontpage .views-field:nth-child(6),
	.path-events .views-field:nth-child(6) {
		width: 10%
	}
	

	.path-frontpage .views-field:nth-child(7),
	.path-events .views-field:nth-child(7),
	.path-frontpage .views-field:nth-child(8),
	.path-events .views-field:nth-child(8) {
		width: 5%
	}
/*	
	.path-frontpage .views-field-term-node-tid-style,
	.path-events .views-field-field-nd-event-style {
		width: 20%
	}
	.path-frontpage .views-field-link-flag,
	.path-events .views-field-link-flag {
		width: 40%
	}
*/
}

/* media, cm */

@media (min-width: 768px) {

	.path-cm .views-field:nth-child(1),
	.path-media .views-field:nth-child(1) {
		width: 15%
	}

	.path-cm .views-field:nth-child(2),
	.path-media .views-field:nth-child(2) {
		width: 20%
	}

	.path-cm .views-field:nth-child(3),
	.path-media .views-field:nth-child(3) {
		width: 35%
	}

	.path-cm .views-field:nth-child(4),
	.path-cm .views-field:nth-child(5),	
	.path-media .views-field:nth-child(4),
	.path-media .views-field:nth-child(5) {
		width: 10%
	}

	.path-cm .views-field:nth-child(6),
	.path-cm .views-field:nth-child(7),
	.path-media .views-field:nth-child(6),
	.path-media .views-field:nth-child(7) {
		width: 5%
	}
/*	
	.path-frontpage .views-field-term-node-tid-style,
	.path-events .views-field-field-nd-event-style {
		width: 20%
	}
	.path-frontpage .views-field-link-flag,
	.path-events .views-field-link-flag {
		width: 40%
	}
*/
}

/* media thumbnail images */

	.path-cm .views-field-field-stories-web-video .image-style-thumbnail,
	.path-media .views-field-field-stories-web-video .image-style-thumbnail {
		height: auto;
	}



/* Language Menu */


.block-language-blocklanguage-interface ul,
.block-language-blocklanguage-interface li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media (min-width: 768px) {
	.block-language-blocklanguage-interface ul {
		float: right;
	}

	.block-language-blocklanguage-interface ul,
	.block-language-blocklanguage-interface li {
		padding-left: 1em;
		padding-top: .8em
	}
}

#XXXXXedit-flagged--wrapper > div {
	display: inline;
	padding-right: 1em;
}

#cboxLoadedContent .node--view-mode-popup h2 a {
	text-decoration: none;
}

/* flaged */
/*
.path-frontpage :not(#cboxLoadedContent)  > .action-unflag a:before  { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 900;
    display: inline-block;
	content: '\f11e';
}
*/
.path-frontpage :not(#cboxLoadedContent)  > .action-unflag a
{
    visibility: hidden;
}
.path-frontpage :not(#cboxLoadedContent)  > .action-unflag a:before
{
    visibility: visible;
}

/* unflaged */

/*
.path-frontpage :not(#cboxLoadedContent) .action-flag a:before  { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	display: inline-block;
	content: '\f024';
}
*/

/* Colorbox mit Link Label */
.path-frontpage :not(#cboxLoadedContent) .action-flag a
{
/*    visibility: hidden; */
/*	font-size: 0; */
}

.path-frontpage :not(#cboxLoadedContent) .action-flag a:before
{
    visibility: visible;
}


/* like */
/*
.path-frontpage .views-field-link-flag:not(#cboxLoadedContent)  > .action-unflag a:before,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent)  > .action-unflag a:before  { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 900;
    display: inline-block;
	content: '\f004';
}
*/





/* unlike */
/*
.path-frontpage .views-field-link-flag:not(#cboxLoadedContent) .action-flag a:before,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent) .action-flag a:before  { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 200;
	display: inline-block;
	content: '\f004';
}
*/

.path-frontpage .views-field-link-flag:not(#cboxLoadedContent)  > .action-unflag a,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent)  > .action-unflag a
{
    visibility: hidden;
}
.path-frontpage .views-field-link-flag:not(#cboxLoadedContent)  > .action-unflag a:before,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent)  > .action-unflag a:before
{
    visibility: visible;
}


.path-frontpage .views-field-link-flag:not(#cboxLoadedContent) .action-flag a,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent) .action-flag a
{
    visibility: hidden;
}
.path-frontpage .views-field-link-flag:not(#cboxLoadedContent) .action-flag a:before,
.path-frontpage .views-field-link-flag-2:not(#cboxLoadedContent) .action-flag a:before
{
    visibility: visible;
}

/* Hide action links text */
/* saved, like */
.path-cm .views-field-link-flag .flag-nd-like,
.path-cm .views-field-link-flag-2 .flag-nd-saved,
.path-cm .views-field-link-flag-1 .flag-nd-saved,

.path-cm .views-field-link-flag .flag-nd-like,
.path-cm .views-field-link-flag-2 .flag-nd-like,
.path-cm .views-field-link-flag-1 .flag-nd-like,

.path-frontpage .views-field-link-flag .flag-nd-like,
.path-frontpage .views-field-link-flag-2 .flag-nd-saved,
.path-frontpage .views-field-link-flag-1 .flag-nd-saved,

.path-frontpage .views-field-link-flag .flag-nd-like,
.path-frontpage .views-field-link-flag-2 .flag-nd-like,
.path-frontpage .views-field-link-flag-1 .flag-nd-like {
	font-size: 0;
}

.flag-waiting {
	visibility: hidden;
}




.path-frontpage #cboxLoadedContent .action-flag a:before,
.path-frontpage #cboxLoadedContent .action-unflag a:before  {
	padding-right: 0.5em;
}
.path-frontpage #cboxLoadedContent .action-unflag a,
.path-frontpage #cboxLoadedContent .action-flag a {
    visibility: visible;
}

.path-frontpage #cboxLoadedContent .action-unflag a,
.path-frontpage #cboxLoadedContent .action-flag a {
    visibility: visible;
}






.registration-required-pop-1:before,
.registration-required-pop-0:before { 
    padding-right: 0.5em;
}

.registration-required-pop-0,
.registration-required-pop-1 {
	font-size: 0px;
}

.registration-required-pop-0:before,
.event-registration-value-0:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	display: inline-block;
	content: '\f133';
}

.registration-required-pop-1:before,
.event-registration-value-1:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	display: inline-block;
	content: '\f274';
}
.event-registration-value-0,
.event-registration-value-1 {
	font-size: 0px;
}




.page-node-type-nd-event .field--name-field-event-registration-is-requ:before {
	
}







.field--name-body {
	padding-bottom: 1em;
}
.field--name-field-nd-event-style {
	padding-bottom: 1em;
}
.field--name-field-nd-event-date {
	padding-bottom: 1em;
}
.field--name-field-nd-event-language {
	padding-bottom: 1em;
}

.field--name-field-nd-event-language .field__label,
.field--name-field-nd-event-language .field__items,
.field--name-field-nd-event-language .field__item {
	display: inline;
}

.field--name-field-nd-event-language .field__label:after {
	content: ': ';
}

.field--name-field-nd-event-addtocalenda {
	padding-bottom: 1em;
}

/* Exposed Filter */
.path-cm .form-item-flagged:nth-child(2):after,
.path-media .form-item-flagged:nth-child(2):after,
.path-frontpage .form-item-flagged:nth-child(2):after {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
    display: inline-block;
	font-weight: 900;
	content: '\f11e';
	content: '\f005';
	padding-left: 0.5em;
}

.path-cm .form-item-flagged:nth-child(3):after,
.path-media .form-item-flagged:nth-child(3):after,
.path-frontpage .form-item-flagged:nth-child(3):after {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
    display: inline-block;
	content: '\f024';
	content: '\f005';
	padding-left: 0.5em;
}







/*
.js-form-item-flagged,
.fieldgroup .fieldset-legend:before {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 400;
	display: inline-block;
	content: '\f024';
	padding-right: 0.5em;
}
*/




/* Filter */
#views-exposed-form-nd-cm-page-1,
#views-exposed-form-nd-media-page-1,
#views-exposed-form-nd-events-page-1 {
    border: 1px solid #aaa;
    border-radius: 4px;
	padding: 5px 15px 0 15px;
	
    margin-bottom: 1em;
}

#views-exposed-form-nd-cm-page-1 .form-actions,
#views-exposed-form-nd-media-page-1 .form-actions,
#views-exposed-form-nd-events-page-1 .form-actions {
    padding-bottom: inherit;
}

#views-exposed-form-nd-cm-page-1 .form-checkboxes,
#views-exposed-form-nd-cm-page-1 .form-radios,
#views-exposed-form-nd-media-page-1 .form-checkboxes,
#views-exposed-form-nd-media-page-1 .form-radios,
#views-exposed-form-nd-events-page-1 .form-checkboxes,
#views-exposed-form-nd-events-page-1 .form-radios {
	padding-left: 2em;
}

#edit-style .form-type-checkbox {
	padding-left: 0em;
}

#edit-style ul {
	padding-left: 0em;
}

#views-exposed-form-nd-events-page-1 .form-composite > legend {
	font-weight: inherit;
}




#edit-format-collapsible,
#edit-style-collapsible {
    margin-bottom: 1em;
}






.form-item-style label {
	padding-right: 0.5em;
}

.select2-container {
	width:200px !important;
	max-width: 90%;
}

.form-item-search input {
	width:258px !important;
	max-width: 90%;
}
/*
.views-exposed-form {
	width:300px;
	max-width: 100%;
}
*/

.form-item-search label {
	display: none;
}
.form-item-search input {
	display:inline-block;
/*    max-width: 250px;*/
    width: 90%;
	
	background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
}
.form-item-search:before {
    font-family: 'Font Awesome 5 Free';
    font-size: 15px;
    display: inline-block;
	font-weight: 900;
	content: '\f002';
	padding-right: 0.5em;
	display:inline;
}

.form-item-style label:before,/*
#edit-field-nd-event-date-value--wrapper label:before,
#edit-field-nd-event-date-value--wrapper legend:before,
#views-exposed-form-nd-events-page-1 fieldset legend:before,
#edit-field-nd-event-date-value--wrapper legend:before, */

/*
.views-exposed-form .edit-style-collapsible summary:before,
.views-exposed-form .edit-flagged-collapsible summary:before,
.views-exposed-form .form-item-field-nd-event-date-value:before, */
.views-exposed-form .form-wrapper:nth-child(1) summary:before,
.views-exposed-form .form-wrapper:nth-child(2) summary:before,
.views-exposed-form .form-wrapper:nth-child(3) summary:before,
.views-exposed-form .form-wrapper:nth-child(4) summary:before
{
    font-family: 'Font Awesome 5 Free';
    font-size: 15px;
    display: inline-block;
	font-weight: 900;
	content: '\f0b0';
	padding-right: 0.5em;
}








.field--type-smartdate h4.label, .field--type-smartdate h4.form-item__label {

float: inherit;
display: inherit;
margin-right: inherit;
width: inherit;
text-align: inherit;

margin-top: inherit;
padding-top: 1em;
}

.field--type-smartdate .allday {
	margin-left: 0;
}

.path-frontpage .form--inline .form-item {
    float: none;
}

.path-m .views-field-field-stories-web-video img {
    width:auto !important;
    height:auto !important;
}



/*  padding-bottom: 56.25%;  16:9 */

/* mi
#cboxWrapper {
  max-width: 100%;
}
*/

/*
#cboxWrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

#cboxWrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
*/

#cboxWrapper {
  width: 100%;
  height: auto;
  position: relative;
}

#cboxWrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#edit-flagged-collapsible summary {
	display: none;
}

.user-logged-in #edit-flagged-collapsible summary {
	display: block;
}

[data-drupal-selector="edit-style-collapsible"] ul li {
    list-style: none;
}


 

.tablesaw-stack td, .tablesaw-stack th, .tablesaw-stack thead td, .tablesaw-stack thead th {
    vertical-align: top;
}

input[type=checkbox] {
    margin-right: .4em;
}





#block-benutzermenu,
#block-benutzermenu .menu,
#block-sprachumschalter-2,
#block-sprachumschalter-2 .content {
	display: inline;
}
#block-benutzermenu-menu .menu {
    display: inline;
}

#block-sprachumschalter-2 .content .links li {
	padding-left: 1em;
}

/* Formulare */

input, button, select, textarea {
    border: 1px solid #b3b3b3;
}

.path-node .text-full {
    max-width: 95%;
}


.path-node .js-form-type-entity-autocomplete .form-autocomplete,
.path-node #edit-field-nd-event-event-series-0-target-id,
.path-node #edit-body-0-summary{
    max-width: 100%;
}

.path-node .ief-entity-submit button {
	padding-bottom: .5em;
}

.path-node input {
	margin-top: .5em;
	margin-bottom: .5em;
}

/* Footer */

#footer {
    background: #000;
}

#footer .menu li{
    list-style: none;
}

#footer a {
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

/*
input, button, select, textarea {
    padding: 6px;
    border: 1px solid #e3e3e3;
}

*/

input, button, select, textarea {
    padding: 6px;
    border: 1px solid #e3e3e3;
}

.views-field-thumbnail__target-id img {
    max-width: inherit;
}

/* hide UNTRANSLATED label */
.path-node .js-form-item-langcode-0-value label {
	display: none;
}

.path-node .form-type-vertical-tabs .vertical-tabs__menu li{
	list-style: none;
}

.path-node input[data-drupal-selector="edit-field-nd-cmedia-media-actions-ief-add-existing"] {
	display: none;
}

/* colorbox iframe */

/*
.path-cm #cboxContent,
.path-cm #cboxLoadedContent {
  width: 100%;
  height: 100%;
  max-width: 100%;
}
*/

/*
.path-cm #cboxLoadedContent iframe {
  min-width: 400px;	
  height: 100%;
  border: 0;

}
*/
/*  max-width: 100%; mi weg */


/* page node add */


.path-node #edit-title-wrapper label,
.path-node #edit-body-wrapper label,
.path-node #edit-field-nd-cmedia-media legend {
	font-weight: bold;
}

.path-node .description,
.path-node .form-composite > .fieldset-wrapper > .description,
.path-node .form-item .description {
    font-size: 1em;
}

/* page node add nd event*/
.path-node #edit-field-nd-event-event-series-wrapper label {
	font-weight: bold;
}

/* page node add nd event date time*/
.path-node .field--type-smartdate .fieldset-wrapper h4.label {
    float: inherit;
	text-align: inherit;
}

.path-node .field--type-smartdate .form-type-select label {
    min-width: inherit;
}

/* Hide help text format */
.path-node #edit-body-0-format {
    display: none;
}





/* Action icons in one line */
@media (max-width: 631px) {
	.tablesaw-stack tbody td:nth-child(7),
	.tablesaw-stack tbody td:nth-child(8) {
		width: auto;
		clear:inherit;
		display: inline-block;
		float: inherit
	}
}


/* Styles inline */
.path-event .node--type-nd-event.node--view-mode-nd-event .field--name-field-nd-event-style .field__item {
  display: inline-block;
}


/* Hide unused colums */
/*
.path-cm .views-element-container tr .views-field-link-flag,
.path-cm .views-element-container tr .views-field-link-flag-1 {
  display: none;
}

.path-cm .user-logged-in .views-element-container tr .views-field-link-flag,
.path-cm .user-logged-in .views-element-container tr .views-field-link-flag-1 {
  display: inherit;
}
*/

/* .path-node .path-event */
.field--name-field-event-registration-is-requ.val-1:before {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
    display: inline-block;
    content: '\f274';
	padding-right: 0.5em;	
}

.field--name-field-event-registration-is-requ.val-0:before {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
    display: inline-block;
    content: '\f133';
	padding-right: 0.5em;	
}

/* multiple values/icons/entities in a row */
.layout--onecol,
.field--name-field-nd-language-lang,
.views-field-field-nd-event-features,
.field--name-field-nd-taxonomy-icon,
.field--name-field-nd-taxonomy-icon  {
    display: inline-block;
}




/* Di wech Neuer View: DS Ausgabe statt ICON */

/* field-nd-event-format */

/* di wech
.views-field-field-nd-event-format {
    visibility: hidden;
    content: '\00a0';
}
.views-field-field-nd-event-format:before {
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 900;
    content: '\f108';
	padding-right: 0.5em;
    visibility: visible;
}
*/



/* .path-node .path-event */
/* flag */
.flag-nd-saved.action-flag a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 200;
    display: inline-block;
	content: '\f024';
	content: '\f005';
	padding-right: 0.5em;	
}

/* unflag */
.flag-nd-saved.action-unflag a:before,
.flag-nd-saved.action-unflag a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 900;
    display: inline-block;
	content: '\f11e';
	content: '\f005';
	padding-right: 0.5em;	
}

/* like */
.flag-nd-like.action-flag a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 200;
    display: inline-block;
	content: '\f004';
	padding-right: 0.5em;	
}

/* unlike */
.flag-nd-like.action-unflag a:before { 
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
	font-weight: 900;
    display: inline-block;
	content: '\f004';
	padding-right: 0.5em;	
}

.flag-nd-like.action-unflag a,
.flag-nd-like.action-unflag a,
:not(#cboxLoadedContent) .flag-nd-like.action-flag a,
.flag-nd-like.action-flag a {
    visibility: visible;
}

:not(#cboxLoadedContent) .flag-nd-saved.action-unflag a,
.flag-nd-saved.action-unflag a,
:not(#cboxLoadedContent) .flag-nd-saved.action-flag a,
.flag-nd-saved.action-flag a {
    visibility: visible;
}

/*
.path-frontpage .icon {
	width: 1.6em;
	height: 1.6em;
  display: block;
}
*/

/*
.path-frontpage .icon viewbox {
	width: auto;
	height: 1.6em;
}
*/

/*
.icon-select-wrapper .icon {
  width: 32px;
  height: 32px;
  display: block;
  order: 1;
}
*/

.path-event .field--name-field-nd-taxonomy-icon {
  display: inline-block;
  width: 30px;
}

.path-event .field--name-field-nd-event-features .layout--onecol > div {
  display: inline-block;
}

.path-event .field--name-taxonomy-term-title {
  display: inline-block;
}

.field--name-field-nd-language-lang {
  text-transform: uppercase;
}