/*
Theme Name: ClinCalc Academy - WP Courseware 2026
Theme URI: https://clincalc.com
Author: Sean P. Kane
Author URI: https://clincalc.com/
Description: ClinCalc Academy theme for WP Courseware, optimized and streamlined.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * 1.0 Reset & Base Structure
 * ----------------------------------------------------------------------------
 */

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

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	color: #222222;
	background: #c4bd97 !important;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5;
	position: relative;
	cursor: default;
	height: 100%;
}

a {
	color: #4f81bd;
	text-decoration: underline;
	font-weight: bold;
}

a:hover,
a:focus {
	color: #1f497d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700 !important;
	line-height: 1.3;
	text-rendering: optimizeLegibility;
}

p,
.panel {
	font-family: inherit;
	font-weight: normal;
	font-size: 1.125rem;
	line-height: 1.7;
	margin-bottom: 1.25rem;
	text-rendering: optimizeLegibility;
}

ul,
ol,
dl {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.25rem;
	list-style-position: outside;
	font-family: inherit;
}

ul {
	margin-left: 1.1rem;
}

ol {
	margin-left: 1.4rem;
}

ul li ul,
ul li ol,
ol li ul,
ol li ol {
	margin-left: 1.25rem;
	margin-bottom: 0;
}

ul.no-bullet {
	list-style: none;
	margin-left: 0;
}

/**
 * 2.0 Responsive Media & Embeds
 * ----------------------------------------------------------------------------
 */

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}

embed,
iframe,
object,
video {
	max-width: 100%;
}

.clear:before,
.clear:after,
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clear:after,
.clearfix:after {
	clear: both;
}

/**
 * 3.0 WordPress Core & Layout Classes
 * ----------------------------------------------------------------------------
 */

.site {
	margin: 0 auto;
	width: 100%;
}

.site-main {
	position: relative;
	background: #fff;
	padding-bottom: 1.5rem;
}

#main-container,
.main {
	background: #fff;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

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

.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	width: 1px;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 20px;
}

.wp-caption-text {
	font-size: 0.85rem;
	line-height: 1.4;
	color: #666;
	padding: 0.5em 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	width: 100%;
}

.entry-header {
	margin-bottom: 20px;
}

.entry-title {
	margin-top: 0.25em;
	margin-bottom: 0;
}

.entry-thumbnail img {
	display: block;
	margin: 0 auto 10px;
}

.entry-meta {
	clear: both;
	font-size: 14px;
	color: #777;
}

.entry-meta > span {
	margin-right: 15px;
}

footer.entry-meta {
	display: none;
}

.entry-content {
	word-wrap: break-word;
}

.page-links {
	clear: both;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
	line-height: 2.2;
	margin: 20px 0;
}

.page-links a,
.page-links > span {
	background: #008cba;
	color: #fff;
	padding: 5px 10px;
	text-decoration: none;
}

.page-links .page-links-title {
	background: transparent;
	color: inherit;
	margin-right: 10px;
	padding: 0;
}

/**
 * 4.0 Navigation & Dropdowns
 * ----------------------------------------------------------------------------
 */

.main-navigation {
	clear: both;
	margin: 0 auto;
	min-height: 45px;
	position: relative;
	background: #c4bd97;
}

#navbar {
	background-color: #f7f5e7;
	margin: 0 auto;
	width: 100%;
	font-weight: bold;
}

#navbar ul li {
	padding-bottom: 0.5em;
	line-height: 1;
}

#navBarSiteNav a {
	text-decoration: none !important;
	color: #1f497d !important;
	font-size: 1.3em !important;
}

/**
 * 5.0 Comments / Feedback Area
 * ----------------------------------------------------------------------------
 */

.comments-area {
	margin: 0 auto;
}

.comment-reply-title {
	display: none;
}

.comment-respond {
	background-color: transparent;
	padding: 0;
}

.comment-form textarea {
	width: 100%;
}


/**
 * 6.0 ClinCalc-Specific Customizations
 * ----------------------------------------------------------------------------
 */

.headerGradient {
	background: url('images/layout/bg-HeaderGradient.png') no-repeat center #1f497d;
	height: 66px; width: 100%;
	border-bottom: 4px solid #1f497d;
}
.headerPattern {
	background: url('images/layout/bg-HeaderPattern.png') repeat;
}
.headerBarSmallScreen {
	background: url('images/layout/bg-HeaderPattern.png') repeat #9bbb59;
	font-weight: bold;
	text-align: center;
	border-bottom: 2px solid #76923c;
	color: #f0f0f0;
	padding-left: 1em;
}
.headerBarSmallScreenGradient {
	padding: 0.2em 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 2%, rgba(0,0,0,0.1) 100%);
}

.bodyGradientTop { background: url('images/layout/bg-BodyGradientTop.png') repeat-x; height: 5px; width: 100%; }

.headerBarSmallScreen a { color: #fff; }
.headerCalcLogo {
	background: url('images/layout/ClinCalc.png') no-repeat;
	height: 56px; width: 277px;
	position: relative;
	top: 5px;
	float: left;
}
.headerCalcLogo_Mobile {
	background: url('images/layout/ClinCalc_mobile.png') no-repeat;
	height: 56px; width: 182px;
	position: relative;
	top: 5px;
	float: left;
}
.HeadingText {
	margin-bottom: 0;
}
.SubheadingText {
	margin: 0; padding: 0;
	color: #76923c;
	font-size: 1.7em;
	margin-bottom: 0.5em;
}
.navElement {
	/* Keep the icon, label, and hover underline within the 66px header. */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	float: right;
	margin: 0 5px;
	padding: 4px 0 3px;
	border-bottom: 4px solid transparent;
	text-decoration: none !important;
	color: #fff;
	font-family: 'Titillium Web', Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 1px;
	width: 90px;
	height: 66px;
}
.navElement:hover {
	border-bottom-color: #e36c09;
	color: #e0e0e0;
	font-weight: 700;
	background: radial-gradient(ellipse at center, rgba(227,108,9,0.4) 0%, rgba(227,108,9,0) 75%);
}
.navElement:hover i {
	text-shadow: none !important;
	color: #c9d4ff;
}
.navElement:hover div {
	text-shadow: none !important;
}
.navElement i {
	flex-shrink: 0;
	line-height: 1;
	font-size: 35px;
	font-weight: normal !important;
	color: #d8e0ff;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
.navElement div {
	font-size: 20px;
	color: #fff;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.grid-nobottompadding ul li { padding-bottom:  0; }

.sidebarContainer {
	margin-top: 2em;
}
.sidebarContainer a { font-weight: normal; }

.headingIcon {
	background-position: center left;
	padding-left: 32px;
	min-height: 28px;
	font-size: 1.4em;
}

a.myleft-off-canvas-toggle {
	line-height: 66px;
	margin-right: 10px;
	color: #fefefe !important;
	border: 1px solid rgba(255,255,255,0.7);
	font-size: 1.5em;
	text-decoration: none;
	padding: 0.2em 0.5em;
	background: rgba(255,255,255,0.2);
}
.off-canvas-list li { list-style-image: none !important; }
.off-canvas-list li a { text-decoration: none !important; font-weight: normal; }

.footerContainer {
	background: #c4bd97;
	border-top: 4px solid #938953;
	padding: 10px 0 5px 0;
	font-size: 0.9em;
	line-height: 1.2em;
}
.footerContainer a { color: #1f497d; }
.NavigationFooterItems ul li a {
	font-size: 1.3em !important;
	text-decoration: none !important;
}

.References ol { padding-left: 2em; }
.citationLink { text-decoration: none !important; }

#toTop {
	border: 1px solid #ccc;
	background: #f7f7f7;
	text-align: center;
	padding: 0.5em;
	position: fixed;
	bottom: 20px;
	right: 10px;
	cursor: pointer;
	display: none;
	color: #333;
	font-family: verdana, sans-serif;
	font-size: 16px;
	-webkit-text-size-adjust: none;
	z-index: 100;
}
#toTop:hover { background: #DEDEDE; }

.RequiredField {
	border: 3px solid #FFAC28 !important;
}

.SearchHighlight, .highlight, .hilite {
	font-weight: bold;
	background-color: #ffff99;
}

a.button { text-decoration: none !important; font-weight: bold !important; }

.wpcw_fe_progress_box_mark { margin: auto !important; }

a.fe_btn_navigation, .submit, button, input[type="button"], input[type="reset"], input[type="submit"] {
	border-style: solid;
	border-width: 0px;
	cursor: pointer;
	font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
	line-height: normal;
	margin: 0;
	position: relative;
	text-decoration: none;
	text-align: center;
	display: inline-block;
	padding: 1rem 2rem 1.0625rem;
	font-size: 1rem;
	background-color: #008cba;
	border-color: #007295;
	color: white;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
	-webkit-appearance: none;
	border: none;
	font-weight: bold;
	box-shadow: none;
	border-radius: 0;
	text-shadow: none;
}
a.fe_btn_navigation:hover, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	background-color: #007295;
	background-image: none;
	box-shadow: none;
}
a.fe_btn_completion {
	background-image: none;
	background-color: #5b992b;
	border: 1px solid #5b992b;
	box-shadow: none;
}
a.fe_btn_completion:hover {
	background-color: #76b347;
	background-image: none;
	box-shadow: none;
}
.wpcw_fe_navigation_box {
	padding: 0;
}
.wpcw_fe_navigation_box a {
	margin-left: 0.5em;
	margin-right: 0.5em;
}
.wpcw_fe_progress_download { display: none; }
.hover:hover { cursor: pointer; }

.SmallYellowBoxAlert {
	background: #FFF3B2 !important; 
	border: 2pt solid #F7DD54 !important;
}
.SmallYellowBoxAlert p { font-size: 0.8em; }

/* Stripe */
#wlm_submit_button { padding: 1em 1.75em; }
.regform-button, #wlm_submit_button {
	background: #008cba !important;
	border: none !important;
	color: #fff;
	font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !important;
	font-weight: bold !important;
	font-size: 1rem !important;
	border-radius: 0 !important;
	text-shadow: none !important;
	transition: background-color 300ms ease-out;
}
.regform-button:hover {
	background-color: #007295 !important;
	background-image: none !important;
	box-shadow: none !important;
}
.go-regform {
	width: 100% !important;
	padding: 0.75em 0 !important;
	font-size: 1.6rem !important;
}
.regform-header p {
	color: #000 !important;
	text-shadow: none !important;
	font-weight: bold !important;
}
.regform .txt-fld label, .regform .widefield .expires label {
	color: #000 !important;
}
a.regform-open-login {
	color: #000 !important;
}
div.regform .txt-fld input, div.regform .widefield .expires input, div.regform .txt-fld select {
	font-size: inherit !important;
	box-shadow: none !important;
	font-family: inherit !important;
}
.regform-error { margin: 1em 0 !important; }

.valign-middle {
	display: table;
}
.valign-middle .columns {
	display: table-cell;
	vertical-align: middle;
}
.valign-middle .columns,
.valign-middle [class*="column"] + [class*="column"]:last-child {
	float: none;
}
.fa-ul li { margin-bottom: 0.75em; }
.fa-ul>li>i.fa { padding-top: 0.2em; }

.flickr { font-size: 9px; text-align: right; color: #808080; }
.flickr a { color: #808080; text-decoration: none; font-weight: normal; }

/**
 * WP Courseware customizations
 */
.enroll_button {
	padding: 1.5rem 2rem; 
	text-align: center;
}
.enroll_button .wpcw-button {
	background-color: #43ac6a;
	border-color: #368a54;
	padding: 2rem 3rem;
	font-size: 2rem;
}
.enroll_button .wpcw-button:hover {
	background-color: #368a54;
}

/* ClinCalc Academy template customizations */
#TopSubnavBar {
	padding: 0.5em 0;
	background-color: #43ac6a;
	border-bottom: 1px solid #008A00;
}
#TopSubnavBarContainer {
	margin: 0 auto;
	font-size: 1em;
	font-weight: bold;
	color: #fafafa;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 1.5em;
}
#TopSubnavBarContainer a {
	text-decoration: none;
}
.center { text-align: center; }
.no-margin { margin: 0; }
.margin25 { margin: auto 25%; }

.info-box {
	border: 1px solid #fff;
	border-radius: 10px;
	padding: 2em;
	width: 70% !important;
	background: rgba(255,255,255,0.1);
}
.course-enroll-button a {
	font-size: 1.5rem;
	padding: 1em;
}
.course-enroll-button p { color: #fff; }
.wpcw_fe_quiz_q_title legend {
	font-weight: 400;
	background: inherit;
	padding: 0;
	margin: 0;
}
mark {
	background: inherit !important;
	color: inherit !important;
}

/**
 * Call-to-Action (CTA) Banners
 */
.academy-cta {
	margin: 2em 0;
	background: #f7f9fa;
	border: 1px solid #dbe2e6;
	border-radius: 8px;
	padding: 1.75em 2em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.academy-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2em;
}

.academy-cta__media {
	flex: 0 0 160px;
	max-width: 100%;
	text-align: center;
}

.academy-cta__media img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.academy-cta__content {
	flex: 1 1 280px;
	min-width: 0;
}

.academy-cta__content h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
	color: #1f497d;
	font-size: 1.35rem;
}

.academy-cta__content p {
	margin-bottom: 0.75em;
	font-size: 1rem;
	line-height: 1.5;
	color: #333;
}

.academy-cta__content .academy-cta__highlights {
	color: #4a5568;
	font-size: 0.95rem;
}

.academy-cta__action {
	margin-top: 1.25em;
}

.academy-cta__action .button {
	max-width: 100%;
	margin-bottom: 0;
	font-size: 1.15rem;
	padding: 0.75em 1.75em;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	background-color: #007cad;
	color: #fff;
	border: none;
	font-weight: 700;
	line-height: 1.4;
	white-space: normal;
	transition: background-color 0.15s ease-in-out;
}

.academy-cta__action .button:hover,
.academy-cta__action .button:focus {
	background-color: #00698f;
	color: #fff;
	text-decoration: none;
}

.academy-cta a:focus-visible {
	outline: 3px solid #1f497d;
	outline-offset: 3px;
}

/* Exam CTA style variation */
.academy-cta--exam {
	background: linear-gradient(135deg, #eef7fc 0%, #f4f6f8 100%);
	border-left: 5px solid #0693e3;
}

@media (max-width: 640px) {
	.academy-cta {
		padding: 1.25em;
	}
	.academy-cta__inner {
		flex-direction: column;
		text-align: center;
		gap: 1em;
	}
	.academy-cta__media {
		flex: 0 0 auto;
	}
	.academy-cta__content {
		flex-basis: auto;
	}
	.academy-cta__media img {
		max-width: 120px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.academy-cta__action .button {
		transition: none;
	}
}
