#overview {
  background-image: url("/static/regularpages/images/home/SP-Banner-OptJ-Final-1600x600px.webp");
  background-color: #172433;
  background-size:cover;
  padding-top: 0px;
}

.no-webp #overview {
	background: url(/static/regularpages/images/home/SP-Banner-OptJ-Final-1600x600px.png);
}

@media only screen and (max-width: 2000px) {
    #overview {
        background-position: 60% 60%;
    }
}
@media only screen and (max-width: 1500px) {
    #overview {
        background-position: 50% 50%;
    }
}
@media only screen and (max-width: 1000px) {
    #overview {
        background-position: 40% 40%;
    }
}

#investors{
    /* margin-top: 20px; */
    min-height: 400px;
    /* don't need anything here atm */
}

#investorsP2{
  background-color: #404041;
  color: #FFFFFF;
  min-height: 15vh;
}

#insurers{
    background-color: #D7D8D8;
}

#government{
    background-color: #404041;
    color: #FFFFFF
}



/* First Section Specific Styles */


/* Second Section Specific Styles */
.carousel-control-prev,
.carousel-control-next{
    min-height: 170px
}

/* make the carousel look right */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 50px;
  width: 50px;
  /* outline: black; */
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 25px;
  color: grey;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 25px;
  color: grey;
}

.carousel-item img{
    /* max-height: 70px; */
    max-width: 100%;
    margin: auto;
}

.imageContainer-2 img{
    max-width: 100%;
    /* max-height: 50%; */
}

.imageContainer-2-hor img{
    max-width: 50%;
    /* max-height: 100%; */
}

.imageContainer img{
    max-width: 100%
}


.quote{
    text-decoration: none;
    color: black;
    font-size: 14px;
}
.quote span{
    font-style: italic;
}
.quote:hover{
    text-decoration: none;
    color: black;
}

/* .carousel-item>div{
    height: 200px;
    width: 100%;
    margin:auto;
} */


#certificate_box{
    background-color: #EEEFEF;
    border-radius: 50px 0 0 0;
}

#certificate_box img{
    width: 23%;
    padding: 1%;
    padding-top: 5%;
    padding-bottom: 5%;
}

#certificate_box div{
    padding-left: 1%;
}

#certificate_box h4{
    font-size: 12pt;
    line-height: 20pt;
}

#wallet_box{
  margin-top: 5vh;
}

#wallet_box img{
    width: 23%;
    padding-right: 5%;
    padding-bottom: 3%;
    padding-top: 15px
}

.vertRule{
    height: 100px;
    background-color: #000000;
    width: 2px;
    margin-left: 4.1%;
    margin-right: 4.1%;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}


@media (max-width:768px) {
  #certificateBoxContainer{
    margin-right: 5vw;
  }
  section{
    padding-top: 2vh !important;
  }
  #exampleComp{
    width:95%;
  }
}

@media (min-width:768px){
  #wallet_box img{
    width: 15vw;
  }
  #exampleComp{
    width:70%;
  }

  .entry-buttons{
    display: inline;
  }
}

#caroselButtonLeft, #caroselButtonRight{
  transition: .3s ease-in-out ;
}

#caroselButtonLeft:hover{
    transform: translateX(-15px);
    transition-property: transform;
    transition: .4s ease-in-out ;
}

#caroselButtonRight:hover{
    transform: translateX(15px);
    transition-property: transform;
    transition: .4s ease-in-out ;
}


.actionButton{
  height: 2em;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 30px;
  row-gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 20px;
}

.center-text {
  text-align: center;
}

.client-logo {
  max-height: 100px;
  padding-left: 15px;
  padding-right: 15px;
}
#why-sp {
  text-align: center;
}

#solutions, #customers {
  background-color: #CCCFD4;
}

.home-icons {
  height: 5em;
  margin-bottom: 1rem;
}

/* Content container */
.content {
  margin: auto;
  padding: 2vh 20vh 2vh 20vh;
}


/* Sections */
#quote {
  background-color: #172433;
}

/* Content text */
.content p {
  font-size: 16px;
}

@media only screen and (max-width: 1200px) {
  .content p {
    font-size: 15.5px;
  }
}

@media only screen and (max-width: 768px) {
  .content p {
    font-size: 15px;
  }
}


/* Text */
.section-header {
  margin: auto;
  text-align: center;
  padding: 0 0 5vh 0;
  font-size: 2rem;
}

#quote blockquote {
  font-size: 1.5rem;
  margin: 2vh;
}

#quote a {
  color: #F6C507;
  text-decoration: underline;
}

#quote a:hover {
  color: white;
}


@media only screen and (max-width: 1920px) {
  .content {
    padding: 1.8vh 15vh 1.7vh 15vh;
  }
}

@media only screen and (max-width: 1140px) {
  .content {
    padding: 1.8vh 10vh 1.7vh 10vh;
  }
  .section-header {
    font-size: 1.9rem;
  }
  #quote blockquote {
    font-size: 1.4rem;
    margin: 1.5vh;
  }
}

@media only screen and (max-width: 960px) {
  .content {
    padding: 1.6vh 5vh 1.7vh 5vh;
  }
  .section-header {
    font-size: 1.8rem;
    padding-bottom: 4vh;
  }
  #quote blockquote {
    font-size: 1.3rem;
    margin: 1vh;
  }
}

@media only screen and (max-width: 720px) {
  .content {
    padding: 1.4vh 3vh 1.8vh 3vh;
  }
  .section-header {
    font-size: 1.7rem;
    padding-bottom: 3vh;
  }
  #quote blockquote {
    font-size: 1.2rem;
    margin: 0.5vh;
  }
}

@media only screen and (max-width: 540px) {
  .content {
    padding: 1.2vh 1vh 1.2vh 1vh;
  }
  .section-header {
    font-size: 1.6rem;
    padding-bottom: 2vh;
  }
  #quote blockquote {
    font-size: 1rem;
    margin: 0.25vh;
  }
}

/* Overview */
#overview-content {
  min-height: 55vh;
}
#header-overview {
  font-size: 3.5rem;
  margin: 0;
  line-height: 1.2;
}
#subheader-overview {
  font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: white;
  margin: 2rem 0 2.5rem 0;
}
@media only screen and (max-width: 1200px) {
  #overview-content {
    min-height: 50vh;
  }
  #header-overview {
    font-size: 3rem;
  }
  #subheader-overview {
    font-size: 1.4rem;
  }
}
@media only screen and (max-width: 992px) {
  #overview-content {
    min-height: 45vh;
  }
  #header-overview {
    font-size: 2.5rem;
  }
  #subheader-overview {
    font-size: 1.3rem;
  }
}
@media only screen and (max-width: 768px) {
  #overview-content {
    min-height: 40vh;
  }
  #header-overview {
    font-size: 2.25rem;
  }
  #subheader-overview {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 576px) {
  #overview-content {
    min-height: 35vh;
  }
  #header-overview {
    font-size: 2rem;
  }
  #subheader-overview {
    font-size: 1.1rem;
  }
}
