/*   
Theme Name: Ninja Challenge League
Theme URI: http://brycetwyman.com
Description: A WordPress Theme designed specifically for Mark Ravi's Ninja Challenge League
Author: Bryce Twyman
Author URI: http://brycetwyman.com
Version: 1.0.0
*/

/* Global */

*
{
	font-family: helvetica, sans-serif;
}

body
{
	margin: 0;
}

h1
{
font-family: Orbitron, helvetica, sans-serif;
font-size: 35px;
text-align: center;
font-weight: 700;
text-transform: uppercase;
}

h2
{
font-family: helvetica, sans-serif;
font-size: 24px;
}

h3
{
font-family: helvetica, sans-serif;
font-size: 18px;	
}

a
{
	text-decoration: inherit;
	color: inherit;
}

p
{
	font-family: helvetica;
	font-weight: 400;
	line-height: 1.3em;
}

p a
{
	text-decoration: underline;
	color: #001982;
}

ul
{
	padding: 0;
	margin: 0;
}

.button
{
	display: inline-block;
	padding: 10px 5px;
	border-radius: 5px;
}

.metaDate
{
	margin: 5px 0;
	font: 300 12px verdana, sans-serif;
	display: inline-block;
}

a span.metaDate
{
	text-decoration: underline;
}

.divider
{
	width: 50%;
	height: 1px;
	background-color: rgba(0, 0, 0, 0.2);
	margin: 30px auto 0 auto;
}

/* Header */

.header
{
	width: 100%;
	height: 80px;
	background-color: #fff;
	position: fixed;
	top: 0px;
	z-index: 10;
	border-bottom: 1px solid #ccc;
}

.page_item_has_children
{
	position: relative;
}

ul.children
{
	visibility: hidden;
	position: absolute;
	top: 80px;
	padding: 0px;
	background-color: #fff;
	list-style: none;
	border-bottom: 1px solid #ccc;
	left: -25px;
	width: 170px;
}

ul.children > li
{
	padding: 10px 25px;
}

.page_item_has_children:hover ul.children
{
	visibility: initial;
}

.headerBrand
{
	width: 410px;
	height: 100%;
	float: left;
	padding: 0 10px;
	box-sizing: border-box;
}

.headerBrand img
{
	height: 80%;
	width: auto;
	margin: 8px 20px 8px 0;
	float: left;
}

.headerBrand span
{
	display: block;
	float: left;
	margin: 32px 0;
	font-family: Orbitron, helvetica, sans-serif;
	font-size: 20px;
}

.headerMenu
{
	width: auto;
	height: 100%;
	float: right;
	padding: 0 10px;
	box-sizing: border-box;
	font-family: helvetica;
	font-weight: 300;
}

.header > nav
{
	display: block;
}

.headerMenu > nav.mainNav > ul
{
	float: right;
	list-style: none;
}

.headerMenu > nav.mainNav > ul > li
{
	margin: 0 15px;
	padding: 31px 0;
	position: relative;
	display: inline-block;
}

.mainSocial
{
	float: right;
}

.mainSocial a
{
	margin: 0 20px;
}

.mobileMenu
{
	display: none;
	background-image: url("images/icons/menu.svg");
	width: 6vh;
	height: 6vh;
	margin: 2vh 0;
	float: right;
	background-size: contain;
	background-repeat: no-repeat;
}

a#socialLink
{
	display: inline-block;
	padding: 30px 0;
	height: 20px;
	width: 20px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

/* Footer */

.footer
{
	width: 100%;
	background-color: #001982;
	padding: 30px 0;
}

.accreditation
{
	width: 100%;
	padding: 20px 0;
	text-align: center;
	background-color: #a80000;
	color: #fff;
	font: 300 14px helvetica, sans-serif;
}

/* Page */

.pageBanner
{
	width: 100%;
	height: 250px;
	margin-top: 80px;
	background: #eee center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 700 32px helvetica, sans-serif;
	color: #fff;
	overflow: hidden;
	position: relative;
}

.pageBanner h1
{
	z-index: 5;
}

.pageBannerDark
{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}

.pageCont
{
	width: 960px;
	margin: 0 auto;
	padding: 50px 0;
	overflow: hidden;
}

.pageCont ul, .pageCont ol
{
	padding: 0 0 0 40px;
	margin: 20px 0;
	font-family: helvetica;
	font-weight: 400;
	line-height: 1.3em;
}

.pageCont li
{
	line-height: 1.3em;
	margin: 16px 0;
}

.aspectRatio
{
	display: inline-block;
}

.pgSection
{
	margin-bottom: 100px;
}



/* Home */

.hmFull
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	display: flex;
	align-items: center;
}

.hmUnder
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.75);
}

.hmCont
{
	width: 500px;
	margin: 0 auto;
	z-index: 2;
	font-family: helvetica;
	font-weight: 400;
}

.hmCont img
{
	width: 100%;
	height: auto;
	margin: 20px auto;
}

.hmCont div
{
	width: 100%;
	text-align: center;
	margin: 20px 0;
	color: #fff;
	font-size: 24px;
	overflow: hidden;
	font-family: Orbitron, helvetica, sans-serif;
	text-transform: uppercase;
}

.hmContBtns
{
	display: inline-flex;
}

.hmCont div a.button
{
	width: 100%;
	margin: 0 10px;
	color: #000;
	font-size: 16px;
	font-family: helvetica, sans-serif;
	text-transform: capitalize;
}

/* News */

.newsCont
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 50px;
}

.newsPost
{
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.newsPost *
{
	margin: 0;
	padding: 0;
}

.newsThumbnail
{
	width: 100%;
	height: 180px;
	background-color: #ececec;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.newsMeta
{
	font-size: 12px;
	font-weight: 700;
}

.newsPage
{
	width: 720px;
	margin: 0 auto;
	padding: 50px 0;
}

.newsLink
{
	text-decoration: underline;
	color: #001982;
}

/* Affilliate Gyms */

.partnerGym
{
	width: calc(100% - 20px);
	margin: 25px 10px 25px 10px;
	float: none;
	text-align: center;
	display: block;
	height: 275px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 20px;
	box-sizing: border-box;
}

.affiliateGym
{
	width: calc(33.3% - 20px);
	margin: 25px 10px 25px 10px;
	float: left;
	text-align: center;
	display: block;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 20px;
	box-sizing: border-box;
}

.affiliateGym img
{
	width: 100%;
}

.affiliateLogo
{
	width: 100%;
	height: 150px;
	background: center/contain no-repeat;
}

/* Schedule */

.locationSelect
{
	width: 405px;
	height: 400px;
	margin: 0 auto;
	text-align: center;
}

.locationSelect a img
{
	height: 100%;
	width: auto;
	display: inline-block;
	margin: 0;
	padding: 0;
	opacity: 0.5;
	transition: opacity 0.2s;
}

.locationSelect a img:hover
{
	opacity: 0.7;
}

.roundCont
{
	width: 50%;
	margin: 0px auto 40px auto;
	background-color: #ececec;
	border-radius: 10px;
	padding: 10px 10px;
	box-sizing: border-box;
	text-align: center;
	position: relative;
}

.roundCont > a
{
	text-decoration: underline;
}

.roundCont a span
{
	background-color: #ececec;
}

.roundCont a span.button
{
	width: 25%;
	background-color: #001982;
	color: #fff;
	text-decoration: none;
}

.qualifierCont img
{
	height: 100px;
	width: auto;
	display: block;
	margin: 20px auto;
}

.qualifierCont h2
{
	margin-bottom: 0;
}

.qualifierCont span.metaDate a
{
	text-decoration: underline;
}

.currentRound
{
	position: absolute;
	top: -16px;
    left: 50%;
    margin-left: -46px;
    background-color: #a60000;
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
}

.sessionsCont
{
	display: flex;
}

.sessionCont
{
	width: 100%;
	float: left;
	padding: 15px 10px;
	box-sizing: border-box;
}

.roundCont h2
{
	margin-bottom: 20px;
}

.sessionCont h3
{
	margin-bottom: 0;
}

.sessionCont .metaDate
{
	background-color: #313131;
	color: #eee;
	padding: 2px 5px;
	font-size: 10px;
	border-radius: 3px;
}

.sessionButtons
{
	display: flex;
	margin-top: 15px;
}

.sessionButtons .button
{
	width: 100%;
	margin: 0 5px;
	background-color: #001982;
	color: #fff;
	font: 400 14px helvetica, sans-serif;
}

.inactive
{
	background-color: #ccc;
	color: #aaa;
}

.pathItems
{
	height: 90px;
	margin: 25px 0 0 0;
	padding: 0 5px;
	box-sizing: border-box;
}

.pathItem
{
	padding: 5px 10px;
	border-radius: 5px;
	background-color: #444;
	color: #eee;
	display: inline-block;
	font-family: helvetica;
	font-weight: 400;
	font-size: 14px;
	margin: 2px 0;
}

.qualifierCont
{
	width: 50%;
	margin: 0px auto 40px auto;
	background-color: #ececec;
	border-radius: 10px;
	padding: 10px 10px;
	box-sizing: border-box;
	text-align: center;
	position: relative;
}

.warning
{
	width: 100%;
	padding: 10px;
	background-color: #cc0000;
	font-size: 16px;
	font-family: helvetica;
	font-weight: 700;
	color: #fff;
	border-radius: 5px;
	margin-bottom: 50px;
	box-sizing: border-box;
	text-align: center; 
}

/* Standings */

.standingRepeaters
{
	display: flex;
}

.standingCont
{
	margin: 30px 20px 50px 20px;
	flex-grow: 1;
	flex-basis: 0;
}

.standingsHeader
{
	text-align: center;
}

.overall
{
	margin-top: 0px;
	flex-grow: 1.25;
}

.overall .standingPlace
{
	padding: 10px 12px;
	font-size: 20px;
}

.standingCont h3
{
	text-align: center;
}

.standingItem
{
	width: calc( 100% - 20px );
	margin: 0 10px;
}

.standingCont img
{
	width: 100%;
	height: auto;
}

.standingPlace
{
	padding: 8px 10px;
	margin: 8px 0;
	background-color: #001982;
	color: #fff;
	width: 100%;
	font-family: helvetica, sans-serif;
	font-weight: 400;
	font-size: 16px;
	box-sizing: border-box;
	border-radius: 3px;
}

.standingPlace span
{
	display: block;
	float: right;
}

.individualCont
{
	width: 320px;
	margin: 10px auto;
	background-color: #515151;
	color: #ffffff;
	padding: 8px 10px;
	box-sizing: border-box;
	border-radius: 3px;
	font-family: helvetica, sans-serif;
	font-weight: 400;
	font-size: 16px;
}

.individualCont span
{
	display: block;
	float: right;
	text-decoration: underline;
}

.youthTab
{
	width: inherit;
	height: inherit;
}

/* Finals */

table.finals
{
	margin: 50px auto;
	border-collapse: collapse;
	font-family: helvetica, sans-serif;
}

table.finals tr
{
	border-bottom: 1px solid #cecece;
}

table.finals th
{
	padding: 5px 20px;
	text-align: left;
}

table.finals td
{
	padding: 5px 20px;
}

#finalsHeading
{
	text-align: center;
}

/* Contact */

.wpcf7-form
{
	width: 50%;
	margin: 0 auto;
}


.wpcf7-text
{
	width: 100%;
	height: 28px;
	display: inline-block;
	font-size: 20px;
}

.wpcf7-textarea
{
	max-width: 100%;
	min-width: 100%;
	font-size: 20px;
	border: 1px solid #dadada;
}

#SFctr div.SFbox
{
	margin: 20px auto;
}

.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 1s;
}

/* WP Images */

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption {max-width: 100% !important;font-style:italic;font-size:14px;}
.wp-caption img {max-width: 100%;}

/* For screens of width smaller than 1080px (720px container) */
@media screen and (max-width: 1280px){

	.header
	{
		width: 100%;
		height: 10vh;
	}

	nav.mainNav
	{
		width: 75%;
		height: 90vh;
		top: 10vh;
		position: fixed;
		background-color: rgba(255, 255, 255, 1);
		left: 0px;
		box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.4);
		display: none;
		align-items: center;
	}

	p
	{
		line-height: 1.4em;
	}

	.youthTab
	{
		width: 25%;
		height: auto;
	}

	.pgSection
	{
		margin-bottom: 50px;
	}

	.headerMenu
	{
		width: 25%;
	}

	.headerBrand
	{
		width: 75%;
	}

	.headerBrand span
	{
		font-size: 12px;
		display: none;
	}

	.headerBrand img
	{
		height: 60%;
		margin: 15px 20px 15px 15px
	}

	.headerMenu nav.mainNav ul 
	{
		float: none;
	}

	.headerMenu nav.mainNav ul li
	{
		display: block;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		padding: 2vh;
	}

	.mobileMenu
	{
		display: block;
	}

	ul.children
	{
		display: none;
		padding-left: 20px;
		float: none;
		position: inherit;
		top: 0px;
		border-bottom: none;
		padding-left: 5vw;
		width: auto;
		margin-top: 20px;
	}

	ul.children li::before
	{
		content: "- ";
	}

	.page_item_has_children::after
	{
		display: block;
	    content: "\25BE";
	    float: right;
	    position: absolute;
	    right: 10px;
	    top: 13px;
	}

	.page_item_has_children.activeMenu::after
	{
		content: "\25BE";
		float: right;
		transform: rotate(180deg);
	}

	.page_item_has_children.activeMenu > ul.children
	{
		display: block;
	}

	.hmFull
	{
		height: 90vh;
		margin-top: 10vh;
	}

	.hmCont
	{
		width: 55%;
	}

	.hmContBtns
	{
		display: block;
	}

	.hmCont div a.button
	{
		width: 100%;
		margin: 10px auto;
		box-sizing: border-box;
	}

	.mainSocial
	{
		position: absolute;
		bottom: 10%;
		float: none;
		left: 30%;
	}

	/* News */

	.newsCont
	{
		grid-template-columns: repeat(1, 1fr);
	}

	.newsPage
	{
		width: 100%;
		margin: 0 auto;
		padding: 50px 30px;
		box-sizing: border-box;
	}

	/* Page */

	.pageCont
	{
		width: 90%;
		margin: 0 auto;
	}

	.aspectRatio
	{
	    position: relative;
	    width: 100%;
	    height: 0;
	    padding-bottom: 56.25%;
	    display: inline-block;
	}

	.aspectRatio > iframe
	{
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	}

	.pageBanner
	{
		margin-top: 10vh;
		height: 20vh;
	}

	.locationSelect
	{
		width: 100%;
		height: 300px;
	}


	.roundCont
	{
		width: 100%;
	}

	.qualifierCont
	{
		width: 100%;
	}


	.standingRepeaters
	{
		flex-wrap: wrap;
	}


	.standingPlace
	{
		font-size: 14px;
	}
	

	.overall .standingPlace
	{
		font-size: 14px
	}

	.standingCont
	{
		flex-basis: initial;
		margin: 20px 5px 20px 5px;
		display: block;
		width: 100%;
	}

	.overall .standingCont
	{
		margin: 0px 10px 30px 10px;
	}

	#o
	{
		order: 1;
	}

	#m
	{
		order: 2;
	}

	#f
	{
		order: 3;
	}

	.individualCont
	{
		width: 100%;
	}

	.affiliateGym
	{
		width: calc(50% - 20px);
	}

	.wpcf7-form
	{
		width: 90%;
	}

	.wpcf7-text
	{
		width: 100%;
		height: 28px;
		display: inline-block;
		font-size: 20px;
		border: none;
		padding: 0 10px;
		box-sizing: border-box;
		background-color: #eee;
	}

	.wpcf7-textarea
	{
		max-width: 100%;
		min-width: 100%;
		font-size: 20px;
		border: none;
		padding: 0 10px;
		box-sizing: border-box;
		background-color: #eee;
	}


	table.finals td, table.finals th
	{
		padding: 5px 10px 5px 0;
	}

}