.credits, .credits *, .credits :before, .credits :after {
  box-sizing: border-box;
  outline: none;
}

.credits-container {
  padding-left: 15px;
  padding-right: 15px;
}

.card-credits {
  margin-bottom: 30px;
}

.credits-item {
  display: grid;
  align-items: center;
  position: relative;
  background-color: #fff;
  padding: 10px 10px 0;
  box-shadow: 0 0 25px #f7ecec;
  border-radius: 6px;
  margin-bottom: 20px;
  grid-template-columns: repeat(6, 1fr);
}
.credits-item + .credits-item {
  margin-top: 20px;
}
.credits-item-cell {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 0;
  padding: 8px 12px;
}
.credits-item-logo__img-wrap {
  flex-basis: 100%;
  margin: 0 auto;
  text-align: center;
}
.credits-item-logo__img {
  max-width: 138px;
  max-height: 41px;
}
.credits-item-license {
  padding-top: 10px;
  text-align: center;
}
.credits-item-license__link {
  font-size: 14px;
  font-weight: 800;
  text-decoration:  none !important;
  color: #0066bf !important;
}
.credits-item-license__link:hover {
  text-decoration:  none !important;
  color: #000 !important;
}
.credits-item-term,
.credits-item-rate,
.credits-item-amount,
.credits-item-age {
  border-left: 1px solid #ededed;
}
.credits-item-cell__value {
  margin-bottom: 5px;
  font-size: 20px;
  white-space: nowrap;
  text-align: center;
  font-weight: 800;
}
.credits-item-cell__name {
  font-size: 16px;
  white-space: nowrap;
  text-align: center;
  color: #7a7a7a;
}
.credits-item-btn {
  padding: 20px 0;
}
.credits-item-btn__countcredit {
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  margin: 5px 0;
}
.credits-item-btn__countcredit:before {
  content: url(../images/like.png);
  margin-right: 6px;
}
.credits-item-btn__link {
  display: flex !important;
  width: 100% !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 16px !important;
  padding: 15px 25px !important;
  color: #fff !important;
  text-decoration: unset !important;
  transition: background-color .2s ease-in-out !important;
  height: auto !important;
  background-color: #e2070e !important;
  border-color: #e2070e !important;
  border: 1px solid transparent !important;
  border-width: 2px !important;
  cursor: pointer !important;
  justify-content: center !important;
  white-space: nowrap !important;
  align-items: center !important;
  border-radius: 6px !important;
}
.credits-item-btn__link:hover {
  color: #e2070e !important;
  background-color: #fff !important;
  border-color: #e2070e !important;
}

@media (max-width: 769px) {
  .credits-item {
    display: flex;
    flex-direction: column;
    padding: 10px 20px 20px;
    align-items: center;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 25px #f7ecec;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  .credits-item-cell {
  }
  .credits-item-logo {

    border-bottom: 1px solid #ededed;
  }
  .credits-item-term,
  .credits-item-rate,
  .credits-item-amount,
  .credits-item-age {
    justify-content: space-between;
    flex-direction: row;
    align-items: baseline;
    border-left: 0;
  }
  .credits-item-cell__value {
    margin-bottom: 0;
    order: 2;
    font-size: 15px;
    white-space: normal;
    text-align: right;
  }
  .credits-item-cell__name {
    font-size: 16px;
    white-space: normal;
    font-weight: 400;
    text-align: left;
  }
  .credits-item-btn {
    padding: 20px 0 0;
    display: block;
  }
  .credits-item-btn__countcredit {
    text-align: center;
    margin: 5px 0;
  }
}
