/*********************************************************************************************/
/* CROMER PIER CSS FOR HOME PAGE           																 */ 
/*********************************************************************************************/

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

.img-frame {
	padding: 5rem 2.5rem;
	border-radius: var(--default-border-radius);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	margin: 4rem 1rem;
}

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

.section-right-text-box {
	padding-left: 1rem;
}

.section-left-text-box {
	padding-right: 1rem;
}

.section-hero .container {
	padding-left: 0;
	padding-right: 0;
}

.section-hero, .section-hero-mobile {
	height: 100%;
	background: url('/media/11999/cromer-pier.jpg');
	background-size: cover;
	background-position: center;
}

.section-hero-mobile {
	display: none;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
	padding: 50px 40px;
    background: rgba(59, 68, 150, .9);
	box-shadow: 15px 10px 25px -5px rgba(0, 0, 0, .2);
	text-align: center;
	
}

.hero-logo-box {
	display: flex;
	justify-content: center;
	padding-bottom: 1rem;
}

.hero-logo {
	width: 50%;
}

.hero-text-box p {
	font-size: 18px;
	color: var(--color-white);
	font-weight: 400;
}

.section {
	padding: 7rem 1rem;
}

.section-quote {
	padding: 3rem 0;
}

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

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

blockquote {
	border: 0;
	padding: 60px;
  	padding-left: 80px;
  	box-sizing: border-box;
	font-size: 22px;
	font-weight: 300;
	position: relative;
}

/*opening quote */
blockquote::before {
  	font-family: Georgia;
	content: "\201C";
	color: rgba(59, 68, 150, .2);
  	font-size: 5em;
  	position: absolute;
  	left: 20px;
  	top: 108px;
}

.quote p {
	width: 90%;
}

/* add space between first paragraph and image */
blockquote.quote p:nth-of-type(1) {
	padding-top: 2rem;
}

/* closing quote */
.quote:after {
    font-family: Georgia;
	content: "”";
    position: absolute;
    bottom: -20px;
    line-height: 100px;
    right: 20px;
    font-size: 25rem;
	color: rgba(59, 68, 150, .2);
	font-weight: normal;
} 

.cite {
    font-weight: 400;
    opacity: 0.9;
}

.blockquote-card {	
	background: var(--color-white);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .1);
}

/* position the image */
.blockquote-img {
	display: flex;
	justify-content: center;
	margin-top: -9rem;
}

/* make the image circular */
.blockquote-img img {
	border-radius: 50%;
	width: 180px;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/** CARDS ************************************************************************************/
/*********************************************************************************************/

.card-left {
	background-image: url('/media/12012/cromer-pier-at-dawn-left.jpg');
	background-size: cover;
	background-position: center;
}

.card-middle {
	background-image: url('/media/12010/cromer-pier-at-dawn-middle.jpg');
	background-size: cover;
	background-position: center;
}

.card-right {
	background-image: url('/media/12011/cromer-pier-at-dawn-right.jpg');
	background-size: cover;
	background-position: center;
}


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

/*** 990px ************************************************************************************/ 
/*** MAX-WIDTH ********************************************************************************/ 
@media (max-width: 1400px) {
	
	.section-logos-text {
		padding: 0 10rem;
	}
	
}

@media (max-width: 1200px) {
	
	.rich-text a.btn.btn-transparent {
		width: 100%;
	}
	
}

@media (max-width: 990px) {
	
	.contentpage-top [class^="row"] {
    	display: block;
	}
	
	[class^="column-"] {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.section-hero [class^="column-"] {
		padding-left: 0;
	}
	
	.hero-logo {
		width: 70%;
	}
	
	.img-frame {
		/* remove shadow at tablet and mobile */
		margin: 0;
		box-shadow: none;
		padding: 2.5rem 2rem;
	}
	
	blockquote {
		font-size: 20px;
	}
	
	.section {
		padding: 3rem 0;
	}
	
	.section-right-text-box {
		padding: 4rem 1rem 3rem 1rem;
	}
	
	.section-left-text-box {
		padding: 3rem 1rem 4rem 1rem;
	}
	
	.quote:after {
		font-size: 16em;
	}
	
	.rich-text a.btn.btn-transparent {
		width: fit-content;
	}

}

@media (max-width: 768px) {
	
	.section-hero [class^="column-"] {
		padding-left: 10px;
	}
	
	.section-hero {
		background-image: none;
		margin: 25px 15px 0 15px;
	}
	
	.section-hero-mobile {
		display: block;
		height: 300px;
		margin: 0 25px 25px 25px;
		border-bottom-right-radius: var(--default-border-radius);
		border-bottom-left-radius: var(--default-border-radius)
	}
	
	.section-hero .column-12 {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.hero-coloured-box {
		display: flex;
		justify-content: center;
	}
	
	.hero {
		width: 100%;
		box-shadow: none;
		border-top-right-radius: var(--default-border-radius);
		border-top-left-radius: var(--default-border-radius);
     }
	
	.hero-logo {
		width: 55%;
	}
	
	.section-logos-text {
		padding: 0;
	}
	
	.quote:after {
		font-size: 13em;
	}

}

@media (max-width: 600px) {
	
	.section {
		padding: 4rem 0 4rem 0;
	}
	
	h1.heading-primary {
		font-size: 2rem;
	}
	
	.grid, .hero-text-box p {
		font-size: 16px;
	}
	
	.img-frame {
		padding: 1.5rem;
	}
	
	.section-logos-grid {
		column-gap: 15px;
	}
	
	.section-logos {
		padding: 4rem 1rem;
	}
	
	blockquote::before {
		left: 10px;
		top: 90px;
	}
	
	blockquote {
		padding: 40px;
		padding-left: 60px;
		margin-inline-start: 0;
		margin-inline-end: 0;
	}
	
	.quote p {
		width: 100%;
		font-size: 1rem;
	}
	
	.quote:after {
		right: 15px;
		bottom: -50px;
		font-size: 10em;
		/*right: 35px;
        bottom: 40px;
        font-size: 6em;*/
	}
	
	.blockquote-img {
		margin-top: -8rem;
	}
	
	.blockquote-img img {
		width: 160px;
	}
	
}

@media (max-width: 400px) {
	
	.section-hero-mobile {
		height: 200px;
	}
	
	.hero {
		padding: 1rem 1.5rem;
	}
	
	.hero-logo {
		width: 80%;
	}
	
	.img-frame {
		padding: .5rem;
	}
	
	.rich-text h2 {
		font-size: 1.8rem;
	}

	.section-logos p {
		font-size: 1rem;
	}
	
	.quote:after {
		bottom: -30px;
		font-size: 6em;
	}
	
	.quote p {
		font-size: 1rem;
	}
	
	blockquote::before {
		top: 65px;
	}
	
	.blockquote-img img {
		width: 130px;
	}
		 
}
	



