/*
	Theme Name: Master Study Child
	Theme URI: http://stylemix.net
	Description: MasterStudy Child Theme
	Author: StylemixThemes
	Author URI: http://stylemix.net
	Template: masterstudy
	Version: 3.0
	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
*/

.button-animation{
	width:100%;
	 transform: scale(1);
  transition: transform 0.3s;
}
.button-animation:hover {
  transform: scale(1.1);
}

/*
+----------------------------------------+
|    									 |
|    LESSONS CODE						 |
|    									 |
+----------------------------------------+
*/

/* Hide Logo in Lesson Page */
.logo-unit{display:none;}

/* Change Z-Index for Cirriculum sidebar button so its bellow the menu in Lesson */
.stm-lms-curriculum-trigger{
	z-index:1 !important;
	top: 10px !important; 
	left: 0px !important;
}
.stm-lms-course__sidebar,.stm-lms-course__curriculum{
	padding-top:12vh !important;
}
	.stm-curriculum__close{
		z-index: 20;
	}

@media(max-width:767px){
	.stm-lms-course__curriculum{
		top: 5vh !important;
	}
	
}
.stm_lms_lesson_header .col-lg-8 .col-md-push-2{
	width: 100%;
}

.container-fluid{
	width:100%;
}

.stm_lms_lesson_header {
			display: flex;
			justify-content: space-between;
			padding: 10px;
		}
		.stm_lms_lesson_header__left,
		.stm_lms_lesson_header__center,
		.stm_lms_lesson_header__right {
			display: flex;
			align-items: center;
		}
		.stm_lms_lesson_header__left {
			flex: 1;
		}
		.stm_lms_lesson_header__center {
			flex: 2;
			justify-content: center;
		}
		.stm_lms_lesson_header__right {
			flex: 1;
			justify-content: flex-end;
		}
/*Make lesson Header full width
.stm_lms_lesson_header .col-lg-8{
	width: 90% !important;
}*/
.stm_lms_item_modal{
	width: 90% !important;
	left: 60px !important;
	height: 90vh !important;
	max-height: 90vh !important;
}
div.mce-fullscreen{
	height: 100% !important;
}
.stm_lms_item_modal__inner .mce-edit-area iframe{
	height: 375px !important;
}

/* Lesson header size (Course Title) */

.stm_lms_lesson_header {
    padding: 40px 0px 0px 0px !important;
    background: #f2f2f2 !important;
    border-bottom: 3px solid #ddd !important;
/*     border-image: url(https://isbatia.co.tz/wp-content/uploads/2022/12/1-2.png) 100; */
    position: fixed;
    width: 100%;
    z-index: 2;
}


/* Lesson Title Line Hight */
/*.Course-Title{
	line-height: 15px;
	
}*/
 .Course-Title {
    line-height: 30px;
    margin-left: 10vw;
    margin-bottom: 20px;
}

.Course-Title>a{
	
	font-size: 36px !important;
	font-weight: bold !important;
	color: #3a3a3a !important;
	opacity: 1.0 !important;
}

/*Back to Enrolled Courses*/
.stm_lms_lesson_header__center>a {
    background-color: black;
    color: white !important;
    padding: 10px;
    border-radius: 5px;
    /* margin-bottom: 15px; */
    opacity: 1 !important;
    margin-left: 10vw;
}

/*Cirriculum Button*/

.stm-lms-curriculum-trigger {
    position: absolute !important;
    /* bottom: -111px; */
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1 !important;
    background: black !important;
    
}

/*Chat Button*/
.stm-lms-course__sidebar_toggle {
    position: fixed !important;
    left: 90vw !important;
    top: 50px !important;
    font-size: 22px;
    line-height: 60px;
    background-color: rgba(7,7,7,1);
    border-radius: 50%;
    text-align: center;
    color: #fff;
    cursor: pointer;
    z-index: 5 !important;
}
/*Lesson Content*/
#stm-lms-lessons{
	padding-top: 71px !important;
}
/*Video Lesson header title*/
html.stm_lms_type_video body .stm_lms_lesson_header .stm_lms_lesson_header__center h3 > a{
	
	color: black !important;
	
}
/* Bottom bar */
.stm-lms-lesson_navigation {
	border-top: 10px solid #ddd !important;
border-image: url(https://isbatia.co.tz/wp-content/uploads/2022/12/5.png) 100;
}
/* Complete Button */
.stm-lms-lesson_navigation_complete{
	z-index: 1 !important;
}
a.btn.btn-default.stm_lms_complete_lesson.uncompleted {
	background-color: #ff1616 !important;
	
}
.stm-lms-lesson_navigation.completed {
	background-color: #6e9f15 !important;
}
.stm-lms-lesson_navigation.completed .stm_lms_complete_lesson span {
	color: black !important;
}

.stm-lms-lesson_navigation.completed .stm_lms_complete_lesson:before {
	color: #6e9f15 !important;
	border-color: #6e9f15 !important;
}

/* Course sections area */
.stm-lms-course__curriculum .stm-curriculum-item__completed.completed {
	background-color: #6e9f15 !important;
}
.stm-lms-course__curriculum .stm-curriculum-item__meta {
	color: #ff1616 !important;
}

/* Questions area */
.stm_lms_lesson_comments__list_single__replies_count {
	color: #004aad !important;
}
a.btn.btn-default.btn-icon {
	background: #6e9f15 !important;
}
.stm_lms_lesson_comments .stm_lms_btn_icon button {
	background-color: #ff1616 !important;
}
.stm_lms_lesson_comments__list_single__reply a.btn.btn-default {
	background-color: #6e9f15 !important;
}
.stm_lms_lesson_comments__list_single__date {
	color: #004aad !important;
}
.stm_lms_lesson_comments.addQuestion .stm_lms_lesson_comments__add a.btn.btn-default {
	background-color: #6e9f15 !important;
}

/* Quiz Area */
.stm_lms_result__round, .stm_lms_timer{
	left: 80vw !important;
    top: 35vh !important;
	background-color: #fbc219 !important;
	border: 8px solid #d89f02 !important;
	
}
.stm_lms_result__round__time, .stm_lms_timer__time {
	color: #000 !important;
}
.stm_lms_result__round .stm_lms_timer__time_h .heading_font{
	color: #000 !important;
	font-weight: 700 !important;
	font-size: 50px !important;
}
.stm_lms_result__round svg path{
	fill: #d89f02 !important;
}
@media(max-width: 550px){
/* 	Add space between questions and Cirriculum on mobile */
	.stm-lms-curriculum-trigger{
		margin: 0px -15px;
	}
/* 	Bring Cirriculum inside side panel on mobile */
	.stm-curriculum__close{
	right: 6vw !important;
    color: black !important;
    border: solid 1px black !important;
	}
}
/*
+----------------------------------------+
|    									 |
|    LESSONS CODE END					 |
|    									 |
+----------------------------------------+
*/

/* Ended Custom Code */

/* Header background color before image overlay */
.entry-header {
	background-color: #000000 !important;
}

/* 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;
    }
}

@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;
}

.stm-lms-user-account-no-padding{
	padding: 5px !important;
	background: white !important;
}

body.float_menu_position__right #footer, body.float_menu_position__right #wrapper, body.float_menu_position__right .vc_row[data-vc-full-width]{
	background: #f0f2f5;
}
html, body {
    max-width: 100% !important;
/*     overflow-x: hidden !important; */
}
html {
                margin-top: 0px !important;
            }

            @media screen and ( max-width: 782px ) {
                html {
                    margin-top: 0px !important;
                }
            }

.stm_lms_instructor_courses__single--price{
	display: grid !important;
}
.stm-lms-wrapper.scorm{
	height: 80vh!important;
	overflow: none !important;
	top:135px;
}