/* [ MODAL ] */
.modal_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  display: none;
}
.modal_wrapper .back_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.modal_wrapper .modal_block {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-2);
  min-width: 500px;
  max-width: 700px;
  opacity: 0;
  margin-top: 7rem;
  position: relative;
}
.modal_wrapper .modal_block .close_absolute.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: 0.28s ease;
}
.modal_wrapper .modal_block .close_absolute.close:hover {
  color: var(--preto);
}
.modal_wrapper .modal_block .modal_head {
  padding-bottom: 1rem;
  border-bottom: solid 2px var(--cinza);
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.modal_wrapper .modal_block .modal_head .h2 {
  color: var(--primary);
  font-weight: bold;
  max-width: 80%;
}
.modal_wrapper .modal_block .modal_head .close {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: 0.28s ease;
}
.modal_wrapper .modal_block .modal_head .close:hover {
  color: var(--preto);
}
.modal_wrapper .modal_block .modal_body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.modal_wrapper .modal_block .modal_footer {
  border-top: solid 2px var(--cinza);
  padding-top: 1rem;
}
.modal_wrapper .modal_block .modal_footer button + button {
  margin-left: 1rem;
}

@media screen and (max-width: 768px) {
  .modal_wrapper .modal_block {
    min-width: 400px;
  }
}
@media screen and (max-width: 576px) {
  .modal_wrapper .modal_block {
    min-width: 85vw;
    max-width: 90vw;
  }
}
