/* LOCAL.CSS contains CSS rules specific to the individual project that should NOT appear in BOTTOM.CSS */
/* Includes bits from static custom styles */

/* Handle long breadcrumb trails and other text to be truncated with ellipses */
.crumble, .hellip {
	/* NEED A WIDTH APPLIED */
	display:inline-block;
	vertical-align:middle;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.crumble {
	max-width:10rem;
}

/* Common UI elements for all clients (there is no differentiation like in other projects) */
.login, .container {
	width:100%;
	padding:2rem 2rem 1.25rem 2rem;
	margin:3rem auto;
	box-shadow:0 2px 10px rgba(160, 181, 208, 0.2);
	border:1px solid rgba(160, 181, 208, 0.3);
	border-radius:0.4rem;
}
.loginlabel {
	display:inline-block;
	width:12rem;
	text-align:right;
	margin-right:0.7rem;
	vertical-align:baseline;
}
.req {
	display:inline-block;
	width:16px;
	color:#f12405;
	text-align:center;
}

#adminbar {
	background-color:#FFEDC7;
	/*	border-top:1px solid #FFEDC7;
		border-bottom:1px solid #D2C4A3;*/
	/*color:#222;*/
}
#navbar {
	background-color:#55A7E6;
	border-top:1px solid #222;
	border-bottom:1px solid #222;
}
#navbar p {
	display: flex;
}
#navbar p a {
	padding: 8px !important;
	margin: -8px 16px -8px -8px !important;
}
#navbar p a:last-of-type {
	order: -1;
}
#navbar p a[href="restart.php"] {

}
#footer {
	height:50px;
	border-top:1px solid #0082D6;
	background-color:#55A7E6;
	color:#fff;
}

.footer_btn_region, .footer_btn_region_l {
	height:100%;
	text-align:center;
	float:left;
	padding:0.25rem 1rem;
	line-height:32px;
	display:flex;
	align-items:center;
}

.footer_btn_region_l {
	float:right;
	border-left:1px solid #0082D6 !important;
	white-space: nowrap;
}

.footer_btn_region {
	border-right:1px solid #0082D6;
	white-space: nowrap;
}

.footer_btn_region_l:hover, .footer_btn_region:hover {
	background-color:rgba(255, 255, 255, 0.6);
	color:#0082D6;
}

#header {
	min-height:120px;
	background:#C2E298;;
	display:flex;
	align-items:center;
	justify-content:space-between;
}

#bottombar {
	border-top: 1px solid #3D741E;
	margin-top: 1em;
	background-color:#65A43A;
	color:#fff;
}

/* Bootstrap 4 mistakenly assumes that a weight of 500 is semibold... 600 is more appropriate */
h1, h2, h3, h4, h5, h6 {
	font-weight:600!important;
}

a, a:active, a:visited {
	color:rgb(76, 171, 220);
	text-decoration:none;
	font-size:inherit;
}

a:hover {
	text-shadow:rgb(54, 130, 178) 0 0 1px;
	background-color:rgba(76, 171, 220, 0.75);
	color:#fff;
	text-decoration: none;
	padding:0.25em 0.5em;
	margin:-0.25em -0.5em;
	border-radius:0.25em;
}

#navbar a, #navbar a:hover, #navbar a:focus, #navbar a:active,
#footer a, #footer a:hover, #footer a:focus, #footer a:active,
#bottombar a, #bottombar a:hover, #bottombar a:focus, #bottombar a:active {
	-webkit-transition:none !important;
	-moz-transition:none !important;
	-o-transition:none !important;
	transition:none !important;
	border:none !important;
	text-shadow:none !important;
}

#navbar a:hover {
	background-color: rgba(255, 255, 255, 0.3) !important;
	padding:8px !important;
	margin:-8px 16px -8px -8px !important;
}

.k-title a:hover, .k-title a:focus, .k-title a:active {
	padding:0;
	margin:0;
	border-radius:0;
	background-color:transparent;
}

th, th a, th a:hover, .pseudoth {
	color:#fff;
	/*background-color:#5f8cb0;*/
	padding-top:3px;
	padding-bottom:3px;
	font-weight:bold;
	text-decoration:none;
	border:none;
}

h2.pseudoth {
	text-shadow:none;
	padding:0.75ex;
	margin:0;
	margin-top:1em;
	background-color:#435b82;
}

#main_area {
	position:relative;
	clear:both;
	background-color:#fff;
}

#main_area, #content, #navbar, #header, #bottombar, #footer {
	min-width:960px;
}

#header a {
	color:#008;
	text-decoration:none;
	font-size:inherit;
}

#header a:hover {
	background-color:rgba(0, 0, 0, 0.3);
	color:#fff;
	padding:4px;
	margin:-4px;
	border-radius:2px;
	-moz-border-radius:2px;
}

.header_text {
	color:#000;
	text-shadow:0 2px 5px rgba(0,0,0,0.4);
}

#navbar a {
	color:#fff;
	text-decoration:none;
	font-size:inherit;
}

#navbar a:hover {
	background-color:rgba(43, 85, 118, 0.8);
	color:#fff;
	padding:4px;
	margin:-4px;
	border-radius:2px;
	-moz-border-radius:2px;
}

#adminbar a {
	color:#94732E;
	text-decoration:none;
	font-size:inherit;
}

#adminbar a:hover {
	background-color:rgba(148, 115, 46, 0.7);
	color:#fff;
	padding:4px;
	margin:-4px;
	border-radius:2px;
	-moz-border-radius:2px;
}

#footer a {
	color:#fff;
	text-decoration:none;
	font-size:inherit;
}

#footer a:hover {
	background-color:rgba(255, 255, 255, 0.8);
	color:#fff;
	padding:4px;
	margin:-4px;
	border-radius:2px;
	-moz-border-radius:2px;
}

#bottombar a {
	color:#fff;
	text-decoration:none;
	font-size:inherit;
}

#bottombar a:hover {
	background-color:rgba(255, 255, 255, 0.8);
	color:#222;
	padding:4px;
	margin:-4px;
	border-radius:2px;
	-moz-border-radius:2px;
}

#attrib {
	position: relative;
	float: right;
	margin-right: 1em;
	margin-top: 3px;
	min-width:275px;
}

thead tr th:first-of-type {
	/*text-align:center;*/
}

.grid, .grid .table_footer {
	border-color: #8E9BB1;
	background-color: #EEE;
}

.width_w_foot {
	background-color: #EEE;
}

.grid tr {
	background-color: #FFF;
}

.lborder {
	border-left: 1px solid;
}

.rborder {
	border-right: 1px solid;
}

.bborder {
	border-bottom: 1px solid;
}

.tborder {
	border-top: 1px solid;
}

.selrow {
	background-color: #C3F0D5 !important;
}

table.shade_rows {
	hyphens: none;
}

table.shade_rows tr:hover {
	background-color: #4e7fbc !important;
	color: #fff !important;
}

.oddrow, table.shade_rows tr:nth-of-type(even) {
	background-color: #e2eaf4;
}

.delrow {
	background-color: #ff6e61 !important;
}

/* Extend Bootstrap 4 with tinier button, toolbar dd */
.btn-group-sm>.btn,.btn-micro {
	padding:.1rem .5rem;
	font-size:.825rem;
	line-height:1.25;
	border-radius:.2rem
}

.form-control-micro, .input-group-micro > .form-control, .input-group-micro > .input-group-addon, .input-group-micro > .input-group-btn > .btn {
	padding: .2rem 0.5rem;
	font-size: .8rem;
	line-height: 1.25;
	border-radius: .25rem;
}

/* Other nice CSS */
.materials-ids-container {
	background:rgba(0, 0, 0, 0.05);
	padding:1ex;
	border-radius:0.35rem;
	columns:3;
	-moz-columns:3;
	-webkit-columns:3;
	margin-bottom:1rem;
}

.much-larger {
	font-size:200%!important;
}

.input_caption, .input_description {
	font-size:65%;
	font-weight:bolder;
	margin-left:5px;
	text-transform: uppercase;
	letter-spacing: 0.25px;
	display: inline-block;
	margin-bottom:0;
}

.input_description {
	font-weight:normal;
	margin-left:0;
	text-transform: none;
	letter-spacing: normal;
	color:#aaa;
}

/* PILL-STYLE for spans */
.pill, .non_ce, .is_poster, .admin_pill {
	display:inline-block;
	padding:1px 3px;
	font-size:70%;
	text-transform:uppercase;
	font-weight:bold;
	border-radius:3px;
}

/* Non-CE "pill" */
.non_ce {
	color:#444;
	background-color:#ffd857;
	border:1px solid #e2bf4d;
}

/* "Is a poster" "pill" */
.is_poster {
	letter-spacing:1px;
	color:#fff;
	background-color:#4C75D4;
	border:1px solid #4266b9;
}

/* Logged in as an admin */
.admin_pill {
	letter-spacing:1px;
	color:yellow;
	border:1px solid yellow;
	background-color:red;
	line-height:160%;
	margin:4px 4em 0 0;
}

/* f_ is for end user status on required stuff to do like CE agreements */
.f_box, .f_box_compact {
	border:1px solid #222;
	border-radius:1ex;
	width:437px;
	max-height:70px;
	overflow:hidden;
	position:relative;
	float:left;
	margin:0 10px 1em 10px;
}

.f_mini_box {
	border:2px solid;
}

.f_box_compact {
	width:298px;
	margin:0 2px 1em 0;
}

.f_yes, .f_no, .f_review {
	position:relative;
	float:left;
	width:60px;
	background-color:#070;
	color:#fff;
	text-align:center;
	padding:5px;
	border-right:1px solid #222;
	font-size:50px;
}

.f_no {
	background-color:#900;
}

.f_review {
	background-color:#dfd624;
}

.f_yes span:before {
	content:"✓";
}

.f_no span:before {
	content:"✖";
}
.f_review span:before {
	content:"⚠";
}

.f_update {
	position:absolute;
	top:0;
	right:0;
	/*float:right;*/
	width:60px;
	min-height:60px;
	background-color:#aaa;
	color:#fff;
	text-align:center;
	padding:5px;
	border-left:1px solid #222;
}

.f_item, .f_item_compact {
	width:275px;
	position:relative;
	float:left;
	padding:5px;
	text-align:center;
	line-height:30px;
}

.f_item_compact {
	width:145px;
}

/* Stat boxes for dashboards */
.stat_box {
	float:left;
	margin:0 5px 1em 0;
	width:146px;
	border:1px solid #333;
	text-align:center;
	border-radius:7px;
	overflow:hidden;
}
.stat_num {
	font-size:40px;
	line-height:40px;
	margin:10px;
}
.stat_label {
	background-color:#829E78;
	color:#fff;
	font-weight:bold;
	font-size:115%;
	padding:4px;
}

/* Icon badging */
.ikon {
	position:relative;
	width:32px;
	display:inline-block;
}
.ikon_badge {
	position:absolute;
	top:16px;
	left:16px;
	height:16px;
	width:16px;
}

.form_directions {
	font-size: smaller;
	font-style: italic;
	position: relative;
	top: -0.8em;
}

/* Item/Abstract/Session status labeling */
.status_disabled,
.status_in-progress,
.status_incomplete,
.status_submitted,
.status_accepted,
.status_rejected,
.status_promoted,
.status_demoted,
.status_resubmit,
.status_unlocked,
.status_locked {
	font-weight:bold;
	text-transform:uppercase;
	text-shadow:0 0 6px #fff;
	padding:3px;
	border-radius:3px;
	background-color:rgba(255, 255, 255, 0.65);
}

.status_in-progress {
	color:#f60; /* orange */
}

.status_disabled {
	color:#C43997; /* fuchsia */
}

.status_incomplete {
	color:#000; /* black */
}

.status_submitted {
	color:#1F803D; /* forest green */
}

.status_accepted, .status_promoted {
	color:#008040; /* moss */
}

.status_rejected, .status_demoted {
	color:#9C3429; /* brick red */
}

.status_locked, .status_resubmit {
	color:#8F9B20; /* greenish yellow */
}

.status_unlocked {
	color:#269A93; /* turquoise */
}

.status_in-progress:hover {
	background-color:#f60; /* orange */
	color:#fff;
	text-shadow:0 0 4px rgba(0, 0, 0, 0.6);
}

.status_incomplete:hover {
	background-color:#000; /* black */
	color:#a00; /* red */
	text-shadow:0 0 4px rgba(0, 0, 0, 0.6);
}

.status_submitted:hover {
	background-color:#c6f; /* lavender */
	color:#fff;
	text-shadow:0 2px 4px rgba(0, 0, 0, 0.6);
}

.status_accepted:hover {
	background-color:#008040; /* moss */
	color:#fff;
	text-shadow:0 2px 4px rgba(0, 0, 0, 0.6);
}

.status_rejected:hover {
	background-color:#9C3429; /* brick red */
	color:#fff;
	text-shadow:0 2px 4px rgba(0, 0, 0, 0.6);
}

.status_locked:hover {
	background-color:#8F9B20; /* greenish yellow */
	color:#fff;
	text-shadow:0 2px 4px rgba(0, 0, 0, 0.6);
}

.status_unlocked:hover {
	background-color:#269A93; /* turquoise */
	color:#fff;
	text-shadow:0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Likert spans for abstract or other reviews */
.likertnum {
	width: 20px;
	padding: 1px;
	border: 2px solid #fff;

	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
}

.likert_span {
	display: inline-block;
	width: 15em;
	text-align: right;
}

/* Login page block */
.loginwidget {
	margin: 3em auto;
	padding: 1em 1em 1.5em 1em;

	-webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 4px 12px rgba(0,0,0,0.5);
	box-shadow: 0 4px 12px rgba(0,0,0,0.5);

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;

	max-width: 55%;
	min-width: 40%;

	overflow:hidden;
}

.ph2 {
	text-shadow:0 2px 2px rgba(192,192,192,0.5);
	font-weight:bold;
	font-size:125%;
	margin:0 0 0.1em 0;
	padding:0;
}

/* Custom question/general sortable table formatting */
.cqbox {
	display:inline-block;
	height:1.75em;
	padding-left:0.25ex;
	margin-right:1%;
}

.qagrid_outer {
	width:90%;
	padding:1ex 0;
	min-height:32px;
}

.qagrid_icons {
	position:relative;
	float:left;
	width:25%;
	height:32px;
	text-align:right;
}

.qagrid_qa_container, .qagrid_qa_area {
	position:relative;
	float:left;
	min-height:32px;
}

.qagrid_qa_container {
	width:75%;
}

.qagrid_qnum {
	position:relative;
	float:left;
	width:2em;
	height:24px;
	text-align:right;
	margin-right:1ex;
	padding-top:8px;
}

.qagrid_anum {
	position:relative;
	float:left;
	width:2em;
	height:24px;
	text-align:right;
	margin:0 1ex 0 3em;
	padding-top:8px;
}

.qagrid_p {
	padding-top: 8px;
}

.qagrid_controls {
	clear:both;
	padding-top:0.5em;
	margin:0;
}

.qagrid_q_edit, .qagrid_a_edit {
	width:510px;
	margin:0!important;
}

.qagrid_a_edit {
	width:470px;
}

/* Visit site link box for myce portal */
.visit_site {
	float:left;
	width:64px;
	min-height:64px;
	padding:1ex;
	border:1px solid #B1CDEA;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}

/* Containers for displaying certificate download */
.cert_box, .prof_box {
	border:1px solid #008;
	padding:1ex;
	float:left;
	margin-right:1em;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	min-width:12em;
}

.prof_box {
	float:none;
	min-width:20em;
	margin-bottom:1ex;
}

.cert_box:hover, .visit_site:hover, .prof_box:hover {
	background-color: #D4E1C2;
	border: 1px solid #8FA38A;
}

.disp_label {
	background-color:#B1CDEA;
	border-right:1px dotted #8AA1B7;
	width:120px;
	padding:4px;
	text-align:right;
	float:left;
	clear:left;
}

.disp_text {
	float:left;
	clear:right;
	width:600px;
	padding:4px;
}

.video_label_box {
	display:inline-block;
	width:7em;
	text-align:right;
	padding-right:1ex;
}

.file_label_box {
	float:left;
	width:15em;
	padding:0.25em;
	border:1px solid #7fd4cd;
	border-radius:2px;
	background-color: rgb(127, 212, 205);
	background-color: rgba(127, 212, 205, 0.3);
	margin-right:1em;
}

.hidden_play+div+p {
	display:none;
}

/* Exam question, answer, and other styling */
.exam_content::marker {
	content: counter(counter) ".";
}

.exam_count {
	display: list-item;
	margin-left: 3em;
	list-style-type: decimal;
	counter-increment: counter;
}

.unanswered {
	padding:1ex;
	margin:-1ex;
	border-radius:0.8ex;
	background-color:rgb(255, 209, 182);
	background-color:rgba(255, 209, 182, 0.57);
	color:#900;
	font-weight:bold;
}

.exam_question_label {
	display:inline-block;
	margin-right:1em;
	margin-left:-4em;
	width:3em;
	text-align:right;
}

.exam_answer {
	margin-left:4em;
}

.exam_label {
	display:inline-block;
	width:95%;
	vertical-align:top;
}

.exam_freeform {
	margin:0 0 1em 4em;
	width:55em;
}

.exam_correct_highlight {
	padding:0.5em;
	border:1px solid #339900;
	background-color: rgba(123, 204, 115, 0.6);
	border-radius:1ex;
	margin:0.75em 0 0.75em 3.5em;
}

/* Right-floated region typically used for action buttons in headings */
.subhead_button {
	float:right;
	margin-right:32px;
	font-weight:normal;
}

/*
 * "CC" pseudo-buttons for iOS 7-style control panels and action palettes
 *
 * Note that the classes below are designed for table-based layout. Trying to set up flexible DIVs was
 * simply too much of a pain to be doable.
 *
 */
.cc_table {
	width:96%;
	box-shadow:0 0 3px #ddd;
	margin:0 auto 2em auto;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
}

.cc_table td {
	width:16%;
	height:3.5em;
	padding:1em;
	text-transform:uppercase;
	font-size:90%;
	text-align:center;
	border-left:1px solid #ccc;
	border-bottom:1px solid #ccc;
	hyphens:none;
	-webkit-hyphens:none;
	-moz-hyphens:none;
	-ms-hyphens:none;
}

.cc_inactive {
	color:#bbb;
	background-color:#eee;
}

.cc_danger, .cc-danger {
	color:#B12000!important;
}

.cc_table td:hover, .cc_table td.cc_danger:hover, .cc-danger:hover {
	background-color:rgba(73, 152, 217, 0.8);
	color:#fff;
}

.cc_table td.cc_danger:hover, td.cc_danger:hover, .cc-danger:hover {
	background-color:rgba(255, 46, 0, 0.8)!important;
	font-weight:bold;
	color:#fff!important;
}

.cc_clear {
	clear:both;
}

.t_btn {
	font-size:90%;
}

td.t_btn:hover {
	background-color:rgba(22, 74, 132, 0.8);
	color:#fff;
}

button[type="submit"] + button[type="submit"] {
	margin-left:3em;
}

button[type=submit] + button[type=submit].no-follow, button + button.no-follow {
	margin-left:0;
}

/* cc- styles */
.cc-container {
	width:90%;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	box-shadow:0 0 3px #ddd;
	margin:0 auto 2em auto;
	display:flex;
	flex-flow:row wrap;
	align-items:stretch;
	justify-content:space-around;
}

.cc-box {
	text-transform:uppercase;
	font-size:90%;
	text-align:center;
	min-height:6rem;
	border-left:1px solid #ccc;
	border-bottom:1px solid #ccc;
	padding:0 1.5em;
	display:flex;
	align-items:center;
	justify-content:center;
	hyphens:none;
	-ms-hyphens:none;
	-moz-hyphens:none;
	-webkit-hyphens:none;
}

.cc-3 {
	flex:1 0 33%;
}

.cc-4 {
	flex:1 0 25%;
}

.cc-5 {
	flex:1 0 20%;
}

.cc-row + .cc-row {
	border-top:1px solid #ccc;
}

.cc-box-inactive {
	color:#999;
	background-color:#eee;
}

.cc-box:hover {
	background-color:rgba(73, 152, 217, 0.8);
	color:#fff;
}

.cc-clear {
	clear:both;
}

/* AWHONN course ID and Student Materials IDs are always uppercase */
.uppercase-id, .id-uppercase {
	text-transform:uppercase;
}

/* Sort of like BS2 /well */
.well {
	border:1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.35rem;
	padding:0.4rem 0.8rem;
	background-color:rgba(0, 0, 0, 0.03);
}

/* 2016-09-28 DBO This override should fix most of the conflicts between BS4α4's .input-group and my desired outcomes */
.input-group { width:auto!important; }

.fa-note-icon {
	float: left;
	padding: 6px;
}

.fa-note-wrapper {
	border-radius: 9px;
	padding: 10px;
	background-color: #f1f1f1;
}

.fa-note-message:after {
	content: "";
	clear: both;
	display: table;
}
.fa-note-message ol {
	margin-left: 100px !important;
}
.twocolumn p {
	margin:3px 24px 3px 0;
}
.scroll_w {
	overflow-y: scroll;
	max-height: 400px;
}
