/*********************************************************************************************/
/* FLASH CSS                																 */ 
/*********************************************************************************************/
:root {

	--flint-gray: #625c59;
	--norfolk-sea: #3b4395;
	--norfolk-sky: #96c0e8;
	--brick-red: #ea515a;
	--norfolk-land: #50af47;
    --norfolk-reeds: #efd621;
	--dark-blue: #292F68;
	--accent-blue: #3a91e5;
	
	--color-white: #fff;
	--color-black: #212121;
		
	/* borders */
	--light-grey: #dee2e6;
	
	/* headings and buttons */
	--blue-button-hover: #2E3870;
	--blue-button-active: #2E3870;
	
	/* backgrounds */
	--light-blue: #EBF4FC;
		
	--link-color: #3A468C;
	--link-color-visited: #551A8B;
	--link-color-active: #551A8B;
	
	--default-border-radius: 30px;
		
}

/* OVERRIDE EXISTNG STYLES *******************************************************************/
/*********************************************************************************************/

.global-breadcrumb, .footer {
	background-color: var(--dark-blue);
}

.global-breadcrumb  ol li:nth-child(3) {
     display: none;
}


/* TYPOGRAPHY ********************************************************************************/
/*********************************************************************************************/
.rich-text h1, .rich-text h2, .rich-text h3 {
	margin: 0 0 1rem 0;
}

.h1, .h2, .h3,
.rich-text h1, .rich-text h2, .rich-text h3 {
	color: var(--norfolk-sea);
}

.h1 {
	 font-size: 3rem;
}

.h2 {
	font-size: 2.3rem;
	font-weight: 600;
}

.h3 {
	font-size: 1.5rem;
	font-weight: 600;
}

h2.heading-secondary, .info-notice h2 {
	font-size: 26px;
}

.sub-heading {
	text-transform: uppercase;
	font-size: .9rem;
	letter-spacing: 2px;
	font-weight: 700;
	margin-bottom: 10px;
	margin-top: 0;
	color: #3a91e5;
}

.rich-text p {
	color: var(--flint-gray);
}

.leading-paragraph {
	font-size: 20px;
}

p.leading-paragraph {
	margin: 0;
}

.fw-semibold {
	font-weight: 600;
}

.rich-text a {
	color: var(--link-color);
	border-bottom: 1px solid var(--link-color);
}

.rich-text a:focus {
	color: var(--color-white);
}

.caption {
    padding: 5px 0 5px 10px;
    color: #545454;
    background: unset;
    border: unset;
    border-left: 1px solid #8cbbe6;
    display: block;
    font-size: .8em;
    margin-top: 10px;
}

/** BLOCKQUOTE *******************************************************************************/
/*********************************************************************************************/

blockquote {
	border: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 300;
	position: relative;
}

blockquote::before {
  font-family: Times New Roman;
  content: "\201C";
  color: var(--accent-blue);
  font-size: 4em;
  position: absolute;
  left: -60px;
  top: -40px;
}

blockquote::after {
  content: '';
}


/** HERO AND SECTIONS ************************************************************************/
/*********************************************************************************************/
.contentpage-top [class^="row"]{
	display: flex;
}

.img-frame {
	padding: 5rem 2.5rem;
}

.flex-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.section-hero, .section-gym, 
.section-net-zero, .section-quote {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.section-cost {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.section-card-group {
	padding-bottom: 3rem;
}

.section-intro {
	padding-top: 6rem;
	padding-bottom: 3rem;
	text-align: center;
}

.section-intro p {
	padding: 0 13rem;
}

.section-pool {
	padding-bottom: 6rem;
}

.section-gym {
	border-bottom: 15px solid var(--accent-blue);
}

.section-pool .text-box, .section-net-zero .text-box {
	padding-left: 1rem;
}

.section-hero .text-box, .section-gym .text-box {
	padding-right: 1rem;
}

.section-quote .text-box {
	padding: 3rem 1rem 3rem 3rem;
}

.section-cost-grid {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.section-cost p {
	font-size: 24px;
}

.section-cost p, .section-cost h3 {
	color: var(--color-white);
}

.section-heading {
	text-align: center;
	padding-top: 3rem;
	padding-bottom: 1rem;
}


/** CARDS ************************************************************************************/
/*********************************************************************************************/
.card {
	border: 1px solid rgba(58, 145, 229, .4);
	display: flex;
	flex-direction: column;
	height: 100%;
	
}

.card .card-body {
   	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;  	
}

.card-body .btn {
	width: fit-content;
	margin-top: auto;
}

.d-card {
    display: flex;
    column-gap: 20px;
	margin-bottom: 20px;
}

.d-card-img {
   border: 1px solid rgba(58, 145, 229, .3);
   width: 200px;
}

.d-card h3 {
	margin-top: 30px;
}


/** BUTTONS **********************************************************************************/
/*********************************************************************************************/
.rich-text a.btn {
	border: 0;
	color: var(--color-white);
}

.btn {
	box-shadow: none;
}

.btn-blue {
	background: var(--accent-blue);
	color: var(--color-white);
	font-size: 16px;
    border-radius: 80px;
	padding: .9rem 2rem;
    font-weight: 600;
    transition: 0.3s ease-in;
}

.btn-blue:hover {
	background-color: var(--blue-button-hover);
	/*box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);*/
	color: var(--color-white);
}

.btn-blue:active {
	background-color: var(--blue-button-hover);
	/*box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);*/
	color: var(--color-white);
}

/** BORDERS **********************************************************************************/
/*********************************************************************************************/
.br-rounded {
	border-radius: 20px;
}

.br-rounded-small {
	border-radius: 10px;
}

.border {
	border: 1px solid var(--accent-blue);
}

.br-rounded-top {
	border-top-right-radius: 20px;
	border-top-left-radius: 20px;
}

.br-rounded-bottom {
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

/** COLOURING ********************************************************************************/
/*********************************************************************************************/
.bg-sky-blue {
	background: linear-gradient(180deg, #b1d9ff, rgba(212, 235, 255, .4));
}

.bg-norfolk-green {
	background: linear-gradient(180deg, #50AF47, rgb(209 255 205 / 50%));
}

.bg-light-blue {
	background: #F5F9FD;
}

.bg-dark {
	background: var(--norfolk-sea);
}

.bg-white {
	background: #fff;
}

/** UTITLITIES ********************************************************************************/
/**********************************************************************************************/
.mb-0 {
	margin-bottom: 0 !important;
}

.highlight {
	border: 1px solid red;
}

/*** MEDIA QUERIES ****************************************************************************/

/*** 990px ************************************************************************************/ 
/*** MAX-WIDTH ********************************************************************************/ 

@media (max-width: 990px) {
	
	.contentpage-top [class^="row"] {
    	display: block;
	}
	
	blockquote {
		font-size: 20px;
	}
	
	.section-intro p {
		padding: 0 1rem;
	}
	
	.section-hero .text-box, .section-gym .text-box {
		padding: 0 1rem 0 1rem;
	}
	
	.section-pool .text-box, .section-net-zero .text-box {
    	padding: 2rem 1rem 0 1rem;
	}
	
	.section-quote {
		padding-right: 1rem;
		padding-left: 1rem;
	}
	
	.section-cost-grid {
    	row-gap: 20px;
    	flex-direction: column;
	}
	
	.section-cost-text {
		text-align: center;
	}
	
	.section-cost-img {
		display: flex;
		justify-content: center;
	}
	
	.section-cost-img img{
		padding-left: 0;
	}
	
	.section-cost p {
    	padding: 0 2rem
	}
	
	.section-card-group .card {
		margin: 0 1rem 2rem 1rem;
	}
	
	.img-frame {
		margin: 2rem 1rem 0 1rem;
	}
	
	.img-frame img {
		width: 100%;
	}
}

@media (max-width: 768px) {
	
	
	.rich-text h2 {
		font-size: 1.7rem;
	}
	
	p.leading-paragraph {
		font-size: 18px;
	}
	
	.img-frame {
		padding: 1rem;
	}
	
	.section-cost-img img{
		width: 250px;
	}
	
}

@media (max-width: 500px) {
	
	.d-card-img {
		width: 150px;
	}
