@import '../fonts/fonts.css';

:root {
	--primary-color: #1A7AB5;
	--secondary-color: #F4DA23;
	--primary-text-color: white;
	--secondary-text-color: black;
	--primary-text-color: black;
	--secondary-text-color: white;
	--default-font: Gotham Book;
	--primary-font: Gotham Medium;
	--secondary-font: Gotham Bold;
	--swiper-navigation-size: 16px !important;
	--swiper-navigation-top-offset: 60% !important;
	--swiper-navigation-sides-offset: 10px;
	--swiper-navigation-color: black;
}

html, .btn {
	font-family: var(--default-font);
	font-size: 20px;
	color: var(--primary-text-color);
}

@media (min-width: 768px) {
	html, p {
		font-family: var(--default-font);
		font-size: 18px;
		color: var(--primary-text-color);
	}
}

html {
	position: relative;
	min-height: 100%;
}

body {
	font-family: var(--default-font);
	font-size: 18px;
}

h1 {
	font-family: var(--secondary-font);
	font-size: 30px;
}

h2:not(.accordion-header):not(.block-header) {
	font-family: var(--secondary-font);
	font-size: 22px;
	margin-top: 1rem;
}

h3 {
	font-family: var(--secondary-font);
	font-size: 20px;
}

a {
	color: var(--primary-color);
}

	a:hover {
		color: #F4B103
	}

.login-header {
	font-family: var(--primary-font) !important;
	font-size: 30px !important;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.sidebar {
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	width: 20vw;
	max-width: 650px;
	font-family: var(--primary-font);
}

.search-input {
	background-color: #ECECEC;
	padding-right: 30px;
}

	.search-input::-webkit-search-cancel-button {
		position: relative;
		right: 0px;
	}

.content {
	margin-left: 20vw;
}

.footer {
	margin-left: 20vw;
}

.nav-container {
	font-family: var(--primary-font);
}

.nav-link {
	color: var(--secondary-text-color);
	border-radius: .25rem;
	padding: .25rem .5rem !important;
	font-size: .95rem !important;
	margin-top: .15rem;
	margin-bottom: .15rem;
}

.nav-link-selected {
	color: var(--primary-color);
	background-color: white;
}

.nav-link:focus, .nav-link:hover {
	color: var(--primary-text-color);
	background-color: var(--secondary-color);
}

/* BG Colors */
.primary-bg {
	background: var(--primary-color) !important;
	color: var(--secondary-text-color) !important;
}

.secondary-bg {
	background: var(--secondary-color);
	color: var(--primary-text-color);
}
/* Buttonns */
.btn {
	font-family: var(--primary-font);
	min-width: 115px;
	border: none;
}

.btn-primary, .btn-primary:active, .btn-primary:hover, .btn-primary:focus {
	background: var(--secondary-color);
	color: var(--primary-text-color) !important;
}

.btn-secondary {
	background: var(--primary-color);
	color: var(--secondary-text-color);
}

	.btn-secondary:active, .btn-secondary:hover, .btn-secondary:focus {
		background: var(--secondary-color);
		color: var(--primary-text-color);
	}

.btn.active, .btn:active, .btn:focus, .btn:hover {
	filter: brightness(95%);
}

.btn-search {
	margin-left: -35px;
	background-color: transparent;
}

.btn-decline:hover {
	color: white;
	background-color: #dc3545 !important;
	border-color: #dc3545;
}

.announcement a {
	color: #125782;
}

.dashboard .btn-lg {
	height: 132px;
}

.form-body {
	padding: 2rem;
	object-fit: fill;
}

.re-apply label {
	white-space: nowrap;
}


.form-body input {
	height: 45px;
}

.form-group, .btn {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.tdc-logo {
		width: 40%;
		margin-top: .5rem;
	}
}

.login-video {
	height: 100%;
	width: 100%;
}

.quote-subject, .quote-testimonial {
	font-size: 16px;
}

video {
	object-fit: fill;
}

.session-count-container {
	font-family: var(--secondary-font);
}

.session-count {
	font-size: 40px;
}

.session-count-text {
	font-size: 16px;
}

.session-button button {
	font-size: 14px !important;
}

.validation-summary-errors {
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
	border: 1px solid transparent;
	border-radius: .25rem;
	padding: .5rem .5rem;
	margin-bottom: 1rem;
}

/*Swiper Carousel*/
.swiper {
	width: 100%;
	height: 100%;
}

.swiper-button {
	background: hsla(0, 0%, 100%, .75);
	border: none;
	color: #333;
	border-radius: 50%;
	height: 44px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
}

	.swiper-button:after {
		font-size: 25px;
		font-weight: bold;
	}

.swiper-slide {
	padding-right: 2rem;
	padding-left: 2rem;
}

.homepage-swiper {
	background-color: #E0F1FC;
	/*height: unset;*/
}

	.homepage-swiper .swiper-slide {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.homepage-swiper h3, .homepage-swiper p {
		font-size: 25px;
	}

	.homepage-swiper .swiper-button {
		background-color: #1A7AB5;
		width: 33px;
		height: 33px;
		border-radius: 20px;
		color: white;
	}

		.homepage-swiper .swiper-button::after {
			font-size: unset;
		}

.tutor-image {
	object-fit: cover;
	object-position: center;
}

.cms-text br {
	margin: 15px;
	display: block;
	content: "";
}

.form-check-input:checked {
	background-color: #598F6B;
	border-color: #598F6B;
}

.table {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.fa-star, .fa-star-half {
	color: #F4B103;
	margin-right: 0.5rem;
	cursor: pointer;
}

.fa-heart {
	color: #BF392C;
}

.fa-circle-info {
	cursor: pointer;
}

.blog-thumbnail .fa-star {
	margin-right: unset;
}

.accordion-item, .block-container {
	border: 1px solid #BCBCBC !important;
}

.accordion-button:not(.collapsed)::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"/></svg>');
}

.accordion-button.collapsed::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"/></svg>');
}

.cms-content h2, .accordion-button, .block-header {
	font-family: var(--default-font);
	font-size: 20px !important;
	text-transform: capitalize;
}

	.block-header a {
		text-decoration: none;
		color: var(--secondary-text-color);
	}

		.block-header a:hover {
			color: var(--secondary-color);
		}

.cms-content ul, .resource-list {
	list-style-type: none;
	font-family: var(--default-font);
	font-size: 18px;
	padding-left: 0;
}

	.resource-list li {
		margin-top: 0;
		margin-bottom: 1rem;
		display: flex;
		align-items: baseline;
	}

	.resource-list a {
		color: #125782;
	}

.tutor-locker {
	margin-left: 0.5rem;
}

.back-link {
	font-size: 22px;
	font-weight: bold;
	color: #1A7AB5;
	text-decoration: none;
}

/*Blog*/
.blog-thumbnail {
	border-radius: 10px;
	border-color: #D9D9D9 !important;
}

.blog-img {
	object-fit: cover;
	width: 100%;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}

.blog-thumbnail .blog-img {
	max-height: 205px;
}

.blog-article .blog-img {
	max-height: 50vh;
}

.form-label {
	font-size: 20px;
}

.essentials-list .cms-text {
	background: #ECF8FF;
}

.essentials-list li {
	background: #DDF2FF;
	margin-bottom: 0;
	padding: 10px;
}

	.essentials-list li:nth-child(odd) {
		background: #ECF8FF;
	}

.student-feedback {
	height: 135px;
}

.progress {
	height: 28px
}

.sessions-completion .session-value {
	color: var(--primary-color);
	line-height: 1.2;
}

.upcoming-sessions {
	font-size: 14px;
}

/*Modal*/
.modal-content:not(.video-content) {
	border-top-right-radius: 25px;
	border-top-left-radius: 25px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: white;
}

	.modal-content:not(.video-content) .modal-header {
		border-top-right-radius: 20px;
		border-top-left-radius: 20px;
		border: 1px solid var(--primary-color);
		height: 3rem;
	}

.modal-body {
	color: black;
}

.leaderboard-modal thead {
	font-family: var(--primary-font);
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.leaderboard-modal .modal-body {
	font-size: 16px;
	height: 400px;
}

.leaderboard-modal img {
	width: 47px;
	height: 47px;
}

.tooltip > .tooltip-inner {
	background-color: white;
	color: #545454;
	border-radius: 3px;
	border: 1px solid #D9D9D9;
	max-width: 320px !important;
}

.tooltip.show {
	opacity: 1;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
	border-right-color: white !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
	border-left-color: white !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
	border-bottom-color: white !important;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
	border-top-color: white !important;
}

.badges img {
	width: 10vw;
}

.step-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin-bottom: 2rem;
}

.step-wrapper {
	position: relative;
	text-align: center;
	flex: 1;
	z-index: 1;
}

	.step-wrapper .circle {
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background-color: #fff;
		border: 2px solid #343a40;
		color: #343a40;
		font-weight: bold;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
		position: relative;
		z-index: 2;
	}

	.step-wrapper.active .circle {
		background-color: #343a40;
		border-color: #343a40;
		color: #fff;
	}

	.step-wrapper.completed .circle {
		background-color: var(--primary-color);
		border-color: var(--primary-color);
		color: white;
		font-size: 0; /* hide number */
	}

		.step-wrapper.completed .circle::before {
			content: "\f00c"; /* fa-check */
			font-family: "Font Awesome 6 Free";
			font-weight: 900;
			font-size: 1.25rem;
		}

.label {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #212529;
	font-weight: 500;
}

/* Lines */
.step-wrapper:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 24px; /* center with circle */
	left: 50%;
	width: 100%;
	height: 4px;
	background-color: #dee2e6;
	z-index: 1;
}

.step-wrapper.completed:not(:last-child)::after {
	background-color: var(--primary-color);
}

.step-wrapper:first-child::after {
	left: 50%; /* only draw to the right */
	width: 50%;
}

.step-wrapper:last-child::after {
	display: none; /* remove line after last step */
}

.step-content {
	display: none;
}

	.step-content.active {
		display: block;
	}

	.step-content a {
		border: 1px solid #3D3E45;
		background: #F2FAFF;
		box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
		text-decoration: none;
		color: black;
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
	}

		.step-content a:hover {
			background: #B0EEC4;
			text-decoration: underline;
		}

		.step-content a i {
			color: var(--primary-color);
		}


			.step-content a i[class^="fa-"]:before {
				display: inline-block;
				text-decoration: none;
			}

.page-item.active .page-link {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.page-link {
	color: var(--primary-color);
}
