.alain-default {
  height: 100%;
  overflow: hidden;
}

.alain-default .page-header {
  margin-top: -10px;
  padding: 10px 10px 0 10px;

  .ant-breadcrumb {
    margin-bottom: 10px;
  }

  .ant-tabs {
    margin: 0 0 0px 0px;
  }
}

.alain-default__nav {
  & > li {
    height: 50px;
    line-height: 50px;

    .alain-default__nav-item {
      height: 50px;
      line-height: 50px;
      border-radius: 0px;

      & > i {
        vertical-align: super;
        margin-top: 8px;
      }
    }
  }
}

.alain-default__content {
  margin: 0 0 0 300px;
  padding: 10px;
  height: calc(100% - 86.5px);
  overflow-y: scroll;
}

.alain-default__fixed .alain-default__content {
  margin-top: 86.5px;
}

@media (max-width: 767px) {
  .alain-default__content {
    padding-top: 0px;
    margin-left: 0px;
    margin-top: 50px !important;
    height: calc(100% - 50px) !important;
    width: calc(100% - 300px) !important;
  }

  .alain-default__collapsed {
    .alain-default__content {
      width: 100% !important;
    }
  }

  .alain-default__fixed .reuse-tab {
    margin-top: 0px;
    margin-bottom: 8px;
  }

  .alain-default__aside,
  .alain-default__content {
    transition: none;
  }
}

.reuse-tab {
  padding: 1px;
}

.reuse-tab__op.anticon-close {
  display: inline-block !important;
}

@media (min-width: 768px) {
  .alain-default__collapsed .alain-default__content {
    margin-left: 64px;
  }

  .alain-default__fixed .reuse-tab + router-outlet {
    height: 0px;
  }

  .full-content__opened {
    .alain-default__fixed .reuse-tab + router-outlet {
      height: 0px;
    }
  }
}

.full-content {
  overflow: visible;
}

.full-content__body {
  .alain-default__content {
    router-outlet + * {
      height: calc(100% - 40px);
    }
  }
}

.full-content__opened {
  .alain-default__content {
    margin: 0 !important;
    padding: 8px !important;
    height: 100%;

    router-outlet + * {
      height: 100%;
    }
  }
}

.alain-default__aside-inner {
  &::-webkit-scrollbar {
    width: 0px !important;
  }
}
