body {
  margin: 0;
  padding: 0;
}

iframe {
  display: block;
  margin: 0;
  padding: 0;
  border: none !important;
}

.modal {
  background: rgb(255 255 255 / 0.7);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  z-index: -1;
}

.modal.active {
  opacity: 1;
  z-index: 9999;
}

.modal-content {
  position: fixed;
  background: #fff;
  transform: translate(0%, -100%);
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.modal.active .modal-content {
  transform: translate(0%, 0%);
  transition-delay: 0.3s;
  z-index: 9999;
  opacity: 1;
  border-radius: 8px;
  box-shadow: 0 0 10px #dbdbdb;
  border: 1px solid #ccc;
}

.modal-content iframe {
  display: inline-block;
  height: 100%;
  width: 100%;
  border: none;
  border-radius: 8px;
}

.modal-content .close {
  position: absolute;
  display: table-cell;
  padding: 3px;
  color: #000;
  text-align: center;
  border: solid #000 1px;
  border-radius: 3px;
  top: -20px;
  right: -20px;
  cursor: pointer;
  background-color: #000;
}

.modal-content .close svg {
  vertical-align: middle;
}

#root {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

#root .main-section {
  width: 100%;
  transition: width 0.3s ease-in-out;
  transition-delay: 0.3s;
}

#root .messaging-section,
#root #jevaContentArea {
  width: 0%;
  transition: width 0.3s ease-in-out;
  transition-delay: 0.3s;
}

#root.messaging-active .main-section {
  width: calc(100% - 400px);
}

#root.messaging-active .messaging-section {
  width: 399px;
  border-left: solid silver 1px;
  background-color: #fff;
}

#root.messaging-active .messaging-section iframe,
#root.jeva-active #jevaContentArea iframe {
  height: 100%;
  width: 100%;
  border: none;
}

#root.jeva-active .main-section {
  cursor: default;
}

#root.jeva-active #jevaContentArea {
  border-left: solid silver 1px;
  background-color: #fff;
}

@media only screen and (max-width: 600px) {
  #root.messaging-active .main-section {
    width: 0%;
  }

  #root.messaging-active .messaging-section {
    width: 100%;
  }

  #root.jeva-active .main-section {
    width: 0% !important;
  }

  #root.jeva-active #jevaContentArea {
    width: 100% !important;
  }
}

.messaging-btn {
  cursor: pointer;
  margin-left: 3px;
}

.messaging-btn.active svg {
  fill: #000;
}
