/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: normal;
    font-size: 3;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 10000;
}

div .icon {
    display: inline-block;
    font-size: 20px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: bottom;
}

.fa,
.fab,
.fal,
.far,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: #6e7074;
}

.f
div.col-lg-4 > img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-height: 140px;
}

@media (max-width:549px) {
    div > h1 {
        text-align: right;
        align-content: space-around;
        flex-wrap: wrap;
        word-break: break-word;
        font-size: 5vw;
    }
}

.btn-block {
    white-space: normal;
    border: 1px solid;
}

/* Featurettes
------------------------- */
.featurette-divider {
    margin: 5rem 0;

    /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

.featurette-heading {
    font-size: 50px;
}

/* STYLING THE NAVBAR
-------------------------------------------------- */
/* Carousel base class */
.nav-link {
    color: rgba(0,0,0,0.75);
    font-size: 100%;
}

li.nav-item.active {
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

ul.navbar-nav.mr-auto {
    margin-left: auto;
    margin-right: auto;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
@media (max-width:549px) {
    .carousel-caption {
        z-index: 10;
        bottom: 1rem;
        background-color: #ece4da;
        opacity: .9;
    }
}

/* Declare heights because of positioning of img element */
.carousel-item {
    background-color: #ffffff;
    width: 100%;
    height: 30rem;
}

.carousel-item > img {
    position: absolute;
    width: auto;
    height: 100%;
    left: 0;
    margin: auto;
    right: 0;
    top: 0;
}

.carousel-caption > p {
    text-shadow: 4 4 8px #000000;
}

.vertical-center {
    min-height: 100%;

    /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh;

    /* These two lines are counted as one :-) */
    display: flex;
    align-items: center;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
        text-shadow: 2px 2px 4px #000000;
    }

    @media (min-width: 62em) {
        .featurette-heading {
            margin-top: 7rem;
        }
    }

    @media (max-width: @screen-xs-min) {
        .modal-xs {
            width: @modal-sm;
        }
    }

    @media (max-width:596px) {
        a.navbar-brand {
            max-width: 40%;
        }
    }

    @media (max-width:595px) {
        a.navbar-brand {
            max-width: 50%;
        }
    }

    /* PHOTO GALLERY
-------------------------------------------------- */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-template-rows: 150px;
        grid-auto-rows: 150px;
    }

    .gallery > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* MODALS AND IFRAMES
-------------------------------------------------- */
    .resp-container {
        position: relative;
        min-height: 500px;
    }

    .resp-iframe {
        top: 0;
        left: 0;
        width: 85%;
        border: 0;
        min-height: 500px;
    }

    /* GDPR
-------------------------------------------------- */
    /* Cookie Consent Begin */
    #cookieConsent {
        background-color: rgba(20,20,20,0.8);
        min-height: 26px;
        font-size: 14px;
        color: #ccc;
        line-height: 26px;
        padding: 8px 0 8px 30px;
        font-family: "Trebuchet MS",Helvetica,sans-serif;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
        z-index: 9999;
    }

    #cookieConsent a {
        color: #4B8EE7;
        text-decoration: none;
    }

    #closeCookieConsent {
        float: right;
        display: inline-block;
        cursor: pointer;
        height: 20px;
        width: 20px;
        margin: -15px 0 0 0;
        font-weight: bold;
    }

    #closeCookieConsent:hover {
        color: #FFF;
    }

    #cookieConsent a.cookieConsentOK {
        background-color: #F1D600;
        color: #000;
        display: inline-block;
        border-radius: 5px;
        padding: 0 20px;
        cursor: pointer;
        float: right;
        margin: 0 60px 0 10px;
    }

    #cookieConsent a.cookieConsentOK:hover {
        background-color: #E0C91F;
    }

    /* Cookie Consent End */
}

.float-left-top {
    left: 0;
    top: 0;
    bottom: auto;
}

div.content > img {
    max-height: 2;
}

div.content > img {
    max-height: 200px;
    object-fit: cover;
}

div.content h4 {
    font-size: 1vw;
}

.flex-wrap > img {
    object-fit: cover;
}

.row > .content {
    margin-top: 0.25vw;
    margin-bottom: 0.25vw;
}

body {
    margin-top: 5rem;
    padding-top: 5rem;
}

#crossfade,
#crossfade1,
#crossfade2,
#crossfade3,
#crossfade4,
#crossfade5,
#crossfade6,
#crossfade7,
#crossfade8,
#crossfade9,
#crossfade10 {
    position: relative;
    height: auto;
    width: 100%;
}

#crossfade > img,
#crossfade1 > img,
#crossfade2 > img,
#crossfade3 > img,
#crossfade4 > img,
#crossfade5 > img,
#crossfade6 > img,
#crossfade7 > img,
#crossfade8 > img,
#crossfade9 > img,
#crossfade10 > img {
    color: transparent;
    position: absolute;
    opacity: 0;
    animation-name: imageAnimation;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-direction: alternate;
    z-index: 0;
    max-width: 100%;
    height: 100%;
}

#crossfade > img:nth-child(2),
#crossfade1 > img:nth-child(2),
#crossfade2 > img:nth-child(2),
#crossfade3 > img:nth-child(2),
#crossfade4 > img:nth-child(2),
#crossfade5 > img:nth-child(2),
#crossfade6 > img:nth-child(2),
#crossfade7 > img:nth-child(2),
#crossfade8 > img:nth-child(2),
#crossfade9 > img:nth-child(2),
#crossfade10 > img:nth-child(2) {
    height: auto;
    position: relative;
    color: transparent;
    opacity: 0;
    z-index: 0;
    animation-delay: 2s;
}

@keyframes imageAnimation {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

nav > a.btn {
    margin-bottom: 3px;
}

@media (min-width:551px) and (max-width:768px) {
    body > div.container {
        margin-top: 5rem;
    }
}

@media (max-width:549px) {
    body > div.container {
        margin-top: 16vw;
        width: 100%;
    }

    nav > a.btn {
        font-size: 4vw;
    }
}

div.row > div.col-md-4 {
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
    margin-top: 1em;
    font-size: 2vw;
}

@media (max-width:549px) {
    .row > .col-md-4 > .content {
        width: 100%;
    }

    .row .col-md-4 {
        width: 100%;
    }
}

@media (min-width:551px) and (max-width:768px) {
    .row > .col-md-4 > .content {
        width: 100%;
    }

    .row > .col-md-4 {
        width: 50%;
    }
}

.carousel-slide {
    color: #ffffff;
}

.container > .carousel-caption {
    top: 0;
    bottom: auto;
    opacity: 0.9;
}

@media (max-width:549px) {
    .carousel-item > div.container {
        transform: translateY(148px);
    }
}

.carousel-indicators li {
    background-color: #5779ce;
    height: 1em;
}

.carousel-indicators > li.active {
    border-top-color: #85829d;
    background-color: #c0bfe3;
}

div.carousel-inner {
    text-align: center;
    margin: auto;
}

ul#timer {
    list-style: none;
    margin: 2vw 0;
    padding: 0;
    display: block;
    text-align: center;
}

ul#timer li {
    display: inline-block;
}

ul#timer li span {
    font-size: 8vw;
    font-weight: 300;
    line-height: 8vw;
}

ul#timer li.seperator {
    font-size: 8vw;
    line-height: 7vw;
    vertical-align: top;
}

ul#timer li p {
    color: #a7abb1;
    font-size: 2vw;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 64px;
    height: 64px;
    opacity: .6;
    filter: alpha(opacity=60);
}

#toTop:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

@media (max-width:768px) {
    div#clock {
        width: 100%;
    }
}

div#clock h2 {
    font-size: 6vw;
}

.btn-secondary {
    border: none;
    margin: 0;
}

div.btn-group a.btn {
    margin-left: 8;
    margin-right: 8;
    padding-right: 3;
    padding-left: 3;
}

#myBtnContainer > button {
    border-radius: 20px;
    width: 90%;
    max-width: 90%;
    font-size: 2vw;
    min-height: 70%;
    margin: 1vw;
    padding: 1vw;
    max-height: 90%;
}

.fas {
    font-size: 22px;
}

div.col-md-4 i.fas {
    font-size: 24px;
}

.col-md-4 i.fas.rmt {
    color: #4c9d00;
}

.col-md-4 i.fas {
    color: #001dff;
}

div > a > img {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

div.chg-container img.image {
    opacity: 1;
    max-height: 150px;
    width: auto;
    transition: 0.5s ease;
    backface-visibility: hidden;
}

div.chg-container {
    position: relative;
    width: 50%;
}

.chg-container .middle {
    transform: translate(-50%, -50%);
    text-align: center;
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
}

div.chg-container:hover img.image {
    opacity: 0.5;
    filter: blur(1px);
}

.chg-container:hover .middle {
    opacity: 1;
    background-color: rgba(126, 122, 207, 0.38);
}

button.btn > i {
    font-size: 3vw;
}

@media (max-width:573px) {
    nav > a.navbar-brand {
        max-width: 70%;
    }
}

@media (min-width:769px) {
    div.row.grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(0px, 50px) minmax(0px, 50px) minmax(0px, 50px) minmax(0px, auto);
        grid-template-areas: 'Title Title' 'Image Subtitle' 'Image Body' 'Image Body';
        grid-gap: 14px;
    }
}
