/* Messages-Ausgabe */
.messages {
    margin-bottom:20px !important;
}

/* Erzwinge die korrekte Farbe im Calltoaction-Box für Newsletter  */
.Box input[type="submit"].ButtonLink {
    background-color: transparent !important;
}

/* Packe für die Call-to-action-Blöcke auf der Frontpage ein Padding unter Block 1 und 2 */
body.front .Box {
    margin-bottom: 1.375em !important;
}

/* LightGallery specific styling */
.lightgallery a {
    float:left;
    padding:10px;
    width:195px;
    height:195px;
}
.lightgallery a img {
    width:100%;
    height:auto;
}

/* Styling of pager controls */
.item-list .pager li {
    padding:0px;
}

/* Adjust the newsletter form to the mockup styling */
#newsletter-2017-form .form-item-email {
    margin:0px;
    margin-right: 10px;
}

#newsletter-2017-form .form-submit {
    display: inline-block;
    padding: 0.4em 0.65em;
    text-align: center;
    font-size: 110%;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .5);
    margin: 0;
    width: 35%;
    padding: 0.35em 0 0.35em 0;
    float: right;
    background-color: transparent;
}

#newsletter-2017-form .form-submit:hover {
    filter: alpha(opacity = 75);
    -ms-filter: "alpha(opacity = 75)";
    opacity: .75;
    -webkit-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

/* Make the main menu bold */
.NavBar nav .Cat a.CatLink {
    font-weight:900;
}

/* Adjust the search form to the mockup styling */
#custom-search-blocks-form-1--2 .form-type-textfield, #custom-search-blocks-form-1--2 .form-actions  {
    float:left;
}

/* Adjust some view overview listing like the mockup styling */

.ContainerTypeHintergrund .views-row,
.ContainerTypeTermine .views-row,
.ContainerTypeUnsereArbeit .views-row {
    float: none;
    width: 100%;
    border-top: 1px solid #1C1C1C;
    border-bottom: 1px solid #1C1C1C;
    padding: 1.125em 0 1.125em 0;
}

/* Some views uses the "full" node template, therefore we have to hide the "back to overview" link there */
.view.view-audio-video-beitraege .LinkBack,
.view.view-eigene-publikationen .LinkBack,
.view.view-lesetipps .LinkBack {
    display:none;
}

/* Style the "dramen" exposed view filter */
.view-dramen .views-widget label {
    font-weight:100;
}

.view-dramen #edit-field-dramen-datum-value-wrapper {
    clear:both;
}

.view-dramen #edit-field-dramen-sprache-tid-wrapper label,
.view-dramen #edit-field-dramen-region-tid-wrapper label {
    margin-bottom:15px;
}

.view-dramen .views-widget-filter-combine {
    margin-bottom:10px;
}

.view-dramen #edit-field-dramen-datum-value-wrapper .date-month {
    margin-right: 10px;
}

.view-dramen #edit-field-dramen-datum-value-wrapper .date-month,
.view-dramen #edit-field-dramen-datum-value-wrapper .date-year {
    padding-left: 10px
}

.view-dramen #edit-reset {
    background-color: #A8A8A8;
}

/* Due to a drupal error the 403 page shows some more content, this is hidden here */
body.page-node-29 #block-views-dramen-block-1 {
    display:none;
}

/* Adjust the view listing for all node types to fit the mockup style with lines around each row but without double lines */
.view .view-content.ContainerList.ContainerType01 .LinkBox,
.view .view-content.ContainerList.ContainerTypeMedia .ListBox {
    border-top: 1px solid #1C1C1C;
    border-bottom: 1px solid #1C1C1C;
    padding: 1.125em 0 1.125em 0
}
.view .view-content .ListBox,
.view .view-content .LinkBox,
.view .view-content.ContainerTypeHintergrund .views-row,
.view .view-content.ContainerTypeTermine .views-row,
.view .view-content.ContainerTypeUnsereArbeit .views-row {
    border-bottom: none !important;
}
.view .view-content.ContainerList {
    border-bottom: 1px solid #1c1c1c;
}
.view .view-content.ContainerList .views-row {
    overflow:hidden;
}

/* Styling the page for all views and the result page and override any text links */
li.pager-next a,
li.pager-last a,
.pager-first a,
.pager-previous a {
    font-size:0px !important;
}
.pager-last a::after,
.pager-next a::after,
.pager-first a::after,
.pager-previous a::after {
    text-decoration: none;
    padding-left: 0.4em;
    padding-right: 0.4em;
    color: #1c1c1c;
    background-color: #EAEAEA;
    font-size: 30px;
}
.pager-next a::after {
    content: "›";
}
.pager-last a::after {
    content: "»";
}
.pager-first a::after {
    content: "«";
}
.pager-previous a::after {
    content: "‹";
}

/* Styling the search results like the views */
.search-results {
    padding-left:0px;
    border-bottom: 1px solid #1C1C1C;
}
.search-results li {
    border-top: 1px solid #1C1C1C;
    padding: 1.125em 0 1.125em 0;
    margin-bottom:0px;
}
.search-results h3 a {
    margin: 0 0 0.5em 0;
    font-size: 160%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #1c1c1c;
}

/* Style the advanced search form to match the custom exposed filter for news */
.search-form .search-advanced {
    border: 1px solid #1c1c1c !important;
}
.search-form .search-advanced.collapsed {
    min-height:60px;
}
.search-form .search-advanced legend {
    width:100%;
    position: absolute;
    margin:10px;
    margin: 0 0 0 0;
    background-color: #EAEAEA;
}
.search-form .search-advanced.collapsed legend,
.search-form .search-advanced.collapsed legend span,
.search-form .search-advanced.collapsed legend span a {
    height:100%;
}
.search-form .search-advanced legend span {
    background-image: none !important;
    padding:0px !important;
}
.search-form .search-advanced legend span.summary {
    display:none;
}
.search-form .search-advanced legend a {
    display: block;
    padding: 0.65em 2.25em 0.65em 0.55em;
    text-decoration: none;
    font-size: 120%;
    line-height: 1.222;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    background-color: #fff;
    background-image: url(../img/icon_open.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 2em auto;
}
.search-form .search-advanced:not(.collapsed),
.search-form .search-advanced:not(.collapsed) legend span a {
    background-color:#EAEAEA;
}
.search-form .search-advanced:not(.collapsed) legend span a {
    background-image: url(../img/icon_close.png);
}
.search-form .search-advanced:not(.collapsed) .fieldset-wrapper {
    margin-top: 25px;
    padding: 15px;
}

/*.search-form .search-advanced:not(.collapsed) .fieldset-wrapper .criterion {
    max-width:38%;
    margin-right: 20px;
}
.search-form .search-advanced:not(.collapsed) .fieldset-wrapper .criterion > .form-item > label {
    font-weight:900;
    margin-bottom: 15px;
}
.search-form .search-advanced:not(.collapsed) .fieldset-wrapper .action {
    margin-bottom: 40px;
} */

.search-form .search-advanced .form-item.form-type-checkboxes.form-item-custom-search-types,
.search-form .search-advanced .form-item.form-type-checkboxes.form-item-custom-search-vocabulary-3 {
    margin-top:0px;
    float:left;
    margin-right: 25px;
}

.search-form .search-advanced #edit-actions {
    clear:both;
}

/* Hide the menu titles at the sitemap */
#site-map h2 {
    display:none;
}

/* Hide the exposed view filter at the front page  */
body.front .view-dramen .view-filters {
    display:none;
}
body.front .view-dramen .view-content.ContainerList .views-row-1 .LinkBox {
    border-top:none !important;
    padding-top: 0px !important;
}

/* Cookie consent clear default styling */
#cookie-compliance {
    position: fixed;
    z-index: 99999;
    bottom: 0px;
    width: 100%;
}

#cookie-compliance .cookie-compliance__inner {
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: auto;
    display: inline-block;
}

#cookie-compliance .cookie-compliance__text {
    float:left;
    padding:10px;
    display: block;
}

#cookie-compliance .cookie-compliance__text a,
#cookie-compliance .cookie-compliance__text p  {
    color:white;
}

#simple-cookie-compliance-dismiss-form {
    float: left;
    display: block;
}

/* Audio-Video-Nodes now can contain markup, this adjusts the video size */
body.node-type-audio-video-beitraege video,
.view.view-audio-video-beitraege .views-row .ListBox video {
	width:100%;
}

/* Projekte nodes can contain images now, adjust their scaling here */
body.node-type-projekt .content img,
body.node-type-unsere-arbeit .content img {
    width: 100%;
    height: auto;
}

/* The WYSIWYG editor insert <em> for italic text, this is reflected here */
em {
    font-style: italic;
}

/* Linktree CSS */
.linktree_wrapper {

}

.linktree_image {
  height: 50px;   /* Auch für linktree_title angleichen damit vertikal ausgerichtet */
  width: 50px;
  float: left;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.linktree_container {
  padding: 10px;
  padding-right:20px;
  background: #eaeaea url("../img/icon_arrow01.png") no-repeat right bottom;
  background-size: auto;
  background-size: 2.25em auto;
  background-position: right;
  overflow:hidden;
  height: 70px;     /* Bildgröße + 2 * padding */
  margin-bottom: 20px;
  border-right: 5px solid #eaeaea;
}

.linktree_language_select {
  font-size: 80%;
  text-decoration: underline;
}

.linktree_link {
  text-decoration: none !important;
}

.linktree_title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  height: 50px; /* Siehe Bildgröße */
  text-align: left;
  padding-left: 30px;
  padding-right: 20px;
  font-weight: 900;
  font-size:110%;
  color: black;
}

@media screen and (min-width : 768px) {
  .linktree_image {
    height: 100px;   /* Auch für linktree_title angleichen damit vertikal ausgerichtet */
    width: 100px;
  }

  .linktree_container {
    height: 120px;     /* Bildgröße + 2 * padding */;
  }

  .linktree_title {
    height: 100px; /* Siehe Bildgröße */
  }
}

/* Anpassungen für das zusätzl. Datum bei "Unsere Arbeit" und "Hintergrundinformationen" */
.view-unsere-arbeit div.ContainerTypeUnsereArbeit .Date,
.node-type-unsere-arbeit .Date,
.view-hintergrundinformationen .Date {
  margin-bottom: 5px;
  display: block;
}
/* Filterform auf Pressespiegel/Dramen-Seite */
#edit-field-dramen-datum-value-min-wrapper::before {
  content: "Von / From:";
}
#edit-field-dramen-datum-value-max-wrapper::before {
  content: "Bis / To:";
}
#edit-field-dramen-datum-value-min-wrapper,
#edit-field-dramen-datum-value-max-wrapper {
  margin-top: 5px !important;
}
#edit-field-dramen-datum-value-min-inside-wrapper,
#edit-field-dramen-datum-value-max-inside-wrapper {
  padding-top: 5px !important;
}
