#nanny-resume {
  margin-top: 100px;
  margin-bottom: 100px;
  display: flex;
  max-width: 1200px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.nanny-headshot {
  width: 150px;
  height: 150px;
  margin-right: 0.75em;
  display: inline-block;
  background-color: #e7bed4;
  background-position: center top;
  border-radius: 100%;
  background-size: cover;
  vertical-align: middle;
  box-shadow: none;
  margin-left: 5em;
}

#nanny-resume h2,
#nanny-resume p {
  margin-top: 0;
  margin-bottom: 0;
} 

#nanny-resume .nanny-info-section {
  margin-top: auto;
  margin-bottom: auto;
}

#nanny-resume-info h3 {
  color: #837cb7;
}

#nanny-resume-info .cta-nanny-resume a.button {
  padding: 15px 4em;
  line-height: 1;
  margin-bottom: 15px;
  border-radius: 2rem;
  background: #837cb7;
}

#nanny-resume-info .cta-nanny-resume a.secondary {
  border-radius: 2rem;
  border: solid 1px #837cb7;
  background: #ffffff;
  color: #837cb7;
}

#nanny-resume-info .cta-nanny-resume a.button:after {
  content: none;
}

#nanny-resume-info .cta-ender.cta-nanny-resume a.button:after{
  content: '';
}

#nanny-resume .blocked-icon,
#nanny-resume-info .blocked-icon {
  display: inline-block;
  width: 3em;
  height: 3em;
  background-color: white;
  background-position: center top;
  border-radius: 100%;
  box-shadow: none; 
  border: none; 
  background-size: cover;
  vertical-align: middle;
  margin-right: 0.55em;
  margin-top: -0.2em;
}

#nanny-resume .blocked-icon {
  width: 1em;
  height: 1em;
  margin-top: 6px;
}

#nanny-resume .blocked-icon:first-of-type {
  margin-left: 10px;
}

#nanny-resume .nanny-name-rating {
  display: flex;
}

#nanny-resume-info .cta-nanny-resume .blocked-icon {
  width: 2em;
  height: 2em;
  background-color: #837cb7;
}

#nanny-resume-info .cta-nanny-resume a.secondary .blocked-icon {
  background-color: white;
}



/* List content */

#nanny-resume-info .list-content {
  display: flex;
  flex-wrap: wrap;
}

#nanny-resume-info .individual-list-content {
    width: 50%;
}

#nanny-resume-info .individual-list-content .sub-heading {
  font-size: 10px;
  display: block;
}

#nanny-resume-info button.secondary {
  border-radius: 2rem;
  border: solid 1px #837cb7;
  background: #ffffff;
  color: #837cb7;
  padding: 15px 4em;
    line-height: 1;
  
}
    
/*	Languages CSS */

#nanny-resume-info .lang-list li {
  list-style: none;
}

#nanny-resume-info .lang-list li:before {
  content: "\2022";
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  color: #e5f6f5;
}



/*	Testimonials CSS*/

#nanny-resume-info .resume-testimonials .text-wrapper {
  display: flex;
  justify-content: space-between;
  padding-right: 55px;
  padding-top: 0;
    padding-bottom: 0;
  width: 100%;
}

#nanny-resume-info .resume-testimonials .text-wrapper:after {
  bottom: 45px;
}

#nanny-resume-info .resume-testimonials h3 {
  display: inline-block;
  font-weight: 100;
  color: #4a4a4a;
}

#nanny-resume-info .resume-testimonials span {
  color: #4a4a4a;
  align-self: center;
  font-weight: 100;
}

#nanny-resume-info  .view-more-resume-testimonials .text-wrapper {
  border-bottom: 1px solid #a0c037;
}

#nanny-resume-info #myDIV { 
  display: none;

}

#nanny-resume-info button#view-more-testimonials-button:focus {
    outline: none;
}

#nanny-resume-info .testimonial-button {
  text-align: center;
}


@media only screen and (max-width: 700px) {
  #nanny-resume-info .individual-list-content {
    width: 100%;
  }
  
  #nanny-resume-info .cta-nanny-resume a.button {
    overflow-wrap: break-word;
  }
  
  .nanny-headshot {
    margin-left: 0;
  }
  
  #nanny-resume {
    flex-direction: column;
        align-items: center;
  }
  
  #nanny-resume-info .resume-testimonials .text-wrapper {
    flex-direction: column;
  }
  
  #nanny-resume-info .resume-testimonials span {
    align-self: flex-start;
  }
}
