:root {
    --border-color: #CDCDCD;
    --background-color: #292929;
    --font-color: white;
    --font-family: 'sans-serif', Fira Sans;
    --font-size: smaller;
    --border-radius: 3px;
    --padding: 3px;
    --legend-title-font-weight: bold;
    --legend-title-font-size: 14px;
    --legend-tick-font-size: 12px;
}

svg {
    touch-action: none;
}

.jvectormap-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    touch-action: none;
}

/* Tooltip Styling */
.jvectormap-tip {
    position: absolute;
    display: none;
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-color);
    color: var(--font-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    padding: var(--padding) 15px;
	z-index:11;
}

/* Zoom Buttons Styling */
.jvectormap-zoomin,
.jvectormap-zoomout,
.jvectormap-goback {
    position: absolute;
    left: 10px;
    border-radius: var(--border-radius);
    background: var(--background-color);
    padding: var(--padding);
    color: var(--font-color);
    cursor: pointer;
    line-height: 10px;
    text-align: center;
    box-sizing: content-box;
}

.jvectormap-zoomin,
.jvectormap-zoomout {
    width: 10px;
    height: 10px;
}

.jvectormap-zoomin {
    top: 10px;
}

.jvectormap-zoomout {
    top: 30px;
}

.jvectormap-goback {
    bottom: 10px;
    z-index: 1000;
    padding: 6px;
}

/* Spinner Styling */
.jvectormap-spinner {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3Cg%3E%3Ccircle cx='4' cy='12' r='3' fill='%23000'/%3E%3Ccircle cx='20' cy='12' r='3' fill='%23000'/%3E%3CanimateTransform attributeName='transform' calcMode='spline' dur='1s' keySplines='.36,.6,.31,1;.36,.6,.31,1' repeatCount='indefinite' type='rotate' values='0 12 12;180 12 12;360 12 12'/%3E%3C/g%3E%3C/svg%3E");

    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mask-position: center;
    -webkit-mask-position: center;
}

/* Legend Styling */
.jvectormap-legend-title {
    font-weight: var(--legend-title-font-weight);
    font-size: var(--legend-title-font-size);
    text-align: center;
}

.jvectormap-legend-cnt {
    position: absolute;
}

.jvectormap-legend-cnt-h {
    bottom: 0;
    right: 0;
}

.jvectormap-legend-cnt-v {
    top: 0;
    right: 0;
}

.jvectormap-legend {
    background: black;
    color: white;
    border-radius: var(--border-radius);
}

.jvectormap-legend-cnt-h .jvectormap-legend {
    float: left;
    margin: 0 10px 10px 0;
    padding: var(--padding) var(--padding) 1px var(--padding);
}

.jvectormap-legend-cnt-h .jvectormap-legend .jvectormap-legend-tick {
    float: left;
}

.jvectormap-legend-cnt-v .jvectormap-legend {
    margin: 10px 10px 0 0;
    padding: var(--padding);
}

.jvectormap-legend-cnt-h .jvectormap-legend-tick {
    width: 40px;
}

.jvectormap-legend-cnt-h .jvectormap-legend-tick-sample {
    height: 15px;
}

.jvectormap-legend-cnt-v .jvectormap-legend-tick-sample {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

.jvectormap-legend-tick-text {
    font-size: var(--legend-tick-font-size);
}

.jvectormap-legend-cnt-h .jvectormap-legend-tick-text {
    text-align: center;
}

.jvectormap-legend-cnt-v .jvectormap-legend-tick-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 20px;
    padding-left: 3px;
}
