/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.map {
	--theme-background: #FFFFFF;
	--theme-foreground: #000000;
	font-size: 16px;
}

.map button {
	border: none;
	background: none;
	font-size: inherit;
	text-align: left;
}

.map svg {
	transition: none;
}

.map__layer:not(.map__layer_visible) {
	display: none;
}

.map__popup {
	overflow: hidden;
	width: 263px;
	height: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 10px;
	background-color: var(--theme-background);
}

.map__popup-scroller {
	overflow: auto;
	max-height: 400px;
	padding-left: 20px;
	padding-right: 20px;
}

.map__popup-scroller > div {
	overflow: hidden;
}

.leaflet-container {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.leaflet-popup {
	margin-bottom: calc(var(--leaflet-popup_icon-height) / 2);
}

.leaflet-popup-tip-container {
	display: none;
}

.leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	box-shadow: none;
}

.leaflet-popup-content {
	margin: 0;
	line-height: inherit;
	font-size: inherit;
}

.leaflet-popup-content p {
	padding: 0;
	margin: 0;
}

.leaflet-marker-icon {
	width: var(--leaflet-marker-icon_width);
	height: var(--leaflet-marker-icon_height);
	margin-left: calc(var(--leaflet-marker-icon_width) / -2);
	margin-top: calc(var(--leaflet-marker-icon_height) / -2);
	display: flex;
	justify-content: center;
	align-items: center;
}

.leaflet-marker-icon,
.leaflet-marker-icon svg,
.leaflet-marker-icon.leaflet-interactive {
	pointer-events: none;
}

.leaflet-marker-icon svg *,
.leaflet-marker-icon.leaflet-interactive :not(svg):not(div) {
	pointer-events: auto;
}

.leaflet-marker-icon>* {
	width: 100%;
	height: 100%;
}

.measure__popup {
	background-color: #fff;
	color: #000;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid red;
	padding-right: 20px;
}

.measure__marker {
	width: 20px;
	height: 20px;
	background-color: red;
	border-radius: 50%;
}

.leaflet-control-coords {
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 120px;
	gap: 3px;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	font-size: 12px;
	line-height: 120%;
	text-align: right;
}

@media (max-width: 800px) {
	.leaflet-control-coords {
		display: none;
	}
}

.leaflet-mile {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	z-index: 1000;
	background-color: #fff;
	padding: 10px;
	border-radius: 10px;
}

@media (max-width: 800px) {
	.leaflet-mile {
		display: none;
	}
}

.leaflet-mile__block {
	display: flex;
	align-items: center;
}

.leaflet-mile__block-marker {
	width: 1px;
	height: 7px;
	background-color: rgba(0, 0, 0, 0.5);
}

.leaflet-mile__block-line {
	display: block;
	flex: auto;
	height: 1px;
	background-color: rgba(0, 0, 0, 0.5);
}

.leaflet-mile__block-text {
	padding: 0 2px;
	color: rgba(0, 0, 0, 0.7);
	font-size: 12px;
	line-height: 120%;
}

.map__popup-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #000;
}
.map__popup-close:hover {
  color: #ff0000;
}
.map__popup_pinned {
  border: 1px solid #000;
}
.location-info {
	display: grid;
	grid-template: auto auto / 1fr 18px;
	gap: 5px;
	cursor: pointer;
}

.location-info__coord:first-child {
	grid-area: 1 / 1 / 2 / 2;
}

.location-info__coord:last-child {
	grid-area: 2 / 1 / 3 / 2;
}

.location-info__copy-button {
	grid-area: 1 / 2 / 3 / 3;
	width: 100%;
	margin-top: 5px;
}

.located-item-description {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.located-item-description__group {
	display: flex;
	flex-direction: column;
}

.located-item-description__group_gap_small {
	gap: 5px;
}
.located-item-description__group_gap_medium {
	gap: 10px;
}
.located-item-description__group_gap_large {
	gap: 15px;
}

.located-item-description__row {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.located-item-description__close-icon {
  position: absolute;
  top: 8px;
  right: 16px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  color: #999;
}
.leaflet-popup-content {
	position: relative;
}
.located-item-description__close-icon:hover {
  color: #333;
}

.located-item-description__text_description {
	font-size: 12px;
}

.located-item-description__row_align_top {
	align-items: start;
}

.located-item-description__row_gap_small {
	gap: 5px;
}
.located-item-description__row_gap_medium {
	gap: 5px;
}
.located-item-description__row_gap_large {
	gap: 15px;
}

.located-item-description__text_title {
	font-weight: 700;
}

.located-item-description__button {
	color: var(--main);
	font-weight: 600;
	cursor: pointer;
}

.ship-popup .located-item-description__button {
	color: unset;
}

.located-item-description__range {
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

.located-item-description__route {
	font-weight: 600;
}

.located-item-description__range-value:last-child:before {
	content: " — ";
}

.located-item-description__image {
	width: 100%;
	border-radius: 10px;
}

.located-item-description__icon {
}

.cruise-map__marker_type_ship {
	fill: var(--cruise-map__marker_color);
	stroke: var(--cruise-map__marker_color);
	transform:
		translateY(calc(var(--cruise-map__marker_intersection-index, 0) * 12px))
		rotate(var(--cruise-map__marker_angle, 0deg));
}

@keyframes highlight {
	from {
		filter: brightness(125%);
	}
	to {
		filter: brightness(75%);
	}
}

body:not(.stops-page) .cruise-map__marker.cruise-map__marker_type_place {
	--zoom-factor: clamp(0, var(--map-zoom) - 6, 4);
	width: calc((var(--zoom-factor) * var(--zoom-factor) + 2 * var(--zoom-factor)) / 3 * 7.5% + 40%);
	height: calc((var(--zoom-factor) * var(--zoom-factor) + 2 * var(--zoom-factor)) / 3 * 7.5% + 40%);
}

.map.zoomed-out div.cruise-map__marker .collapsible,
.map:not(.zoomed-out) div.cruise-map__marker .placeholder-icon {
	display: none;
}

.cruise-map__marker_type_ship.active {
	animation: 0.5s ease-in-out infinite alternate highlight;
}

.cruise-map__icon {
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
}

.cruise-map__icon_type_showplace,
.cruise-map__icon_type_stop {
	fill: var(--cruise-map__popup_company-color);
}

.cruise-map__icon_type_ship {
	fill: var(--theme-background);
	stroke: var(--cruise-map__popup_company-color);
}

.cruise-map__ship-name:before {
	content: "“";
}
.cruise-map__ship-name:after {
	content: "”";
}
.cruise-map__popup-title {
  font-weight: bold;
	margin-bottom: 8px;
}

.cruise-map__popup-date {
  font-size: 12px;
  color: #666;
}
.hint-toggle {
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin-left: 2px;
	vertical-align: -7px;
}

.hint-toggle svg path:first-child {
	fill: none;
	stroke: var(--main);
}

.hint-toggle svg path:last-child {
	fill: var(--main);
	stroke: none;
}

.hint-toggle.active svg path:first-child {
	fill: var(--main);
}

.hint-toggle.active svg path:last-child {
	fill: #ffffff;
}

@media (min-width: 901px) {
	.hint-toggle:hover svg path:first-child {
		fill: var(--main);
	}

	.hint-toggle:hover svg path:last-child {
		fill: #ffffff;
	}

	.hint-toggle.active:hover svg path:first-child {
		fill: none;
	}

	.hint-toggle.active:hover svg path:last-child {
		fill: var(--main);
	}
}

.hint-box {
	position: absolute;
	z-index: 1000;
	left: 12px;
	bottom: 34px;
	transform: translateX(-50%);
	cursor: auto;
	font-weight: 400;
	text-align: center;
	background: white;
	padding: 15px;
	width: max-content;
	min-width: 108px;
	max-width: 300px;
	min-height: 44px;
	border: 1px solid var(--main);
	border-radius: 10px;
}

.hint-toggle:not(.active) .hint-box {
	display: none;
}

.asteriks {
  width: 24px;
  height: 24px;
}

.map-overlay--col {
  width: 25%;
}

.map-overlay--col2 {
  width: 50%;
}

.map-overlay--label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.map-overlay--label span {
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 19.2px;
}

body .rs-container .rs-pointer {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: none;
  box-sizing: border-box;
  border: 3.23px solid rgb(50, 115, 157);
  box-shadow: 0 0 0 5px rgba(50, 115, 157, 0.4);
  ;
}

body .rs-container .rs-pointer::after,
body .rs-container .rs-pointer::before,
body .rs-container .rs-scale span::before {
  display: none;
}

body .rs-container .rs-scale {
  display: none;
}

body .rs-container .rs-bg,
body .rs-container .rs-selected {
  height: 6px;
  background-color: rgba(50, 115, 157, 0.4);
}

body .rs-container {
  width: calc(100% - 20px);
  margin: 0 auto;
}

body .rs-container .rs-selected,
body .rs-container .rs-bg {
  border: none;
}

.map-overlay--range-box {
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  height: var(--height);
}

.map-overlay--search-box {
  position: absolute;
  top: 20px;
  left: 20px;
}

.map-overlay--search-close {
  top: 28%;
  right: 50px;
  position: absolute;
  display: flex;
  width: 24px;
  height: 24px;
}

.map-overlay--search-close svg {
  right: -12px !important;
  top: 12px !important;
}
.leaflet-control-coords {
  background-color: #fff;
  width: 140px!important;
  border-radius: 10px;
  padding: 10px;
}
.map-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  pointer-events: none;
  white-space: nowrap;
}
hint-box[position="left"] {
  right: 100%;
  margin-right: 10px;
}
.map-tooltip[position="right"] {
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
}
.map-tooltip[position="top"] {
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}
.map-tooltip[position="right"]::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.8);
}
.map-tooltip[position="top"]::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
}

.map-overlay--fullscreen-btn {
  position: absolute!important;
  top: 20px;
  right: 145px;
  cursor: pointer;
}
.map-overlay--fullscreen-btn:hover {
  background: rgba(255, 255, 255, 1);
}
.map-overlay--fullscreen-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .map-overlay--fullscreen-btn span {
      display: none;
  }
  .map-overlay--fullscreen-btn {
      padding: 4px;
      min-width: 32px;
      justify-content: center;
  }
}
@media (max-width: 768px) {
  .map-tooltip {
      font-size: 12px;
      padding: 6px 10px;
  }
}
@media (max-width: 800px) {
  .map-overlay--search-box {
    width: 296px;
  }
  .map-overlay--search-close {
    top: 22%;
    right: 45px;
  }
}

@media (max-width: 639px) {
  .map-overlay--search-box {
    width: calc(100% - 40px);
  }
}

.map-overlay--search-box input:not([type]),.map-overlay--search-box [type="text"] {
  border-radius: 10px;
  background: #fff;
  height: var(--height);
  line-height: var(--height);
  width: 283px;
  font-size: 18px;
  letter-spacing: -0.5px;
  padding: 0 50px 0 20px;
}

@media (max-width: 800px) {
  .map-overlay--search-box input:not([type]), .map-overlay--search-box [type="text"] {
    width: 296px;
    font-size: 12px;
    height: calc(var(--height) - 10px);
  }
}

@media (max-width: 639px) {
  .map-overlay--search-box input:not([type]), .map-overlay--search-box [type="text"] {
    width: 100%;
  }
}

.map-overlay--search-box svg {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.map-overlay--search-results {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: 283px;
  position: absolute;
  top: 95px;
  left: 20px;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  padding-right: 10px;
  max-height: calc(100vh - 210px);
}
.cruise-page .map-overlay--year, .stops-page .map-overlay--year {
  display: none!important;
}
@media (max-width: 800px) {
  .map-overlay--search-results {
    display: none!important;
  }
}

.map-overlay--search-overflow {
  overflow-y: auto;
  padding: 2px 0;
  padding-right: 10px;
}

.map-overlay--search-block {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.map-overlay--search-block.map-overlay--search-companies {
  flex: 0 3 auto;
}

.map-overlay--search-block.map-overlay--search-ships {
  flex: 0 4 auto;
}

.map-overlay--search-block:last-child {
  margin-bottom: 0;
}

.map-overlay--search-title {
  cursor: pointer;
  margin-bottom: 15px;
  font-size: 18px;
  letter-spacing: -0.5px;
  user-select: none;
  display: inline-block;
  width: 215px;
}

.map-overlay--search-title svg {
  margin-left: 5px;
  transition: 0.5s;
}

.map-overlay--search-select {
  cursor: pointer;
  margin-bottom: 21px;
  font-size: 18px;
  letter-spacing: -1.3px;
  user-select: none;
}

.map-overlay--search-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.map-overlay--search-checks .map-overlay--search-check {
  font-size: 16px;
  letter-spacing: -0.5px;
}

.map-overlay--search-checks label {
  width: 100%;
}

.map-overlay--search-checks .custom-checkbox+label::before {
  transform: translateY(-5px);
}

.map-overlay--search-checks .color {
  width: 17px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-right: 7px;
}

.map-overlay--search-select,
.map-overlay--search-checks {
  display: none;
}

.map-overlay--search-block.active .map-overlay--search-select,
.map-overlay--search-block.active .map-overlay--search-checks {
  display: flex;
}

.map-overlay--search-block:not(.active):last-child .map-overlay--search-title {
  margin-bottom: 5px;
}

.map-overlay--search-block:not(.active) .map-overlay--search-title svg {
  transform: rotate(180deg);
}

.map-overlay--buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 25px;
  left: 317px;
  height: calc(var(--height) - 10px);
}

.map-overlay--ship-details {
  position: fixed;
  right: 10px;
  top: 72px;
  width: 300px;
  min-height: 200px;
  max-height: 500px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 1000;
  display: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

.map-overlay--ship-details.active {
  display: block;
  opacity: 1;
}

.map-overlay--ship-details .map__popup-scroller {
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

.map__popup-scroller .cruise-map__icon_type_ship {
  fill: transparent !important;
}

.map-overlay--ship-details-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.map-overlay--ship-details-close:hover {
  color: #ff0000; /* Подсветка при наведении */
}

.map-overlay--all-ships-container {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 317px;
  top: 95px;
}

.map-overlay--all-ships-button {
  padding: 8px 16px;
  background-color: var(--main);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.map-overlay--all-ships-button:hover {
  background-color: #fff;
  color: #000;
}
@media (max-width: 1400px) {
  .map-overlay--buttons-wrapper {
    display: block;
    height: auto;
    left: auto;
    top: calc(20px + var(--height) + 15px);
    right: calc(var(--height) * 3 + 35px);
    background: #fff;
    border-radius: 7px;
  }
  .map-overlay--fullscreen-btn {
    right: 145px;
  }
}

@media (max-width: 900px) {
  .map-overlay--buttons-wrapper {
    right: calc(var(--height) * 3 + 17px);
  }
  .map-overlay--fullscreen-btn {
    right: 120px;
  }
}

@media (max-width: 639px) {
  .map-overlay--buttons-wrapper {
    top: 69px;
    right: 69px;
  }
}

.map-overlay--buttons-content {
  display: flex;
  gap: 10px;
}

@media (max-width: 1400px) {
  .map-overlay--buttons-content {
    flex-direction: column;
    padding: 7px;
    gap: 7px;
  }
}

.map-overlay--btn {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--height) - 10px);
  height: calc(var(--height) - 10px);
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}

.map-overlay--button-text {
  display: none;
  color: var(--main);
  font-size: 10px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
}

.map-overlay--btn.active .map-overlay--button-text {
  color: #fff;
}

@media (max-width: 1400px) {
  .map-overlay--btn {
    border-radius: 6px;
    width: calc(var(--height) - 11px);
    height: calc(var(--height) - 11px);
  }

  .map-overlay--button-text {
    display: block;
  }

  .map-overlay--buttons-content .map-overlay--btn {
    width: 92px;
    height: 27px;
  }

  .map-overlay--buttons-content .map-overlay--btn svg {
    width: 12px;
    height: 12px;
    margin-right: 5px;
  }
}

.map-overlay--btn.active {
  background-color: var(--main);
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn:hover {
    background-color: var(--main);
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn:hover {
    background-color: var(--main);
  }
}

.map-overlay--btn {
  background-color: #fff;
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn.active:hover {
    background-color: #fff;
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn.active:hover {
    background-color: #fff;
  }
}

.map-overlay--menu {
  width: 24px;
  height: 38px;
  order: 2;
}

.map-overlay--menu .toggle svg {
  width: 9px;
}

.map-overlay--menu.active .toggle svg {
  transform: rotate(180deg);
}

.map-overlay--menu .toggle,
.map-overlay--menu .open,
.map-overlay--menu .close {
  line-height: 0;
}

@media (min-width: 1401px) {
  .map-overlay--menu .open,
  .map-overlay--menu .close {
    display: none;
  }
}

@media (max-width: 1400px) {
  .map-overlay--menu {
    position: absolute;
    order: unset;
    top: calc(-15px - var(--height));
    right: 0;
    display: flex;
    width: calc(var(--height) - 11px);
    height: calc(var(--height) - 11px);
    align-items: center;
    justify-content: center;
  }

  .map-overlay--menu .toggle,
  .map-overlay--menu:not(.active) .close,
  .map-overlay--menu.active .open {
    display: none;
  }
}

@media (max-width: 639px) {
  .map-overlay--menu {
    top: 0;
    right: calc(1px - var(--height));
  }
  .map-overlay--fullscreen-btn {
    right: 70px;
  }
}
@media (max-width: 380px) {
  .map-overlay--fullscreen-btn {
    right: 20px;
    top: 68px;
  }
}
.map-overlay--toggle-btn:not(.active)+div {
  display: none;
}

.map-overlay--time {
  position: absolute;
  top: 20px;
  right: calc(var(--height) * 2 + 30px);
}

@media (max-width: 900px) {
  .map-overlay--time {
    right: calc(var(--height) * 2 + 18px);
  }
}

@media (max-width: 639px) {
  .map-overlay--time {
    top: 118px;
    right: 20px;
  }
}

.map-overlay--line {
  position: absolute;
  top: 20px;
  right: calc(var(--height) + 25px);
}

@media (max-width: 900px) {
  .map-overlay--line {
    right: calc(var(--height) + 19px);
  }
}


@media (max-width: 639px) {
  .map-overlay--line {
    top: 167px;
    right: 20px;
  }
}

.map-overlay--copy {
  position: absolute;
  top: 20px;
  right: 20px;
}

@media (max-width: 639px) {
  .map-overlay--copy {
    top: 216px;
    right: 20px;
  }
}

.map-overlay--layers {
  display: none;
  position: absolute;
  left: calc(480px + 3 * (var(--height) + 15px));
  top: calc(20px + var(--height) + 15px);
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
}

@media (max-width: 900px) {
  .map-overlay--layers {
    left: unset;
    right: calc(var(--height) + 30px);
    top: calc(var(--height) + 35px);
  }
}

@media (max-width: 700px) {
  .map-overlay--layers {
    right: 20px;
    top: calc(var(--height) * 4 + 80px);
  }
}

@media (min-width: 951px) {
  .map-overlay--layers .map-overlay--layers-hidden {
    display: none;
  }
}

.map-overlay--overlays {
  position: absolute;
  top: calc(20px + var(--height) + 15px);
  right: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
}

.map-overlay--overlays-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-overlay--range-dates {
  padding: 20px 5px;
  border-radius: 10px;
  position: absolute;
  width: calc(100% - 20%);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1052px;
  min-height: var(--height);
}

@media (max-width: 1250px) {
  .map-overlay--range-dates {
    width: calc(100vw - 290px);
  }
}

@media (max-width: 800px) {
  .map-overlay--range-dates {
    width: calc(100vw - 40px);
  }
  .map-overlay--all-ships-container {
    left: 20px;
    top: 80px;
  }
}

.range--deco {
  position: absolute;
  top: 68px;
  color: var(--main);
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
  height: 18px;
  border-radius: 3px;
  background: #fff;
  padding: 1px 8px;
}

.range--deco span {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px;
}

.range--deco-left {
  left: 0;
}

.range--deco-right {
  right: 0;
}

body .map-overlay--range-dates .rs-container {
  width: calc(100% - 40px);
}

body .map-overlay--range-dates .rs-container:after,
body .map-overlay--range-dates .rs-container:before {
  position: absolute;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background-color: #fff;
  z-index: 10;
  content: "";
}

.map-overlay--range-dates .rs-tooltip {
  transform: translate(-50%, 0);
  left: 50%;
  top: -28px;
  font-size: 13px;
  background: #fff;
  color: var(--main);
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
  height: 18px;
  border-radius: 3px;
  padding: 1px 3px;
  border: none;
  min-width: unset;
}

body .map-overlay--range-dates .rs-container:after {
  right: 0;
}

body .map-overlay--range-dates .rs-container:before {
  left: 0;
}

body .map-overlay--range-dates .rs-container .rs-pointer {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 33;
}

.map-overlay {
  position: relative;
  height: 100%;
  pointer-events: none;
}

.map-overlay>* {
  pointer-events: auto;
}

.map-overlay--search-check .color {
  background-color: var(--map-overlay--search-check_color);
}

.map-overlay--range-dates-hidden {
  visibility: hidden;
  pointer-events: none;
}

.map-overlay--range-dates .rs-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12.5px 0;
}

.map-overlay--range-dates .rs-container .rs-bg {
  inset: auto;
}

.map-overlay--range-dates .rs-container .rs-pointer {
  left: var(--map-overlay--range-dates_point);
  transform: translateX(-50%);
}

.rs-left-bg {
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(var(--map-overlay--range-dates_point) + 15px);
  height: 20px;
  background: var(--main);
  border-radius: 10px;

}

.map-overlay svg {
  transition: none;
}

.map-overlay--search-box svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 800px) {
  .map-overlay--search-box svg {
    width: 18px;
    height: 18px;
    opacity: 0.5;
  }
}



.map-overlay--search-title svg {
  width: 16px;
  height: 8px;
}

.map-overlay--search-title span {
  font-weight: 600;
}

.map-overlay--btn svg {
  width: 28px;
  height: 28px;
  transition-duration: 0.4s;
  transition-property: fill, stroke;
}

@media (max-width: 900px) {
  .map-overlay--btn svg {
    width: 20px;
    height: 20px;
  }
}

.map-overlay--btn-primary-stroke.active svg *,
.map-overlay--btn.active .map-overlay--btn-primary-stroke svg * {
  stroke: #ffffff;
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn-primary-stroke:hover svg *,
  .map-overlay--buttons-content .map-overlay--btn:hover .map-overlay--btn-primary-stroke svg * {
    stroke: #ffffff;
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn-primary-stroke:hover svg *,
  :not(.map-overlay--buttons-content) > .map-overlay--btn:hover .map-overlay--btn-primary-stroke svg * {
    stroke: #ffffff;
  }
}

.map-overlay--btn-primary-stroke svg * {
  stroke: var(--main);
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn.active:hover .map-overlay--btn-primary-stroke svg *,
  .map-overlay--buttons-content .map-overlay--btn-primary-stroke.active:hover svg * {
    stroke: var(--main);
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn.active:hover .map-overlay--btn-primary-stroke svg *,
  :not(.map-overlay--buttons-content) > .map-overlay--btn-primary-stroke.active:hover svg * {
    stroke: var(--main);
  }
}

.map-overlay--btn-primary-fill.active svg *,
.map-overlay--btn.active .map-overlay--btn-primary-fill svg * {
  fill: #ffffff;
  stroke: var(--main);
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn:hover .map-overlay--btn-primary-fill svg *,
  .map-overlay--buttons-content .map-overlay--btn-primary-fill:hover svg * {
    fill: #ffffff;
    stroke: var(--main);
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn:hover .map-overlay--btn-primary-fill svg *,
  :not(.map-overlay--buttons-content) > .map-overlay--btn-primary-fill:hover svg * {
    fill: #ffffff;
    stroke: var(--main);
  }
}

.map-overlay--btn-primary-fill svg * {
  fill: var(--main);
  stroke: #ffffff;
}

@media (min-width: 1401px) {
  .map-overlay--buttons-content .map-overlay--btn-primary-fill.active:hover svg *,
  .map-overlay--buttons-content .map-overlay--btn.active:hover .map-overlay--btn-primary-fill svg * {
    fill: var(--main);
    stroke: #ffffff;
  }
}

@media (min-width: 901px) {
  :not(.map-overlay--buttons-content) > .map-overlay--btn-primary-fill.active:hover svg *,
  :not(.map-overlay--buttons-content) > .map-overlay--btn.active:hover .map-overlay--btn-primary-fill svg * {
    fill: var(--main);
    stroke: #ffffff;
  }
}

.asteriks svg {
  width: 24px;
  height: 24px;
  fill: var(--main);
}

.map-overlay--range-dates .rs-container .rs-pointer {
  position: relative;
  padding: 2px;
}

.map-overlay--range-dates .rs-container .rs-pointer svg {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: #ffffff;
  stroke: var(--main);
}

@media (max-width: 800px) {
  .stops-page .map-overlay--overlays {
    top: 20px;
    right: calc(25px + var(--height));
  }
}

@media (max-width: 639px) {
  .map-overlay--overlays {
    top: 216px;
    right: 69px;
  }
}

.map-overlay--zoom-block {
  position: absolute;
  top: max(50% - 80px, 230px);
  right: 24px;
}
.stops-page .map-overlay--zoom-block {
  top: max(50% - 160px, 74px);
}

@media (max-width: 800px) {
  .stops-page .map-overlay--zoom-block {
    top: max(50% - 80px, 80px);
  }
}

@media (max-width: 639px) {
  .map-overlay--zoom-block {
    top: max(60% - 26px, 280px);
  }

  .cruise-page .map-overlay--zoom-block {
    top: max(50% - 80px, 80px);
  }
}

.map-overlay--zoom-block-button {
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.map-overlay--zoom-block-button svg {
  stroke: #32739D;
}

.map-overlay--zoom-block-button-reset {
  margin-top: 18px;
  border: 1px solid #32739D;
}

@media (max-width: 800px) {
  .map-overlay--zoom-block-button-reset {
    display: flex;
  }

  .map-overlay--zoom-block-button {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }

  .map-overlay--zoom-block-button-reset {
    margin-top: 16px;
  }

  .map-overlay--zoom-block-button-reset svg {
    width: 16px;
    height: 16px;
  }
}

.map-overlay--ships-wrapper {
  position: absolute;
  top: 20px;
  right: calc(var(--height) * 3 + 35px);
  padding: 16px;
  height: 48px;
  width: 300px;
  border-radius: 10px;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.2px;
  gap: 3px;
}

@media (max-width: 1500px) {
  .map-overlay--ships-wrapper {
    width: 283px;
    font-size: 15px;
  }
}

@media (max-width: 1400px) {
  .map-overlay--ships-wrapper {
    right: calc(var(--height) * 4 + 40px);
  }
}

@media (max-width: 1300px) {
  .map-overlay--ships-wrapper {
    display: none!important;
  }
}

@media (max-width: 639px) {
  .map-overlay--search-box svg {
    width: 15px;
    height: 15px;
    opacity: 0.5;
  }
  .map-overlay--all-ships-container {
    left: 20px;
    top: 69px;
  }
}

.map-overlay--time-indicator {
  position: absolute;
  display: none;
  align-items: baseline;
  gap: 20px;
  top: 14px;
  left: calc(811px + (100% - 1400px) / 2);
  transform: translateX(-50%);
  padding: 20px;
  padding-top: 16px;
  padding-bottom: 15px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.15);
}

.map-overlay--time-indicator.active {
  display: flex;
}

.map-overlay--time-indicator-date {
  color: var(--main);
  font-size: 18px;
  line-height: 120%;
}

.map-overlay--time-indicator-time {
  color: var(--main);
  font-size: 25px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.4px;
}

@media (max-width: 1400px) {
  .map-overlay--time-indicator {
    left: 50%;
  }
}

@media (max-width: 900px) {
  .map-overlay--time-indicator {
    padding: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 13px;
    border-radius: 8px;
    top: 20px;
    left: auto;
    right: 22%;
  }

  .map-overlay--time-indicator-date {
    font-size: 12px;
  }

  .map-overlay--time-indicator-time {
    font-size: 16px;
  }
}

@media (max-width: 690px) {
  .map-overlay--time-indicator {
    right: 28%;
  }

  .map-overlay--time-indicator-date {
    display: none;
  }
}

@media (max-width: 639px) {
  .map-overlay--time-indicator {
    top: 70px;
    right: 50%;
    transform: translateX(50%);
  }
}

.cruise-page .map-overlay--search,
.cruise-page .map-overlay--time-indicator,
.cruise-page .map-overlay--ships-wrapper,
.cruise-page .map-overlay--time,
.cruise-page .map-overlay--ship,
.cruise-page .map-overlay--menu {
  display: none;
}

.cruise-page .map-overlay--buttons-wrapper {
  top: 20px;
  left: 20px;
  right: unset;
  background: unset;
  border-radius: unset;
}

@media (max-width: 1400px) {
  .cruise-page .map-overlay--buttons-wrapper.active {
    display: flex;
    background: transparent;
    top: 20px;
    left: 20px;
    padding: 0;
  }

  .cruise-page .map-overlay--buttons-content {
    flex-direction: row;
    padding: unset;
    gap: 10px;
  }

  .cruise-page .map-overlay--buttons-content .map-overlay--btn {
    border-radius: 6px;
    width: calc(var(--height) - 11px);
    height: calc(var(--height) - 11px);
  }

  .cruise-page .map-overlay--button-text {
    display: none;
  }

  .cruise-page .map-overlay--buttons-content .map-overlay--btn svg {
    width: 28px;
    height: 28px;
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .cruise-page .map-overlay--buttons-content .map-overlay--btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 640px) {
  .cruise-page .map-overlay--line {
    display: none;
  }
}

@media (max-width: 639px) {
  .cruise-page .map-overlay--copy {
    top: 20px;
    right: 20px;
  }

  .cruise-page .map-overlay--overlays {
    top: calc(20px + var(--height) + 15px);
    right: 20px;
  }
}

.rs-marker {
  position: absolute;
  display: block;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.range--deco-point {
  top: 48px;
  transform: translateX(-50%);
}

@media (max-width: 1023px) {
  .range--deco-point {
    display: none;
  }
}

.stops-page .map-overlay--search,
.stops-page .map-overlay--time-indicator,
.stops-page .map-overlay--ships-wrapper,
.stops-page .map-overlay--time,
.stops-page .map-overlay--ship,
.stops-page .map-overlay--buttons-wrapper,
.stops-page .map-overlay--range-dates {
  display: none;
}

@media (max-width: 639px) {
  .stops-page .map-overlay--copy {
    top: 20px;
    right: 20px;
  }

  .cruise-page .map-overlay--overlays {
    top: calc(20px + var(--height) + 15px);
    right: calc(25px + var(--height));
  }

  .stops-page .map-overlay--line {
    top: 20px;
    right: 74px;
  }
}

.one-stop-page .map-overlay--line {
  display: none;
}

.map-overlay--mode-switch {
  display: none;
  position: absolute;
  align-items: center;
  flex-direction: column;
  top: 90px;
  left: calc(350px + (100% - 1400px) / 2);
  transform: translateX(-50%);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0; 
  border-radius: 20px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border: 2px solid #999;
}

.toggle-slider:before {
  content: "";
  position: absolute;
  width: 29px;
  height: 29px;
  left: 5px;
  bottom: 4px;
  background-color: white;
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.toggle-label {
  font-size: 12px;
  color: #666;
  z-index: 1;
  transition: color 0.3s ease;
  user-select: none;
}

.toggle-label.left {
  margin-left: 8px;
}

.toggle-label.right {
  margin-right: 8px;
}

input:checked + .toggle-slider {
  background-color: var(--main);
}

input:checked + .toggle-slider:before {
  transform: translateX(38px);
}

input:checked + .toggle-slider .left {
  color: #666;
}

input:checked + .toggle-slider .right {
  color: white;
}

input:not(:checked) + .toggle-slider .left {
  color: white;
}

input:not(:checked) + .toggle-slider .right {
  color: #666;
}

input:focus + .toggle-slider {
  box-shadow: 0 0 2px #4CAF50;
}

.location-label {
  margin-top: 10px;
  padding: 8px;
  background-color: rgba(217, 217, 217, 0.5);
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  width: 145px;
  font-weight: bold;
  color: var(--main);;
}
.map-overlay--soc-icon {
  position: absolute;
  bottom: 95px;
  right: 22px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.map-overlay--soc-icon svg {
  width: 42px;
  height: 42px;
}
.auth-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  padding: 50px 20px;
  border: 1px solid rgb(204, 204, 204);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
  z-index: 1000;
  text-align: center;
  max-width: 520px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.auth-popup p {
  margin: 0 0 10px;
}

.auth-popup a {
  display: flex;
  margin-bottom: 10px;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 30px auto 0;
  padding: 5px 10px;
  cursor: pointer;
  width: 300px;
  text-transform: uppercase;
  font-weight: 600;
}

.auth-popup button {
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.auth-popup button:hover {
  background-color: #e0e0e0;
}
.close-popup {
  position: absolute; 
  top: 10px; 
  right: 10px; 
  cursor: pointer; 
  width: 38px; 
  height: 38px; 
  fill: #333;
}
.popup-auth-text {
  font-weight: bold; 
  font-size: 22px; 
  text-transform: uppercase; 
  display: block; 
  margin-bottom: 15px;
}
.map-overlay--year {
  position: absolute;
  top: 180px;
  right: 24px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-overlay--year-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.map-overlay--year-btn.active {
  background-color: var(--main);
  color: #ffffff;
  border-color: var(--main);
}
.map-overlay--year-btn:not(.active):hover {
  background-color: #e9ecef;
  border-color: #bbb;
}
.map-overlay--year-btn:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

@media (max-width: 1700px) {
  .map-overlay--mode-switch {
    left: 550px;
  }
}
@media (max-width: 1400px) {
  .map-overlay--mode-switch {
    left: 500px;
    top: 86px;
  }
}
@media (max-width: 1200px) {
  .map-overlay--year {
    top: 140px;
  }
  .map-overlay--soc-icon {
    display: none!important;
  }
}
@media (max-width: 1000px) {
  .map-overlay--mode-switch {
    top: 135px;
    left: 318px;
    transform: inherit;
  }
}
@media (max-width: 640px) {
  .map-overlay--year {
    gap: 6px;
    padding: 0;
    top: 110px;
    right: auto;
    left: 20px;
  }

  .map-overlay--year-btn {
      padding: 6px 12px;
      font-size: 12px;
  }
}
@media (max-width: 800px) {
  .map-overlay--mode-switch {
    top: 80px;
    left: 160px;
  }
}
@media (max-width: 639px) {
  .toggle-switch {
    width: 70px;
    height: 36px;
  }
  .auth-popup a {
    font-size: 12px;
  }
  .auth-popup {
    padding: 40px 15px;
  }
  .popup-auth-text {
    font-size: 16px;
  }
  .map-overlay--mode-switch {
    left: 20px;
    top: 70px;
    transform: initial;
  }
  .location-label {
    width: 130px;
    font-size: 12px;
  }
  input:checked + .toggle-slider:before {
    transform: translateX(32px);
  }
  .toggle-slider:before {
    width: 25px;
    height: 25px;
  }
  .map-overlay--soc-icon svg {
    width: 35px;
    height: 35px;
  }
}
.map-container {
  position: relative;
  display: grid;
}

.map-container__map,
.map-container__overlay {
  grid-area: 1 / 1 / 2 / 2;
  z-index: 0;
}

.map-container__map {
  position: relative;
  height: 100vh;
}

.map-container__map map {
  height: 100%;
}

.map-container__overlay {
  position: absolute;
  inset: 0;
}

:root {
	--height: 58px;
}
@media all and (max-width: 1440px) {
  :root {
    --height: 58px;
  }
}
@media (max-width: 900px) {
  :root {
    --height: 50px;
  }
}

main {
  padding: 0;
  background-color: unset;
}

img {
  image-rendering: -webkit-optimize-contrast !important;
}

svg {
  transition: none;
}

.rs-container * {
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.rs-container {
  font-family: Arial, Helvetica, sans-serif;
  height: 45px;
  position: relative;
}
.rs-container .rs-bg,
.rs-container .rs-pointer,
.rs-container .rs-selected {
  background-color: #eee;
  height: 10px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 100%;
  border-radius: 3px;
}
.rs-container .rs-pointer,
.rs-container .rs-selected {
  background-color: #00b3bc;
  transition: all 0.2s linear;
  width: 0;
}
.rs-container.disabled .rs-selected {
  background-color: #ccc;
  border-color: #bbb;
}
.rs-container .rs-pointer {
  background-color: #fff;
  cursor: pointer;
  height: 20px;
  left: -10px;
  top: 0;
  width: 30px;
}
.rs-container.disabled .rs-pointer {
  border-color: #ccc;
  cursor: default;
}
.rs-container .rs-pointer::after,
.rs-container .rs-pointer::before,
.rs-container .rs-scale span::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 9px;
  background-color: #ddd;
  left: 12px;
  top: 5px;
}
.rs-container .rs-pointer::after {
  left: auto;
  right: 12px;
}
.rs-container.sliding .rs-pointer,
.rs-container.sliding .rs-selected {
  transition: none;
}
.rs-container .rs-scale {
  left: 0;
  position: absolute;
  top: 5px;
  white-space: nowrap;
}
.rs-container .rs-scale span {
  float: left;
  position: relative;
}
.rs-container .rs-scale span::before {
  background-color: #ededed;
  height: 8px;
  left: 0;
  top: 10px;
}
.rs-container.rs-noscale span::before {
  display: none;
}
.rs-container.rs-noscale span:first-child::before,
.rs-container.rs-noscale span:last-child::before {
  display: block;
}
.rs-container .rs-scale span:last-child {
  margin-left: -1px;
  width: 0;
}
.rs-container .rs-scale span ins {
  color: #333;
  display: inline-block;
  font-size: 12px;
  margin-top: 20px;
  text-decoration: none;
}
.rs-container.disabled .rs-scale span ins {
  color: #999;
}
.rs-tooltip {
  color: #333;
  width: auto;
  min-width: 60px;
  height: 30px;
  background: #fff;
  border: 1px solid #00969b;
  border-radius: 3px;
  position: absolute;
  transform: translate(-50%, -35px);
  left: 13px;
  text-align: center;
  font-size: 13px;
  padding: 6px 10px 0;
}
.rs-container.disabled .rs-tooltip {
  border-color: #ccc;
  color: #999;
}

.filter-overlay {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;

  >h2 {
    display: none;
    font-weight: 600;
    font-size: 30px;
    padding: 0 11%;
    text-transform: uppercase;
    letter-spacing: -1.9px;

    @media (max-width: 1919px) {
      padding: 0 12.6%;
    }

    @media (max-width: 1599px) {
      padding: 0 20px;
    }
  }

  @media (max-width: 1599px) {
    flex-wrap: wrap;
    gap: 10px;
  }

  @media (max-width: 800px) {
    gap: 20px;
  }
}

.filter-box {
  visibility: hidden;
  display: flex;
  position: absolute;
  top: 95px;
  right: 146px;
  width: 320px;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  background-color: #fff;
  border-radius: 10px;
  z-index: 1000;
}

.filter-box.active {
  visibility: visible;
}

._label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
  width: 100%;

  .symbol {
    border: 1px solid #32739d;
    color: #32739d;
    width: 17.5px;
    height: 17.5px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  p {
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.3px;
    text-align: left;
  }
}

@media (max-width: 639px) {
  ._label:nth-child(2) {
    display: none;
  }

  ._label:nth-child(3) {
    gap: 2px;
  }

  ._label p {
    font-size: 12px;
  }

  ._label .symbol {
    width: 11px;
    height: 11px;
    font-size: 9px;
    line-height: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.datepicker-container {
  position: relative;
}

.datepicker-label {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px 0 0;
  border-radius: 10px;
  border: 1px solid #EEEEEE;
  overflow: hidden;
}

#datepicker-input {
  width: 100%;
  padding: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.datepicker-label svg {
  fill: var(--main);
}

#datepicker-calendar {
  position: absolute;
  top: 70px;
  left: 0;
  width: 280px;
  max-width: calc(100vw - 40px);
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 11px 11px;
  z-index: 1000;

  >button {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #32739d;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
  }
}

.hidden {
  display: none;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}

.calendar-header button {
  background: none;
  border: none;
  color: #000;
  font-size: 28px;
  line-height: 14px;
  padding-bottom: 4px;
  cursor: pointer;
}

#prev-month {
  order: -1;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-top: 5px;
}

#calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 10px 0;
  padding-bottom: 18px;
}

.calendar-days > :nth-child(7),
#calendar-body > :nth-child(7n) {
  color: #BF0000;
}

.day {
  width: 36.8px;
  height: 36.8px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

@media (max-width: 450px) {
  .day {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

.day:hover {
  border-color: #32739d;
}

.day.selected {
  border-color: #32739d;
}

.range-container {
  position: relative;
  height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 10px;
  gap: 10px;
  z-index: 999;
}

.slider-container {
  position: relative;
  width: 100%;
  padding: 0 25px;

  i {
    position: absolute;
    top: 50%;
    transform: translateY(-25%);
    width: 16px;
    height: 16px;
    border: 1px solid #00000075;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
  }
}

.slider-container i:last-child {
  left: 10px;
}

.--title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #444;
  font-weight: 400;
  font-size: 14px;
}

#time-slider {
  width: 100%;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

#time-slider::-webkit-slider-runnable-track {
  height: 1px;
  background: #00000075;
  border-radius: 5px;
}

#time-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -7px;
  background: #32739d;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

#time-tooltip {
  position: absolute;
  top: -20px;
  background: white;
  border: 1px solid #32739d;
  color: #32739d;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  transition: left 0.1s ease-out;
}

.time-picker-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 58px;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  background-color: #fff;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  text-align: center;
  position: relative;
  margin-bottom: 63px;
}

#timeInput {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: -1;
}

@media (max-width: 900px) {
  .filter-box {
    right: 118px;
  }
}


@media (max-width: 800px) {
  .filter-overlay {
    >h2 {
      padding: 0 20px 200px;
    }
  }

  .datepicker-container,
  .range-container,
  .time-picker-container {
    width: 100%;
    height: 54px;
  }
}

@media (max-width: 639px) {
  .filter-overlay {
  }

  .filter-box {
    top: 118px;
    right: 69px;
    width: 195px;
    gap: 17px;
  }
}


._label .time-picker-label {
  display: block;
  text-align: center;
}

#timeDisplay {
  color: black;
  opacity: 0.5;
}

.timepicker-hide-button {
  width: 100%;
  padding: 19px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  border-radius: 10px;
  background: var(--main);
  cursor: pointer;
}

@media (max-width: 639px) {
  .timepicker-hide-button {
    padding: 12px;
    font-size: 9px;
    border-radius: 6px;
  }
}

.mobile-datepicker-container {
  display: none;
  gap: 10px;
}

@media (max-width: 639px) {
  .mobile-datepicker-container {
    display: flex;
  }

  .datepicker-container {
    display: none;
  }
}

#mobile-day-input,
#mobile-month-input {
  width: 100%;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #EEEEEE;
  border-radius: 6px;
  background-color: #fff;
  font-size: 12px;
  color: #000;
  appearance: none;
  outline: none;
}

.mobile-input-button-day,
.mobile-input-button-month {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%279%27 height=%275%27 viewBox=%270 0 12 8%27 fill=%27none%27%3E%3Cpath d=%27M1 1L6 6L11 1%27 stroke=%27%2332739D%27 stroke-width=%272%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.mobile-input-button-day.active,
.mobile-input-button-month.active {
  transform: translateY(-50%) rotate(180deg);
}

.moblie-input-wrapper {
  position: relative;
  height: 28px;
}

.mobile-options-container-day,
.mobile-options-container-month {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  padding: 0 10px;
  width: 100%;
  height: 85px;
  overflow-y: auto;
  border: 1px solid #EEEEEE;
  border-radius: 6px;
  background-color: #fff;
  z-index: 999;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-options-container-day.active,
.mobile-options-container-month.active {
  display: block;
}

.mobile-options-container-day::-webkit-scrollbar,
.mobile-options-container-month::-webkit-scrollbar {
  display: none;
}

.mobile-options-container-day li,
.mobile-options-container-month li {
  list-style: none;
  padding: 3.5px;
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 10px;
  border-bottom: 1px solid #EEEEEE;
  transition: background-color 0.3s ease;
}

.mobile-options-container-day li.active,
.mobile-options-container-month li.active {
  color: #000;
}

.mobile-options-container-day li:first-child,
.mobile-options-container-month li:first-child {
  margin-top: 20px;
}

.mobile-options-container-day li:last-child,
.mobile-options-container-month li:last-child {
  border-bottom: none;
  margin-bottom: 20px;
}

@media (max-width: 639px) {
  .time-picker-container {
    height: 34px;
    margin-bottom: 23px;
    border-radius: 6px;
  }
}

.loading {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.loading div {
    border-radius: 10px;
    padding: 40px 80px;
    background-color: #eee;
}
