/* == Modal == */
.modal-open .dimmer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1049;
  background-color: rgba(0,0,0,0.75);
}
.modal-open {
  overflow: hidden;
}
.modal-open .wojo.modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.wojo.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.wojo.modal .dialog {
  position: relative;
  width: auto;
  pointer-events: none;
  margin: 1.75rem auto;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
 min-height: calc(100% - (1.75rem * 2));
}
.wojo.modal .dialog > .content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--grey-color-300);
  border-radius: 0.250rem;
  outline: 0;
}
.wojo.modal .dialog > .content > .header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--grey-color-300);
  border-top-left-radius: 0.250rem;
  border-top-right-radius: 0.250rem;
}
.wojo.modal .dialog > .content > .header h5 {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 600;
}
.wojo.modal .dialog > .content > .header h5 span {
  margin:0 .5rem;
  font-size: 1rem;
}
.wojo.modal .dialog > .content > .body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.5rem;
 /* max-height: calc(100vh - 200px);
  overflow-y: auto;*/
}
.wojo.modal .dialog > .content > .footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid var(--grey-color-300);
  border-bottom-right-radius: 0.250rem;
  border-bottom-left-radius: 0.250rem;
}
.wojo.modal .dialog > .content > .footer > :not(:first-child) {
  margin-left: .25rem;
}
.wojo.modal .dialog > .content > .footer > :not(:last-child) {
  margin-right: .25rem;
}
/* == Size == */
.wojo.small.modal .dialog {
  width: 320px;
}
.wojo.modal .dialog {
  width: 480px;
}
.wojo.medium.modal .dialog {
  width: 640px;
}
.wojo.big.modal .dialog {
  width: 1024px;
}
.wojo.full.modal .dialog {
  width: 100%;
}
/* == Mobile == */
@media screen and (max-width:48.063em) {
.wojo.big.modal .dialog,
.wojo.full.modal .dialog {
  width: 100%;
}
}
/* == Phone == */
@media screen and (max-width:30em) {
.wojo.small.modal .dialog,
.wojo.modal .dialog,
.wojo.medium.modal .dialog,
.wojo.big.modal .dialog,
.wojo.full.modal .dialog {
  width: 100%;
}
}