/*
* CSS used for the Welcome Head Shortcode
 */
.edustep-welcome-head {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	align-content: center;
	justify-content: space-between;
	padding: 15px;
	column-gap: 15px;
	color: #fff;
}

.edustep-welcome-head .edustep-user-info {
	max-width: 150px;
	color: #fff;
}
.edustep-welcome-head .edustep-user-info a {
	color:#fff;
}


html body .header-widget-area[data-section="sidebar-widgets-header-widget-1"],
html body .header-widget-area[data-section="sidebar-widgets-header-widget-1"] > * {
	display: flex;
	align-items: center;
}

html body .edustep-switch-to-parent {
	font-style: italic;
	font-size: 12px;
}

html body .edustep-parent-switch__wrapper {
	position: fixed;
	z-index: -9999;
	opacity: 0;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	justify-content: center;
	align-items:center;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	visibility:hidden;
}

html body .edustep-parent-switch__wrapper.active {
	z-index: 99;
	opacity: 1;
	transition: all 0.5s ease-in-out;
	visibility:visible;
}

html body .edustep-parent-switch__wrapper .edustep-parent-switch__content {
	max-width: 400px;
	border-radius: 5px;
	background: #fff;
	display:flex;
	flex-direction:column;
	gap:15px;
	padding:35px;
}

html body .edustep-parent-switch__info {
	font-style:italic;
	font-size:12px;
	max-width:100%;
	word-wrap:break-word;
}

/**
 * CSS used for the Child Courses Shortcode
 */
.edustep-child-courses__wrapper {
	position: fixed;
	z-index: -999;
	opacity: 0;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	margin: 0 auto;
	padding: 10vh 10vw 10vh 10vw;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.edustep-child-courses__wrapper.active {
	z-index: 999;
	opacity: 1;
	transition: all 0.5s ease-in-out;
}

.edustep-child-courses__wrapper .edustep-child-courses__header {
	background: #fff;
	display: flex;
	justify-content: space-between;
	padding: 15px;
	width: 100%;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

.edustep-child-courses__wrapper .edustep-child-courses__content {
	background: #fff;
	padding: 15px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
	min-height: 40vh;
	width: 100%;
}

.edustep-child-courses__wrapper .edustep-child-courses__content .edustep-child-courses__course {
	border-right: 1px solid #ddd;
	padding: 30px;
}

.edustep-child-courses__wrapper .edustep-child-courses__content .edustep-child-courses__course:last-child {
	border-color: transparent;
}

/**
 * CSS used for the Add child functionality
 */
#edustep_add_child_modal {
	position: fixed;
	z-index: -999;
	opacity: 0;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	margin: 0 auto;
	padding: 10vh 10vw 10vh 10vw;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

#edustep_add_child_modal.active {
	z-index: 999;
	opacity: 1;
	transition: all 0.5s ease-in-out;
}

#edustep_add_child_modal .modal-dialog {
	background: #fff;
	padding: 15px;
	border-radius: 15px;
}

#edustep_add_child_modal .modal-dialog .modal-header {
	display: flex;
	justify-content: space-between;
}

#edustep_add_child_modal .modal-dialog button[type="submit"] {
	margin-top: 15px;
}

#edustep_add_child_modal .form_info {
	font-style: italic;
}

/**
 * CSS used for the header
 */

#ast-desktop-header .ast-site-title-wrap {
	display: none;
}

html body:not(.home) #tasc10-header .tasc10-menu,
html body:not(.home) #tasc10-header .tasc10-logo{
	display: none;
}

html body:not(.home) #tasc10-header .e-con-inner {
	justify-content: end;
}

html body.home header.site-header {
	position: sticky;
	top: 0;
}

/**
 * CSS used for child info content
 */

.edustep-child-info__wrapper .edustep-child-info__item {
	padding: 15px;
}

.edustep-child-info__wrapper .edustep-child-info__item:nth-child(odd) {
	background: #f5f5f5;
}

.edustep-child-info__wrapper .edustep-child-info__item .edustep-child-info__content {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: 1fr 1fr;
}

.edustep-child-info__wrapper .edustep-child-info__item .edustep-child-info__content .edustep-child-info__progress {
	min-width: 200px;
}

/**
 * CSS used for the sidebar menu
 */

html body .ast-page-builder-template .site-content > .ast-container {
	max-width: calc(100% - 300px);
	margin-right: 0;
	float: right;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

.edustep-side-menu-wrapper {
	max-width: 300px;
	position: sticky;
	z-index: 9999;
	background: #081740;
	top: 0;
	left: 0;
	height: 100vh;
	padding: 15px;
	align-content: center;
	color: #fff;
	float: left;
}

.edustep-side-menu-wrapper .edustep-menu-item {
	border-bottom: 1px solid #CECECE;
	padding: 15px 0;
}

.edustep-side-menu-wrapper .edustep-menu-item:last-child {
	border-color: transparent;
}

.edustep-side-menu-wrapper .edustep-menu-item p {
	margin-bottom: 0;
	margin-top: 30px;
}

.edustep-side-menu-wrapper .edustep-menu-item ul li {
	list-style-type: none;
	padding: 10px 0;
}

.edustep-side-menu-wrapper .edustep-menu-item ul {
	margin: 0;
}

.edustep-side-menu-wrapper .edustep-menu-item ul li a {
	color: #fff;
}

.edustep-side-menu-wrapper .edustep-menu-item ul li.active a:hover,
.edustep-side-menu-wrapper .edustep-menu-item ul li.active a,
.edustep-side-menu-wrapper .edustep-menu-item ul li.current-menu-item a {
	color: #C55816;
}

/**
 * CSS used for the course lopp
 */

.edustep-course {
	position: relative;
	overflow: hidden;
}

.edustep-course.inactive .tutor-card.tutor-course-card {
	opacity: 0.5;
	filter: blur(4px) grayscale(1);
	pointer-events: none;
}

.edustep-course.inactive::after {
	content: "Blocat";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.edustep-course .tutor-course-progress {
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 20px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.edustep-course .tutor-course-card {
	z-index: 2;
}

.edustep-course .edustep-new-content-label {
	position: absolute;
	top: 30px;
	right: -35px;
	z-index: 3;
	transform: rotate(45deg);
	background: red;
	width: 160px;
	color: #fff;
	text-align: center;
	height: 30px;
}

/**
 * CSS used for the website content
 */

html body .ast-container,
html body #content .tutor-course-details-page,
html body #content .tutor-container {
	max-width: 100%;
}

html body #content .tutor-frontend-dashboard-maincontent {
	padding: 0 35px;
}