:root{
  --courseOffcanvasWidth: 400px; /* match your offcanvas width */
}

/* Vertical edge tab */
.course-outline-tab-vertical{
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 1060;
  transform:
    translateX(-30px)
    rotate(-90deg);
  transform-origin: right center;
  height: 60px;

  border-top-right-radius: 20px !important;
  border-top-left-radius: 20px !important;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  white-space: nowrap;

  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.construction {
    background-color: #ffd566;
    color: #000;
    border: solid 6px #000;
}

.constructiondropdown {
    background-color: #ffd566;
        color: #000;
}



/* Slide the tab out with the offcanvas */
.course-outline-tab-vertical.is-open{
  transform:
    translateY(-50%)
    translateX(calc(var(--courseOffcanvasWidth)))
    rotate(-90deg);
}

/* Mobile: offcanvas is usually full width */
@media (max-width: 576px){
  :root{
    --courseOffcanvasWidth: 100vw;
  }
}

.course-outline-tab-vertical{
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
  

/* transparent offcanvas so cards appear to sit "on the page behind" */
  .course-outline-offcanvas {
    background-color: rgba(238, 238, 238, 0.9);
    border-left: 0 !important;
    overflow-y: scroll;
  }

  /* make the default dim overlay transparent as well */
  .offcanvas-backdrop.show {
    opacity: 0 !important;
  }

  /* card styling */
  .course-outline-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    cursor: pointer;
  }

  .course-outline-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.20);
  }

  /* ensure link doesn't show underline or colour changes */
  .course-outline-card a.stretched-link {
    text-decoration: none;
  }

  /* make sure all offcanvas text is dark (your requirement) */
  .course-outline-offcanvas,
  .course-outline-offcanvas .offcanvas-title,
  .course-outline-offcanvas .offcanvas-body {
    color: #111 !important;
  }

#rubricTableU3O1T1 tbody tr { transition: background-color 0.25s ease; 
}

#rubricTableU3O1T1 tbody tr.is-highlight-u3o1-t1 { background-color: rgba(255, 255, 255, 0.2); 
}

/* U3O1 Task 2 rubric highlight (matches your existing behaviour) */
#rubricTableU3O1T2 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableU3O1T2 tbody tr.is-highlight {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableU3O1T2 tbody tr.is-highlight th,
#rubricTableU3O1T2 tbody tr.is-highlight td {
  color: #fff;
}

#rubricTableU3O1T3 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableU3O1T3 tbody tr.is-highlight-u3o1-t3 {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableU3O1T4 tbody tr.is-highlight-u3o1-t4 {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableU3O1T4 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableU3O1T5 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableU3O1T5 tbody tr.is-highlight-u3o1-t5 {
  background-color: rgba(255, 255, 255, 0.2);
}



#rubricTableT1 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableT1 tbody tr.is-highlight-t1 {
  background-color: rgba(255, 255, 255, 0.2);
}


/* Smooth fade */
#rubricTable tbody tr {
  transition: background-color 0.25s ease;
}

/* Highlighted row */
#rubricTable tbody tr.is-highlight {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Optional: keep text readable on highlight */
#rubricTable tbody tr.is-highlight th,
#rubricTable tbody tr.is-highlight td {
  color: #fff;
}

#rubricTableT2 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableT2 tbody tr.is-highlight-t2 {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableT3 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableT3 tbody tr.is-highlight-t3 {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableT4 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableT4 tbody tr.is-highlight-t4 {
  background-color: rgba(255, 255, 255, 0.2);
}

#rubricTableT5 tbody tr {
  transition: background-color 0.25s ease;
}

#rubricTableT5 tbody tr.is-highlight-t5 {
  background-color: rgba(255, 255, 255, 0.2);
}

.rubric-hover-table th,
.rubric-hover-table td {
  transition: background-color 0.25s ease;
}

.rubric-hover-table tr.rubric-row-highlight th,
.rubric-hover-table tr.rubric-row-highlight td,
.rubric-hover-table .rubric-column-highlight {
  background-color: rgba(255, 255, 255, 0.2) !important;
}


.veryround {
    border-radius: 20px;
}


ul.timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding-left: 0;
}

ul.timeline:before {
content: "";
    position: absolute;
    left: 29px;
    top: 24px;
    width: 2px;
    height: calc(100% - 100px);
    background: #fff;
    z-index: 1;
    opacity: 0.9;
}

ul.timeline > li {
  position: relative;
  margin: 20px 0;
  padding-left: 60px;
  color: #fff;
}

ul.timeline > li:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #fff;
    z-index: 2;
}

.tools-btn {
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.tools-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tools-btn:active {
    background-color: rgba(255, 255, 255, 0.2);
}




.carousel-control-prev-icon {
 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.show {
  display: block !important;
}


body {
    font-size: .8rem;
    background-color: #eee;
    font-family: 'K2D', sans-serif !important;  
}

.nav-link {
    width: 100%;
    height: 140px;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #000;
    background-color: #eee;
    transition: background-color 0.5s;
}

.nav-item {
    width: calc(100% / 6);
}

.nav-item-7 {
    width: calc(100% / 7);
}

.nav-item-8 {
    width: calc(100% / 8);
}

.nav-icons {
    width: 40px;
    margin-bottom: 15px;
}

.nav-pills {
    padding: 1rem;
}

.nav-link {
    color: #000;
    opacity: 60%;
    
}

.mobileheading {
    display: none;
}

.nav-link:focus, .nav-link:hover {
    color: #333;
    opacity: 100%;
    transition: opacity 0.5s;
    
}

.accordion-body {
    box-shadow: inset 1px 4px 10px -6px;
}

.lead {
    font-size: 12pt;
    text-transform: uppercase;
}


.container {
    background-color: #fff;
    padding: .25rem;
    border-radius: 20px;
}

.subfield {
    background-color: rgba(0,0,0,0.1);
    margin: 5px;
    border-radius: 15px;
    height: 100%;
    padding: 10px;
}

.videopopover {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.videopopover:hover {
    background-color: #e4a545;
}

.videopopover1 {
    float: right;
    background-color: #ffc368;
    padding: 10px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.videopopover1:hover {
     background-color: #e4a545;
}

.resource1 {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: -20px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.resource1:hover {
    background-color: #e4a545;
}

.resource {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.resource:hover {
    background-color: #e4a545;
}

.resource-sub {
    float: right;
    background-color: #ffc368;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -15px;
}

.resource-sub:hover {
    background-color: #e4a545;
}

.soundplay {
    float: right;
    background-color: #ffc368;
    padding: 1px;
    border-radius: 5px;
    margin-right: 5px;
    text-decoration: none !important;
    color: #fff !important;
    margin-top: -10px;
}

.soundplay:hover {
    background-color: #e4a545;
}

.megatitle {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
}

.bigtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
}

.border-bottom {
    border-style: dotted !important;
}

.littletitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
}

.tinytitle {
    font-size: 1rem;
    text-transform: uppercase;
    font-family: 'K2D', sans-serif !important;
    line-height: 0px;
    padding-bottom: 1.5rem !important;
}

.accordion-item {
    border: none !important;
}

.subcontainer {
    border-radius: 10px;
}

.accordion-body {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.accordion-button {
    padding: 2rem !important;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none !important;
    color: #fff;
}

.popover {
  border: 0 !important;
  background-color:rgba(255, 255, 255, 0.8) !important;
}

.popover-header {
  border: 0 !important;
  background-color:rgba(255, 255, 255, 1) !important;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: 'K2D', sans-serif !important;
}

    .buttonhover {
	background: none !important;
    color: #fff !important;
}

.modal-btn {
    float: right;
    margin-top: -50px;
    border-radius: 40px;
    padding: 3px;
    padding-right: 10px;
    padding-left: 10px;
}

    .buttonhover {
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

    .buttonhover:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}


    @media (min-width: 768px) {
.container, .container-md, .container-sm {
    max-width: 1200px!important;
        }
    }
    @media (min-width: 576px) {
.container, .container-sm {
    max-width:  1200px !important;
}
    }


    @media (max-width: 1200px) {
.halfonsmall {
    min-width: 225px!important;
        }
    }

    @media (max-width: 700px) {
.nav-item {
        width: calc(100% / 6);
}

.sticky {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 1;
    background-color: inherit;
    box-shadow: 0px 6px 6px -6px;
    width: 100%;
    transition: all .5s ease-in-out;
}

.contentdrop {
    top: 100px;
}

.mobileheading {
    display: block;
    padding: 10px; 
    text-align: center;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
}

.heading {
    font-size: 12pt;
} 
       
.nav-link {
        height: 60px;
    display: inline-block;
}

.nav-text {
    display: none;
}

.nav-icons {
    margin-bottom: 5px;
        }
}


#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #5CAEE0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




.unitItem {
        transition: opacity 0.5s ease-in-out;
}

.shadow {
    box-shadow: 0 0rem 2rem rgba(0,0,0,.8)!important;
}

/* ACCORDION ===========================================================================================  */

.subcontainerdark {
    background-color: rgba(0,0,0,0.1);
}

.btn:focus {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed)::after {
        background-image: url(images/arrow.svg);
        transform: rotate(-60deg);
        }

.accordion-button:not(.collapsed) {
    background-color: #a1b5c0;
    color: #fff !important;
}

.accordion-button::after {
    width: 50px;
    height: 50px;
    background-size: 50px;
    background-image: url(images/arrow.svg);
    margin-right: -6px;
    margin-top: -26px;
    margin-bottom: -26px;
    }

/* COLOURS UNIT 1 ===========================================================================================  */

.taskbody {
    background-color: #7f5ba6 !important;
}

.accordion-body taskbody {
    background-color: #7f5ba6;
}

.taskbodydropdown {
    background-color: #694691;
    color: #fff;
    box-shadow: inset 0 0 15px 0px rgba(0,0,0,0.2);
}

.taskbody:focus {
        background-color: #7f5ba6;
}

/* COLOURS UNIT 2 ===========================================================================================  */

.taskbodyu2 {
    background-color: #347096 !important;
}

.accordion-body taskbodyu2 {
    background-color: #347096;
}

.taskbodydropdownu2 {
    background-color: #235574;
    color: #fff;
    box-shadow: inset 0 0 15px 0px rgba(0,0,0,0.2);
}

.taskbodyu2:focus {
        background-color: #4da6e2;
}

/* COLOURS UNIT 3 ===========================================================================================  */

.taskbodyu3 {
    background-color: #e94b8b !important;
}

.accordion-body taskbodyu2 {
    background-color: #e94b8b;
}

.taskbodydropdownu3 {
    background-color: #c03a71;
    color: #fff;
    box-shadow: inset 0 0 15px 0px rgba(0,0,0,0.2);
}

.taskbodyu3:focus {
        background-color: #e94b8b;
}



