/* do NOT touch these */
/* Hard CSS Reset for Leaflet Markers to prevent TYPO3/Bootstrap interference */
.custom-div-icon,
.custom-div-icon * {
    box-sizing: content-box !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    outline: none !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    display: block; /* safe default */
}

/* The exterior of the pin: 📍 */
.marker-pin { 
  width: 40px !important; /* pin size (original is 3/4 times) */
  height: 40px !important; /* pin size (original is 3/4 times) */
  border-radius: 50% 50% 50% 0 !important;
  background: #0cce26; /* colour of exterior */
  position: absolute !important;
  transform: rotate(-45deg) !important;
  left: 50% !important;
  top: 50% !important;
  margin: -20px 0 0 -20px !important; /* pin size (original is 3/4 times) */
  box-shadow: 4px 4px 3px grey !important;
  display: block;
}

/* Interior of the pin (the white circle), remove this for no circle */
.marker-pin::after { 
    content: '';
    width: 32px !important; /* pin size (original is 3/4 times) */
    height: 32px !important; /* pin size (original is 3/4 times) */
    margin: 4px 0 0 4px !important; /* pin size (original is 3/4 times) */
    background: #fff;
    position: absolute !important;
    border-radius: 50% !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
    box-sizing: content-box !important;
 }

/* Styles for the icon inside the pin */
.custom-div-icon i { 
    position: absolute !important;
    width: 30px !important; /* fixed width to match container */
    left: 0 !important;
    top: 0 !important; /* explicit top */
    margin: 10px 0 0 0 !important; /* explicit margin */
    text-align: center !important;
    z-index: 2000 !important; /* ensure on top */
    /* reset potential global styles */
    transform: none !important; 
    line-height: 1.2 !important;
    display: inline-block !important; /* font awesome needs inline or inline-block */
    color: inherit; /* inherit from specific style override */
}

/* Styles for the font-awesome icon */
.custom-div-icon i.awesome {
   margin: 8px 0 0 0 !important; /* moves icon up/down */
   font-size: 22px !important; /* size of icon */
   left: 0 !important; /* ensure left align to container so width works */
   width: 30px !important; /* ensure width fills container */
   top: 0 !important;
}
/* ^ do NOT touch these */

    

/* colour of exterior (the pin area)  */
div.workshop_in_preparation_style > .marker-pin {
    background: #cc0000;
}
div.drilling_in_preparation_style > .marker-pin {
    background: #990000;
}
div.drilling_in_operation_style > .marker-pin {
    background: #ff6633;
}
div.full_proposal_accepted_style > .marker-pin {
    background: #ff9933;
}
div.post_operational_style > .marker-pin {
    background: #660000;
}
div.post_moratorial_style > .marker-pin {
    background: #666666;
}

/* colour of circle */
div.workshop_in_preparation_style > .marker-pin::after {
    background: none;
} 
div.drilling_in_preparation_style > .marker-pin::after {
    background: white;
} 
div.drilling_in_operation_style > .marker-pin::after {
    background: white;
} 
div.full_proposal_accepted_style > .marker-pin::after {
    background: white;
} 
div.post_operational_style > .marker-pin::after {
    background: #660000;
} 
div.post_moratorial_style > .marker-pin::after {
    background: #666666;
} 

/* colour of font-awesome icon */
div.workshop_in_preparation_style > i {
    color: white;
}
div.drilling_in_preparation_style > i {
    color: #990000;
}
div.drilling_in_operation_style > i {
    color: #ff6633;
}
div.full_proposal_accepted_style > i {
    color: #ff9933;
}
div.post_operational_style > i {
    color: white;
}
div.post_moratorial_style > i {
    color: #666666;
}










