/*
Theme Name: ChemSteps Seventeen Stable
Theme URI: https://chemsteps.com/
Description: A reliable ChemSteps child theme for the supplied customized Twenty Seventeen theme, with an isolated full-width environment for the Topic Trainer.
Author: ChemSteps
Author URI: https://chemsteps.com/
Template: twentyseventeen
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chemsteps-seventeen-stable
*/

/* This file intentionally contains only child-theme metadata and small shell
   defaults. Parent and app styles are enqueued with automatic cache versions. */

body.chemsteps-app-page {
	background: #020617;
}

/* The ChemSteps shell lives in the child theme, so parent updates cannot
   restore Twenty Seventeen's photograph banner or white navigation bar. */
.custom-header-media,
.site-branding,
.navigation-top,
.menu-scroll-down {
	display: none !important;
}

.csh-site-header {
	background: #2caae6;
	border: 0;
	box-shadow: none;
	position: relative;
	z-index: 20;
}

.csh-site-header .csh-header-wrap {
	align-items: center;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	max-width: 1920px;
	min-height: 104px;
	padding: 15px 32px;
}

.csh-logo {
	flex: 0 0 390px;
	line-height: 0;
}

.csh-logo img {
	display: block;
	height: auto;
	max-height: 78px;
	max-width: 100%;
	width: auto;
}

.csh-primary-nav {
	flex: 1 1 auto;
}

.csh-primary-nav ul,
.csh-account-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.csh-primary-nav a {
	color: #fff;
	display: block;
	font-size: 20px;
	font-weight: 600;
	padding: 12px 10px;
	text-decoration: none;
}

.csh-primary-nav a:hover,
.csh-primary-nav a:focus {
	color: #082755;
}

.csh-primary-nav .sub-menu {
	background: #087fb9;
	border-radius: 10px;
	padding: 8px;
}

.csh-account-nav {
	flex: 0 0 auto;
	flex-wrap: nowrap;
}

.csh-account-button,
button.csh-account-button {
	background: transparent;
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	padding: 13px 25px;
	text-decoration: none;
	white-space: nowrap;
}

.csh-account-button:hover,
.csh-account-button:focus,
button.csh-account-button:hover,
button.csh-account-button:focus {
	background: #fff;
	color: #087fb9;
}

.csh-login-modal[hidden] { display: none !important; }
.csh-login-modal { inset: 0; position: fixed; z-index: 100000; }
.csh-login-backdrop { background: rgba(2, 6, 23, .78); inset: 0; position: absolute; }
.csh-login-panel {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
	left: 50%;
	max-width: 440px;
	padding: 36px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}
.csh-login-panel h2 { color: #082755; margin: 0 0 8px; }
.csh-login-panel p { color: #526078; margin: 0 0 22px; }
.csh-login-panel label { color: #17233d; display: block; font-weight: 700; margin: 14px 0 6px; }
.csh-login-panel input[type="text"],
.csh-login-panel input[type="password"] { border: 1px solid #b9c7d8; border-radius: 9px; padding: 12px; width: 100%; }
.csh-login-panel .csh-remember { align-items: center; display: flex; font-weight: 500; gap: 8px; }
.csh-login-close { background: transparent; border: 0; color: #526078; cursor: pointer; font-size: 34px; line-height: 1; padding: 8px; position: absolute; right: 13px; top: 8px; }
.csh-login-submit { background: #087fb9; border: 0; border-radius: 999px; color: #fff; cursor: pointer; font-weight: 700; margin: 16px 0 12px; padding: 13px 24px; width: 100%; }
.csh-forgot { color: #087fb9; display: block; text-align: center; }
body.csh-modal-open { overflow: hidden; }

@media screen and (max-width: 1220px) {
	.csh-site-header .csh-header-wrap { flex-wrap: wrap; gap: 8px 20px; }
	.csh-logo { flex-basis: 300px; }
	.csh-primary-nav { flex-basis: 100%; order: 3; }
}

@media screen and (max-width: 720px) {
	.csh-site-header .csh-header-wrap { justify-content: center; padding: 14px 18px; }
	.csh-logo { flex: 1 1 220px; max-width: 280px; }
	.csh-account-button,
	button.csh-account-button { font-size: 15px; padding: 10px 16px; }
	.csh-primary-nav a { font-size: 16px; padding: 8px; }
	.csh-login-panel { padding: 30px 22px; }
}
