[class*='edbox'] {
  box-sizing: border-box; }

.edbox {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; }
  .edbox:not(.edbox-alert) {
    background: rgba(0, 0, 0, 0.5); }
  .edbox .edbox-close {
    transition: .35s;
    cursor: pointer; 
    width:40px;
    height:40px;
    background-color:#E85514; 
    border-radius: 25px;
  }

  .edbox .edbox-close:hover {
    background-color:#F39800; 
  }
    .edbox .edbox-close:before {
      display: block;
      font-family: 'grotesk-rounded';
      font-size: 53px;
      content: '×';
      color: #fff;
      line-height: 40px;
      text-align: center;
      }
  .edbox .edbox-load {
    width: 40px;
    height: 40px;
    background: url("../img/puff.svg") center no-repeat;
    background-size: 40px 40px; }
  .edbox .edbox-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column;
    flex-flow: column;
    position: relative;
    max-height: calc(100% - 110px); 
    width:100%;
  }
  .edbox-body{
    margin-top: 60px;
  }
    .edbox .edbox-body .edbox-close {
      position: absolute;
      top: -20px;
      right: -20px;
      color: #000; }
    .edbox .edbox-body .edbox-header,
    .edbox .edbox-body .edbox-footer {
      padding: 10px;
      width: 100%;
      background: #eee; }
    .edbox .edbox-body .edbox-header {
      padding-right: 40px; }
      .edbox .edbox-body .edbox-header .edbox-close {
        top: 10px;
        right: 10px;
        color: #000; }
    .edbox .edbox-body .edbox-content {
      overflow: auto; }
      .edbox .edbox-body .edbox-content .edbox-target {
        display: block !important; }
      .edbox .edbox-body .edbox-content > img {
        display: block; }
  .edbox.edbox-scroll-y-true .edbox-body, .edbox.edbox-scroll-y-true .edbox-body .edbox-content {
    height: 100%; 
   }
  .edbox.edbox-scroll-y-true .edbox-body > .edbox-close {
    right: -20px; }
  .edbox.edbox-close-false .edbox-close {
    display: none; }
  .edbox.edbox-alert {
    -ms-flex-align: start;
    align-items: flex-start;
    padding-top: 30px;
    font: 16px Arial, sans-serif; }
    .edbox.edbox-alert .edbox-alert-container {
      display: -ms-flexbox;
      display: flex;
      padding: 15px;
      border: 1px solid;
      color: #fff; }
      .edbox.edbox-alert .edbox-alert-container .edbox-close {
        margin-left: 15px;
        color: #fff; }
    .edbox.edbox-alert.edbox-alert-success .edbox-alert-container {
      border-color: #2f8d59;
      background: mediumseagreen; }
    .edbox.edbox-alert.edbox-alert-info .edbox-alert-container {
      border-color: #38678f;
      background: steelblue; }
    .edbox.edbox-alert.edbox-alert-warning .edbox-alert-container {
      border-color: #cc8400;
      background: orange; }
    .edbox.edbox-alert.edbox-alert-danger .edbox-alert-container {
      border-color: #ff3814;
      background: tomato; }
  .edbox .edbox-animate-open,
  .edbox .edbox-animate-close {
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards; }
  .edbox .edbox-animate-open {
    animation-name: edbox-animate-open; }
  .edbox .edbox-animate-close {
    animation-name: edbox-animate-close; }

.edbox-temp {
  display: none; }

@keyframes edbox-animate-open {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes edbox-animate-close {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }


@media(max-width: 1320px){
    .edbox.edbox-scroll-y-true .edbox-body > .edbox-close {
    right: 10px; }
}