/*
Theme Name: Edumall Child
Theme URI: https://edumall.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.0
Template: edumall
Text Domain:  edumall-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/
@-webkit-keyframes btn-bounce {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
	10% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05)
	}
	20% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
	30% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05)
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
}

@keyframes btn-bounce {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
	10% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05)
	}
	20% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
	30% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05)
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1)
	}
}

.popup-try-live-demo {
	-webkit-transition: all .25s linear;
	transition: all .25s linear;
	display: block;
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 370px;
	max-width: 85%;
	background: var(--edumall-color-box-white-background);
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(51, 51, 51, .1);
	text-align: center;
	z-index: 100002;
	padding: 25px 25px 30px
}

.popup-try-live-demo.hidden {
	opacity: 0;
	visibility: hidden
}

.popup-try-live-demo-close {
	position: absolute;
	top: -15px;
	right: -15px;
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 15px;
	border-radius: 50%;
	color: #7e7e7e;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	cursor: pointer
}

.popup-try-live-demo-close:hover {
	color: var(--edumall-color-primary)
}

.popup-try-live-demo-heading {
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 8px
}

.popup-try-live-demo-description {
	margin: 0 0 8px
}

.tm-button-bounce {
	-webkit-animation: btn-bounce 4s infinite;
	animation: btn-bounce 4s infinite
}

.popup-try-live-demo .tm-button {
	margin: 20px 0 0
}

.popup-try-live-demo .tm-button.login-as-student:hover {
	color: var(--edumall-color-primary);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1)
}

.popup-try-live-demo .tm-button.login-as-student:after {
	background: #fff
}

.popup-try-live-demo .tm-button.login-as-instructor {
	color: var(--edumall-color-third)
}

.popup-try-live-demo .tm-button.login-as-instructor:hover {
	color: var(--edumall-color-primary);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1)
}

.popup-try-live-demo .tm-button.login-as-instructor:before {
	background: var(--edumall-color-secondary)
}

.popup-try-live-demo .tm-button.login-as-instructor:after {
	background: #fff
}

@media screen and (min-width: 1200px) {
	.popup-try-live-demo {
		width: 470px;
		padding: 36px 50px 50px
	}

	.popup-try-live-demo-heading {
		font-size: 24px
	}
}

@media screen and (min-width: 768px) {
	.popup-try-live-demo {
		padding: 26px 30px 40px
	}

	.popup-try-live-demo-heading {
		font-size: 21px
	}
}
/* fix menu float */

a.delete_note {
    display: none;
}

//auto complete processing orders
/**
 * Auto Complete all WooCommerce orders.
 */
add_action( 'woocommerce_thankyou', 'custom_woocommerce_auto_complete_order');
function custom_woocommerce_auto_complete_order( $order_id ) {
    if ( ! $order_id ) {
        return;
    }

    $order = wc_get_order( $order_id );
    $order->update_status( 'completed' );
}