@import '../../styles/colors';

.projects__container.cell .card__title {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects__container.cell .card__head {
  margin-bottom: 15px;
}

.projects__container.cell .card__parameters {
  margin-bottom: 10px;
}

.projects__container.cell .card__scale {
  margin-bottom: 10px;
}

.projects__container.cell .card .options {
  display: none;
}

.projects__container.line .card__head {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding-right: 30px;
}

.projects__container.line .card__parameters {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 258px;
  flex: 0 0 258px;
  padding-right: 20px;
}

.projects__container.line .card__percent {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 42px;
  margin: 0;
  text-align: right;
}

.projects__container.line .card__scale {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 242px;
  flex: 0 0 242px;
  margin-right: 50px;
}

.projects__container.line .card__line {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.projects__container.line .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 17px 25px;
}

.projects .card:not(:last-child) {
  margin-bottom: 10px;
}

.dashboard__list .card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333% - 30px);
  flex: 0 0 calc(33.333% - 30px);
  width: calc(33.333% - 30px);
  margin: 30px 15px 0;
}

@media only screen and (max-width: 767px) {
  .dashboard__list .card {
    width: 100%;
    margin: 10px 0 0;
  }
}

@media only screen and (max-width: 1365px) {
  .projects__container.line .card__head {
    padding-right: 20px;
  }


  .projects__container.line .card__parameters {
    padding-right: 15px;
  }

  .projects__container.line .card__scale {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 170px;
    flex: 0 0 170px;
    margin-right: 20px;
  }
}

@media only screen and (max-width: 1599px) {
  .dashboard__list .card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    margin: 20px 10px 0;
  }
}

@media only screen and (max-width: 1439px) {
  .projects__container.line .card__parameters {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 245px;
    flex: 0 0 245px;
  }

  .projects__container.line .card__scale {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 200px;
    flex: 0 0 200px;
    margin-right: 30px;
  }

  .projects__container.line .card {
    padding: 15px;
  }
}

@media only screen and (max-width: 1199px) {
  .dashboard__list .card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
  }
}