﻿@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    div#map {
        height: 50vh !important;
    }

    div#legend > div > img {
        height: 50% !important;
    }
    .selections {
        display: none !important;
    }
    
    #mobile-toggle {
        display: block !important;
        margin: 1rem;
        background-color: #ffe8ae;
        border-radius: 4px;
        color: #13294b !important;
        width: 90%;
        margin: 1rem 0.5rem 2rem 1.3rem;
        padding: 10px 10px 10px 20px;
        font-size: 1rem;
        border: none;
        text-align: left;
        cursor: pointer;
        font-weight: 600;
        border-bottom: 1px solid rgba(19, 41, 75, 0.2);
        border-left: 1px solid rgba(19, 41, 75, 0.2);
        border-right: 1px solid rgba(19, 41, 75, 0.2);
    }
    #mobile-filter {
        display: none;
    }

    #mobile-filter.active {
        position: absolute;
        z-index: 2;
        margin: -2rem 1.5rem;
        width: 90%;
        background: #fff;
        padding: 1rem;
        line-height: 1.625rem;
        display: block;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    #legend {
        top: 45vh !important;
        position: relative !important;
        bottom: unset !important;
        right: unset !important;
        left: 0px !important;
    }
   /* .tabs__item {
        overflow: unset !important;
    }*/

    .tabs__item.selected > button {
        background-color: #ffe8ae !important;
        border-radius: 4px !important;
    }
    .tabs__item.selected button::before {

        content: "" !important;
    }
    .info-selected {
        position: fixed !important;
        top: 0;
        right: 0 !important;
        left: 0;
        height: 100%;
        overflow: hidden;
        background: #13294b;
        z-index: 999;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        display: inline-flex !important;
        align-items: center;
        justify-content: center !important;
        width: 100vw !important;
        /* height: 100vh;*/
        animation: slide-in 0.5s forwards !important;
        -webkit-animation: slide-in 0.5s forwards !important;
    }
    .dismiss {
        display: none;
        
    }

    .campaign-button-round {
        width: 300px !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0.5rem 0 !important;
    }

   
   
}
@media (min-width: 481px) and (max-width: 767px) {

    #legend {
        top: 382px !important;
        position: relative !important;
        bottom: unset !important;
        right: unset !important;
        left: 0px !important;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
    .selections {
        display: none !important;
    }

    #mobile-toggle {
        display: block !important;
        margin: 1rem;
        background-color: #ffe8ae;
        border-radius: 4px;
        color: #13294b !important;
        width: 90%;
        margin: 1rem 0.5rem 2rem 1.3rem;
        padding: 10px 10px 10px 20px;
        font-size: 1rem;
        border: none;
        text-align: left;
        cursor: pointer;
        font-weight: 600;
        border-bottom: 1px solid rgba(19, 41, 75, 0.2);
        border-left: 1px solid rgba(19, 41, 75, 0.2);
        border-right: 1px solid rgba(19, 41, 75, 0.2);
    }

    #mobile-filter {
        display: none;
    }

    #mobile-filter.active {
        position: absolute;
        z-index: 2;
        margin: -2rem 1.5rem;
        width: 90%;
        background: #fff;
        padding: 1rem;
        line-height: 1.625rem;
        display: block;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }
    .info-selected {
        width: 40vw !important;
    }
    .campaign-button-round {
        padding: 0.5rem 0 !important;
    }
   

}



@media only screen and (min-width: 1200px) {
    .tabs__item::after {
        transition: unset !important;
    }
    #mobile-filter {
        display: none !important;
    }

}

/* Desktop */
    div#map > div {
        position: relative !important;
        padding: 20rem 0;
    }

    .map-slide-info {
        z-index: 2;
        position: relative;
        right: -15rem;
        bottom: 30rem;
        background: #13294b;
        color: #fff;
        display: flex;
        justify-content: center;
    }
    #mobile-toggle {
        display: none;
    }

    .selections {
        display: flex;
        justify-content: center;
    }

    .tabs__item {
        transition: unset !important;
    }

        .tabs__item.selected button::before {
            color: #ea8217;
            opacity: 1;
            content: "";
        }

    .oe-map-btn-container {
        margin: 2rem 0;
    }

    .mappy {
        /* margin: 0 10rem;*/
        padding: 2rem;
    }

        .mappy > p {
            font-size: 1.125rem;
            line-height: 1.5;
        }

h3.location-name {
    margin-bottom: 1rem;
}

span.fas.fa-solid.fa-list.tabs__item-icon {
    font-family: "neue-haas-grotesk-text", sans-serif !important;
}

#legend {
    background: #D7D8D8;
    color: #13294b;
    font-weight: 600;
    /* margin: 1rem;
    padding: 1rem;*/
    bottom: 24px !important;
    right: 60px !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px;
}

    #legend-title {
        font-size: 1.25rem;
    }

    #legend {
        display: flex;
    }

    div#legend > div {
        display: flex;
        font-size: 0.875rem;
        margin: 0.3rem;
        align-items: center;
    }

    .dismiss {
        display: none;
        animation: slide-up 0.5s forwards;
        -webkit-animation: slide-up 0.5s forwards;
    }

    .info-selected {
        animation: slide-down 0.5s forwards;
        width: 20vw;
        transition: unset !important;
    }

    .closeMe {
        display: flex;
        justify-content: flex-end;
    }

    @keyframes slide-in {
        /* from {right: 0px;}
  to {right: 300px;} */
        0% {
            -webkit-transform: translateX(100%);
        }

        100% {
            -webkit-transform: translateX(0%);
        }
    }

    @keyframes slide-out {
        0% {
            transform: translateX(0%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    @-webkit-keyframes slide-out {
        0% {
            -webkit-transform: translateX(0%);
        }

        100% {
            -webkit-transform: translateX(100%);
        }
    }
