:root {
    --cvdarkgreen: #002E0F;
    --cvlightgreen: #00B140;
    --notblack: #363844; 
    --grey: #8C9088;
}

/* Slideshow container */
.testimonial-slider {
    width: 100%;
    position: relative;
    margin: auto;
    border: 1px solid #E5EAE7;
    margin-bottom: 80px;
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  /* Hide the images by default */
  .testimonial-slider .mySlides {
    visibility: hidden;
    grid-row-start: 1;
    grid-column-start: 1;
    height: 100%;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 80px;
  }
  
  /* Next & previous buttons */
  .testimonial-slider .prev, .testimonial-slider .next {
    /* hidden for now */
    display: none;
    /* hidden for now */
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--cvdarkgreen);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  .testimonial-slider .prev a, .testimonial-slider .prev a:hover, .testimonial-slider .next a, .testimonial-slider .next a:hover {
    text-decoration: none;
  }
  
  /* Position the "next button" to the right */
  .testimonial-slider .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .testimonial-slider .prev:hover, .testimonial-slider .next:hover {
    background-color: var(--cvlightgreen);
  }
  
  /* Caption text */
  .testimonial-slider .text {
    font-family: PT Serif;
    color: var(--cvdarkgreen);
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
  }
  .testimonial-slider .text p {
    font-size: 40px !important;
    line-height: 1.3 !important;
    font-style: italic;
  }
  
  /* The dots/bullets/indicators */
  .testimonial-slider .navigationdots {
      position: absolute;
      bottom: 50px;
      width: 100%;
      text-align: center;
  }
  .testimonial-slider .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--cvdarkgreen);
    opacity: 50%;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .testimonial-slider .active, .dot:hover {
    background-color: var(--cvdarkgreen);
    opacity: 100%;
  }
  
  /* Fading animation */
  .testimonial-slider .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }


.testimonial-slider .cvauthor {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1000px) {
  .testimonial-slider {
    padding: 10px 20px !important;
    margin-bottom: 100px !important;
    margin-top: 80px !important;
  }
	.testimonial-slider .text p {
		font-size: 22px !important;
    line-height: 1.5 !important;
	}

  .testimonial-slider .mySlides { 
    margin-top: 30px;
    margin-bottom: 40px !important;
  }

  .testimonial-slider .navigationdots {
    bottom: 20px;
  }
  .testimonial-slider .text {
    padding-left: 10px;
    padding-right: 10px;
  }
  
}

