/* 
	Website Design and Hosting 2023 by Tony Scialdone of Straight Street Design
	Email: tony@straightstreetdesign.com
*/

@font-face {
  font-display: swap;
	font-family: 'Raleway-Regular';
	font-style: normal;
	font-weight: var(--font-normal);
	src:	url('/misc/Raleway-Regular.woff2') format('woff2'),
			url('/misc/Raleway-Regular.woff') format('woff');
}

@font-face {
  font-display: swap;
	font-family: 'Raleway-Bold';
	font-style: bold;
	font-weight: var(--font-bold);
	src:	url('/misc/Raleway-Bold.woff2') format('woff2'),
			url('/misc/Raleway-Bold.woff') format('woff');
}

/* CSS RESET */

html, *, *::before, *::after { position: relative; margin: 0; padding: 0; box-sizing: border-box; max-width: 100%; background-clip: padding-box; font: inherit; }
html:focus-within { scroll-behavior: smooth; }

:root {
	--primary: #055264;
	--radius: 5px;
}

body {
	margin: 0;
	padding: 0 20px;
	background-color: #00576C;
	background-image: url(images/bg.jpg);
	font: normal 16px/1.5 Raleway, sans-serif;
	text-rendering: optimizeLegibility;
	content-visibility: auto; /* doesn't render stuff you can't see */
	contain-intrinsic-size: 1000px; 
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch; 
}

.flex { display: flex; }
.fr { flex-direction: row; }
.fc { flex-direction: column; }
.jc { justify-content: center; }
.ja { justify-content: space-around; }
.jb { justify-content: space-between; }
.je { justify-content: flex-end; }
.as { align-items: flex-start; }
.ac { align-items: center; }
.ae { align-items: flex-end; }
.astretch { align-items: stretch; }
.fw { flex-wrap: wrap; }
.fb > div { flex-basis: 0; flex-grow: 1; min-width: 300px; }
.gap1 { gap: 1rem; }
.gap2 { gap: 2rem; }

main {
	margin: 20px auto 60px; 
	padding: 2% 4% 120px;
	width: 1000px; 
	background-color: #fff; 
	border-radius: var(--radius);
}

.two {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.two > * {
	min-width: 350px; 
	width: calc(50% - 2rem); 
}

.logo img {
	width: 100%; 
	border-radius: var(--radius);
}

.logo span {
	display: block;
	margin: .5rem 0 0;
	border-radius: var(--radius);
}

menu {
	display: flex;
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
	gap: 40px;
	margin: 2rem 0;
	padding: 0;
	background-color: #055264;
	border-radius: var(--radius);

}

menu li {
	list-style-type: none; 
	margin: 0;
	font-weight: bold; 
	font-size: 1.125rem;
	color: #fff;
}

menu a, .btn {
	display: block; 
	padding: 10px 20px;
	border-radius: 8px;
	transition: all .2s linear;
}

menu a:hover, .btn:hover {
	transform: scale(1.1); 
}

hgroup {
	margin: 0 0 40px;
	padding: 10px 20px 10px 10px;	
	width: 100%; 
	background-color: #eee;
	border-radius: 4px; 
}

/* Home Page */

.home-primary { 
	display: flex;
	justify-content: center;
	flex-wrap: wrap; 
	gap: 10%; 
	margin-top: 2rem;
}

@media (max-width: 700px) {
	.home-primary > div { min-width: 300px; }
}

.home-speakers { 
	width: 48%;
	width: 49%; 
}

.coming-soon + .home-speakers h2 {
	margin-top: 84px; 
}

.home-speakers-list {
	display: flex;
	flex-direction: column;
	gap: 2rem 0;
	padding-top: 4.5rem; 
	width: 250px;
	width: 40%; 
}

.home-speakers ul.speakers {
	display: flex;
	flex-direction: column;
	margin-bottom: 2rem;
}

.home-event {
	width: 400px; max-width: 100%;
	text-align: center;
}

.home-event h2 {
	margin-top: 0;
}

.home-event img {
	display: inline-block; 
	border: 4px solid #055264; border-bottom: 0;
	border-radius: var(--radius) var(--radius) 0 0; 
}

/* Upcoming Page */

.upcoming-primary {
	gap: 2rem; 
	padding: 0; 
}

.upcoming-primary h2 {
	margin: 0; 
}

.upcoming-speakers {
	padding: 0; 
	width: 64%;
}

.upcoming-speakers img {
	display: block; 
	margin-bottom: 16px;
	width: 100%;
	height: auto;
	border-radius: 4px; 
}

.upcoming-event {
	padding-top: 64px; 
	width: 30%;
}

.soon .upcoming-event {
	padding-top: 8.5rem; 
}


.date {
	font-weight: bold; 
}

.when-where {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .5rem 1rem;
	background-color: #055264;
	font-weight: bold; 
	color: #fff;
	border-radius: 0 0 var(--radius) var(--radius);
}

/* Coming Soon Page */

.soon h1.reverse {
	font-size: 1rem;
	text-transform: uppercase;
}

.coming-soon {
	margin: 0; 
	padding: 1rem; 
	border: 1px solid var(--primary); 
	border-radius: var(--radius);
}

.coming-soon h2 {
	margin-top: -1rem;
}

.coming-soon p:last-of-type { 
	margin-bottom: 0; 
}

.soon-header {
	top: -31px;
	margin: 0 auto;
	padding: .25rem .5rem !important;
	width: fit-content;
	font-size: .8rem;
}

.on-deck {
	width: calc(100% - 320px);
}

.on-deck img[src*="bio"] {
	width: 100%; 
}

.when-where {
	width: 100%; 
}


/* Media Page */

.media .speakers h3 {
	margin-bottom: 24px; 
}

.media .speakers li {
	margin-bottom: 16px; 
}


/* Speaker Links */

.speakers h3 {
	margin: 20px 0 0;
	padding: 10px;
	background-color: #055264;
	color: #fff;
	border-radius: var(--radius);
}

.speakers li {
	display: flex;
	align-items: center;
	gap: 0 10px;
	margin-left: 0;
}

.speakers li a {
	display: flex;
	align-items: center; 
	white-space: nowrap;
	gap: 0 10px;
	width: 100%;
	text-decoration: none;
	border: 0;
}

a { text-decoration: none; }

menu a { 
	color: #fff; 
}

main :where(a:link, a:visited, a:hover, a:active) { color: blue; }

.media .speakers > ul {
	columns: 2;
}

.speakers a[href="none"] {
	pointer-events: none;
	cursor: text;
}

.speakers a[href="none"] b {
	border: 0; 
}

.speakers span {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 2px 6px;
	width: 50px;
	background-color: rgba(5,82,100, 0.7); 
	font-size: 12px;
	color: #fff;
	text-align: center;
	border-radius: var(--radius);
}

.speakers a[href="none"] span { background-color: #ccc; }

.speakers a b {
	border-bottom: 1px dashed #bbb; 
}

.speakers img {
	max-height: 1.125rem;
	width: auto;
	transition: all .2s linear;
	border-radius: var(--radius); 
}

.speakers li { 
	margin-bottom: 8px; 
}

.speakers li a:hover img {
	margin-left: 10px;
}

.mission, .vision { 
	margin-top: 10px; 
	padding: 20px; 
	background-color: #055264; 
	color: #fff;
	border-radius: var(--radius);
}

.mission h2 {
	margin: 0 0 8px;
	color: #fff;
}

.vision h2 {
	margin: 0 0 10px;
	color: #fff;
}

.sponsors ul {
	font-weight: bold;
}

input,
textarea,
select,
button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
input,
textarea,
button {
  border: 1px solid gray;
}



:focus {
	outline: 1px solid #fefefe;
	outline-offset: 2px; }

/* images */

img {
  max-width: 100%;
}
img[width] {
  width: auto; /* Defer to max-width */
}
img[width][height] {
  height: auto; /* Preserve aspect ratio */
}


/* Elements */

h1 {   
	margin: 20px 0 40px;
	font: normal 28px/1 'Raleway Bold', sans-serif; 
	color: #055264;
}

h1 > div { display: inline-block; }
h1 span { display: block; }
h2 { margin: 40px 0 16px; font-size: 1.5rem; color: #055264; }
h3 { font-size: 1.17rem; }
h4, h5, h6 { font-size: 1.00rem; }


p, dl, ol, ul, address {
	margin-bottom: 16px;
	line-height: 1.7;
}

dd, li { margin: 0 0 4px 32px; }

pre { white-space: pre-wrap; }
hr { border: .5px solid; }
blockquote { quotes: none; }
blockquote:before, blockquote:after { content: none; }

img, video, canvas, audio, iframe, embed, object { display: block; max-width: 100%; height: auto; }
img { vertical-align: bottom; border-style: none; }

div:has(> iframe) {
	aspect-ratio: 16/9;
}

iframe {
	height: 100%;
	width: 100%;
}

table {
	border-collapse: collapse;
	border-spacing: 0; }



/* Layout */

.wrap {
	margin: 0 auto;
	background: #eee;
	max-width: 75rem; }

.header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap; 
	gap: 2rem 0;
	margin: 0 0 40px;
	padding: 10px;
}

a:not(.header a, menu a, .speakers a, .btn-wrap a, .map.btn) { 
	color: blue; 
	text-decoration: none;
	border-bottom: 1px dashed currentcolor;	
}

.btn.cta { background-color: #0aa2c5; }

.form { margin-top: 0; padding: 18px 0 0; }
.form > div { padding: 0; }
.form h2 { margin: 0 0 3px; width: 100%; font-size: 16px; }
.form p { margin-bottom: 0; }
.mailchimp { display: block; }

	#mc_embed_signup label { display: block; font-weight: bold; font-size: .85rem; line-height: 1; text-align: left; text-transform: none; }
	#mc_embed_signup input { padding: 6px; }
	#mce-EMAIL { margin-bottom: 5px; }
	#mc-embedded-subscribe.button { display: block; margin: 0 !important; }
	#mc-embedded-subscribe.button { cursor: pointer; }
	#mcembedded-subscribe-form .mc-field-group.input-group { order: 5; }
	#mc-embedded-subscribe-form > #mce-responses { order: 6; margin: 12px 0; padding: 0; width: 100%; background: #ee3424; font-weight: bold; color: #fff; }
	#mc-embedded-subscribe-form > #mce-responses > div { padding: 10px; }
	#mc-embedded-subscribe-form > #mce-responses > div:empty { padding: 0; }
	#mc_embed_signup { width: 100%; }
	#mc_embed_signup [type="checkbox"] { top: .0125rem; }
	#mc-embedded-subscribe-form { margin: 0; padding: 0; background: transparent; }





.btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: #055264;
	color: #fff; 
	border: 0; 
}

.btn-pair {
	display: flex;
	align-items: center; 
	gap: 1.5rem;
}

.btn-pair a.btn {
	display: inline-flex;
}

.btn img { 
	top: 5px; 
	padding: 0 12px 0 0;
	height: 1rem; }



hgroup * {
	margin: 0; 
}

hgroup h2 {
	margin: 20px 0 10px;
}

.column-list { columns: 2; }

.column-list li {
	list-style-type: none; 
	display: inline-block;
	margin: 0 0 10px; 
	padding-bottom: .5rem;
	width: 100%;
	color: #666;
	line-height: 1.5; 
	border-bottom: 1px solid #ccc;
}

.column-list b { 
	display: block; 
	font-weight: bold; 
	font-size: 1.125rem; 
	color: #333
}

footer { 
	margin: 0 0 100px; 
	text-align: center; 
}

.copy {
	display: inline-block;
	margin: 0;
	padding: 20px;
	background-color: #055264;
	font-weight: bold;
	font-size: .7em;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	border-radius: var(--radius);
}
		


/* Utility Classes */

.red { color: #f00; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }
.center { text-align: center; }
.right { text-align: right; }
.reverse {
	padding: .5rem;
	background-color: var(--primary);
	color: #fff; 
	border-radius: var(--radius);
}

.hidden, [hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px; }

form {
	caret-color: #006;
}


@media (max-width: 800px) {
	.header, .header img { display: block; margin: 0 auto 1rem; text-align: center; }
	.header a, .subscribe { display: block; margin-inline: auto; }
} 

@media (max-width: 650px) {
	.header h1, .subscribe, .upcoming-speakers, .upcoming-event { width: 100%; text-align: center; }
	menu { gap: .5rem; }
	.column-list { columns: 1; }
	.home-speakers, .next, .when { width: 100%; }
} 

@media (max-width: 500px) {
	menu li { width: 45%; text-align: center; }
	menu li { width: 45%; text-align: center; }
} 


.btn-wrap a {
	display: inline-block;
	padding: 8px 16px;
	background-color: #055264;
	color: #fff; 
	border: 0; 
	border-radius: var(--radius);
}


/* Home and Upcoming */

.next h2 { 
	margin: 0; 
}


/* Home Only */

.index .next, 
.index .when {
	text-align: center; 
}

.index .next h2 + p { 
	margin-bottom: .5rem; 
}

.index .next img {
	width: 100%; 
	border-radius: var(--radius) var(--radius) 0 0; 
}

.index .next .bio,
.index .loc-group .where,
.index .when h2,
.index .when .paybox {
	display: none;
}

.index .loc-group p {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .5rem 1rem;
	background-color: #055264;
	font-weight: bold; 
	color: #fff;
	border-radius: 0 0 var(--radius) var(--radius);
}

.index .loc-group p:last-child {
	justify-content: center; 
	border-radius: var(--radius);
}



/* Upcoming Only */

.upcoming .next h2 + p { 
	font-weight: bold; 
}

.upcoming .more-info {
	display: none; 
}

.upcoming .loc-group span {
	display: block; 
	font-weight: bold;
}

.map.btn-wrap {
	margin-bottom: 1rem;
}

.map.btn-wrap a {
	display: flex;
	justify-content: center;
	gap: .5rem;
	padding: 4px 12px 4px 12px;
	font-weight: bold; 
	font-size: 14px;
	white-space: nowrap;
	border-radius: var(--radius);
}

.map a img {
	top: 4px;
	height: 1rem;
}

@media (max-width: 810px) {
	.two > * { width: 100%; min-width: 100%; }
	.media .speakers > ul { columns: 1; }
}

@media (max-width: 700px) {
	.home-primary { flex-direction: column; }
	.home-speakers { width: 100%; }
	.home-speakers-list { width: 100%; }

	
}

@media (max-width: 600px) {
	menu { background-color: transparent !important; }
	menu li { background-color: var(--primary); border-radius: 5px; }
}