/*
	Theme Name: Comets Baseball Club
	Version: 1.0
	Author: Supervillain Media
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/*------------------------------------*\
    FONTS
\*------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Rajdhani:500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap');

@import url('fa.all.css');
@import url('owl.carousel.min.css');
@import url('owl.theme.default.css');

/*------------------------------------*\
    UTILITY
\*------------------------------------*/


:root {
	--royal: #060776;
	--red: #f4511e;
	--lightblue: #29b6f6;
	--headline: 'Rajdhani', sans-serif;
	--copy: 'Open Sans', sans-serif;
}


/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html {
	font-size:10px;
}

body {
	font:300 11px/1.4 var(--copy);
	color:#444;
}

.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}

.clear {
    *zoom:1;
}

img {
	max-width:100%;
	vertical-align:bottom;
}

a {
	color:#444;
	text-decoration:none;
}

table a {
	color: var(--royal);
	text-decoration:underline;
}

a:hover {
	color:#444;
}

a:focus {
	outline:0;
}

a:hover,
a:active {
	outline:0;
}

input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

p a.external-link::after,
li a.external-link::after {
	content: "\f14c";
	text-decoration: none;
	font-family: "Font Awesome 5 Pro";
	font-size: 70%;
	margin: 0 0 0 5px;
	font-weight: 600;
	opacity: .5;
	display: inline-block;
	font-style: normal;
	position: relative;
	top: -2px;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

h1, h2, h3, h4, h5 {
	font-family: var(--headline);
	line-height: 1;
	font-weight: 500;
	letter-spacing: -.025em;
}

h1 {
	font-size: 4rem;
}

h2 {
	font-size: 2.8rem;
}

h3 {
	font-size: 2.4rem;
}

h4 {
	font-size: 2.0rem;
}

.row-header {
	margin: 0;
}

.page-title {
	margin-top: 0;
}

p {
	font-size: 1.8rem;
	line-height: 1.4;
	margin: 1.5em 0;
}

p a {
	text-decoration: underline;
	color: var(--royal);
}

address {
	font-size: 1.8rem;	
}

/*------------------------------------*\
    LAYOUT
\*------------------------------------*/

.row {
	margin: 0 auto;
	padding: 40px 50px;
	max-width: 1400px;
}

.row.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}



main[role="main"] {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 50px;
}

main[role="main"] > section {
	flex: 1;
}

/*------------------------------------*\
    SIDEBAR
\*------------------------------------*/


main[role="main"] > aside {
	width: 25%;
	margin: 0 60px 0 0;
	/* padding: 30px;
	border: 1px solid #eee;
	box-shadow: 0 0 10px rgba(0,0,0,.055); */
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;		
}

aside .fb_iframe_widget {
	flex: 1;
}

main[role="main"] > aside > div + div {
	margin: 30px 0 0 0;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

header[role="banner"] {
	/* height: 230px; */
	background-color: var(--royal);
	color: #fff;
}

header[role="banner"] .row {
	align-items: flex-end;
}

header[role="banner"] .logo {
	width: 150px;
}

header[role="banner"] .logo a {
	display: block;
}

header[role="banner"] .logo img {
	max-width: 150px;
}

header[role="banner"] .logo span {
	text-align: center;
	margin: 10px 0 0 0;
    display: block;
}

/*------------------------------------*\
    NAV
\*------------------------------------*/

nav.nav {
	margin: 4rem 0 0 0;
}

nav.nav ul {
	margin: 0;
	padding: 0;
	font-size: 1.8rem;
	font-family: var(--headline);
}

nav.nav ul li {
	display: inline-block;
	position: relative;
	margin: 0 20px 0 0;
}

nav.nav ul li a {
	display: inline-block;
	color: #fff;
}

nav.nav .menu-item-has-children {
	padding-right: 20px
}

nav.nav .menu-item-has-children:after {
	display: inline-block;
	content: "\f107";
	font-family: "Font Awesome 5 Pro";
	font-weight: 500;
	position: absolute;
	top: 0;
	right: 0;
}

nav.nav .sub-menu .menu-item-has-children:after {
	content: "\f107";
	color: var(--royal);
	top: 50%;
	margin: -15px 10px 0 0;	
}

nav.nav .sub-menu {
	display: none;
	position: absolute;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
	background: #fff;
	width: 250px;
}

nav.nav .sub-menu .sub-menu {
	display: none;
	left: -100%;
	top: -100%;
}

nav.nav .sub-menu a {
	color: var(--royal);
	padding: 13px 20px;
	border-bottom: 1px solid rgba(0,0,0,.125);
	display: block;
}

nav.nav .sub-menu li:hover {
	background-color: var(--royal);
}

nav.nav .sub-menu li:hover > a {
	color: #fff;
}

nav.nav .sub-menu li {
	display: block;
	margin: 0;
}


nav.nav .menu-item-has-children:hover > .sub-menu {
	display: block;
	z-index: 100;
}


nav.nav .external:hover:after {
	color: #fff;
}

.mnav {
	display: none;
}

.mnav-handle {
	display: none;
}

/*------------------------------------*\
    UPCOMING GAMES
\*------------------------------------*/

.upcoming-games {
	background: #f5f5f5;
}

.upcoming-games .rain-notice {
	color: var(--lightblue);
	font-size: 2rem;
	font-weight: 600;	
}

.upcoming-games .rain-notice .fad {
	margin: 0 10px 0 0;
	font-size: 2.2rem;
}

.upcoming-games .games {
	padding-top: 0;
	padding-bottom: 0;
}

.upcoming-games .games .game-tile {
	background: #fff;
	padding: 20px;
	display: flex;
	align-items: center;
	width: 32%;
	margin: 0 0 15px 0;
}

.upcoming-games .games .game-tile + .game-tile {
	/* margin-left: 15px; */
}

.upcoming-games .games .game-tile > i {
	margin: 0 20px 0 0;
	font-size: 4rem;
	color: var(--red);
}

.upcoming-games .games .game-tile .details {

}

.upcoming-games .games .game-tile .details h4 {
	margin: 0 0 .5em 0;
}

.upcoming-games .games .game-tile .details .round {
	font-size: 1.4rem;
	font-weight: 600;	
}

.upcoming-games .games .game-tile .details .date {
	font-size: 1.4rem;
	font-weight: 600;	
}

.upcoming-games .games .game-tile .details .location {
	font-size: 1.4rem;
	font-weight: 600;
}


.upcoming-games .more-games {
	text-align: right;
}

.upcoming-games .more-games a {
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--red);	
}

.post-type-archive-games .upcoming-games {
	display: none;
}

.post-type-archive-games .game-tile {
	display: flex;
	border: 1px solid #dedede;
	margin: 0 0 30px 0;
	padding: 3rem;
	align-items: center;
}

.post-type-archive-games .game-tile > i {
	margin: 0 20px 0 0;
	font-size: 4rem;
	color: var(--red);
}

.post-type-archive-games .game-tile .details {

}

.post-type-archive-games .game-tile .details h2 {
	margin: 0 0 .5em 0;
}

.post-type-archive-games .game-tile .details .date {
	font-size: 1.6rem;
}

.post-type-archive-games .game-tile .details .location {
	font-size: 1.6rem;
}

.post-type-archive-games .game-tile .details .round {
	font-size: 1.6rem;
}

/*------------------------------------*\
    HOMEPAGE 
\*------------------------------------*/

.row.index-header {
	max-width: 100%;
	padding: 0;
	background-size: cover;
	background-position: center center;
}

.row.index-header .copy {
	max-width: 40%;
	padding: 70px 90px;
	color: #fff;
	background: rgba(195,138,95,.75);
	padding-left: calc((100% - 1300px) / 2);
}

.row.index-header .copy a {
	color: #fff;
}

.row.index-header .copy a:after {
	display: inline-block;
	content: "\f33b";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	margin: 0 0 0 15px;	
}

main.index {
	
}

section.loop .page-title {
	margin-top: 0;
}

section.loop article {
	display: flex;
	background: #fafafa;
	border: 1px solid #ddd;
}

section.loop article + article {
	margin: 30px 0 0 0;
}

section.loop article.sticky {
	background-color: #ffe0b2;
	border: 1px solid #ffb74d;
}

section.loop article h1 {
	margin: 0;
}

section.loop .loop-content {
	padding: 30px;
	flex: 1;
}

section.loop .loop-content h2 {
	margin-top: 0;
}

section.loop .thumbnail-container {
	display: block;
	width: 25%;
	background-size: cover;
	background-position: center center;
}

section.loop .read-more {
	font-size: 1.8rem;
	font-weight: 500;
	color: var(--red);
}

/*------------------------------------*\
    SPONSORS
\*------------------------------------*/

.major-sponsor {
	text-align: center;
}

.major-sponsor * {
	display: inline-block;
	margin: 0 auto;
	font-weight: 600;
}

.major-sponsor img {
	max-width: 700px;
}

.minor-sponsors {
	background-color: #f5f5f5;
}

.minor-sponsors .owl-carousel .slide-container {
	background-color: #eee;
	display: block;
	pointer-events: none;	
}

.minor-sponsors .owl-carousel .slide-container[href*="http"] {
	pointer-events: all;
}

.minor-sponsors .owl-carousel.row {
	padding-top: 0;
	padding-bottom: 0;
}

.minor-sponsors .owl-carousel .owl-stage {
	display: flex;
	text-align: center;
	align-items: center;	
}

.minor-sponsors .owl-carousel .owl-stage h3 {
	margin: 0;
	padding: 0;
}

.minor-sponsors .owl-carousel .owl-stage h3 p {
	font-size: 2.4rem;
	margin: 0;
	padding: .5em;
}

.minor-sponsors .owl-carousel .owl-stage .no-img h3 p {
	font-size: 2.4rem;
	margin: 0;
	padding: 2em;
}

.minor-sponsors .owl-carousel .owl-stage .owl-item img {

}

.minor-sponsors .owl-carousel .owl-dots {
	text-align: center;
	padding-bottom: 40px;
}

.minor-sponsors .owl-carousel .owl-dots button span {
	display: block;
	background: #333;
	border: 2px solid #333;
	border-radius: 10px;
	width: 15px;
	height: 15px;
	margin: 0 10px;
	cursor: pointer;
}

.minor-sponsors .owl-carousel .owl-dots button.active span {
	background: #fff;
}

/*------------------------------------*\
    SINGLE POST
\*------------------------------------*/

article ul {
	font-size: 1.6rem;
}

article table {
	font-size: 1.6rem;
}

article table td {
	vertical-align: top;
}


.tablepress {
	font-size: 1.3rem;
}

.tablepress caption {
	padding: 1em 0 !important;
}

.tablepress.nowrap {
	white-space: nowrap;
}

article a {
	text-decoration: underline;
	color: var(--royal);
}

/*------------------------------------*\
    PAGE
\*------------------------------------*/
 
/*------------------------------------*\
    SHOP
\*------------------------------------*/

.woocommerce .upcoming-games,
.woocommerce-cart .upcoming-games,
.woocommerce-account .upcoming-games,
.woocommerce-checkout .upcoming-games,
.woocommerce .major-sponsor,
.woocommerce-cart .major-sponsor,
.woocommerce-account .major-sponsor,
.woocommerce-checkout .major-sponsor,
.woocommerce .minor-sponsors,
.woocommerce-cart .minor-sponsors,
.woocommerce-account .minor-sponsors,
.woocommerce-checkout .minor-sponsors {
	display: none;
}

body.woocommerce-checkout {
	background: #fafafa;
}

.row.shop {
	font-size: 1.6rem;
}

.woocommerce-notices-wrapper,
.woocommerce-form-login-toggle {
	font-size: 1.6rem;
}

body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
	color: #00c853;
}

.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: var(--royal);
    opacity: .5;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--royal);
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--royal);
}

.woocommerce .quantity .qty {
	height: 36px;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
	font-size: 1.6rem;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

body.woocommerce-checkout aside.sidebar {
	display: none;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	font-size: 1.2rem;
}

woocommerce form .form-row {
    padding: 1rem 0;
    margin: 0;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 1rem 1.5rem;
	border: 1px solid #ccc;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border: 1px solid var(--royal);
}


.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
	font-size: 2rem;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background: #f5f5f5;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background: none;
	border: 1px solid rgba(0,0,0,.1);
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
	background: none;
}

/*------------------------------------*\
    EVENTS
\*------------------------------------*/

.single-tribe_events .tribe-events-single-event-title {
	font-size: 4rem;
}

#tribe-events-content a,
.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-adv-list-widget .tribe-events-widget-link a:hover,
.tribe-events-back a,
.tribe-events-back a:hover,
.tribe-events-event-meta a,
.tribe-events-list-widget .tribe-events-widget-link a,
.tribe-events-list-widget .tribe-events-widget-link a:hover,
ul.tribe-events-sub-nav a, ul.tribe-events-sub-nav a:hover {
text-decoration: underline;
}

#tribe-events .tribe-events-content p,
.tribe-events-after-html p,
.tribe-events-before-html p {
	margin: 1.5em 0;
}

.tribe-events-schedule h2 {
	font-size: 1.6em;
	font-weight: 400;
	line-height: normal;
	font-family: var(--copy);
	margin: 0;
}

.tribe-events-list-widget {
	
}

.tribe-event-image {
	text-align: center;
}

.tribe-events-list-widget h3 {
	margin-top: 0;
}

body.events-archive .page-title,
body.events-single .page-title {
	display: none;
}

.tribe-events-list-widget .tribe-list-widget {
	margin: 0;
	padding: 0;
}

.sidebar-widget .tribe-events-list-widget .tribe-events-list-widget-events {
	background: var(--lightblue);
	padding: 10px 15px;
	border-radius: 5px;	
}

.tribe-events-list-widget .tribe-events-list-widget-events * {
	color: #fff;
}

.tribe-events-list-widget .tribe-events-list-widget-events a img {
	padding: 1.5rem;
}

.tribe-events-widget-link {
	font-size: 1.4rem;
}

.tribe-event-duration {
	font-size: 1.3rem;
	margin: 10px 0 0 0;
}

.tribe-events-sub-nav {
	display: none;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

footer[role="pagefooter"] {
	/* border-top: 2px solid #dedede; */
	background: var(--royal);
}

footer[role="pagefooter"] p {
	font-size: 1.3rem;
	color: white;
}

footer[role="pagefooter"] .logo-img {
	height: 120px;
	margin: 0 0 20px 0;
}

footer[role="pagefooter"] .contact {
	width: 25%;
}

footer[role="pagefooter"] .fb-feed {
	width: 25%;
}

footer[role="pagefooter"] .orgs img {
	height: 140px;
	margin: 0 0 0 21px;
	border: 10px solid white;
	border-radius: 100px;
	background: white;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:801px) and (max-width:1399px) {
	
	nav.nav {
	    margin: 50px 0 0 0;	
	}
	
}

@media only screen and (max-width:800px) {
	
	/* LAYOUT */
	
	.row {
		padding: 40px 30px;
	}
	
	main[role="main"] {
		padding: 40px 30px;
	}
	
	main[role="main"] > aside {
		width: 100%;
		margin: 40px 0 0 0;
		order: 3;
	}		
	
	/* HEADER */
	
	header[role="banner"] .row {
		align-items: center;
	}	

	header[role="banner"] {
		height: auto;
	}
	
	header[role="banner"] .logo {
		width: 100px;
	}	
	
	/* NAV */
	
	nav.nav {
		display: none;
	}
	
	.mnav-handle {
		display: block;
		font-size: 3rem;
		cursor: pointer;
	}
	
	.mnav {
		padding: 3rem;
		background: #202020;
	}
	
	.mnav .mnav-handle {
		text-align: right;
		margin: 0 0 3rem 0;
	}	
	
	.mnav * {
		color: #fff;
	}	
	
	
	.mnav ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	
	.mnav ul li {
		border-top: 1px solid rgba(255,255,255,.25);
	}
	
	.mnav ul li.menu-item-has-children > a::after {
		content: "\f0d7";
		display: inline-block;
		font-family: "Font Awesome 5 Pro";
		font-weight: 600;
		margin: 0 0 0 1rem;
	}
	
	.mnav a {
		font-size: 1.6rem;
		padding: 1rem 0;
		display: block;		
	}
	
	.mnav .sub-menu {
		display: none;
		border-left: 5px solid rgba(255,255,255,.25);
	}
	
	.mnav .sub-menu a {
		padding-left: 10px;
	}				
				
	
	/* FRONT PAGE */
		
	.row.index-header .copy {
		max-width: 100%;
		padding: 40px 30px;
		padding-left: 30px;
	}
	
	/* SPONSOR */
	
	.major-sponsor img {
		max-width: 100%;
	}
	
	/* GAMES */
	
	.upcoming-games .games .game-tile {
		width: 100%;
	}
	
	.upcoming-games .rain-notice {
		margin: 15px 0 0 0;
	}	
	
	.upcoming-games .games .game-tile + .game-tile {
		margin-left: 0;
		margin-top: 15px;
	}
	
	/* CONTENT */
	
	section.loop .loop-content {
		padding: 20px 10px;
	}	
	
	/* FOOTER */
	
	footer[role="pagefooter"] .contact {
		width: 100%;
		order: 3;
	}
	
	footer[role="pagefooter"] .orgs {
		margin: 0 0 30px 0;
		display: flex;
		justify-content: space-between;		
	}
	
	footer[role="pagefooter"] .orgs a {
		flex: 1;		
	}
	
	footer[role="pagefooter"] .orgs a + a {
		margin: 0 0 0 10px;
	}							
	
	footer[role="pagefooter"] .orgs a img {
		height: auto;
		width: 100%;
		margin: 0;
	}	


}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background: var(--royal);
	color:#FFF;
	text-shadow:none;
}

::-webkit-selection {
	background: var(--royal);
	color:#FFF;
	text-shadow:none;
}

::-moz-selection {
	background: var(--royal);
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}
