/*
#2C485D
#76BDBF
#4396B0
*/
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.pushable {
  background: hsl(345 100% 25%); /*#fc664f var(--tw-gradient-from-position);*/
  border-radius: 12px;
  border: none;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;

}
.front {
  display: block;
  padding: 10px 30px;
  border-radius: 12px;
  font-size: 1.25rem;
  background: #fc664f; /*hsl(345deg 100% 47%); */
  color: white;
  transform: translateY(-4px);
}
.pushable:active .front {
  transform: translateY(-2px);
}
.head-tag {
  text-shadow: 2px 4px 2px rgba(0,0,0,.3);
}
.head-tag-dark {
  text-shadow: 2px 4px 2px rgba(250,250,2500,.4);
}
.index-cards:hover .ag-courses_item {
filter: blur(5px);
transform: scale(.9);
}

.index-cards .ag-courses_item:hover {
filter: blur(0px);
transform: scale(1);
}
.ag-courses-item_date-box.text {
  height: 130px;
}

.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}

.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 50px 0;
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  margin: 0 15px 30px;
  overflow: hidden;
  height: 350px;
  border-radius: 28px;
  border: solid 3px rgba(250,250,250,.7);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #2C485D;
  /* background-color: #121212; */
  height: 350px;
  overflow: hidden;

  position: relative;
}

.ag-courses_item:nth-child(2) .ag-courses-item_date{
  color: aliceblue;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF !important;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 70px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 30px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date {
  font-weight: bold;
  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #fc664f;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_title {
    min-height: 70px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
  .ag-courses-item_date-box {
    font-size: 16px;
  }
}