html {
	font-size: 14px;
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

html {
	position: relative;
	min-height: 100%;
	font-family: var(--root-font-family);
}

body {
	display: flex;
	flex-direction: column;
	background-color: #f4f4f4;
	font-family: var(--root-font-family);
	font-size: .85rem;
	font-weight: 400;
	line-height: 1.5;
	color: #29292d;
	text-align: left;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: .5rem;
	font-family: var(--root-font-family);
	font-weight: 700;
	line-height: 1.2;
	color: #26292d
}

.cld-main {
	margin: auto;
}

.inputField {
	border: 1px solid #E5E9EC;
	height: 40px;
	padding-left: 10px;
}

img {
	max-width: 100%;
}

#payment-form .form-control {
	height: 45px;
	position: relative;
	display: inline-block;
	margin-bottom: 15px;
}

#payment-form .form-control input[type="tel"] {
	max-height: 45px;
}

.hide-column, .hide-column * {
	visibility: hidden;
	max-height: 0px;
	padding: 0px !important;
	margin: 0px !important;
	overflow: hidden;
}

	.hide-column br {
		display: none;
		overflow: hidden;
	}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 800px;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.col-md-3 .col-lg-3 {
	max-width: 100% !important;
	width: 100% !important;
}

textarea {
	resize: none !important;
}

.navbar-user-menu-container .dropdown-item {
	padding: 0;
}

.navbar-user-menu-container .dropdown-item a {
	display: block;
	padding: 16px 24px;
}

.header-text, .navbar-user-menu {
	color: black;
	text-decoration: none !important;
}

.header-text.name {
	font-weight: 600;
}

.checkbox-icon-wrapper {
	min-width: 20px;
}

.ajs-success {
	color: white !important;
}

.table-payments td.cell-payment-paid:after {
	font-weight: 900;
	content: "\f00c";
	font-family: Font Awesome\ 5 Free;
	color: var(--root-primary);
	padding-left: 0.5rem;
}

.save-bar-top {
	background: var(--root-primary) !important;
	z-index: 970;
}

.save-bar-bottom {
	background: var(--root-footer) !important;
	z-index: 970;
}

[data-disabled="True"] {
	opacity: 0.8;
	cursor: not-allowed;
	pointer-events: none;
}

.dropdown-menu.show {
	z-index: 9999;
}

.btn-primary, .btn-dark {
	color: #fff !important;
}

.btn-secondary {
	color: #fff !important;
}

.btn-dark {
	background-color: var(--root-primary-darken-25) !important;
	border-color: var(--root-primary-darken-25) !important;
}

.rounded-circle {
	max-width: 180px;
}

.cursor-pointer {
	cursor: pointer !important;
}



input[type=file], /* FF, IE7+, chrome (except button) */
input[type=file]::-webkit-file-upload-button { /* chromes and blink button */
	cursor: pointer;
}

.image-cropper {
	width: 180px;
	height: 180px;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	
}

.event-image {
	width: 120px;
	height: 90px;
	position: relative;
	overflow: hidden;
}

.image-cropper img {
	width: inherit;
	height: inherit;
	object-fit: cover;
}


.file-input-wrapper {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.file-input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.transparent-background {
	background-color: rgba(0, 0, 0, 0) !important;
}

.gradient {
	background: linear-gradient(0deg,var(--root-secondary),var(--root-primary))
}

.ltr-gradient {
	background: linear-gradient(90deg,var(--root-nav-colour-1),var(--root-nav-colour-2));
}

.header-bar {
	background: var(--root-header);
	color: var(--root-header-text);
	z-index: 1000;
	position: sticky;
	top: 0;
}

.ltr-gradient .name.text-primary {
	color: white !important;
}

.gradient * {
	color: white !important;
}

.banner-user-name {
	color: var(--root-banner-user-name);
}

.alert-container {
	width: calc(100% - 10px);
	margin-left: 5px;
	background-color: white;
	padding: 1rem;
	border: 1px solid var(--root-input-bg-colour);
	border-radius: 0.4rem;
	z-index: 4;
}

.static-banner {
	position: absolute !important;
	top: -15px;
	z-index: 2; /* above items */
}


.paging-nav {
	text-align: right;
	padding-top: 2px;
}

.paging-nav a {
	margin: auto 1px;
	text-decoration: none;
	display: inline-block;
	padding: 1px 7px;
	background: #91b9e6;
	color: white;
	border-radius: 3px;
}

.paging-nav .selected-page {
	background: #187ed5;
	font-weight: bold;
}

.no-wrap {
	flex-wrap: nowrap !important;
}

@media only screen and (max-width: 767px) {
	.login-panel {
		position: absolute !important;
		color: var(--root-primary);
		background-color: transparent !important;
	}
	.login-panel-title {
		margin-top: 14rem;
	}
}

.login-panel {
	background-color: #f8f9fa;
	min-height: 100vh;
}

.login-panel-title {
	color: #26292d !important;
}

.login-panel-title-custom {
	margin-bottom: 1rem;
}

.login-panel-title-custom > * {
	color: #26292d !important;
	text-shadow: none !important;
}

@media (max-width: 769px) {
	.navbar .list-group a[href*='/t/Messages'] {
		display: none;
	}
}

.navbar-brand img {
	height: 2.5rem;
}

.filter-input {
	border: 1px solid #000;
	width: 250px;
	float: right;
}

.panel-title {
	color: var(--root-panel-title);
	padding-right: 1.2rem;
}

.custom-table-container {
	display: flex;
	gap: 1rem;
	flex-direction: column;
	width: 100%;
}

.directory-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.alert {
	border-radius: 0.4rem !important;
	/* border-color: var(--root-primary) !important; */
}

.tab-title, #collapse-text {
	color: var(--root-tab-title);
	margin-bottom: -2px;
}

.active .tab-title {
	color: var(--root-sidebar-active);
}

#sidebar-container .list-group-item.active {
	border-left: 6px solid var(--root-sidebar-active) !important;
	background-color: white;
}

#sidebar-container .list-group-item.active > * {
		margin-left: -6px;
}

#sidebar-container .list-group-item {
	cursor: pointer;
	padding: 0.7rem 1rem;
	border: none !important;
	background-color: transparent;
}

#sidebar-container .navbar-nav {
	max-height: calc(100vh - 6rem); /* 6rem for header area */
	overflow-y: auto;
}

#sidebar-container .list-group-item div {
	color: var(--root-tab-title);
}

#sidebar-container .list-group-item.active div {
	color: var(--root-sidebar-active);
}

#collapse-icon {
    transition: transform 300ms ease-in-out;
}

.profile-image {
	display: flex;
	justify-content: center;
	position: relative;
}

.photo-input {
	position: absolute;
	opacity: 0;
	width: 100%;
}

.profile-image .profile-image-edit {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom: 0.5rem;
	margin-right: -8rem;
	z-index: 100;
	padding: 8px;
	font-size: 16px;
	background-color: var(--root-primary);
	color: white;
	border-radius: 50%;
	border: white solid 3px;
}

.profile-image .profile-image-edit:hover {
	background-color: hsl(var(--root-primary-base), calc(var(--root-primary-lightness) - 10%));
}

.vertical-table {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.vertical-table .row {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #ddd;
}

.vertical-table .row.header {
	display: none;
}

.vertical-table .cell {
	padding: 10px;
	border: 1px solid #ccc;
	width: 100%;
}

.vertical-table .cell::before {
	content: attr(data-label);
	font-weight: bold;
	margin-bottom: 5px;
	display: block;
}

.header-logo{
	width: auto;
	min-height: 2.5rem !important;
}

.table td {
	vertical-align: middle !important;
}

.table button {
	width: 100%
}

.error {
	border: 2px solid coral !important;
}

.fa-star {
	color: white;
	background-color: #7cdfd3;
	border-radius: 10px;
	padding: 1%;
	font-size: 0.75rem;
}

.center-screen {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 100vh;
}

.marketing-logo {
	background: white;
	padding: 15px;
}

.d-xs-show {
	display: none;
}

@media (max-width: 768px) {
	.d-xs-hidden {
		display: none !important;
	}

	.d-xs-show {
		display: inline-block !important;
	}

	.marketing-logo.d-xs-show {
		margin-top: 50%;
	}
}

.current-user-profile-img {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	object-fit:cover;
}
/* Checkbox Styles */
.checkbox-group {
	margin-bottom: 1em;
}


/* TODO Doesn't exist? */
.checkbox-item {
	margin-bottom: 0.5em;
}

.checkbox-item label {
	display: block; 
}


@media (max-width: 768px) {
	.checkbox-item {
		width: 100%; 
	}
}
/*Styling for cpd activity hours*/
.timeline-badge {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	padding: 8px 12px;
	min-width: 50px;
}

.award-icon {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.badge-number {
	font-size: 1.5rem;
	font-weight: bold;
}


.aml-dashboard-number {
	height: 2.4rem;
	margin: 1rem;
	font-size: 3rem;
	font-weight: 700;
	text-align: center;
}

.aml-dashboard-container {
	display: flex;
	flex-wrap: wrap;
}

.aml-dashboard-panel {
	width: 20rem;
	min-width: 20rem;
}

/*Profile completion styles*/
#progress-bar {
	background-color: var(--root-primary);
	height: 100%;
	width: 0%;
	transition: width 0.3s ease-in-out;
}
#star-circle {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease-in-out;
}
.progress-star-incomplete {
	background-color: #cccccc !important;
}
.progress-star-complete {
	background-color: var(--root-primary) !important;
}

.icb-status-box {
	background-color: yellow;
	width: 40%;
	height: 40px;
	padding: 0;
	font-size: inherit;
	border: none;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	line-height: 40px;
}

.form-switch .form-check-input {
	margin-left: 0;
	margin-top: .25em;
}

.form-switch .form-check-label {
	margin-left: 2.5rem;
}

.form-check-input:checked {
	background-color: var(--root-primary);
	border-color: var(--root-primary);
}

.drill-through-link {
	position: absolute;
	top: 10px;
	right: 23px;
}

html.saving-overlay {
	position: relative;
	pointer-events: none;
}

html.saving-overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10;
	cursor: wait;
}

[class*="profile-image"] img {
	border-radius: 50%;
	object-fit: cover;
	width: inherit;
	height: inherit;
}

#button-save-all {
	background: var(--root-save-button) !important;
}


.sortable th {
	cursor: pointer;
}