﻿@media only screen and (max-width: 450px) and (min-width: 300px) {
    #background {
        background-size: contain;
        background-color: #fff;
    }

    #background-dark-cover {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: transparent;
    }

    #fair-info-home-container h2 {
        font-family: "LTAzer-Regular";
        color: #662d91;
        font-size: 21px;
        padding-top: 10px;
        text-shadow: none;
    }

    #home-register-buttons {
        bottom: 50px;
    }
}

@media only screen and (max-width: 700px) and (min-width: 450px) {
    #fair-info-home-container {
        padding-top: 10px;
    }

    #background {
        background-size: contain;
        background-color: rgba(0, 0, 0, 0.2);
    }

    #background-dark-cover {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: transparent;
    }

    #fair-info-home-container h2 {
        font-family: "LTAzer-Regular";
        color: #fff;
        font-size: 21px;
        padding-top: 10px;
        text-shadow: 0 0 1px #000;
    }

    #home-register-buttons {
        bottom: 20px;
    }

        #home-register-buttons .welcome-message {
            color: #ffffff;
            text-shadow: 0 0 1px #000;
        }
}
/****************************/
.event-title-content {
    position: absolute;
    width: 100%;
    padding: 3px 50px;
    height: 52px;
    background-color: rgb(0 0 0 / 0.3);
    text-align: center;
    color: #fff;
    top: 0;
    z-index: 100;
}

    .event-title-content h2 {
        text-shadow: 0 0 3px #000;
    }

#ham-button-container {
    z-index: 101;
    text-shadow: 0 0 3px #000;
}

figure.snip0018 {
    min-height: 150px;
}

.mt-25 {
    margin-top: 25px;
}

.mb-25 {
    margin-bottom: 25px;
}

.m-50-20 {
    margin: 50px 20px;
}

.hidvideo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    cursor: pointer;
    left: 0;
    z-index: 1;
    padding-top: 20%;
    text-align: center;
    font-size: 5rem;
    text-decoration: none !important;
    color: #fff;
}

    .hidvideo img {
        max-height: 100px;
    }

    .hidvideo:hover {
    }

.event-details {
    direction: ltr;
    line-height: 2;
}

    .event-details h2 {
        margin-bottom: 10px;
    }

figure.snip0018 {
    background-color: #fff;
    box-shadow: 0 0 0 1px #ddd;
}

    figure.snip0018 h2 {
        font-size: 20px;
    }

    figure.snip0018 p {
        font-size: 15px;
    }

.whats-float {
    border: 1px solid #fff;
}

    .whats-float:hover {
        color: #fff !important;
    }

figure.snip0018 h2, figure.snip0018 h2:hover {
    background-color:#54ab5d;
}



/*****************************************/

p {
    margin-left: -55px;
}

@-webkit-keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }

    15% {
        opacity: 1;
        top: 50%;
    }

    50% {
        opacity: 0;
        top: 50%;
    }

    100% {
        opacity: 0;
        top: 29%;
    }
}

@-moz-keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }

    15% {
        opacity: 1;
        top: 50%;
    }

    50% {
        opacity: 0;
        top: 50%;
    }

    100% {
        opacity: 0;
        top: 29%;
    }
}

@keyframes ani-mouse {
    0% {
        opacity: 1;
        top: 29%;
    }

    15% {
        opacity: 1;
        top: 50%;
    }

    50% {
        opacity: 0;
        top: 50%;
    }

    100% {
        opacity: 0;
        top: 29%;
    }
}

.scroll-btn {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 550px;
    z-index: 100;
}

    .scroll-btn > * {
        display: inline-block;
        line-height: 18px;
        font-size: 13px;
        font-weight: normal;
        color: #7f8c8d;
        color: #ffffff;
        font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
        letter-spacing: 2px;
    }

        .scroll-btn > *:hover,
        .scroll-btn > *:focus,
        .scroll-btn > *.active {
            color: #ffffff;
        }

        .scroll-btn > *:hover,
        .scroll-btn > *:focus,
        .scroll-btn > *:active,
        .scroll-btn > *.active {
            opacity: 0.8;
            filter: alpha(opacity=80);
        }

    .scroll-btn .mouse {
        position: relative;
        display: block;
        width: 35px;
        height: 55px;
        margin: 0 auto 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border: 3px solid white;
        border-radius: 23px;
    }

        .scroll-btn .mouse > * {
            position: absolute;
            display: block;
            top: 29%;
            left: 50%;
            width: 8px;
            height: 8px;
            margin: -4px 0 0 -4px;
            background: white;
            border-radius: 50%;
            -webkit-animation: ani-mouse 2.5s linear infinite;
            -moz-animation: ani-mouse 2.5s linear infinite;
            animation: ani-mouse 2.5s linear infinite;
        }

footer {
    width: 100%;
    overflow: hidden;
}

@media only screen and (max-width: 1920px) and (min-width: 1700px) {
    .scroll-btn {
        top: 800px;
    }
}

@media only screen and (max-width: 1600px) and (min-width: 1300px) {
    .scroll-btn {
        top: 700px;
    }
}

@media only screen and (max-width: 700px) and (min-width: 300px) {
    .hidvideo img {
        max-height: 70px;
    }

    figure.snip0018 {
        min-height: auto;
    }

    .scroll-btn {
        display: none;
    }

    .event-title-content h2 {
        font-size: 18px;
        padding-top: 0px;
        line-height: 1.5;
        margin-top:-5px ;
    }
}

.vmodal-header a::after {
    color: #fff;
    content: "x";
    text-decoration: none !important;
    top: 0;
    position: absolute;
    left: 0;
    margin-top: -8px;
    margin-left: 4px;
}
