.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media screen and (min-width: 769px) {
  .modal {
    position: absolute;
  }
}
.modal.-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal .youtube {
  margin: 48px auto 0;
}
@media screen and (min-width: 769px) {
  .modal .youtube {
    width: 100%;
    margin: 48px auto 0;
  }
}
.modal .youtube .youtube-text {
  display: none;
}

.modal-bg {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.modal-window {
  display: none;
  background-color: #fff;
  position: absolute;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 90%;
  height: 94%;
  left: 5%;
  top: 3%;
}
@media screen and (min-width: 769px) {
  .modal-window {
    width: 900px;
    height: auto;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
.modal-window.-show {
  display: block;
}
.modal-window h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: normal;
}
.modal-window.modalYoutube-window {
  background-color: transparent;
  height: auto;
  top: 10%;
}
.modal-window.modalYoutube-window .modal-close {
  background-color: transparent;
  right: 0;
  top: 0;
}
@media screen and (min-width: 769px) {
  .modal-window.modalYoutube-window .modal-close {
    right: 0;
    top: 0;
  }
}

.modal-scroll {
  padding: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: auto;
}
@media screen and (min-width: 769px) {
  .modal-scroll {
    padding-bottom: 111px;
  }
}
@media screen and (max-width: 768px) {
  .modal-scroll {
    height: calc(100%);
    padding: 20px 20px 90px 20px;
  }
}

@media screen and (min-width: 769px) {
  .modal-tag-td{
    height:500px;
  }
}

.modal-chechboxes {
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  .modal-chechboxes {
    margin-top: 40px;
  }
}
.modal-chechboxes ul {
  margin-top: -10px;
  overflow: hidden;
}
.modal-chechboxes li {
  margin-right: 10px;
  margin-top: 10px;
  line-height: 1.3;
  float: left;
}
.modal-chechboxes span {
  background-color: #EAF0F0;
  color: #000;
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.3rem;
  cursor: pointer;
}
@media screen and (min-width: 769px) {
  .modal-chechboxes span {
    font-size: 1.4rem;
    padding: 10px 15px;
  }
}
.modal-chechboxes span:hover {
  background-color: #CADBD9;
}
.modal-chechboxes input {
  display: none;
}
.modal-chechboxes input:checked + span {
  background-color: #49847B;
  color: #fff;
}

.modal-tags {
  margin-top: 10px;
}
@media screen and (min-width: 769px) {
  .modal-tags {
    margin-top: 20px;
  }
}
.modal-tags .modal-chechboxes {
  margin-top: 0px;
}
.modal-tags td,
.modal-tags th {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
@media screen and (max-width: 768px) {
  .modal-tags td,
.modal-tags th {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .modal-tags td {
    padding-bottom: 15px;
  }
}
.modal-tags th {
  font-weight: normal;
  white-space: nowrap;
  vertical-align: top;
  padding-right: 30px;
}
@media screen and (max-width: 768px) {
  .modal-tags th {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.modal-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  padding: 20px 0 20px;
}
@media screen and (min-width: 769px) {
  .modal-buttons {
    padding: 20px 0 40px;
  }
}
.modal-buttons > * {
  margin: 0 10px;
}
@media screen and (min-width: 769px) {
  .modal-buttons > * {
    margin: 0 20px;
  }
}
.modal-buttons button {
  background-color: #fff;
  color: #226660;
  border: 2px solid #226660;
  display: inline-block;
  padding: 10px 30px;
  font-size: 1.8rem;
  border-radius: 30px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
@media screen and (min-width: 769px) {
  .modal-buttons button {
    padding: 10px 50px;
  }
}
.modal-buttons button:hover {
  background-color: #226660;
  color: #fff;
}
.modal-buttons a {
  font-size: 1.8rem;
  text-decoration: none;
}
.modal-buttons a:hover {
  color: #A6A6A6;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
}
@media screen and (min-width: 769px) {
  .modal-close {
    right: 15px;
    top: 10px;
  }
}
.modal-close img {
  width: 20px;
}
.modal-close:hover {
  opacity: 0.5;
}

.map-modal-wrap {
  height: 697px;
  overflow: hidden;
  position: relative;
}

.map-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.map-modal.-show {
  visibility: visible;
}
.map-modal.-hide {
  visibility: hidden;
}

@media screen and (min-width: 769px) {
  .map-modal-search p {
    padding-left: 208px !important;
  }
}

.category-modal-body {
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-box-shadow: inset 0 0 0 2000px rgba(0, 46, 103, 0.4);
  box-shadow: inset 0 0 0 2000px rgba(0, 46, 103, 0.4);
  color: #fff;
  padding: 0px;
  margin-top: 25px;
  padding: 50px;
}
@media screen and (max-width: 768px) {
  .category-modal-body {
    padding: 20px;
  }
}
.category-modal-body .category-modal-item {
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .category-modal-body .category-modal-item {
    margin-top: 30px;
  }
}
.category-modal-body .category-modal-item h3 {
  font-size: 2.5rem;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .category-modal-body .category-modal-item h3 {
    font-size: 2rem;
  }
}
.category-modal-body .category-modal-item p {
  color: #fff;
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .category-modal-body .category-modal-item p {
    font-size: 1.4rem;
  }
}

.video-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 10px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal-scroll-map {
  padding: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: auto;
}
@media screen and (min-width: 769px) {
  .modal-scroll-map {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 768px) {
  .modal-scroll-map {
    height: calc(100%);
    padding: 20px 20px 90px 20px;
  }
}
.modal-scroll-map section {
  padding: 50px;
  margin-top: 25px;
}
@media screen and (max-width: 768px) {
  .modal-scroll-map section {
    padding: 20px;
  }
}
@media screen and (min-width: 769px) {
  .modal-scroll-map .topFind-map {
    width: 300px;
  }
}