/******************* 01. Font Implementation *******************/
/*
@font-face {
  font-family: 'Open Sans';
  src: url('../../Fonts/OpenSans/OpenSans-Regular-webfont.eot');
  src: url('../../Fonts/OpenSans/OpenSans-Regular-webfont.eot?#iefix') format("embedded-opentype"),
  url('../../Fonts/OpenSans/OpenSans-Regular-webfont.woff') format('woff'),
  url('../../Fonts/OpenSans/OpenSans-Regular-webfont.ttf') format('truetype'),
  url('../../Fonts/OpenSans/OpenSans-Regular-webfont.svg##{$font-name-normal}') format('svg');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../../Fonts/OpenSans/OpenSans-Bold-webfont.eot');
  src: url('../../Fonts/OpenSans/OpenSans-Bold-webfont.eot?#iefix') format("embedded-opentype"),
  url('../../Fonts/OpenSans/OpenSans-Bold-webfont.woff') format('woff'),
  url('../../Fonts/OpenSans/OpenSans-Bold-webfont.ttf') format('truetype'),
  url('../../Fonts/OpenSans/OpenSans-Bold-webfont.svg##{$font-name-bold}') format("svg");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
*/

@import url("https://use.typekit.net/vtr1ppg.css");

@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 200 800;
  src: local('Roboto Flex Regular'), url('../../Fonts/Roboto/RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].woff') format('woff');
  font-display: swap;
}
/******************* 02. Variable Declarations *******************/
:root {

  /*** Fonts,see also Font Implementation at to top of this file ***/
  --font-family-light: 'avenir-next-lt-pro', verdana, arial, helvetica, sans-serif;
  --font-weight-light: 200;
  --font-variation-settings-light: 'wdth' 120, 'wght' 200;
  
  --font-family-normal: 'avenir-next-lt-pro', verdana, arial, helvetica, sans-serif;
  --font-weight-normal: 400;
  --font-variation-settings: 'wdth' 120, 'wght' 400;

  --font-family-medium: 'avenir-next-lt-pro', verdana, arial, helvetica, sans-serif;
  --font-weight-medium: 500;
  --font-variation-settings-medium: 'wdth' 120, 'wght' 500;

  --font-family-bold: 'avenir-next-lt-pro', verdana, arial, helvetica, sans-serif;
  --font-weight-bold: 800;
  --font-variation-settings-bold: 'wdth' 120, 'wght' 800;
  
  
  /*--font-family-normal: 'Roboto Flex', verdana, arial, helvetica, sans-serif;
  --font-variation-settings-extralight: 'wdth' 120, 'wght' 200;
  --font-variation-settings-light: 'wdth' 120, 'wght' 300;
  --font-variation-settings: 'wdth' 120, 'wght' 400;
  --font-variation-settings-medium: 'wdth' 120, 'wght' 500;
  --font-variation-settings-semibold: 'wdth' 120, 'wght' 600;
  --font-variation-settings-bold: 'wdth' 120, 'wght' 700;
  --font-variation-settings-extrabold: 'wdth' 120, 'wght' 800;

  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;*/

  /*** Colors begin ***/

  /* Gray Scale */
  --black: #000;
  --white: #fff;
  --white-opacity: rgba(255, 255, 255, 0.9);

  /* Message Colors */
  --error: #ba0202;
  --error-light: #fff2f2;
  --valid: #5abc55;
  --valid-light: #e8f6e7;
  --warning: #ffc800;
  --warning-light: #fffae8;
  --information: #0080ff;
  --information-light: #ecf5fe;

  /* INDIVIDUAL */

  --body-bg: #fff3f3;

  /*** Colors end ***/

  /*** Basic Sizes ***/

  /* Basic horizontal spaces */
  --base-html-size: 16px;
  --body-font-size: 1rem; /* 16px*/

  --base-size: 1.5rem;
  --base-size-double: 3rem;
  --base-size-triple: 4.5rem;
  --base-size-half: 0.75rem;
  --base-size-quarter: 0.375rem;
  --base-size-eighth: 0.1875rem;

  /* Basic vertical spaces */
  --gutter: 1.5rem;
  --gutter-double: 3rem;
  --gutter-triple: 4.5rem;
  --gutter-half: 0.75rem;
  --gutter-quarter: 0.375rem;
  --gutter-eighth: 0.1875rem;

  /* Borders */
  --border-width: 2px;
  --border-radius: 2px;

  --transition: .3s ease-in-out;


  /******************* 03. Property Declarations, Individual Layout *******************/

  /* Max. Height of Logo in Header (--logo-height) on Website
  Rendered File height is defined in TypoScript Constants on Root Page. Adjust value if necessary
  Example: --logo-height: 150px;
  */
  --logo-height: 150px; /*calc(var(--base-size, 16px) * 3);*/

  /* Body */
  --font-color: #654d4d;
  --font-color-light: var(--gray2);
  --body-bg-color: var(--body-bg); /* var(--white); */

  /* Body links */
  --body-link-color: #b77474;
  --body-link-hover-color: var(--font-color);
  --body-link-invers-color: var(--gray4);
  --body-link-invers-hover-color: var(--white);
  --body-link-text-decoration: underline;
  --body-link-text-decoration-color: #b77474;
  --body-link-text-decoration-thickness: 1px;
  --body-link-underline-offset: 3px;

  /* Page Header */
  --header-bg-color: var(--body-bg); /*var(--white);*/
  --header-bg-overlay: var(--white-opacity);
  --header-color: var(--font-color);
  --header-link-color: var(--body-link-color);
  --header-link-hover-color: var(--body-link-hover-color);
  --header-service-height: var(--logo-height, calc(var(--base-size, 16px) * 3));
  --mobile-logo-height: calc(var(--base-size, 16px) * 3);
  --nav-header-height: calc(var(--base-size, 16px) * 2);
  --header-height: calc(var(--header-service-height) + var(--nav-header-height));
  --header-height-fixed: calc(var(--logo-height, 16px) * .5);

  --header-button-color: var(--white);
  --header-button-hover-color: var(--white);
  --header-button-bg: var(--body-link-color);
  --header-button-hover-bg: var(--body-link-hover-color);
  --header-button-border: var(--body-link-color);
  --header-button-hover-border: var(--body-link-hover-color);

  /* Page Footers */
  --footer-bg: #6e6060;
  --footer-color: white;
  --footer-link-color: var(--gray5);
  --footer-link-hover-color: var(--body-link-invers-hover-color);

  --footer2-bg: var(--body-bg);
  --footer2-color: var(--white);
  --footer2-link-color: var(--body-link-invers-color);
  --footer2-link-hover-color: var(--body-link-color);

  /* Fonts sizes depending on display size */
  --base-html-size-small: var(--base-html-size);
  --base-html-size-medium: calc(var(--base-html-size) * 1.125);
  --base-html-size-large: calc(var(--base-html-size) * 1.1875);

  /* Font sizes - https://type-scale.com/ Perfect Fourth, 1.333 */
  --font-size1: 2.369rem; /* h1 */
  --line-height1: var(--base-size-double);
  --font-size2: 1.777rem; /* h2 */
  --line-height2: calc(var(--base-size) * 1.5);
  --font-size3: 1.333rem; /* h3 */
  --line-height3: calc(var(--base-size) * 1.25);
  --font-size4: 1.125rem; /* h4 */
  --font-size5: var(--body-font-size); /* h5 */
  --font-size-small: calc(var(--body-font-size) * 0.8);
  --line-height-small: calc(var(--body-font-size) * 0.8);

  /* Headers h1-h5 */
  --header-font-family: var(--font-family-normal);
  --header-font-weight: var(--font-weight-semibold);
  --header-font-color: var(--font-color-light);
  --header-font-variation-settings: var(--font-variation-settings-semibold);

  /* Buttons primary */
  --button-color: var(--white);
  --button-hover-color: var(--white);
  --button-bg: var(--body-link-color);
  --button-hover-bg: var(--body-link-hover-color);
  --button-border: var(--body-link-color);
  --button-hover-border: var(--body-link-hover-color);

  /* Buttons secondary */
  --button2-color: var(--body-link-color);
  --button2-hover-color: var(--white);
  --button2-bg: var(--white);
  --button2-hover-bg: var(--body-link-hover-color);
  --button2-border: var(--body-link-color);
  --button2-hover-border: var(--body-link-hover-color);

  /* Tables: border color and cell borders.*/
  --table-border-color: var(--gray3);
  --table-hover-color: var(--font-color);
  --table-hover-bg: var(--gray5);
  --table-header-bg: var(--gray5);
  --table-header-color: var(--font-color);
  --stripedblock-bg: var(--gray5);

  /* Default Border */
  --border-color: var(--gray3);

  /* Image Border Option for Editors*/
  --image-border-color: var(--border-color);
  --image-border-width: var(--border-width);

  /* Layout Option for Editors*/
  --layout-100-bg: var(--gray5);

  /* Toggle Content Header Frame Option */
  --toggle-bg: var(--gray5);

  /* Paddíng for all boxes with background */
  --padding-boxes: var(--base-size) var(--gutter);

  --box-shadow: rgba(0, 0, 0, 0.2);


  /***** Content Element: Hero Text over image options *****/
  --hero-text-light: var(--white);
  --hero-text-dark: var(--black);
  --hero-text-bg-light: rgba(255, 255, 255, 0.9);
  --hero-text-bg-dark: rgba(0, 0, 0, 0.9);
  --hero-text-shadow-dark: 1px 1px 1px var(--black);
  --hero-text-shadow-light: 1px 1px 1px var(--white);

  /***** Navigation smartmenu *****/

  /* Navigation background over whole browser width */
  --menu-bg-100vw: #fff3f3; /*var(--gray5, #eee);*/

  --menu-font-family: var(--font-family-normal);

  /*Mobile Items separators*/
  --collapsible-separators-color: rgba(0, 0, 0, 0.05);
  /*Toggle button (sub menu indicators)*/
  --collapsible-toggle-bg: var(--white-opacity);
  --collapsible-submenu-bg: rgba(var(--gray4), 0.1);

  /* 1.level menu */
  --menu-link-color: #b77474; /*var(--body-link-color);*/
  --menu-link-hover-color: var(--font-color);
  --menu-bg: var(--gray5);
  --menu-hover-bg: var(--gray5);
  --menu-current-bg: var(--gray5);
  --menu-arrow-color: var(--menu-link-color);

  /* 2.level menu */
  --submenu-link-color: var(--body-link-color);
  --submenu-link-hover-color: var(--font-color);
  --submenu-current-color: var(--font-color);
  --submenu-bg: var(--gray5);
  --submenu-hover-bg: var(--white);
  --submenu-current-bg: var(--white);
  --submenu-arrow-color: var(--body-link-color);
  --desktop-submenu-border-color: var(--border-color);

  /* hamburger icon for mobile menu */
  --menu-icon-button: var(--body-link-color);

}
html {
  scroll-behavior: smooth;
}

div.anker {
  scroll-margin-top:calc(var(--header-height-fixed) - var(--base-html-size) * 2);
}

  /*******************************/
  /* --- Individual Settings --- */
  /*******************************/

  
  /* Menu */
  
  #main-menu {
    float: right;
  }

  @media (min-width: 830px) {
    .main-nav {
       margin-top: -50px;
    }
    .sm-clean{
      background: none !important;
    }
    .sm-clean a {
      background: none !important;
    }
    .width-max {
      margin-top: 10px;
      color: var(--font-color);
    }
     .content-footer .width-max {
      color: white;
    }
  }

  .sm-clean a {
    color: #fff;
    font-size: 1.3rem !important;
  }

  .sm-clean ul a {
    font-size: 1.3rem !important;
    padding: 0.1rem 1rem;
  }

  #main-menu>li:first-child>a {
    padding-left: 15px;
  }

   @media (max-width: 768px) {
    .header-service {
       background: none !important;
    }
    div.wrapper-logo {
      margin-top: 10px !important;
      padding-bottom: 40px;
    }
  }

  
  /* Body & Links */
  
  body {
    color: #654d4d !important;
    font-family: var(--font-family-light, 'avenir-next-lt-pro', verdana, arial, helvetica, sans-serif);
    font-weight: var(--font-weight-light, 200);
    font-variation-settings: var(--font-variation-settings-light, 'wdth' 120, 'wght' 200);
  }

  body, input, textarea, select {
    line-height: 165%;
  }

  #main {
    text-wrap: wrap;
    text-wrap: pretty; /* nur Chrom */
  }

 a {
    color: #2689ff;
    font-weight: 500;
    text-decoration-color: #2689ff;
  }

  a:hover {
    color: #61cdff;
    text-decoration-color: #61cdff;
  }

  a.current {
    font-weight: 500;
  }

  b, strong, .bold {
    font-weight: 500 !important;
  }


  /* Überschriften */

  h1 {
    color: #654d4d !important;
    font-size: 3.5rem !important; /*var(--font-size2, 1.777rem);*/
    line-height: 165%;
    font-family: 'cantoni-pro', verdana, arial, helvetica, sans-serif !important;
    font-weight: 400 !important;
  }

  h2 {
    color: #654d4d !important;
    font-family: 'adorn-condensed-sans', verdana, arial, helvetica, sans-serif !important;
    font-weight: 400 !important;
  }

  h3 {
    color: #654d4d !important;
    font-family: 'adorn-condensed-sans', verdana, arial, helvetica, sans-serif !important;
    font-weight: 400 !important;
  }

  h4 {
    margin-bottom: 0.3rem;
    color: #da9929;
  }
  
  h5 {
    margin-bottom: 0;
    font-weight: 300;
    color: #8aafba;
  }

  .btn[class*=btn-]  {
    padding: 0 20px;
    border-radius: 10px;
  }

  .btn-primary {
    color: var(--white, #fff);
    background: var(--black, #000);
    border: var(--border-width, 2px) solid #004498;
    font-size: 0.7rem;
    color: #fff;
    padding: 0 20px !important;
  }

  .btn-secondary {
    color: var(--white, #fff);
    background: var(--black, #000);
    border: var(--border-width, 2px) solid #004498;
    font-size: 0.9rem;
    color: #fff;
    margin: 0 2px;
  }

  p .btn-secondary:first-child {
    margin: 0 2px 0 0 !important;
  }

  p .btn-secondary:last-child {
    margin: 0 0 0 2px !important;
  }

  .btn-secondary:hover {
    color: var(--white, #fff);
    background: #004498;
    border: var(--border-width, 2px) solid #004498;
    font-size: 1rem;
    color: #fff;
  }

  .frame-layout-100 {
    background: var(--gray1, #222);
    padding: 20px 10px 10px;
    margin: 50px 0;
    /*margin-bottom: var(--base-size);*/
    font-size: 0.7rem;
    line-height: 1.4;
    border-radius: 15px;
  }

  .frame-layout-100 h2 {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .frame-layout-100 h3 {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

   .frame-layout-100 a {
     color: #ccc;
     text-decoration: none;
     font-weight: 300 !important;
  }

  .frame-layout-100 a:hover {
     color: #ccc;
  }

  .frame-ruler-after h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .frame-ruler-after h2 {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .frame-ruler-after:after {
    border-bottom: 1px solid var(--table-border-color, #999);
    padding: 5px;
}

  @media (max-width:768px) {
    div.wrapper-logo img {
      height: 60px;
      margin-top: -50px;
    }

    .frame-layout-100 {
      margin: 20px 0 !important;
    }
  }

  .image-embed-item {
    border-radius: 15px;
  }

  .video-embed {
    border-radius: 15px;
  }

  .frame-space-before-small {
    margin-top: 0 !important;
  }

  .accordion>header, .frame-collapse>header {
    background: var(--gray1, #222); 
    margin-bottom: 10px;
  }

  .accordion-panel p {
    font-size: 0.8rem;
    padding-left: 30px;
  }

  .frame-type-news_newsliststicky {
    padding: 30px 30px 0;
  }

  .frame-type-news_newsliststicky a h3 {
    color: white;
    text-decoration: none;
  }

  .frame-type-news_newsliststicky a:hover h3 {
    color: white;
    text-decoration: none;
  }

  .news-list-view a h3 {
      color: white !important;
  }

  .news-list-view.layout-2>div {
    margin-bottom: 20px;
  }

  ul.horizontal li a, ul.horizontal li>span{
    color: black;
    /*text-decoration-color: black;*/
    text-decoration: none;
  }

 .f3-widget-paginator>li>a, .f3-widget-paginator>li>span, .glossary-alphabet>li>a, .glossary-alphabet>li>span {
    color: white;
    background-color: black;
    padding: 0 1rem;
    line-height: 1.5rem;
    }

  .f3-widget-paginator>li.current {
    color: white;
    background-color: darkred;
    padding: 0 1rem;
    box-sizing: border-box;
    min-width: var(--gutter-double, 3rem);
    text-decoration: none;
    margin: 0 2px var(--base-size-half, 0.75rem) 0;
    line-height: 1.5rem;
    /*line-height: var(--base-size-double);*/
    border: var(--border-width,1px) solid var(--border-color);
    border-radius: var(--border-radius);
  }

  .ce-bodytext li {
    /*line-height: 0.7rem;*/
    padding: 0;
  }

  ul ul {
    padding-top: 0px;
    padding-bottom: 10px;
  }

  /* Formular */

  select {
    appearance: menulist;
    background-color: #000;
  }

  input, textarea, select[multiple] {
    background-color: #000;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  [class*=frame-type-menu_].frame-layout-261 a, .socialmedia a {
    border-radius: 5px;
    padding: 4px;
  }

  .image-embed-item {
    border-radius: 0;
  }

  .content-footer {
    background: #222;
    color: #fff;
  }

  th {
    background: black;
  }

  tr:hover td, tr:focus td {
    background: black;
  }

  figcaption {
    padding: 10px 0 0 0;
  }

  /* Blog */

  .blogcontainer-main {
    padding-top: 0;
  }

  .blogcontainer-main  p+p {
    margin-top: -1em;
  }

  .blogcontainer {
    grid-template-columns: 1fr 0px;
  }

  .postlist__posttitle a {
    font-size: 1.1rem;
    color: white;
    text-decoration-color: white;
  }

   .postlist__posttitle {
     margin-top: 0.3rem;
     margin-bottom: 0;
  }

  .postmetagroup--type-listheader {
    font-size: 0.7rem;
    line-height: 1.7;
  }

  .postmetagroup--type-listheader a {
    color: #ccc;
    text-decoration: none;
  }

  .postmetagroup--type-listfooter {
    font-size: 0.7rem;
  }

  .postlist__post {
     margin-top: 0; 
  }

  .blogimage img {
    width: 100%;
    max-width: 700px;
  }

  .blogcontainer {
    display: unset;
  }

  .postmetagroup__item {
    padding: 0rem .5rem;
  }

  .postheader__title {
    margin: 2rem 0 0.2rem;
  }

  .postheader__meta {
    font-size: 0.9rem;
  }

  /* Dateiliste */

  .ce-uploads {
    background-color: #222;
  }
  
  .ce-uploads li:nth-child(odd) {
    background: #333;
  }

  .ce-uploads span {
    font-size: 1rem;
  }

  .ce-uploads-description {
    font-size: 0.9rem;
  }

  .content-header {
    background: var(--body-bg);
  }

  .wrapper-topmenu {
    background: var(--body-bg) !important;
  }

  .main-nav {
    background: none !important;
  }

  #main {
    margin-top: -30px;
  }

  .rootline {
    color: var(--font-color) !important;
  }

  ul.horizontal li a, ul.horizontal li>span {
    color: var(--font-color);
  }

  .content-footer {
    color: white !important;  
  }

  .cb-card-group .card {
    color: var(--font-color) !important;
    border-color: var(--body-link-text-decoration-color) !important;
    background: #faf0f0 !important;
  }
