/* reset  */
label {
	color: #555;
	font-size: 14px;
	font-weight: 500;
}
.btn:focus {
	box-shadow: none;
}
.btn-detail {
	color: #999;
	height: 2rem;
	width: 2rem;
}
.btn-detail i {
	font-size: 14px;
}
/* End: reset  */
/* Page: Auth Page */
.page-auth {
	padding: 5rem 0;
}
.page-auth form {
	padding: 50px;
}
.page-auth form .form-group {
	margin-bottom: 10px;
}
.page-auth form .form-control {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  color: #073984;
  font-size: 14px;
  height: 41px;
  max-height: 41px;
  padding: 0.5rem 1rem;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}
.page-auth form #password-visibility {
  cursor: pointer;
  background-color: transparent;
  text-align: center;
  width: 1.5rem;
  height: 1.5rem;
	position: absolute;
  top: 8.5px;
  right: 0.625rem;
  z-index: 10;
}
.page-auth form #password-visibility.active i.fa-eye,
.page-auth form #password-visibility i.fa-eye-slash {
	display: none;
}
.page-auth form #password-visibility.active i.fa-eye-slash {
	display: inline-block;
}
/* End: Auth Page */

/* Page: Home Page */
.page-header {
	display: flex;
	align-items: center;
	margin: 15px 0;
}
.page-header .search-block {
	flex-grow: 1;
	position: relative;
	margin-right: 5px;
}
.page-header .search-block input {
	background: #f1f1f1;
	font-size: 14px;
	padding: 10px 0;
	padding-left: 40px;
	width: 100%;
}
.page-header .search-block i {
	position: absolute;
	left: 12px;
	top: 12px;
}
.programs-list .program-info {
	flex-grow: 1;
}
/* End page: Home Page */

/* Page: Program */
.page-content-wrapper {
	padding: 20px 0;
	padding-bottom: 50px;
}
.program-page,
.create-program-page {
	background: #ececec;
	min-height: calc(100vh - 60px);
	padding-top: 30px;
	padding-bottom: 0;
}
.program-page .section-info {
	display: flex;
}
.program-page .page-sections {
	margin-top: 10px;
}
.page-sections .attendance-table table thead .table-info th {
	background: #ececec;
	border: 1px solid #ececec;
	color: #272A45;
	font-size: .8rem;
	font-style: italic;
	height: 30px;
	padding: 0;
}
.page-sections .attendance-table table tbody tr td:first-child {
	text-transform: capitalize;
}
.program-page .date-filter {
	display: flex;
	align-items: center;
	margin: 8px 0;
}
.program-page .date-filter h6 {
	color: #000;
	width: 120px;
	margin-right: 10px;
	margin-bottom: 0;
}
.program-page label {
	margin-right: 8px;
}
.program-page .date-filter select {
	height: 35px;
}
.program-page .page-actions {
	flex-grow: 1;
	text-align: right;
}
.program-page .page-actions .dropdown-menu .dropdown-item {
	font-size: .9rem;
}
.program-page .page-actions .dropdown-menu .dropdown-item i {
	font-size: .8rem;
}
.program-page .page-actions .dropdown-menu .dropdown-divider {
	height: 2px;
}
.program-page .header-links {
	background: #272A45;
	border-radius: 6px;
	margin: 24px 0;
	margin-bottom: 0;
}
.program-page .header-links nav {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	padding: 4px;
}
.program-page .header-links nav a {
	color: #9C9DAA;
	font-weight: 600;
	line-height: 38px;
	height: 38px;
	width: 38px !important;
}
.program-page .header-links a.selected {
	background: #fff;
	border-radius: 6px;
	color: #222;
}
.program-page .header-links a.today {
	border: 2px dashed #fff;
	border-radius: 6px;
}
.page-sections {
	width: 100%;
	margin-bottom: 50px;
}
.program-page .buttons {
	display: flex;
	justify-content: flex-end;
}
.program-page table {
	background: #fff;
}
.program-page table th {
	background: #d6d6d6;
	border-bottom: 0 !important;
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: -1px;
}
.program-page table th,
.program-page table td {
	border: 1px solid #999;
	height: 40px;
	max-height: 40px;
	vertical-align: middle;
}

.program-page table th:not(:first-child) {
	width: 100px;
	max-width: 100px;
	text-align: center;
}
.program-page table td:not(:first-child) {
	text-align: center;
}
.program-page table td.mark {
	padding: 5px;
}
.program-page table td.mark input {
	border: 1px solid #ebebeb;
	width: 100%;
	height: 100%;
	padding-left: 16px;
	text-align: center;
}
.program-page table td.nb {
	color: #f45;
	padding: 5px;
}
.program-page table td.nb strong {
	position: relative;
}
.program-page table td.nb strong::before{
  content: '';
  width: 110%;
  position: absolute;
  right: -5%;
  top: calc( 50% - 1px );
  border-bottom: 3px solid rgba(255,0,0,0.8);
}
.program-page table td.nb .form-check {
	padding: 0 1rem;
}
.program-page table td.nb .form-check-input {
	cursor: pointer;
	height: 1.7rem;
	width: 100%;
	margin-top: .1rem;
	margin-left: 0;
}
.program-results-page table th:not(:first-child) {
	padding: 2px 0;
	width: 60px;
}
.program-page table td:last-child p {
	font-size: .8rem;
	line-height: 1rem;
	letter-spacing: -1px;
	margin-bottom: 5px;
	text-align: left;
}
.program-page table td input::placeholder {
	color: #aaa;
	font-size: .7rem;
}
.program-page table td button.add-retake {
  border: 1px inset #444;
  border-radius: 24px;
  font-weight: 700;
  width: 24px;
  height: 24px;
}
.program-page .program-dates table tr td {
	padding: 2px;
	vertical-align: middle;
}
.program-page .program-dates table tr td:first-child {
	background: #f1f1f1;
	padding-right: 10px;
}
.program-page .program-dates table tr td:first-child:hover {
	background: #def;
}
.program-page .program-dates table tr td select {
	cursor: pointer;
	background: none;
	border: none;
	height: 100%;
	width: 100%;
	outline: none;
	padding: 10px;
}
.program-page .program-dates .add-row {
	background: #0af;
	border: 1px solid #05d;
	color: #fff;
	cursor: pointer;
	font-size: .85rem;
	text-shadow: 2px 1px #444;
	padding: 4px 10px;
	margin-top: -16px;
}
.program-page .program-dates .buttons {
	align-items: start;
	justify-content: space-between;
}
/* End page: Program */

/* ===== FONTS & KEYFRAMES ===== */
@keyframes textclip {
  to {
    background-position: 200% center;
  }
}
@font-face {
	font-family: "Luckiest Guy";
	src: url("../fonts/LuckiestGuy-Regular.ttf") format("truetype"); 
	font-style: normal;
	font-weight: normal;
}

@media only screen and (max-width:767px) {
	.header-content .page-heading h6 {
		font-size: .9rem;
	}
	.page-content-wrapper.program-page {
		padding-bottom: 10px;
	}
	.program-page .container {
		padding: 0 .5rem !important;
	}
	.program-page .section-info > *,
	.program-page .date-filter > * {
		font-size: .85rem !important;
	}
	.program-page .attendance-table table td.mark input {
		padding-left: 0;
	}
	.page-sections .attendance-table table th:not(:first-child) {
		width: 60px;
		max-width: 60px;
		padding-right: 2px;
		padding-left: 2px;
	}
	.program-results-page .attendance-table table th:not(:first-child) {
		width: 40px;
		max-width: 40px;
	}
	.page-sections .attendance-table table th,
	.page-sections .attendance-table table td {
		font-size: 0.7rem;
    line-height: 0.8rem;
		height: 32px;
    max-height: 32px;
    padding: 2px 5px;
    vertical-align: middle;
    word-break: break-word;
	}
	.page-sections .attendance-table table td.mark input::placeholder {
		font-size: .45rem;
	}
	.page-sections .attendance-table table td.nb .form-check {
		padding: 0;
	}
	.page-sections .attendance-table table td.nb .form-check-input {
		height: 1.5rem;
	}
	.page-sections .attendance-table table td button.add-retake {
		width: 24px;
		height: 24px;
	}
}