/*!
Theme Name: BartsBash
Author: Richard Willis-Owen
Author URI: https://www.willisowen.net
Description: Bart's Bash
Version: 1.0.2

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

BartsBash is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# 2025 Updates
# Navigation
	## Menus
# Accessibility
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
 
@font-face {
    font-family: 'DirtyHeadline';
    src: url('/wp-content/themes/bartsbash/fonts/Dirty-Headline-v2.eot'); /* IE9 Compat Modes */
    src: url('/wp-content/themes/bartsbash/fonts/Dirty-Headline-v2.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/wp-content/themes/bartsbash/fonts/Dirty-Headline-v2.woff') format('woff'), /* Modern Browsers */
         url('/wp-content/themes/bartsbash/fonts/Dirty-Headline-v2.ttf') format('truetype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/*--------------------------------------------------------------
# 2025 Updates
--------------------------------------------------------------*/

.homeheader {
	text-align: center;
	padding-left: 12%;
}

.homeheader-date {
	color: #ffffff;
	font-weight: 700;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.homeheader-desc {
	color: #ffffff;
	font-size: 15px;
}

.homepage-hero h1 {
	font-family: "DirtyHeadline";
	text-transform: uppercase;
	font-size: 100px;
	color: #ffffff;
	line-height: 1.1;
}

p {
	font-weight: 300;
	color: #465F76;
	font-size: 17px;
	line-height: 1.7;
}

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

.homepage-block {
	padding: 60px 7% 60px 7%;
}

.homepage-block-first {
	padding: 100px 7% 60px 7%;
}

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

.highlight-green {
	color: #43E611 !important;
}

.wave-bg {
	background-image: url(https://bartsbash.com/wp-content/uploads/2025/06/wave.webp);
	position: top left;
	background-repeat: no-repeat;
	background-size: contain;
}

.fundraising-block {
	text-align: center;
	padding: 0 15%;
}

.fundraising-block h2 {
	text-align: center !important;
}

.site-footer p {
	color: #ffffff;
}

.img-fluid {
	max-width: 100%;
    height: auto;
}

/* Mobile adjust ments for 2025 updates */




/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-content:before,
.site-content:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-content:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-meta {
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Barts Bash specific styling
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Bootstrap 4 overrides
--------------------------------------------------------------*/

/* .container {
	padding: 0;
} */
body {
	font-family: "effra",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	color: #333;
}
/* on news pages, want h1 to be the headline so use h3 for the stamped top heading */
h3:not(.popover-header), body.single h1 {
	color: #333;
	font-weight: 700;
	font-size: 35px;
	line-height: 50px;
	margin-bottom: 40px;
	text-align: center;
}
h1.stamped, h3.stamped {
	font-family: "DirtyHeadline";
	text-transform: uppercase;
	font-size: 95px;
	color: #fff;
	text-align: center;
	word-break: break-word;
}
#pre-h1-container {
	min-height: 310px;
}
#pre-h1 {
	font-size: 40px;
	font-style: italic;
	color: #fff;
	text-align: center;
}
@media (max-width: 580px) {
	h1.stamped, h3.stamped {
		font-size: calc(45px + (100vw - 320px)*0.2);
	}
	body.home h1 {
		font-size: calc(45px + (100vw - 320px)*0.2);
	}
}
h2 {
	margin-top: 60px;
	font-style: italic;
	font-size: 23px;
	color: #0E4F86;
	font-weight: 400;
	text-align: center;
}
@media (max-width: 575.98px) {
	h2 {
		margin-top: 60px;
	}
}
body.home h2 {
	font-weight: 400;
	font-size: 45px;
	line-height: 46px;
	color: #00284C;
	font-family: "DirtyHeadline";
	text-transform: uppercase;
	text-align: left;
	font-style: normal;
}
body.home h2 span {
	color: #FF0066;
}
body.single h3 {
	line-height: initial;
	margin-bottom: inherit;
}
hr {
	width: 30px;
	margin-left: auto;
	margin-right: auto;
	border-top: 1px solid#1d71b8;
}
.card {
	border-color: #e2e2e2;
	border-radius: 0;
}
.card-title a {
	color: #0E4F86;
	font-size: 17px;
	line-height: 26px;
	font-weight: 700;
}
.btn-fixed-width-small {
	width: 133px;
}

/*
.btn-primary:after, .btn-secondary:after, .btn-tertiary:after {
	font-family: FontAwesome;
	content: "\f054";
	margin-left: 10px;
}
*/
#news-load-more.btn-block:after {
	font-family: FontAwesome;
	content:"\f078";
	margin-left: 10px;
}
#news-load-more.btn-block.disabled:after, #news-load-more.btn-block.loading:after {
	content: none;
	margin-left: 0;
}
/* TODO: this could be improved by adding a new class like btn-bb */
.btn.btn-primary, .btn.btn-secondary, .btn.btn-tertiary {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 15px;
	padding: 14px 40px;
    border-radius: 15px;
}
.btn-primary {
	background-color: #FF0066;
	border-color: #FF0066;
}
.btn-primary:hover {
	background-color: #FF0066;
	border-color: #FF0066;
}
.btn-secondary {
	background-color: #43E611;
	border-color: #43E611;
}
.btn-secondary:hover {
	background-color: #43E611;
	border-color: #43E611;
}
.btn-tertiary {
	color: #fff !important;
	background-color: #00284C;
	border-color: #00284C;
}
.btn-tertiary:hover {
	color: #fff !important;
	background-color: #00284C;
	border-color: #00284C;
}
.btn-group .btn-primary:after {
	content: none;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	background-color: #0E4F86;
	border-color: #0E4F86;
}
.text-yellow {
	color: #F8C206!important;
}
.text-light-blue {
	color: #62AAE6!important;
}
.text-white a {
	color: #fff;
}
.bg-dark {
	background-color: #1D71B8!important;
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}
.navbar-dark .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.9);
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    font-weight: 800;
}
a {
	color: #1D71B8;
}
/* Boostrap Forms */

fieldset {
	/* border wants to make a space for the legend, outline gets round this */
	outline: 1px solid #e2e2e2;
	padding-bottom: 38px;
	margin-bottom: 30px;
	background-color: #ffffff99;
}
fieldset:first-of-type {
	margin-top: 45px;
}
legend {
	font-size: 19px;
	font-weight: 700;
	color: #1D71B8;
	text-transform: uppercase;
	padding-top: 38px;
	margin-bottom: 50px;
	background-color: #ffffff99;
}
label {
	/* font-size: 15px; */
	font-weight: 700;
}
.form-check label {
	font-weight: 400;
}
.form-row {
	margin-bottom: 15px;
}
.form-text {
	font-style: italic;
	font-size: 13px;
	margin-bottom: 13px;
	color: #505050;
}
fieldset small {
	font-size: 13px;
}
.page-item.active .page-link {
	background-color: #0E4F86;
	border-color: #0E4F86;
}
.page-link {
	color: #0E4F86;
}
@media (max-width: 767.98px) {
	.table td, .table th {
		padding: .3rem;
	}
}
/* use the rules for pagination-lg above 768 */
@media (min-width: 768px) {
	.pagination .page-link {
		padding: 0.75rem 1.5rem;
		font-size: 1.25rem;
		line-height: 1.5;
	}

	.pagination .page-item:first-child .page-link {
		border-top-left-radius: 0.3rem;
		border-bottom-left-radius: 0.3rem;
	}

	.pagination .page-item:last-child .page-link {
		border-top-right-radius: 0.3rem;
		border-bottom-right-radius: 0.3rem;
	}
}
/*--------------------------------------------------------------
## Navigation menu
--------------------------------------------------------------*/
.sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	transition: 0.3s;
	overflow: hidden; /* prevents image overlapping menu edge */
	z-index: 2; /* Sit on top of overlay */
	/* box-shadow: 5px 0px 5px 0px rgba(4,34,59,1); */
	display: none;
}
#overlay {
	position: fixed; /* Sit on top of the page content */
	display: none; /* Hidden by default */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0; 
	left: 0;
	right: 0;
	bottom: 0;
	transition: 0.3s;
	z-index: 1; /* Sit below sidebar */
  	cursor: pointer; /* Add a pointer on hover */
}
.sidebar-open {
	width: 380px;
	background-color: #04223B;
}
.sidebar-closed {
	width: 68px;
	background-color: #1D71B8;
}
.sidebar .logo {
	margin-top: 45px;
	margin-bottom: 60px;
}
.bb-divider {
	padding-top: 55px;
	margin-top: 55px;
}
@media (max-height: 905px) {
	.sidebar .logo {
		margin-top: 10px;
		margin-bottom: 30px;
	}
	#nav-menu li {
		line-height: 30px;
	}
	.bb-divider {
		padding-top: 20px;
		margin-top: 20px;
	}
}

.sidebar-closed #nav-menu {
	display: none;
}
.sidebar-open #sidebar-open-button {
	display: none;
}

.sidebar .navigation {
	list-style: none;
	padding: 0;
}
/* style last 3 links in the menu, counting from the bottom */
.sidebar .navigation > li:nth-last-child(1), .sidebar .navigation > li:nth-last-child(4) {
	margin-top: 30px;
}
.sidebar .navigation > li:nth-last-child(2) a, .navbar .navbar-nav li:nth-last-child(2) a {
	color: #62AAE6!important;
	font-weight: 800;
}
.sidebar .navigation > li:nth-last-child(3) a, .navbar .navbar-nav li:nth-last-child(3) a {
	color: #0091D3!important;
	font-weight: 800;
}
.sidebar .navigation > li:nth-last-child(4) a, .navbar .navbar-nav li:nth-last-child(4) a {
	color: #F8C206!important;
	font-weight: 800;
}
/* li.current-menu-item > .nav-link */
nav li.current-menu-item > a {
	font-weight: 800;
}

#navigation-open, #navigation-close {
	color: #fff;
	font-size: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
}
#navigation-open {
	background-color: #0E4F86;
}
/* .navigation-toggle:after {
	content: "\f0c9";
	font-family: FontAwesome;
	vertical-align: middle;
} */
#navigation-open:hover, #navigation-close:hover {
	cursor: pointer;
}

/* handle second level in navigation, hide it by default */
li.menu-item-has-children .fa {
	color: #fff;
	margin-left: 5px;
	cursor: pointer;
}
.sidebar .navigation .sub-menu, .navbar .sub-menu {
	display: none;
}
.sub-menu li {
	list-style-type: none;
}


#nav-menu {
	text-align: right;
	padding-right: 40px;
	font-size: 18px;
	line-height: 39px;
	letter-spacing: 2px;
	font-weight: 700;
}

nav a, #nav-share {
	color: #fff;
	text-transform: uppercase;
}
nav a:hover {
	color: #fff;
}
#nav-share {
	font-size: 10px;
	font-weight: 600;
}
#nav-share::after {
	font-family: FontAwesome; content: "\f078";
	font-size: 14px;
    display: block;
}




.social-btns-container > span {
    cursor: pointer;
	transition: 0.25s color cubic-bezier(0.19, 1, 0.22, 1);
}
.social-btns-container {
	color: rgba(255, 255, 255, 0.6);
	margin-top: 22px;
}
.social-btns-container:hover ul.social-btns li {
	opacity: 1;
	transform: scale(1);
}
.social-btns-container:hover ul.social-btns li:nth-of-type(1) {
	transition-delay: 0s;
}
.social-btns-container:hover ul.social-btns li:nth-of-type(2) {
	transition-delay: 0.05s;
}
.social-btns-container:hover ul.social-btns li:nth-of-type(3) {
	transition-delay: 0.1s;
}
.social-btns-container:hover ul.social-btns li:nth-of-type(4) {
	transition-delay: 0.15s;
}
.social-btns-container:hover ul.social-btns li:nth-of-type(5) {
	transition-delay: 0.2s; }
.social-btns-container:hover ul.social-btns li a {
	transition: 0.2s color ease-out; }
.social-btns-container:hover ul.social-btns li a:hover {
	color: #fff; 
}
ul.social-btns {
	padding-left: 0;
	list-style-type: none;
	transition: 0.25s height cubic-bezier(0.19, 1, 0.22, 1);
	pointer-events: none;
	margin-top: 20px;
}
ul.social-btns li {
	display: block;
	padding: 0px 0px 15px;
	color: #6d6c68;
	opacity: 0;
	transform: scale(0.8);
	transition: 0.25s all cubic-bezier(0.19, 1, 0.22, 1);
	pointer-events: auto;
}
ul.social-btns li:nth-of-type(1) {
	transition-delay: 0.15s;
}
ul.social-btns li:nth-of-type(2) {
	transition-delay: 0.1s;
}
ul.social-btns li:nth-of-type(3) {
	transition-delay: 0.05s;
}
ul.social-btns li:nth-of-type(4) {
	transition-delay: 0s;
}
ul.social-btns li:nth-of-type(5) {
	transition-delay: 0.25s;
}
ul.social-btns li a {
	color: rgba(255, 255, 255, 0.6);
}
ul.social-btns li a i {
	font-size: 22px;
}




/*--------------------------------------------------------------
## Other
--------------------------------------------------------------*/
#content p {
	line-height: 31px;
}

body.home div#masthead {
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	height: 945px;
}
#masthead {
	margin-bottom: 40px;
}
body.home #masthead {
	margin-bottom: unset;
}
.mh-img-1 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-short-2020-1.jpg");
}
.mh-img-2 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-short-2020-2.jpg");
}
.mh-img-3 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-short-2020-3.jpg");
}
.mh-img-4 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-short-2020-4.jpg");
}
.mh-img-5 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-short-2020-5.jpg");
}
.mh-img-24 {
	background-image: url("/wp-content/themes/bartsbash/img/homepage-header-24.webp");
	height: 1145px;
}
#title-logo-container {
	padding-top: 20px;
	text-transform: uppercase;
	text-align: center;
}
#title-logo-container .images {
	margin-bottom: 60px;
}
#title-logo-container .images img {
	width: 556px;
	height: auto;
}
.homepage-btn-container {
	text-align: center;
}
.homepage-btn-container a:hover {
	background-color: #00284C;
}
.homepage-btn-container a.btn.btn-primary {
	font-family: "effra";
	padding: 18px 46px;
	font-size: 17px;
	letter-spacing: 2px;
	border-radius: 15px !important;
	background-color: #FF0066;
}
.homepage-btn-container.smaller a.btn.btn-primary {
	padding: 12px 36px;
	font-size: 13px;
	letter-spacing: 1.3px;
}
#strapline {
	font-size: 27px;
	font-weight: 400;
	color: #fff;
	text-transform: none !important;
	line-height: 1.4;
    padding: 0 10% 40px 10%;
}
.the-date {
	font-family: 'DirtyHeadline';
	color: #fff;
	font-size: 90px;
	text-transform: uppercase;
	margin: 0 auto 30px;
	max-width: 764px;
}
.the-date sup {
	font-size: 45px;
}
footer .the-date {
	font-size: 50px;
}
footer .the-date sup {
	font-size: 25px;
}
#header-links {
	width: 320px;
	margin-right: 60px;
	margin-top: 34px;
}
#header-links a {
	color: #fff;
	letter-spacing: 3.2px;
	text-transform: uppercase;
}
.no-banner #header-links a {
	color: #007EC3;
}
#cd-container {
	margin-top: -194px;
	margin-left: 68px;
	padding-top: 40px;
	padding-bottom: 40px;
	background: #00284C 0% 0% no-repeat padding-box;
	opacity: 0.85;
}
#cd > div {
	max-width: 100px;
}
.cd-heading {
	font-size: 15px;
	letter-spacing: 3px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 6px;
	border-bottom: 1px solid #007EC3;
	padding-bottom: 10px;
}
.cd-title {
	font-size: 20px;
	font-weight: 700;
}
.cd-value {
	font-size: 30px;
	line-height: 35px;
}
#countries-sailors-venues {
	text-align: center;
	margin-bottom: 55px;
}
#countries-sailors-venues .csv-value {
	font-family: 'DirtyHeadline';
	color: #00284C;
	font-size: 80px;
}
#countries-sailors-venues .csv-title{
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 3.4px;
	font-size: 17px;
}
#gallery .card-columns {
	column-count: 4;
}

/* Left navigation hides below 1140 */

@media (min-width: 1140px) {
	body.home div#masthead.mh-img-24 {
		height: 1145px;
		margin-bottom: 0;
	}
	#gallery, .full-width-with-sidebar {
		margin-left: 68px;
		width: calc(100% - 68px);
	}
	#footer-wave {
		margin-left: 68px;
	}
}
@media (max-width: 1139.98px) {
	h1.stamped {
		margin-top: 140px;
	}
	#cd-container {
		margin-top: 0;
		margin-left: 0;
	}
	.cd-title {
		font-size: 14px;
	}
}
@media (max-width: 991.98px) {
	#gallery .card-columns {
		column-count: 2;
	}
}
@media (min-width: 992px) {
	.cd-max-width {
		width: 604px;
	}
}
@media (min-width: 576px) and (max-width: 767.98px) {
	#title-logo-container {
		font-size: 56px;
		line-height: 66px;
		margin-bottom: 40px;
	}
}
@media (max-width: 575.98px) {
	body.home div#masthead {
		height: 700px;
	}
	#title-logo-container sup {
		font-size: 22px;
	}
	#strapline {
		font-size: 28px;
	}
	#title-logo-container .images img {
		width: 340px;
		height: auto;
	}
	.the-date {
		font-size: 32px;
		margin-bottom: 40px;
	}
	#title-logo-container {
		font-size: 25px;
		margin-bottom: 0;
	}
	#title-logo-container .btn {
		padding: 12px 25px;
		font-size: 14px;
		letter-spacing: 1px;
		margin-bottom: 30px;
	}
	.cd-title {
		font-size:9px;font-weight:600;letter-spacing:1px;line-height:11px; padding-bottom:8px;
	}
	.cd-value {
		font-size:25px; font-weight:700; line-height: 25px;
	}
}
@media (max-width: 385.98px) {
	#title-logo-container sup {
		font-size: 22px;
	}
	#title-logo-container .col div:nth-of-type(2) {
		font-size: 40px; line-height: 50px;
	}
	#title-logo-container .col div:nth-of-type(3) {
		font-size: 22px;
	}
	#title-logo-container .col div:nth-of-type(4) {
		font-size: 37px;
		line-height: 40px;
	}
	#title-logo-container .col div:nth-of-type(5) {
		font-size: 28px;
	}
}


/* page background can be selected with ACF */
body:not(.home) #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-1.webp");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	height: 540px;
}
body.header-graphic-1 #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-1.webp");
}
body.header-graphic-2 #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-2.webp");
}
body.header-graphic-3 #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-3.webp");
}
/* graphic 4 doesn't exist so use 2 */
body.header-graphic-4 #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-2.webp");
}
body.header-graphic-blank #container-background #banner-image, body.header-graphic-ilca #container-background #banner-image {
	background-image: url("/wp-content/themes/bartsbash/img/header-graphic-blank.jpg");
}

#cd-row {
	color:#fff;
}

.card-date {
	font-style: italic;
	color: #1D71B8;
	font-size: 14px;
	margin-bottom: .75rem;
}
footer {
	background-color: #00284C;
	color: #fff;
	padding-bottom: 70px;
}
footer p {
	font-size: 13px;
}
footer a, footer a:hover {
	color: #fff;
	text-decoration: underline;
}
main {
	margin-bottom: 50px;
}
.bb-results table th {
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: #A2AFBD;
}
.bb-results table td {
	font-size: 19px;
	color: #00284C;
}
.bb-results table td span {
	border: 1px solid #A2AFBD;
	font-size: 13px;
	color: #A2AFBD;
	padding: 5px 5px 5px 6px;
	border-radius: 13px;
}
.bb-results table.bb-results-table-height tr {
	height: 52px;
}
.bb-results table td:nth-child(3), .bb-results table th:nth-child(3) {
	text-align: center;
}
.bb-results h4 {
	font-size: 33px;
	font-weight: 700;
	color: #00284C;
	margin-bottom: 0;
}
.bb-results .smaller {
	padding: 5px 0.75rem;
	font-size: 16px;
}
.bb-results .btn.btn-primary {
	border-radius: 19px;
	font-size: 13px;
	letter-spacing: 1.3px;
	padding-top: 2px;
	padding-bottom: 2px;
}
.bb-results .btn-group {
	margin: 3px 20px 3px 0;
}
.bb-results .btn-group>.btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.bb-results .btn-primary {
    background-color: #CDD4DC;
    border-color: #CDD4DC;
}
.bb-results .btn-primary:not(:disabled):not(.disabled).active {
    background-color: #007EC3;
    border-color: #007EC3;
}
.results-outer {
	padding-bottom: 23px;
	margin-top: 27px;
}
.results-outer > div {
	padding-bottom: 23px;
}
.results-outer a {
	color: #00284C;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	margin-right: 12px;
}
/* How to take part */
.how-take-part .card {
	box-shadow: 0px 3px 6px #00000012;
	border: 1px solid #A2AFBD66;
}
.how-take-part .card-footer {
	border-top: none;
	background-color: unset;
	text-align: center;
	margin-top: 2px;
	margin-bottom: 48px;
}
/* on smaller screens card-deck becomes blocks */
@media (min-width: 1140px) {
	.how-take-part .card {
		max-width: 30.8%;
	}
	#in-support-top {
		padding-top: 13px;
		margin-bottom: 132px;
	}
}
@media (max-width: 1139.98px) {
	.how-take-part .card-deck {
		display: block;
	}
	.how-take-part .card {
		margin-bottom: 20px;
	}
}
.how-take-part .card-img-top {
	height: 40px;
	filter: invert(100%);
}
.how-take-part .card-img-container {
	width: 110px;
	height: 110px;
	margin: 40px auto 10px auto;
	background-color: #F4C000;
	border-radius: 55px;
	display: flex;
	align-items: center;
}
.how-take-part .card-title, .how-take-part .card-subtitle {
	font-family: "DirtyHeadline";
	text-transform: uppercase;
	font-size: 31px;
	line-height: 45px;
	color: #007EC3;
	text-align: center;	
}
.how-take-part .card-title {
	margin-bottom: 2px;
}
.how-take-part .card-subtitle {
	color: #00284C;
	margin-bottom: 18px;
}
.how-take-part .card-text {
	color: #00284C;
	font-size: 19px;
	line-height: 30px;
	text-align: center;
}
.how-take-part .card-link {
	border-radius: 41px;
	background-color: #00284C;
	color: #fff;
	padding: 17px 58px 13px 32px;
	position: relative;
	font-size: 13px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}
.how-take-part .card-link::after {
	content: url(/wp-content/themes/bartsbash/img/angle-right-solid.svg);
	height: 10px;
	width: 10px;
	position: absolute;
	top: 15px;
	right: 28px;
	filter: invert(100%);
}
#supporting {
	background-image: url(/wp-content/themes/bartsbash/img/BB24-AboutTheFoundation-Background.webp);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	min-height: 1000px;
	padding-bottom: 20px;
	color: #fff;
}
#supporting a, #supporting a:hover  {
	color: #fff;
}

.fundraising-block h5 {
	margin-top: 15px;
}
.bb-results h5, .fundraising-block h5 {
	font-size: 19px;
	color: #0E4F86;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
}
.fundraising-block {
	text-align: center;
}
.fundraising-block a {
	font-weight: 700;
	color: #212529;
}
#content .fundraising-block p {
	line-height: 26px;
}
.fundraising-block .fundraising-img {
	height: 45px;
}
.fundraising-block > div {
	width: 280px;
	margin-left: 10px;
	margin-right: 10px;
}

.focused-sailing-programmes-block {
	margin-top: 60px;
	margin-bottom: 60px;
}
.focused-sailing-programmes-block h5 {
	min-height: 50px;
}
@media (min-width: 1200px) {
	.focused-sailing-programmes-block {
		margin-top: 90px;
		margin-bottom: 90px;
	}
	.focused-sailing-programmes-block > div:not(:last-child) {
		padding-right: 40px;
		border-right: 1px solid #1d71b8;
		margin-right: 40px;
	}
}

.download-block {
	border: 1px solid #ccc;
	padding: 30px 24px;
	margin-bottom: 30px;
}
.coming-soon-container {
	position: absolute;
	top: 0;
	left: 15px;
	width: calc(100% - 30px);
	height: calc(100% - 30px);
    margin-bottom: 30px;
	background-color: #999999cc;
	padding-top: 90px;
	text-align: center;
	font-size: 50px;
	font-weight: 700;
	color: #fff;
}
.download-block h5 {
	margin-top: 20px;
	font-size: 19px;
	color: #0E4F86;
	font-weight: 700;
	margin-bottom: 10px;
}
.download-block p {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 0;
}
.download-language {
	font-size: 14px;
	color: #838383;
	margin-top: 16px;
	margin-bottom: 16px;
}
.download-input.form-control {
	font-size: 14px;
	color: #838383;
	height: 2.25rem;
	margin-top: 4px;
	margin-bottom: 11px;
}

.social-icons a:not(:last-of-type) {
	margin-right: 9px;
}
.carousel-indicators-fa li::before {
	font-family: FontAwesome; content: "\f10c";
}
.carousel-indicators-fa li {
	background-color: initial;
	text-indent: 0;
	opacity: initial;
	color: #1D71B8;
	/* transition: none; */
}
.carousel-indicators .active::before {
	font-family: FontAwesome; content: "\f192";
}
.carousel-indicators {
	bottom: -50px;
}

#primary {
	background-image: url("/wp-content/themes/bartsbash/img/Star-Watermark.webp");
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: 70px;
	min-height: 1142px;
}
#breadcrumbs {
	margin-top: 20px;
	font-size: 13px;
}
div#breadcrumbs + main > h2:first-of-type {
	margin-top: 30px;
}

.event-partners-supporters a {
	margin-left: 16px;
	margin-right: 16px;
	margin-bottom: 32px;
}

#venues-list h4 {
	background-color: #0E4F86;
	color: #fff;
	text-align: left;
	padding: 13px 0 13px 20px;
	margin-top: 50px;
	font-size: 16px;
	font-weight: 700;
}
#venues-list .media {
	margin-top: 25px;
	margin-bottom: 25px;
	text-align: left;
}
#venues-list a.name {
	color: #333;
	font-weight: 700;
}
#venues-list ul {
	margin-right: 17px;
}
#venues-list a.club-page {
	font-size: 14px;
	text-decoration: underline;
	color: #0E4F86;
}
.btn-group.az-buttons .btn:hover {
	color: #fff;
	background-color: #0E4F86;
}
.btn-group.az-buttons a {
	color: #0E4F86;
	padding-left: 13px;
	padding-right: 13px;
}
.btn-group.az-buttons>.btn:not(:last-child):not(.dropdown-toggle) {
	border-radius: 4px;
}
.about-venue-heading {
	font-size: 20px;
}
.about-venue-detail {
	font-size: 30px;
	font-weight: 700;
	color: #0E4F86;
}
h4#about-venue {
	font-size: 23px;
	font-weight: 700;
	color: #0E4F86;
}
/* force some column widths for results table */
@media (min-width: 768px) {
	#historic-results-table th:nth-child(5) {
		width: 165px
	}
	#historic-results-table th:nth-child(6) {
		width: 118px
	}
	#historic-results-table th:nth-child(7) {
		width: 165px
	}
	/* Country */
	#results-table th:nth-child(6) {
		width: 93px
	}
	/* Lap Distance */
	#results-table th:nth-child(6) {
		width: 118px
	}
}
#eu-cookie {
	padding: 10px 30px;
	position: fixed;
	bottom: 30px;
	right: 0;
	margin: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	border: 2px solid #0E4F86;
}
#eu-cookie .btn {
	padding-left: 26px;
	padding-right: 26px;
}

/*--------------------------------------------------------------
## Tools Specific
--------------------------------------------------------------*/
#codeigniter_profiler {
	margin-left: 60px;
}
/* move the fixed sidebar down to accomodate the admin menu */
body.admin-bar .sidebar {
	top: 32px;
}

/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/

/* when page below 1140 hide the left hand menu and have a normal top menu bar */
@media (min-width: 1140px) {
	.sidebar {
		display: block;
	}
	.navbar {
		display: none;
	}
	#in-support-top {
		display: flex!important;
	}
	#eu-cookie {
		width: calc(100% - 68px);
	}
}
/* less than md for mobile devices */
@media (max-width: 767.98px) {
	#venues-list i.fa, #venue-social i.fa {
		font-size: 30px;
	}
}

/* popup */
.swal2-styled.swal2-confirm {
	background-color: #f8c206 !important;
}
#swal2-content {
	padding-top: 10px;
}
.swal2-content {
	color: #333;
	font-size: 1.25em;
}

.videoWrapper {
	margin-top: 30px;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
