/*
Theme Name: challengegolf
Theme URI: https://www.challengegolf.com
Author: Internet Imagineering, LLC
Author URI: https://www.iiweb.io
Description: Custom template for Challenge Golf
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
Text Domain: challengegolf
*/

/* CSS LAYERS: https://css-tricks.com/css-cascade-layers/ */

/* Establish CSS Layer priorities, lowest => highest */
@layer reset, theme;

/* Theme styles: colors, fonts, etc. */
@layer theme {
    :root {
    	/* CUSTOM SITE COLORS */
		--cg-dkblue: #15303d;
		--cg-teal: #23616f;
		--cg-mauve: #6ea4ab;
		--cg-blue: #14416b;
    
		/* STANDARD COLORS */
		--beige: #FF9900;
		--red: #459939;
		--dkred: #990000;
		--black: #000000;
		--ltgray: #e1e1e1;
		--midgray: #CCCCCC;
		--gray: #999999;
		--dkgray: #666666;
		--white: #ffffff;
    
        --content-width: 1440px;
    }

    body {
		background-color: #fff;
		margin: 0px 0px; 
		padding: 0px;
		font-family: 'Source Sans 3', trebuchet ms, arial, verdana, sans-serif;
		color: #333;
		font-size: 14px;
	}
	
	html {scroll-behavior:smooth;}

	.clear { clear: both;}
	ul {margin: 0; padding: 0;}
	ul li {margin: 0; padding: 0;}

	.imgFull {width: 100%;}
	img.imgFull {width: 100%;}
	
	img.imgCircle {width: 100%;  /* Set a specific width */ height: 100%; /* Set a specific height (must match width) */ border-radius: 50%; /* Makes the square image a circle */ object-fit: cover;}
	
	.separatorWhite {width: 250px; background-color: var(--white); height: 2px; margin: 50px auto;}
	
	.lightbox {display: none; padding: 30px;}

	/* iiMenu */
	i.iiMenuIcon {margin: 0 0 0 5px;}
	ul.iiMenu > li:hover i.iiMenuIcon { rotate: 180deg; }

	ul.iiMenu {display: flex; /*justify-content: none;*/ padding: 0 0 0 0px;}
	ul.iiMenu li {list-style-type: none; margin: 0; padding: 0;}

	ul.iiMenu > li {position: relative; padding: 25px 20px 25px 20px; height: 70px; margin: 0;}
	ul.iiMenu > li > a {font-size: 1rem; color: var(--white); text-decoration: none; text-transform: uppercase; font-weight: 500; } /* main menu */
	ul.iiMenu > li > a:hover {color: var(--white); text-decoration: none;} /* main menu hover */
	ul.iiMenu > li:hover {background-color: var(--white); color: var(--ec-red); }
	ul.iiMenu > li:hover > a { color: var(--ec-red);}

	ul.iiMenu > li > ul {position: absolute; background-color: var(--white); margin: 0; padding: 10px 20px; min-width: 240px; top: 70px; border-bottom: 10px solid var(--ec-red); left: 0px; justify-self: start;}
	ul.iiMenu > li > ul > li {justify-self: start; text-align: left;}
	ul.iiMenu ul {visibility: hidden; opacity: 0; transition: opacity 0.5s;}
	ul.iiMenu > li:hover > ul {visibility: visible; opacity: 1;}

	ul.iiMenu > li > ul a { display: block; color: var(--ec-red); padding: 5px 0; margin: 0; font-weight: 500; text-decoration: none; } /* subnav level 1 menu */
	ul.iiMenu > li > ul a:hover {color: var(--ec-black); text-decoration: none;}

	ul.iiMenu > li > ul:before {
		content: '';
		width: 0;
		height: 0;
		border-left: 0px solid transparent;
		border-right: 0px solid transparent;
		border-bottom: 0px solid var(--);
		top: -10px;
		left: 25px;
		position: absolute;
	}

	/* MOBILE SIDENAV */
	.mobileNav {display: none;}

	#sidenav {
		 position: fixed; 
		 /* switch "right" to "left" to switch sides: */
		 left: calc(-100vw - 10px); transition: left 0.5s;
		 top:0; bottom: 0;
		 width: 100vw; max-width: 500px; /* full screen on small screens */
		 z-index: 99999999999; box-shadow: 0 0 10px #0008;
		 background: var(--cg-dkblue); color: var(--white);
		 font-size:1.2rem;
	 }
	 #sidenav.active { left: 0; } /* switch "right" to "left" */
	 #sidenav-header {margin: 20px 0 0 40px; width: 140px;}
	 #sidenav-header img { display: block; width:100%; }
	 #sidenav ul { 
	     padding: 0; 
             margin:0;
	 }
    
     #sidenav > ul { max-height: calc(100vh - 100px); margin: 30px 0 0 10px; padding-bottom: 150px; overflow: auto; border-top: 1px solid #444;}
     #sidenav li { list-style-type: none; margin: 0; padding: 5px 2rem; }
	 #sidenav > ul > li { border-bottom: 1px solid #444; }
	 #sidenav a, #sidenav a:visited, #sidenav a.active { color: var(--white); text-decoration: none; }
	 #sidenav-close { 
		 /* reposition within the sidenav as needed */
		 position: absolute; 
		 right: 1rem; top:1rem; 
		 cursor: pointer; 
		 font-size:1.5em;
		 transition: all 0.2s; 
	 }
	 #sidenav-close:hover, #sidenav-close:active { color: white; text-shadow: 2px 2px 8px #0008; transform: translate(-2px, -2px); }
	 #sidenav-footer { position:absolute; bottom:0; left:0; right:0; height: 100px; display: flex; justify-content: center; align-items: center; background: var(--cg-dkblue); text-align: center; font-size: 1rem; color: var(--white)}
 
	 .sidenav-request {margin: 40px;}
    
    /* TEXT */
	.textWhite {color: var(--white);}
	.textBlack {color: var(--black);}
	
	.textTeal {color: var(--cg-teal);}
	
	/* BACKGROUND COLORS */
	.bgGray {background-color: var(--ltgray);}
	.bgBlue {background-color: var(--cg-blue);}
	.bgTeal {background-color: var(--cg-teal);}
	.bgMauve {background-color: var(--cg-mauve);}

	/* BUTTONS */
	a.buttonTeal {font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; padding: 6px 20px; background-color: var(--cg-teal); color: var(--white); text-decoration: none;}
	a.buttonTeal:visited {font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; padding: 6px 20px; background-color: var(--cg-teal); color: var(--white); text-decoration: none;}
	a.buttonTeal:hover {font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; padding: 6px 20px; background-color: var(--cg-dkblue); color: var(--white); text-decoration: none;}
	
	/* LINKS */
	a.linkWhite {color: var(--white); text-decoration: none;}
	a.linkWhite:visited {color: var(--white); text-decoration: none;}
	a.linkWhite:hover {color: var(--white); text-decoration: underline;}

	/* HEADINGS */
	
	h1.mainTitle {font-size: 2.2rem; margin: 0; padding: 0; line-height: 1.2rem; text-transform: uppercase;}
	h2.subTitle {font-size: 2rem; margin: 0; padding: 0; line-height: 1rem; text-transform: uppercase;}
	h3.sectionTitle {font-size: 1.8rem; margin: 0; padding: 0; line-height: .8rem; text-transform: uppercase;}
	h4.areaTitle {font-size: 1.6rem; margin: 0; padding: 0; line-height: .8rem; text-transform: uppercase;}

	/* HEADER */
	
	
	/* LANDING PAGE STYLES */
	.landing-headerWrapper {position: fixed; width: 100%; z-index: 99999; padding: 20px 0 0 0; transition: .2s all;}
	.landing-headerContainer {width: 96%; margin: 0 auto; display: grid; grid-template-columns: 200px auto; align-items: center; transition: .2s all;}
	.landing-headerLogo {width: 100%;}
	.landing-headerRight {text-align: right;}
	.landing-headerNav {display: grid; grid-template-columns: auto 140px; align-items: center;}
	.landing-headerNav-links {font-size: 1rem;}
	.landing-headerNav-links a {margin: 0 10px;}
	.landing-headerNav-phoneHolder {display: grid; grid-template-columns: 30px auto; align-items: center;}
	.landing-headerNav-phoneNumber {font-size: 1rem;}
	
	.landing-headerTopNav {font-size: 1.2rem; text-transform: uppercase; font-weight: 600; margin: 14px 0 0 0;}
	.landing-headerTopNav a {display: inline-block; padding: 6px 20px; text-decoration: none; background: transparent; color: var(--white);}
	.landing-headerTopNav a:visited {display: inline-block; padding: 6px 20px; text-decoration: none; background: transparent; color: var(--white);}
	.landing-headerTopNav a:hover {display: inline-block; padding: 6px 20px; text-decoration: none; background-color: var(--cg-blue); color: var(--white);}
	
	a.landing-TopNavInvolved {display: inline-block; padding: 6px 20px; text-decoration: none; background-color: var(--cg-teal); color: var(--white);}
	a.landing-TopNavInvolved:visited {display: inline-block; padding: 6px 20px; text-decoration: none; background-color: var(--cg-teal); var(--white);}
	a.landing-TopNavInvolved:hover {display: inline-block; padding: 6px 20px; text-decoration: none; background-color: var(--cg-blue); color: var(--white);}
	
	.landing-logoMain {transition: .2s all;}
	.landing-logoMobile {display: none; transition: .2s all;}
	
	.scrolled .landing-headerWrapper {background-color: var(--cg-dkblue); padding: 10px 0 0 0;}
	.scrolled .landing-headerContainer {grid-template-columns: 30px auto;}
	.scrolled .landing-headerNav {display: none;}
	.scrolled .landing-logoMain {display: none;}
	.scrolled .landing-logoMobile {display: block; margin: 0 0 10px 0;}
	.scrolled .headerTopNav {margin: 18px 0 0 0;}
	
	.landing-ctaWrapper-m {display: none;}
	
	.landing-heroWrapper {width: 100%; max-height: 900px; aspect-ratio: 16 / 9; background: #fff url('images/landing-hero-1.jpg') no-repeat top left; background-size: cover; position: relative; z-index: 8888; border-top: 0px solid #fff;}
	.landing-ctaWrapper {position: absolute; width: 80%; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0px; text-align: left;}
	.landing-ctaTitle-Container {display: grid; grid-template-columns: 60px auto; grid-column-gap: 30px;}
	h2.landing-ctaTitle {font-family: 'PT Serif', serif; font-weight: 400; font-size: 4rem; padding: 0; margin: 0; line-height: 4rem;}
	.blockBlue {background-color: var(--cg-teal);}
	.landing-ctaSubTitle-Holder {background-color: #15303dAA; padding: 6px 30px; margin: 20px 0 0 0; width: auto; display: inline-block;}
	h3.landing-ctaSubTitle {font-size: 1.8rem; text-transform: uppercase; font-weight: 400; letter-spacing: 1px;}
	
	.landing-s1-wrapper {margin: 30px 0 0 0;}
	.landing-s1b-wrapper {margin: 60px auto; width: 85%;}
	.landing-s1-left {width: 60%; margin: 0 auto; padding: 100px 0;}
	h2.landing-s1-heading {font-family: 'PT Serif', serif; font-weight: 400; font-size: 2rem; padding: 0; margin: 0; line-height: 2.6rem;}
	.landing-s1-text {font-size: 1.2rem; font-weight: 400; margin: 30px 0 0 0;}
	.landing-s1-right {position: relative;}
	.landing-s1-videoholder {width: 80%; margin: 0 auto; top: 50%; left: 35%; transform: translate(-50%, -50%); position: absolute;}

	.landing-s2-wrapper {margin: 30px auto;}
	.landing-s2-holder {padding: 50px;}
	h2.landing-s2-heading {font-family: 'PT Serif', serif; font-weight: 400; font-size: 2rem; padding: 0; margin: 0; line-height: 2.6rem;}
	.landing-s2-text {font-size: 1.2rem; font-weight: 400; margin: 30px 0 0 0;}
	
	.landing-s3-wrapper {background-image: url('images/landing-s3-bg.jpg'); min-height: 500px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; padding: 100px 0;}
	.landing-s3-container {width: 80%; margin: 0 auto; text-align: center;}
	.landing-s3-introtext {font-size: 1.4rem; font-weight: 400; margin: 30px 0 0 0;}
	
	.landing-s4-wrapper {margin: 30px 0 0 0;}
	.landing-s4-text-container {width: 80%; margin: 0 auto;}
	.landing-s4-text {font-size: 1.2rem; font-weight: 400; margin: 30px 0 0 0;}
	.landing-s4-locations {margin: 30px 0 0 0;}
	
	.landing-buttonHolder {margin: 30px 0;}
	
	.landing-testimonialWrapper {width: 100%; background-color: var(--cg-mauve); padding: 100px 0; margin: 30px 0 0 0;}
	.landing-testimonialContainer {width: 80%; margin: 0 auto;}
	.landing-testimonialHolder {width: 100%; text-align: center;}
	.landing-testimonialImage {width: 60%; margin: 0 auto;}
	.landing-testimonialImage img {width: 100%;}
	.landing-testimonialQuote {font-size: 1.8rem; font-family: 'PT Serif', serif; color: var(--white); margin: 20px 0;}
	.landing-testimonialName {font-size: 1.4rem; font-weight: 600; color: var(--white); letter-spacing: 1px; text-transform: uppercase;}
	.landing-testimonialBio {font-size: 1rem; color: var(--white); margin: 10px 0 0 0;}
	
	.landing-involvedWrapper {width: 100%; background-color: var(--cg-blue); padding: 100px 0; margin: 30px 0 0 0;}
	.landing-involvedContainer {width: 80%; margin: 0 auto; text-align: center;}
	
	.landing-footerWrapper {width: 100%; background-color: var(--black); padding: 50px 0; margin: 30px 0 0 0;}
	.landing-footerContainer {width: 90%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin: 0 auto;}
	.copyright {font-size: .8rem; color: var(--white);}
	.landing-footerLinks {text-align: right; font-size: 1.4rem;}

	/* LAYOUT */
	.grid-1-1 {display: grid; grid-template-columns: 1fr 1fr;}
	.grid-1-1-1 {display: grid; grid-template-columns: 1fr 1fr 1fr;}
	
	.gridCenter {align-items: center;}
	.gridGap30 {grid-column-gap: 30px;}

	/* CONTENT PAGE CUSTOM STYLES */
	.content p {margin: 20px 0 0 0;}
	.content ul {margin: 0 0 0 60px; padding: 0;}
	
	
	/* FOOTER */
	
    @media only screen and (max-width: 1800px) {
		.landing-s1-left {width: 60%; margin: 0 auto; padding: 100px 0;}
		.landing-s1-videoholder {width: 100%; left: 40%; }
	}
    
    @media only screen and (max-width: 1600px) {
		.landing-s1-left {width: 70%; margin: 0 auto; padding: 80px 0;}
		.landing-s1-videoholder {width: 100%; left: 45%; }

	}
    
    @media only screen and (max-width: 1440px) {
		

	}

	@media only screen and (max-width: 1199px) {
		h2.landing-ctaTitle {font-family: 'PT Serif', serif; font-weight: 400; font-size: 3.4rem; padding: 0; margin: 0; line-height: 3.4rem;}
		h3.landing-ctaSubTitle {font-size: 1.4rem; text-transform: uppercase; font-weight: 400; letter-spacing: 1px;}
		
		.grid-1-1-1 {display: grid; grid-template-columns: 1fr; grid-row-gap: 30px;}
		
		.landing-s4-wrapper {grid-template-columns: 300px auto !important;}
		.gridCenter {align-items: stretch;}
		
		

	}

	@media only screen and (max-width: 1023px) {
	
	.landing-headerNav {display: none;}
	.landing-headerTopNav {display: none;}
	
	.landing-headerContainer {grid-template-columns: 140px auto; width: 90%;}
	
	.mobileNav {display: block; font-size: 1.8rem; color: var(--white); margin: 0 20px 0 0; text-align: right; width: 100%;}
	
	.landing-ctaTitle-Container {grid-column-gap: 20px; grid-template-columns: 40px auto;}
	
	.grid-1-1 {grid-template-columns: 1fr;}
		
	.landing-testimonialImage {width: 250px; margin: 0 auto;}
	.landing-s1-left {width: 80%; margin: 0 auto; padding: 50px 0 140px 0;}
	.landing-s1-videoholder {width: 90%; margin: -40px auto 0 auto; position: relative;}
	
	h2.landing-ctaTitle {font-family: 'PT Serif', serif; font-weight: 400; font-size: 3rem; padding: 0; margin: 0; line-height: 3rem;}
	h3.landing-ctaSubTitle {font-size: 1rem; text-transform: uppercase; font-weight: 400; letter-spacing: 1px;}
	
	h2.landing-s1-heading {font-family: 'PT Serif', serif; font-weight: 400; font-size: 1.6rem; padding: 0; margin: 0; line-height: 2.2rem;}
	h2.landing-s2-heading {font-family: 'PT Serif', serif; font-weight: 400; font-size: 1.6rem; padding: 0; margin: 0; line-height: 2.2rem;}
	
	
	.landing-testimonialQuote {font-size: 1.6rem; line-height: 2.2rem; font-family: 'PT Serif', serif; color: var(--white); margin: 20px 0;}
	
		@media only screen and (max-width: 1023px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
	
	
		}

	}

	@media only screen and (max-width: 767px) {
		.landing-headerContainer {width: 90%; }
		
		.landing-heroWrapper {max-height: 300px;}
		
		.landing-s1-text {font-size: 1rem; font-weight: 400; margin: 30px 0 0 0;}
		.landing-s2-text {font-size: 1rem; font-weight: 400; margin: 30px 0 0 0;}
		.landing-s3-introtext {font-size: 1rem; font-weight: 400; margin: 30px 0 0 0;}
		.landing-s4-text {font-size: 1rem; font-weight: 400; margin: 30px 0 0 0;}
		
		.landing-s4-wrapper {grid-template-columns: 1fr !important; grid-row-gap: 40px;}
		
		.landing-ctaWrapper {display: none;}
		
		.landing-ctaWrapper-m {display: block; width: 90%; margin: 20px auto;}
		.landing-ctaTitle {color: var(--cg-blue) !important;}
		.landing-ctaSubTitle-Holder {display: block;}
		
		.landing-ctaTitle-Container {grid-column-gap: 10px; grid-template-columns: 30px auto;}
		h2.landing-ctaTitle {font-size: 2rem; line-height: 2rem;}
		
		.landing-testimonialImage {width: 200px; margin: 0 auto;}
		
		.landing-footerContainer {width: 90%; display: grid; grid-template-columns: 1fr; align-items: center; margin: 0 auto;}
		.copyright {width: 100%; text-align: center;}
		.landing-footerLinks {text-align: center; width: 100%; margin: 20px 0 0 0; font-size: 1.4rem;}
	
	}

	@media only screen and (max-width: 480px) {
	
	
	}
    
}

/* A CSS Reset */
@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    * {margin: 0; }
    @media (prefers-reduced-motion: no-preference) {
        html { interpolate-size: allow-keywords; }
    }
    body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
    img, picture, video, canvas, svg { display: block; max-width: 100%;  }
    input, button, textarea, select { font: inherit; }
    p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
    #root, #__next { isolation: isolate; }
}
