.center{
    align-items: center;
}

.space{
  display: flex;
  justify-content: center;
  .layout-corral{
    max-width: calc($layout-width + 2 * $pxl);
    padding: 0 $pxl;
    flex-grow: 1;
  }
  .page-corral{
    max-width: calc($page-width + 2 * $pxl);
    padding: 0 $pxl;
    flex-grow: 1;
  }
}



jumbotron{
  .jumbotron-bg{
    height: 400px;
    background-size: cover;
    background-position: center;
    .jumbotron-content{
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      header-user-bar{
        align-self: flex-end;
        margin-top: $pl;
      }
      h1{
        margin-top: calc( 0px - $pl );
        max-width: $page-width;
        align-self: center;
        width: 100%;
      }
    }
  }
  .jumbotron-edit-field{
    height: 60px;
    .jumbotron-edit-field-row{
      max-width: calc($page-width  + 2 * $pxl);
      div{
        display: flex;
        align-items: center;
        gap: $pxs;
      }
      display: flex;
      justify-content: flex-end;
    }
  }
}


left-content{
  flex-basis: 180px;
  flex-shrink: 0;
  pages-menu:not(.lvl-0,.open){
    display: none;
  }
}

right-content{
  flex-basis: 180px;
  flex-shrink: 0;
  .item{display: none;}
  pages-menu.current{
    pages-menu-item>.item{
      display: flex;
    }
  }
}

.content-sapce{
  flex-grow: 1;
  .content-grid{
    display: flex;
    >*{
      flex-grow: 1;
    }
    .main-content{
      width: 100%;
      max-width: $page-width;
    }
    
  }
}

footer{
  background-color: var(--prime-act);
  align-self: stretch;

  .footer {
    width: 100%;
    padding: 40px 0;
    margin-top: 48px;
    
    color: white;
    display: flex;
    flex-direction: column;
    .block{
      a{
        cursor: pointer;
        color: white;
        :hover{
          color: white;
        }
      }
      display: flex;
      flex-wrap: wrap;
      grid-gap: 20px;
      &>div{
        padding-bottom: 40px;
      }
      div{
        display: block;
        flex-grow: 1;
        flex-basis: 196px;
        flex-shrink: 0;
        margin-bottom: -16px;
        div {
          margin-bottom: 16px;
        }
      }
      .icons a{
        margin-right: 16px;
      }
      .menu{
        display: block;
      }
    }
  
    .line{
      width: 100%;
      height: 1px;
      background-color: var(--prime);
      margin-bottom: 40px;
    }
  
    .copyright{
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
    }
  }
}

@media screen and (max-width: 1330px){
  .footer{
    padding: 40px 24px;
  }
  .space{
    .layout-corral{
      max-width: 100vw;
    }
  }
  right-content, left-content{
    display: none;
  }
}





pages-menu-item{
  display: flex;
  flex-direction: column;
  .item{
    display: flex;
    align-items: flex-start;
    drop-down{
        margin-left: -24px;
    }
    min-height: 24px;
    >a{
      margin-top: 4px;
      &.active {
        color: #000000;
      }
    }
  }

}



.pages{
  width: 100%;
}