/*@import url('https://fonts.googleapis.com/css?family=Merriweather');*/
:root {
	--mikeblue: #002266;
	font-size: 1.125em;
}

html, body {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	font-family: 'Urbanist';
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0;
	padding: 0;
}

body > div {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow-y: auto;
	scroll-behavior: smooth;
}

body > div:not(.edit-mode) .for-edit {
	display: none;
}

body > div.edit-mode .not-edit {
	display: none !important;
}

body > div > *:not(menu) {
	max-width: 700px;
	margin: auto;
}

#admin-bar {
	position: sticky;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 1em;
	padding: 0.75em 0;
	background: var(--mikeblue);
	list-style-type: none;
	margin: 0;
	z-index: 1;
	flex-wrap: wrap;	
}

#admin-bar button {
	font-family: 'Urbanist';
	font-weight: 500;
	font-size: 1.125em;
	letter-spacing: 1px;
	border: none;
	background: var(--mikeblue);
	color: white;
	padding: 0.75em 1.5em;
	width: 132px;
	cursor: pointer;
}

#admin-bar #publish-button {
	background: darkgreen;
}

#admin-bar #discard-button {
	background: red;
}

#admin-bar #status-row {
	text-align: center;
	color: white;
	font-weight: 600;
	width: 100%;
}

#admin-bar #close-row {
	position: absolute;
	top: 0;
	right: 0;
}

#admin-bar #close-row button {
	padding: 0;
	width: unset;
	margin: 0.75em;
}

#draft-status {
	color: darkgreen;
	background: whitesmoke;
	padding: 0.125em 0.5em;
	font-weight: 800;
}

body > div:not(.with-draft) #admin-bar #publish-button,
body > div:not(.with-draft) #admin-bar #discard-button {
	filter: contrast(0.5);
}

body > div:not(.edit-mode) #admin-bar #preview-button {
	border: 2px solid white;
}

body > div.edit-mode #admin-bar #edit-button {
	border: 2px solid white;
}

body > div.with-draft #draft-status {
	color: red;
}

main {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

main > * {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

h1, h2, h3, h4, footer {
	color: var(--mikeblue);
	text-align: center;
}

footer {
	margin: 6em 0 4em 0;
}

h1 {
	font-size: 2.25em;
	margin-top: 0.5em;
}

h2 {
	margin: 3em 0;
}

h3 {
	margin: 2em 0;
}

#header1 {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 1em;
	position: relative;
}

#linkedin {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
}

#main-subheader {
	font-size: 1.75em;
}

#header1 div {
	display: flex;
	flex-direction: column-reverse;
	align-items: stretch;
	position: relative;
}

#header1 img:first-of-type {
	max-width: 100%;
	height: auto;
	margin: auto;
}

.qr-parent {
	position: relative;
}

.qr {
	position: absolute;
	opacity: 1;
	z-index: 1;
	transition: opacity 0.3s ease;
	top: 0;
}

.qr-parent:not(.showing-qr) .qr {
	opacity: 0;
	z-index: -1;
}

#header1 nav {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#header1 nav ol {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	grid-gap: 1.25em;
	justify-content: center;
}

#header1 nav ol li:last-child {
	width: 100%;
	display: flex;
	justify-content: center;
}

main section {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 5em;
	align-self: stretch;
}

main > section p, li {
	text-align: justify;
	letter-spacing: 1px;
    line-height: 1.75;	
}

main section img {
	max-width: 100%;
	height: auto;
	margin: 2em auto;
}

#header1 nav a:not(.quote-link), address a {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	grid-gap: 0.75em;
	width: 100px;
	text-align: center;
}

#header1 nav a:link,
address a:link,
#header1 nav a:visited,
address a:visited,
#header1 nav a:hover,
address a:hover,
#header1 nav a:active,
address a:active {
	color: var(--mikeblue);	
}

#header1 nav a span:last-child, 
address a span:last-child {
	height: 48px;
	width: 48px;
	background: var(--mikeblue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#header1 nav a:not(:last-child,:hover) {
	opacity: 0.95;
}

ul {
	list-style-type: none;
	padding-left: 1.5em;
	margin: auto;
	display: flex;
	flex-direction: column;
	grid-gap: 0.25em;
}

ul li {
	display: flex;
	align-items: baseline;
	grid-gap: 0.75em;
}

ul li::before {
	display: flex;
	content: '';
	background: var(--mikeblue);
	height: 6px;
	width: 6px;
	flex-shrink: 0;
	border-radius: 50%;
}

summary + ul {
	margin-top: 18px;
}

a:link,
a:visited,
a:hover,
a:active {
	color: var(--mikeblue);
}

.quote-link {
	display: inline-block;
	padding: 0.75em 4em;
	background: var(--mikeblue);
	border-radius: 32px;
	margin-top: 4em;
	color: white;
	text-decoration: underline;
	border: none;
	align-self: center;
}

nav .quote-link {
	margin-top: 1em;
}

a.quote-link:link,
a.quote-link:visited,
a.quote-link:hover,
a.quote-link:active {
	color: white !important;	
}

.sr-only {
    position: fixed !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    left: -99999999px !important;
    top: -999999999px !important;
    opacity: 0 !important;
}

fieldset {
	display: flex;
	flex-direction: column;
}

fieldset:not(.for-edit) {
	margin: 0;
	border: none;
}

fieldset.for-edit {
	margin: 1em 0;
	padding: 1.5em 0.75em;
}

legend {
	text-align: center;
}

fieldset.for-edit legend {
	padding: 0 0.5em;
}

fieldset > span {
	display: flex;
	margin-top: 2em;
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea {
	padding: 2em 0.75em 0.75em 0.75em;
	border: 1px solid var(--mikeblue);
	border-radius: 3px;
	margin-top: 2em;
}

.for-edit input, .for-edit textarea {
	padding: 0.75em;
	border-color: lightgray;
	margin: 0.75em;
}

.for-edit input {
	text-align: center;
}

textarea {
	padding-top: 3em;
}

input[type='text'] + label,
input[type='email'] + label,
input[type='tel'] + label,
.textarea-label {
	position: relative;
	display: flex;
	height: 0;
}

input[type='text'] + label > span,
input[type='email'] + label > span,
input[type='tel'] + label > span,
.textarea-label > span {
	position: absolute;
	top: -2.875em;
	left: 0.5em;
	color: var(--mikeblue);
}

.textarea-label > span {
	top: 2.125em;	
}

input[type='radio'] + label {
	display: flex;
	padding: 0.75em 3em;
	border: 2px solid var(--mikeblue);
	color: var(--mikeblue);
	cursor: pointer;
}

input[type='radio'] + label:hover {
	display: flex;
	padding: 0.75em 3em;
	border: 2px solid var(--mikeblue);
	color: var(--mikeblue);
	background: rgb(84 84 125 / 10%);
}

input[type='radio']:checked + label {
	background: var(--mikeblue);
	color: white;
}

input[type='submit'] {
	appearance: none;
	font-size: unset;
	font-family: unset;
	cursor: pointer;
}

address {
	display: flex;
	justify-content: center;
	grid-gap: 1.5em;
	align-self: stretch;
	font-style: unset;
	padding: 1em;
}

#quote-success {
	color: var(--mikeblue);
	text-align: center;
	transition: opacity 0.2s ease-in;
}

.hidden {
	opacity: 0;
}

.bye {
	display: none;
}

blockquote p {
	text-align: center !important;
}

blockquote + p {
	text-align: right !important;
	color: var(--mikeblue);
	font-weight: 750;
}

blockquote strong {
	color: var(--mikeblue);
}

summary h3 {
	margin: 0 !important;
}

details p {
	text-align: center;
}

details {
	margin: 0.75em 0;
}

summary {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.vimeo-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

.vimeo-container.vimeo-loaded img {
	display: none;
}

.play {
	position: absolute;
	padding: 0.25em;
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	filter: contrast(.7);
    backdrop-filter: blur(1px);
}

.thumb-edit {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 1em;
}

.thumb-edit img {
	margin: 0;
}

#login-page {
	background: var(--mikeblue);
	color: white;
	align-items: flex-start;
	padding: 2em;
	grid-gap: 0.5em;
}

#login-page input[type="password"] {
	padding: 0.75em 1em;
}

.list-controls {
	margin: 0;
	align-items: baseline;
}

.list-controls button {
	font-size: 1.25em;
}

.hide {
	display: none;
}

#faq-cont {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.going-up {
	transition: transform 0.8s ease-out 0.2s, max-height 0.5s ease-out;
	transform: translateY(-1000px);
	max-height: 2em;
	background: white;
	overflow: hidden;
}

.nudging-up {
	transition: transform 0.2s ease-out 0.2s;
	transform: translateY(-7em);
}

.going-down {
	transition: transform 0.8s ease-out 0.2s, max-height 0.5s ease-out;
	transform: translateY(1000px);
	max-height: 2em;
	background: white;
	overflow: hidden;
}

.changing {
	animation: brb 0.5s ease-out;
}

@keyframes brb {
	0% {
		opacity: 1;
	}	10% {
		opacity: 0.5;	
	}	20% {
		opacity: 0.5;	
	}	100% {
		opacity: 1;	
	}
}

.new-button {
	border: none;
	background: none;
	text-decoration: underline;
	cursor: pointer;
	padding: 0.75em 0;
}

.new-button:hover {
	background: rgba(0,0,0,0.2);
}

.stuff-cont {
	list-style-type: none;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.stuff a {
	margin: auto;
}

@media only screen and (max-width: 516px) {
	.vimeo-container iframe {
		max-width: 100%;
		height: auto !important;
		aspect-ratio: 512 / 288;	
	}
}

@media only screen and (max-width: 420px) {
	#header1 nav a {
		min-width: 90px;	
	}			
	#header1 .quote-link {
		padding: 0.75em 3em;	
	}
	
	#header1 nav ol {
		grid-gap: 1em;	
	}			
}