/* ADMIN PROJECTS STYLES */
.project_area_caption {
  padding: 52px 0;
  padding-bottom: 41px;
}

.project_area_caption .page_title_section {
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 22px;
}

.project_area_content {
  overflow-x: hidden;
}

.projects_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-right: -12px;
  margin-left: -12px;
}

.projects_cell {
  width: calc(25% - 24px);
  margin: 0 12px;
  overflow: visible;
  margin-bottom: 35px;
}

.projects_cell_cover {
  width: 100%;
  height: 100%;
  position: relative;
}

.project_cell_square {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid #bfbfbf;
  border-bottom: none;
}

.project_cell_pic {
  width: 100%;
  height: 100%;
}

.projects_cell_footer {
  position: relative;
  bottom: 0;
  width: 100%;
  height: 32px;
  background: #000;
  display: block;
}

.projects_cell_footer_info {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 8px 0;
  background: #000;
}

.projects_add_block {
  width: 100%;
  height: 100%;
  border: 1px solid #bfbfbf;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.projects_add_info {
  padding: 0;
  margin: 0;
}

.projects_add_caption {
  font-family: Raleway;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
}

.projects_add_plus {
  width: 53px;
  height: 53px;
  background: url(../img/icons_adm/icon_add_project.svg) center center no-repeat;
  background-size: contain;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 6px;
}

.projects_cell_footer_cols {
  display: flex;
  flex-direction: row;
  width: calc(100% - 39px);
  height: 100%;
  align-items: flex-start;
  align-content: flex-start;
  padding-left: 9px;
}

.projects_cell_footer_left {
  width: 65%;
  text-align: left;
}

.projects_cell_footer_right {
  width: 35%;
  text-align: right;
}

.project_footer_text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
  color: #fff;
}

.cell_project_name {
  display: block;
}

.cell_project_date {
  display: block;
}

.cell_project_delete {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 6px;
  right: 5px;
  cursor: pointer;
  text-align: center;
}

.cell_project_delete_icon {
  display: block;
  width: inherit;
  height: inherit;
  background: url(../img/icons_adm/icon_delete_project.svg) center center no-repeat;
  background-size: contain;
}

@media (max-width: 1198px) {
  .projects_cell_footer {
    height: 32px;
  }

  .project_footer_text {
    font-size: 11px;
  }

  .cell_project_delete {
    width: 17px;
    height: 17px;
    bottom: 9px;
  }

  .projects_add_info {
    max-width: 110px;
  }

  .projects_add_plus {
    width: 48px;
    height: 48px;
    margin-bottom: 14px
  }

  .projects_add_caption {
    font-size: 14px;
  }
}

@media (max-width: 950px) {
  .project_area_caption {
    padding: 32px 0;
    padding-bottom: 27px;
  }

  .project_area_caption h1.page_title_section {
    font-size: 14px;
  }

  .projects_cell_footer {
    height: 34px;
  }

  .projects_cell_footer_cols {
    display: flex;
    flex-direction: column;
    width: calc(100% - 39px);
    height: 100%;
    align-items: flex-start;
    align-content: flex-start;
    padding-left: 9px;
  }

  .projects_cell_footer_right {
    text-align: left;
  }

  .project_footer_text {
    font-size: 12px;
  }

  .projects_cell {
    width: calc(50% - 24px);
  }
}

@media (max-width: 600px) {
  .projects_grid {
    margin-right: -5px;
    margin-left: -5px;
  }

  .projects_cell {
    width: calc(50% - 10px);
    margin-bottom: 10px;
    margin: 0 5px;
    margin-bottom: 10px;
  }

  .projects_cell_footer {
    height: 31px;
  }

  .project_footer_text {
    font-size: 12px;
  }

  .projects_cell_footer_left,
  .projects_cell_footer_right {
    width: 100%;
    text-align: left;
  }

  .cell_project_date {
    font-size: 11px;
    padding-top: 3px;
  }

  .projects_add_info {
    max-width: 100%;
  }

  .projects_add_plus {
    width: 41px;
    height: 41px;
    margin-bottom: 14px
  }

  .projects_add_caption {
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .projects_cell_cover {
    width: 100%;
    aspect-ratio: 1/1;
  }

  .projects_grid {
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .projects_cell {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
  }
}