#wp-admin-bar-new-content,
.aldar-hidden {
	display: none;
}

.aldar-rotate {

	/* flip upside down */
	transform: rotateX(180deg);

	/* move down half a rem */
	margin-top: 0.5rem;
}

.aldar-favorites-course-head > i {
	margin-left: 1rem;
	font-size: 30px !important;
	font-weight: 700 !important;
}

.aldar-tip {
	font-weight: 700;
	color: purple;
}

.aldar-button {
	float: left;
	border-color: #6496d5;
	background-color: #6496d52e;
}

.aldar-button:hover,
.aldar-button:active,
.aldar-button-selected {
	border-color: #379e5a;
	background-color: #379e5a2e;
}

#aldar-status-change {
	float: right;
	margin-bottom: 0.5em;
}

#aldar-status-active,
#aldar-status-inactive,
#aldar-status-all,
#aldar-status-nopoints {
	margin-right: 1em;
	margin-bottom: 0.5em;
}

#aldar-type-schools,
#aldar-type-clubs,
#aldar-type-schools-clubs {
	float: right;
	margin-left: 1em;
	margin-bottom: 0.5em;
}

.aldar-table {
	display: flex;
	flex-flow: column nowrap;
	gap: 10px;
	overflow: auto;
}

.aldar-container {
	display: flex;
	flex-flow: row nowrap;
	gap: 10px;
	text-align: right;
}

.aldar-item {
	flex-grow: 1;
	flex-basis: 5%;
}

.aldar-container div:first-child {
	flex-grow: 2;
	text-align: left;
}

.aldar-academy-wrap,
.aldar-group-wrap,
.aldar-school-wrap,
.aldar-student-wrap {
	margin-top: 1rem;
}

.aldar-school .aldar-row.aldar-container div:first-child:hover,
.aldar-group .aldar-row.aldar-container div:first-child:hover,
.aldar-academy .aldar-row.aldar-container div:first-child:hover {
	font-weight: bolder;
}

.aldar-titles {
	font-weight: bolder;
}

.aldar-student,
.aldar-school,
.aldar-group,
.aldar-academy {
	margin-top: 3px;
	padding: 1rem;
}

.aldar-student {
	border: 2px solid #6496d5;
	background-color: #6497d52e;
}

.aldar-school {
	border: 2px solid #f4bd21;
	background-color: #f4bc2139;
}

.aldar-group {
	border: 2px solid #379e5a;
	background-color: #379e592e;
}

.aldar-academy {
	border: 2px solid #f58662;
	background-color: #f5876235;
}

/* Modal */

.aldar-modal {
	position: fixed;
	z-index: 100000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	display: flow-root;
	margin: auto;
	margin-top: 5%;
	width: 50%;
	max-height: 80%;
	padding: 0 0 1rem 0;
	border-radius: 20px;
	background-color: #f0f0f0;
	overflow-y: auto;
}

@media screen and (max-width: 767px) {

	.modal-content {
		margin-top: 5%;
		width: 90%;
		max-height: 95%;
	}
}

.modal-close {
	color: #aaa;
	float: right;
	font-size: 1.5rem;
	font-weight: 700;
	cursor: pointer;
	margin-right: 1rem;
	margin-top: 0.5rem;
}

.modal-iframe {
	padding: 2rem 2rem 0;
}

.modal-iframe p {
	margin-bottom: 0;
}

button.modal-button {
	display: block;
	min-width: 100px;
	cursor: pointer;
	color: white;
	text-align: center;
	float: right;
	margin-right: 2rem;
	line-height: 1.2;
	margin-top: 20px;
	padding: 14px;
	font-size: 16px;
	font-weight: 700;
	border: 2px solid #1f4de0;
	border-radius: 50px;
	background: #1f4de0;
}

button.modal-button:hover {
	border: 2px solid #1f4de0;
	color: #1f4de0;
	background: transparent;
	transition: all 0.3s ease;
}

.modal-iframe input {
	display: inline-block;
	margin-right: 8px;
	font-size: small;
}

.modal-iframe input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	border-radius: 50%;
	width: 16px;
	height: 16px;

	border: 1px solid #999;
	transition: 0.2s all linear;

	position: relative;
	top: 5px;

	cursor: pointer;
}

.modal-iframe input:checked {
	border: 8px solid #1f4de0;
}

/* Leaderboard */

input[list="aldar-top-number"] {
	float: right;
}

.ld-achievements-leaderboard-wrap {
	margin-top: 8px;
}

.ld-achievements-leaderboard table tbody tr td {
	padding: 3px;
}

.aldar-top-to {
	margin-right: 1.5rem;
}

.aldar-top-button {
	float: none;
	margin: 6px 0 0 6px;
}

.aldar-top-sum,
.aldar-top-sum-label {
	float: right;
	margin: 6px 6px 0 0;
}

.aldar-top-sum {
	font-weight: 700;
}

.ld-achievements-leaderboard table tbody tr td:last-child {
	justify-content: flex-end;
}

.aldar-display-none {
	display: none;
}

.aldar-notification {
	margin-bottom: 0.5em;
	padding: 1em;
	background-color: white;
	border-radius: 1em;
}

.aldar-notification-delete {
	color: red;
	cursor: pointer;
}

.aldar-notification-delete:hover {
	font-weight: 700;
}

@media (max-width: 767px) {

	.aldar,
	.aldar-button,
	.ld-achievements-leaderboard table {
		font-size: x-small;
		line-height: 1.5;
	}

	.aldar-actions label,
	.aldar-actions input {
		display: block;
	}

	.aldar-actions input:last-of-type {
		margin-bottom: 1rem;
	}
}

table.aldar-top-courses-table tr td:first-child,
table.aldar-top-courses-table tr td:last-child,
table.aldar-top-courses-table tr th:first-child,
table.aldar-top-courses-table tr th:last-child {
	text-align: right;
}

table.aldar-top-groups-table tr td:first-child,
table.aldar-top-groups-table tr td:last-child,
table.aldar-top-groups-table tr th:first-child,
table.aldar-top-groups-table tr th:last-child {
	text-align: right;
}

table.aldar-top-countries-table tr td,
table.aldar-top-countries-table tr th {
	text-align: right;
}

table.aldar-top-countries-table tr td:nth-child(2),
table.aldar-top-countries-table tr th:nth-child(2) {
	text-align: left;
}

table.aldar-top-courses-table th:last-child,
table.aldar-top-groups-table th:last-child,
table.aldar-top-countries-table th:last-child,
table.aldar-top-courses-table td:last-child,
table.aldar-top-groups-table td:last-child,
table.aldar-top-countries-table td:last-child {
	white-space: nowrap;
}

table.aldar-top-courses-table th {
	background-color: #93e80050;
}

table.aldar-top-groups-table th {
	background-color: #e8dc0050;
}

table.aldar-top-countries-table th {
	background-color: #bfb1b148;
}

div#aldar-campaign-pickup-point-report {
	margin-top: 15px;
}

@media (max-width: 767px) {

	table.aldar-top-courses-table,
	table.aldar-top-groups-table,
	table.aldar-top-countries-table {
		margin-left: -20px !important;
		width: 110% !important;
	}

	table.aldar-top-courses-table th,
	table.aldar-top-groups-table th,
	table.aldar-top-countries-table th,
	table.aldar-top-courses-table td,
	table.aldar-top-groups-table td,
	table.aldar-top-countries-table td {
		padding-left: 0.3em !important;
		padding-right: 0.3em !important;
	}

	div#aldar-campaign-pickup-point-report {
		margin-left: -25px;
		font-size: 60%;
		line-height: 1;
	}

	div#aldar-campaign-pickup-point-report table tr th,
	div#aldar-campaign-pickup-point-report table tr td {
		padding: 6px 6px !important;
	}
}

.aldar-exam-form,
#aldar-exam-questions-no {
	margin-right: 1rem;
}

.wpProQuiz_question_text p:first-child {
	font-weight: 700;
}

#aldar-favorites-button {
	color: #fff;
	background-color: #f4bd21;
	max-width: 385px;
}

#aldar-my-topics-button {
	color: #fff;
	background-color: #ff8c00;
	max-width: 200px;
}

#aldar-new-student-form .aldar-new-student-form-text-line {
	display: flex;
	flex-flow: column;
	max-width: 35em;
}

#aldar-new-student-form .aldar-new-student-form-text-line label {
	flex-grow: 1;
}

#aldar-new-student-form .aldar-new-student-form-text-line input {
	flex-grow: 2;
}

#aldar-new-student-form-submit {
	background: #1f4de0;
	border-color: #1f4de0;
	color: #fff;
	border-radius: 6px;
	padding: 0.5em 1em;
	cursor: pointer;
}

/* div.ld-course-navigation.ld-course-nav-72657 {
	display: none;
} */

.ld-content-action > a.ld-primary-color.ld-course-step-back {
	align-items: center;
	background-color: #919191;
	border: 0;
	border-radius: 20px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 0.75em;
	font-weight: 800;
	height: auto;
	justify-content: center;
	line-height: 1.25em;
	margin: 0;
	max-width: 385px;
	opacity: 1;
	padding: 1em;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	transition: opacity 0.3s ease;
	white-space: normal;
	width: 100%;
}

form.sfwd-mark-complete {
	margin-bottom: 2em;
}

/* Corrections after plugin updates in September 2025 */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button:hover,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-action:last-of-type .ld-button,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-action:last-of-type .ld-button:hover {
	background-color: var(--ld-color-semantic-success) !important;
}

/* Course Exam button */
.course-exam-link a.button {
	display: inline-block;
	width: 270px;
	text-align: center;
	border: none;
	box-shadow: 0 0 0 0;
	padding-left: 14px;
	padding-right: 14px;
	padding-top: 10px;
	padding-bottom: 10px;
    background-color: #007cba;
    font-weight: 400;
    opacity: 1;
    color: white;
    text-decoration: none;
}