/* Curve before */

.image-container {
  overflow: hidden; 
}

div.before-curve {
  height: 90px;
  width: 100%;
  border-radius: 50% / 100% 100% 0 0;
}
/* Section styling */
div.testimonialc {
  padding:0 0 5px 0;
}

div.testimonialc div.page-centert {
 max-width: 80%; 
  margin-left: auto;
  margin-right: auto;
}

div.testimonialc div.page-centert div.twrapper {
  display:inline-flex;
  width:100%;
  padding:50px 0 90px;
}
/* Text styling */
div.testimonialc div.col.textm h3{
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  font-family: 'century-old-style-std', sans-serif;
  margin:0 5px 20px 0;
}

div.testimonialc div.col.textm h5{
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  font-family: 'century-old-style-std', sans-serif;
  margin:20px 5px;
  text-transform: uppercase;
  padding-top: 10px;
  margin-left: 230px;
  display: inline;
}

.top-curve-t {
  min-width: 100%; 
  max-width: 100%;
  margin-bottom: -9px;

}

{# SLICK SLIDER ADDITIONS + SLICK UPDATES #}

div.testimonialc img.headshot {
    border-radius: 100%;
    max-width: 153px;
    width: 153px;
    margin: 0px 20px 20px 40px;
}
div.testimonialc img.quotemark {
  margin-right: 20px;
}

.col.textm.slick-slide {
    display: inline-flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
div.testimonialc div.col.textm h2{
  max-width:60vw;
}
{# SLICK SLIDER ADDITIONS + SLICK UPDATES -- END #}

@media only screen and (max-width: 1440px) {

.col.textm.slick-slide {
    display: inline-flex;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }  
}

@media screen and (max-width: 900px) {
   .testimonialc {
      padding-top: 50px !important;  
  }
}

@media only screen and (max-width: 550px) {
  
  div.testimonialc div.col.textm h2{
    max-width:100%;
}
  
 .top-curve-t {
   display: none;
  }
  
  .testimonialc {
    padding-top: 50px !important; 
  }
  
  div.testimonialc div.col.imaget {
   padding-bottom: 25px; 
  }
}

.quotemark {
  margin-bottom: 5px;
}

div.testimonials div.col.imaget {
 
}

/* Display layout options */
/* Background == Yellow */
div.testimonialc.yellow-bg {
  background-color:#FBA919;
  color: #1B1A26 !important;
}
/* Background == Darkblue */
div.testimonialc.darkblue-bg {
  background-color:#1D3C70;
  color: #fff !important;
}
div.testimonialc.darkblue-bg div.col.textm h2, div.testimonialc.darkblue-bg div.col.textm h5, div.testimonialc.green-bg div.col.textm h5,  {
  color:#ffffff !important;
}
/* Background == Grey */
div.testimonialc.grey-bg {
  background-color:#eef2f4;
}
div.testimonialc.grey-bg div.col.textm {
  color:#1b1a26;
}
/* Background == Green */
div.testimonialc.green-bg {
  background-color:#278380;
}
div.testimonialc.green-bg div.col.textm h2{
  color:#fff !important;
}
/* Mobile */
@media (max-width: 853px) {
  div.testimonialc div.col.textm h5 {
    margin-left: 5px !important;
    text-align: center !important;
  }
}

@media (max-width: 1440px) {
  div.testimonialc div.page-centert div.twrapper {
    flex-wrap: wrap;
  }
  
  .quotemark,
  .slick-arrow{
    display: none !important; 
  }
  
  .testimonial-body {
    text-align: center; 
  }
  
  .testimonial-body h2 {
    width: 99%;
    display: block;
    margin: 0 auto;
  }
  
  div.testimonialc div.col.imaget img.headshot {
    width:155px;
    height:auto;
  }
  div.testimonialc div.col.textm h2 {
    text-align:center;
    padding:25px 0 0 0;
  }
  div.testimonialc div.col.imaget {
    text-align: center;
    width: 100%;
  }
  div.testimonialc div.col.textm h2 {
    font-size:32px;
    line-height:38px;
  }
  div.testimonialc div.page-centert div.twrapper {
    padding: 50px 0 40px;
  }
}