﻿.ecy-map #legend-item-container {
    margin: 0 0;
    border-bottom: 1px solid #e6edf0;
}

.ecy-map legend-item {
    width: 80%;
    margin: 10px 10px;
}

.ecy-map .accordion-ellipsis {
    height: 45px;
    width: 40px;
    position: absolute;
    right: 2px;
    top: 3px;
    background-image: url(https://fortress.wa.gov/ecy/gispublic/appresources/mapresources/images/icons/ellipsis.png);
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    cursor: pointer;
    border: none;
}

    .ecy-map .accordion-ellipsis:hover {
        background-color: #eaeaea;
    }

.ecy-map .accordion-filter {
    text-align: right;
    height: 45px;
    width: 65px;
    position: absolute;
    right: 46px;
    top: 3px;
    background-image: url(https://fortress.wa.gov/ecy/gispublic/appresources/MapResources/Images/Icons/filter_icon.png);
    background-repeat: no-repeat;
    background-position-x: 5px;
    background-position-y: 50%;
    background-color: #f5f5f5;
    cursor: pointer;
    border: none;
}

    .ecy-map .accordion-filter:hover {
        background-color: #eaeaea;
    }

.ecy-map .legend-scale-dependent-visibility {
    width: 80%;
    margin: 20px 0 10px 45px;
}

    .ecy-map .legend-scale-dependent-visibility[aria-hidden="true"] {
        display: none;
    }

.ecy-map .legend-scale-alert-icon {
    float: left;
    margin: 0 5px 0 0;
}


.ecy-map .legend-scale-alert-text {
    float: left;
    color: #bf0101;
    font-size: 1rem;
    margin: 4px 0 0 0;
}

.ecy-map .legend-swatch-container[aria-hidden="true"] {
    display: none;
}

.ecy-map .legend-swatch-item {
    float: left;
    width: 100%;
    margin: 10px 0 10px 10px;
}

.ecy-map .legend-swatch-subcategory {
    font-size: 1rem;
    font-weight: 600;
    color: black;
    float: left;
    min-width: 70%;
    margin: 5px 0 10px 30px;
}

.ecy-map .legend-swatch-icon {
    float: left;
    margin: 0 0 0 35px;
}

.ecy-map .legend-swatch-text {
    margin: 3px 0 3px 10px;
    font-size: 0.9rem;
    color: black;
    float: left;
}

.ecy-map #legend-item-action-container {
    width: 180px;
}

.ecy-map .legend-item-action-button {
    border: 2px solid white;
    padding: 5px 0;
    margin-bottom: 5px;
    background-color: white;
    width: 150px;
    cursor: pointer;
}

    .ecy-map .legend-item-action-button:hover {
        background-color: #e6edf0;
        border: 2px solid #e6edf0;
    }

.ecy-map .legend-item-action-image {
    float: left;
    border: none !important;
    margin: 0 0 0 4px !important;
    padding: 0 0 !important;
}

.ecy-map .legend-item-action-text {
    text-align: left;
    float: left;
    margin: 0 0 0 5px;
}

.ecy-map #legend-transparency-slider-container {
    margin: 17px 15px;
    font-size: 1rem;
    height: 50px;
}


/* The slider itself */
.ecy-map .slider {
    -webkit-appearance: none; /* Override default CSS styles */
    border: 2px solid #d3d3d3;
    border-radius: 5px;
    width: 210px; /* Full-width */
    height: 8px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}


    /* Mouse-over effects */
    .ecy-map .slider:hover {
        opacity: 1; /* Fully shown on mouse-over */
    }

    /* Mouse-over effects */
    .ecy-map .slider:focus {
        opacity: 1; /* Fully shown on mouse-over */
        padding: 2px 2px;
    }

    /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
    .ecy-map .slider::-webkit-slider-thumb {
        -webkit-appearance: none; /* Override default look */
        width: 15px; /* Set a specific slider handle width */
        height: 20px; /* Slider handle height */
        background: #3399ff; /* Blue background */
        cursor: pointer; /* Cursor on hover */
        border-radius: 5px;
    }

    .ecy-map .slider::-moz-range-thumb {
        width: 15px; /* Set a specific slider handle width */
        height: 20px; /* Slider handle height */
        background: #3399ff; /* Blue background */
        cursor: pointer; /* Cursor on hover */
    }

.ecy-map #legend-transparency-slider-label {
    vertical-align: top;
}

.ecy-map #legend-transparency-slider-value {
    vertical-align: 13%;
}

.ecy-map #legend-add-data-container {
    width: 100%;
}

.ecy-map #legend-add-data-container-inner {
    height: 50px;
    width: 100%;
    display: none;
}

.ecy-map .legend-button {
    font-size: 1rem;
    border: 10px solid #f6f2f2;
    cursor: pointer;
    background-color: #f6f2f2;
    border-radius: 2px;
    margin: 28px 0 0 65px;
}

    .ecy-map .legend-button:hover {
        background-color: #e6edf0 !important;
        border: 10px solid #e6edf0 !important;
    }

.ecy-map .legend-button-text {
    float: right;
    margin: 6px 6px;
}

.ecy-map .legend-button-image {
    float: left;
    margin-top: 3px;
}
