/*
 Theme Name:   Elumine Child
 Theme URI:    https://wisdmlabs.com/elumine
 Description:  Elumine Child Theme
 Author:       Wisdmlabs
 Author URI:   https://wisdmlabs.com
 Template:     elumine
 Version:      1.0.0
 Tags:         elearning
 Text Domain:  elumine-child
*/

.wp-block-image figure.aligncenter {
  text-align: center;
}

.menu-item > a {
    text-transform: none !important;
}

/* Do not show login button in some pages (e.g., home) */
:is(.page-id-4193, .page-id-4749) :is(.login-header-menu.btn, .menu-item-object-login) {
	display: none !important;
}

/* For hiding footer when on single course - it was displaying in the middle of the screen for tablet and mobile views */
.sfwd-courses-template-default footer {
	visibility: hidden;
}

/* For fixing header height */
@media screen {
	header#masthead {
	    min-height: 70px;
	}	
	.site-content-contain {
    	margin-top: 45px !important;
	}
	.header-container {
		height: 70px;
	}
}

/* Show shadow for login's image */
.login_shadow {
	box-shadow: 20px 17px 15px -12px #9f9f9f;
	transition: box-shadow 0.3s;
}

/* Course's image hides menu because it has a z-index of 999 */
.learndash .el-course-banner {
  z-index: 0 !important;
}

/* Show different logo for specific pages */
/* 
 * page-id-4193: home EN
 * page-id-4749: home EL
 * page-id-4296: edgeLAB EN
 * page-id-4756: edgeLAB EL
 * postid-627: edgeLAB course EN
 * postid-665: edgeLAB course EL
*/

:is(.page-id-4193, .page-id-4749, .page-id-4296, .page-id-4756, .postid-627, .postid-665) :is(.elumine-site-logo, .mobile-logo) img {
    visibility: hidden;
}

:is(.page-id-4296, .page-id-4756, .postid-627, .postid-665) :is(.elumine-site-logo, .mobile-logo) {
	background: url('https://noesishub.com/wp-content/uploads/2023/06/edge_lab_logo_black_transparent.png') no-repeat;
	background-size: 80%;
	background-position: center center;
	display: block;
	visibility: visible;
}

:is(.postid-627, .postid-665) .transparent :is(.elumine-site-logo, .mobile-logo) {
	background: url('https://noesishub.com/wp-content/uploads/2023/06/edge_lab_logo_white_transparent.png') no-repeat;
	background-size: 80%;
	background-position: center center;
	display: block;
	visibility: visible;
}

/* Don't show elumine gear icon (i.e., disable night icon) and change font (within settings) in single lesson */
.accessibility-wrap .font-setting {
	display: none;
}

/* Hide "Course Content" label in single course, as translation cannot be fixed */
.postid-665 .el-course-content .ld-section-heading h2 {
	text-indent: -9999px;
}

.postid-665 .el-course-content .ld-section-heading h2:before {
	content: "Περιεχόμενα";
	text-indent: 0px;
	float: left;
}

/* Override elumine woocommerce CSS styling */
.wdm-billing-input > p > label {
	display: block;
}

/* Don't show option for setting weak password */
.pw-weak {
	display: none!important
}

/* Style username and password textbox in Log In page */
#elumine_login_username, #elumine_login_password {
	padding: 15px 10px !important;
}

/* Compatibility styles for theme elumine - GDPR Cookie Consent */
.cli-modal [type="checkbox"]:checked+label,
.cli-modal [type="checkbox"]:not(:checked)+label {
    padding-left: initial;
	position: absolute;
}

.cli-modal [type="checkbox"]:checked+label:before,
.cli-modal [type="checkbox"]:not(:checked)+label:before {
 
    left: 4px;
    top: initial;
    width:15px !important;
    height: 15px;
}

.cli-modal [type="checkbox"]:checked+label:after,
.cli-modal [type="checkbox"]:not(:checked)+label:after {
    top: initial;
    left: initial;
    font-size: 14px;
    color: initial;
}

.cli-modal [type="checkbox"]:checked+label:after {
    content: attr(data-cli-enable);
}

.cli-modal .cli-switch .cli-slider::after {
    content: attr(data-cli-disable);
}

.cli-modal [type="checkbox"]:checked+label:before {
    box-shadow: unset;
}

.cli-modal [type="checkbox"]:not(:checked)+label:before {
    border: initial;
    box-shadow: unset;
}