

.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;
  border-radius: 28px;
}

.wide {
  -ms-flex-preferred-size: calc(50% - 30px);
  flex-basis: calc(50% - 30px);
}


.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: rgba(2,0,36,1);
  overflow: hidden;
  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}

.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: 87px;
  margin: 0 0 25px;
  overflow: hidden;
  font-size: 17px;
  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 {
  color: rgb(226, 22, 192);

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: rgb(226, 22, 192);
  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;
}


.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: orange;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: lightskyblue;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: coral;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: lightgreen;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: lightpink;
}

.ag-courses_item:nth-child(7n) .ag-courses-item_bg {
  background-color: rgb(247, 59, 2);
}


li:before {
  list-style-type: disc;
  color: red; /* Stel de kleur in voor de bullet point */
  position: absolute; /* Maak de positie van de bullet point absoluut */
  left: -20px; /* Pas de positie van de bullet point aan */
}

.port {
  color: orange;
  font-size:18px;
  text-shadow: 2px 2px 3px rgb(2,0,36,1);
  font-weight: 500;
}




@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(100% - 30px);
    flex-basis: calc(100% - 30px);
    margin: 4px 0px 20px;
  }

  .ag-courses-item_bg {
    height: 64px;
    width: 64px;
    top: -35px;
    right: -35px;
  }

  .ag-courses-item_title {
   padding:1em;
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 100%;
  }
  ul {
    margin-left: -40px;
    line-height: 1.5;
  }

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

    font-size: 14px;
  }
  .ag-courses-item_link {
    padding: 2px 4px;
  }
  .ag-courses-item_date-box {
    font-size: 14px;
  }
}