/**
	Theme Name: Lexi 2021
	Author: Steve Banks
	Author URI: https://penguinit.co.uk/
	Description: child theme based on astra
	
	https://wpastra.com/child-theme-generator/
	
	
	Version: 1.0.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: lexi-2021
	Template: astra
*/

/* metaslider fixes */
.metaslider {
	float:left;
}
.metaslider .caption {
	font-size:24px;
	text-align:center;
	margin-top:20px;
	margin-bottom:20px;
	font-weight:200;
}
.metaslider .caption-wrap {
	opacity:1 !important;
	background:none !important;
}

/*Adjust Content Padding for Mobile*/
@media (max-width: 650px) {
 	.metaslider .caption {
		margin-bottom: -10px
	}
	
}

/* END metaslider fixes */

/* Astra fixes */

/* spacing on lexi-buttons */
.entry-content p {
	margin-bottom: 0.7em; 
}

/* floating sections on about page */
@media (min-width: 768px)
{.section-copy {
    float: left;
    width: 66%;
	padding-left:16px;
}
.section-title {
    float: left;
    width: 33%;
	padding-right: 32px;
padding-left: 32px;}

}

.section-copy p {font-size:20px}

.col-sm-6 {
    width: 50%;
	float:left;
}
}

.section-title h1, .section-title h2, .section-title h3 {
    text-align: left;
    font-weight: 400;
    color: #DA823B;
    font-size: 24px;
    font-style: italic;
}

/* some pages depend on this i.e. classification menus and static content on mobile */
h1, h2, h3, h4, h5, h6 {
    clear: none;
	text-align: center;
}

h1 {
	font-size: 24px !important;
	line-height: 1.428571429 !important;
	margin-bottom:0px !important;
}

h4 {  margin-top: 11px;
margin-bottom: 11px !important;}

/*Make Header Sticky from https://cgscomputer.com/how-to-create-a-sticky-header-with-the-free-astra-wordpress-theme/ */
.main-header-bar {
    position: fixed;
    top: 0;
    width: 100%;
}
/* mobile burger menu size */
.ast-button-wrap .menu-toggle .menu-toggle-icon:before {
	font-size:1.5em;
	line-height:1.2em;
color:#888;}

/*Adjust Content Padding*/
.site-content {
    padding-top: 50px;
}

/*Adjust Content Padding for Mobile*/
@media (max-width: 800px) {
    .site-content {
        padding-top: 100px;
	}
}

/*Adjust Content Padding for Mobile*/
@media (max-width: 650px) {
    .site-content {
        padding-top: 100px;
	}
	
}
/* hide 1px border under menu */
.main-header-bar {
	border-bottom-width: 0px !important;
/*border-bottom-color: #666 !important;*/}

/* menu bgcolour */
.main-header-menu .menu-link, .ast-header-custom-item a {
    background-color: #121925;
	color: rgba(255,255,255,.5);
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
    border-style: none;
}


/* END Astra fixes */

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}

/*** Hide Sidebar ***/
#sidebar {display:none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
	#left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
}

@media only screen and (max-width: 980px) {
	.four-columns .et_pb_column {
		width: 25%!important;
	}
}

#main-content {
    background-color: #121925!important;
	
}

.main-header-bar {    background-color: #121925!important;}

.lowtop {margin-top:10px}

.main_title {
    display: none;
}

a {text-decoration: none;}

.lexi-btn:hover
{
background-color:#555;}

p {
    margin: 0 0 11px;
	padding-bottom: 0px;
}


hr{margin-top:22px;
	margin-bottom:22px;
	border:0;
	border-top:1px solid #eee;
    box-sizing: content-box;
    height: 0;
	border-color: #9CA3AE;
}

h1, h2, h3, h5, h6 {
    font-size: 24px !important;
	padding-bottom:0px;
	
}

h4 {
    font-size: 20px !important;
	padding-bottom:0px;
}

.lexitext{
	font-size: 20px;
	font-weight:200;
	text-align:unset;
}

.other-sports {
    text-align: center;
}

/*.SBWrapper h4 {background-color:red;}*/

/*strong {font-weight:500;}*/

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 0px;
}


/*END DIVI SPECIFIC OVERRIDES */



.gridwrapper {
	display: grid;
	/*grid-template-columns: repeat(5, 1fr);
	grid-auto-rows: 100px; */
	text-align:center;
}
.buttonwrap{
	position:relative;
	display: inline;
	
}

a.lexi-btn{
	background-size: 14px;
    background-repeat: no-repeat;
	background-position: right -1px top 0px;
	display:inline-block;
	padding:20px;
	font-size:16px;
}

.cornerflag { height:24px; width:24px;
	float:right;
}

img.arrownav2 {display:inline; height:19px; margin-bottom:5px}


/*start mobile screen logic */
@media only screen and (max-width: 768px) {
	a.lexi-btn{width:100%;padding:10px;}
	
	.gridbox {
		/*max-width:150px;*/
	/*min-width:80px;*/}
	
	.gridwrapper {
		/*background-color:red;
		grid-template-columns:minmax(100px, 1fr);*/
	}
	div.gridtext {font-size: 1.5em;
		font-weight:200;margin-top:auto; margin-bottom:auto
	}
	
	/*.main {
	margin-top: 0px;} */
	
	
	
	.class-heading {font-weight:200; font-size:24px;   font-style: italic;
		float:none;
		/* clear:both; */
		/* text-align:left; */
	}
	.headtext {
		/* float:left; */
		margin-left: auto;
	margin-right: auto;}
	
	.nav-arrows {padding-bottom:16px;padding-top:16px;}
	
	.sport-heading {font-weight:200; font-size:24px;   font-style: italic;
		/* float:none;
		clear:both; */
		/* text-align:left; */
	}
	
	.hideonmobile{display:none;}
	
	
	
	div.teampoints {
		background-color: #121925;
		/*  padding: 8px;
		border-color: red;*/
		border-width: medium;
		
		border-radius: 5px;
		border-style: none;
		padding: 0px;
		border-width:2px;
		font-size:1.2em;
	}
	
	.teamclass {
		font-size:1em;
		text-align: center;
	}
	
	.classheading {background-color:#2E75B6 ;margin-left:4px; margin-right:4px; margin-bottom:16px;
		border-radius: 7px;
		font-weight: 200;
		font-size:0.8em;
	}
	
	
	/*end mobile screen logic */
}



/*start normal screen logic */
@media only screen and (min-width: 769px) {
	/*.main {margin-top:72px} move the content below the menu */
	
	div.gridtext {
		font-size:2.5em;
		font-weight:200;
	margin-top:auto; margin-bottom:auto}
	
	
	.class-heading {font-weight:200; font-size:24px;   font-style: italic; float:right}
	
	
	
	span.teampoints {
		background-color: #121925;
		/*  padding: 8px;
		border-color: red;*/
		border-width: medium;
		
		border-radius: 5px;
		border-style: none;
		padding: 11px 11px 11px 11px;
		border-width:2px;
	}
	
	.teamclass {
		font-size:1.5em;
		text-align: center;
	}
	
	
	.classheading {background-color:#2E75B6 ;margin-left:8px; margin-right:8px; margin-bottom:16px;
		border-radius: 7px;
		font-weight: 200;
	}
	
	.sport-heading {font-weight:200; font-size:24px;   font-style: italic; float:left}
	
	/*end normal screen logic */
}




.videolink {
	border-radius: 3px;
	background-color: #06c589;
	opacity:1;
}
.videolink-default {
	border-radius: 3px;
	background-color: #9ca3ae;
	opacity:1;
}


.tpimage
{background-color:red;}





.gridbox11 {
	grid-column-start: 1;
	grid-row-start: 2;
}

.gridbox21 {
	grid-column-start: 2;
	grid-row-start: 2;
	
}
.gridbox31 {
	grid-column-start: 3;
	grid-row-start: 2;
	
}
.gridbox41 {
	grid-column-start: 4;
	grid-row-start: 2;
	
}
.gridbox51 {
	grid-column-start: 5;
	grid-row-start: 2;
}
.gridbox61 {
	grid-column-start: 6;
	grid-row-start: 2;
}

.gridbox71 {
	grid-column-start: 7;
	grid-row-start: 2;
}

.gridbox81 {
	grid-column-start: 8;
	grid-row-start: 2;
}

.gridbox91 {
	grid-column-start: 9;
	grid-row-start: 2;
}



.gridbox1 {
	grid-column-start: 1;
	grid-row-start: 1;
}

.gridbox2 {
	grid-column-start: 2;
	grid-row-start: 1;
	
}
.gridbox3 {
	grid-column-start: 3;
	grid-row-start: 1;
	
}
.gridbox4 {
	grid-column-start: 4;
	grid-row-start: 1;
	
}
.gridbox5 {
	grid-column-start: 5;
	grid-row-start: 1;
}
.gridbox6 {
	grid-column-start: 6;
	grid-row-start: 1;
}
.gridbox7 {
	grid-column-start: 7;
	grid-row-start: 1;
}
.gridbox8 {
	grid-column-start: 8;
	grid-row-start: 1;
}
.gridbox9 {
	grid-column-start: 9;
	grid-row-start: 1;
}


p.categorycaption {text-align:center}

figure {
    text-align: center; 
}

/* figure {
	display: table;
} */

figcaption {
	/*   background: #2E75B6 ; */
	display: block;
	caption-side: top;
	
	/*display: table-caption;
		caption-side: top;
		border-radius: 20px;
		margin-left:-8px;
	margin-right:-8px;*/
}

.SBwrapper { font-weight:bold; font-size:16px;}

.lexi-btn-me {background:#555; }

.winter {border-color:#4166F5 !important;
text-transform: uppercase;}

.allsports {border-color: #06c589 !important;
text-transform: uppercase;}

.lexi-btn {margin-left:0px; margin-right:20px; border-radius: 5px;
    margin-left: 0px;
    margin-right: 20px;
    border-radius: 5px;
    border: 2px solid #555;
	-webkit-transition: background .25s;
    -o-transition: background .25s;
    transition: background .25s;
	margin-bottom:10px;
line-height: 1.428571429;}

.vertical-line{
	display: inline-block;
	border-left: 2px dashed #ccc;
	margin: 0 10px;
	height: auto;
	margin-left:12px;
	margin-right:12px;
}

.footer {background-color:#101926}





.subsport-heading {font-weight:bold; font-size:16px;   font-style: italic;}

.teamexample-heading {font-weight:200; font-size:16px !important;   font-style: italic;}


.group-heading {font-weight:bold; font-size:16px;   font-style: italic;}

.type-heading {font-weight:bold; font-size:16px;   font-style: normal;}


.lexiimg{ margin-left:0px; position:relative; left: -12.5%;} /* move the lexi images to the left enough so that they look central */


/*for the collapsible video menu */
.wrap-collabsible {
	margin-bottom: 1.2rem 0;
	margin-top:-36px;
}

input[type='checkbox'] {
	display: none;
}

.lbl-toggle {
	/*display: block;*/
	margin-top:32px;
	margin-bottom:16px;
	/*margin-left:8px;*/
	/*font-weight: italic;*/
	font-style:italic;
	/*font-family: monospace;*/
	font-size: 1rem;
	/*text-transform: uppercase;*/
	text-align: right;
	padding-left:12px;
	padding-right:12px;
	/*padding: 0.1rem;*/
	
	color: #101826;
	/*  background: #FAE042;
	opacity:0;*/
	
	cursor: pointer;
	
	border-radius: 3px;
	transition: all 0.25s ease-out;
}

.lbl-toggle:hover {
	color: #7C5A0B;
}

.lbl-toggle::before {
	content: ' ';
	display: inline-block;
	
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid currentColor;
	vertical-align: middle;
	margin-right: .7rem;
	transform: translateY(-2px);
	
	transition: transform .2s ease-out;
}

.toggle:checked + .lbl-toggle::before {
	transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
	max-height: 0px;
	overflow: hidden;
	transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
	max-height: 250vh;
}

.toggle:checked + .lbl-toggle {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
	background-color: #121925;
	/*border-bottom: 1px solid rgba(250, 224, 66, .45);
		border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;*/
	padding: .5rem 1rem;
}
.female {
	position:absolute;
    float: none;
	left: 4.5%;
    width: 5%;
}

.text-panel {background-color:#121925;}

/* moved from additional CSS 26/1/21 */

/*hide hidden arrow nav but retain the spacing */

.arrownavhide {opacity : 0}

.SBwrapper {
max-width: 1120px; margin-left: auto; margin-right: auto;}

.tophr {border-color: #9CA3AE; clear:both; margin-top:48px;}

@media only screen and (max-width: 768px) {
	.tophr {background-color:red; margin-top:12px;}
	.nav-arrows {padding:0px}
}

.buttonwrap {
	display:inline;
}

pre {color:white; background-color:black}

h3 {font-size:20px !important;}

.flex-grid {
	display: flex;	
	justify-content:space-evenly;
}
.flex-grid img {
	padding: 0px 0px 0px;
	margin:10px;
	border-width:2px;
	border-style:solid;
	border-radius:8px;
}

.col {
	flex: 1;
	padding:0px 20px 20px 20px;
	text-align: center;
	max-width:280px;
}

@media (max-width: 768px) {
	.flex-grid {
		display: block;
		justify-content:center;
	}
	.col {
	    margin-left: auto;
		margin-right: auto
	}
}

/*hide hidden arrow nav but retain the spacing */

.arrownavhide {opacity : 0}

.SBwrapper {
max-width: 1120px; margin-left: auto; margin-right: auto; }

.tophr {border-color: #9CA3AE; clear:both; margin-top:48px;}

@media only screen and (max-width: 768px) {
	.tophr {background-color:red; margin-top:12px;}
	.nav-arrows {padding:0px}
}

.buttonwrap {
	display:inline;
}

pre {color:white; background-color:black}

h3 {font-size:20px !important;}

.flex-grid {
	display: flex;	
	justify-content:space-evenly;
}
.flex-grid img {
	padding: 0px 0px 0px;
	margin:10px;
	border-width:2px;
	border-style:solid;
	border-radius:8px;
}

.col {
	flex: 1;
	padding:0px 20px 20px 20px;
	text-align: center;
	max-width:280px;
}

@media (max-width: 768px) {
	.flex-grid {
		display: block;
		justify-content:center;
	}
	.col {
	    margin-left: auto;
		margin-right: auto
	}
}

.hideontablet {
	border-left:solid;
	border-color:#777;
	border-left-width:1px;
	padding-left:20px;
}

/* hide on desktop */
@media (min-width: 1600px) {
	.hideondesktop {
		display: none;
		
	}
}

@media (max-width: 1600px) {
	.hideontablet {
		display: none;
	}
}


.supportedby {margin-top:0px; opacity:0.7; max-width:200px;
padding-top:8px;}

.supportedby:hover { opacity:1;}


@media (min-width: 1600px) {
	/*desktop*/
	.switchright {
		/*position:absolute;
		left:950px;*/
		float:right;
		position:relative
	}
	
}

@media (max-width: 1600px) {
	/*tablet/phone*/
	.switchright {
		position:relative;
		float:right;
	}
	
	
}

div {scroll-margin-top: 6em;}

.supportedby {padding-top:16px !important;}

/*  set imagewrap height on mobile and desktop */
@media (min-width: 981px){
	.imgwrap {height: 300px !important;}
	.lexiimg {max-height:280px;}
}


@media (max-width: 981px){
	.imgwrap {height: 28vmin !important;}
	.lexiimg {max-height:25vmin;}
	
	.imgwrap1, .imgwrap2 {height: 48vmin !important;}
	.lexiimg1, .lexiimg2 {max-height:45vmin;}
	
}

.sport-heading 
{text-align:center}
.class-heading 
{text-align:center}

.eventrepresented {
	color: #9CA3AE !important;
	text-align:left;
	font-size:20px !important;
	font-weight:200;
	font-style:italic;
	display:inline;
}

/*set image heights to prevent CLS*/

.fleximg {
    height: 19vmax !important;
    width: auto !important;
	max-height:320px !important;
}

