/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
.cw-layout {
  display: flex;
  flex: auto;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; }

.cw-layout-content {
  flex: auto;
  position: relative;
  padding: 18px;
  margin: 0;
  box-sizing: border-box;
  z-index: 10;
  overflow-x: hidden; }

.cw-layout-header {
  flex: none;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  justify-content: space-between;
  margin: 0;
  box-sizing: border-box;
  z-index: 50;
  min-height: 58px; }

.cw-layout-footer {
  flex: none;
  text-align: center;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 10;
  min-height: 68px; }

.cw-layout-aside {
  flex: none;
  transition: all 0.2s ease-in;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

.cw-layout-aside-dark {
  background-color: #001529; }

.cw-layout-with-aside {
  flex-direction: row; }

@media only screen and (max-width: 640px) {
  .cw-layout-aside {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 52px;
    z-index: 500;
    transform: translateX(-100%); }
  .cw-layout-aside-collapse {
    flex-basis: auto;
    transform: translateX(0); } }

@media only screen and (min-width: 640px) and (max-width: 1024px) {
  .cw-layout-aside {
    flex-basis: 218px; }
  .cw-layout-aside-collapse {
    flex-basis: 48px; } }

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
  .cw-layout-aside {
    flex-basis: 238px; }
  .cw-layout-aside-collapse {
    flex-basis: 48px; } }

@media only screen and (min-width: 1280px) {
  .cw-layout-aside {
    flex-basis: 258px; }
  .cw-layout-aside-collapse {
    flex-basis: 58px; } }
