/*
 Theme Name:   Riverside
 Theme URI:    
 Description:  Wordpress theme by aboutblank
 Author:       Martin Macke - about:blank - creative solutions
 Author URI:   http://www.aboutblank.cz
 Version:      1.0.0
 Tags:         clean, responsive, elegant
*/

.holder {
	float: none;
	height: auto;
	margin-left: auto;
	margin-top: 0px;
	clear: none;
	width: auto;
	max-width: var(--wp--style--global--content-size);
	min-width: 0px;
	margin-right: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

html #wpadminbar {
	position: fixed;
}

/* Images */
img.alignright {
	float: right;
	margin: 0 0 1em 1em
}

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

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

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

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

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

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

/* Headings
-------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
}

/*
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; margin-bottom: 1.5em; }
h6 { font-size: 1em; }
*/

/* Text elements
-------------------------------------------------------------- */

p {
	margin: 0 0 1.5em;
}

/* ul, ol { margin: 0 1.5em 1.5em 1.5em; } */
ul {
	list-style-type: circle;
}

ol {
	list-style-type: decimal;
}

dl {
	margin: 0 0 1.5em 0;
}

dl dt {
	font-weight: bold;
}

dl dd {
	margin-left: 1.5em;
}

abbr,
acronym {
	border-bottom: 1px dotted #000;
}

address {
	margin-top: 1.5em;
	font-style: italic;
}

del {
	color: #000;
}

a {
	text-decoration: none;
}

a:not(.wp-element-button):hover {
	text-decoration: underline;
}

blockquote {
	margin: 1.5em;
}

strong {
	font-weight: bold;
}

em,
dfn {
	font-style: italic;
}

dfn {
	font-weight: bold;
}

pre,
code {
	margin: 1.5em 0;
	white-space: pre;
}

pre,
code,
tt {
	font: 1em monospace;
	line-height: 1.5;
}

tt {
	display: block;
	margin: 1.5em 0;
	line-height: 1.5;
}


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

@media \0screen {
	img {
		width: auto
	}
}

/* Prevent height distortion in IE8. */

.col,
.column {
	float: left;
	height: auto;
	margin: 0px;
	clear: none;
}

.col.ten,
.column.ten {
	width: 10%;
}

.col.twenty,
.column.twenty {
	width: 20%;
}

.col.thirty,
.column.thirty {
	width: 30%;
}

.col.forty,
.column.forty {
	width: 40%;
}

.col.fifty,
.column.fifty,
.col.half,
.column.half {
	width: 50%;
	flex: 1;
	min-width: 300px;
}

.col.sixty,
.column.sixty {
	width: 60%;
}

.col.seventy,
.column.seventy {
	width: 70%;
}

.col.eighty,
.column.eighty {
	width: 80%;
}

.col.ninety,
.column.ninety {
	width: 90%;
}

.col.hundred,
.column.hundred,
.col.full,
.column.full {
	width: 100%;
}

.col.quarter,
.column.quarter,
.col.twentyfive,
.column.twentyfive {
	width: 25%;
}

.col.thirtythree,
.column.thirtythree,
.col.third,
.column.third {
	width: 33.333%;
	width: calc(100%/3);
	flex: 1;
	min-width: 300px;
}

.col.sixtysix,
.column.sixtysix,
.col.twothirds,
.column.twothirds {
	width: 66%;
	width: calc(100%/3 *2);
	flex: 2;
	min-width: 300px;
}

.col.sixteen,
.column.sixteen,
.col.sixth,
.column.sixth {
	width: 16.666%;
	width: calc(100%/6);
}

.col.seventh,
.column.seventh {
	width: 14.285%;
	width: calc(100%/7);
}

.col.eight,
.column.eight {
	width: 12.5%;
	width: calc(100%/8);
}

.line-top {
	border-top: 1px solid whitesmoke;
}

.pad {
	padding: 15px;
}

.pad-nover {
	padding: 0 15px;
}

.halfpad {
	padding: 6px;
}

.small {
	font-size: 0.7em;
}

.smaller {
	font-size: 0.8em;
}

.big {
	font-size: 1.5em;
}

input[type=button] {
	box-shadow: none;
	float: left;
	height: 40px;
	width: 100%;
}

input[type="submit"] {
	background: #0066cc;
	color: white;
	padding: 8px;
	border: 1px solid #cecece;
	border-radius: 2px;
	margin-bottom: 1em;
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
	transition: all 0.3s ease;
	cursor: pointer;
}

input[type="submit"]:hover {
	background: #0066cc;
	box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
	transform: translateY(-2px);
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #cecece;
	border-radius: 2px;
	margin-bottom: 1em;
}

.d-flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.d-flex.flex-row {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
}

.d-flex.flex-nowrap {
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
}

span.tab {
	min-width: 20%;
	display: inline-block;
}

.white {
	color: white;
}

.black {
	color: black;
}

.tl {
	text-align: left;
}

.tr {
	text-align: right;
}

.tc {
	text-align: center;
}

.tj {
	text-align: justify;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.round {
	border-radius: 5px;
}

.rounded {
	border-radius: 2em;
}

table {
	border-collapse: collapse;
	border: none;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 1em;
}

table th {
	font-weight: bold;
	background: var(--wp--preset--color--accent);
	color: white;
	padding: 0.5em;
}

table td,
table th {
	text-align: center;
	margin: 0;
	padding: 0.75em;
	vertical-align: middle;
}

table tr {
	border-bottom: 1px solid #ccc;
}

table tr:last-child {
	border-bottom: none;
}

table td.hl {
	background: #E2EFFF;
}

table p {
	margin: 0;
}

/* Block tables (e.g. School Fees) — Riverside branded card */
.wp-block-table {
	margin: 0 0 2em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wp-block-table table {
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	background: var(--wp--preset--color--base);
	border: 1px solid #dbe7ef;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px -12px rgba(0, 111, 186, 0.25);
	font-size: 0.95rem;
	line-height: 1.45;
}

.wp-block-table thead {
	border: none;
}

.wp-block-table table th {
	border: none;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 1.1em 1em;
}

.wp-block-table table th strong {
	font-weight: inherit;
}

.wp-block-table table tr {
	border: none;
}

.wp-block-table table td {
	border: none;
	border-top: 1px solid #e6eef4;
	padding: 0.9em 1em;
	color: var(--wp--preset--color--contrast);
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s ease;
}

/* Stronger divider where a new group (Early Years, Primary…) starts */
.wp-block-table tbody tr:has(> td:first-child > strong) > td {
	border-top: 2px solid #cfe0ec;
}

.wp-block-table tbody tr:first-child > td {
	border-top: none;
}

/* Group label column */
.wp-block-table tbody td:first-child:has(> strong) {
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

.wp-block-table tbody td:first-child:has(> strong) strong {
	font-weight: inherit;
}

.wp-block-table tbody td strong {
	font-weight: 600;
}

/* Fee columns: annual fee highlighted, termly fee muted */
.wp-block-table tbody td:nth-last-child(2) {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	white-space: nowrap;
}

.wp-block-table tbody td:last-child {
	color: var(--wp--preset--color--contrast-2);
	font-weight: 500;
	white-space: nowrap;
}

.wp-block-table tbody tr:hover > td:not(:first-child:has(> strong)) {
	background: #f7fbfd;
}

.wp-block-table figcaption,
.wp-block-table .wp-element-caption {
	margin-top: 1.25em;
	padding: 1em 1.25em;
	background: var(--wp--preset--color--base-2);
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 0 10px 10px 0;
	color: var(--wp--preset--color--contrast-2);
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: left;
}

.wp-block-table figcaption > br:first-child {
	display: none;
}

@media (max-width: 700px) {
	.wp-block-table table {
		font-size: 0.85rem;
		min-width: 620px;
	}

	.wp-block-table table th,
	.wp-block-table table td {
		padding: 0.75em 0.6em;
	}
}

#sidebar ul,
#sidebar li {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}

#sidebar h3 {
	margin-bottom: 20px;
}

#sidebar h3:first-child {
	margin-top: 0;
}

#sidebar li:last-child {
	margin-bottom: 40px;
}

#sidebar h3 {
	border-bottom: 2px solid #6AA9D0;
	padding-bottom: 0.5em;
}

#sidebar a {
	text-decoration: none;
}

#sidebar h5 {
	font-size: 1.25em;
}

.wp-block-video video {
	border-radius: 2em;
}


/* Theme specific styles */
h1 {
	margin-bottom: 20px;
}

ul li,
ol li {
	line-height: 2;
}

.col.full p {
	max-width: 650px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #0066cc;
}

hr {
	border-top: 1px solid whitesmoke;
	margin: 2em 0;
}

#topline {
	height: 30px;
	padding-right: 20px;
	background: #0066cc;
	color: white;
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 0.75em;
}

#header {
	position: relative;
	z-index: 9999;
	min-height: 64px;
	width: 100%;
}

#header.blue-background {
	background: #0066cc;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#header #search {
	padding-right: 30px;
	max-width: none;
}

#header #search input {
	margin-bottom: 0;
}

#logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 16px 0 0;
}

#logo a {
	display: flex;
	align-items: center;
	height: 100%;
	text-decoration: none;
	background: none !important;
	position: static !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	text-indent: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

#logo img {
	position: static !important;
	height: 46px !important;
	max-height: 46px !important;
	width: auto !important;
	max-width: 170px !important;
	object-fit: contain;
	display: block;
}

footer,
#footer {
	color: white;
	background: var(--wp--preset--color--accent);
}

/* Footer layout (moved from footer.php) */
#footer {
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
}

#footer h2 {
	font-size: 120%;
	color: white;
	margin-top: 0;
}

.footer-content {
	margin: 0 auto;
	display: flex;
	gap: 4rem;
}

.footer-main {
	flex: 2;
}

.footer-nav {
	flex: 4;
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: end;
}

.nav-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 150px;
}

.nav-section h2 {
	font-weight: bold;
	font-size: 1.1rem;
	margin: 0;
}

.nav-section nav {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nav-section nav a {
	text-decoration: none;
	color: inherit;
}

.nav-section nav a:hover {
	text-decoration: underline;
}

.footer-credits {
	margin: 6rem auto 0;
}

.footer-credits p {
	margin: 0;
}

@media (max-width: 768px) {
	.footer-content {
		flex-direction: column;
	}

	.footer-nav {
		justify-content: space-between;
	}
}

#footer h3 {
	font-size: 140%;
}

#footer h3,
#footer a {
	color: #A3DAF7;
}

input#s {
	margin-top: 20px;
}

.widget_wysija_cont p label {
	display: none !important;
}

.wysija-submit {
	background: none;
	border: 1px solid white;
	color: white;
	font-weight: bold;
}

ul.wysija_archive,
.content ul.wysija_archive {
	padding: 0;
	margin: 40px 0;
}

ul.wysija_archive li {
	background: none;
	padding: 0;
	display: inline-block;
	border: 2px solid #0066cc;
	border-radius: 4px;
	text-align: center;
	width: 138px;
	padding-top: 0 !important;
	line-height: 1;
	font-size: 0.85em;
	vertical-align: top;
	margin-left: 20px;
	margin-bottom: 20px;
	min-height: 120px;
}

ul.wysija_archive li:hover {
	box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
	transform: translateY(-2px);
}

span.wysija_archive_date {
	background: #cb1b22;
	color: white;
	display: block;
	padding: 8px 0;
	margin-bottom: 32px;
}

.bg-whitesmoke {
	background: whitesmoke;
}

.promobox {
	min-height: 200px;
	position: relative;
	padding-bottom: 60px;
}

.promobox h3 {
	min-height: 2.5em;
}

.promobox p:nth-child(3) {
	height: 3.5em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.promobox a {
	position: absolute;
	bottom: 1em;
}

.gallery {
	margin-top: 1em !important;
	margin-bottom: 1em !important;
}

.gallery-item {
	margin: 0 !important;
	position: relative;
}

.gallery-caption {
	position: absolute;
	padding: 10px;
	bottom: 2px;
	left: 2px;
	right: 2px;
}

.wp-caption-text {
	padding-top: 20px;
	color: white;
	text-align: left;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	background: rgba(0, 0, 0, 0.65);
}

.gallery img {
	border: 2px solid white !important;
}

.gallery.gallery_default .wpmf-gallery-item {
	margin: 0 !important;
}

.rev_slider a {
	text-decoration: none !important;
	color: inherit !important;
}

#swipebox-overlay {
	background: rgba(255, 255, 255, 0.9) !important;
}

.newsgallery {
	width: 33%;
}

.featured {
	position: relative;
}

.featured .text {
	position: absolute;
	padding: 10px;
	bottom: 0;
	left: 0;
	right: 0;
	color: white;
	background: linear-gradient(to bottom, rgba(125, 185, 232, 0) 0%, rgba(0, 111, 186, 0.4) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007db9e8', endColorstr='#0066cc', GradientType=0);
}

.featured h3,
.featured h5 {
	margin-bottom: 5px;
}

.featured h3 a,
.featured h5 {
	color: white;
	text-decoration: none;
}

.red,
.req {
	color: #cb1b22
}

.posted {
	margin-left: 20px;
	color: #ccc;
}

.secondary {
	color: #6aa9d0;
}

.icon {
	width: 24px;
}

.news,
.events {
	margin-bottom: 20px;
}

.news img,
.events img {
	width: 40%;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
}

.news p {
	font-size: 90%;
	line-height: 1.25;
	margin-bottom: 0;
}

.news h5 {
	margin-top: 0;
	margin-bottom: 0.25em;
}

.news a.fb {
	color: black;
}

.metablock {
	margin-top: 1.5em;
}

.border {
	border: 1px solid whitesmoke;
}

.bulletin {
	text-align: center;
	font-size: 0.85em;
	border: 2px solid #0039cb;
	border-radius: 4px;
	width: 100%;
}

.bulletin .title {
	padding-top: 6px;
	padding-bottom: 6px;
	background: #bd1f1e;
	color: white;
}

.bulletin a {
	display: inline-block;
	min-height: 3em;
}

.contact-card {
	min-height: 310px;
	overflow: hidden;
	position: relative;
}

.contact-card h4,
.contact-card p {
	margin-top: 0.5em;
	margin-bottom: 0.25em;
}

.contact-card h4 {
	font-size: 1.2em;
}

.contact-card p {
	font-size: 0.8em;
}

.contact-card .email {
	font-size: 10px;
}

.contact-card a {
	text-decoration: none;
}

.covers {
	max-width: 1200px;
	margin: 0 auto;
}

.fade {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
}

#coverphoto,
.covers div {
	height: 50vh;
	min-height: 450px;
	background-size: cover !important;
	background-repeat: no-repeat;
	margin: 0 auto;
}

.grid.staff {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.staff_members {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1em 1fr 1em 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1em;
}

span.blue-button a {
	padding: 10px;
	display: block;
	background: #0066cc;
	text-align: center;
	color: white;
	border-radius: 2px;
	text-decoration: none;
}

img.shadow {
	box-shadow: 0 0 2px #999;
}

.partneri .logo {
	height: 130px;
	line-height: 110px;
	text-align: center;
}

.partneri .logo img {
	width: 100px;
	height: 70px;
	object-fit: contain;
	margin: 1em;
}

/* Form */

fieldset {
	padding: 20px 20px 0 20px;
	margin-bottom: 1.65em;
	background: #e5f0f8;
}

legend {
	font-weight: bold;
	color: #0066cc;
	padding: 6px;
	border-radius: 10px;
	background: white;
}

input:invalid,
textarea:invalid {
	background-color: white;
}

form .acceptance {
	margin-right: 1em;
	padding-top: 5px;
}

/* Menu structure: logo | menu items | language flag (+ MENU button on mobile) */
.menu {
	display: flex;
	align-items: stretch;
	height: 64px;
	font-size: 92%;
	line-height: 1;
}

#logo,
#lang,
#nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#lang {
	flex: 0 0 auto;
	padding: 0 24px;
}

#header nav {
	flex: 1 1 auto;
	min-width: 0;
}

/* Spare room becomes even gaps between the items; labels only wrap once it runs out */
#header nav > ul {
	display: flex;
	justify-content: space-evenly;
	align-items: stretch;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

#header nav > ul > li {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-align: center;
}

.menu li {
	line-height: 1;
}

.menu a {
	color: white;
	text-decoration: none;
}

.menu a:hover,
.menu a:focus {
	text-decoration: none;
}

/* Top level: rounded translucent pill for the current section and on hover */
#header nav > ul > li > a {
	display: inline-block;
	padding: 9px clamp(7px, 0.65vw, 12px);
	border-radius: 20px;
	font-weight: 500;
	text-wrap: balance;
	transition: background .15s ease;
}

#header nav > ul > li:hover > a,
#header nav > ul > li:focus-within > a {
	background: rgba(255, 255, 255, 0.09);
}

#header nav > ul > .current-menu-item > a,
#header nav > ul > .current-menu-ancestor > a,
#header nav > ul > .current-page-ancestor > a {
	background: rgba(255, 255, 255, 0.16);
}

/* Dropdown: rounded blue card with a soft shadow, in line with the Open Day popup */
.menu ul li ul {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 250px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #0066cc;
	border-radius: 14px;
	box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s;
}

/* Invisible bridge over the gap so the menu stays open while the mouse moves down to it */
.menu ul li ul::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}

.menu ul li:last-child ul {
	left: auto;
	right: 0;
}

.menu ul li ul li {
	display: block;
	padding: 0;
	height: auto;
	max-width: none;
	border: 0;
	text-align: left;
	background: none;
}

.menu ul li ul li a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: white;
	transition: background .15s ease;
}

.menu ul li ul li a:hover,
.menu ul li ul li a:focus-visible {
	background: rgba(255, 255, 255, 0.14);
}

.menu ul li ul .current-menu-item {
	box-shadow: none;
}

.menu ul li ul .current-menu-item a {
	background: rgba(255, 255, 255, 0.1);
}

.menu ul li:hover ul,
.menu ul li:focus-within ul {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.menu ul li ul,
	.menu ul li ul li a,
	#header nav > ul > li > a {
		transition: none;
	}
}

#nav-toggle {
	display: none;
	flex: 0 0 auto;
	padding: 0 16px 0 6px;
	cursor: pointer;
	font-weight: bold;
}

/* MENU button: pill with a hamburger icon, same translucent white as the desktop pills */
#nav-toggle a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 16px 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	font-size: 14px;
	letter-spacing: 0.06em;
	transition: background .15s ease;
}

#nav-toggle a::before {
	content: "";
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

#nav-toggle a:hover,
#nav-toggle a:focus-visible {
	background: rgba(255, 255, 255, 0.26);
}

.secondary-menu {
	padding: 0;
	margin-left: 0;
	margin-bottom: 0;
	font-size: 0.9em;
}

.secondary-menu li {
	list-style: none;
	/* background: url('images/bullet-arrow.png') 0 15px no-repeat;
	text-indent: 30px; */
	line-height: 3;
	font-weight: bold;
	display: inline;
	margin-right: 20px;
}

.secondary-menu li a {
	text-decoration: none;
	color: #000;
	padding-bottom: 6px;
	white-space: nowrap;
}

.secondary-menu .current_page_item a {
	color: #00529d;
	border-bottom: 2px solid;
}

.secondary-menu li a:hover {
	color: #00529d;
}

.pointer {
	cursor: pointer;
}

ul.pills {
	padding: 0;
}

ul.pills li {
	display: inline-block;
	list-style: none;
	padding: 2px 12px;
	background: whitesmoke;
	font-size: 0.7rem;
	border-radius: 20px;
	white-space: nowrap;
	margin-bottom: 2px;
	cursor: pointer;
}

ul.pills li.current {
	background: #0066cc;
	color: white;
	box-shadow: 0 8px 25px rgba(0, 136, 255, 0.6);
	transform: scale(1.05);
}

.dot-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dot-list li {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 1em 0;
	border-bottom: 1px solid #e4eaf0;
	line-height: 1.35;
}

.dot-list li:last-child {
	border-bottom: none;
}

.dot-list li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6ab0d8;
	flex-shrink: 0;
}

#topline .icon,
.social-icons .icon {
	width: 26px;
	height: 26px;
	display: inline-block;
	border-radius: 2px;
	text-indent: -9999px;
}

#topline .icon.twitter,
.social-icons .icon.twitter {
	background: url('images/icon-twitter.svg') no-repeat center center;
	background-size: auto 18px;
}

#topline .icon.fb,
.social-icons .icon.fb {
	background: url('images/icon-fb.svg') no-repeat center center;
	background-size: auto 18px;
}

#topline .icon.youtube,
.social-icons .icon.youtube {
	background: url('images/icon-youtube.svg') no-repeat center center;
	background-size: auto 18px;
}

#topline .icon.instagram,
.social-icons .icon.instagram {
	background: url('images/icon-instagram.svg?3') no-repeat center center;
	background-size: auto 18px;
}

#topline .icon.linkedin,
.social-icons .icon.linkedin {
	background: url('images/icon-linkedin.svg?2') no-repeat center center;
	background-size: auto 18px;
}

.icon-360 {
	background: url('images/icon-360.svg') no-repeat left center;
	background-size: auto 18px;
}

.social-icons {
	display: flex;
	gap: 1.5em;
}

.social-icons .icon {
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.penta-award img {
	width: clamp(95px, 15vw, 150px) !important;
}

/* Virtual Tour */
#topline .virtual {
	margin: 0 4px;
	color: white;
	text-decoration: none;
	padding-left: 28px;
	line-height: 28px;
	margin-right: 30px;
}

.page-id-398 .virtual .jh,
.page-id-398 .virtual .hide {
	display: none;
}

.page-id-398 .virtual .jh.ps {
	display: inline;
}

.page-id-484 .virtual .ps,
.page-id-484 .virtual .hide {
	display: none;
}

.page-id-484 .virtual .ps.jh {
	display: inline;
}

.aerial iframe {
	border: none;
}

::-webkit-input-placeholder {
	color: #999;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: #999;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: #999;
}

:-ms-input-placeholder {
	color: #999;
}

/* End menu structure */

/* Mobile navigation: slide-in panel built from the main menu in js/scripts.js,
   styled like the desktop dropdown (rounded blue card, pill-shaped links) */
.mobile-nav {
	position: fixed;
	top: 8px;
	right: 8px;
	bottom: 8px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	width: 290px;
	max-width: calc(100vw - 48px);
	font-family: "Oxygen", sans-serif;
	background: #0066cc;
	border-radius: 18px;
	box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
	transform: translateX(calc(100% + 16px));
	visibility: hidden;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
}

.mobile-nav.is-open {
	transform: none;
	visibility: visible;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.mobile-nav__head {
	display: flex;
	justify-content: flex-end;
	flex: none;
	padding: 12px 12px 0;
}

.mobile-nav__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: white;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease;
}

.mobile-nav__close:hover,
.mobile-nav__close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
}

.mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav > ul {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 4px 8px 12px;
}

.mobile-nav li {
	margin: 0;
}

.mobile-nav > ul > li + li {
	margin-top: 12px;
}

.mobile-nav a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	color: white;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	transition: background .15s ease;
}

.mobile-nav > ul > li > a {
	font-size: 17px;
	font-weight: bold;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	text-decoration: none;
}

.mobile-nav .current-menu-item > a {
	background: rgba(255, 255, 255, 0.1);
}

.mobile-nav li ul a {
	color: rgba(255, 255, 255, 0.92);
}

.mobile-nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(0, 30, 60, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}

.mobile-nav-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
}

html.mobile-nav-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.mobile-nav,
	.mobile-nav.is-open,
	.mobile-nav-backdrop,
	.mobile-nav-backdrop.is-open,
	.mobile-nav a {
		transition: none;
	}
}

@media only screen and (max-width: 1024px) {

	.menu {
		font-size: 90%;
	}

	.grid-mobile {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (max-width: 768px) {

	.col.ten,
	.column.ten,
	.col.twenty,
	.column.twenty,
	.col.thirty,
	.column.thirty,
	.col.forty,
	.column.forty,
	.col.fifty,
	.column.fifty,
	.col.half,
	.column.half,
	.col.sixty,
	.column.sixty,
	.col.seventy,
	.column.seventy,
	.col.eighty,
	.column.eighty,
	.col.ninety,
	.column.ninety,
	.col.hundred,
	.column.hundred,
	.col.full,
	.column.full,
	.col.quarter,
	.column.quarter,
	.col.twentyfive,
	.column.twentyfive,
	.col.thirtythree,
	.column.thirtythree,
	.col.third,
	.column.third,
	.col.twothirds,
	.column.twothirds {
		width: 100%;
	}

	.col.twenty,
	.column.twenty {
		width: 33%;
	}

	#footer .fr {
		float: none;
	}

	/* May give up its spare room on very narrow phones, but never past the logo itself */
	#logo {
		flex: 0 1 170px;
		min-width: 140px;
	}

	#logo img {
		left: 10px;
		max-width: 160px;
	}

	#logo a {
		background-size: 100px auto;
		width: 120px;
		height: 100px;
	}

	#topline .virtual {
		display: none;
	}

	#nav-toggle {
		display: flex !important;
	}

	/* Flag sits next to the MENU button on the right instead of floating mid-bar */
	#lang {
		margin-left: auto;
		padding: 0 6px;
	}

	#lang a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
	}

	#header nav {
		display: none !important;
	}

	.pad {
		padding: 10px;
	}

	.pad-nover {
		padding: 0 10px;
	}

	.newsgallery {
		width: 50%;
	}

	#coverphoto {
		height: 400px;
	}
}

@media only screen and (max-width: 480px) {

	.col.twenty,
	.column.twenty {
		width: 50%;
	}

	.col.sixth,
	.column.sixth {
		width: 33%;
	}

	#search {
		display: none;
	}

	.newsgallery {
		width: 100%;
	}

	.staff img {
		max-width: 100%;
	}

	#coverphoto {
		height: 250px;
	}
}

/*
 * Layout widths (theme.json): normal = content-size, wide = wide-size, full = edge to edge.
 * .container gives classic (non-block) templates the normal width.
 */
.container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--content-size);
}

.alignwide {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--wide-size);
}

/* Title block of the "Blocks and Navigation" template – same spacing as a normal-width Columns block */
.page-heading {
	/* padding, not margin: core's ":root :where(.is-layout-constrained) > :first-child" zeroes the first child's top margin */
	padding-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
}

.page-heading .secondary-menu {
	margin-top: var(--wp--preset--spacing--10);
}

/* Full-bleed fallback for classic templates; inside .has-global-padding core handles it */
:not(.has-global-padding) > .alignfull {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	width: 100vw;
}

/* Single post (single.php) */
body.single {
	overflow-x: clip; /* alignfull blocks use 100vw, which includes the scrollbar */
}

.single-layout {
	--single-gutter: clamp(20px, 4vw, 40px);
	padding: 0 var(--single-gutter);
}

.single-layout__header {
	padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
	max-width: 900px;
}

h1.single-layout__title {
	margin: 0;
	font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
	color: var(--wp--preset--color--accent);
}

h1.single-layout__title::after {
	content: "";
	display: block;
	margin-top: 1.25rem;
	width: 40px;
	height: 3px;
	border-radius: 2px;
	background: var(--wp--preset--color--accent-3);
}

.single-layout__body {
	padding: 0 0 clamp(40px, 6vw, 72px);
}

/* Content that opens with a full-width band sits flush under the header */
.single-layout__main > .alignfull:first-child {
	margin-top: 0;
}

.single-layout__main {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.single-layout__main .wp-block-image img {
	height: auto;
	border-radius: 12px;
}

.single-layout__body,
.single-layout__row {
	gap: clamp(24px, 4vw, 48px);
	align-items: stretch;
}

.single-layout__body > *,
.single-layout__row > * {
	flex: 1;
	min-width: min(300px, 100%);
}

.single-layout__body > .single-layout__row {
	flex-basis: 100%;
}

.single-layout__body.is-single-column > .single-layout__main p {
	max-width: 680px;
}

.single-layout__aside {
	align-self: flex-start;
	padding: clamp(20px, 3vw, 32px);
	border-radius: 16px;
	background: var(--wp--preset--color--base-2);
}

.single-layout__aside > :first-child {
	margin-top: 0;
}

@media only screen and (max-width: 768px) {
	.single-layout__main {
		font-size: 1rem;
	}

	/* Full-bleed bands get a little more breathing room on phones */
	.single-layout__main > .alignfull.has-background {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.single-layout__aside {
		flex-basis: 100%;
	}
}

.wp-block-pullquote cite {
	font-size: 60% !important;
}

.wp-block-group.is-layout-flex.riverside-info-flex {
	display: flex;
}

.wp-block-group.is-layout-flex.riverside-info-flex>*:first-child {
	flex: 0 1 300px;
}

.wp-block-group.is-layout-flex.riverside-info-flex>*:nth-child(2) {
	flex: 1 1 500px;
}

.blurred-bg {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.wp-block-navigation-item.current-menu-item {
	border-bottom: 1px solid;
}

figure.text-center figcaption {
	text-align: center;
}

/* Contain floats: h5bp.com/q */
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

.campus-pop {
	display: none;
	position: absolute;
	top: -330px;
	right: 2vw;
	max-width: 380px;
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);
}

@media only screen and (max-width: 1270px) {
	.campus-pop {
		position: inherit;
		top: unset;
		right: unset;
		aspect-ratio: 4/3 !important;
		max-width: 1100px;
	}
}

/* Tooltips (js/tooltips.js) – used by the CTA buttons block and by core/button blocks with a tooltip */
.rs-tooltip {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	max-width: min(300px, calc(100vw - 16px));
	padding: 12px 16px;
	/* same card as the menu dropdown */
	border-radius: 14px;
	background: #0066cc;
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
	/* drop-shadow (not box-shadow) so the arrow gets the shadow too */
	filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.25)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s;
}

.rs-tooltip.is-below {
	transform: translateY(-6px);
}

.rs-tooltip.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.rs-tooltip__arrow {
	position: absolute;
	top: 100%;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 2px;
	background: inherit;
	transform: rotate(45deg);
}

.rs-tooltip.is-below .rs-tooltip__arrow {
	top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.rs-tooltip,
	.rs-tooltip.is-below {
		transform: none;
	}
}

