/*
Theme Name: eventmap
Theme URI:  https://github.com/
Author: Stefan Kummer
URI: https://github.com/
Description: Starter theme
Version: 1.0
License: MIT License
License URI:  https://github.com/
Tags: minimum, skeleton
Text Domain: 
*/

html,
body {
  position: relative;
  height: 100%;
}
body {
  background: #eee;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  bottom: 10px;
  left: 0;
}
.swiper-pagination-bullet {
  width: 100%;
  height: 2px;
  position: relative;
  border-radius: 2px;
}
.swiper-pagination-bullet svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.swiper-pagination-bullet .path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 4s linear;
  stroke: #fff;
  stroke-width: 2px;
}
.swiper-pagination-bullet-active .path {
  stroke-dashoffset: 0;
}

.ymaps-2-1-79-map-copyrights-promo {
  display: none !important;
}

.events_wrap {
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.events_list {
  width: 300px;
  min-width: 300px;
  background-color: #fff;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.event {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.event .img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}
.event .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event .name {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
}
.event .date {
  background: #eaeaea;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
}
.event .text {
  padding: 0 8px 0 12px;
}

.event:hover {
  background-color: #f6f6f6;
  cursor: pointer;
}
.event:hover .name {
  color: #196dff;
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 300px;
  top: 0;
  width: 360px;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

.modal-content {
  background-color: #fefefe;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px 0 #00000033;
  overflow-y: auto;
}

.modal-content .content {
  padding: 12px;
}
.modal-content .close {
  position: absolute;
    right: 10px;
    top: 10px;
    background: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 100;
    border-radius: 40px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.swiper-slide {
  height: 180px;
  overflow: hidden;
  position: relative;
}