/* =============================================================================
   Tables
   ========================================================================== */

table.ce-table td {
  border: 2px solid rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-neutral-lighter));
  padding: 0.3rem 0.7rem;
}

.content .frame-bg-grey table.ce-table td {
  border: 2px solid rgb(var(--c-neutral-lighter));
  background: rgb(var(--c-neutral-lightest));
}

table.ce-table th,
table.ce-table caption {
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  font-family: var(--f-family);
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.content .frame-bg-grey table.ce-table th,
.content .frame-bg-grey table.ce-table caption {
  border: 2px solid rgb(var(--c-neutral-lighter));
}

.ios-scrollbar {
  padding-bottom: 20px;
  position: relative;
}

.ios-scrollbar::after {
  content: '\f178';
  font-family: 'FaLight', sans-serif;
  font-size: 15px;
  line-height: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
}

table.ce-table.ce-table-einzelmeister tr td:first-child {
  width: 10%;
}

table.ce-table.ce-table-einzelmeister tr td:nth-child(2) {
  width: 45%;
}

table.ce-table.ce-table-einzelmeister tr td:nth-child(3) {
  width: 45%;
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Tabs */
.frame-type-tabs > .tabs__nav {
  justify-content: flex-start;
  column-gap: 0;
  row-gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.content > .frame-type-tabs > .tabs__nav {
  margin-right: 4%;
  margin-left: 4%;
}

.tabs__button {
  position: relative;
  padding: 0 0.6rem 0.3rem;
  border: none;
  background: none;
  box-shadow: inset 0 -2px 0 0 rgb(var(--c-neutral-lighter));
  color: rgb(var(--c-neutral-dark));
  font: inherit;
  font-size: var(--f-size-l-2);
  text-transform: uppercase;
  cursor: pointer;
}

.tabs__button::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  opacity: 0;
  border-bottom: 2px solid rgb(var(--c-primary));
  transform: translateX(-50%);
  transition: opacity 0.05s 0.1s, width 0.2s 0.4s;
}

.content .frame-bg-grey .tabs__button {
  box-shadow: inset 0 -2px 0 0 rgb(var(--c-neutral-light));
}

.content .tabs__button.-active {
  color: rgb(var(--c-primary));
  box-shadow: inset 0 -2px 0 0 rgb(var(--c-primary));
}

.no-touch .tabs__button:hover {
  color: rgb(var(--c-primary-dark));
}

.no-touch .tabs__button:hover::before {
  width: 100%;
  opacity: 1;
  transition: opacity 0.05s, width 0.2s;
}

.content .frame-type-tabs:not(.-itempadding) > .tabs__content {
  margin-top: 3rem;
}

/* Accordion */
.accordion.-vertical .accordion__header {
  margin: 0 0 3px;
  font-size: var(--f-size-l-2);
}

.accordion.-vertical .accordion__button {
  padding: 0.6rem 4rem 0.6rem 1rem;
  border: none;
  background: rgb(var(--c-neutral-lighter));
  color: rgb(var(--c-primary));
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.accordion__subheadertext {
  display: none;
}

.content .frame-bg-grey .accordion.-vertical .accordion__button {
  background: rgb(var(--c-neutral-lightest));
  text-transform: none;
}

.content .accordion.-vertical .accordion__header.-active .accordion__button {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.no-touch .content .accordion.-vertical .accordion__header:hover .accordion__button {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.content .accordion.-vertical .accordion__header::after {
  right: 1rem;
  color: rgb(var(--c-primary));
  font-size: 30px;
}

.content .accordion.-vertical .accordion__header.-active::after {
  color: rgb(var(--c-neutral-lightest));
}

.no-touch .content .accordion.-vertical .accordion__header:hover::after {
  color: rgb(var(--c-neutral-lightest));
}

.accordion.-vertical .accordion__content {
  margin-bottom: 3px;
  padding: 2rem;
  border: 2px solid rgb(var(--c-neutral-lighter));
}

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.content .frame-bg-grey .uploads__item {
  background-color: rgb(var(--c-neutral-lightest));
}

.uploads__link {
  color: rgb(var(--c-neutral-dark));
}

.uploads__title {
  color: rgb(var(--c-primary));
  text-transform: uppercase;
  font-size: var(--f-size-l-1);
}

.uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

.no-touch .content .frame-bg-grey .uploads__item:hover,
.no-touch .uploads__item:hover {
  background-color: rgb(var(--c-primary));
}

.no-touch .uploads__item:hover,
.no-touch .uploads__item:hover .uploads__title {
  color: rgb(var(--c-neutral-lightest));
}

.no-touch .uploads__item:hover .uploads__arrowpath {
  stroke: rgb(var(--c-neutral-lightest));
}

/* Images */
.-border img,
.-border iframe {
  border: 1px solid rgb(var(--c-neutral-light));
}

.gallery__item a[data-fancybox]::before,
.media__image a::before {
  background-color: rgba(var(--c-primary), 0.6);
}

.gallery__caption,
.media__caption {
  color: rgb(var(--c-primary));
}

.video-shariff-preview {
  line-height: 1.4;
}

.video-embed {
  border: none;
  overflow: auto;
  width: 100%;
  position: inherit;
  padding-bottom: 0;
  height: auto;
}

.video-embed .video-embed-item,
.video-embed video {
  aspect-ratio: 16 / 9;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  position: inherit;
}

/* Menus */
.frame-type-menu_pages li a,
.frame-type-menu_sitemap li a {
  color: rgb(var(--c-neutral-dark));
}

/* Paginator */
ul.f3-widget-paginator {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

ul.f3-widget-paginator li {
  list-style-type: none;
  width: 40px;
  height: 40px;
  margin: 0 5px 5px 0;
  background: rgb(var(--c-neutral-lighter));
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.f3-widget-paginator a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.no-touch ul.f3-widget-paginator li:hover,
ul.f3-widget-paginator li.current {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.no-touch ul.f3-widget-paginator li:hover a,
ul.f3-widget-paginator li.current a {
  color: rgb(var(--c-neutral-lightest));
}

ul.f3-widget-paginator li.previous a::after {
  content: '\f053';
  font-family: 'FaLight', sans-serif;
  ;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  font-size: var(--f-size);
}

ul.f3-widget-paginator li.next a::after {
  content: '\f054';
  font-family: 'FaLight', sans-serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  font-size: var(--f-size);
}

/* =============================================================================
   Container
   ========================================================================== */

.content .frame-bg-blue {
  background-color: rgb(var(--c-primary));
}

.content .frame-bg-blue h1 {
  color: rgb(var(--c-neutral-lightest));
}

.content .frame-bg-blue hr {
  border-top: 2px solid rgb(var(--c-neutral-lightest));
}

.content .frame-bg-blue .headlinelink__button a {
  color: rgb(var(--c-primary)) !important;
  background: rgb(var(--c-neutral-lightest));
  padding: 0.25rem 1rem;
  line-height: 1.6;
  display: inline-block;
  margin-top: 0.5rem;
}

.content .frame-bg-blue .font__button a {
  color: rgb(var(--c-primary));
}

.content .frame-bg-blue .font__button {
  color: rgb(var(--c-primary));
  background: rgb(var(--c-neutral-lightest));
  border: 1px solid rgb(var(--c-neutral-lightest));
}

.no-touch .content .frame-bg-blue .font__button:hover {
  color: rgb(var(--c-neutral-lightest));
  background: transparent;
}

.no-touch .content .frame-bg-blue .font__button:hover a {
  color: rgb(var(--c-neutral-lightest));
}

/* =============================================================================
   Template
   ========================================================================== */
/* Content */
.content>.frame,
.content__top,
.content__bottom>.frame,
.footer {
  padding-top: 50px;
  padding-bottom: 50px;
  background: rgb(var(--c-neutral-lightest));
}

.footer {
  background: rgb(var(--c-primary));
  position: relative;
  overflow: hidden;
}

.footer .grid__col.-w33:first-child #c40 h4 {
  font-family: var(--f-family-b);
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer p,
.footer a,
.footer .frame-type-menu_pages li a,
.footer .powermail_label,
.footer .powermail_field .checkbox label {
  color: rgb(var(--c-neutral-lightest));
}

.footer h4 {
  text-transform: uppercase;
  font-size: var(--f-size-l-2);
}

.footer a:hover {
  color: rgb(var(--c-neutral-lightest));
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23d1d1d1'><polygon points='0,0 100,0 50,50'/></svg>");
  background-size: 12px;
  background-position: calc(100% - 20px) 50%;
}

.footer .font__button,
input[type="submit"] {
  text-transform: none;
  color: rgb(var(--c-primary));
  background: rgb(var(--c-neutral-lightest));
  line-height: 1.4;
  padding: 0.3rem 1rem;
  border: none;
}

.footer .fa-facebook:before,
.footer .fa-instagram:before {
  font-size: var(--f-size-l-3);
}

.footer img.loewe__footer {
  display: block;
  position: absolute;
  right: -4%;
  bottom: 0;
  height: auto;
  z-index: 0;
  opacity: .1;
  width: auto;
  object-fit: inherit;
}

.metanav {
  display: none;
}

.content .frame-bg-grey {
  background: rgb(var(--c-neutral-lighter));
}

/* popup*/
.popup {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 60000;
  display: none;
  background: rgba(var(--c-neutral-darkest), 0.7);
  overflow-y: auto;
}

.popup__container {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: 950px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 6rem 0;
  width: 92%;
}

.popup__content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: rgb(var(--c-neutral-lightest));
  width: 100%;
  box-shadow: 0 0 20px 8px rgba(var(--c-neutral-darkest), .2);
  position: relative;
  padding: 3rem;
}

.popup__content>div:last-child {
  margin-bottom: 0;
}

.popup__close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  line-height: 40px;
  width: 40px;
  text-align: center;
}

.popup__close::after {
  content: '\f00d';
  font-family: 'FontAwesome';
  font-size: 20px;
}

.popup .container-gruen {
  padding: 3rem;
  box-sizing: border-box;
  border: none;
}

.popup .container-gruen .page_margins {
  width: auto;
  box-sizing: border-box;
}

.popup .grid__main {
  display: block;
}

.content .frame-bg-blue {
  background: rgb(var(--c-primary));
}

.content .frame-bg-blue h2,
.content .frame-bg-blue h3,
.content .frame-bg-blue ul,
.content .frame-bg-blue li,
.content .frame-bg-blue {
  color: rgb(var(--c-neutral-lightest));
}

/* =============================================================================
   Menus
   ========================================================================== */
/* Leftmenu */
.leftmenu__link {
  color: rgb(var(--c-neutral-dark));
  line-height: 140%;
}

.no-touch .leftmenu__link:hover,
.leftmenu__link.-active {
  color: rgb(var(--c-primary));
}

.leftmenu__list.-level1>.leftmenu__item {
  border-bottom: 1px solid rgb(var(--c-neutral-light));
}

.leftmenu__item,
.leftmenu__link {
  color: rgb(var(--c-primary));
}

.content__left .parentnav.headline.-small {
  font-size: var(--f-size-s-2);
}

.leftmenu__list.-level2 .leftmenu__item {
  margin-top: 1rem;
  line-height: 140%;
}

.leftmenu__list.-level2 .leftmenu__item:first-child {
  margin-top: 0.3rem;
}

/* Breadcrumb */
.breadcrumb__link {
  color: rgb(var(--c-neutral-dark));
}

.no-touch .breadcrumb__link:hover {
  color: rgb(var(--c-primary));
}

/* Metanav */
.metanav__link {
  color: rgb(var(--c-neutral-dark));
  text-transform: uppercase;
}

.no-touch .metanav__link:hover {
  color: rgb(var(--c-primary));
}

.metanav__nav {
  padding: 0.6rem 0;
}

.frame-type-menu_subpages ul {
  display: grid;
  grid-gap: var(--g-gap);
}

.frame-type-menu_subpages li {
  background: rgb(var(--c-neutral-lighter));
  padding: 1rem 1.5rem;
}

/* =============================================================================
   Media Queries
   ============================================================================= */

@media (min-width: 1580px) {
  .content > .frame-type-tabs > .tabs__nav {
    margin-right: calc((100% - 1440px) / 2);
    margin-left: calc((100% - 1440px) / 2);
  }
}

@media (min-width: 400px) {

  /* Container */
  .content>.frame,
  .content__top,
  .content__bottom>.frame,
  .footer {
    padding-top: calc(50px + (100 - 50) * ((100vw - 400px) / (1600 - 400)));
    padding-bottom: calc(50px + (100 - 50) * ((100vw - 400px) / (1600 - 400)));
  }
}

@media (min-width: 640px) {

  /* Footer */
  .footer img.loewe__footer {
    right: -4%;
  }
}

@media (min-width: 800px) {

  /* Menu */
  .frame-type-menu_subpages ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1580px) {

  .content>.frame,
  .content__top,
  .content__bottom>.frame,
  .footer {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* Footer */
  .footer img.loewe__footer {
    height: 20%;
    top: inherit;
    bottom: 0;
    opacity: .2;
    right: 1%;
  }
}
