@keyframes elearning_border {
  from {
    transform: scaleY(0);
    transform-origin: 0 0;
  }
  to {
    transform: scaleY(1);
    transform-origin: 0 0;
  }
}
@-webkit-keyframes elearning_border {
  from {
    transform: scaleY(0);
    transform-origin: 0 0;
  }
  to {
    transform: scaleY(1);
    transform-origin: 0 0;
  }
}
.e-learning {
  padding-top: 106px;
  /* margin-bottom: -95px; */
  padding-bottom: 103px;
}
.e-learning .label {
  color: #ffffff;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.e-learning .content.container {
  /* margin-top: -100px; */
}
.e-learning #contain {
  position: relative;
  display: flex;
}

/* .e-learning .label {
    transform: rotate(-90.00001deg);
    color: #ffffff;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: fixed;
    top: 37.5%;
    left: -7.5%;
    width: 273px;
    height: 65px;
    background: #009f9d;
    text-align: center;
    margin: 0 auto;
    padding: 25px 0;
    bottom: auto;
} */

.e-learning #contain .text-inline .title {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}
.e-learning #contain .text-inline .title:before {
  content: '';
  background-image: url(../images/el.svg);
  width: 26px;
  height: 26px;
  display: inline-block;
  background-repeat: no-repeat;
  margin-left: 0px;
  vertical-align: middle;
  margin-right: 10px;
}
.e-learning .text-inline {
  padding-top: 37px;
  border-top: solid 1px #d8d8d8;
}
.e-learning .content ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /*     padding: 88px 0; */
  padding: 0;
  margin-left: 20px;
  margin-bottom: -13px;
}
.e-learning .content ul .items {
  width: 50%;
  margin-bottom: 3px;
  position: relative;
  margin-top: 90px;
}
.e-learning .content ul .items:nth-child(2n+2) {
  padding-left: 5px;
  width: 45%;
  margin-left: 83px;
}
.e-learning .content ul .items .order {
  margin-bottom: 31px;
  color: #616161;
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  text-transform: uppercase;
}
.e-learning .content ul .items .description {
  margin: 0;
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  padding: 10px 0 40px;
}
.e-learning .content ul .items:nth-child(2n+1) {
  padding-left: 5px;
  width: 46%;
}
.e-learning .content ul .items:before {
  content: "";
  width: 1px;
  height: 141px;
  position: absolute;
  left: -20px;
  transform: translateX(-50%);
  top: 5px;
  background: #d8d8d8;
}
.e-learning .view-all {
  text-align: left;
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 6px;
  margin-top: 9px;
  visibility: hidden;
  position: relative;
  margin-left: 13px;
  transform: translateY(-50%);
  bottom: 0;
  left: 0;
}
.e-learning .view-all:before {
  content: '';
  background-image: url(../images/Group-Copy-2.svg);
  width: 20px;
  height: 11px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  transform: translateX(-50%);
  left: -40px;
  top: 5px;
  /* -webkit-animation: arrow 1s infinite; */
  /* animation: arrow-2 1s infinite; */
}
.e-learning .view-all:hover::before {
  content: '';
  background-image: url(../images/more-blue.svg);
}
.e-learning .content ul .items:hover .view-all {
  visibility: visible;
}
.e-learning .content ul .items:hover::before {
  background: #009f9d;
  animation: elearning_border 1s infinite;
  /*     animation: arrow-2 1s infinite; */
}
.e-learning-title.fixed-element {
  transform: rotate(-90.00001deg);
  color: #ffffff;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  top: 0;
  left: -103px;
  width: 273px;
  height: 65px;
  background: #009f9d;
  text-align: center;
  margin: 0 auto;
  padding: 25px 0;
  bottom: auto;
}
@media only screen and (max-width:1279.98px) {
  .e-learning .e-learning-title {
    display: none;
  }
}
@media only screen and (max-width:1024px) {
  .e-learning .content ul .items:nth-child(2n+2) {
    padding-left: 5px;
    width: 100%;
    margin-left: 0;
  }
  .e-learning .content ul .items:nth-child(2n+1) {
    padding-left: 5px;
    width: 100%;
  }
}
@media only screen and (max-width:991px) {
  .e-learning .content ul .items:nth-child(2n+2) {
    padding-left: 5px;
    width: 100%;
    margin-left: 0;
  }
  .e-learning .content.container {
    margin-top: 0;
  }
  .e-learning {
    padding-top: 30px;
    margin-bottom: -95px;
  }
}
@media only screen and (max-width:767px) {
  .e-learning .content ul .items:nth-child(2n+2) {
    width: 100%;
    margin-left: 0px;
  }
  .e-learning .content ul .items:nth-child(2n+1) {
    width: 100%;
  }
  .e-learning .view-all {
    visibility: visible;
    left: 18px;
  }
  .e-learning .content ul .items:hover::before {
    background: #009f9d;
    display: none;
  }
  .e-learning .view-all:before {
    animation: none;
  }
}
@media only screen and (max-width:468px) {
  .e-learning {
    padding-top: 60px;
    margin-bottom: -19px;
  }
  .e-learning .content ul {
    margin: 0 0 0 20px;
  }
  .e-learning .text-inline {
    padding-top: 19px;
  }
  .e-learning #contain .text-inline .title:before {
    margin-left: 0px;
  }
  .e-learning .content ul {
    padding: 17px 0;
  }
  .e-learning .view-all:before {
    left: -19px;
    top: 5px;
    animation: none;
  }
  .e-learning .view-all {
    margin-left: -6px;
  }
}
@media only screen and (min-width:1600px) {
  .e-learning .label {
    left: -6.5%;
  }
  .e-learning #contain .text-inline .title:before {
    content: '';
    background-image: url(../images/el.svg);
    width: 26px;
    height: 26px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-left: 0;
    vertical-align: top;
    margin-right: 10px;
  }
  .e-learning .content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 88px 0;
    padding: 0;
    margin-left: 20px;
  }
}
@media only screen and (min-width:1700px) {
  .e-learning .label {
    left: -6%;
  }
}
@media only screen and (min-width:1800px) {
  .e-learning .label {
    left: -5.5%;
  }
}