.window {
  background: #ffffff;
  border-radius: 5px;
  padding: 20px;
  width: 650px;
  max-width: calc(100vw - 20px);
  height: auto;
  overflow: hidden;

  hr {
    margin: 10px 0;
  }

  .close {
    align-content: flex-end;
  }

  .title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    h4,
    h3,
    h2 {
      flex-grow: 1;
    }
  }

  h4,
  h3,
  h2 {
    margin: 0;
  }

  .window-load {
    margin: 15px auto;
    .loading-box {
      .loading-icon img {
        width: 25px;
        height: 25px;
      }
      p {
        color: #444444;
        margin: 10px auto;
        font-size: 15px;
      }
    }
    .window-top {
      margin-top: 100px;
      align-self: flex-start;
    }
  }
}

.window-sub-container .element-input {
  margin-top: 10px;
}

.window-footer {
  padding: 10px 0;
}

.window.dialog {
  width: 425px;
}

.close {
  float: right;
  font-size: 19.5px;
  font-weight: normal;
  line-height: 1;
  color: #000000;
  text-shadow: none;
  filter: alpha(opacity=20);
  font-size: 34px;
  font-weight: 300;
  line-height: 24px;
  opacity: 0.5;
  transition: all 0.2s;
  background: transparent;
  border: none;

  &:hover {
    opacity: 1;
  }

  &:hover,
  &:focus {
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: 0.8;

    &::before {
      font-weight: 300;
      line-height: initial;
      transition: all 0.2s;
      opacity: 1;
      cursor: pointer;
    }
  }

  &button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
  }

  &.close-small::before {
    font-size: 16px;
  }
  &.close-medium::before {
    font-size: 20px;
  }
  &.close-large::before {
    font-size: 30px;
  }
}
