/*
Theme Name: weedonscricket
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Description: Divi Child Theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

/*
	Green: #0f6a36
	Gold: #f7a81b
	Slate: #2e3b42

	Typescale 1.200 Minor Third:
		D1	2.986rem
		h1	2.488rem
		D2	2.074rem
		D3	1.728rem
		h2	1.44rem
		h3	1.2rem
		p	1rem
		small	0.833rem
		0.694rem

/* =Theme customisation starts here
------------------------------------------------------- */

body {
	font-family: "Gotham SSm A", "Gotham SSm B", Arial, Helvetica, sans-serif !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Gotham SSm A", "Gotham SSm B", Arial, Helvetica, sans-serif !important;
	font-style: normal;
	font-weight: 700;
}
sup {
	font-size: 50%;
}
h1, h2, h3 {
	letter-spacing: -0.04em;
	line-height: 1.2;
}
h1 {
	font-size: 2.986rem;
}
h2 {
	font-size: 1.44rem;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
.intro {
	max-width: 38em;
}
.intro h1 {
	text-align: center !important;
	font-size: 2.986rem !important;
	color: #036937;
}
.intro h2 {
	text-align: center !important;
	font-size: 1.44rem !important;
	font-weight: 400;
	color: #036937;
}
.intro p {
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.4;
	letter-spacing: -0.03em;
}
.subhead {
	margin-bottom: 0 !important;
}



/*  List alignments
------------------------------------------------------- */

ul, ol {
	line-height: 1.5 !important;
}
ol {
  counter-reset: item;
  padding-bottom: 0 !important;
  margin-bottom: 0;
}
ol li {
  display: block;
  padding-left: 1.75em;
}
ol li:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
  display:inline-block;
  width: 1.75em;
  margin-left: -1.75em;
}



/* layouts
------------------------------------------------------- */
/* .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container,
.et_fixed_nav.et_show_nav #page-container {
	padding-top: 150px !important;
} */
.et_pb_section {
	padding: 3rem 0 !important;
}
.et_pb_row {
	padding: 2rem 0 !important;
}
.et_pb_section.page-banner {
	padding: 0 !important;
}



/* nav
------------------------------------------------------- */
/* Primary Menu Bar */
#et-top-navigation {
	font-weight: 400 !important;
}
#top-menu li {
	font-size: 13px !important;
	padding-right: 18px !important;
}
#top-menu > li:last-of-type {
	padding-right: 0 !important;
}
#et-secondary-nav .menu-item-has-children>a:first-child:after,
#top-menu .menu-item-has-children>a:first-child:after {
	display: none;
}
#et-secondary-nav .menu-item-has-children>a:first-child,
#top-menu .menu-item-has-children>a:first-child {
	padding-right: 0;
}
#top-menu .sub-menu li.current-menu-item>a,
#top-menu .sub-menu li.current_page_item>a {
	color: #f7a81b;
}

/* Secondary Menu bar */
#top-header .container {
	padding: 1rem 0;
}
#top-header #et-secondary-nav li {
	background: #f7a81b;
	padding: 0.6em 1em;
	font-size: 0.833rem;
	border-radius: 4px;
}
#top-header #et-secondary-nav li a {
	color: #000;
	padding-bottom: 0;
}
#top-header #et-secondary-nav li:hover {
	background: rgba(255, 255, 255, 0.804);
}

/* Mobile Nav */
.et_mobile_menu {
	background: #2e3b42 !important;
}
.et_mobile_menu > li {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	max-width: 300px;
	margin: 0 auto;
}
.et_mobile_menu li li {
	padding-left: 0 !important;
}
.et_mobile_menu li a {
	color: #ffffff !important;
	font-weight: 700;
	padding-left: 10px !important;
}
.et_mobile_menu li ul li a {
	font-weight: 300;
}
.et_mobile_menu .menu-item-has-children>a {
	background: none;
	display: inline-block;
	padding-left: 10px;
}
.et_mobile_menu .menu-item-has-children>a:before {
	content: "+";
	display: inline-block;
	margin-left: -20px;
	padding-right: 10px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
	color: #f7a81b;
}

/* Toggle mobile submenus */
#main-header .et_mobile_menu .menu-item-has-children .sub-menu {
	max-height: 0;
	  overflow: hidden;
	  opacity: 0;
	  transform: translateY(-10px);
	  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}
#main-header  .pa-block{
	display: block !important;
	height: fit-content !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
	padding: 5% !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}
#main-header .et_mobile_menu .menu-item-has-children .pa-submenu {
	max-height: 1000px; /* large enough to accommodate any submenu */
	  opacity: 1;
	  transform: translateY(0);
}
#main-header  .opened .et_mobile_menu{
	height: fit-content !important;
	padding: 5% !important;
}
#main-header  ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
#main-header  .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: right;
	width: 100%;
}

/* Quick Links */
#grades-nav a {
	font-size: 1.2rem;
	margin-right: 10px;
}


/* home
------------------------------------------------------- */

.et-pb-active-slide .et_pb_slide_description {
	animation-delay: 0s;
	animation-duration: 0s;
}
.notices ul li {
	line-height: 1.5em !important;
}
.facebook-feeds .et_pb_column {
	text-align: center;
}



/* fee tables
------------------------------------------------------- */

.registerLink h4 {
	color: red;
}
.registration {
	border: none;
	padding: 0;
}
.registration tr {
	border-top: 1px solid #ccc;
	padding: 10px 0;
}
.registration td.col1 {
	background: #ffffff;
	width: 80%;
}
.registration td.col2 {
	background: #f7a81b;
	color: #333333;
	font-size: 2em;
	text-align: center;
	width: 20%;
}
.registration td.col2.closed {
	background: #ccc;
}
.registration td.col2.closed p::after {
	content: "Registrations Closed";
    display: block;
    font-size: 16px;
    text-align: center;
    line-height: 100%;
    color: red;
}


/* grade tables
------------------------------------------------------- */

table.grades {
  border: none !important;
  background: #fff;
}
table.grades td {
  border-bottom: solid 2px #e5e3d1;
  border-top: none;
}
.et_pb_toggle_title {
	font-size: 1rem;
	line-height: 1.4;
}
.et_pb_toggle_title:before {
	font-size: 1.5rem;
	content: "\3b";
}
.et_pb_toggle_open {
	border-top: 4px solid #0f6a36;
}
.et_pb_toggle_open .et_pb_toggle_title:before {
	content: "\3a";
	position: absolute;
	right: 0;
	font-size: 1.5rem;
	color: #0f6a36 !important;
	top: 50%;
	margin-top: -.5em;
	display: block !important;
}
.et_pb_toggle_close .highlight-word {
	color: #f7a71a;
	font-size: 1.2rem;
	font-weight: 700 !important;
	display: block;
}
.et_pb_toggle_open .highlight-word {
	color: #0e6936;
	font-weight: 700 !important;
}



/* players
------------------------------------------------------- */
.et_pb_blog .et_pb_post {
	background: #0e6a35;
}



/* honours tables
------------------------------------------------------- */
table.honours {
	border: none !important;
}
.honours th,
.honours td {
	padding: 6px 6px 6px 0 !important;
}
.honours td {
	font-size: 0.833rem;
	border-top: 1px solid #aaa !important;
}
.honours tr > th:first-of-type,
.honours tr > td:first-of-type {
	width: 55px !important;
}
.honours tr > th:last-of-type,
.honours tr > td:last-of-type {
	text-align: right;
	width: 55px !important;
}



/* footer
------------------------------------------------------- */

.footer-widget p {
	padding-bottom: 0 !important;
}
.footer-widget ul {
	flex-direction: column;
}
.footer-widget ul li {
	margin-bottom: 0 !important;
}
.footer-widget ul li:before {
	display: none;
}
.footer-widget ul li ul li {
	margin-left: 0 !important;
}
.footer-widget ul li ul li:before {
	display: inline-block;
}
.footer-widget.address a {
	color: #f7a81b;
}

// Sponsors
#sponsors .et_pb_row {
	padding: 1% 0;
}
#sponsors .sponsors3 img {
	max-height: 50px;
	width: auto;
}


/*------------------------------------------------*/
/*--------------- Responsive ---------------------*/
/*------------------------------------------------*/

@media only screen and ( max-width: 479px ) {
	.et_mobile_menu > li {
		max-width: 200px;
	}
	.et_pb_toggle_open .grades td {
		display: block;
	}
	.et_pb_toggle_open .grades td:first-of-type {
		background: #333;
		color: #fff;
		border-bottom: none;
		border-top: none;
	}
	.registration td.col1, .registration td.col2 {
		padding: 6px 16px;
		font-size: 14px;
		line-height: 140%;
	}
	.registration td.col2 {
		font-size: 1.5em;
	}
	#sponsors .et_pb_row .et_pb_column.et_pb_column_1_6.et-last-child,
	.et_pb_row .et_pb_column.et_pb_column_1_6:last-child {
		margin-bottom: 30px;
	}
	#sponsors .et_pb_image img {
		max-width: 150px !important;
	}
}
