h1 {
	font-size: 22px;
	line-height: 24px;
}

h2 {
	font-size: 18px;
	line-height: 20px;
}

h3 {
	font-size: 16px;
	line-height: 20px;
}
h4 {
	font-size: 14px;
	line-height: 20px;
}

h5 {
	font-size: 12px;
	line-height: 20px;
}

h6 {
	font-size: 12px;
	line-height: 20px;
}

h1 small {
	font-size: 20px;
}

h2 small {
	font-size: 16px;
}

h3 small {
	font-size: 14px;
}

h4 small {
	font-size: 12px;
}

p {
	margin: 0 0 1.62em 0;
}

a.underline {
	text-decoration: underline;
}

label {
	font-size: unset;
	white-space: nowrap;
}

label.wrap,
.btn.wrap {
	white-space: normal;
}

label.checkbox {
	cursor: pointer;
}

.wrap .btn,
.wrap label {
	white-space: normal;
}

.well {
	-moz-box-shadow: none;
    box-shadow: none;
}

fieldset, .well {
	background: #fafafa;
}

fieldset {
		border: 1px solid #D7D7D7;
		border-radius: 4px;
		display: block;
		margin: 10px 0;
		padding: 10px 20px;
}

fieldset.nobox {
		background: inherit;
		border: 0;
		margin: 15px 0;
		padding: 10px 20px;
}

legend {
		border: none;
		color: #333333;
		display: block;
		font-size: 14px;
		font-weight: bold;
		line-height: 18px;
		margin: 0 10px;
		padding: default;
		width: auto;
}

.btn-primary {
	font-weight: bold;
}

input.invalid,
select.invalid ,
textarea.invalid  {
	border-color: #D99595;
	background-color: #F8F1F3;
		color: #B94A48;
}

.modal-backdrop, .modal-backdrop.fade.in {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

.progress .bar {
	background: rgb(33,89,145); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(33,89,145,1) 0%, rgba(39,93,147,1) 51%, rgba(24,66,109,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(33,89,145,1)), color-stop(51%,rgba(39,93,147,1)), color-stop(100%,rgba(24,66,109,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(33,89,145,1) 0%,rgba(39,93,147,1) 51%,rgba(24,66,109,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(33,89,145,1) 0%,rgba(39,93,147,1) 51%,rgba(24,66,109,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(33,89,145,1) 0%,rgba(39,93,147,1) 51%,rgba(24,66,109,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(33,89,145,1) 0%,rgba(39,93,147,1) 51%,rgba(24,66,109,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b75bf', endColorstr='#26527e',GradientType=0 ); /* IE6-9 */
}

.progress .bar-danger {
	background:#dd514c;
}

.progress .bar-warning {
	background:#faa732
}

.progress .bar-success {
	background:#5eb95e
}

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

.text-right {
	text-align: right;
}

.btn-file {
	padding: 0;
}

.btn-file input[type=file] {
	width: 100%;
	margin: 0;
	border: 0;
	outline: none;
	background: none transparent;
	cursor: pointer;
}

.btn.disabled {
	border: none;
}
.btn.disabled:hover{
	pointer-events: none;
}

input[type=radio],
input[type=checkbox] {
	 -ms-transform: scale(1.4); /* IE */
	 -moz-transform: scale(1.4); /* FF */
	 -webkit-transform: scale(1.4); /* Safari and Chrome */
	 -o-transform: scale(1.4); /* Opera */
	 transform: scale(1.4);
	 transform: scale3d(1.4,1.4,1);
	 margin-left: 6px;
	 margin-right: 6px;
 }


 @media (max-width: 640px) {
	 /* reduce size of radio and checkbox inputs in mobile */
	 input[type=radio],
	 input[type=checkbox] {
		 -ms-transform: scale(1.1); /* IE */
		 -moz-transform: scale(1.1); /* FF */
		 -webkit-transform: scale(1.1); /* Safari and Chrome */
		 -o-transform: scale(1.1); /* Opera */
		 transform: scale(1.1);
	 }
 }



/*************************************************/
/* Customize Bootstrap Filestyle for Bootstrap 2 */
/*************************************************/
.group-span-filestyle{
	float: none;
	margin: 0;
}
.group-span-filestyle label,
.group-span-filestyle input{
	vertical-align: top;
}
.group-span-filestyle label{
	margin-left: -7px;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

/********************************************************/
/* Bootstrap Accessibility Support from Bootstrap 4.3.1 */
/* Used to hide code meant for screen reader only       */
/* Used in course wf at the top to hide skip to main    */
/* content links.                                       */
/********************************************************/
.sr-only,
.sr-only-focusable:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/********************************************************/
/* Bootstrap Accessibility Overrides for Accessibility  */
/* WCAG compliance.                                     */
/* Level AAA requires contrast ratio 7:1 normal test    */
/* Level AA requires contrast ratio 4.5:1 normal text   */
/* Level AAA required contrast ratio 5.5:1 large text   */
/********************************************************/
.muted {
	color: #525252 
}

.alert-danger, .alert-error {
		background-color: #faedef;
		border-color: #eed3d7;
		color: #7A312E;
}

.alert-info {
		background-color: #d9edf7;
		border-color: #bce8f1;
		color: #224F67;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
		color: #595959;
}

.pagination ul>.active>a, .pagination ul>.active>span {
		color: #333333;
}

.label-info, .badge-info {
		background-color: #295E7A;
}

.nav>.disabled>a {
		color: #333333;
}

.label-success, .badge-success {
		background-color: #3E603E;
}


/********************************************************/
/* Flat Button Re-Styling                                    */
/********************************************************/
.btn {
	background-color: #fff;
	background-image: none;
	border: solid 1px #999;
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
	color: #333;
	text-decoration: none;
	text-shadow: none;
	font-weight: bold;
	min-width: 120px;
	padding: 8px 16px;
	white-space: nowrap;
}
.btn:disabled {
	background-color: #ddd;
	border-color: #fff; 
	color: #fff;
	pointer-events: none;
}
.btn.btn-primary,
.btn.btn-primary:active,
.btn.btn-primary:visited  { 
	border-width: 3px;
	font-size: 1.1em;
}
/*body #content .well .btn {
	background-color: #fff;
}*/
.btn:hover {
	background-color: #333;
	border-color: #333;
	color: #fff;
	/*opacity: 0.75; */
}
.btn.btn-link:hover {
	text-decoration: none;
}
.form-actions {
	background: #fff; /* so floating submit bar on post-test does not appear transparent */
	border-top: none;
	box-sizing: border-box;
	padding: 12px;
}
.form-actions .btn,
.form-actions input[type=submit]{
	box-sizing: border-box;
	min-width: 150px;

	/*font-size: 1.1em;
	padding: 10px 16px;*/
}

.btn-large {
	min-width: 140px;
	padding: 10px 20px;
}
.btn-small {
	min-width: 80px;
	padding: 4px 8px;
}
.btn-mini {
	min-width: 60px;
	padding: 2px 4px;
}
.btn-block {
	min-width: unset;
}



/*
 * Mobile hamburger menu requires (over-)override to revert to 
 * default Bootstrap layout and not adopt min width and
 * border of custom flat button layout.
 */
@media screen and (max-width: 979px){
	.navbar .btn-navbar {
			border: none;
			display: inline-block;
			margin-right: 20px;
			min-width: auto;
			width: auto;
	}
}
@media screen and (max-width: 720px) {
	body .form-actions {
		padding: 12px 0;
	}

	body .form-actions .btn,
	body .form-actions .input[type=submit],
	body .btn.btn-block-mobile {
		margin: 4px 0;
		width: 100%;
	}
}