html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	margin: 0;	padding: 0;	border:none;font-size: 100%;	font: inherit;	vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block;}body {	line-height: 1;}ol, ul {	list-style: none;}blockquote, q {	quotes: none;}blockquote:before, blockquote:after,q:before, q:after {	content: '';	content: none;}table {	border-collapse: collapse;	border-spacing: 0;}
html {
	font-family: cabin, sans-serif;
	letter-spacing: 1px;
}

.inner {

	max-width: 57.5em;
	width: 88%;
	margin: 0 auto;

} 
picture, img {
	max-width: 100%;
    height: auto;
    line-height: 0; 
    display: block;
} 

header{

	position: fixed;
	top: 0;
	border-bottom: 4px solid #000;
	width: 100%;
	background: #fff;
	z-index: 99999
}

header nav {
	float: left;
}
 

header .logo {
	float: right;
	background-image: url('../images/logo.png');
	background-repeat: no-repeat;
	background-size: 100%;
	width:9.9375em;
	height:6.625em;
}


header nav ul li {
	display: block;
	padding-top: 1.5em;
	border-top: 3px solid #000;
	width: 5.4375em;
	margin-right:0.5em ;
	float: left;
	margin-top: 2em;

}

header nav li a {
	color: #000;
	font-size: 112.5%;
	text-decoration: none;
	letter-spacing: 0;
}
.clearfix:after {

	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0

}

.main-image {
	margin-top: 6em;
	width: 100%;
	padding-top: 25%;
	background-image: url('../images/main.jpg');
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;

	background-size: cover;
} 
.main-image h1 {

	font-size: 200%;
	color: #fff;
	line-height: 1.5em
}
.main-image-text {
	background: rgba(0,0,0,.25)
}

section.intro {
	padding-top: 4em;
}
.typography h2 {
	font-size: 200%;
	margin-bottom: 1.2em;


}
.typography p {
	font-size: 93.75%;
	line-height: 1.2em;
	
	margin-bottom: 2.5em;
}
.typography .bold {
	font-weight: 700
}
.the-story p {
	text-align: justify;
}
.left-text {
	float:left;
	width: 48.8%;
}
.right-text {
	float: right;
	width: 48.8%;
}


.the-story .image  {
	padding-top: 46.19%;
	width: 100%;
	background: url('../images/bg.jpg') no-repeat;
	background-size: cover;
	background-position: center;
	margin-bottom: 2em;
}
.clear {
	clear: both;
}

address {
	font-weight: 700;
}

section.friends {
	margin-bottom: 3em;

}
.friends-select {
	text-align: justify;
}
	.friends-select:after {
		content: "";
		width: 100%;
		display: inline-block;
	}
.friends-select > div {
	display: inline-block;
	width:31.52%;
	padding-top: 31.52%;
	background-image: url('../images/regatab.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	cursor: pointer;
}
.friends-select .friends-logo-francs {background-image: url('../images/franctab.jpg')}
.friends-select .friends-logo-tokyo-bay {background-image: url('../images/tokcolour.jpg')}

.friends h3 span{
	font-size: 187.5%;
	color:#fff;
	display: block;
	background: #000;
	padding: .5em 1% 1.75em;
	font-weight: 700;
	margin-bottom: .75em;
}

.friends-regatta,
.friends-tokyo-bay {
	display: none
}
.slideshow-holder {
	width: 50%;
	float:right;
}
.friends-information {
	width:47.8%;
	float: left;
}

.google-map {
	margin-bottom:3em;
	width: 100%;
	background: #ccc;
}

section.contact {
	margin-bottom: 5em;
}
.black-button {

    background: #2c2c2c;
    padding: .5em 3em;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.contact .black-button {
	 float: right;
	 margin-bottom: 2em;
}
.contact address {
	line-height: 1.4em
}
footer {

	background: #2C2C2C;
	padding: 1.375em 0 2.5em;

}
footer address {
	color: #9b9b9b;
	font-size: 93.75%;
	line-height: 1.8em;
	
}
footer h2 {
	color:#d0d0d0;
	font-size: 131.25%;
	margin-bottom: 1.375em;
	font-weight: 700;

}

footer .details {
	float: left;
	margin-right: 25%;


}
footer .friends-footer {
	float: left;
}

footer .friends-footer ul {
	margin-bottom: 3em
}
footer .friends-footer a {
	display: block;
	font-size: 93.75%;
	color:#9b9b9b;
	font-weight: 700;
	margin-bottom: .75em;
	text-decoration: none
}
footer a.press-kit {
	text-transform: uppercase;
	font-size: 75%;
	margin-bottom: 2em;
}

.copyright {
	font-weight: 500;
	font-size: 75%;
	color:#9b9b9b;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.slide-holder {

}
.slide {
	padding-top:100%;
	width: 100%;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
}
.f-slide-1 {background-image: url('../images/francs-1.jpg')}
.f-slide-2 {background-image: url('../images/francs-11.jpg')}
.f-slide-3 {background-image: url('../images/francs-4.jpg')}
.f-slide-4 {background-image: url('../images/francs-9.jpg')}

.t-slide-1 {background-image: url('../images/tokyo-bay-11.jpg')}
.t-slide-2 {background-image: url('../images/tokyo-bay-13.jpg')}
.t-slide-3 {background-image: url('../images/tokyo-bay-18.jpg')}
.t-slide-4 {background-image: url('../images/tokyo-bay-26.jpg')}
.t-slide-5 {background-image: url('../images/tokyo-bay-8.jpg')}

.r-slide-1 {background-image: url('../images/regatta-10.jpg')}
.r-slide-2 {background-image: url('../images/regatta-11.jpg')}
.r-slide-3 {background-image: url('../images/regatta-23.jpg')}
.r-slide-4 {background-image: url('../images/regatta-25.jpg')}
.r-slide-5 {background-image: url('../images/regatta-3.jpg')}
.r-slide-6 {background-image: url('../images/regatta-35.jpg')}
.r-slide-7 {background-image: url('../images/regatta-46.jpg')}
.r-slide-8 {background-image: url('../images/regatta-5.jpg')}



/**
 * Owl Carousel v2.3.3
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
/*
 *  Owl Carousel - Core
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }
  .owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }
  .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-wrapper,
  .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }
  .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img {
    display: block;
    width: 100%; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; }
  .owl-carousel.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item {
    -ms-touch-action: none;
        touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item {
    float: right; }

/* No Js */
.no-js .owl-carousel {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both; }

.owl-carousel .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut {
  animation-name: fadeOut; }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

/*
 *  Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out; }

/*
 *  Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease; }

.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d; }

/*
 *  Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000; }

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease; }

.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
      transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none; }

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease; }

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }

.owl-dots {
	display: table;
    margin: 0 auto;
    margin-top: .5em;
}
 .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D6D6D6;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}
.owl-dots .owl-dot.active span, .owl-dots .owl-dot:hover span {
    	background: #869791;
	}	

a.anchor {
    display: block;
    position: relative;
    top: -8em;
    visibility: hidden;
}

@media (max-width: 40em) {

	header{
		border-bottom: 1px solid #000;
	}
	.main-image {
		margin-top: 3.25em;
		padding-top: 40%;
	}
	.the-story .image {
		padding-top: 60%;
	}
	section.intro { 
		padding-top: 2.75em;
	} 
	.main-image h1 {
		font-size: 150%;
	}
	.left-text,
	.right-text{
		width: 100%;
		float: none;
	}
	header .logo {
		float: left;
		height: auto;
		width: auto;
		background-image: none;
		margin-top: 1em;
		margin-bottom: 1em;
		margin-left: 5%;
	}
		header .logo:after {
			content:"Main Beach";
			text-transform: uppercase;
			font-size: 125%;
			font-weight: 700;
		}
	header .inner {
		width: 100%;
	}
	nav {
		display: none;
		clear: both;
		float: none;
		width: 100%;
	}
	header nav ul li a {
		border-bottom: 2px solid #fff;
		text-align: center;
		display: block;
		padding:.75em 0;
		font-size: 112.5%;
		background: #ccc; 
		width: 100%;
		text-transform: uppercase;
	}
	header nav ul li {
		border: none;
		float: none;
		margin-top: 0;
		padding-top: 0;
		width: 100%;

	}
	.menu-button {
		width: 2.5em;
		height: 1.75em;
		margin: .75em;
		float: right;
		margin-right: 4%;
		background-image: url('../images/nav_ico.png');
		background-repeat: no-repeat;

	}
	a.anchor { 
		top: -4em;

	}
}
@media (max-width: 35em) {
	.slideshow-holder {
		display: none
	}
	.friends-information {
		width: 100%;
		float: none;
	}

}

@media (max-width: 30em) {
	.friends-select {
		display: none;
	}
	.friends h3 span {
		display: none;
	}

	.friends-regatta, .friends-tokyo-bay {
		display: block;
	}


	.friends h3 {
		display: block;
		width:100%;
		padding-top: 100%;
		background-image: url('../images/regatab.jpg');
		background-position: center;
		background-repeat: no-repeat;
		background-size: 100%;
		cursor: pointer;
		margin: .5em auto;
		max-width: 18em;
	}
	.friends-tokyo-bay h3 {background-image: url('../images/franctab.jpg')}
	.friends-regatta h3 {background-image: url('../images/tokcolour.jpg')}

	.contact address {
		text-align: center;
	}
	.contact .black-button {
		float: none;
		display: table;
		margin: 0 auto;
		margin-bottom: 1em;
	}
	footer .details {
		display: none;
	}
	footer .friends-footer {
		text-align: center;
		float: none;
		margin: 0 auto;
	}
	footer .copyright {
		text-align: center;
	}
}