/* ASBA-specific styles */

.clearall,.clearAll {
	float: none !important;
	clear: both !important;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px 0px 1em 0px !important;
}

.websiteLink {
	height: 35px !important;
	max-height: 35px !important;
}

/*
.track {
	background-color: #c52a1d !important;
}

.field {
	background-color: #5ba12f !important;
}

.courtsrec {
	background-color: #2359ab !important;
}

.tennis {
	background-color: #33731e !important;
}

.pickleball {
	background-color: #ffa500 !important;
}

.indoorwood {
	background-color: #895129 !important;
}

.padel {
	background-color: #800080 !important;
}
*/

/* new --official-- ASBA colors */
.track {
	background-color: #ebbf1e !important;
}

.field {
	background-color: #002269 !important;
}

.courtsrec {
	background-color: #c60d3d !important;
}

.tennis {
	background-color: #002269 !important;
}

.pickleball {
	background-color: #c60d3d !important;
}

.indoorwood {
	background-color: #ebbf1e !important;
}

.padel {
	background-color: #004890 !important;
}



.pageHeader {
	padding: 20px !important;
	text-align: center;
}

.sectionLink {
	text-align: left !important;
	margin: 0px 0px 1em 0px !important;
	padding: 15px !important;
	cursor: hand !important;
	cursor: pointer !important;
}

a.diagramLink {
	cursor: hand !important;
	cursor: pointer !important;
}

.homeLogo {
	display: inline !important;
	width: 60px !important;
	height: 60px !important;
	margin: 0px 10px 0px 0px !important;
}

.homeHeader {
	display: inline;
	color: #ffffff !important;
	font-size: 2em !important;
	position: relative !important;
}

a.rightNavLink {
	padding: 10px !important;
	text-align: center !important;
	margin: 0px 0px 1em 0px !important;
	height: 70px !important;
}

.rightNavLogo {
	width: 50px !important;
	height: 50px !important;
	margin: 0px !important;
}

.svgContainer {
	touch-action: pinch-zoom !important;
	text-align: center !important;
	display: block;
	padding: 10px !important;
	width: auto;
	max-width: 100%;
	min-height: 100px;
	max-height: 100%;
	margin: 1em 15px 1em 15px !important;
}

.imageContainer {
	text-align: center !important;
	display: block;
	padding: 0px !important;
	min-height: 100px !important;
	max-height: 66% !important;
	margin: 1em 10px 1em 10px !important;
}

.scaledImage {
	width: auto !important;
	max-width: 100% !important;
	min-height: 500px !important;
	max-height: 100% !important;
	height: 97% !important;
}

.scaledSVG {
	display: inline;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
}

.topNav {
	background-color: #ffffff !important;
}

.topControls {
	text-align: center !important;
	margin: 5px 10px 1em 10px !important;
	padding: 0px !important;
}

.disclaimer {
	font-size: 0.8em !important;
	font-style: italic !important;
}




/* PWA stuff */

/* @import "https://fonts.googleapis.com/css?family=GaramondPro:300,400,500,600,700"; */

body {
	/*font-family: 'Garamond Pro', serif !important;*/
	background: #ffffff;
	margin: 0px !important;
	padding: 0px 0px !important;
	color: #000000 !important;
}

/*
p {
	font-family: 'Garamond Pro', sans-serif;
	font-size: 1.1em;
	font-weight: 300;
	line-height: 1.7em;
	color: #999999;
}
*/

a, a:hover, a:focus {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s;
}

.navbar {
	padding: 15px 10px;
	background: #ffffff;
	border: none;
	border-radius: 0;
	margin-bottom: 40px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
	box-shadow: none;
	outline: none !important;
	border: none;
}

.line {
	width: 100%;
	height: 1px;
	border-bottom: 1px dashed #dddddd;
	margin: 40px 0;
}

#navBottom {
	padding: 10px 5px !important;
	background: #cccccc !important;
	border: none !important;
	margin-bottom: 0px !important;
	box-shadow: 0px !important;
	font-size: 0.7em !important;
	height: 50px !important;
	z-index: 777;
}


/* ---------------------------------------------------
	SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
	display: flex;
	width: 100%;
	align-items: stretch;
	perspective: 1500px;
	padding-bottom: 75px;
}


#sidebar {
	width: 120px;
	position: fixed;
	top: 0;
	right: -120px;
	height: 100vh;
	z-index: 998;
	background: #444444;
	color: #ffffff;
	transition: all 0.3s;
	overflow-y: scroll;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
	right: 0;
}

#dismiss {
	width: 35px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	background: #222222;
	color: #ffffff;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#dismiss:hover {
	background: #444444;
	color: #ffff00;
}

.overlay {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	z-index: 997;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}
.overlay.active {
	display: block;
	opacity: 1;
}

#sidebar .sidebar-header {
	padding: 15px;
	background: #222222;
	color: #ffffff;
	/*font-family: 'Garamond Pro', sans-serif;*/
	font-size: 1.3em;
	font-weight: bold;
}

#sidebar .sidebar-subhead {
	padding: 1em 10px 1em 10px;
	background: #333333;
	color: #ffffff;
	/*font-family: 'Garamond Pro', sans-serif;*/
	font-size: 1.15em;
	font-weight: bold;
}

#sidebar ul.components {
	padding: 20px 0;
	border-bottom: 1px solid #47748b;
}

#sidebar ul p {
	color: #ffffff;
	padding: 10px;
}

#sidebar ul li a {
	padding: 10px;
	font-size: 1.1em;
	display: block;
}

#sidebar ul li a:hover {
	color: #7386D5;
	background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
	color: #ffffff;
	background: #6d7fcc;
}


a[data-toggle="collapse"] {
	position: relative;
}

.dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

ul ul a {
	font-size: 0.9em !important;
	padding-left: 30px !important;
	background: #6d7fcc;
}

ul.sidebarLink {
	padding: 20px;
}

ul.sidebarLink a {
	text-align: center;
	font-size: 0.9em !important;
	display: block;
	border-radius: 5px;
	margin-bottom: 5px;
}

.modalSection .title {
	padding: 5px 10px !important;
}



/* ---------------------------------------------------
	CONTENT STYLE
----------------------------------------------------- */
#content {
	width: 100%;
	padding: 20px;
	min-height: 100vh;
	transition: all 0.3s;
}


/* ---------------------------------------------------
	MEDIA QUERIES
----------------------------------------------------- */
@media (max-width: 768px) {

	#sidebar {
		margin-right: -250px;
		transform: rotateY(90deg);
	}

	#sidebar.active {
		margin-right: 0;
		transform: none;
	}

}


/* CAROUSEL */

.carousel-indicators li {
	width: 10px;
	height: 10px;
	border-radius: 100%;
	color: #cccccc !important;
	background-color: #cccccc !important;
	cursor: hand;
	cursor: pointer;
}

.carousel-indicators li.active {
	width: 10px;
	height: 10px;
	border-radius: 100%;
	color: black !important;
	background-color: black !important;
}

.carousel-indicators {
	bottom: -50px;
}


/* A2HS */

.hidden {
	display: none !important;
}

#installContainer {
	position: absolute;
	top: 1em;
	display: flex;
	justify-content: center;
	width: 100%;
	z-index: 10;
	display: none;
}

#ad2hs-prompt {
	z-index: 999 !important;
	text-align: center;
	margin: 0px auto 1em auto !important;
	display: none;
}

.ios-prompt {
	text-align: center;
	max-width: 95% !important;
	width: 800px;
	line-height: 1.3em;
	z-index: 999 !important;
	background-color: #fcfcfc;
	border: 1px solid #666666;
	text-decoration: none;
	font-size: 16px;
	color: #555555;
	margin: 0 auto 1rem !important;
	padding: 0.8rem 1rem 0 0.5rem !important;
	position: absolute;
	bottom: 50;
	left: 0;
	right: 0;
}
