/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Imports
# Archive Course
# Single Course
# Course Author
# Review Tab
# Widgets
# Course Progress
# User Profile
# Profile Wishlist
# Single Lession
# Become Teacher
--------------------------------------------------------------*/

/* LearnPress-only theme icons. Font Awesome Free 6.6.0 paths (CC BY 4.0); see _icons.css. */
:root {
	--bx-icon-bookmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M0 48V487.7C0 501.1 10.9 512 24.3 512c5 0 9.9-1.5 14-4.4L192 400 345.7 507.6c4.1 2.9 9 4.4 14 4.4c13.4 0 24.3-10.9 24.3-24.3V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48z'/%3E%3C/svg%3E");
	--bx-icon-cube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6l0 242.9c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4L0 134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1 0-188L288 246.6l0 188z'/%3E%3C/svg%3E");
	--bx-icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z'/%3E%3C/svg%3E");
	--bx-icon-comments: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z'/%3E%3C/svg%3E");
	--bx-icon-chart-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z'/%3E%3C/svg%3E");
	--bx-icon-graduation-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9l0 28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5l0-24.6c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z'/%3E%3C/svg%3E");
	--bx-icon-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z'/%3E%3C/svg%3E");
	--bx-icon-cart-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M0 24C0 10.7 10.7 0 24 0L69.5 0c22 0 41.5 12.8 50.6 32l411 0c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM252 160c0 11 9 20 20 20l44 0 0 44c0 11 9 20 20 20s20-9 20-20l0-44 44 0c11 0 20-9 20-20s-9-20-20-20l-44 0 0-44c0-11-9-20-20-20s-20 9-20 20l0 44-44 0c-11 0-20 9-20 20z'/%3E%3C/svg%3E");
	--bx-icon-puzzle-piece: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8c0 12.8 10.4 23.2 23.2 23.2l56.8 0c26.5 0 48 21.5 48 48l0 56.8c0 12.8 10.4 23.2 23.2 23.2c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2c-12.8 0-23.2 10.4-23.2 23.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8c0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2C0 330.4 10.4 320 23.2 320c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256C10.4 256 0 245.6 0 232.8L0 176c0-26.5 21.5-48 48-48l120.8 0c12.8 0 23.2-10.4 23.2-23.2z'/%3E%3C/svg%3E");
	--bx-icon-calendar-check-regular: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M128 0c13.3 0 24 10.7 24 24l0 40 144 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 40 0c35.3 0 64 28.7 64 64l0 16 0 48 0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192l0-48 0-16C0 92.7 28.7 64 64 64l40 0 0-40c0-13.3 10.7-24 24-24zM400 192L48 192l0 256c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-256zM329 297L217 409c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E");
	--bx-icon-gears: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8l-.7 0c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E");
	--bx-icon-address-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 256l64 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16L80 384c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z'/%3E%3C/svg%3E");
	--bx-icon-unlock-keyhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 64c-44.2 0-80 35.8-80 80l0 48 240 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0 0-48C80 64.5 144.5 0 224 0c57.5 0 107 33.7 130.1 82.3c7.6 16 .8 35.1-15.2 42.6s-35.1 .8-42.6-15.2C283.4 82.6 255.9 64 224 64zm32 320c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0z'/%3E%3C/svg%3E");
	--bx-icon-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z'/%3E%3C/svg%3E");
	--bx-icon-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z'/%3E%3C/svg%3E");
}

/* LearnPress sets body { background: #fff } after the theme loads, which left
   light text on a white page in dark mode. html body outranks it. */
html body {
    background-color: var(--bx-color-bg);
}

/* LearnPress surface variables: --lp-white-grey is only ever a background and
   --lp-border-color a border, so they follow the theme surfaces. --lp-color-white
   also colours button text, so it stays; the surfaces using it are set below. */
html:root {
    --lp-white-grey: var(--bx-color-bg-muted);
    --lp-border-color: var(--bx-color-border);
}

/* Surfaces LearnPress paints in fixed light colours; the theme text on top of
   them turns light in dark mode. */
html .lp-single-course .lp-single-course__header,
html .lp-single-course__header {
    background-color: var(--bx-color-bg-muted);
}

/* "html" lifts these one step above LearnPress's own selectors, which load later. */
html .lp-single-course .lp-single-course-main__right__inner,
html .course-summary-sidebar .course-sidebar-preview {
    background-color: var(--bx-color-bg-elevated);
}

#learn-press-profile .lp-btn-to-edit-avatar {
    background-color: var(--bx-color-bg-elevated);
    color: var(--bx-color-fg);
}

/* --lp-primary-color keeps the light-mode brand shade so LearnPress's white text
   on buttons and tabs stays readable in dark mode. Where LearnPress uses that colour
   as persistent text on the page, dark mode switches to the lighter dark accent. */
html[data-bx-mode="dark"] .learn-press-tabs__item.active a,
html[data-bx-mode="dark"] .learn-press-filters li a.active,
html[data-bx-mode="dark"] .learn-press-filters li span.active,
html[data-bx-mode="dark"] .learn-press-filters li.active a,
html[data-bx-mode="dark"] .learn-press-filters li.active span,
html[data-bx-mode="dark"] .learn-press-nav-tabs li.active label,
html[data-bx-mode="dark"] .learn-press-profile-course__tab .learn-press-course-builder-link {
    color: var(--bx-color-accent);
}

#learn-press-profile .learn-press-filters > li > a {
    color: var(--bx-color-fg-muted);
}



/*--------------------------------------------------------------
# Imports
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Archive Course
--------------------------------------------------------------*/

.lp-archive-courses {
    margin-top: 2rem;
}

.single .lp-archive-courses {
    margin-top: 0;
}

.lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content.course-content {
    border: 1px solid var(--global-border-color);
    border-top: 0;
}

.lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail {
    line-height: 0;
}

.post-type-archive-lp_course .site-sub-header h2.entry-title a {
    color: var(--bx-color-subheader-fg);
}

.learn-press-breadcrumb,
#lp-archive-courses nav.learn-press-pagination {
    display: none;
}

.post-type-archive-lp_course form[name="search-course"] .search-course-button {
    top: 5px;
    right: 5px;
    bottom: 5px;
    padding: 10px 20px;
}

.lp_course.course a {
    display: block;
}

.lp_course.course .course-thumbnail {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.lp_course.course .course-thumbnail img {
    width: 100%;
    transition: all .5s ease-in-out;
}

.lp_course.course .course-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(0, 0, 0, .5);
    transition: all .3s;
    filter: alpha(opacity=0);
    opacity: 0;
}

.lp_course.course:hover .course-thumbnail::before {
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    opacity: 1;
}

.lp_course.course:hover .course-thumbnail img {
    transform: scale(1.05, 1.05);
}

ul.learn-press-courses .course h3.course-title {
    line-height: normal;
    padding: 0 12px;
}

.course-price {
    font-weight: 700;
}

.lp-archive-courses .learn-press-courses[data-layout="list"] .course {
    background: var(--bx-color-bg-elevated, #fff);
}

ul.learn-press-courses .course .course-info .course-price .origin-price,
ul.learn-press-courses .course .course-info .course-price .price {
    font-size: 13px !important;
    margin-right: 5px !important;
    text-transform: uppercase;
}

ul.learn-press-courses .course .course-info .course-price .price {
    color: var(--color-theme-primary);
}

ul.learn-press-courses .course .course-info .course-instructor a {
    color: var(--bx-color-fg-muted, #999);
    text-transform: capitalize;
    font-size: 13px !important;
}


/*--------------------------------------------------------------
# Single Course
--------------------------------------------------------------*/

.lp-archive-courses .course-summary .course-summary-content .course-detail-info.course-detail-info {
    padding-top: 50px;
}

.lp-archive-courses .course-summary .course-summary-content .course-detail-info.course-detail-info .lp-content-area {
    padding: 0;
}

.lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
    right: 0;
}

.single-lp_course .lp-archive-courses .lp-entry-content {
    padding: 0;
}

.single-lp_course .course-learning-summary .course-meta,
.course-students {
    display: none !important;
}

#learn-press-course-curriculum.course-curriculum ul.curriculum-sections.curriculum-sections {
    z-index: 99;
}

#learn-press-course .course-summary-sidebar .course-sidebar-preview .media-preview img {
    width: 100%;
}

.lp-course-buttons button {
    cursor: pointer;
}

.single-lp_course .learn-press-course-results-progress,
.single-lp_course .course-learning-summary .course-remaining-time {
    background: var(--bx-color-bg-elevated, #fff);
    padding: 1em;
    margin: 10px 0 30px;
    border-radius: 5px;
    border: 1px solid var(--bx-color-border, #e8e8e8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
}

.single-lp_course .course-learning-summary .course-remaining-time p {
    margin: 0;
}

.single-lp_course .course-learning-summary .course-remaining-time .lp-label.label-enrolled {
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
    text-transform: uppercase;
}

#learn-press-course-tabs .course-tab-panel ul {
    margin: 0;
}

#learn-press-course-description ul {
    padding-left: 20px;
}

.course-landing-summary .course-remaining-time p {
    margin-top: 0;
}

#learn-press-course-tabs ul.learn-press-nav-tabs {
    border-color: var(--global-border-color);
    border-bottom: none;
    margin: 0;
    column-gap: 10px;
}

.course-tabs .wrapper-course-nav-tabs {
    border-color: var(--global-border-color);
}

#learn-press-course-tabs {
    margin-bottom: 20px !important;
}

#learn-press-course-tabs ul.learn-press-nav-tabs li label {
    padding: 16px;
    color: var(--global-font-color);
}

ul.learn-press-nav-tabs .course-nav {
    background: var(--bx-color-divider, #efefef);
    margin-right: 0.5% !important;
    text-align: center;
    border: 1px solid var(--bx-color-border, #e8e8e8);
    margin-bottom: -1px !important;
    border-bottom: 0;
}

ul.learn-press-nav-tabs .course-nav a {
    padding: 12px 30px 12px 45px !important;
    width: 100%;
    position: relative;
}

ul.learn-press-nav-tabs .course-nav.active {
    background: var(--bx-color-bg-elevated, #fff);
}

ul.learn-press-nav-tabs .course-nav a::after {
    position: absolute;
    left: 25px;
    font-size: 14px;
    height: 1em;
    background-color: currentcolor;
    -webkit-mask: var(--bx-icon-mask) center / contain no-repeat;
    mask: var(--bx-icon-mask) center / contain no-repeat;
    top: 18px;
}

.course-nav.course-nav-tab-overview a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-bookmark);
    width: 0.75em;
}

.course-nav.course-nav-tab-curriculum a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-cube);
    width: 1em;
}

.course-nav.course-nav-tab-instructor a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-user);
    width: 0.875em;
}

.course-nav.course-nav-tab-reviews a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-comments);
    width: 1.25em;
}

#learn-press-course-tabs .course-tab-panel {
    background: var(--bx-color-bg-elevated, #fff);
    border: 1px solid var(--global-border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    padding: 1em 1.2em;
}

.lp-single-course .course-price {
    margin-bottom: 15px;
}

.lp-single-course .course-price .price {
    color: var(--color-theme-primary);
}

#learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.learn-press-course-wishlist {
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-desc.section-desc {
    margin-top: 5px;
    line-height: normal;
}

.lp-content-area .comment-form-author,
.lp-content-area .comment-form-email,
.lp-content-area .comment-form-url {
    margin: 15px 0;
}

.lp-content-area .comment-form-cookies-consent {
    margin: 0 0 15px;
}

.lp-content-area #respond .comment-form .form-submit {
    margin-top: 15px;
}

@media only screen and (max-width: 1199px) {
    .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar.course-summary-sidebar {
        margin-top: 0;
        right: 0;
    }
    .course-summary .course-summary-sidebar.slide-down .course-summary-sidebar__inner.course-summary-sidebar__inner,
    .course-summary .course-summary-sidebar.slide-top .course-summary-sidebar__inner.course-summary-sidebar__inner {
        position: static;
    }
    #learn-press-course-tabs.course-tabs.course-tabs {
        margin-top: 0;
    }
}

@media only screen and (max-width: 449px) {
    ul.learn-press-nav-tabs .course-nav.course-nav {
        width: 100%;
    }
}


/*--------------------------------------------------------------
# Course Author
--------------------------------------------------------------*/

.course-author {
    margin-bottom: 10px !important;
}

.course-author .author-wrapper {
    padding: 1em;
    border: 1px solid var(--bx-color-border, #eee);
    overflow: hidden;
    margin-bottom: 10px !important;
}

.learn-press-message {
    margin-bottom: 0 !important;
}


/*--------------------------------------------------------------
# Review Tab
--------------------------------------------------------------*/

#learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-reviews.course-tab-panel-reviews {
    padding: 1em 1.2em;
    padding-top: 56px;
}

#review-form .review-fields,
#review-form .review-stars {
    padding: 0;
}

#review-form.review-form .close {
    margin-top: 0;
    margin-left: 5px;
}

#tab-reviews .review-author-info {
    float: left;
}

#tab-reviews .course-reviews-list li .review-title {
    margin: 0;
    line-height: normal;
}

#tab-reviews .review-author .avatar {
    border-radius: 100px;
}

#tab-reviews .course-reviews-list li .review-text {
    float: left;
    margin-top: 10px;
    width: 100%;
}

#tab-reviews .course-reviews-list li .user-name,
#tab-reviews .course-reviews-list-shortcode li .user-name {
    margin: 0;
    text-transform: capitalize;
}

#tab-reviews .course-reviews-list li,
.course-reviews-list-shortcode li {
    border-radius: var(--global-border-radius);
}

#tab-reviews .course-rate .review-bar {
    border-radius: var(--global-border-radius);
    margin: 0 5px;
    height: 10px;
}

#tab-reviews .course-rate .review-bar .rating {
    height: 10px;
    border-radius: var(--global-border-radius);
    background: var(--bx-color-warning);
}

@media only screen and (max-width: 959px) {
    /* ul.learn-press-courses {
        padding: 0 15px !important;
    } */
    .learn-press-search-course-form {
        margin: 15px !important;
    }
}

@media only screen and (max-width: 629px) {
    ul.learn-press-nav-tabs .course-nav a {
        padding: 12px 15px 12px 30px !important;
        font-size: 13px;
    }
    ul.learn-press-nav-tabs .course-nav a::after {
        left: 10px;
        top: 15px;
    }
}

@media only screen and (max-width: 449px) {
    ul.learn-press-nav-tabs .course-nav a {
        padding: 25px 10px 25px !important;
        font-size: 0;
    }
    ul.learn-press-nav-tabs .course-nav {
        width: 24.5%;
    }
    ul.learn-press-nav-tabs .course-nav a::after {
        left: 48%;
    }
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget .course-entry {
    padding-left: 0;
    margin-top: 15px;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}

.course-cover {
    max-width: 30%;
    margin-right: 5%;
}

.course-cover img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.course-detail {
    max-width: 65%;
}

.course-detail h3.course-title {
    clear: none;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 5px;
}

.widget .widget-footer {
    display: none;
}

.widget .course-meta-field {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--color-theme-primary);
}

.widget .course-detail .course-meta-data a,
.widget .course-detail .course-student-number,
.widget .course-detail .course-lesson-number {
    font-size: 11px;
    letter-spacing: 0.3px;
    color: var(--bx-color-fg-muted, #444);
}

.widget .course-detail .course-description {
    font-size: 13px;
    line-height: 18px;
}

.widget_lp-widget-course-info .lp-widget .lp-course-info-fields .lp-course-info .lp-label {
    background: var(--bx-color-accent-fill, var(--color-theme-primary));
    color: var(--bx-color-accent-fill-inverse, #fff);
}


/*--------------------------------------------------------------
# Course Progress
--------------------------------------------------------------*/

.learn-press-course-results-progress .items-progress,
.learn-press-course-results-progress .course-progress {
    margin-bottom: 20px !important;
    padding-right: 10px !important;
}

.learn-press-course-results-progress h4.lp-course-progress-heading {
    font-size: 18px;
    margin-bottom: 0 !important;
}

.lp-widget .course-remaining-time p {
    margin-top: 0 !important;
}

.learn-press-course-results-progress .learn-press-progress {
    margin-top: 5px;
}


/*--------------------------------------------------------------
# User Profile
--------------------------------------------------------------*/

.wrapper-profile-header.wrap-fullwidth {
    margin: 0;
}

.learn-press-course-tab-filters .learn-press-filters>li::after {
    margin: 0 25px;
}

.learn-press-filters>li a {
    cursor: pointer;
}

.learn-press-profile-course__tab__inner {
    margin-left: 0 !important;
}

#learn-press-user-profile {
    position: relative;
    border: 1px solid var(--global-border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    border-radius: var(--global-border-radius);
    margin-top: 1em;
    background: var(--color-theme-white-box);
}

#learn-press-user-profile #learn-press-profile-header {
    height: auto !important;
    overflow: hidden;
    width: 100%;
    border-radius: var(--global-border-radius) var(--global-border-radius) 0 0;
}

#learn-press-user-profile #learn-press-profile-header .lp-profile-avatar {
    position: unset !important;
}

#learn-press-user-profile #learn-press-profile-header .lp-profile-avatar img {
    border-radius: 100px;
    float: left;
    margin: 15px 20px;
}

#learn-press-user-profile.lp-user-profile .profile-name {
    float: left;
    position: unset;
    width: auto;
    text-align: left;
    font-size: 15px;
    text-transform: capitalize;
    margin: 43px 0;
}

#learn-press-user-profile #learn-press-profile-content {
    margin-top: 25px;
    padding-right: 25px;
    padding-bottom: 30px;
}

#learn-press-user-profile #learn-press-profile-nav .tabs>li a {
    padding: 15px 20px 15px 48px;
    border-top: 1px solid var(--bx-color-border, #eee);
    position: relative;
}

#learn-press-user-profile #learn-press-profile-nav .tabs>li a::after {
    position: absolute;
    left: 20px;
    font-size: 18px;
    height: 1em;
    background-color: currentcolor;
    -webkit-mask: var(--bx-icon-mask) center / contain no-repeat;
    mask: var(--bx-icon-mask) center / contain no-repeat;
    top: 20px;
}

#learn-press-profile-nav .tabs>li ul li.active a {
    color: unset !important;
}

.has-child .profile-tab-sections {
    padding: 0 !important;
}

#learn-press-profile-nav .tabs>li.dashboard a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-chart-line);
    width: 1em;
}

#learn-press-profile-nav .tabs>li.courses a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-graduation-cap);
    width: 1.25em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.owned a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-list);
    width: 1em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.purchased a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-cart-plus);
    width: 1.125em;
}

#learn-press-profile-nav .tabs>li.quizzes a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-puzzle-piece);
    width: 1em;
}

#learn-press-profile-nav .tabs>li.orders a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-calendar-check-regular);
    width: 0.875em;
}

#learn-press-profile-nav .tabs>li.settings a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-gears);
    width: 1.25em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.basic-information a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-address-card);
    width: 1.125em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.avatar a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-user);
    width: 0.875em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.change-password a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-unlock-keyhole);
    width: 0.875em;
}

#learn-press-profile-nav .tabs ul.profile-tab-sections li.publicity a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-share);
    width: 1em;
}

#learn-press-profile-nav .tabs>li.wishlist a::after {
    content: "";
    --bx-icon-mask: var(--bx-icon-heart);
    width: 1em;
}

#learn-press-profile-nav .tabs>li.active>a {
    background: var(--bx-color-bg-elevated, #fff) !important;
}

.lp-sub-menu {
    padding-left: 0 !important;
}

.lp-list-table thead tr th {
    background: var(--color-theme-primary) !important;
}

@media (max-width: 500px) {
    #learn-press-profile .wrapper-profile-header .lp-profile-right {
        padding-right: 0;
        padding-left: 0;
    }
}

@media only screen and (max-width: 480px) {
    #learn-press-user-profile #learn-press-profile-content {
        margin: 0;
        padding: 0 25px 25px;
    }
    #learn-press-profile-nav {
        width: 100% !important;
        z-index: 99999 !important;
        cursor: pointer;
    }
    #learn-press-profile-nav::before {
        display: none;
    }
    #learn-press-profile-nav #profile-mobile-menu {
        background: var(--bx-color-bg-muted, #F5F5F5);
    }
    #learn-press-profile-nav:hover #profile-mobile-menu {
        background: var(--color-theme-primary) !important;
    }
    #learn-press-profile-nav .tabs>li.active ul,
    #learn-press-profile-nav .tabs>li.active a,
    #learn-press-profile-nav .tabs>li:hover ul,
    #learn-press-profile-nav .tabs>li:hover a,
    #learn-press-profile-nav .learn-press-tabs {
        background: var(--bx-color-fg-muted, #b6b6b6) !important;
        z-index: 99;
    }
    #learn-press-user-profile .learn-press-courses.profile-courses-list {
        padding: 0 !important;
    }
    #learn-press-user-profile #learn-press-profile-nav .tabs>li a {
        padding: 10px 20px 10px 48px;
    }
    #learn-press-user-profile #learn-press-profile-nav .tabs>li a:hover {
        opacity: 0.9;
    }
    .lp-list-table th,
    .lp-list-table td {
        padding: 13px 5px !important;
        font-size: 13px !important;
        font-weight: 400;
    }
    .profile-recover-order input[name="order-key"] {
        width: auto !important;
        margin-bottom: 10px;
    }
}


/*--------------------------------------------------------------
# Profile Wishlist
--------------------------------------------------------------*/

#learn-press-profile-tab-course-wishlist ul.learn-press-wishlist-courses.learn-press-courses .course {
    text-align: center;
    padding-bottom: 25px !important;
}

#learn-press-profile-tab-course-wishlist .course-title h3 {
    padding: 15px;
    line-height: normal;
    margin: 0;
}

#learn-press-profile-tab-course-wishlist .learn-press-course-wishlist {
    width: auto;
    margin: 0 15px;
}


/*--------------------------------------------------------------
# Single Lession
--------------------------------------------------------------*/

@media only screen and (max-width: 640px) {
    body.course-item-popup #course-item-content-header .course-item-search {
        display: none !important;
    }
    #course-item-content-header .course-title {
        font-size: 15px !important;
    }
    #course-item-content-header,
    #course-item-content-footer {
        height: auto !important;
    }
    body.full-screen-content-item.course-item-popup.wpadminbar #learn-press-content-item,
    body.full-screen-content-item.course-item-popup.wpadminbar #learn-press-course-curriculum {
        top: 46px !important;
    }
    .course-item-lp_quiz .section-item-link {
        display: block !important;
    }
    .course-item-lp_quiz .item-name {
        padding-bottom: 0 !important;
    }
    .course-item-lp_quiz .course-item-meta {
        padding-top: 0!important;
        display: block !important;
    }
    .full-screen-content-item .content-item-wrap {
        padding-top: 120px;
    }
    #course-item-content-header .course-title {
        width: calc(100% - 215px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/*--------------------------------------------------------------
# Become Teacher
--------------------------------------------------------------*/

.become-teacher-form.become-teacher-form {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-bottom: 30px;
    padding: 1em;
    background: var(--color-theme-white-box);
    border: 1px solid var(--global-border-color);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
    border-radius: var(--global-border-radius) !important;
}
/* Contrast fixes: follow the active colour mode instead of LearnPress defaults.
   Crossed-out price (LearnPress sets opacity .6), the info notice and the
   base text colour behind the card read-more links (dark grey on dark). */
/* LearnPress sets opacity on .origin-price at up to five classes of
   specificity per screen; outrank them with a repeated class. */
body .course-item-price .origin-price.origin-price.origin-price.origin-price.origin-price,
body .course-price .origin-price.origin-price.origin-price.origin-price.origin-price {
    color: var(--bx-color-fg-muted);
    opacity: 1;
}

.learn-press-message.info,
.learn-press-message.info > div {
    color: var(--bx-color-fg);
}

/* LearnPress reads its base text colour (#333) for card links and buttons. */
html:root {
    --lp-color-base: var(--bx-color-fg);
}

/* LearnPress paints the Free price a light green, 2.66 to 1 on a white card. Darken the success token for text on light surfaces; dark surfaces use it as is. */
:root {
    --bx-color-price-free: color-mix(in srgb, var(--bx-color-success) 70%, rgb(0 0 0));
}

:root[data-bx-mode="dark"] {
    --bx-color-price-free: var(--bx-color-success);
}

body .learn-press-courses .course-price .free,
body .lp-single-offline-course .course-price .free,
body .lp-single-course .lp-single-course-main .course-price .free,
body .lp-single-course .course-summary-sidebar .course-price .free {
    color: var(--bx-color-price-free);
}

/* LearnPress paints the single-course sidebar blocks white; follow the surface token so dark mode stays readable. */
.lp-archive-courses .course-summary-sidebar__inner .course-sidebar-top,
.lp-archive-courses .course-summary-sidebar__inner .course-sidebar-secondary {
    background-color: var(--bx-color-bg-elevated);
}

/* LearnPress colours the single-course sidebar list links a mid grey, 3.15 to 1 on a dark card, so they follow the muted text token. */
html .lp-archive-courses .course-summary-sidebar__inner > div ul li a {
    color: var(--bx-color-fg-muted);
}

/* QA round 3: LearnPress paints these surfaces in fixed light colours and leaves bare
   buttons on the browser's light face, so light text lands on a light background in
   dark mode. The lesson popup reads --lp-bg-color-lesson; the rest are set below. */
html:root {
    --lp-bg-color-lesson: var(--bx-color-bg);
    --lp-color-accent: var(--bx-color-fg-muted);
}

/* :where() keeps this at the lowest specificity, so it only reaches buttons LearnPress leaves unstyled. */
:where(.learnpress-page, .lp-archive-courses, .lp-user-profile, #learn-press-profile) button {
    background-color: var(--bx-color-bg-elevated);
    border-color: var(--bx-color-border);
    color: var(--bx-color-fg);
}

html table.lp-list-table tbody tr:hover,
html #checkout-order tfoot tr:hover {
    background-color: var(--bx-color-bg-muted);
    color: var(--bx-color-fg);
}

html .lp-badge--enrolled,
html .lp-course-student-counter,
html a .lp-course-student-counter,
html .learnpress_avatar__form__upload,
html .lp-user-profile .lp-profile-nav-tabs li > ul,
html .lp-notes__card,
html .lp-notes__all .lp-notes__lesson,
html .lp-enrolled-students-table-footer .learn-press-pagination a.page-numbers {
    background-color: var(--bx-color-bg-elevated);
    color: var(--bx-color-fg);
}

html .lp-enrolled-students-table-footer .learn-press-pagination a.page-numbers:hover:not(.current) {
    background-color: var(--bx-color-bg-muted);
}

/* LearnPress washes the content white while a tab or filter loads; that flashed a grey panel over dark pages. */
html .lp-loading-change {
    background-color: color-mix(in srgb, var(--bx-color-bg) 60%, transparent);
}

html .lp-archive-courses.loading ul.learn-press-courses::after,
html .lp-archive-courses.loading ul.learn-press-courses::before {
    background: var(--bx-color-bg);
}

/* Profile tables: the "View" link was black and the status label grey on a dark page, and the
   coral header cell carried light text at 2.6 to 1. */
html table.lp-list-table tbody td a:not(.button):not(.lp-button) {
    color: var(--bx-color-link);
}

html table.lp-list-table .lp-label {
    color: var(--bx-color-fg-muted);
}

html table.lp-list-table thead th {
    color: var(--bx-color-fg-inverse);
}

/* LearnPress sets .lp-button { color: var(--lp-color-base) } (one class), which beats the theme's
   submit-button text token, so the Recover button read grey on the Theme Color in light mode (1.48 to 1). */
html .lp-button:where(button[type="submit"]) {
    color: var(--button-text-color);
}

/* LearnPress gives profile tables min-width: 768px. Beside a sidebar the profile column is about
   550px, so the Date column scrolled out of view. Let the table fit its column and keep the
   scroll wrapper as the fallback for very narrow screens. */
html .lp-profile-content table.lp-list-table {
    min-width: 0;
}

html .lp-profile-content table.lp-list-table :where(th, td) {
    padding-inline: 12px;
}
