@charset "UTF-8";
#socool-modal-container {
  color: rgba(0, 0, 0, 0.65);
  width: 100%;
  background-color: rgba(213, 225, 235, 0.8);
  z-index: 9999999;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
#socool-modal-container #socool-modal-listen-button {
  display: none;
}

#socool-modal-window {
  overflow: hidden;
  margin: 40px auto 0 auto;
  max-width: 870px;
  background: #fff;
  position: relative;
}

.show-socool-modal {
  overflow: hidden;
}
.show-socool-modal #socool-modal {
  display: block;
}

#socool-modal {
  display: none;
}

#socool-modal-close {
  display: block;
  float: left;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 16px;
  right: 10px;
  cursor: pointer;
  z-index: 10;
  content: "×";
}

#socool-modal-close-icon {
  display: block;
  float: left;
  width: 48px;
  height: 48px;
  position: absolute;
  background: #eff5f9;
  border-radius: 24px;
  opacity: 1;
  transition: all 2s;
}
#socool-modal-close-icon:before, #socool-modal-close-icon:after {
  position: absolute;
  left: 23px;
  top: 8px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: #5d5d5d;
  border-radius: 3px;
}
#socool-modal-close-icon:before {
  transform: rotate(45deg);
}
#socool-modal-close-icon:after {
  transform: rotate(-45deg);
}

#socool-modal-close:hover {
  cursor: pointer;
}
#socool-modal-close:hover #socool-modal-close-icon {
  opacity: 0;
  transition: all 2s;
}
#socool-modal-close:hover #socool-modal-close-button {
  opacity: 1;
  width: auto;
  width: 128px;
  transition: all 1s;
}

#socool-modal-close-button {
  position: absolute;
  right: -1px;
  width: 48px;
  border-radius: 24px;
  line-height: 45px;
  height: 48px;
  padding: 0 20px;
  border: none;
  background: #9d9d9d;
  color: white;
  opacity: 0;
  transition: all 1s;
  overflow: hidden;
}

.tapahtuma-socool-modal {
  overflow: hidden;
}

body.darkMode #socool-modal-container {
  background-color: rgba(0, 0, 0, 0.8);
}
body.darkMode #socool-modal-window {
  background-color: #3c3c3c;
  color: white;
}
body.darkMode #socool-modal-content .article {
  background-color: #3c3c3c;
  color: white;
}

@media only screen and (max-width: 799px) {
  #socool-modal-window {
    margin: 0 auto;
  }
  #socool-modal-close {
    width: 30px;
    height: 30px;
    top: 11px;
  }
  #socool-modal-close:hover #socool-modal-close-button {
    width: 128px;
  }
  #socool-modal-close-icon {
    width: 30px;
    height: 30px;
    border-radius: 16px;
  }
  #socool-modal-close-icon:before, #socool-modal-close-icon:after {
    left: 14px;
    top: 5px;
    height: 20px;
    width: 2px;
    border-radius: 2px;
  }
  #socool-modal-close-button {
    right: -1px;
    width: 30px;
    height: 30px;
    border-radius: 16px;
    line-height: 30px;
    padding: 0 20px;
  }
}
@media only screen and (max-width: 799px) {
  #socool-modal-window {
    margin: 0 auto;
  }
  #socool-modal-close {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
  }
}/*# sourceMappingURL=custom-socool-modal.css.map */