/*
 * Copyright 2021 FIZ Karlsruhe - Leibniz-Institut fuer Informationsinfrastruktur GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/* Frontend */
@media (max-width: 767px) {
  .newsletter-container {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .newsletter-container {
    width: 75%;
  }
}

.newsletter-container a {
  text-decoration: underline;
}

.newsletter-container .newsletter-header {
  border-bottom: solid 2px #efebe8;
}

.newsletter-container #subscribe-form {
  padding-bottom: 10px;
}

.newsletter-container #unsubscribe-form {
  padding-bottom: 10px;
  padding-top: 10px;
}
/*End fronted*/


.underline {
  text-decoration: underline;
  cursor: pointer;
}

.hidden-html {
  display: none;
}
#newsletter h2 {
  margin-top:20px;
}

#content h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2em;
}

.static_newsletter {
  background: #b7b7b7;
}

#newsletter {
  max-width: 600px;
  margin: auto;
  background: #fff;
}

#newsletter .field--name-field-header,#newsletter .field--name-field-footer-section, #newsletter .header,#newsletter .caption,
#newsletter .pre-headline, #newsletter .headline, #newsletter .text, #newsletter .link, #newsletter .section-article {
  padding: 0 36px;
}

#newsletter .field--name-field-header{
  margin-bottom: 20px;
}

.section-article .field-items {
  padding: 0 !important;
}

.header, .footer, .text {
  font: 16px Calibri;
  color: rgb(62, 58, 55);
  text-align: justify;
  text-justify: inter-word;
}

.header {
  margin: 40px 0 25px 0;
}

.caption {
  font: 14px Calibri;
  color: rgb(62, 58, 55);
  margin: 3px 0 20px 0;
}

.pre-headline {
  font: bold 16px Calibri;
  color: rgb(62, 58, 55);
}

#newsletter .headline h1 {
  font: 22px KarbidWeb;
  color: rgb(165, 0, 59);
  margin: 10px 0;
}

#newsletter .headline h2 {
  font: 22px KarbidWeb;
  color: rgb(165, 0, 59);
  margin: 10px 0;
}

.link {
  margin: 10px 0 20px 0;
}

.link a {
  font: bold 16px Calibri;
  color: rgb(165, 0, 59);
}

.link a::before {
  content: '>> ';
}

.section-article {
  font: 18px KarbidWeb;
  text-align: right;
  line-height: 26px;
  background: rgb(165, 0, 59);
  background-image: url(../img/section-article.png);
  color: #ffffff;
  margin-bottom: 10px;
}

.two-columns-text {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.image-big-newsletter {
  background-color: rgb(225, 224, 223);
}

.image-big-newsletter img {
  max-width: 528px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#title-header {
  width: 600px;
  height: 89px;
}

#title-header .field-items {
  padding: 0 !important;
}

#image-border {
  background: rgb(165, 0, 59);
  background: url(../img/header_pusteblume.png);
  height: 5px;
  background-position: 0 9px;
}

.anteprima-element {
  display: inline-flex;
  padding: 0 36px;
  background: rgb(225, 224, 223);
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.anteprima-element .image-prima-newsletter {
  display: inline-block;
}

.anteprima-element .image-prima-newsletter img {
  width: 100px;
  height: 100px;
  margin: 0 !important;
}

.anteprima-element .anteprima-summary-main {
  display: inline-block;
  width: 428px;
  padding-left: 20px;
  position: relative;
}

.anteprima-element .anteprima-summary-main .headline, .anteprima-element .anteprima-summary-main .text, .anteprima-element .anteprima-summary-main .link {
  padding: 0 !important;
  font-size: 14px !important;
}

.anteprima-element .anteprima-summary-main .headline h2 {
  margin: 0 0 10px 0 !important;
  line-height: 1 !important;
  font: 22px KarbidWeb !important;
  color: rgb(165, 0, 59);
}

.anteprima-element .anteprima-summary-main .link {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
}

.section-footer {
  margin-top: 40px;
  color: #ffffff;
  line-height: 23px;
  background: rgb(96, 96, 96);
  background-image: url(../img/impressum_bar.png);
  font-family: KarbidWeb, Calibri, Arial, sans-serif;
}

#newsletter .footer {
  margin-top:0;
}

.footer {
  background: rgb(225, 224, 223);
  padding: 0;
}

.footer .field--name-field-footer {
  padding: 10px 36px 30px 36px;
}

.footer p {
  font: 14px Calibri;
  color: rgb(62, 58, 55);
}

.footer-link {
  text-decoration: underline;
}

.footer p a {
  color: inherit;
}

.footer ul {
  margin: 0;
  padding: 20px 0 20px 0 !important;
  list-style: none;
  font: 16px Calibri;
  font-weight: bold;
}

.footer ul li {
  float: left;
  padding-right: 10px;
}

.footer ul a {
  color: rgb(165, 0, 59);
}

.footer .social-logos {
  text-align: center;
  margin-top: 15px;
  clear: both;
}
.footer .social-logos img {
  margin: 0;
}

.twitter-logo {
  padding: 0 5px 0 0;
}

#newsletter #title-header .field--name-field-image-header img {
  margin: 0 !important;
}

#newsletter .header {
  background: none;
  margin-bottom: 0;
}
