
/*
// Maps for Weichenstellung (WSM), fork for Infoportal-Kirchenland.
// Modular extendable web library.
// Written 2019 by Arne Kowalewski for karnbrock GmbH
*/

/* ==========================================
    Custom appearance,
    this may be changed for every implementation of the maps script.
============================================= */

.wsm-items  {
    margin-left: 10px;
}

.wsm-title  {
    color: black;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.wsm-subtitle   {
    color: #000;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.wsm-item   {
    font-size: 1.25rem;
    line-height: 1.4;
}

.wsm-item.open, .wsm-item-index, .wsm-item a, .wsm-item:hover .wsm-item-name   {
    color: #afc424;
    font-weight: bold;
}

.wsm-item-details, .wsm-item a   {
    font-weight: normal;
}

.map-container.small .leaflet-control-attribution   {
    font-size: x-small;
}


/* ==========================================
    CUSTOM styles,
    for different sub-pages of ZEIT using the map!
============================================= */

.zuwanderer .wsm-title   {
    color: #e94d23 !important;
}

.zuwanderer .leaflet-interactive    {
    fill: #008266 !important;
    stroke: #29edc3 !important;
}

.viertklaessler .wsm-title   {
    color: #e50052;
}

.viertklaessler .leaflet-interactive    {
    fill: green !important;
    stroke: #afc424 !important;
}

/* ==========================================
    CORE styles,
    no need to change anything here if you jut want to adjust the apperance
============================================= */

.wsm-main   {
    font-family: Arial;
    position: relative;
}

.wsm-left   {
  position: absolute; left: 0; top: 0; bottom: 0; right: 0;
}

.wsm-item:not(.open) .wsm-item-details  {
    display: none;
}

.wsm-item   {
    position: relative;
    padding-left: 1.5em;
}

.wsm-item-name  {
    cursor: pointer;
}

.wsm-item-index {
    left: 0;
    position: absolute;
}

.wsm-label  {
    border: none;
    background: none;
    font-size: 1.0rem;
    box-shadow: none;
    color: white;
    font-weight: bold;
}

.wsm-popup  {
    background: none;
    border: none;
}

.wsm-popup a    {
    text-decoration: none;
    color: #517819;
}

.wsm-popup a:hover  {
    color: #6e8e3f;
}

.leaflet-interactive    {
    fill: #666 !important;
    stroke: #bbb !important;
}

.leaflet-div-icon {
	background: transparent;
    border: none;
    z-index: 1000 !important;
}

.leaflet-marker-icon    {
	position: relative;
}

.leaflet-marker-icon .number{
    display: none;
    /*
    position: absolute;
    top: 0;
    left: 0;
	font-size: 16px;
    width: 24px;
    text-align: center;
    color: white;
    */
}