/*
Theme Name:   UNE Theme - Syllabi
Description:  Child theme of UNE Theme for the syllabi site. Holds the syllabus templates, program text, and site-specific code carried over from OWL-IDS.
Template:     une
Version:      1.0.0
Text Domain:  une-theme-syllabi
*/

/* Only syllabus-specific styles live here. Everything else (fonts, colors,
   header, footer, layout) comes from UNE Theme so the sites stay consistent. */

/* ---------- Restricted sections (do not remove) ----------
   Hidden unless <body> has the "visible" class: logged in, ?elearn, or ?anchor=. */
.private,
.private-rubrics { display: none; }
.visible .private,
.visible .private-rubrics { display: block; }
.hidden-rubrics { display: none !important; }

/* ---------- Single syllabus ---------- */
.syllabus { position: relative; }

.syllabus .pdf-button { float: right; margin: 0 0 1em 1em; }
.syllabus .pdf-button a,
.pdf-button a {
	display: inline-block;
	padding: 10px 14px;
	background-color: #163e70;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}
.pdf-button a:hover,
.pdf-button a:focus { background-color: #f68d2e; color: #fff; text-decoration: none; }

.syllabus .top-title-h1 { text-align: center; }
.syllabus .top-title { text-align: center; text-transform: uppercase; margin-top: 0; }

.syllabus .course-title {
	margin-top: 2em;
	padding: 10px;
	border: 2px solid #f68d2e;
	border-radius: 5px;
	background: #f8f7f7;
}

.syllabus .credits {
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid #163e70;
	font-weight: 700;
}

/* Section headings (Description, Materials, Policies, ...) */
.syllabus .section-title {
	margin-top: 2.5em;
	padding: .5em;
	border: 1px solid #163e70;
	text-transform: uppercase;
}
.syllabus h4 { padding-bottom: .4em; border-bottom: 1px solid #163e70; }

/* Tables: grade breakdown, point scales, schedules */
.syllabus table {
	width: 100%;
	margin: 0 0 2em;
	border-collapse: collapse;
}
.syllabus th,
.syllabus td {
	padding: .5em .9em;
	border: 1px solid #000;
	vertical-align: top;
}
.point-scale table { text-align: center; }
.point-scale table tr:first-child { font-weight: 700; }
.point-scale table td { padding: .2em 1em; }

/* APN / DCN notice from Insert HTML Snippet */
.syllabi-notice {
	margin: 1em 0;
	padding: 15px 25px;
	border: 1px solid rgba(0, 0, 0, .38);
	background-color: #f7fcfd;
}
.syllabi-notice h3 { border: 0; }

.syllabus .note { display: block; font-weight: 700; font-style: italic; }
.syllabus img { max-width: 100%; height: auto; }

.video { position: relative; height: 0; padding-bottom: 56.25%; overflow: hidden; }
.video iframe,
.video object,
.video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- Category, archive, and home ---------- */
.disclaimer { color: #666; font-style: italic; }
.back-home { text-align: right; }
.syllabi-list p { margin-bottom: .75em; }
.loginout { margin-top: 2em; text-align: right; }

/* Syllabus body text */
p,
li,
td {
	font-size: 22px;
}
.syllabus h4 {
	font-size: 24px;
}
.legal-info p {
	font-size:16px;
}
footer li {
	font-size:16px;
}

/* Footer: hide the empty logo / link-column area, keep the legal bar */
.content-info .footer-wrap > .container-fluid {
	display: none;
}
.content-info .footer-wrap {
	padding-top: 0;
	padding-bottom: 0;
}
.content-info .legal-info {
	margin-top:0px;
}
.uwy.userway_p7 .userway_buttons_wrapper{
	top: 100px !important;
    left: 15px !important;
    right: auto !important;
    bottom: auto !important;
}

/* ---------- Print ---------- */
@media print {
	.pdf-button { display: none; }
	.syllabus table { page-break-inside: auto; }
	.syllabus tr,
	.syllabus td,
	.syllabus .section-title { page-break-inside: avoid; page-break-after: auto; }
	.syllabus p { widows: 3; orphans: 3; }
	.syllabus iframe { display: none; }
}

@media (max-width: 599px) {
	.syllabus .pdf-button { float: none; margin: 0 0 1em; text-align: center; }
}
