:host {
  display: block;
  height: 100%;
}

.page {
  display: flex;
  flex-direction: column;
  height: 100%;

  .sidenav-container {
    flex: 1;

    .layout-container {
      top: 50px;
    }
  }
}

.resolutions-group {
  border: 0;

  .mat-button-toggle-appearance-standard {
    background-color: transparent;
    color: #fff;
    border-left: 0;

    &.mat-button-toggle-checked {
      color: #2196f3;
    }
  }

  ::ng-deep .mat-button-toggle-label-content {
    line-height: 35px;
    padding: 0 10px;
  }

  .material-icons {
    font-size: 20px;
  }
}

.mat-drawer-content {
  background-color: #ecebeb;
  transition-property: none !important; /** disable animation */
}

.sidenav-content {
  display: flex;
  flex-direction: column;
  height: 100%;

  transition-duration: 400ms;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-property: transform, margin-left, margin-right;
}

.sidenav-blocks-catalog {
  width: calc(75% - 25px);
  padding: 20px 20px 0;
}

.no-section {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
  cursor: pointer;
  text-align: center;
}

.no-margin-right {
  margin-right: 0 !important;
}

.container-sections {
  height: 100%;
  padding-top: 20px;
}

.col-elements {
  overflow: hidden;
  background-color: #ecebeb;

  .blocks {
    height: 380%;
    overflow-y: auto;

    -webkit-transform: scale(0.25);
    -moz-transform: scale(0.25);
    -ms-transform: scale(0.25);
    -o-transform: scale(0.25);
    transform-origin: 25px 25px;
    -webkit-transition: transform 0.25s linear;
    -moz-transition: transform 0.25s linear;
    -ms-transition: transform 0.25s linear;
    -o-transition: transform 0.25s linear;
    transition: transform 0.25s linear;
  }

  .new-block {
    display: flex;
    flex-direction: column;
    margin: 20px;
    padding: 0 5px;
    height: 150px;
    background: #fff;
    border: solid 3px #f5f5f5;
    text-align: center;
    justify-content: center;
    position: relative;

    h1 {
      text-transform: uppercase;
      font-size: 15px;
      margin-bottom: 5px;

      &::after {
        content: "";
        display: block;
        margin: 0 auto;
        width: 20%;
        border-bottom: 1px solid black;
      }
    }
  }
}

.texte-preview {
  text-transform: uppercase;
  font-size: 18px;
  text-align: center;
  padding: 10px 5px;
  margin: 30px 22px 0 22px;
}
