/*********************************************************************************************/
/* COASTWISE GLOBAL CSS 																	 */ 
/*********************************************************************************************/
:root {

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

/** TYPOGRAPHY *******************************************************************************/
/*********************************************************************************************/

body {
	font-family: "Open Sans", sans-serif;
	font-size: 1.125rem;
	overflow-x: hidden;
	color: var(--flint-gray) !important;
}

p {
	margin-top: 0.563rem;
}

h1, h2, h3, h4 {
	color: var(--dark-blue);
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

.sub-heading {
	text-transform: uppercase;
	font-size: .9rem;
	letter-spacing: 2px;
	font-weight: 700;
}

/** LISTS ************************************************************************************/
/*********************************************************************************************/

ul, ol {
	margin-bottom: 0;
}

ul.list {
	padding-left: 1rem;
}

.tick-white li {
    background: url('/media/11176/white-tick.png') no-repeat 0px 5px;
}

.tick-blue li {
	background: url('/media/11151/tick.png') no-repeat 0px 5px;
}

.list li {
	position: relative;
	padding-left: 1.9rem;
	padding-bottom: .625rem;
	list-style-type: none;
}

ul.circle-blue li:before {
	position: absolute;
    top: 8px;
    left: 2px;
    font-size: 5px;
    content: " ";
    background-color: var(--norfolk-sea);
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

/** LINKS ************************************************************************************/
/*********************************************************************************************/

.grid a {
	text-underline-offset: 0.25em;
	color: var(--link-color);
	font-weight: 600;
}

.grid a:hover {
	text-decoration-thickness: 2px;
}

.grid a:visited {
	color: var(--link-color-visited);
}

.grid a.btn, .grid a.btn:visited {
	color: var(--color-white);
}

.grid a.btn:active {
	background-color: var(--blue-button-active);
}

/** HEADER ***********************************************************************************/
/*********************************************************************************************/

.header {
	display: grid;
	grid-template-areas: "a a a";
	grid-gap: 1rem;
	grid-auto-columns: min-content;
	justify-content: center;
}

.logo {
	height: 50px;
}

/* vertical line used on the home page logos */
.vr {
	position: absolute;
	top: 30px;
	height: 55px;
	width: 3px;
	color: var(--norfolk-sky);
}


/** NAVBAR ***********************************************************************************/
/*********************************************************************************************/

.navbar .navbar-nav .nav-link {
	padding-right: 1.2rem;
	padding-left: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
}

.navbar-nav .nav-link.active {
	color: var(--link-color-active) !important;
}

.nav-item {
	padding-bottom: .2rem;
}

.nav-link:focus, .nav-link:hover {
	color: var(--link-color);
}

.navbar .navbar-nav .nav-link .nav-item {
	position: relative;
}

.navbar .navbar-nav a .nav-item:before {
	content: '';
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	border-bottom: 2px solid var(--link-color);
	visibility: hidden;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.navbar .navbar-nav a .nav-item:hover:before {
	visibility: visible;
	-webkit-transform: scaleY(1);
	transform: scaleX(1);
}

/** STRUCTURE ********************************************************************************/
/*********************************************************************************************/

.container-fluid {
	width: auto !important;
}

.hero {
	padding-bottom: 1rem;
}

/* home page hero text */
.tb-hero {
	width: 50%;
}

.map-container {
   	width: 100%;
   	height: 500px;
   	margin-top: -260px;
}

/** SECTIONS *********************************************************************************/
/*  Sections make up the structure of a page. Each movable row on a Project page is a section. 
/*  Section-cc is a section on the Coastwise Cafe page. 
/*********************************************************************************************/

/* Coastwise home page */
/* section-cc is a section on the Coastwise Cafe page */

.section-aims .tb-left, .section-aims .tb-right,
.section-outcomes .tb-left, .section-outcomes .tb-right, 
.section-coastal-challenge, .section-team,
.section-help .tb-left, .section-help .tb-right,
.section-cc-intro, 
.section-cc-issues .tb-left, .section-cc-issues .tb-right,
.section-get-involved, .section-cafe, 
.section-sustain, .section arts-comp, .section-coastal-sounds,
.section-CTAP, .section-faqs, .section-UL-coastal-erosion,
.section-grants
{
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.section-outcomes .tb-right {
	padding-top: 8.9rem;
}

.section-funding .text-box {
	padding-left: 10vw;
	padding-right: 10vw;
}

.section-funding .text-box p, .section-intro p {
	font-size: 1.4rem;
}

.section-intro {
	height: 330px;
}

.section-video .video-clip {
	width: 560px;
	margin: 0 auto;
}

.section-cc-slideshow {
	padding-top: 60px;
	padding-bottom: 60px;
}

.section-outcomes .bp-container,
.section-cc-issues .bp-container {
	position: relative; /* Important for positioning the circle and line */
	display: flex; /* Align the bullet point and line horizontally */
	align-items: center; /* Vertically center the circle and line */
	justify-content: center;
	margin-bottom: 1rem;
}

.section-outcomes .text-box,
.section-cc-issues .text-box {
    display: flex;
    align-items: center;
    padding: 1rem 4rem;
    height: 100px;
    border-bottom-right-radius: 80px;
    border-top-right-radius: 80px;
    margin-left: -40px;
}

.section-cc-issues .text-box {
	width: 80%;
}

.section-outcomes .text-box {
	width: 100%;
}

.section-outcomes .circle,
.section-cc-issues .circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border: 10px solid var(--dark-blue);
	background-color: var(--color-white); 
	z-index: 1;
	flex: 0 0 auto;
}

.section-outcomes .bullet-point,
.section-cc-issues .bullet-point {
	width: 30px; 
	height: 30px; 
	border-radius: 50%; 
	background-color: var(--dark-blue); 
	flex: 0 0 auto;
}

.section-outcomes .line,
.section-cc-issues .line {
	width: 40px; 
	height: 6px; 
	background-color: var(--dark-blue); 
}

.section-outcomes .text-box p {
	margin: 0;
}

.section-cc-about {
	padding-top: 6rem;
}

.section-cc-about-pics {
	padding-bottom: 6rem;
}

/* place space between text and chevron */
.section-map-links .box-text a {
    margin-right: 20px;
}

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

.card-img-top {
	border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.card-title {
	color: var(--dark-blue);
}

.card a.btn {
	width: 240px;
}

/** CAROUSEL *********************************************************************************/
/*********************************************************************************************/

.section-cc-slideshow .carousel-item {
	height: 560px;
}

.section-cc-slideshow .carousel-caption {
    top: 50%;
    left: 50%;
	right: unset;
	bottom: unset;
	transform: translate(-50%, -50%);
	color: var(--flint-gray);
}

.section-cc-slideshow .carousel-item h3 {
	color: var(--flint-gray);
}

.section-cc-slideshow .carousel-caption.text-box {
	padding: 30px;
    border-radius: 10px;
    background-color: rgba(235,	244, 252, .9);
}

/** BUTTONS **********************************************************************************/
/*********************************************************************************************/

.btn-blue {
	background: var(--dark-blue);
	color: var(--color-white);
    border-radius: 80px;
	padding: .5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .1em;
	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);
}

/** ACCORDIONS *******************************************************************************/
/*********************************************************************************************/

.cw-accordion {
	background-color: #fff;
	color: var(--flint-gray);
	font-weight: 600;
	cursor: pointer;
	padding: 20px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	transition: 0.4s;
	border-bottom: 1px solid var(--light-grey);
	border-radius: 10px; 
	border-left: 6px solid var(--accent-gold);
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.cw-accordion.active, .cw-accordion:hover {
  	background-color: var(--light-sand);
}

button.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cw-accordion:after {
	content: '\002B';
	color: var(--dark-blue);
	font-weight: 600;
	float: right;
	margin-left: 5px;
}

.cw-accordion.active:after {
  	content: "\2212";
}

.panel {
	padding: 0 20px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out;
	margin-bottom: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.panel ul {
   margin-bottom: 20px;
}

.panel p {
	margin: 20px 0;
}

/** COLOURING ********************************************************************************/
/*********************************************************************************************/

.bg-light-blue {
	background: var(--light-blue);
}

.bg-white {
	background: #fff;
}

.bg-sand {
	background: var(--sand);
}

.bg-light-sand {
	background: var(--light-sand);
}

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

.bg-accent {
	background: var(--accent-gold);
}

/* text colours */

.tc-white {
	color: var(--color-white);
}

.tc-black {
	color: var(--color-black);
}

.tc-accent {
	color: var(--accent-gold);
}

.link-dark {
	color: var(--link-color) !important;
}

/** BORDERS **********************************************************************************/
/*********************************************************************************************/

.br-rounded {
	border-radius: 30px !important;
}

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

.br-rounded-xs {
	border-radius: 15px;
}

.br-rounded-top {
	border-top-right-radius: var(--default-border-radius);
	border-top-left-radius: var(--default-border-radius);
}

.br-rounded-bottom {
	border-bottom-right-radius: var(--default-border-radius);
	border-bottom-left-radius: var(--default-border-radius);
}

.br-rounded-start {
	border-bottom-left-radius: var(--default-border-radius);
    border-top-left-radius: var(--default-border-radius);
}

.br-rounded-end {
	border-bottom-right-radius: var(--default-border-radius);
    border-top-right-radius: var(--default-border-radius);
}


/** FOOTER ***********************************************************************************/
/*********************************************************************************************/

.section-footer {
	padding-top: 4rem;
}

.section-footer .logo {
	width: 29%;
}

.section-footer .CTAP-logo {
	width: 100%;
}

footer p, footer a {
	font-size: 1rem;
}

footer .b-top {
	border-top: 1px solid rgba(58, 70, 140, .2);
}

/*********************************************************************************************/
/*********************************************************************************************/