/*
—————————————————————————
Global
—————————————————————————
*/
html {
	background:#eeefed;
	background:#d1d4d1;
}
body {
	font:14px/1.4 'Open Sans', sans-serif;
}
.wrapper {
	background:#fff;
	max-width:1350px;
	padding:0 40px 40px 40px;
	margin:auto;
}
h1 {
	font:500 2.7em/1 Montserrat, sans-serif;
	margin:0 -40px 0.75em -40px;
	padding:35px 40px;
	color:#fff;
	background:#051a44;
}
h2 {
	font:500 1.6em/1.2 Montserrat, sans-serif;
	margin:1.6em 0 0.75em 0;
}
h2 a.button {
	display:inline-block;
	color:#fff;
	background:#0f95e2;
	font-size:0.6em;
	border-radius:4px;
	font-family:'Open Sans', sans-serif;
	margin-left:4px;
	padding:6px 9px;
	position:relative;
	top:-2px;
}
h3 {
	font-size:1.3em;
	margin-bottom:0.8em;
	margin-top:1.5em;
}
h2:first-child,
h3:first-child {
	margin-top:0;
}
h4 {
	font-weight:bold;
}
a {
	color:#0f95e2;
	text-decoration:none;
}
strong {
	font-weight:bold;
}
em {
	font-style:italic;
}
p {
	margin-bottom:1em;
}

/*
—————————————————————————
Header
—————————————————————————
*/
#header {
	height:176px;
	z-index:2;
	position:relative;
}
#logo {
	width:400px;
	height:142px;
	background:url(/Images/logo-gymkhana-sixes.png) no-repeat;
	background-size:400px 142px;
	position:absolute;
	top:34px; left:0;
}
#logo span {
	display:none;
}
#nav {
	position:absolute;
	bottom:30px; right:0;
}
#nav li {
	float:left;
	position:relative;
	margin-left:1.2em;
}
#nav li:nth-child(2):before {
	display:none;
}
#nav a {
	float:left;
	padding:0 11px;
	color:#000;
	font-size:1.2em;
	line-height:32px;
	transition:background 150ms linear;
	border-radius:5px;
}
#nav li:hover a.top {
	background:#eeefed;
}
#nav li:active a.top {
	background:#dedede;
}
#nav li.active a,
#nav li.active:hover a.top {
	color:#fff;
	background:#0f95e2;
}
#nav li ul {
	display:none;
	position:absolute;
	top:32px; left:0;
	background:#fff;
	width:250px;
	border-radius:4px;
	border:4px solid #ddd;
}
#nav li:first-child ul {
	left:0;
}
#nav li:hover ul {
	display:block;
}
#nav ul li {
	float:none;
	margin:0;
}
#nav ul li a,
#nav li.active ul li a {
	float:none;
	display:block;
	font-size:0.95em;
	border-radius:0;
	color:inherit;
	background:#fff;
}
#nav ul li a:hover,
#nav li.active ul li a:hover {
	background:#eeefed;
}
#nav ul li:before {
	display:none;
}
#close {
	display:none;
}
#hamburger {
	display:none;
	position:absolute;
	top:23px; right:20px;
	width:36px;
	height:35px;
	z-index:1;
	cursor:pointer;
	border-radius:3px;
}

/*
—————————————————————————
Home
—————————————————————————
*/
#splash {
	background:url(/Images/gymkhana.jpg) right center no-repeat;
	background-size:cover;
	height:260px;
	margin:0 -40px 25px -40px;
	position:relative;
	box-shadow:inset 0 7px 12px -7px rgba(0,0,0,0.2);
}
#splash div {
	position:absolute;
	bottom:40px; left:40px;
	color:#fff;
	background:rgba(12, 34, 82, 0.9);
	background:#051a44;
	padding:30px 30px 30px 54px;
	font-family:Nunito,sans-serif;
	box-sizing:border-box;
}
#splash div:before {
	content:'';
	width:24px;
	height:100%;
	background:url(/Images/bg-strip-gold.png) repeat-y;
	background:#0f95e2;
	background-size:24px 24px;
	position:absolute;
	top:0; left:0;
}
#splash strong {
	display:block;
	font-size:2.2em;
	line-height:1.1;
	margin-bottom:0.2em;
}
#splash strong em {
	font-style:italic;
	font-weight:bold;
	font-family:Georgia,serif;
	font-size:1.3em;
	color:#c8a259;
	background:-webkit-linear-gradient(#eed8a3, #af8f53);
	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent;
}
#splash span {
	display:block;
	font-size:1.3em;
}
#presented {
	text-align:center;
	margin-bottom:40px;
}
#presented h3 {
	font-size:1.2em;
	margin:0 auto 6px auto;
	font-family:Georgia,serif;
	font-style:italic;
	color:#bbb;
}
#presented ul {
	height:90px;
	xborder:1px solid #ccc;
	padding:15px 0;
	max-width:1050px;
	margin:auto;
	box-shadow:0 0 18px #d2d2d2;
}
#presented li {
	display:inline-block;
	margin:0 35px;
}
#presented img {
	height:90px;
}
@media only screen and (min-width:1101px) {
	#presented a.logo-gymkhana img  { width:180px  }
	#presented a.logo-cmsixes img   { width:200px }
	#presented a.logo-decathlon img { width:200px }
	#presented a.logo-elephant img  { width:164px }
}
#team-logos {
	text-align:center;
	height:65px;
	padding:12px 0;
	margin-top:-18px;
	background:#f3f4f2;
}
#team-logos li {
	display:inline-block;
	margin:0 50px;
}
#team-logos img {
	width:65px;
	height:65px;
}
#sponsors {
	display:block;
	margin:auto;
	width:850px;
	height:130px;
	margin:60px auto 50px auto;
}

/*
—————————————————————————
Page Template
—————————————————————————
*/
#page {
	display:table;
	width:100%;
}
#text {
	width:80%;
	display:table-cell;
	background:#fff;
	padding:40px;
	vertical-align:top;
}
.markdown a {
	color:#02c9dd;
	font-weight:bold;
}
img.hero {
	float:right;
	margin:0 10px 40px 40px;
	max-height:500px;
	max-width:300px;
	transform:rotate(3deg);
}
#thumbs {
	margin:30px -14px 0 0;
	padding-top:8px;
}
#thumbs li {
	float:left;
	margin:0 14px 14px 0;
}
#thumbs img {
	display:block;
	width:150px;
	height:150px;
	background:#f2f2f2;
}
#thumbs a:hover img {
	opacity:.93;
}

/*
—————————————————————————
Sidenav
—————————————————————————
*/
#sidebar {
	display:table-cell;
	background:#eee;
	width:20%;
	padding:30px;
	box-sizing:border-box;
	vertical-align:top;
}
#sidebar li a {
	display:block;
	padding:0.5em 0;
	border-bottom:1px solid #ccc;
	color:inherit;
}
#sidebar li.active a {
	font-weight:bold;
}
#sidebar li:last-child a {
	border:0;
}

#sidebar.sidebar-blue a { border-color:#02c9dd }
#sidebar.sidebar-blue li.active a { color:#02c9dd }

#sidebar.sidebar-purple a { border-color:#c752d9 }
#sidebar.sidebar-purple li.active a { color:#c752d9 }

.subnav {
	margin-top:30px;
	font-size:0.9em;
}
#sidebar .subnav li.active a {
	color:#f60;
}
#sidebar .subnav a {
	border-color:#ccc;
}

/*
—————————————————————————
Footer
—————————————————————————
*/
#footer {
	padding:40px;
	color:#fff;
	background:#0f95e2;
	background:#051a44;
	margin:0 -40px -40px -40px;
	font-size:13px;
	position:relative;
}
#footer a {
	color:inherit;
}
#footer address {
	float:left;
	margin-right:5em;
}
#footer address strong,
#footer address span {
	display:block;
}
#footer #links {
	float:left;
}
#social-icons {
	float:right;
}
#social-icons li {
	float:left;
	margin-left:8px;
}
#social-icons a {
	display:block;
	width:40px;
	height:40px;
}
#social-icons a {
	background-repeat:no-repeat;
	background-position:center;
	background-size:40px 40px;
	border-radius:3px;
}
#social-icons span {
	display:none;
}

/*
#social-icons a.vimeo    { background-image:url(/Images/icon-vimeo.png) }
#social-icons a.facebook { background-image:url(/Images/icon-facebook.png) }
*/

/*
——————————————————————
Forms
——————————————————————
*/
.form h3 {
	font-weight:bold;
	margin-top:2em;
}
.form h3:first-child {
	margin-top:0;
}
.form p {
	margin-bottom:0.8em;
}
.form p.checkboxes input {
	margin-right:4px;
	position:relative;
	top:1px;
}
.form label {
	display:block;
	font-size:13px;
	margin-bottom:1px;
	color:#777;
}
.form .checkboxes label {
	display:inline;
	color:inherit;
	margin:0;
	font-size:inherit;
}
.form input.text,
.form textarea,
.form select {
	display:block;
	padding:5px 6px;
	border-radius:4px;
	border:1px solid #ccc;
	width:100%;
	box-sizing:border-box;
	max-width:400px;
	box-shadow:2px 2px #ccc;
}
.form select {
	display:inline-block;
	width:auto;
}
.form select.full {
	width:100%;
}
.form input.text:focus,
.form textarea:focus,
.form select:focus {
	outline:none;
	border-color:#02c9dd;
	box-shadow:2px 2px #02c9dd;
}
.form input.postcode {
	display:inline-block;
	width:80px;
}
.form textarea {
	height:120px;
}
.form input.button {
	display:inline-block;
	color:#fff;
	background:#832891;
	width:140px;
	padding:8px 5px;
	border-radius:4px;
	text-align:center;
	font-weight:bold;
	text-decoration:none;
	margin:0 auto 10px auto;
	border:0;
	cursor:pointer;
	margin-top:20px;
	outline:none;
	-webkit-appearance:none;
}
.form input.button:hover  {
	background:#741982;
}
.form input.button:active  {
	background:#641171;
}
.form input.delete-button {
	background:#ccc !important;
	margin-left:6px;
}
.form .add-button {
	display:inline-block;
	background:#eee;
	padding:10px;
	border-radius:7px;
	margin:2em 0 1em 0;
}
.form .add-button input {
	margin-right:5px;
}
.validation-container {
	color:#e00;
	margin-bottom:1em;
}
.confirm {
	display:inline-block;
	color:#fff;
	font-weight:bold;
	font-size:1.3em;
	background:#02c9dd;
	border-radius:10px;
	padding:6px 15px;
}
.confirm:before {
	content:'✓ ';
}
.form .total {
	display:inline-block;
	padding:4px 0;
	border-top:1px solid #aaa;
	border-bottom:4px double #aaa;
	margin-bottom:1.8em;
}
.total span {
	margin-left:5px;
}
.form p.error {
	color:#fff;
	background:red;
	position:relative;
	top:18px;
	line-height:1.1;
	display:inline-block;
	padding:4px 9px;
	border-radius:4px;
	font-weight:bold;
}

/*
——————————————————————
Contact
——————————————————————
*/
.thanks p {
	font-size:0.9em;
}
.thanks a {
	color:#832891;
	font-weight:bold;
}

/*
——————————————————————
Photo Galleries
——————————————————————
*/
#albums li {
	float:left;
	width:200px;
	height:290px;
	margin-right:20px;
}
#albums li a {
	display:block;
	font-size:14px;
}
#albums img {
	display:block;
	width:200px;
	height:200px;
	background:#f2f2f2;
	margin-bottom:12px;
}
#albums li a:hover img {
	opacity:.93;
}
#albums li a strong {
	display:block;
	padding:0 20px;
	text-align:center;
	position:relative;
	z-index:1;
}
#albums li a span {
	display:block;
	text-align:center;
}
#images {
	margin-right:-14px;
	padding-top:8px;
}
#images li {
	float:left;
	margin:0 14px 14px 0;
}
#album img {
	display:block;
	width:150px;
	height:150px;
	background:#f2f2f2;
}
#album a:hover img {
	opacity:.93;
}
#albumHeader {
	height:30px;
	border-bottom:1px solid #ddd;
	margin-bottom:20px;
}
#albumHeader span {
	float:left;
	line-height:25px;
}
#albumHeader ul {
	float:right;
}
#albumHeader li {
	float:left;
}

/*
——————————————————————
Videos
——————————————————————
*/
#videos li {
	float:left;
	width:200px;
	height:220px;
	margin-right:20px;
}
#videos li a {
	display:block;
	xfont-size:14px;
	color:inherit;
}
#videos img {
	display:block;
	width:200px;
	height:150px;
	background:#f2f2f2;
	margin-bottom:12px;
}
#videos li a:hover img {
	opacity:.93;
}
#videos li a strong {
	display:block;
	padding:0 20px;
	text-align:center;
	position:relative;
	z-index:1;
}
#videos li a span {
	display:block;
	text-align:center;
}

/*
——————————————————————
Lists & Buttons
——————————————————————
*/
ul.bullet {
	padding-left:1.2em;
	margin:0 0 1.3em 1.3em;
}
ul.bullet li {
	list-style-type:none;
	margin-bottom:0.5em;
}
ul.bullet li:before {
	float:left;
	font-family:Arial,sans-serif;
    content: "\25A0";
    color:#0f95e2;
    font-size:0.8em;
	width:1.5em;
	margin-left:-1.5em;
	position:relative;
	top:0.1em;
}
ul.bullet ul li:before {
    content: "–";
	margin-left:-1.2em;
}
ol, ul.bullet ul {
	padding-left:18px;
	margin-top:0.5em;
}
ol li {
	padding-left:1em;
}
ol li,
ul.bullet ol li {
	list-style:decimal;
	background:none;
}
ol ul.bullet li, ul.bullet ul li {
	padding-left:0;
	margin:0;
}
.register-button {
	display:inline-block;
	color:#fff;
	background:#832891;
	padding:6px 20px;
	border-radius:4px;
	text-align:center;
	font-weight:bold;
	margin:0 auto 10px auto;
	border:0;
	cursor:pointer;
}

/*
—————————————————————————
Map
—————————————————————————
*/
#map {
	height:400px;
	margin-bottom:30px;
}
#locations li {
	margin-bottom:1em;
	background:url(/Images/mapicon.png) 0 3px no-repeat;
	background-size:13px 20px;
	padding-left:22px;
	min-height:24px;
}
#locations li strong {
	cursor:pointer;
}
#locations div {
	display:none;
}

/*
—————————————————————————
Staff
—————————————————————————
*/
#staff {
	width:103%;
	margin:-20px -3% 0 0;
}
#staff li {
	margin-bottom:1.5em;
	float:left;
	width:47%;
	box-sizing:border-box;
	margin-right:3%;
	border-top:1px solid #ddd;
}
#staff li:nth-child(odd) {
	clear:left;
}
#staff li:nth-child(1),
#staff li:nth-child(2) {
	border-top:0;
}
#staff a {
	position:relative;
	display:block;
	padding:20px 0 0 170px;
	min-height:197px;
}
#staff img {
	position:absolute;
	top:17px; left:0;
	width:145px;
	height:207px;
	border-radius:4px;
}
#staff a:hover img {
	opacity:0.94;
}
#staff p.staff-name {
	margin-bottom:0.5em;
}
#staff p.staff-name strong {
	display:block;
	color:#f60;
	font-size:1.1em;
}
#staff p.staff-name span {
	display:block;
	color:#aaa;
	font-size:0.9em;
}
.staff-image-wrapper a {
	outline:none;
}
.staff-image-wrapper img {
	float:right;
	margin:-40px 10px 40px 40px;
	max-height:400px;
	transform:rotate(3deg);
}

/*
—————————————————————————
Testimonials
—————————————————————————
*/
#testimonials {
	width:102.33%;
	margin:0 -2.33% 0 0;
}
#testimonials li {
	float:left;
	width:31%;
	margin:0 2.33% 24px 0;
	min-height:230px;
	padding:16px;
	box-sizing:border-box;
	background:#f2f2f2;
	border-bottom:1px solid #eee;
	border-radius:4px;
}
#testimonials li:nth-child(3n+1) {
	clear:left;
}
#testimonials q {
	display:block;
	margin-bottom:5px;
}
#testimonials cite {
	display:block;
}
#testimonials cite strong {
	display:block;
	color:#f60;
}
#testimonials cite span {
	display:block;
	color:#aaa;
	font-size:0.9em;
}
#testimonials li:nth-child(even) cite strong {
	color:#02c9dd;
}

/*
—————————————————————————
FAQs
—————————————————————————
*/
#view-all {
	display:inline-block;
	color:#fff;
	background:#832891;
	width:150px;
	padding:6px 5px;
	border-radius:4px;
	text-align:center;
	font-weight:bold;
	margin:0 auto 10px auto;
	border:0;
	cursor:pointer;
}
#view-all.blue {
	background:#02c9dd;
}
#faqs li.top {
	margin-bottom:1em;
	border-bottom:1px solid #ddd;
}
#faqs .question {
	cursor:pointer;
}
#faqs .question-active {
	font-weight:bold;
	color:#f60;
}
#faqs .question:before {
	content:'+';
	color:#aaa;
	display:inline-block;
	border:1px solid #ccc;
	margin-right:0.8em;
	border-radius:4px;
	line-height:1;
	width:1.2em;
	text-align:center;
	box-sizing:border-box;
}
#faqs .question-active:before {
	content:'-';
	color:#aaa;
	font-weight:normal;
}
#faqs .answer {
	display:none;
	padding-left:2em;
}
#faqs .answer-active {
	display:block;
}

/*
—————————————————————————
Courses
—————————————————————————
*/
.courses {
	width:102%;
	margin-right:-2%;
}
.courses h3 {
	margin-bottom:0.3em;
}
.courses li {
	float:left;
	width:48%;
	margin:0 2% 20px 0;
	background:#eee;
	padding:20px;
	box-sizing:border-box;
}
.courses dt, .courses dd {
	float:left;
}
.courses dt {
	clear:left;
	font-weight:bold;
	color:#02c9dd;
	margin-right:0.3em;
}
.courses a.button {
	display:inline-block;
	color:#fff;
	background:#02c9dd;
	font-weight:bold;
	line-height:1.7;
	padding:0 1em;
	border-radius:4px;
	margin-top:0.8em;
}
.location {
	margin-bottom:1em;
}
.location:nth-child(even) .courses dt {
	color:#f60;
}
.location:nth-child(even) .courses a.button {
	background:#f60;
}

/*
—————————————————————————
Match List
—————————————————————————
*/
#matches-wrapper {
	xoverflow-x:scroll;
}
.matches {
	font-size:13px;
	line-height:14px;
	margin-bottom:20px;
	width:100%;
}
.points {
	xfont-size:inherit !important;
	line-height:inherit;
}
.mvp {
	max-width:400px;
}
.matches th,
.matches td {
	padding:6px 10px 6px 0;
	border-bottom:0.05em solid #ccc;
}

/* Hack to divide 2022 groups 
.points th, .points tr:nth-child(6) td {
	border-width:2px;
	border-color:#0f95e2;
}
*/

.matches th {
	font-weight:bold;
}
.matches td.right,
.matches th.right {
	text-align:right;
}
.matches td.center,
.matches th.center {
	text-align:center;
}
.matches td.winner {
	font-weight:bold;
}
.matches td.xwinner:before {
	content:'';
	display:inline-block;
	width:16px;
	height:13px;
	background:url(/Images/tick.png) no-repeat;
	background-size:16px 13px;
	margin:0 1px -2px 0;
}
.matches a {
	display:inline-block;
	background:#0f95e2;
	color:#fff;
	padding:4px 6px;
	margin:-2px 0;
	border-radius:4px;
}
.time-row, .score-row, .ground-row {
	display:none;
}
.ground-row span {
	white-space:nowrap;
	padding-right:8px;
	font-size:10px;
}
.nowrap {
	white-space:nowrap;
}
.bonus-abbr, .points-abbr {
	display:none;
}

/*
—————————————————————————
Statistics
—————————————————————————
*/
#summaries {
	width:102.5%;
	margin-right:-2.5%;
}
#summaries li {
	float:left;
	width:47.5%;
	margin-right:2.5%;
	margin-bottom:1.5em;
	background:#f3f4f2;
	padding:12px;
	box-sizing:border-box;
	border-radius:7px;
	min-height:287px;
}
#summaries li:nth-child(odd) {
	clear:left;
}
#summaries h2 {
	margin-top:1em;
}
#summaries h3 {
	line-height:1em;
}
#summaries h3 span {
	font-size:13px;
}
#summaries table {
	width:100%;
}
#summaries th {
	font-weight:bold;
}
#summaries th.right,
#summaries td.right {
	text-align:right;
}
#summaries th,
#summaries td {
	font-size:13px;
	padding:1px 20px 1px 1px;
}
#summaries td {
	border-top:1px dotted #ccc;
}
#summaries td a {
	font-size:12px;
}

/*
—————————————————————————
Teams Page
—————————————————————————
*/
#teams {
	width:103%;
	margin-right:-3%;
}
#teams li {
	float:left;
	width:47%;
	margin-right:3%;
	position:relative;
	padding:18px 0 0 150px;
	min-height:132px;
	margin-bottom:2em;
	box-sizing:border-box;
	border-top:1px solid #ddd;
}
#teams li:nth-child(1),
#teams li:nth-child(2) {
	border:0;
}
#teams li:nth-child(odd) {
	clear:left;
}
#teams h2 {
	margin-bottom:0.5em;
}
#teams img {
	position:absolute;
	top:12px; left:0;
	width:130px;
	height:130px;
	padding:3px;
}
#teams p:last-child {
	margin:0;
}

/*
—————————————————————————
Current Matches
—————————————————————————
*/
#current-matches {
	width:101%;
	margin:0 -1% 18px 0;
}
#current-matches li {
	float:left;
	width:24%;
	margin:0 1% 10px 0;
}
#current-matches a {
	display:block;
	height:92px;
	padding:8px 10px;
	box-sizing:border-box;
	color:inherit;
	background:#f3f4f2;
	position:relative;
}
#current-matches a:after {
	content:'';
	position:absolute;
	bottom:0; right:0;
	width:25px;
	height:25px;
	background:#c2c3c2 url(/Images/arrow.png) center no-repeat;
	background-size:25px 25px;
}
#current-matches a.live:after {
	background-color:#0f95e2;
}
#current-matches a:hover {
	background:#eeefed;
}
#current-matches span {
	display:block;
	height:20px;
	line-height:20px;
}
#current-matches span.date {
	font-size:12px;
	height:30px;
	line-height:15px;
	color:#999;
	margin-bottom:5px;
}
#current-matches em.live {
	color:red;
	text-transform:uppercase;
	font-weight:bold;
	font-style:normal;
	margin-left:3px;
}
#current-matches em.overs {
	font-size:12px;
	font-style:normal;
}
#current-matches span b {
	font-size:1.2em;
	line-height:inherit;
}

/*
—————————————————————————
Tabs
—————————————————————————
*/
.tabs {
	height:40px;
}
.tabs li {
	float:left;
	margin-right:5px;
}
.tabs a {
	display:block;
	border-radius:5px;
	padding:4px 10px;
	color:#fff;
	background:#ccc;
	font-size:1.2em;
}
.tabs a:hover {
	background:#bbb;
}
.tabs a:active {
	background:#aaa;
}
.tabs li.active a {
	background:#0f95e2;
}


/*
——————————————————————
Advertisers
——————————————————————
*/
.advertisers {
	text-align:center;
	max-width:900px;
	margin:auto;
}
.advertisers li {
	display:inline-block;
	margin:12px;
	vertical-align:top;
}
.advertisers a {
	display:block;
	width:150px;
	height:150px;
	box-shadow:0 0 8px #d2d2d2;
	border-radius:5px;
	padding:12px;
}
.advertisers img {
	display:block;
	width:150px;
	height:150px;
	border-radius:4px;
}