@font-face {
  font-family: "SparkasseHeadWeb";
  src: url("fonts/SparkasseHead_Rg.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "SparkasseWeb";
  src: url("fonts/Sparkasse_Rg.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}

body {
    background-color: #FFF;
    color: #64666b;
    font-family: SparkasseHeadWeb,Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

.btn-primary-specialEdition {
    background: #ff0000 url(pix/dsg1_ksk_vermittlerportal_icon_cta.png) no-repeat 85% 10px;
    color: #fff;
    font: bold 16px "SparkasseWeb", Helvetica, Arial, sans-serif;
    line-height: normal;
    display: inline-block;
    /*float: right;*/
    line-height: 1.5;
    padding: 9px 45px 9px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out 0s;
    width: 100%;
    margin-bottom: 25px;
}

    /*.btn-primary-specialEdition span {
    color: #000;
}*/

    .btn-primary-specialEdition:hover {
        background: #ff0000 url(pix/dsg1_ksk_vermittlerportal_icon_cta_hover.png) no-repeat 85% 10px;
        color: #fff !important;
        text-decoration: none !important;
    }

/*.btn-primary-specialEdition:hover span {
    color: #bfc0c2;
    }*/

html:not(.is-touch) .btn-primary-specialEdition:not(:disabled):active {
    background: #ff0000 url(pix/dsg1_ksk_vermittlerportal_icon_cta_hover.png) no-repeat 85% 10px;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-primary-specialEdition:focus {
    background: #ff0000 url(pix/dsg1_ksk_vermittlerportal_icon_cta_hover.png) no-repeat 85% 10px;
    color: #fff !important;
    text-decoration: none !important;
}


a {
    text-decoration: none;
    color: #fff;
}


    a:hover,
    a:focus,
    a:visited,
    a:active {
        text-decoration: underline;
        color: #fff;
    }

.glyphicon-menu-right::before {
    position: absolute;
    left: -16px;
    top: 5px;
    font-size: 50px;
    line-height: 56px;
}

.panel-heading {

}

.panel-opener {

}

.panel-heading img {
        max-width: 200px;

}

.panel-footer-top {
    background-image: url("pix/background.png");
}


.panel-footer {
    background-color: #666;
}

    /* HEADLINES*/
    .hl-1, .hl-2, .hl-3, .hl-4, .hl-5, .hl-6 {
    font-family: 'SparkasseHeadWeb',Helvetica,Arial,sans-serif !important;
    /*letter-spacing: -.02em;*/
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

.color--white {
    color: #fff !important;
}

.color--black {
    color: #000 !important;
}

.color--red {
    color: #ff0000 !important;
}

.color--darkblue {
    color: #002e5f !important;
}

.color--light-blue {
    color: #008ecf !important;
}

.bgcolor--lightgray25w {
    background-color: #efeff0 !important;
}

.hl-1 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}

.hl-2 {
    font-size: 24px;
    line-height: 1.2;
}

.hl-3 {
    font-size: 18px;
    line-height: 1;
    margin-top: 15px;
}

.fs-intro {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.lead {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 25px;
    margin-left: 0px;
    margin-right: 0px;
}

@media (min-width: 768px) {
    .hl-1 {
        font-size: 32px;
        font-weight: bold;
        line-height: 1.5;
    }

    .hl-2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hl-3 {
        font-size: 22px;
        line-height: 1;
    }


    .fs-intro {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .lead {
        color: #777;
        font-size: 18px;
        font-weight: 300;
        line-height: 1.5;
        margin-top: 25px;
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media (min-width: 992px) {
    .hl-1 {
        font-size: 36px;
        font-weight: bold;
        line-height: 1.5;
    }

    .hl-2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hl-3 {
        font-size: 24px;
        line-height: 1;
    }


    .fs-intro {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .lead {
        color: #777;
        font-size: 20px;
        font-weight: 300;
        line-height: 1.5;
        margin-top: 25px;
        margin-left: 0px;
        margin-right: 0px;
    }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
.visually-hidden-focusable:focus {
  position:static !important;
  width:auto; height:auto;
  margin:1rem 0;
  padding:.5rem .75rem;
  background:#fff;
  outline:2px solid #000;
  border-radius:.25rem;
}

.btn-primary-specialEdition:focus-visible {
  outline: 3px solid #000;     /* gut sichtbar auf Rot */
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary-specialEdition {
    transition: none;
  }
}

@media (forced-colors: active) {
  .btn-primary-specialEdition {
    background-image: none !important; /* Deko-Icon ausblenden */
  }
}

/* Falls Branding es erlaubt: Rot leicht abdunkeln für AA */
.btn-primary-specialEdition,
.btn-primary-specialEdition:hover,
.btn-primary-specialEdition:focus,
html:not(.is-touch) .btn-primary-specialEdition:not(:disabled):active {
  background-color: #e60000; /* statt #ff0000 */
  background-image: url(pix/dsg1_ksk_vermittlerportal_icon_cta.png);
  background-repeat: no-repeat;
  background-position: 85% 10px;
}
.btn-primary-specialEdition:hover,
.btn-primary-specialEdition:focus,
html:not(.is-touch) .btn-primary-specialEdition:not(:disabled):active {
  background-image: url(pix/dsg1_ksk_vermittlerportal_icon_cta_hover.png);
}

.panel-footer a:focus,
.panel-footer button:focus {
  outline: 3px solid #fff;         
  outline-offset: 2px;
  text-decoration: underline;       /
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@supports selector(:focus-visible) {
  .panel-footer a:focus:not(:focus-visible),
  .panel-footer button:focus:not(:focus-visible) {
    outline: none;
    text-decoration: none;
  }
  .panel-footer a:focus-visible,
  .panel-footer button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }
}


.panel-footer a:focus img,
.panel-footer a:focus-visible img {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;              
}


@media (forced-colors: active) {
  .panel-footer a:focus,
  .panel-footer a:focus-visible,
  .panel-footer button:focus,
  .panel-footer button:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 2px;
  }
  .panel-footer a:focus img,
  .panel-footer a:focus-visible img {
    outline: 2px solid CanvasText;
  }
}

.panel-footer .link-light {
  display: inline-block;           
  padding: 2px 2px;                
}
