body {
	font-family:Georgia, "Times New Roman", Times, serif;
}

.navbar-dark a.navbar-brand:first-child {
	font-size: 7vh;
	line-height: 6vh;
	padding-top:16px;
}

.navbar-toggler {
	color: red;
}

.navbar-dark span.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 174, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
	.nav-overlay .navbar-nav.mr-auto {
		background-color: rgba(0, 0, 0, 0.45);
	}
}

.navbar-dark a.navbar-brand, .navbar-dark ul.navbar-nav .nav-link {
	color: rgb(38, 62, 84);
	display: inline-block;
}

.navbar-dark a.navbar-brand:hover {
	color: rgb(51, 174, 255);
}

a.navbar-brand:hover, .navbar-dark ul.navbar-nav .nav-link:hover {
	color: rgb(51, 174, 255);
}

.nav-overlay .navbar {	
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	z-index: 1;
	background: transparent;
}

header.nav-overlay {
	position: absolute; 
}

header {
	top: 0;
	z-index: 1;
	width: 100%;
}

.navbar-dark ul.navbar-nav .nav-item.active .nav-link {
	color: rgb(70, 198, 70);
	position: relative;
}

.navbar-dark ul.navbar-nav .nav-item.active .nav-link:after {
	display: block;
	background-color: #33aeff;
	height: 2px;
	content: '';
}

.navbar-brand {
	line-height: 15px;
	font-size: 15px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.navbar {
   padding-top: 5px;
   padding-bottom: 5px;
	 background: white;
} 

h1 {
	color: white;
}

.header-text-lessons {
	bottom: 5%;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.header-text-news {
	top: 15%;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.header-text-news h1 {
	color: #363d6d;
}

.header-text-events {
	top: 15%;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.header-text-teams {
	bottom: 0;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.news-home {
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(255,255, 255, 0.5);
}

hr {
	width: 50%;
}

/* for quotes on home page (testimonials) */
p.big-quote::before { 
	quotes: "\201C""\201D";
	content: open-quote;
	font-weight: bold;
	font-size:100px;
	color:#009aff;
}

cite {
	color: #009aff;
	font-size: 1.5em;
	font-weight:400;
	margin-left: 2em;
}

.bg-base {
	position: relative;
  background-position: top;
	background-repeat:no-repeat;
  background-size: cover;
}

.bg-lessons-main {
	background-image: url("images/bg-lessons-main.jpg");
	height:825px;
}

.card-body dt {
	font-size: larger;
}

.card-body dd {
	font-weight: bold;
}

.bg-news-home {
	background-image: url("images/bg-news.jpg");
	height:1150px;
}

.bg-wipeout {
	background-image: url("images/header13-wipeout.jpg");
	height:325px;
}

.bg-jump {
	background-image: url("images/header13-Ted.jpg");
	height:325px;
}

.bg-slalom {
	background-image: url("images/header12-JamieC.jpg");
	height:400px;
}

.jumbotron {
	position: relative;
  background-position: center;
  background-size: cover;
  height: 600px;
}

.bg-home {
	background-image: url("images/header01.jpg");
}

.header-text-base {
	position: absolute;
	color: white;
}
.header-text-base h1 {
	font-size:60px;
}

.header-text-home {
	bottom: 0;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.header-text-contact {
	bottom: 5%;
	right: 0;
	left: 0;
	margin: 0 auto;
}

footer {
	background-color: #162431;
}

footer.blockquote-footer {
	background-color: #FFFFFF;
}

footer p.lead {
	color: #8a94a5;
	font-size:.8em;
	font-family: 'Poppins', sans-serif;
	margin: 1em 0;
}

.card {
	border: none;
}

@media screen and (max-width: 810px) {
    .header-text-base h1 {
        font-size:24px;
    }
		.header-text-home h1 {
        font-size:18px;
    }
}

/* styles for photo galleries start */
.flexible{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.flexible a{
	display: inline-block;
	min-width: 300px;
	max-width: calc(25% - 2px);
	margin: 1px;
}

.flexible a img{
	width: 100%;
}

.flexible a:focus{
	outline-style: none;
}

.flexible a:focus img{
	position: fixed;
	z-index: 98;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 90%;
	width: auto;
}

.flexible.focused-img:before{
	content: '';
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.9);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 97;
}

.flexible.focused-img:after{
	content: '';
	display: block;
	position: fixed;
	background: rgba(0,0,0,0);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
}
/* styles for photo galleries end */