/* - - - - - - - - - - - - - - - - - - - - - - - - - TYPOGRAPHY */

/*
TYPE
Baskerville, Baskerville Italic (variable) 400-700, Parisienne (regular) 400
*/

ul.tabs li a {
	font-family: "Baskerville", sans-serif !important;
	font-style: normal !important;
	font-weight: 400 !important;
}

em {
	font-family: "Baskerville Italic", serif;
	font-style: italic !important;
	font-weight: 500 !important;
}

h1 {
	font-family: "Baskerville", serif !important;
	font-style: normal !important;
	font-weight: 550 !important;
}

.frm_primary_label,
strong,
h2,
h3,
h6 {
	font-family: "Baskerville", serif !important;
	font-style: normal !important;
	font-weight: 700 !important;
}

.total-label,
.button,
.frm_button_submit,
h1 strong {
	font-family: "Parisienne", serif !important;
	font-style: normal !important;
	font-weight: 400 !important;
}

table.rsvp td,
a.post-edit-link,
form input,
.frm_radio label,
.frm_inline_total,
form select,
.frm_description,
.frm_button {
	font-family: Helvetica, sans-serif !important;
	font-style: normal !important;
	font-weight: 200 !important;
}

table.rsvp td.name,
.frm_primary_label {
	font-family: Helvetica, sans-serif !important;
	font-style: normal !important;
	font-weight: 600 !important;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - VARIABLES */

:root {
	--overlay: rgb(229 237 238 / 68%);
	--overlay-forms: linear-gradient(to top, #ffffff08, #d8faffe6);
	--body: #c1e4f1;
	--black: #222;
	--white: #ffffff;
	--gray: #758286;
	--links: #008598;
	--hover: #000000;
	--light: #3bb0df;
	--bright: #0096ab;
	--pale: #a2e6ff;
	--medium: #5e939b;
	--dark: #114e65;
	--border: 1px solid #fff;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - BASIC */

html {
	font-size: min(max(18px, calc(1.125rem + (22 - 18) * ((100vw - 320px) / (1920 - 320)))), 22px);
	min-height: 0vw;
	width: 100%;
	height: 100%;
	scroll-behavior: smooth;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

*,
*:after,
*:before {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	font: normal 100% "Baskerville", serif;
	font-weight: 500;
	line-height: 1.3em;
	color: var(--black);
	background: var(--body);
	overflow-x: hidden;
	overflow-y: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	margin: 0 auto;
}

p {
	margin: 5px 0 10px 0;
}

small {
	font-size: 0.8em;
}

em {
	font-style: italic;
}

a,
a:visited {
	color: var(--links);
	text-decoration: none;
}

a:hover {
	color: var(--hover);
	text-decoration: none;
}

blockquote {
	font-size: 1.2em;
	line-height: 1.2em;
	font-style: italic;
	color: #9a9b95;
	margin: 1em 0;
}

.offscreen,
.hide,
.screen-reader-text {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

ul {
	padding: 0 0 0 20px;
	margin: 0 0 10px 10px;
	list-style-position: outside;
}

ul li {
	list-style-type: disc;
	padding: 0;
	margin: 0 0 2px 0;
	line-height: 1.2em;
}

ol {
	list-style-type: decimal;
	list-style-position: outside;
	margin: 0 0 0 15px;
	padding: 0 0 0 15px;
}

ol li {
	padding: 3px 0;
	margin: 0;
}

a.post-edit-link {
	font-size: 0.7em;
	color: var(--white);
}

a.post-edit-link:hover {
	color: var(--hover);
}

iframe {
	max-width: 100%;
	border: 0;
	margin: 10px 0;
}

img {
	max-width: 100%;
	height: auto;
}

strong {
	color: var(--links);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - BACKGROUND */

.bg {
	position: relative;
	width: 100%;
}

.bg.video {
	cursor: pointer;
}

.bg img,
.bg video {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

/* a.muteunmute {
	font-size: 1em;
	color: var(--white);
	position: absolute;
	bottom: 1em;
	left: 2em;
	z-index: 10;
}

a.muteunmute .fa-volume-high {
	display: inline-block;
}

a.muteunmute .fa-volume-xmark {
	display: none;
}

a.muteunmute.unmuted .fa-volume-high {
	display: none;
}

a.muteunmute.unmuted .fa-volume-xmark {
	display: inline-block;
} */

/* On single pages */

.bg-page {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100vh;
	z-index: -1;
}

.bg-page img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	opacity: 0.4;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - LAYOUT */

.container {
	width: 100%;
	height: 100%;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	min-height: 100vh;
}

.content {
	grid-area: content;
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-areas: '. . content content content content content content content content . .';
	position: relative;
}

/* On single pages */

.page-template-page-rsvp .grid {
	grid-template-areas:
		'. content content content content content content content content content content .';
	padding: 2em 0;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - TABS*/

.tab-container.rsvp {
	background: var(--overlay);
	position: relative;
	text-align: center;
	border-radius: 6px;
	padding: 1em 3em 2em 3em;
	margin-bottom: 4em;
}

ul.tabs {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 3em 0 2em 0;
	padding: 0;
}

ul.tabs li {
	list-style: none;
	margin: 0 1em 0.5em 0;
}

ul.tabs li a {
	font-size: 1.2em;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--white);
	background: var(--medium);
	padding: 0.5em 1em;
	border-radius: 3px;
}

ul.tabs li.active a,
ul.tabs li a:hover {
	background: var(--dark);
	color: var(--white);
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - HEADERS */

h1,
h2,
h3,
h4 {
	line-height: 1em;
	margin: 10px 0;
	color: var(--black);
}

h1 {
	font-size: 2.5em;
	line-height: 0.9em;
	margin: 20px 0;
}

h1 strong {
	font-size: 1.8em;
	color: var(--bright);
	letter-spacing: -3px;
}


h2 {
	display: inline-block;
	font-size: 2em;
	line-height: 1.1em;
	margin: 0.5em 0 0.25em 0;
	padding-top: 0.5em;
	color: var(--dark);
	border-top: var(--border);
}

h3 {
	opacity: 0.5;
	font-size: 1.5em;
	line-height: 1.2em;
	margin: 20px 0 10px 0;
	/* filter:drop-shadow(2px 2px 3px #000000cf) */
}

h4 {
	font-size: 1em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - IMAGES, ALIGNMENT */

.content img {
	margin: 2em 0;
}

.gallery,
.rl-gallery-container {
	page-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
	margin: 1.5em 0;
}

.alignleft {
	float: left;
	margin: 0 1em 0 0;
}

.alignright {
	float: right;
	margin: 0 0 0 1em;
}

.aligncenter {
	text-align: center;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	padding: 5px 10px;
	font-size: 0.8em;
	line-height: 1em;
	font-style: italic;
	display: inline-block;
}

.gallery-item img {
	border: 0 !important;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - FORMS */

form {
	margin: 1.5em 0;
	text-align: center !important;
}

#form_form_6_container {
	text-align: center !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
}

.frm_primary_label {
	font-size: 0.7em !important;
	text-align: center !important
}

#frm_form_6_container .frm_form_field {
	text-align: center !important;
}

.frm_form_field {
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
}

#frm_field_84_container {
	display: none;
}

.frm_required {
	color: var(--bright) !important;
}

.frm_hide {
	display: none;
}

.frm_extra {
	padding: 1em;
	margin: 0.5em auto;
	background: var(--overlay-forms);
	border-radius: 3px;
}

.frm_extra input {
	max-width: 100px !important;
}

.frm_extra .frm_primary_label {
	line-height: 1.1em;
	margin-bottom: 5px !important;
	color: var(--bright) !important;
}

button,
.button,
.frm_button_submit {
	font-size: 1.7em !important;
	color: var(--white) !important;
	border: 0 !important;
	background: var(--bright) !important;
	padding: 7px 15px !important;
	border-radius: 2px !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
	margin-top: 1em !important;
}

a.button:hover,
.button a:hover,
button:hover {
	background: var(--light) !important;
	border-radius: 100vw !important;
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	-webkit-filter: drop-shadow(2px 2px 20px #8becffdb);
	filter: drop-shadow(2px 2px 20px #8becffdb)
}

.frm_repeat_sec {
	background: var(--overlay-forms);
	padding: 1em !important;
	border-radius: 3px;
	margin: 0 0 1em 0 !important;
}

.frm_button {
	font-size: 0.6em !important;
	color: var(--white) !important;
	background: var(--dark) !important;
	border: 0 !important;
}

.frm_button:hover {
	color: var(--white) !important;
	background: var(--light) !important;
}

.frm_description {
	line-height: 1.2em;
	text-align: center !important;
}

h3.frm_pos_top {
	font-size: 0.7em !important;
	text-transform: uppercase;
	letter-spacing: 3px !important;
	color: var(--white) !important;
	background: var(--bright) !important;
	border: 0 !important;
	padding: 10px 20px !important;
	margin: 0 0 20px 0 !important;
	border-radius: 3px;
	opacity: 1;
}

table.rsvp {
	text-align: left;
	font-size: 0.8em;
	border-collapse: collapse;
	margin: 2em 0;
	width: 100%;
}

table.rsvp th {
	font-size: 1.2em !important;
	border: 0 !important;
	border-bottom: 1px solid #84a8ae !important;
	padding: 8px;
}

table.rsvp td.name {
	color: var(--bright);
}

table.rsvp td.rsvp-age {
	text-wrap: nowrap;
}

table.rsvp .age {
	font-size: smaller;
	font-weight: bold;
	padding-left: 3px;
	color: var(--light);
}

table.rsvp p {
	margin: 0
}

table.rsvp td {
	border-bottom: 1px solid #84a8ae;
	vertical-align: center;
	line-height: 1.2em;
	padding: 10px;
}

table.rsvp tr:nth-of-type(even) {
	background: #a5dde8b8;
}

th.paid {
	min-width: 100px;
}

.totals {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	text-align: center;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 0px;
	flex: 1 1 0;
}

p.total {
	font-size: 2em;
	margin: 1em 1em 1em 0;
	padding: 0.3em 1em 0.7em 1em;
	background: var(--light);
	color: var(--white);
	border-radius: 6px;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.total-label {
	display: inline-block;
	font-size: 1.2rem !important;
	line-height: 1.3em;
	letter-spacing: 1px;
	margin: 5px 0;
}

.dollars {
	font-size: 0.5em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - BREAKPOINTS */

@media only screen and (max-width: 768px) {
	body {
		line-height: 1.3em;
	}

	.grid,
	.page-template-page-rsvp .grid {
		display: block;
		padding: 0 2em;
		margin: 0;
		width: auto;
	}

	.tab-container.rsvp {
		padding: 1em 2em;
	}

	.bg-page img {
		-o-object-position: top right;
		object-position: top right;
	}

	form {
		padding: 0;
	}

	.frm_button {
		display: block !important;
		margin-bottom: 10px;
		padding: 15px !important;
		text-wrap: wrap;
	}

	.totals {
		display: block;
	}

	h1 {
		font-size: 2em;
		line-height: 1em;
	}

	h2 {
		line-height: 0.9em;
	}

	h3 {
		font-size: 1.3em;
		line-height: 1em;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 20px 0;
	}

	table,
	thead,
	th,
	tbody,
	td,
	tr {
		display: block !important;
		width: 100% !important;
		margin: 0 auto !important;
		overflow: hidden !important;
		border-bottom: 0 !important;
	}

	tr th,
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table {
		font-size: 1em !important;
	}

	table tr {
		padding: 1em !important;
	}

	table td {
		padding: 0 !important;
	}

	table td.name {
		font-size: 1.2em;
	}

}

@media only screen and (max-width: 414px) {
	body {
		height: auto;
		font-size: 0.9em;
		line-height: 1.2em;
	}

}