/*
	Theme Name: Master Study Child
	Theme URI: http://stylemix.net
	Description: MasterStudy Child Theme
	Author: StylemixThemes
	Author URI: http://stylemix.net
	Template: masterstudy
	Version: 4.5.9
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
	Text Domain: masterstudy-child
*/

.stm-lms-impact-tracker-current>div {
	display: flex;
	align-items: center;
	max-width: 100%;
	border-radius: 10px;
	background: #eeca4c;
	padding: 10px;
	font-size: 18px;
	font-weight: 700;
	color: #000000;
}

.stm-lms-impact-tracker-current>div>img {
	margin-right: 15px;
	width: 20px;
}

.stm-lms-impact-tracker-current>div>span {
	margin-right: auto;
}

.stm-lms-impact-tracker-current>p {
	text-align: center;
	margin: 10px 0 0 0;
}

.stm-lms-levels-list {
	margin-top: 50px;
}

.stm-lms-levels-list-item {
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 8px;
	box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.stm-lms-levels-list-item .stm-lms-levels-list-item__points {
	margin: 0 15px 0 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 700;
	font-size: 0;
}

.stm-lms-levels-list-item .stm-lms-levels-list-item__points i {
	display: block;
	font-size: 16px;
}

.stm-lms-levels-list-item .stm-lms-levels-list-item__points i.fa-lock-open {
	display: none;
}

.stm-lms-levels-list-item span {
	color: #aaa;
}

.stm-lms-levels-list-item h5 {
	font-weight: 700;
	font-size: 16px;
	margin: 0;
}

.stm-lms-levels-list-item.active .stm-lms-levels-list-item__points {
	color: #a27e00;
	background-color: #e4d191;
	font-size: 16px;
}

.stm-lms-levels-list-item.active .stm-lms-levels-list-item__points i.fa-lock-open {
	display: block;
}

.stm-lms-levels-list-item.active .stm-lms-levels-list-item__points i.fa-lock {
	display: none;
}

.impact-leaderboard>h2 {
	margin-bottom: 15px;
}

.impact-levels {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

.impact-levels .level {
	width: 32.33%;
	padding: 15px;
	margin: 0 5px 15px;
	border-radius: 8px;
	box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
	text-align: center;
	position: relative;
}

.impact-levels .level.completed {
	background-color: #7debac;
}

.impact-levels .level .points {
	font-size: 16px;
	font-weight: 700;
}

.impact-levels .level .title {
	font-size: 16px;
	font-weight: 500;
}

.impact-levels .level .name {
	font-size: 12px;
}

.impact-levels .level img {
	display: none;
}

.impact-levels .level.completed img {
	display: block;
	position: relative;
	width: 25px;
	margin: 0 auto 10px;
}

.progress-section {
	position: relative;
	padding: 10px;
	border-radius: 20px;
	border: 2px solid #eee;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	overflow: hidden;
}

.progress-section .progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: #7debac;
	border-radius: 10px;
}

.progress-info {
	position: relative;
	z-index: 2;
}

.leaderboard-title {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 15px 0;
}

.leaderboard-list {
	list-style: none;
	padding: 20px;
	font-size: 22px;
	border-radius: 15px;
	box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
	max-height: 70vh;
	overflow-y: scroll;
}

.leaderboard-list .header {
	display: grid;
	grid-template-columns: 50px 50px 1fr 2fr 120px;
	gap: 10px;
	margin-bottom: 15px;
	align-items: center;
}

.leaderboard-list .header span {
	font-size: 16px;
	font-weight: 700;
}

.leaderboard-list .header span:first-child {
	grid-column: 1 / 3;
	text-align: left;
}

.leaderboard-list .header span:nth-child(2) {
	grid-column: 4;
	text-align: left;
}

.leaderboard-list .header span:nth-child(3) {
	grid-column: 5;
	text-align: right;
}

.leaderboard-list li {
	display: grid;
	grid-template-columns: 50px 50px 1fr 2fr 120px;
	gap: 10px;
	align-items: center;
	margin-bottom: 15px;
}

.leaderboard-list .rank {
	grid-column: 1;
	text-align: center;
	font-weight: 600;
}

.leaderboard-list .avatar {
	grid-column: 2;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.leaderboard-list .avatar img,
.leaderboard-list .avatar svg {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.stm-lms-impact-tracker-user__name img {
	width: 70px;
	border-radius: 50%;
	overflow: hidden;
}

.stm-lms-impact-tracker-user__name h3 {
	margin-top: 0;
}

.leaderboard-list .name {
	grid-column: 3;
	font-weight: 600;
	text-align: left;
}

.leaderboard-list .area {
	grid-column: 4;
	text-align: left;
}

.leaderboard-list .points {
	grid-column: 5;
	font-weight: 600;
	text-align: right;
}

.leaderboard-list li:last-child {
	margin-bottom: 0;
}

.leaderboard-list span,
.leaderboard-list span a {
	font-size: 22px;
}

#footer_bottom .stm-lms-impact-tracker-user,
#footer_bottom .stm-lms-wrapper-user {
	display: none;
}

/* UPD SEPT */
@media (max-width: 400px) {
	.course-title-holder {
		padding-right: 5px;
	}
}

@media(max-width: 480px) {
	.woocommerce-MyAccount-navigation ul {
		padding-left: 0;
	}

	.woocommerce-MyAccount-navigation ul li {
		display: block;
	}
}

@media (max-width: 767px) {

	.table-responsive>.table>tbody>tr>td,
	.table-responsive>.table>tbody>tr>th,
	.table-responsive>.table>tfoot>tr>td,
	.table-responsive>.table>tfoot>tr>th,
	.table-responsive>.table>thead>tr>td,
	.table-responsive>.table>thead>tr>th {
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.leaderboard-list span,
	.leaderboard-list span a {
		font-size: 14px;
	}
}

@media (max-width: 655px) {

	.course_table tr td.number.number-visible.title,
	.course_table tr td.title {
		padding-left: 20px;
		display: block;
		width: 100%;
	}

	.course_table tr td.stm_badge {
		display: block;
		width: 100%;
		text-align: left;
	}

	.course_table tr td .meta {
		padding-left: 12px;
	}

	.course_table tr td.stm_badge .badge_unit {
		margin-left: 15px;
	}

	.woocommerce-message {
		padding-right: 26px;
	}

	.woocommerce-message .button {
		position: static;
		float: none;
		display: block;
	}

	.woocommerce-message .button:after {
		display: none;
	}

	.shop_table>tbody>tr td.actions {
		padding-left: 15px;
		padding-right: 15px;
	}

	.woocommerce .shop_table.cart .coupon .button {
		display: block;
		margin-top: 15px;
	}

	.woocommerce .shop_table.cart .coupon {
		float: none;
		margin-bottom: 30px;
	}

	.woocommerce .shop_table.cart .button.update-cart {
		float: none;
		margin-bottom: 15px;
	}
}

.tp-caption .icon_in_btn {
	text-align: center !important;
}

@media (max-width: 991px) {
	.overflowed_content .wpb_column .vc_column-inner {
		margin-top: 0 !important;
	}
}

body .vc_row[data-vc-full-width] {
	overflow: visible;
}

body .vc_row[data-vc-full-width].vc_parallax {
	overflow: hidden;
}

.woocommerce-product-gallery {
	position: relative;
	margin-bottom: 3em
}

.woocommerce-product-gallery figure {
	margin: 0
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
	width: 25%;
	display: inline-block
}

.woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	float: left;
	cursor: pointer
}

.woocommerce-product-gallery .flex-control-thumbs img {
	opacity: .5
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
	opacity: 1
}

.woocommerce-product-gallery img {
	display: block
}

.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 33.3333%
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 25%
}

.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 20%
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 99
}

ol.flex-control-nav.flex-control-thumbs {
	padding-left: 0px;
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 20%;
}

.woocommerce-product-gallery__trigger {
	right: inherit;
	left: .5em;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	position: absolute;
	top: .5em;
	right: .5em;
	font-size: 2em;
	z-index: 9;
	width: 36px;
	height: 36px;
	background: #fff;
	text-indent: -9999px;
	border-radius: 100%;
	box-sizing: content-box;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border: 2px solid #000;
	border-radius: 100%;
	position: absolute;
	top: 9px;
	left: 9px;
	box-sizing: content-box;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
	content: "";
	display: block;
	width: 2px;
	height: 8px;
	background: #000;
	border-radius: 6px;
	position: absolute;
	top: 19px;
	left: 22px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	box-sizing: content-box;
}


/* Woo My Account Tabs*/
.woocommerce-account .woocommerce-MyAccount-navigation {
	display: table;
	float: none;
	width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-MyAccount-navigation ul {
	display: table !important;
	table-layout: fixed;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
	margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul>li {
	display: table-cell;
}

.woocommerce-MyAccount-navigation ul>li>a {
	display: block;
	padding: 12px 20px;
	background-color: #457992;
	border: 0;
	border-left: 1px solid #fff;
	border-radius: 0;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	font-size: 14px;
}

.woocommerce-MyAccount-navigation ul>li.is-active a,
.woocommerce-MyAccount-navigation ul>li a:hover,
.woocommerce-MyAccount-navigation ul>li a:focus {
	background-color: #f0f2f5;
	color: #457992;
}

.woocommerce div.product form.cart .variations td.label {
	display: none;
}

.woocommerce-product-gallery {
	position: relative;
	margin-bottom: 3em
}

.woocommerce-product-gallery figure {
	margin: 0
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
	z-index: 9 !important;
}

.stm_archive_product_inner_unit .stm_archive_product_inner_unit_centered .stm_featured_product_price .price h5 {
	font-weight: normal;
}

.widget_stm_recent_posts span.h6 {
	display: inline !important;
}

.widget_stm_recent_posts .cats_w {
	margin-left: 83px;
}

/* START Login & Register */
.stm-lms-modal-login .modal-body {
	padding: 0 !important;
}

.stm-lms-modal-login .modal-dialog {
	width: 100%;
	margin: 10px auto;
	max-width: 500px;
	padding: 0 10px;
}

.stm-lms-modal-login .modal-content {
	border-radius: 20px;
}

.header-login-custom {
	position: relative;
	background: #000;

	min-height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
}

/*.header-login-custom .header-login--logo{*/
/*    min-height: 100px;*/
/*    padding: 10px 15px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/
.stm-lms-modal-login #stm-lms-register {
	margin: 0 !important;
}

.header-login-custom .header-login--logo .logo {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.header-login-custom .header-login--logo img {
	max-width: 110px;
}

.header-login-custom .header-login--close {
	display: none;
}

.stm-lms-modal-login .header-login-custom .header-login--close {
	position: absolute;
	right: 20px;
	top: 20px;
	height: 22px;
	cursor: pointer;
	display: block;
}

.stm-lms-modal-login .header-login-custom .header-login--close .close {
	font-size: 40px;
	font-weight: 600;
	color: #ededed;
}

.stm-lms-login-custom .stm_lms_login_wrapper,
#stm-lms-register .stm_lms_register_wrapper {
	padding: 10px 40px 40px;
	background-color: #fff;
}

#stm-lms-register .stm_lms_register_wrapper .form-control,
.stm-lms-login-custom .stm_lms_login_wrapper .form-control {
	border-radius: 10px;
}

.stm-lms-login-custom .stm_lms_login_wrapper .form-group label {
	position: relative;
	display: block;
}

.stm-lms-login-custom .stm_lms_login_wrapper .form-group label,
.stm-lms-login-custom .stm_lms_login_wrapper__actions label {
	color: #000;
}

.stm-lms-login-custom .stm_lms_login_wrapper__actions,
#stm-lms-register .stm_lms_register_wrapper__actions {
	flex-wrap: wrap;
}

.stm-lms-login-custom .stm_lms_login_wrapper .stm_lms_lost_password_form .btn,
.stm-lms-login-custom .stm_lms_login_wrapper__actions .btn,
#stm-lms-register .stm_lms_register_wrapper__actions .btn {
	background: #000 !important;
	border-radius: 5px;
}

.stm-lms-login-custom .stm_lms_login_wrapper .stm_lms_lost_password_form .btn:hover,
.stm-lms-login-custom .stm_lms_login_wrapper__actions .btn:hover,
#stm-lms-register .stm_lms_register_wrapper__actions .btn:hover {
	background: rgba(0, 0, 0, .5) !important;
}

.stm-lms-login-custom .stm_lms_login_wrapper__actions .btn,
#stm-lms-register .stm_lms_register_wrapper__actions .btn {
	flex: 0 0 100%;
	padding: 20px 10px;
}

.stm-lms-login-custom .stm_lms_remember_me {
	margin: 20px 0;
	font-weight: 600;
}

.stm-lms-login-custom .stm_lms_remember_me i.fa-check {
	font-size: 12px;
	position: relative;
	top: -5px;
}

.stm-lms-login-custom .stm_lms_login_wrapper .lostpassword {
	position: absolute;
	top: 0;
	right: 0;
	color: #62a5c3 !important;
}

.stm-lms-login-custom .stm_lms_login_wrapper .lostpassword svg {
	fill: #62a5c3;
	display: inline-block;
	vertical-align: middle;
	margin: -2px 5px 0 0;
}

.stm-lms-login-custom .stm_lms_login_wrapper .stm_lms_styled_checkbox__inner {
	top: 4px;
	width: 15px;
	height: 15px;
	border-radius: 2px;
	margin-right: 5px;
}

.stm-lms-login-custom .stm_lms_lost_password_form .form-group {
	margin: 0;
}

.stm-lms-login-custom .stm_lms_lost_password_form .btn {
	padding: 15.5px 15px;
	margin: 30px 0 0;
}

.stm-lms-login-custom .stm_lms_login_wrapper__actions .btn-change-lr,
#stm-lms-register .stm_lms_register_wrapper__actions .btn-change-lr {
	background: #0b6bbf !important;
}

#stm-lms-register .stm_lms_register_wrapper__actions .btn-change-lr {
	margin: 20px 0 0;
}

.stm-lms-modal-login .stm-lms-message {
	background: #66BB6A !important;
	color: #fff !important;
	margin: 15px 40px !important;
	padding: 10px 15px !important;
}

/* END Login & Register */

/* Single course */
@media screen and (min-width: 1024px) {
	body.single-stm-courses .tab-content button[data-toggle="collapse"] {
		display: none;
	}
}

@media screen and (min-width: 992px) {
	body.single-stm-courses .mobile-view-actions {
		display: none;
	}
}

@media screen and (max-width: 1023px) {
	body.single-stm-courses .nav-tabs {
		display: none;
	}

	body.single-stm-courses .tab-content button[data-toggle="collapse"] {
		padding: 16px 10px 20px;
		margin: 0 0 30px;
		border: 0 !important;
		border-top: 3px solid #f0f4fa !important;
		border-radius: 0;
		font-size: 15px;
		font-weight: 600;
		background-color: #f0f4fa;
		text-align: left;
		color: #273044;
		display: block;
		width: 100%;
		position: relative;
	}

	body.single-stm-courses .tab-content button[data-toggle="collapse"]:last-child {
		margin: 0;
	}

	body.single-stm-courses .tab-content button[data-toggle="collapse"]:after {
		content: '+';
		position: absolute;
		top: 47%;
		right: 15px;
		transform: translateY(-50%);
		font-size: 25px;
		font-weight: bold;
	}

	body.single-stm-courses .tab-content button[data-toggle="collapse"]:not(.collapsed) {
		border-top-color: #385bce !important;
		background-color: #fff;
	}

	body.single-stm-courses .tab-content button[data-toggle="collapse"]:not(.collapsed):after {
		content: '−';
	}

	body.single-stm-courses .tab-content>.tab-pane.collapse {
		display: none;
	}

	body.single-stm-courses .tab-content>.tab-pane.collapsing,
	body.single-stm-courses .tab-content>.tab-pane.collapse.in {
		display: block;
	}
}

@media screen and (max-width: 991px) {
	body.single-stm-courses .stm-lms-course__sidebar {
		display: none;
	}
}

/* END Single course */


body #footer_bottom {
	border-top: 0 !important;
	padding: 0;
}

body #footer_bottom .widget {
	padding: 0;
}

body #footer_bottom .sidebar-area {
	margin-top: 0;
	padding-bottom: 0;
}

body #footer_bottom .sidebar-area .vc_row {
	margin-bottom: 0;
}

body #footer_bottom .sidebar-area .vc_row.vc_row-has-fill {
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}

body #footer_bottom .stm-bg-overlay::before {
	content: "";
	background-color: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

body #footer_bottom .stm-bg-overlay .wpb_column {
	z-index: 2;
}

#header.transparent_header.sticky_header.scrolling .header_2.fixed {
	background: #000;
}

.masterstudy-instructor-public-social {
	display: flex;
	flex-direction: column;
}

.masterstudy-form-check-label {
	gap: 5px;
}

.masterstudy-form-check-label input {
	margin-top: 0;
}

@media (max-width: 991px) {
	.impact-levels {
		flex-wrap: wrap;
	}
	.impact-levels .level {
		width: 30%;
	}
}
@media (max-width: 767px) {
	.impact-levels {
		flex-wrap: nowrap;
        overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
	}
	.impact-levels .level {
		width: 140px;
		flex: 0 0 auto;
        scroll-snap-align: start;
	}
	.leaderboard-toggle {
		display: block !important;
	}
	.leaderboard-toggle a {
		display: block !important;
    	padding: 9px 10px !important;
    	margin-bottom: 5px;
	}
	.leaderboard-list {
		padding: 5px 10px !important;
	}
	.leaderboard-list li {
		font-size: 14px !important;
		grid-template-columns: 35px 35px 1fr 1.5fr 80px;
		gap: 5px;
	}
	.leaderboard-list .header {
		grid-template-columns: 35px 35px 1fr 1.5fr 80px;
		gap: 5px;
	}
	.leaderboard-list .avatar {
		width: 35px;
		height: 35px;
	}
	.leaderboard-list .avatar img,
	.leaderboard-list .avatar svg {
		width: 35px;
		height: 35px;
	}
	.leaderboard-toggle-range {
		margin-right: 20px;
	}
	body .filter_impact_area select, body .filter_impact_area .select2-container, body .filter_impact_area label {
    	width: 100% !important;
	}
	.leaderboard-title > .leaderboard-toggle {
		width: 48%;
	}
	.leaderboard-list .header span {
		font-size: 12px;
	}
}