/* Sub Layer */
body[class*="_rio"] .swal2-container.swal2-shown {
  background: rgba(16, 17, 21, 0.9);
  z-index: 100000;
}

.wrio-modal {
  padding: 0 !important;

  .swal2-close {
    color: rgba(0, 0, 0, .8);
  }

  .swal2-modal {
    border-radius: 2px;
  }

  .swal2-icon {
    margin-bottom: 25px;
  }

  .swal2-title {
    margin: 0;
    padding: 28px 32px;
    font-size: 24px;
    text-align: left;
    color: #fff !important;
    background: #3e3e3e !important;
  }

  .swal2-content {
    font-size: 14px;
    padding: 28px 32px;
    background: #efefef;
  }

  .swal2-buttonswrapper {
    margin-top: 0;
    padding: 22px;
    background: #F4F7F9;

    a.button svg {
      margin-right: 12px;
      vertical-align: -2px;
    }

    button.loading {
      border-radius: 100% !important;
      height: 40px !important;
      padding: 0 !important;
      box-shadow: none !important;
    }

    button.swal2-styled {
      height: auto;
      padding: 12px 32px;
      margin: 10px;
      font-size: 14px;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: 3px;
      font-weight: bold;
      outline: none;

      &.swal2-confirm {
        background-color: #fdd599 !important;
        text-shadow: none !important;
        box-shadow: 0 3px 0 #ceac7a !important;
        color: #a57b3c !important;
      }

      &.swal2-cancel {
        background-color: #d2d2d2 !important;
        color: #656464 !important;
        text-shadow: none !important;
        box-shadow: 0 3px 0 #a9a9a9;
        /*background-color: #c9deb2 !important;
        color: #606956 !important;
        text-shadow: none !important;
        box-shadow: 0 3px 0 #a7b994;*/
      }

      &:focus, &:hover {
        outline: none;
        text-shadow: none;
        color: #FFF;
      }
    }
  }
}

.wrio-modal-warning {
  background: #FF5722 !important;

  .swal2-title {
    text-align: center;
    color: #222 !important;
    background: #efefef !important;
  }

  .swal2-content {
    font-size: 16px;
    padding: 10px 20px 32px;
    background: #efefef;
  }

  .swal2-buttonswrapper {
    background: #efefef;
  }
}

.wrio-modal-error {
  background: #dec2c0 !important;

  .swal2-title {
    text-align: center;
    color: #222 !important;
    background: #efefef !important;
  }

  .swal2-content {
    font-size: 16px;
    padding: 10px 20px 32px;
    background: #efefef;
  }

  .swal2-buttonswrapper {
    background: #efefef;
  }
}

.wrio-modal-optimization-way {
  background: #1F2332 !important;

  .wrio-swal-subtitle {
    padding: 0 0 28px;
    margin-top: 0px;
    font-weight: 500;
    font-size: 18px;
    text-align: left;
    color: #8c8888;
    background: #efefef;
  }

  .wrio-list-infos {
    margin: 0;
    padding: 0;

    li {
      display: flex;
      align-items: center;
      padding: 15px 5px;
      text-align: left;
      font-size: 14px;
      line-height: 1.5;
      color: #8c8888;
    }

    li:first-child {
      padding-top: 5px;
    }

    li:last-child {
      padding-bottom: 5px;
    }

    li + li {
      border-top: 1px solid #E9EFF2;
    }

    a:before {
      content: '';
      display: block;
    }
  }

  .wrio-info-icon {
    flex-grow: 0;
    flex-basis: 50px;
  }

  .wrio-info-icon + span {
    padding-left: 20px;
  }
}
