/* pt-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* pt-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body { 
    /*
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Rubik', sans-serif;
    */
    font-family: 'PT Sans', sans-serif;
}

.bg-gray {
    background-color: gray;
}

.bg-birsmagazin {
    background-color: #ce2b38;
}

.bg-lima {
    background-color: #e70044;
}

.bg-warning, .bg-yellow {
    background-color: #fcf319 !important;
}

.smaller {
    width: 70%;
    font-size: 80%;
}

dl, ol, ul {
    padding-left: 1em;
}

video {
  width: 100%;
  height: auto;
}

/* HEADER */

.header {
    margin-top: 17px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header a {
    text-decoration: none;
}

.header a:hover {
    text-decoration: none;
}

#desktop-nav-row .desktop-nav:hover {
    background: url(../images/navigation-marker.svg) bottom center no-repeat;
    background-size: 12px;
}

.menu_below_id {
    position: absolute;
    z-index: 1;
    width: 53.5rem;
    padding: 0 1rem;
    display: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    background-color: #FFF;
}

.menu_below_id a:hover {
    font-weight: bold;
    color: black;
}

#sub-menu-1 {
    left: -1rem;
}


#sub-menu-2 {
    left: -14.3rem;
}

#sub-menu-3 {
    left: -25rem;
}

#sub-menu-4 {
    left: -21.6rem;
}

#sub-menu-5 {
    left: -28.6rem;
}

.desktop-nav:hover .menu_below_id {
    display: block;
}

.desktop-nav:hover .nav-item {
    font-weight: bold;
}

.menu_below_id ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu_below_id li {
    padding: 0.2rem 1rem;
    float: left;
    font-size: 90%;
}

.nav-item {
    display: inline-block;
}

.child.selected {
    font-weight: bold;
}

.child.descendant {
    font-weight: normal;
}



/* GENERAL STYLES */

main {
    margin-top: 2em;
}

.h1, h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

.h2, h2 {
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 0.5rem;
}

.h3, .h4, .h5, h3, h4, h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

p {
    margin-bottom: 0.5rem;
}


/* BLOCKQUOTE */

blockquote {
    margin: 0 0 0;
    font-style: italic;
    font-size: 1rem;
    color: #000;
    line-height: normal;
}

.blockquote-footer {
    padding-top: initial;
    color: #000;
}

.blockquote-footer::before {
    content: "";
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #828282;
}

table {
    width: 100%;
    min-width: 400px;
    font-size: 90%;
    vertical-align: top;
}

td, th {
    width: 33.33333%;
    vertical-align: top;
    padding: 0 5px;
}

.table-container {
    overflow-x: auto;
}


/* NAVBAR */

.navbar-brand {
    width: 172px;
}

.navbar-light .navbar-toggler {
    color: rgba(0,0,0,1);
    border-color: transparent;
}

.navbar-toggler-icon {
    width: 2em;
    height: 2em;
}

.navbar-text {
    padding-top: 0;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* NAVBAR-NAV */

.navbar-brand object {
    pointer-events: none;
}

.nav-item object {
    pointer-events: none;
}

.navbar {
    padding: .5rem 0;
}

.navbar-nav {
    font-size: 1.1rem;
    line-height: 1.7;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1.5px solid black;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid black;
}

.navbar-nav ul {
    padding: 0 1rem;
    list-style-type: none;
    font-size: 90%;
}

.navbar-nav ul li::before {
	content: ">";
}



/* KACHEL MENÜ */

.card-body {
    padding: 1rem;
}

.kachel-menu p {
    font-size: 90%;
}

/* CARD */
.card {
    border: none;
    border-radius: 0;
}

/* for employee */
.card-img-overlay {
    border-radius: 0;
    /*
    */
}

.mitarbeiter-overlay {
    top: 70%;
    background-color: rgba(240,255,0,0);
    transition: background-color .5s ease-in-out, top .5s, color 0.5s;
}

.kachel-overlay {
    top: 0;
    background-color: rgba(240,255,0,0);
    transition: background-color .5s ease-in-out;
    padding: 1rem;
    display: flex;
}

.kachel-overlay h3 {
    font-size: 1rem;
}

.mitarbeiter-master:hover .mitarbeiter-overlay {
    top: 0;
    background-color: rgba(240,255,0,0.8);
    color: #000;
    transition: background-color .5s ease-in-out, top .5s, color 0.5s;
}

.mitarbeiter-overlay h3 {
    font-size: 1.25rem;
}

.kachel-master:hover .kachel-overlay,
.mitarbeiter-master:hover .kachel-overlay {
    background-color: rgba(255,255,255,0.5);
    color: #000;
    transition: background-color .5s ease-in-out;
}

.mitarbeiter-content {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 1s ease-out;
}

.mitarbeiter-master:hover .mitarbeiter-content {
    opacity: 1;
    height: 80%;
    transition: opacity 1s ease-out 0.5;
}

.kachel-overlay h1,
.kachel-overlay h2,
.kachel-overlay h3,
.kachel-overlay h4,
.kachel-overlay h5,
.kachel-overlay h6 {
    /* padding-top: calc(100% - 3rem); */
    margin-top: auto;
    margin-bottom: 0;
}

.kachel-overlay a {
    text-decoration: none;
    color: initial;
}


/* PICTOGRAM */

.picto-fixed, 
.picto-absolute {
    display: none;
}


/* WETTBEWERBE */
.no_underline {
    text-decoration: none;
}

/*
.no_underline .card-body {
    padding-top: 0;
}
*/

.no_underline .card {
	border: 1px solid rgba(0,0,0,.125);
	border-radius: .25rem;
}

/* FOOTER */

footer {
}

footer .container-fluid {
  background-color: #000;
  font-size: 90%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer a {
    text-decoration: none;
}

footer * {
  color: #FFF;
}

.contact-items {
    position: static;
    text-align: center;
    margin-top: 2rem;
}

.contact-items img {
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    height: 50px;
    width: 50px;
    background-color: #FFF;
}

.contact-items img:hover {
    background-color: #fcf319;
    transition: background-color .25s ease-in-out;
}

/* Slick slider */

  /* the slides */
  .slick-slide {
      margin: 0 27px;
  }

  /* the parent */
  .slick-list {
      margin: 0 -27px;
  }

  /* arrows */
    
    [id^='slider-'] .slick-arrow.slick-prev::before, 
    [id^='slider-'] .slick-arrow.slick-next::before {
	color: #000 !important;
    }

    .image-slider .slick-prev::before,
    .image-slider .slick-next::before {
	font-size: 50px;
    }

    .image-slider .slick-prev::before {
	content: '❮';
    }

    .image-slider .slick-next::before {
	content: '❯';
    }

@media screen and (min-width: 576px) {

}


@media screen and (min-width: 768px) {

    .kachel-overlay h3 {
    font-size: 1.25rem;
    }

    .header {
        margin-top: 38px;
    }

}

@media screen and (min-width: 992px) {

    #desktop-nav-row {
        margin-right: auto;
        margin-left: 2.2rem;
    }

    .desktop-nav {
        margin-right: 3.5rem;
    }

    .desktop-nav:last-of-type {
        margin-right: initial;
    }

    table {
        font-size: initial;
    }

    /* PICTOGRAM */

    .picto-fixed {
        display: block;
        position: fixed;
        bottom: 2rem;
        width: 25vw;
    }

    .picto-absolute {
        display: block;
        position: absolute;
        top: 110%;
        width: 23vw;
    }

    /* NAVBAR TOGGLER */
    .navbar-toggler {
        display: none;
    }

    /* Sidebar Items */
    .contact-items {
        position: fixed;
        left: 0;
        bottom: 150px;
        width: 70px;
    }

    .contact-items img {
        margin-bottom: 1rem;
        border-bottom: 1px solid black;
        border-left: initial;
        height: 70px;
        width: 70px;
    }
}


@media screen and (min-width: 1200px) {

    #desktop-nav-row {
        margin-right: auto;
        margin-left: 5.1rem;
    }

    .desktop-nav {
        margin-right: 5.6rem;
    }
}


/* Styles for Baselbieter Sportpreis */
#sportpreis h1,
#sportpreis .h1 {
    font-size: clamp(3.75rem, 3.0380rem + 3.1646vw, 5rem);
}

#sportpreis p {
    font-size: 25px;
}

#sportpreis a {
    font-size: clamp(1.125rem, 0.6rem + 0.9494vw, 1.5rem);
}


#sportpreis h2,
#sportpreis .h2 {
    font-size: 30px;
}

#sportpreis h3,
#sportpreis .h3 {
    font-size: 50px;
    text-align: center;
}

#sportpreis .h1-subtitle {
    font-size: clamp(2.5rem, 1.7880rem + 3.1646vw, 3.75rem);
}

#sportpreis .btn-primary {
    background-color: #FF0100;
    border-color: #FF0100;
    border-radius: 63px;
    padding-left: 35px;
    padding-right: 35px;
    box-shadow: 0px 8px 12px #00000029;
}

#sportpreis a {
    text-decoration: none;
    font-weight: bold;
}

#sportpreis-button {
    position: absolute;
    z-index: 1000;
    width: 90px;
    right: 25px;
    top: -20px;
}

@media screen and (min-width: 768px) {
    #sportpreis-button {
        width: 110px;
    }
}

@media screen and (min-width: 992px) {
    #sportpreis h3,
    #sportpreis .h3 {
        text-align: left;
    }
}

@media screen and (min-width: 1200px) {
    #sportpreis-button {
        width: 160px;
    }
}
