.snippet {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem 5%;
    box-shadow: 0 .4rem .8rem -.1rem rgb(209, 65, 36), 0 0 0 1px rgb(209, 65, 36);
    border-radius: .25rem;
}

.stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    margin: 0 -5%;
    overflow: hidden;
    height: 100%;
}

.dot-pulse {
    position: relative;
    left: -9999px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: rgb(209, 65, 36);
    color: rgb(209, 65, 36);
    box-shadow: 9999px 0 0 -5px rgb(209, 65, 36);
    animation: dotPulse 1.5s infinite linear;
    animation-delay: .25s;
}

.dot-pulse::before, .dot-pulse::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: rgb(209, 65, 36);
    color: rgb(209, 65, 36);
}

.dot-pulse::before {
    box-shadow: 9700px 0 0 -50px rgb(209, 65, 36);
    animation: dotPulseBefore 1.5s infinite linear;
    animation-delay: 0s;
}

.dot-pulse::after {
    box-shadow: 10050px 0 0 -5px rgb(209, 65, 36);
    animation: dotPulseAfter 1.5s infinite linear;
    animation-delay: .5s;
}

@keyframes dotPulseBefore {
    0% {
        box-shadow: 9940px 0 0 -5px rgb(209, 65, 36);
    }
    30% {
        box-shadow: 9940px 0 0 2px rgb(209, 65, 36);
    }
    60%,
    100% {
        box-shadow: 9940px 0 0 -5px rgb(209, 65, 36);
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px rgb(209, 65, 36);
    }
    30% {
        box-shadow: 9999px 0 0 2px rgb(209, 65, 36);
    }
    60%,
    100% {
        box-shadow: 9999px 0 0 -5px rgb(209, 65, 36);
    }
}

@keyframes dotPulseAfter {
    0% {
        box-shadow: 10060px 0 0 -5px rgb(209, 65, 36);
    }
    30% {
        box-shadow: 10060px 0 0 2px rgb(209, 65, 36);
    }
    60%,
    100% {
        box-shadow: 10060px 0 0 -5px rgb(209, 65, 36);
    }
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -0.15rem;
    left: 0;
    background-color: rgb(209, 65, 36);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navigation {
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

.navigation .navigation-header {
    padding: 1rem;
}

.bg-red-hashtags {
    background-image: url("/img/background/Group_26.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.toggle-navigation {
    display: none;
}

.navigation-logo {
    max-width: 180px;
}

.navigation-icons {
    width: 30px;
    height: 30px;
}

.town-logo {
    width: 60px;
}

.navigation .links {
    width: 100%;
    padding: 0 1rem 0 1rem;
}

.navigation .links .row .col-12 {
    padding-top: 0.8rem;
}

.navigation .links .row .col-12 .dropdown {
    display: inline-block;

}

.navigation .dropdown-menu {
    position: absolute;
    inset: 0px 0px auto auto;
    margin: 0px;
    transform: translate(0px, 20px);
}

.navigation .links a.dropdown-item {
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
}

.navigation .links a small {
    transition: 0.5s all;
}

.navigation .links a.dropdown-item:hover small {
    margin-left: 0.5rem !important;
}

.navigation .links .row .col-12 .hover-underline-animation {
    margin: 0 0.4rem 0 0.4rem;
    display: inline-block;
}

.navigation .links .row .col-12 a.active {
    border-bottom: 3px solid rgb(209, 65, 36);
    background-color: transparent;
    color: black;
}

.navigation .links .row .col-12 a.active.dropdown-toggle {
    padding-bottom: 0.25rem;
}

.navigation .background-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2;
    opacity: 0.5;
    display: none;
}

.toggle-slider {
    width: 210px;
}

.toggle-slider.opened {
    background-color: white;
    color: #0F1B4B;
}

.toggle-slider-all {
    display: none;
}

.navigation .carousel {
    height: 85px;
    max-height: 85px;
    display: inline-flex;
    width: 100%;
    font-size: 90%;
    transition: height 0.5s !important;
    transition: max-height 0.5s !important;
}

.navigation .carousel.closed {
    max-height: 0px !important;
    padding: 0 !important;
    overflow: hidden;
}

.navigation .carousel-inner {
    height: 100%;
    padding: 0rem 2rem 0rem 2rem;
    border-radius: 10px;
    background-color: white;
}

.navigation .carousel-item {
    height: 85px !important;
}

.navigation .carousel-item .col-3 {
    filter: grayscale(100%);
}


.navigation .carousel-item img {
    max-width: 130px;
    max-height: 50% !important;
    padding-right: 1rem;
}

.navigation .carousel-control-prev,
.navigation .carousel-control-next {
    width: auto;
    min-width: 60px;
    padding: 1rem 0.5rem;
    position: relative;
}

.navigation .carousel-control-prev img,
.navigation .carousel-control-next img {
    height: 100%;
}

.navigation .carousel.all {
    height: auto;
    max-height: 300px;
    padding: 0rem 1.5rem 0rem 1.5rem;
}

.navigation .carousel.all .carousel-inner {
    padding: 1rem 2rem;
}

.navigation .carousel.all .carousel-item {
    float: none !important;
    display: block !important;
}

.navigation .carousel.all .carousel-control-prev,
.navigation .carousel.all .carousel-control-next {
    display: none !important;
}

.navigation .carousel.all .bordering-top-lg {
    border-top: 2px solid lightgray;
}

.navigation .carousel.all .bordering-top-sm {
    border-top: 0;
}

.navigation .carousel.all .bordering-left {
    border-left: 2px solid lightgray;
}

.navigation .carousel .slider-header {
    display: none;
}

.pagination .fa-angle-right, .pagination .fa-angle-left {
    padding: 8px 11px 8px 11px;
}

.nav-search input {
    border: none;
}

.nav-search input:focus {
    outline: none;
    -webkit-box-shadow: none;
}

.nav-search .input-group-append button {
    border-radius: 50em;
}

.nav-search .input-group {
    max-width: 0px;
    width: 500px;
    overflow: hidden;
    position: fixed;
    left: 50% !important;
    inset: 0 0 auto auto;
    transform: translateX(-50%);
    z-index: 4;
    transition: all 0.5s;
    flex-wrap: unset;
    border-radius: 50em;
    background-color: white;
    align-items: center;
    border-width: 0px;
}

.nav-search .input-group.open {
    max-width: 500px;
    margin-top: 1rem;
    border: 4px solid white;
    z-index: 6;
}

.bg-hover-red:hover{
    background-color: rgb(209, 65, 36) !important;
}

.nav-search .input-group.error {
    border: 4px solid red;
}

.search-background {
    display: none;
    z-index: 1;
    opacity: 0.5 !important;
}

.ui-autocomplete {
    max-height: 500px;
    max-width: 500px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background-color: #0F1B4B !important;
    color: white;
}

.bg-red-hashtags i.fa-solid.fa-search {
    max-width: 24px;
    max-height: 24px;
}

@media only screen and (min-width: 2000px) {
    .navigation-header {
        max-width: 2000px;
        margin: auto auto;
    }
}

@media only screen and (max-width: 1300px) {
    .toggle-slider {
        width: auto;
    }

    .toggle-slider b {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {
    .hover-underline-animation:hover:after {
        transform: unset !important;
    }

    .navigation-logo {
        max-width: 160px;
    }

    .toggle-navigation {
        display: inline;
    }

    .navigation .links {
        background-color: #E1E1E1;
        position: fixed;
        top: 0;
        left: -100%;
        width: 35%;
        height: 100%;
        padding: 0.5rem;
        z-index: 2;
        transition: left 0.5s;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .navigation .links.opened {
        left: 0;
        z-index: 3;
    }

    .navigation .links .row .col-12 {
        width: 100%;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        order: 2;
    }

    .navigation .links .row .col-12 .dropdown {
        margin: 0;
        width: 100%;
    }

    .navigation .links .row .col-12 .dropdown-menu {
        position: inherit;
    }

    .navigation .links .row .col-12 .dropdown-menu.show {
        position: inherit !important;
        width: 100%;
        transform: none !important;
        margin: 10px 0 0 0 !important;
        border-radius: 10px;
        border: none;
    }

    .navigation .links .row .col-12 a {
        background-color: white;
        border-radius: 5px;
        padding: 0.8rem 1rem 0.8rem 1rem;
        margin: 0 0 0.8rem 0 !important;
        display: block;
    }

    .navigation .links .row .col-12 a.active {
        border-bottom: 0;
        background: white;
    }

    .navigation .links .row .col-12 a.dropdown-toggle {
        padding-bottom: 12.8px;
        margin-bottom: 0 !important;
    }

    .navigation .links .dropdown-menu {
        text-align: center;
    }

    .toggle-group {
        width: 100%;
    }

    .toggle-slider {
        margin-right: 0 !important;
    }

    .toggle-slider b {
        display: block;
    }

    .navigation .carousel {
        height: 80px;
        transition: height 0.5s !important;
    }

    .navigation .carousel-item {
        height: 80px !important;
        filter: grayscale(100%);
    }

    .navigation .carousel-item:hover {
        filter: grayscale(0%);
    }

    .navigation .carousel.all {
        position: absolute;
        width: 95%;
        z-index: 2;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        z-index: 5;
    }

    .navigation .carousel-item img {
        padding: 0 0.8rem 0 0 !important;
        max-height: 60% !important;
        max-width: 170px;
    }

    .navigation .carousel.all .bordering-left {
        border-left: 0 !important;
    }

    .navigation .carousel.all .col-3.bordering-top-sm {
        border-top: 2px solid lightgray;
    }

    .navigation .carousel.all .slider-header {
        z-index: 2;
        display: inline;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        border-radius: 10px 10px 0 0;
    }

    .navigation .carousel.all .carousel-inner {
        margin-top: 3.1rem;
        max-height: 400px;
        overflow-y: scroll;
    }
}

@media only screen and (max-width: 950px) {
    .navigation .links {
        width: 50%;
    }
}

@media only screen and (max-width: 700px) {
    .navigation .links {
        width: 75%;
    }

    .navigation .carousel {
        height: 75px;
        font-size: 85%;
    }

    .navigation .carousel-item {
        height: 75px !important;
    }

    .navigation .carousel-item img {
        height: 50% !important;
        max-width: 120px;
    }

    .bg-red-hashtags .language-dropdown .d-none {
        display: block !important;
    }
}

@media only screen and (max-width: 550px) {
    .nav-search .input-group {
        width: 95%;
    }

    .nav-search .input-group.open {
        max-width: 95%;
    }

    .toggle-slider b {
        display: none;
    }
}

@media only screen and (max-width: 450px) {

    .bg-red-hashtags .selectedLanguage {
        display: none;
    }

    .bg-red-hashtags .accessibility-text {
        display: none;
    }

    .accessibility-dropdown {
        margin-left: 0 !important;
    }

    .navigation .links {
        width: 100%;
    }
}

@media only screen and (max-width: 380px) {
    .navigation-icons {
        width: 25px;
        height: 25px;
    }

    .toggle-navigation {
        padding: 5px 10px 5px 0px !important;
    }

    .navigation-logo {
        max-width: 140px;
    }

    .navigation .carousel {
        height: 70px;
        font-size: 80%;
    }

    .navigation .carousel-item {
        height: 70px !important;
    }
}
