/* Grid styling */ 



.grid-card {
  display: flex;
  flex-direction: column;
  min-height: 100%; 
  flex: 1;
}

.card-copy-grid p {
 flex: 1; 
}

.card-copy-grid .cta {
     width: 80% !important;
    margin: 0 auto !important; 
    padding: 15px 15px;
}

/* Section styling */

.cards .page-center {
 margin-right: auto !important;
  margin-left: auto !important;
  width: 100% !important;;
}

section.cards {
  padding: 50px 0 10px;
}
section.cards div.page-center h2.section-title {
  color: #1b1a26;
  font-family: 'century-old-style-std',serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 10px;
  text-align:center;
}
/* Display layout options */
section.cards div.page-center div.wrapper {
  text-align:center;
  padding:50px 0 50px;
}

.cards .single-card {
  border-radius:20px;
  padding-bottom: 25px;
}

.button-controller a {
  padding: 15px !important; 
}


/* Display layout end */
/* Card background dependant styling */
/* GREY */
section.cards div.page-center div.wrapper div.single-card.grey {
  background-color:#EEF2F4;
}
section.cards div.page-center div.wrapper div.single-card.grey h3, section.cards div.page-center div.wrapper div.single-card.grey div {
  color:#1B1A26;
  padding:5px 10px;
}
section.cards div.page-center div.wrapper div.single-card.grey div p {
  font-family: 'century-gothic', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  color: #1B1A26;
  padding:5px 10px;
}
/* END - GREY */
/* WHITE */
section.cards div.page-center div.wrapper div.single-card.white {
  background-color:#FFFFFF;
  color: #000 !important;
}
section.cards div.page-center div.wrapper div.single-card.white h3, div.single-card.white p, section.cards div.page-center div.wrapper div.single-card.white div {
  color:#000 !important;
  padding:5px 10px;
}
/* END - WHITE */
/* DARKBLUE */
section.cards div.page-center div.wrapper div.single-card.darkblue {
  background-color:#1D3C70;
}
section.cards div.page-center div.wrapper div.single-card.darkblue h3, section.cards div.page-center div.wrapper div.single-card.darkblue div {
  color:#ffffff;
  padding:5px 10px;
}
/* END - DARKBLUE */
/* END of card colour options*/
/* Card content styling */
/* Curve cards */
section.cards div.page-center div.wrapper div.single-card img.curve {
   border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 100% !important;
  border-bottom-left-radius: 100% !important; 
}
section.cards div.page-center div.wrapper div.single-card img.no-curve {
   border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important; 
}

section.cards div.page-center div.wrapper h3 {
  font-style: normal;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  color: #FFFFFF;
  padding:5px 10px;
}
section.cards div.page-center div.wrapper div p {
  font-family: 'century-gothic', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  color: #FFFFFF;
  padding:5px 10px;
  margin-bottom:15px;
}
/* END - card content */

/* Mobile */

@media (min-width: 767px) and (max-width: 1000px) {
/* .single-card div {
    padding: 5px 5px !important;
  }
*/  
.single-card p {
    padding: 5px !important;
  }
}

@media (max-width: 991px) {
  section.cards div.page-center h2.section-title
    font-size:32px;
    line-height:38px;
  }
@media (max-width: 525px) {  
  section.cards div.page-center div.wrapper.cards-three div.single-card, section.cards div.page-center div.wrapper.cards-four div.single-card {

  }
  section.cards div.page-center {
    padding:0px !important;
  }
  section.cards div.page-center div.wrapper div.single-card img.curve {
   border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important; 
  }
  section.cards div.page-center div.wrapper h3 {
    font-size:32px;
    line-height:36px;
  }
  section.cards div.page-center h2.section-title {
    padding: 0px 20px;
  }
  section.cards div.page-center div.wrapper div.single-card {
    padding-bottom: 25px !important;
  }
}