.ty-layout {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }
  .ty-layout_has-sidebar {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row; }

.ty-layout-header {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 60px;
  background-color: #fff; }

.ty-layout-footer {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 24px 50px;
  background-color: #fff; }

.ty-layout-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #fff; }

.ty-layout-sidebar {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: all 200ms;
  transition: all 200ms;
  background: #12131a;
  color: #fff; }
  .ty-layout-sidebar:last-child .ty-layout-sidebar__trigger-icon {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg); }
  .ty-layout-sidebar__children {
    height: 100%; }
  .ty-layout-sidebar__trigger {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    cursor: pointer;
    height: 40px;
    background-color: #002140;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; }
  .ty-layout-sidebar_light {
    background-color: #fff;
    color: #333; }
    .ty-layout-sidebar_light .ty-layout-sidebar__trigger {
      background-color: #efefef; }
    .ty-layout-sidebar_light .ty-layout-sidebar__trigger-icon {
      color: #bbb; }
