/** PROFESIONALES **/

.profesionales-materias {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: center;

  margin-bottom: 30px;
}
.profesionales-materias > div {
  width: 25%;
}


.profesionales-materias .col-md-4 {
  margin-left:15px !important;
  margin-right:15px;
}

.profesionales-pastilla {
  position: relative;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
}
.profesionales-pastilla img {
  position: absolute;
  bottom: 40px;
}
.profesionales-relacionados ul {
  list-style: none;
  padding: 10px 0px 0px 20px;
  list-style-position: inside;
  margin-left: 0px;
  padding-left: 0px;
}

.profesionales-relacionados ul li:last-child {
  margin-bottom: 10px;
}

.profesionales-relacionados ul li { 
  padding-left: 26px;
  padding-bottom: 3px;
}

.profesionales-relacionados ul li span.wk-icon-angle-right {
  margin-left: -25px;
}


.profesionales-btn-vermas {
  margin-top: auto;
  z-index: 10;
}
.profesionales-btn-vermas a {
  line-height: 46px;
  text-align: right;
  float: right;
  padding-right: 70px;
  color: #474747;
  width: 150px;
  transition: all 0.3s ease-in-out;
/*  width: 100%; */
  background-color: #ededed;
}
.profesionales-btn-vermas a::after {
  content: "→";
  color: white;
  width: 51px;
  height: 46px;
  font-size: 30px;
  margin-left: 13px;
  display: block;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: 0;
  font-weight: 300;
  background-color: #a3a3a3;
}
.profesionales-btn-vermas a:hover {
  text-decoration: none;
  color: white;
  background-color: #a3a3a3;
}



.profesionales-btn-vermas a.after-blue::after {
 background-color: #007ac3; 
}
.profesionales-btn-vermas a.after-blue:hover {
  background-color: #007ac3;
}
.profesionales-btn-vermas a.after-red::after {
  background-color: #ec5862;
}
.profesionales-btn-vermas a.after-red:hover {
  background-color: #ec5862;
}
.profesionales-btn-vermas a.after-green::after {
  background-color: #85bc20;
}
.profesionales-btn-vermas a.after-green:hover {
  background-color: #85bc20; 
}
.profesionales-btn-vermas a.after-turquesa::after {
  background-color: #08b09f; 
}
.profesionales-btn-vermas a.after-turquesa:hover {
  background-color: #08b09f;
}
.profesionales-btn-vermas a.after-gray::after {
  background-color: #474747;
}
.profesionales-btn-vermas a.after-gray:hover {
   background-color: #474747;
}




@media (max-width: 900px) {
  .profesionales-materias > div {
    width: 30%;
  }
  .adjust-flex-left {
    margin-left: 5%;
  }
}
@media (max-width: 768px) {
  .profesionales-materias {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .profesionales-materias > div {
    width: 100%;
    margin-bottom: 30px;
  }
  .profesionales-pastilla p {
    font-size: 1.3em;
  }
  .profesionales-relacionados ul {
    font-size: 1.2em;
  }
  .profesionales-relacionados ul li {
    padding-bottom: 10px;
  }
  .adjust-flex-left {
    margin-left: 0%;
  }

}
