/* GENERAL STYLES */
html.modal_active,
html body.modal_active {
  overflow: hidden;
}

.modal-container {
  width: 100%;
  height: 100%;
  height: 100vh;
  display: none;
  padding: 1rem 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  background-color: rgba(255, 245, 245, 0.5019607843);
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.modal-container#modal-comments {
  z-index: 99999;
}
.modal-container .modal {
  top: 10%;
  transition: top 0.8s ease-in-out;
}
.modal-container .modal::after {
  width: 1rem;
  height: 3rem;
  position: absolute;
  content: "";
  bottom: -2rem;
}
.modal-container.modal-active {
  opacity: 1;
  display: flex;
  visibility: visible;
  position: fixed;
  transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.modal-container.modal-active .modal {
  top: 15px;
  transition: top 0.7s ease-in-out 0.7s;
}
.modal-container.modal-inactive {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: visibility 0.6s ease-in-out, opacity 0.6s ease-in-out;
}
.modal-container.modal-inactive .modal {
  top: 10%;
  transition: top 0.4s ease-in-out 0.4s;
}
.modal-container .footer-modal {
  width: 100%;
  display: none;
  position: absolute;
}
.modal-container .footer-modal .footer-outside {
  width: 100%;
  padding: 12px 50px;
  background-color: #e83687;
  top: calc(100vh - 68px);
  position: fixed;
}
.modal-container .footer-modal .footer-outside .footer-modal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-container .footer-modal .footer-outside .footer-modal-inner .separator-v.white {
  height: 30px;
  margin: 7px 14px;
}

.modal {
  width: 90%;
  min-width: 380px;
  position: absolute;
  max-width: 1640px;
  border-radius: 20px;
  background-color: #fff;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 45px 20px 0 20px;
  box-shadow: 0px 10px 40px -15px #333333;
}
.modal[data-direction=column] {
  flex-direction: column;
}
.modal .nav-container {
  z-index: -1;
  width: 110%;
  height: 95%;
  display: none;
  position: absolute;
}
.modal .nav-container .nav-card {
  display: flex;
  justify-content: space-between;
  top: 50%;
  position: sticky;
}
.modal .nav-container .nav-card .nav-buttons {
  width: 30px;
  height: 70px;
  outline: none;
  border: none;
  background-color: #e83687;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.modal .nav-container .nav-card .nav-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal .nav-container .nav-card .nav-left .nav-buttons {
  border-radius: 10px 0px 0px 10px;
  margin-bottom: 3px;
}
.modal .nav-container .nav-card .nav-right {
  align-self: flex-end;
}
.modal .nav-container .nav-card .nav-right .nav-buttons {
  border-radius: 0 10px 10px 0;
}
.modal .close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 59px;
  cursor: pointer;
  border-radius: 50%;
  border: 5px solid #fff;
  background-color: #fec4b0;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1607843137);
  top: -16px;
  right: -16px;
  position: absolute;
}
.modal .close-modal img {
  max-width: 35px;
  max-height: 35px;
}

.tag {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: #fff;
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 5px;
  margin: 0 0.5rem 1rem 0;
  background-color: #95a1bb;
  transition: 0.25s background ease-in-out;
}
.tag.rose {
  background-color: #e83687;
}
.tag.black {
  background-color: #333333;
}

.separator-v {
  width: 1px;
  height: 14px;
  background-color: #333;
}
.separator-v::before {
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  height: inherit;
  width: 1px;
  margin: 0 14px;
}
.separator-v.orange {
  height: 100%;
  width: 2px;
  background-color: #fec4b0;
}
.separator-v.white {
  background-color: #fff;
}

.separator-h {
  width: 100%;
  display: flex;
  align-items: center;
}
.separator-h.orange {
  background-color: #fec4b0;
}

.separator-h::before {
  content: "";
  width: inherit;
  height: 1px;
}

.separator-h-image {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 23px;
}
.separator-h-image > span {
  font-weight: 600;
}
.separator-h-image > i {
  margin-right: 5px;
}

.separator-h[data-mt] {
  margin: 40px 0 40px 0;
}

@media screen and (max-width: 950px) {
  .modal-container .footer-modal {
    display: block;
  }
  .modal {
    width: 85%;
  }
  .modal .nav-container {
    width: 108%;
    display: block;
  }
  .modal .close-modal {
    width: 35px;
    height: 35px;
    border: 3px solid #fff;
  }
  .modal .close-modal img {
    max-width: 35px;
    max-height: 35px;
  }
}
@media screen and (max-width: 840px) {
  .separator-h[data-mt] {
    margin: 23px 0 40px 0;
  }
  .modal .nav-container {
    display: block;
    width: 110%;
  }
}
@media screen and (max-width: 768px) {
  .modal-container.modal-active .modal {
    padding-bottom: 30px !important;
  }
}
@media screen and (max-width: 500px) {
  .modal .nav-container {
    display: block;
    width: 115%;
  }
}
