/*
 Theme Name:   Kadence Child
 Description:  AIEMEonline child theme
 Template:     kadence
 Version:      1.0.3
*/
/* Box around a menu item */
.menu-item-box {
	color: #8f8f8f;
	background-color: #aaaaaa;
	width: fit content;
	border: solid white 1px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}
.menu-item-box a:visited {
	color: #ffffff;
}
.menu-item-box a:hover {
	color: #ffffff;
}
.menu-item-box a:active{
	color: #ffffff;
}


/* 1. Hide the Focus Mode lesson/section title */
#ld-focus-content > h1 {
    display: none !important;
}

/* 2. Hide the breadcrumbs bar (and the status badge inside it) */
.ld-focus-content nav.ld-breadcrumbs {
    display: none !important;
}

/* 3. Fix the black letterboxing on the embedded Google Slides iframe */
.ld-tab-content iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 960 / 749; /* matches the iframe's native w/h attributes */
}

/* 4. Reduce padding around Focus Mode content */
.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
    padding: 2em !important;
}
/* 5. Crop out the thin black border Google's embed player renders around the slide */
.ld-tab-content {
    overflow: hidden !important;
}
.ld-tab-content iframe {
    transform: scale(1.02);
    transform-origin: center center;
}

/* WooCommerce notices — shared base styling */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-error,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-message,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-info {
    background-color: #d3edff !important;
    color: #000000 !important;
    border: 2px solid #999999;
    border-left: 6px solid #0c2c47;
    border-radius: 10px;
    padding: 1em 1.5em;
    list-style: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

/* Success — green left border */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-message {
    border-left-color: #4caf50;
}

/* Error — red left border */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-error {
    border-left-color: #ff000b;
}

/* Info — keep the dark blue accent */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-notices-wrapper ul.woocommerce-info {
    border-left-color: #1479bf;
}

/* Links inside notices */
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a {
    color: #0d447c;
    text-decoration: underline;
}

/* List items inherit color, but set explicitly to be safe */
.woocommerce .woocommerce-message li,
.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-info li {
    color: #0d447c;
}

/* Buttons inside notices */
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button {
    background-color: #ffffff;
    color: #0d447c;
    border-radius: 6px;
}