/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checklist"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* screenreader */
.sr-only {border: 0; clip: rect(0, 0, 0, 0); height: 1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px}
.sr-only-focusable:active, .sr-only-focusable:focus {clip: auto; height: auto; overflow: visible; position: static; white-space: normal; width: auto}			

html {background-color: #ffffff; height: 100%; scroll-behavior: smooth} 
body {background-color: #1E2C5B; font-family:sans-serif}
body:has(#thanks) {display: flex; flex-direction: column; height: 100%}
.blue {color:#194479}
.lBlue {color:#00adef}
.centered {text-align: center}
a, a:visited {color: inherit}
img {max-width: 100%}
.container {padding: 0 1em}
#hero .dt-container {position: relative}
#hero .dt-container .t-wrap {display: block}
#hero .logo {display: block; margin: 0 auto}
#hero .logo.offset {margin-top: -25%}
#hero_copy, #thanks {background-image: url('/scarefair26/img/hero_960.jpg'); background-position: center; background-size: cover}
#hero_copy {padding: 32rem 1em 2em}
#hero_copy .copy {background-color: rgba(0, 111, 167, 0.5); border-radius: 2rem; color:#ffffff; display: inline-block; margin: 0; padding: 1rem; text-align: center; text-shadow: 1px 1px 2px #000000; text-wrap: balance}
#hero_copy h1 {font-size: 2rem; text-shadow: 2px 2px 4px #000000}
#thanks {display: flex; flex-direction: column; flex-grow: 1; justify-content: center; text-wrap: balance}
#thanks, #thanks .container {position: relative}
#thanks:before {background-color: #00000060; bottom: 0; content: ''; left: 0; position: absolute; right: 0; top: 0}
#form {background-color: #f1f4f5; padding: 2em 1em;    display: inline-block;   z-index: 3;position: relative}
#form h2 {color: #003e71; font-size: 200%; font-weight: bold; margin: 0 0 0.5em; text-align: center}
#form .disclaimer {font-size: 85% text-align: center}
.fieldset, .field {margin: 1em 0}
.field {display: block}
input, select {-moz-appearance: none; -webkit-appearance: none; appearance: none; background-color: #ffffff; border: 1px solid #d6d6d7; border-radius: 0.5em; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); box-sizing: border-box; padding: 1em; height: auto; width: 100%}
select{-moz-appearance: menulist; -webkit-appearance: menulist; appearance: menulist}
select.single {appearance: none}
input.submitbtn, .button {background-color: #194479; color: #ffffff; cursor: pointer; display: block; margin: 2em auto 1em; padding: 1em 2em; width: auto}
textarea.comments {display: none}
::placeholder {color: #000000; opacity: 1}		
#copy h3 {color: #fff; font-size: 200%; margin: 0.5em 0}
#schedule h3 {color:#1E2C5B; font-size: 200%; margin: 0.5em 0}
#copy {margin-bottom: 4em; text-align: center;padding: 10px;position: relative;background: #1E2C5B}
.icon {height:50px}
#copy ul {display: inline-block; margin: 0; font-size: 125%; text-align: left}
#copy section {background-color: #ffffff; margin: 2em 0; padding: 1em}
#schedule {background-color: #ACDFFA; padding: 5em 0; text-align: center}
.event {background-color: #ffffff; border: 1px solid #177bcc; border-radius: 1em; margin: 1em auto; padding: 1em; width: max-content;position: relative;padding-bottom: 85px;padding-top: 35px}
.event h4, .event p {margin: 0}
.event h4 {font-size: 175%;color: #1E2C5B;    margin-bottom: 30px}
.event p.desc {font-size: 133%; font-weight: bold;color: #1E2C5B}
.event .time {position: absolute;bottom: 35px;left: 50%;transform: translate(-50%);width:100%}
#footer {background-color: #123a5c; color: #ffffff; padding: 1em 0; text-align: center}
#footer .logo {display: block; margin: 1em auto}
#footer p {font-size: 85%}
.subHero {color:white;position:relative}
#copy #bgDblue {background-color: black; color: white}
#copy #bgBrown {background-color: orange; color: black}
#bgBrown h3 {color:black}

#SW {width: 250px;vertical-align: top;display: inline-block}
#schedule {background-image: url('/img/Group.jpeg'); background-position: center; background-size: cover}
.sublogo {display: block; max-width: 100%}
.thanks {color: #ffffff; padding: 2rem; text-align: center; text-shadow: 0 0 4rem #000000}
.noevents {font-size: 175%}
@media (min-width:980px){
	body {margin: 0 auto; max-width: 1920px}
	h1.lBlue {display: block; font-size: 72px; margin-top: -255px; position: relative; z-index: 5}
	#SW {margin-left: 65px;margin-top:-20px}
	.container, .dt-container {margin: 0 auto; max-width: 1200px; padding: 0 1em}
	.t-wrap, .fieldset {border-collapse: collapse; border-style: hidden; display: table; table-layout: fixed; width: 100%}
	.t-row {display: table-row}
	.t-cell, .fieldset .field {display: table-cell}
	#hero, #thanks {background-image: url('/scarefair26/img/hero.jpg'); background-position: left; background-size: cover; background-repeat: no-repeat; position: relative}
	#hero_copy {background-image: none !important; padding: 0 2rem 4rem 0;display: inline-block;width: 62%}
	#hero_copy, #form {position: relative; vertical-align: bottom; z-index: 2}
	#hero_copy h1 {font-size: 3rem}
	#form {background-color: transparent; padding: 4em 0; width: 33%}
	#form form {background-color: rgba(255,255,255,0.75); border-radius: 2em; padding: 2em}
	.fieldset .field {border: 1rem solid transparent}
	input, select {padding: 0.5em 1em}
	input.submitbtn {margin: 3em auto; padding: 0.5em 3em}
	#form h2 {font-size: 120%}
	#form .disclaimer {font-size: 60%}
	#copy .t-wrap {margin: 0 auto}
	#copy .t-cell {border: 2em solid transparent;padding: 1em 2em;border-radius: 25px; min-height: 389px;vertical-align: top}
	#copy .t-wrap.has-1 {width: 50%}
	#copy {margin: 0; padding: 2rem 0 4rem; text-align: left;z-index: 1}
	#copy::before {border-color: transparent rgb(30, 44, 91); border-style: solid; border-width: 8rem 1920px 0px 0px; bottom: 100%; content: ""; left: 0px; position: absolute; right: 0px}
	#copy h3 {font-size: 250%}
	#copy ul {display: block}
	#schedule h3 {margin-bottom:25px}
	#events {border-collapse: separate; border-spacing: 2em}
	#events.has-1 {margin: 0 auto; width: 50%}
	.event {width: 50%}
	#events.has-1 .event-row.has-1 .event {transform: none; width: auto}
	#footer .logo {float: left; height: 100px; margin: 0 2em 0 0}
	#footer::after {content: ""; clear: both; display: table-cell}
	.sublogo {display: block; margin-top: -224px; position: relative; width: 550px; z-index: 2}
	.boxes.t-wrap {border-collapse: separate; border-spacing: 2rem 0}
	#copy .boxes .t-cell {vertical-align: middle}
	#bgDblue {width: 60%}
	#bgBrown {width: 40%}
}
@media(max-width:980px){
	#form {margin-bottom:0px}
	.event {width:auto}
}
