/*Markers*/

/*Campsites, including POI campsites*/
.map-marker.campsite, .map-marker.poi.campsite-poi {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 8.7px 5px;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    margin: -4.35px 0 0 -5px;
    border-bottom-color: #CF1313;
}
.zoom-11 .map-marker.campsite, .zoom-11 .map-marker.poi.campsite-poi {
    border-width: 0 2px 3.5px 2px;
    margin: -1.75px 0 0 -2px;
}
.zoom-12 .map-marker.campsite, .zoom-12 .map-marker.poi.campsite-poi {
    border-width: 0 3px 5.2px 3px;
    margin: -2.6px 0 0 -3px;
}
.zoom-13 .map-marker.campsite, .zoom-13 .map-marker.poi.campsite-poi {
    border-width: 0 4px 6.9px 4px;
    margin: -3.45px 0 0 -4px;
}

.map-marker.campsite.active, .map-marker.poi.campsite-poi {
    border-bottom-color: #CF1313;
}
.map-marker.campsite.inactive {
    border-bottom-color: black;
}
.map-marker.campsite.notexist {
    border-bottom-color: rgba(130,130,130,219);
}
.map-marker.campsite.reviewed::after, .map-marker.campsite.hasphotos::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 4.5px;
    border: 1px solid gray;
    background: white;
    position: relative;
    top: -1px;
    right: -1.5px;
}
.zoom-11 .map-marker.campsite.reviewed::after, .zoom-11 .map-marker.campsite.hasphotos::after {    
    width: 1.1px;
    height: 1.5px;
    border-width: 0.5px;
    top: -0.4px;
    right: -0.8px;
}
.zoom-12 .map-marker.campsite.reviewed::after, .zoom-12 .map-marker.campsite.hasphotos::after {
    width: 1.3px;
    height: 2px;
    border-width: 0.5px;
    top: -0.44px;
    right: -0.65px;
}
.zoom-13 .map-marker.campsite.reviewed::after, .zoom-13 .map-marker.campsite.hasphotos::after {
    width: 2px;
    height: 3px;
    border-width: 0.5px;
    top: -0.66px;
    right: -0.6px;
}

/*Hiking/Backpacking Sites*/
.map-marker.campsite.hiking {
    width: 6px;
    height: 6px;
    border-color: white;
    border-color: rgba(255,255,255,0.65);
    border-width: 1px;
    border-style: solid;
    margin: -3px 0 0 -3px;
    background-color: #4f55b9;
}
.zoom-11 .map-marker.campsite.hiking {
    width: 3px;
    height: 3px;
    border-width: 0.5px;
    margin: -1.5px 0 0 -1.5px;
}
.zoom-12 .map-marker.campsite.hiking {
    width: 4px;
    height: 4px;
    border-width: 0.5px;
    margin: -2px 0 0 -2px;
}
.zoom-13 .map-marker.campsite.hiking {
    width: 5px;
    height: 5px;
    border-width: 0.5px;
    margin: -2.5px 0 0 -2.5px;
}
.map-marker.campsite.hiking.active {
    border-bottom-color: #4f55b9;
}
.map-marker.campsite.hiking.inactive {
    border-bottom-color: black;
}
.map-marker.campsite.hiking.notexist {
    border-bottom-color: rgba(130,130,130,219);
}

/*Campgrounds*/
.map-marker.campsite.campground {
    border-style: none;
}
.map-marker.campsite.campground::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f6bb";
    color: #CF1313;
    margin: -7.4px 0 0 -2.5px;
    font-size: 20px;
}
.zoom-11 .map-marker.campsite.campground::after {
    font-size: 8px;
}
.zoom-12 .map-marker.campsite.campground::after {
    font-size: 10px;
}
.zoom-13 .map-marker.campsite.campground::after {
    font-size: 14px;
}

/* Anchorages */
.map-marker.campsite.anchorage {
    border-style: none;
}
.map-marker.campsite.anchorage::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f13d";
    color: black;
    margin: -11px 0 0 -7px;
    font-size: 15px;
}
.zoom-11 .map-marker.campsite.anchorage::after {
    font-size: 5px;
    margin: -2px 0 0 -2px;
}
.zoom-12 .map-marker.campsite.anchorage::after {
    font-size: 7px;
    margin: -4px 0 0 -3px;
}
.zoom-13 .map-marker.campsite.anchorage::after {
    font-size: 11px;
    margin: -7px 0 0 -5px;
}

/* Day Use */
.map-marker.campsite.dayuse {
    border-style: none;
}
.map-marker.campsite.dayuse::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f1bb";
    color: darkgreen;
    margin: -10px 0 0 -4px;
    font-size: 15px;
}

.zoom-11 .map-marker.campsite.dayuse::after {
font-size: 5px;
margin: -2px 0 0 -1px;
}

.zoom-12 .map-marker.campsite.dayuse::after {
font-size: 7px;
margin: -4px 0 0 -2px;
}

.zoom-13 .map-marker.campsite.dayuse::after {
    font-size: 11px;
    margin: -5px 0 0 -3px;
}

/*Cabins*/
.map-marker.campsite.cabin {
    border-style: none;
}
.map-marker.campsite.cabin::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f015";
    color: #7F3300;
    margin: -7.4px 0 0 -2.5px;
}

/*Entry Points*/
.map-marker.entrypoint {
    border-radius: 3px;
    font-size: 7pt;
    color: white;
    text-align: center;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
}
.map-marker.entrypoint.regular {
    background: black;
}
.map-marker.entrypoint.overnightpaddle {
    background: #2A38A3;
}
.map-marker.entrypoint.overnightpaddlemotor {
    background: #CC1414;
}
.map-marker.entrypoint.daymotor {
    background: #742AA3;
}
.map-marker.entrypoint.hiking {
    background: #6f4fb9;
}
/* Set entry point content/images */
.map-marker.entrypoint::after {
    width: 12px;
    height: 12px;
    font-size: 8px;
}
.map-marker.entrypoint.regular::after {
    content: 'A';
}
.map-marker.entrypoint.overnightpaddle::after {
    content: 'P';
}
.map-marker.entrypoint.overnightpaddlemotor::after {
    content: 'M';
}
.map-marker.entrypoint.daymotor::after {
    content: 'D';
}
.map-marker.entrypoint.hiking::after {
    content: 'H';
}

/*Ranger Stations*/
.map-marker.rangerstation::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f015";
    color: #296726;
    margin: -8.8px 0 0 -6.8px;
}

/*Photos*/
.map-marker.photo::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f03e";
    color: #ffffff;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    margin: -8.8px 0 0 -6px;
    font-size: 12px;
}
.zoom-11 .map-marker.photo::after {
    display: none;
}
.zoom-12 .map-marker.photo::after {
    font-size: 7px;
}
.zoom-13 .map-marker.photo::after {
    font-size: 10px;
}

/*POI*/
.map-marker.poi::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f05a";
    color: darkblue;
    margin: -50% 0 0 -50%;
    font-size: 15px;
}
.darkmap .map-marker.poi::after {
    color: lightskyblue;
}
.zoom-11 .map-marker.poi::after {
    display: none;
    font-size: 7px;
}
.zoom-12 .map-marker.poi::after {
    font-size: 10px;
}
.zoom-13 .map-marker.poi::after {
    font-size: 12px;
}
/* POI - overlook */
.map-marker.poi.overlook::after {
    content: "\f1e5";
    color: black;
}
.darkmap .map-marker.poi.overlook::after {
    color: #FFFDD0;
}
/* POI - warning */
.map-marker.poi.warning::after {
    content: "\f071";
    color: darkorange;
    background: black;
    padding: 0 3px;
    border-radius: 3px;
}
.darkmap .map-marker.poi.warning::after {
    background: none;
}
.zoom-12 .map-marker.poi.warning::after {
    padding: 0 2px;
}
/* POI - note */
.map-marker.poi.note::after {
    content: "\f249";
    color: #FFFF99;
}
/* POI - pictograph */
.map-marker.poi.pictograph::after {
    content: "";
    background: url(/images/mapicons/picto.png) 0 0 no-repeat;
    background-size: contain;
    width: 50px;
    height: 18px;
    margin: -9px 0 0 -25px;
}
.zoom-11 .map-marker.poi.pictograph::after {
    width: 13px;
    height: 5px;
    margin: -3px 0 0 -7px;
}
.zoom-12 .map-marker.poi.pictograph::after {
    width: 22px;
    height: 8px;
    margin: -4px 0 0 -11px;
}
.zoom-13 .map-marker.poi.pictograph::after {
    width: 32px;
    height: 12px;
    margin: -6px 0 0 -16px;
}
/* POI - fishing */
.map-marker.poi.fishing::after {
    content: "\f578";
    color: darkgreen;
}
.darkmap .map-marker.poi.fishing::after {
    color: lightgreen;
}
/* POI - dam */
.map-marker.poi.dam::after {
    content: "";
    background: url(/images/mapicons/dam.png) 0 0 no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
}
.zoom-11 .map-marker.poi.dam::after {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
}
.zoom-12 .map-marker.poi.dam::after {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
}
.zoom-13 .map-marker.poi.dam::after {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
}
/* POI - waterfall */
.map-marker.poi.waterfall::after {
    content: "";
    background: url(/images/mapicons/waterfall.png) 0 0 no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
}
.zoom-11 .map-marker.poi.waterfall::after {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
}

.zoom-12 .map-marker.poi.waterfall::after {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
}

.zoom-13 .map-marker.poi.waterfall::after {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
}

.zoom-14 .map-marker.poi.waterfall::after {
    width: 20px;
    height: 20px;
    margin: -8px 0 0 -8px;
}
/* POI - river gauge */
.map-marker.poi.gauge::after {
    content: "\f2c9";
    color: #FFC800;
    margin-top: -13px;
}
.darkmap .map-marker.poi.gauge::after {
    color: #FFD43B;
}
/* POI - campsite */
/* Is the same as the campsite icon, so it is included with the CSS for campsites. Need to override POI content here */
.map-marker.poi.campsite-poi::after {
    content: none;
}

/*Outfitters - Icon paths dynamically generated in handler*/
.map-marker.outfitter {
    text-align: center;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    margin-top: -8px;
}
.map-marker.outfitter::after {
    width: 16px;
    height: 16px;
}

/*Route Points*/
.map-marker.routepoint {
    width: 6px;
    height: 6px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: lightgreen;
    margin: -3px 0 0 -3px;
}
.map-marker.portageend {
    width: 6px;
    height: 6px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: yellow;
    margin: -3px 0 0 -3px;
}
.map-marker.portagemid {
    width: 3px;
    height: 3px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: yellow;
    margin: -1.5px 0 0 -1.5px;
}
.map-marker.hikepoint {
    width: 4px;
    height: 4px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: mediumpurple;
    margin: -2px 0 0 -2px;
}

/*Route Direction*/
.route-arrow {
    width: 0 !important;
    height: 0 !important;
    border-style: solid;
    border-width: 0 3px 8px 3px;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #a59322;
}

/*Active Map Marker*/
.map-marker.activenode {
    width: 0;
    height: 0;
}
.map-marker.activenode::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f192";
    color: #ffffff;
    font-size: 36px;
    width: 36px;
    height: 54px;
    margin: -27px 0 0 -18px;
}

/*Z-Index*/
.map-marker.bullseye, .map-marker.dot, .map-marker.activenode {
    z-index: 200 !important;
}
.map-marker.campsite.active {
    z-index: 100 !important;
}
.map-marker.campsite.inactive {
    z-index: 95 !important;
}
.map-marker.campsite.notexist {
    z-index: 90 !important;
}
.map-marker.entrypoint.regular {
    z-index: 85 !important;
}
.map-marker.entrypoint.overnightpaddle {
    z-index: 80 !important;
}
.map-marker.entrypoint.overnightpaddlemotor {
    z-index: 75 !important;
}
.map-marker.entrypoint.hiking {
    z-index: 70 !important;
}
.map-marker.entrypoint.daymotor {
    z-index: 65 !important;
}
.map-marker.rangerstation {
    z-index: 60 !important;
}
.map-marker.photo {
    z-index: 40 !important;
}

/* Outfitter z-index using CSS properties and randomization from javascript */
.map-marker.outfitter {
    z-index: var(--outfitterorder, 50) !important;
}

/* Polylines */

/* Portages */
.map-polyline.portage {
    stroke: #000000;
    stroke-width: 2;
    opacity: 1;
    z-Index: 18;
    stroke-dasharray: 3, 3;
}
.map-polyline.portage.activenode {
    stroke-width: 3px;
    stroke-dasharray: 2 5;
    z-Index: 20;
    filter: drop-shadow(0px 0px 2px red);
}

/* Hiking Trails */
.map-polyline.hikingtrail {
    stroke: #6f4fb9;
    stroke-width: 2;
    opacity: 1;
}

/* Boundaries */
.map-polyline.boundary {
    stroke: #990033;
    stroke-width: 2;
    opacity: 0.7;
}

/* Burn Area */
.map-polygon.burnarea {
    stroke: #911f1f;
    stroke-width: 0;
    opacity: .5;
    fill: #911f1f;
    fill-opacity: .2;
}

/* PMA */
.map-polygon.pmazone {
    stroke: #3d7033;
    stroke-width: 0;
    opacity: .5;
    fill: #3d7033;
    fill-opacity: .3;
}

/* Roads */
.map-polyline.road {
    stroke: #808080;
    stroke-width: 3;
    opacity: 1.0;
}

/* Canoe Routes */
.map-polyline.canoeroute {
    stroke: #e3d622;
    stroke-width: 4;
    opacity: 0.5;
}

/* Rapids */
.map-polyline.rapids {
    stroke: #0004FF;
    stroke-width: 2;
    opacity: 1.0;
}