.vector-worldmap {
	position: relative;
	margin: auto;

	width: 100%;
	height: 800px;

	max-height: 80vh;

	overscroll-behavior-x: contain;
	overscroll-behavior-y: contain;
}

.vector-worldmap-scroll {
	width: 100%;
	height: 100%;

	padding: 20px;
	box-sizing: border-box;

	overflow: hidden;
	touch-action: none;

	--x: 0;
	--y: 0;
	--scale: 1;

	opacity: 0;

	transition: opacity 0.3s;
}

.vector-worldmap-scroll-visible {
	opacity: 1;
}

.vector-worldmap-inner {
	display: flex;

	transform: translate3d(var(--x), var(--y), 0) scale(var(--scale));
	transform-origin: 0 0;
	will-change: transform;

	backface-visibility: hidden;
	filter: blur(0);
	perspective: 1000px;

	width: 2000px;
	height: 1000px;
}

.vector-worldmap-map {
	width: 100%;
	flex-shrink: 0;

	transform: translateZ(0);
	backface-visibility: hidden;
	filter: blur(0);
	perspective: 1000px;

	z-index: 1;
	pointer-events: none;
}

.vector-worldmap-card {
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	padding: 1.5rem;
	width: 380px;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);

	opacity: 0;
	pointer-events: none;

	transition: opacity .3s ease;

	z-index: 600;

	box-sizing: border-box;
}

.vector-worldmap-card.visible {
    opacity: 1;
    pointer-events: initial;
}

@media screen and (max-width: 499px) {
    .vector-worldmap-card {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: translate3d(0, 0, 0) !important;

        width: 100%;
        height: 100%;
    }
}

.vector-worldmap-card-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;

	width: 2rem;
	height: 2rem;

	appearance: none;
	outline: none !important;
	border: none;
	padding: 0;

	background: #efefef;
	cursor: pointer;
	color: var(--color-base) !important;
}

.vector-worldmap-card-close:before {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	content: "\e90b";
	font-size: 1rem;

	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal !important;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.vector-worldmap-card-title {
	display: block;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	padding-top: 2px;
	padding-right: 1.5rem;

	color: var(--color-base);
}

.vector-worldmap-card-image-wrap {
	width: 100%;
	height: 150px;

	margin-bottom: 1.5rem;
}

.vector-worldmap-card-image {
	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;
}

.vector-worldmap-card-info {
	font-size: 1rem;
	line-height: 1.15rem;

	margin-bottom: 1.5rem;
}

.vector-worldmap-title {
	position: absolute;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	cursor: pointer;

	opacity: 0;

	z-index: 1;
}

.vector-worldmap-title[data-position="bottom"] > .vector-worldmap-title-arrow {
    top: 0;
}

.vector-worldmap-title-inner {
	position: relative;
	background: #fff;
	padding: 5px 10px 3px;
	font-size: 1.3rem;
	line-height: 36px;
	font-weight: 500;
	color: var(--color-blue-light);
	z-index: 2;

	transform: translateZ(0);
	backface-visibility: hidden;
	filter: blur(0);
	perspective: 1000px;
}

.vector-worldmap-title--subtitle {
	cursor: default;
}

.vector-worldmap-title--subtitle .vector-worldmap-title-inner {
	font-size: 1rem;
	line-height: 30px;
	padding: 2px 8px 0;
}

.vector-worldmap-title-arrow {
	position: absolute;
	z-index: 1;
	width: 10px;
	height: 10px;

	transform: translate(1px, -2px) translateZ(0);
	backface-visibility: hidden;
	filter: blur(0);
	perspective: 1000px;

	margin-top: -3px;
}

.vector-worldmap-title-arrow:before {
    content: "";
    position: absolute;
    transform-origin: 50% 50%;
    transform: rotate(45deg);
    background: #fff;
    width: 10px;
    height: 10px;

    box-sizing: border-box;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border: 1px solid rgb(0 0 0 / 0.1);
}

.vector-worldmap-background {
	position: absolute;
	top: 0;
	left: 0;

	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;

	z-index: -1;
}

.click-dot {
	position: absolute;
	top: -17.5px;
	left: -17.5px;

	width: 35px;
	height: 35px;

	border-radius: 100%;

	cursor: pointer;
}

.click-dot--hidden {
	cursor: default;
}

.vector-worldmap-action-buttons {
	position: absolute;

	right: 1rem;
	bottom: 0;
}

.vector-worldmap-action-button {
	display: block;

	width: 3rem;
	height: 3rem;

	font-size: 2rem !important;

	appearance: none;
	outline: none !important;
	border: none;
	padding: 0 !important;

	cursor: pointer;

	margin: 1rem 0;
}

.vector-worldmap-touch-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	z-index: 2;
}


