.ag-format-container {
  width: 100%;
  
  background-color: #fff;
}

/*
body {
  background-color: #C7C7C7;
}*/

.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;

  padding: 80px 0 0 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;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #FFF; /*FONDO CARD*/

  overflow: hidden;

  position: relative;
  cursor: pointer;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #20315C; /* MOVIDO*/
}
.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-weight: bold;
  font-size: 2.5rem; /*Tamaño letra titulo*/
  color: #20315C;
  text-align: center;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  color: #20315C;
  text-align: center;

  z-index: 2;
  position: relative;
  min-height: 50px;
}
.ag-courses-item_date {
	font-size: 2rem; /*tamaño letra texto*/
  font-weight: bold;
  color: #20315C; /* letra color*/ 

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #DBA514; /* back hover card DBA514 */

  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: #3ecd5e;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #e44002;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #952aff;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #cd3e94;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}

.icon-id i{
	font-size: 6rem;
	margin-bottom: 20px;
}

@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: 72px;
    line-height: 1;

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


/************ TITULO OFERTA EDUCATIVA **********/

*{padding: 0; margin: 0; box-sizing: border-box;}
/*body{height: 1500px;}*/

header {
	background: url('http://www.autodatz.com/wp-content/uploads/2017/05/Old-Car-Wallpapers-Hd-36-with-Old-Car-Wallpapers-Hd.jpg');
	text-align: center;
	width: 100%;
	height: 100%;
	height: auto;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	overflow: hidden;
	border-radius: 0 0 85% 85% / 30%;
}
header .overlay{
	width: 100%;
	height: 100%;
	padding: 50px;
	color: #20315C;
	/*text-shadow: 1px 1px 1px  #fff;*/
  background-image: linear-gradient( 0deg, #DBA514 5%, #fff 70%);
	
}

h2 {
	font-family: "Quetzalli Sans", sans-serif;
	font-size: 80px;
	margin-bottom: 30px;
	color: #20315C;
	text-shadow: 1px 1px 1px #fff;
}

h2 span {
	font-weight: 900;
}

h3 {
	font-family: "Quetzalli Sans", sans-serif;
	margin-bottom: 30px;
	font-size: 35px;
}

p{
	font-family: "Quetzalli Sans", sans-serif;
	margin-bottom: 30px;
	font-size: 15px;
}
button {
	border: none;
	outline: none;
	padding: 10px 20px;
	border-radius: 50px;
	color: #333;
	background: #fff;
	margin-bottom: 50px;
	box-shadow: 0 3px 20px 0 #0000003b;
}
button:hover{
	cursor: pointer;
}