.simple-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-animation: animationSimpleModalOverlay 0.25s 1;
       -moz-animation: animationSimpleModalOverlay 0.25s 1;
            animation: animationSimpleModalOverlay 0.25s 1;
  }
  .simple-modal::-webkit-scrollbar {
    width: 4px;
  }
  .simple-modal::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.66);
  }
  .simple-modal__container,
  .simple-modal__middle {
    height: 100%;
  }
  .simple-modal__container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
    padding-right: 5px;
  }
  .simple-modal__middle,
  .simple-modal__box {
    width: 100%;
  }
  .simple-modal__middle {
    display: table;
  }
  .simple-modal__box {
    padding-top: 5px;
    padding-bottom: 5px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
  .simple-modal-box {
    display: inline-block;
    text-align: left;
    background-color: #fff;
    -webkit-border-radius: 6px;
            border-radius: 6px;
    -webkit-box-shadow: 0 5px 64px rgba(0,0,0,0.05);
            box-shadow: 0 5px 64px rgba(0,0,0,0.05);
    -webkit-animation: animationSimpleModalBox 0.25s 1;
       -moz-animation: animationSimpleModalBox 0.25s 1;
            animation: animationSimpleModalBox 0.25s 1;
  }
  .simple-modal-box--small {
    max-width: 280px;
  }
  .simple-modal-box--middle {
    max-width: 480px;
  }
  .simple-modal-box--large {
    max-width: 640px;
  }
  .simple-modal-box__header,
  .simple-modal-box__content {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
  }
  .simple-modal-box__header {
    padding-top: 5px;
    position: relative;
  }
  .simple-modal-box__title {
    padding-right: 40px;
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 700;
  }
  .simple-modal-box__close {
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    outline: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 47.971 47.971'%3E%3Cpath d='M28.228 23.986L47.092 5.122a2.998 2.998 0 000-4.242 2.998 2.998 0 00-4.242 0L23.986 19.744 5.121.88a2.998 2.998 0 00-4.242 0 2.998 2.998 0 000 4.242l18.865 18.864L.879 42.85a2.998 2.998 0 104.242 4.241l18.865-18.864L42.85 47.091c.586.586 1.354.879 2.121.879s1.535-.293 2.121-.879a2.998 2.998 0 000-4.242L28.228 23.986z'/%3E%3C/svg%3E");
    -webkit-background-size: 14px 14px;
            background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    -webkit-transition: opacity 0.1s ease-in-out, -webkit-transform 0.25s ease-in-out;
    transition: opacity 0.1s ease-in-out, -webkit-transform 0.25s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out, opacity 0.1s ease-in-out, -moz-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out, opacity 0.1s ease-in-out;
    transition: transform 0.25s ease-in-out, opacity 0.1s ease-in-out, -webkit-transform 0.25s ease-in-out, -moz-transform 0.25s ease-in-out;
  }
  .no-touch .simple-modal-box__close:hover {
    -webkit-transform: rotate(90deg);
       -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .no-touch .simple-modal-box__close:active {
    opacity: 0.7;
  }
  @-moz-keyframes animationSimpleModalOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @-webkit-keyframes animationSimpleModalOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes animationSimpleModalOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @-moz-keyframes animationSimpleModalBox {
    from {
      opacity: 0;
      -moz-transform: scale3d(0.95, 0.95, 0.95);
           transform: scale3d(0.95, 0.95, 0.95);
    }
    to {
      opacity: 1;
      -moz-transform: scale3d(1, 1, 1);
           transform: scale3d(1, 1, 1);
    }
  }
  @-webkit-keyframes animationSimpleModalBox {
    from {
      opacity: 0;
      -webkit-transform: scale3d(0.95, 0.95, 0.95);
              transform: scale3d(0.95, 0.95, 0.95);
    }
    to {
      opacity: 1;
      -webkit-transform: scale3d(1, 1, 1);
              transform: scale3d(1, 1, 1);
    }
  }
  @keyframes animationSimpleModalBox {
    from {
      opacity: 0;
      -webkit-transform: scale3d(0.95, 0.95, 0.95);
         -moz-transform: scale3d(0.95, 0.95, 0.95);
              transform: scale3d(0.95, 0.95, 0.95);
    }
    to {
      opacity: 1;
      -webkit-transform: scale3d(1, 1, 1);
         -moz-transform: scale3d(1, 1, 1);
              transform: scale3d(1, 1, 1);
    }
  }