a {
    color: white;
    text-decoration: none;
}

a.cover {
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    position: absolute;
    z-index: 1;
}

a.red {
    color: #bf2121;
}

body {
    background-color: #fff;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-weight: 400;
    margin: 0px;
}

div:hover > .subtitle {
    background-color: #000000ff;
}

form button {
    float: right;
}

h1 {
    color: #bf2121;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0px;
    letter-spacing: 1px;
}

h2 {
    font-size: 24px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

h2.not-uppercase {
    text-transform: none;
}

h3 {
    font-size: 1rem;
}

h3.red {
    color: #bf2121;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0px;
}

h4 {
    margin-bottom: 0.5rem;
    margin-top: 0px;
    text-transform: uppercase;
}

iframe {
    border: none;
    width: 100%;
}

input, textarea {
    border: 2px solid #3c3c3c;
}

nav {
    margin-left: auto;
}

nav ul > li, nav > label {
    position: relative;
}

nav > ul {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0px;
    padding-left: 0px;
}

nav > label {
    cursor: pointer;
    display: none;
    float: right;
}

nav > label:hover {
    background-color: #363636;
    color: white !important;
}

nav > ul > li, nav > label {
    padding: 23px 0.5rem;
    transition: background-color 0.1s ease-in-out;
}

nav > ul > li > a, nav > label {
    color: black !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

nav > ul > li:hover {
    background-color: #363636;
}

nav > ul > li:hover > a {
    color: white !important;
}

li:hover > .dropdown {
    display: block;
    opacity: 1;
}

p {
    margin: 0px 0px 1rem 0px;
}

select {
    background-color: white;
    border: 2px solid #3c3c3c;
    width: 100%;
}

.article-tag {
    background-color: #00000080;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px;
    position: absolute;
    right: 0px;
    text-align: left;
    text-transform: uppercase;
    top: 0px;
    transition: background-color 0.2s ease-in-out;
}

.btn {
    background-color: transparent;
    padding: 0.3rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.6s ease-in-out;
}

.btn-big {
    padding: 1.4rem;
}

.btn-red {
    border: 2px solid #bf2121;
    color: #bf2121;
}

.btn-red:hover {
    background-color: #bf2121;
    color: white;
}

.btn-white {
    border: 2px solid white;
    color: white;
}

.btn-white:hover {
    background-color: white;
    color: #bf2121;
}

.cal-event {
    border: 2px solid transparent;
    flex-basis: 100%;
    flex-grow: 1;
    overflow: hidden;
    padding: 1rem;
    position: relative;
    text-align: left;
    transition: all 0.6s ease-in-out;
}

.cal-event:hover {
    border: 2px solid #bf2121;
}

.cal-event:hover .cal-link {
    opacity: 100%;
}

.cal-link {
    color: #bf2121;
    opacity: 0%;
    text-align: right;
    transition: all 0.6s ease-in-out;
}

.cal-link-plus {
    border: 2px solid #bf2121;
    padding: 0.25rem 0.5rem;
}

.carousel-btn {
    background-color: white;
    border: 2px solid #bf2121;
    color: #bf2121;
    transition: all 0.6s ease-in-out;
}

.carousel-btn.disabled {
    border: 2px solid #bf212180;
    color: #bf212180;
}

.carousel-btn:not(.disabled):hover {
    background-color: #bf2121;
    color: white;
}

.carousel-cont {
    height: 192px;
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    bottom: 0px;
    left: 0px;
    position: absolute;
    top: 0px;
    transition: left 0.25s ease-in-out;
    width: 100%;
}

.center-h {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.col {
    flex-grow: 1;
    padding-bottom: 1em;
    text-align: left;
}

.col-centred {
    flex-basis: 100%;
    flex-grow: 1;
    padding-bottom: 1em;
    text-align: center;
}

.col-nogrow {
    padding-bottom: 1em;
    text-align: left;
}

.container {
    align-items: center;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.content {
    text-align: center;
}

.content-j {
    text-align: justify;
}

.content-j h1 {
    text-align: center;
}

.cover-img {
    background-position: center;
    background-size: cover;
    height: 400px;
    position: relative;
}

.dropdown {
    background-color: #2e2e2e;
    display: none;
    left: 0px;
    opacity: 0;
    padding: 16px;
    position: absolute;
    top: 100%;
    transition: opacity 0.1s ease-in-out;
    z-index: 1;
    /* life is pain, i hate-
                -Jerma985 */
}

.dropdown li {
    border-bottom: 1px solid #4d4d4d;
    padding: 2px 0px;
}

.dropdown li:hover {
    background-color: #363636;
}

.dropdown li:last-of-type {
    border-bottom: none;
}

.dropdown ul {
    list-style: none;
    padding-left: 0px;
}

.dropdown .col {
    border-right: 1px solid #4d4d4d;
    padding-right: 1rem;
}

.dropdown .col:last-of-type {
    border: none;
    padding-right: 0px;
}

.dropdown .dropdown {
    border: 2px solid #b0b0b0;
}

.flex-grow {
    flex-grow: 1;
}

.flex-sennmonn {
    position: relative;
}

.flex-sennmonn-img {
    background-position: center;
    background-size: cover;
    height: 550px;
}

.footer-contacts {
    background-color: #bf2121;
    background-image: url('res/footer-links-bg.svg');
    color: white;
    padding: 32px;
}

.footer-contacts p {
    margin: 0px;
}

.footer-final {
    background-color: #951515;
    color: #fff;
    padding: 20px 0px 8px 0px;
    text-align: center;
}

.footer-final a {
    color: #fff;
    font-weight: bold;
}

.footer-line {
    background-color: #818181;
    height: 1px;
    margin: 1rem 0px;
    width: 10px;
}

.footer-links {
    background-color: #3c3c3c;
    background-image: url('res/footer-links-bg.svg');
    color: white;
    padding-top: 32px;
}

.footer-links a {
    color: #ababab;
    transition: color 0.6s ease-in-out;
}

.footer-links a:hover {
    color: white;
}

.footer-logo {
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.form-field {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.form-flash {
    background-color: red;
    border: 2px solid red;
    color: red;
}

.gallery img {
    height: 20vh;
    max-width: 25vw;
}

.grey {
    color: #3d3d3d;
}

.header {
    background-color: #fff;
    height: 72px;
    position: sticky;
    top: 0px;
    z-index: 2;
}

.icarousel-btn {
    background-color: #000000cd;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 2rem;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.6s ease-in-out;
    width: 40px;
    z-index: 1;
}

.icarousel-btn-left {
    left: 0px;
}

.icarousel-btn-right {
    right: 0px;
}

.icarousel-cont {
    height: 85vh;
    overflow: hidden;
    position: relative;
}

.icarousel-slide {
    background-position: center;
    background-size: cover;
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    transition: left 0.25s ease-in-out;
    width: 100%;
}

.isubtitle {
    background-color: #00000080;
    bottom: 0px;
    color: white;
    left: 0px;
    padding: 1.4rem;
    position: absolute;
    text-align: justify;
    transition: background-color 0.2s ease-in-out;
    width: 30%;
}

.isubtitle > h1 {
    color: white;
}

.img-numbers {
    height: 6rem;
}

.invisible {
    display: none;
}

.jump-target {
    height: 0px;
    opacity: 0;
    position: absolute;
    top: -25vh;
    width: 0px;
}

.midtitle p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pictitle {
    color: white;
    font-size: 2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.quicklink {
    background-color: white;
    border-bottom: 1px solid #dddddd;
    height: 40px;
    position: relative;
    transition: background-color 0.2s ease-in-out;
    z-index: 1;
}

.quicklink svg {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: fill 0.2s ease-in-out;
}

.quicklink:hover {
    background-color: #bf2121;
}

.quicklink:hover svg {
    fill: white;
}

.quicklinks {
    background-color: white;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    bottom: -1px;
    display: flex;
    flex-direction: column;
    right: 0px;
    position: fixed;
    width: 41px;
}

.quicklinks-extra {
    background-color: white;
    bottom: 0px;
    opacity: 0;
    padding: 2rem;
    position: absolute;
    right: 100%;
    transform: translateY(100%);
    transition: all 0.6s ease-in-out;
    width: max-content;
    z-index: 1;
}

.quicklinks-extra.active {
    opacity: 1;
    transform: translateY(0%);
}

.quicklinks-extra a {
    color: black;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: color 0.2s ease-in-out;
}

.quicklinks-extra a:hover {
    color: #bf2121;
}

.quicklinks-extra-bg {
    background-color: #00000040;
    bottom: 0px;
    left: 0px;
    opacity: 0;
    position: fixed;
    right: 0px;
    transform: translateY(100%);
    top: 0px;
    transition: opacity 0.6s ease-in-out;
}

.quicklinks-extra-bg.active {
    opacity: 1;
    transform: translateY(0%);
}

.recommendations {
    column-gap: 16px;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.recommendations img {
    height: auto;
    width: 70px;
}

.red-header {
    background-color: #bf2121;
    padding: 64px 0px;
}

.red-header h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: none;
}

.red-header-textured {
    background-color: #bf2121;
    background-image: url('res/footer-links-bg.svg');
    color: white;
    padding: 16px;
}

.relative {
    position: relative;
}

.row {
    column-gap: 16px;
    display: flex;
    justify-content: center;
    row-gap: 16px;
    width: 80%;
}

.row-force { /* Don't switch to column on smaller devices */
    column-gap: 16px;
    display: flex;
    justify-content: center;
    row-gap: 16px;
    width: 80%;
}

.row-fullwidth {
    column-gap: 16px;
    display: flex;
    justify-content: center;
    row-gap: 16px;
    width: 100%;
}

.row-fullwidth-force {
    column-gap: 16px;
    display: flex;
    justify-content: center;
    row-gap: 16px;
    width: 100%;
}

.row-nogap {
    column-gap: 0px;
    display: flex;
    justify-content: center;
    row-gap: 0px;
    width: 80%;
}

.row-wrap {
    column-gap: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
    width: 80%;
}

.section {
    padding: 32px 0px;
    position: relative;
}

.section:nth-child(odd), .section-text:nth-child(odd) {
    background-color: #f5f5f5;
    background-image: url('res/footer-links-bg.svg');
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}

.section-text {
    padding: 32px 10%;
    position: relative;
}

.section-text:last-child {
    padding-bottom: 0px;
}

.sps-line {
    background: #d9d9d9;
    height: 2px;
    margin: 1rem auto;
    width: 30px;
}

.subtitle {
    background-color: #00000080;
    bottom: 0px;
    color: white;
    left: 0px;
    padding: 1.4rem;
    position: absolute;
    right: 0px;
    text-align: left;
    transition: background-color 0.2s ease-in-out;
}

.underlined {
    text-decoration: underline;
}

.uppertext {
    text-transform: uppercase;
}

.viewheight {
    height: 100vh;
}

.zoombg {
    background: #00000040;
    bottom: 0px;
    display: none;
    left: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 2;
}

.zoombg p {
    color: white;
    cursor: pointer;
    font-size: 4rem;
    font-weight: 700;
    position: fixed;
    right: 1rem;
    top: 1rem;
}

.zoombg.active {
    display: block;
}

.zoombg.active .zoomedin {
    height: 90vh !important;
    left: 50% !important;
    max-width: 90vw;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: unset !important;
}

.zoomedin {
    background-color: black;
    /* height: 0px;
    left: 0px; */
    position: fixed;
    /* top: 0px; */
    transition: left,top 0.5s ease-in-out;
    /* width: 0px; */
    z-index: 3;
}

#about-img {
    background-image: url('res/pics/about_head.jpg');
}

#bavse2 {
    background-image: url('res/pics/bavse_banner_02.jpg');
}

#bavse2 a {
    bottom: 20%;
    left: 10%;
    position: absolute;
}

#benefits-img {
    background-image: url('res/pics/benefits_head.jpg');
}

#contact-img {
    background-image: url('res/pics/cont_head.jpg');
}

#footer ul {
    font-size: 0.8rem;
    line-height: 1.4rem;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#grid-stories {
    display: grid;
    gap: 32px;
    grid-template-areas:
        'a a a'
        'b b c';
    margin: 0px 10vw;
}

#grid-story-a {
    background-image: url('res/pics/story_a.jpg');
    grid-area: a;
}

#grid-story-b {
    background-image: url('res/pics/story_b.jpg');
    grid-area: b;
}

#grid-story-c {
    background-image: url('res/pics/story_c.png');
    grid-area: c;
}

#head-a {
    background-image: url('res/pics/head_a.jpg');
}

#head-b {
    background-image: url('res/pics/head_b.jpg');
}

#nav-check {
    display: none;
}

#news-a {
    background-image: url('res/pics/news_a.jpg');
}

#news-b {
    background-image: url('res/pics/news_b.jpg');
}

#news-c {
    background-image: url('res/pics/news_c.jpg');
}

#news-d {
    background-image: url('res/pics/news_d.jpg');
}

#top {
    height: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    width: 0px;    
}

#unique-a {
    background-image: url('res/pics/uniq_a.jpg');
}

#unique-b {
    background-image: url('res/pics/uniq_b.jpg');
}

#unique-c {
    background-image: url('res/pics/uniq_c.jpg');
}

#unique-d {
    background-image: url('res/pics/uniq_d.jpg');
}

#sm-a {
    background-image: url('res/pics/sm_a.jpg');
}

#sm-b {
    background-image: url('res/pics/sm_b.jpg');
}

#sm-c {
    background-image: url('res/pics/sm_c.jpg');
}

#sm-d {
    background-image: url('res/pics/sm_d.jpg');
}

#sm-e {
    background-image: url('res/pics/sm_e.jpg');
}

#sm-f {
    background-image: url('res/pics/sm_f.jpg');
}

#sm-g {
    background-image: url('res/pics/sm_g.jpg');
}

@media (max-width: 991px) {
    .col {
        text-align: center;
    }

    .flex-sennmonn h2 {
        color: #bf2121;
    }

    .footer-line {
        display: none;
    }

    .row, .row-fullwidth, .row-nogap {
        flex-direction: column;
    }

    #grid-stories {
        grid-template-areas:
            'a'
            'b'
            'c';
    }
}

@media (max-width: 1300px) {
    nav > ul {
        background-color: white;
        flex-direction: column;
        left: -100%;
        max-height: 100vh;
        overflow-y: scroll;
        position: fixed;
        top: 72px;
        transition: 0.2s left ease-in-out;
        width: 100vw;
    }
    
    nav > label {
        display: block;
    }

    nav > ul > li {
        text-align: center;
        width: 100vw;
    }

    .dropdown {
        position: relative;
        top: 23px;
    }

    #nav-check:checked ~ ul {
        left: 0px;
    }
}

@media (min-width: 992px) {
    .flex-sennmonn {
        flex-grow: 1;
        transition: flex-grow 0.6s ease-in-out;
    }
    
    .flex-sennmonn:hover {
        flex-grow: 7;
    }
    
    .flex-sennmonn:hover .flex-sennmonn-img {
        filter: brightness(0.75) grayscale(0) opacity(1);
    }
    
    .flex-sennmonn:hover .midtitle {
        opacity: 1;
    }

    .flex-sennmonn-img {
        filter: brightness(1) grayscale(1) opacity(0.75);
        transition: filter 0.6s ease-in-out;
    }

    .midtitle {
        color: white;
        left: 0px;
        opacity: 0;
        padding: 1.4rem;
        position: absolute;
        right: 0px;
        text-align: left;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 0.6s ease-in-out;
    }
}