﻿body { }

.navbar {
    transition: padding-top linear 0.1s, padding-bottom linear 0.1s, background-color linear 0.3s, border-bottom-color linear 0.3s;
    font-size: 1.15rem !important;
    border-bottom: solid 4px #44A5FE;
    background-color: #fff;
    padding: 2px 0;
}
.navbar.navbar-scrolled {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding-top: 0;
    padding-bottom: 0;
    background-color: #F8F9FA;
    border-bottom: solid 1px #ccc;
}
.navbar + main {
    padding-top: 68px;
}
.navbar-brand img {
    display: inline-block;
    height: 50px;
    padding: 3px 0px
}

footer img {
    max-width:100%;
    max-height:33px;
}
footer .lscs-logo {
    width:auto;
    height:110px;
    max-height:110px;
    max-width:fit-content;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
        "logo social1 menu11 menu21 link1"
        "logo social1 menu11 menu21 link1"
        "logo social2 menu12 menu22 link2"
        "logo social2 menu12 menu22 link2"
        "logo social3 menu13 menu23 link3"
        "logo social3 menu13 menu23 link3";
    justify-items: center;
    align-items: center;
    column-gap: 1rem;
}
footer .footer-grid.d-md-none {
    grid-template-columns: auto auto auto;
    grid-template-areas:
        "logo social1 link1"
        "logo social1 link1"
        "logo social2 link2"
        "logo social2 link2"
        "logo social3 link3"
        "logo social3 link3";
}

footer .footer-grid > * {
    padding:0;
}

.vimeo {
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom:56%; /* fixed acspect ratio */
    position:relative;
}
.vimeo > iframe {
    width: 100%;
    height:100%;
    position:absolute;
    top:0;
}
.vimeo > img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
}


.lscs-text {
    font-family: Arial;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.1;
    color: #555;
    margin-left: 5px;
    text-transform: uppercase;
    font-size: 1.29rem
}
.lscs-text > span {
    display: block;
    white-space: nowrap;
    text-align:justify;
}
.lscs-text > span:first-child {
    font-size: 1.3rem
}

.dropdown-menu li {
    list-style: none !important
}

.dropdown-multi {
    max-height:85vh;
    overflow-y:auto;
}
.dropdown-multi > div {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex-wrap: nowrap;
}
.dropdown-multi ul {
    padding-left: 0;
}
.dropdown-multi a {
    white-space: normal
}

.banner-image {
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.carousel-item {
    height: 80vh;
    width: 100%;
}
.carousel-thin .carousel-item {
    height: 40vh
}
.carousel-image {
    height: 100%;
    width: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.carousel-caption {
    color: inherit;
    width: fit-content;
    padding: 1rem 2rem;
    border-radius: .5rem;
    background-color: rgb(38 76 104 / 0.51);
    left: 15%;
    right: 15%;
    width: 70%;
    color: #fff;
    bottom: 3rem;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    border-radius: 50%;
    background-color: rgb(38 76 104 / 0.25);
    width: 4rem;
    height: 4rem;
    background-size: 3rem;
}
.carousel-caption.text-start {
    left: 15%;
    right: 15%;
    width: 70%;
}

.carousel-caption.text-end {
    right: 15%;
    left: 15%;
    width: 70%;
}

.feature-image {
    height: 240px;
    max-height: 240px;
    width: 100%;
    max-width:100%;
    overflow: hidden;
    min-width: 100%;
    box-shadow: 0 16px 12px -4px rgb(208 202 202 / 0.69);
    background-size:cover;
}

.dropdown-header{
    font-size:1.2rem;
    color:inherit;
}
.dropdown-news {
    width: 100%;
}
.dropdown-news > * {
    white-space:normal;
}

.gallery {
    line-height: 0;
    column-count: 1;
    column-gap: .5rem;
    padding: 0 .5rem;
    margin: 0;
}
.gallery li {
    list-style-type: none;
}
.gallery img {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 .5rem 0;
}
/*ul.masonry {
    display: flex;
    flex-wrap: wrap;
    padding:0;
    margin:0;
}
ul.masonry li {
    height: 40vh;
    flex-grow: 1;
    list-style-type:none;
}
ul.masonry img {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}
ul.masonry li:last-child {
    flex-grow: 10;
}*/

.news-container {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}
.news-line {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100%;
    overflow: hidden;
    margin: .5rem;
    padding: .5rem;
    border: solid 1px transparent;
    position: relative;
    white-space: normal;
}
.news-line .image {
    max-height: 15rem;
    width: 100%;
    object-fit: contain;
}
.news-line:hover {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    border-color:#eee
}
.news-line:after {
    content: "read more...";
    display: none;
    color: #44A5FE;
    text-align: right;
    position: absolute;
    top: 0;
    right: .5rem;
    pointer-events: none;
    cursor: pointer;
}
.news-line:hover:after {
    display: block;
}
.news-line > a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}
.news-line .date {
    color: #44A5FE;
    font-size: .75rem;
    border-bottom: solid 1px #44A5FE;
}
.news-line .title {
    font-size: 1.5rem;
    margin: 0.2rem 0 1rem 0;
}
.news-line .teaser {
    margin-bottom: .5em;
}
.news-line .corner {
    display: none
}

@media (max-width: 576px) {
    .carousel-caption {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        border-radius: 0;
        text-align:left !important;
        padding:.75rem 1rem 2rem 1rem;
    }
}

@media (min-width: 576px) {
    .news-line {
        flex-basis: 40%;
    }
    .gallery {
        column-count: 2;
    }
}

@media (min-width:992px) {
    .carousel-caption.text-start {
        right: 50%;
        width: 35%;
    }

    .carousel-caption.text-end {
        left: 50%;
        width: 35%;
    }

    .dropdown-multi {
        right: -5rem !important;
    }

        .dropdown-multi > div {
            flex-direction: row;
            gap: 1.5rem;
            flex-wrap: nowrap;
            width: 80vw;
            /*align-content: stretch;*/
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .dropdown-multi ul + ul {
            border-left: solid 1px #ccc;
            padding-left: 1.5rem;
        }

        .dropdown-multi ul {
            flex-basis: 15%;
            flex-grow: 1;
            flex-shrink: 3;
        }

        .dropdown-multi a {
            white-space: normal
        }

    .dropdown-news {
        max-width: 50vw;
        width: 50vw;
        white-space: normal;
    }

    .gallery {
        column-count: 3;
    }

    .news-line {
        flex-basis: 20%;
        max-width: 50%;
    }

    .navbar + main {
        padding-top: 100px;
    }
    .navbar {
        padding: 8px 0;
    }
    .navbar-brand img {
        height: 70px;
        padding: 3px 0px
    }
    .lscs-text {
        font-size: 1.29rem
    }
    .lscs-text > span:first-child {
        font-size: 1.3rem
    }
    footer img {
        max-height: 44px;
    }
    footer .lscs-logo {
        height: 145px;
        max-height: 145px;
    }
}
