.program-card {
  position: relative;
  -webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, .2);
  box-shadow: 2px 2px 7px rgba(0, 0, 0, .2)
}

.program-card__done {
  --size: 38px
}

.program-card__done:before {
  z-index: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-color: #ec008c #ec008c transparent transparent;
  border-style: solid;
  border-width: calc(var(--size)/2)
}

.program-card__done:after,
.program-card__done:before {
  font-size: 0;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: var(--size);
  height: var(--size);
  content: ""
}

.program-card__done:after {
  z-index: 2;
  background-image: url(/doc/img/icons/checked.svg);
  background-repeat: no-repeat;
  background-position: top 5px right 2px;
  background-size: 17px 13px
}

.program-card_img-frame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start
}

.program-card_img {
  width: 100%;
  height: auto
}

.program-card_title {
  font-size: 21px;
  font-weight: 600;
  position: relative;
  top: -15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 81px;
  padding: 0 5px;
  -webkit-transition: color .3s;
  transition: color .3s;
  text-align: center;
  color: #0c6db6;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.program-card_link {
  display: block;
  text-decoration: none;
  border: none
}

.program-card_link:hover .program-card_title {
  color: #ec008c
}

@media screen and (max-width:991.9px) {
  .program-card__done {
    --size: 34px
  }

  .program-card__done:after {
    background-position: top 4px right 2px;
    background-size: 14.38px 11px
  }

  .program-card_title {
    font-size: 14px;
    top: -16px;
    height: 65px
  }
}

@media screen and (max-width:575.9px) {
  .program-card__done {
    --size: 26px
  }

  .program-card__done:after {
    background-size: 10.9px 8.3px
  }

  .program-card_title {
    font-size: 13px;
    top: -8px;
    height: 50px
  }
}

.program-list {
  padding-top: 38px;
  padding-right: 100px
}

.program-list_show-done {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 48px;
  padding-bottom: 11px;
  border-bottom: 1px solid #ededed;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end
}

.program-list_list {
  margin: 0;
  padding: 0;
  list-style: none
}

.program-list_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px
}

@media screen and (max-width:991.9px) {
  .program-list {
    padding-right: 0
  }
}

@media screen and (max-width:575.9px) {
  .program-list {
    padding-top: 0
  }

  .program-list_show-done {
    margin-bottom: 20px
  }

  .program-list_item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed
  }

  .program-list_item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none
  }
}

.task-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-transition: -webkit-box-shadow .3s;
  transition: -webkit-box-shadow .3s;
  transition: box-shadow .3s;
  transition: box-shadow .3s, -webkit-box-shadow .3s;
  background-color: #fff
}

.task-card__done .task-card_is-done {
  font-size: 14px
}

.task-card__done .task-card_is-done:before {
  border: 1px solid #ec008c;
  background-image: url(/doc/img/icons/check-mark-pink.svg);
  background-position: 3px 3px;
  background-size: 24.3px 20.6px;
  -webkit-box-shadow: none;
  box-shadow: none
}

.task-card__done .task-card_img:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background-color: hsla(0, 0%, 100%, .5)
}

.task-card_title>a {
  border-bottom: none
}

.task-card:hover {
  -webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, .2);
  box-shadow: 2px 2px 7px rgba(0, 0, 0, .2)
}

.task-card_info {
  padding: 16px 30px 0
}

.task-card_header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.task-card_img {
  font-size: 0;
  position: relative;
  width: 170px;
  /*width:195px;*/
  border: none;
  -ms-flex-negative: 0;
  flex-shrink: 0
}

.task-card_img img {
  width: 100%;
  height: auto
}

.task-card_number {
  display: inline-block;
  margin-right: 29px;
  padding: 5px 20px;
  color: #ec008c;
  border: 1px solid #ec008c;
  border-radius: 4px
}

.task-card_title {
  font-size: 24px;
  font-weight: 700;
  padding: 10px 0
}

.task-card_description {
  padding-bottom: 16px
}

.task-card_is-done {
  font-size: 0;
  position: relative;
  display: none;
  padding-top: 7px;
  padding-left: calc(var(--checkbox-size) + 10px);
  --checkbox-size: 30px
}

.task-card_is-done:before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  content: "";
  border: 1px solid #979797;
  border-radius: 2px;
  background-repeat: no-repeat;
  background-position: 50%;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5)
}

.task-card_is-done__show {
  display: block
}

.task-card_buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 16px
}

.task-card_btn-slot {
  margin-right: 10px
}

@media screen and (max-width:575.9px) {
  .task-card:hover {
    -webkit-box-shadow: none;
    box-shadow: none
  }

  .task-card__done .task-card_is-done {
    font-size: 12px
  }

  .task-card__done .task-card_is-done:before {
    background-size: 11.8px 13.2px
  }

  .task-card_img {
    width: 90px
  }

  .task-card_number {
    font-size: 9px;
    margin-right: 20px;
    padding: 3px 10px
  }

  .task-card_title {
    font-size: 13px;
    padding-top: 7px;
    padding-bottom: 7px
  }

  .task-card_info {
    padding: 0 0 0 14px
  }

  .task-card_description {
    display: none
  }

  .task-card_is-done {
    padding-top: 2px;
    --checkbox-size: 19px
  }

  .task-card_buttons {
    margin-top: 3px;
    -webkit-transform: scale(.8);
    transform: scale(.8);
    -webkit-transform-origin: left;
    transform-origin: left
  }
}

@media screen and (max-width: 1199.9px) {
  .xlimit.btn__small.btn__has-icon {
    font-size: 11px;
  }
}

@media screen and (max-width: 991.9px) {
  .btn.btn__primary.custom-btn, .chip-wrapper {
    margin-right: 0;
  }
}

@media screen and (max-width: 575.9px) {
  .material_two-part-layout {
    position: relative;
    display: block; 
  }
  .material_attributes__program {
    position: relative;
    left: 0px;
  }
  .material_attribute:last-of-type {
   margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
.task-card_btn-slot .chip-wrapper {
  width: 202px;
}
  .task-card_buttons {
    display: flex; 
    flex-wrap: wrap;
	justify-content: flex-start;
	width: 220px;
  }
  .task-card_buttons {
    margin-top: 3px;
    -webkit-transform: scale(.8);
    transform: scale(.8);
    -webkit-transform-origin: left;
    transform-origin: left
  }
  .task-card_btn-slot:first-of-type{
	width: 100%;
	flex: 1 1 100%;
  }
  .task-card_btn-slot:not(:first-of-type){
	flex: 0 0 0;
  }
}


.program_material_attributes {
  margin-bottom: 35px;
}
.program_material_attributes__program {
  margin-bottom: 0;
  margin-left: 3px;
}
.program_material_attribute-name {
  font-size: 11px;
  font-weight: 700;
  padding-right: 20px;
  text-transform: uppercase;
  color: #979797;
}
.program_material_attribute-value {
  font-size: 14px;
  font-weight: 600;
}

.program_computed-rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.program_computed-rating_value {
  font-size: 14px;
  font-weight: 600;
  margin-right: 5px;
}
.program_computed-rating_stars {
  position: relative;
  width: 75px;
  height: 15px;
  margin-top: 1px;
  margin-right: 7px;
  background-image: url(/doc/img/icons/star.svg);
  background-size: 15px 15px;
}
.program_computed-rating_stars > .program_computed-rating_progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  content: "";
  color: transparent;
  -webkit-mask-image: url(/doc/img/icons/star-mask.svg);
  mask-image: url(/doc/img/icons/star-mask.svg);
  -webkit-mask-size: 15px 15px;
  mask-size: 15px 15px;
}
.program_computed-rating_voters {
  font-size: 12px;
  font-weight: 400;
}
@media screen and (max-width: 991.9px) {
  .program_material_attributes__program {
    margin: 15px 0;
  }
  .material_program-img-wp {
    display: none;
  }
}

@media screen and (max-width: 575.9px) {
  .program_material_attribute-name,
  .program_material_attribute-value {
    font-size: 10px;
    padding-bottom: 3px;
  }
  .program_material_attribute-name .program_computed-rating_value,
  .program_material_attribute-name .program_computed-rating_voters,
  .program_material_attribute-value .program_computed-rating_value,
  .program_material_attribute-value .program_computed-rating_voters {
    font-size: 10px;
  }
  .program_material_attribute-name .program_computed-rating_stars,
  .program_material_attribute-value .program_computed-rating_stars {
    margin-top: -2px;
    margin-right: -11px;
    margin-bottom: -2px;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transform-origin: center left;
    transform-origin: center left;
  }
  .program_material_attribute-name {
    padding-right: 10px;
  }
}

.program_computed-rating_label {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  margin-right: 5px;
}


