:root {
    --kum-kingsblue: #0046d5;
    --kum-grey: #8c8f90;
    --bs-body-font-size: 1rem;
    --bs-nav-link-font-size: 0.8rem;
}

/* @media screen and (min-width: 768px) {
    :root {
        --bs-body-font-size: 1rem;
    }
} */

.btn {
    border-radius: 3px !important;
}

.btn-primary {
    background-color: var(--kum-kingsblue);
    border-color: var(--kum-kingsblue);
    border: none;
    border-radius: 0;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    ;
    border-color: var(--kum-grey);
    border: none;
    border-radius: 0;
}

.btn span.icon {
    display: inline-block;
    width: 20px;
}

.top-cta {
    position: absolute;
    top: 0px;
    right: 0px;
    padding-right: 5vh;
    padding-top: 5vh;
    z-index: 10;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
    .top-cta {
        padding-right: 0;
        padding-top: 6vh;
        margin-top: 8px;
        margin-right: -3px;
    }

    .top-cta .btn {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 375px) and (orientation: portrait) {
    .top-cta {
        padding-right: 0;
        padding-top: 12vh;
        margin-top: 7px;
        margin-right: -3px;
    }
}

.footer .nav-link {
    color: var(--kum-grey);
}

.modal-content .modal-body p {
    color: #000;
}

/* Resetting some default styles */
body {
    font-family: 'scalasansregular', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a {
    text-decoration: none;
}

.logo {
    width: 100%;
    max-width: 40%;
    padding-left: 6vh;
    padding-top: 6vh;
    padding-right: 0;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 10
}

@media only screen and (min-width: 768px) {
    .logo {
        max-width: 30%;
        padding-left: 10vh;
        padding-top: 5vh;
    }
}

#fp-nav.fp-right {
    right: 30px
}

.fp-tooltip.fp-right {
    background: #b6b8bb;
}

.fp-tooltip.fp-right span {
    border-right-color: #b6b8bb;
}

#fp-nav ul li .fp-tooltip.fp-right {
    font-family: 'scalasansbold', sans-serif;
    padding: 10px;
    margin-top: -10px;
    color: #000;
    text-transform: uppercase;
}

#fp-nav ul li a.active+.fp-tooltip {
    opacity: 1;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    width: auto;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: #b6b8bb;
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span {
    background: var(--kum-kingsblue);
}

.fp-watermark {
    display: none
}

/* Style for our header texts */
h1 {
    font-family: 'scalasans_lightregular', sans-serif;
    font-weight: normal;
    font-size: 3vw;
    font-size: 3vmax;
    line-height: 3vw;
    line-height: 3vmax;
    text-align: left;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    mix-blend-mode: difference;
}

h2 {
    font-family: 'scalasans_lightregular', sans-serif;
    font-size: 4vw;
    line-height: 4.6vw;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
    h2 {
        font-size: 1.8vw;
        line-height: 1.8vw;
    }
}

h3 {
    font-family: 'scalasansregular', sans-serif;
    font-size: 30px;
    line-height: 32px;
    text-align: left;
    text-transform: uppercase;
    color: var(--kum-kingsblue);
    margin-bottom: 30px;
}

p {
    font-family: 'scalasansregular', sans-serif;
    color: #FFFFFF;
}

/* Centered texts in each section */
.section {
    overflow: hidden;
}

.section .section-image {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-color: black;
    background-image: url(../videos/KuM_Kontakt_v3.jpg);
    /* in case the video doesn't fit the whole page*/
    /* background-image:	; /* our video */
    background-position: top right;
    background-size: cover;
    /*cover video background */
    z-index: 3;
}

/* if portrait show image from the center */
@media only screen and (max-width: 960px) and (orientation: portrait) {
    .section .section-image {
        background-position: center center;
        background-image: url(../videos/KuM_Kontakt-9-16_v3.jpg);
    }
}

.section .section-video {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: #fff;
    /* in case the video doesn't fit the whole page*/
    /* background-image:	; /* our video */
    background-position: center center;
    background-size: contain;
    object-fit: cover;
    /*cover video background */
    z-index: 3;
}

/* Layer with position absolute in order to have it over the video */
.section .layer {
    position: absolute;
    z-index: 4;
    width: 100%;
    left: 0;
    bottom: 0;

    /*
* Preventing flicker on some browsers
* See http://stackoverflow.com/a/36671466/1081396  or issue #183
*/
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/*solves problem with overflowing video in Mac with Chrome */
#section {
    overflow: hidden;
}

.section .layer {
    padding-left: 6vh;
    padding-right: 6vh;
    padding-top: 6vh;
    padding-bottom: 10vh;
    /* gradient background transparent to black */
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

@media only screen and (min-width: 768px) {
    .section .layer {
        padding: 10vh;
    }
}

.section .layer hr {
    border: 0;
    border-top: 2px solid var(--kum-kingsblue);
    opacity: 0.8;
}

.section .layer .carousel-indicators {
    left: 0;
    right: inherit;
    margin-left: 0;
    margin-bottom: -15px;
}

.section .layer .carousel-item {
    text-align: left;
}

.section .layer .carousel-item:not(:first-child) h2 {
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 20px;
}

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

.section .layer .carousel-item:not(:first-child) h2:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #b6b8bb;
    margin-top: 10px;
}

.section .layer .readmore {
    padding-left: 0;
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none;
    color: #fff;
    display: block;
}

.section .layer .readmore span {
    margin-left: 0;
    padding-left: 0;
    margin-right: 10px;
}

.section .layer>* {
    max-width: 100%;
}

@media only screen and (min-width: 768px) {
    .section .layer>* {
        max-width: 80%;
    }
}

.section .layer .card-deck .card-title {
    font-size: inherit !important;
}

.section .layer .card-deck p {
    color: #000;
}

.section .layer .card-deck .card {
    --bs-card-background-color: rgba(255, 255, 255, 0.8);
    --bs-card-border-radius: 0;
    --bs-card-border-color: #000;
}

.section .layer .card-deck .card-footer {
    background: transparent;
    border: none;
}

.carousel .carousel-inner p {
    text-align: left;
}

/* Bottom menu */
#infoMenu li a {
    color: #fff;
}

/* Hiding video controls
* See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
* --------------------------------------- */
video::-webkit-media-controls {
    display: none !important;
}