﻿table {
    min-width: 400px;
    table-layout:auto;
}

td {
    vertical-align: top;
    padding:5px;
}

h1,h2,h3{
    padding-top:15px;
    font-size:1.2em;
}
label,th{
    font-weight:bold;
}
label {
/*    display:inline;
    margin-left:15px;*/
}
.button.hover, .button:hover {
    background: white;
    border: 2px solid #3264a6;
    color: #042d61;
}

.button {
    background: var(--gray);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.button:hover {
    text-decoration: none;
}

.button:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

a {
    color:#0A0203;
}

a:hover {
    text-decoration: underline;
    color: #1269D3;
}
.topMargin{
    margin-top:40px;
}
.w3-badge{
    padding-top:0px!important;
    width:25px!important;
}
.fixedWidthThreeColButton{
    width:350px;
    height:70px;
}

.smallButton{
    font-size:.75em;
    width:100px;
    padding:0;
}
th {
    font-size: 1.2em;
    background-color: #8f8d8d;
    color:white;
}

/* Accordion */
.accordionHeader {
    background-color: #8f8d8d;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 10px;
    cursor: pointer;
}

.accordionHeader a {
    color: #FFFFFF;
    background: none;
    text-decoration: none;
    font-size:1.2em;
}

    .accordionHeader a:hover {
        background: none;
        text-decoration: underline;
    }

.accordionHeaderSelected {
    background-color: #b0181b;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.accordionHeaderSelected a {
    color: #FFFFFF;
    background: none;
    text-decoration: none;
}

.accordionHeaderSelected a:hover {
    background: none;
    text-decoration: underline;
}

.accordionHeaderSelected h2 {
    color: white;
}

.accordionContent {
    border: 1px solid #2F4F4F;
    padding: 5px;
    padding-top: 10px;
}

/*Modal Popup*/
.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.modalPopup {
    padding: 5px;
    width: 300px;
    border: solid 1px black;
    background-color: #F3F5F7;
    /*margin-left:-500px;*/
}

.DragLabel {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
/*AutoComplete flyout */

.autocomplete_completionListElement {
    margin: 0px !important;
    background-color: white;
    color: windowtext !important;
    border: buttonshadow;
    border-width: 1px;
    border-style: solid;
    cursor: 'default';
    overflow: auto;
    height: 200px;
    text-align: left;
    list-style-type: none !important;
    background-image: none !important;
    cursor: pointer;
}

/* AutoComplete highlighted item */

.autocomplete_highlightedListItem {
    background-color: #ffff99 !important;
    color: black !important;
    padding: 1px !important;
    list-style-type: none !important;
    background-image: none !important;
}

/* AutoComplete item */

.autocomplete_listItem {
    background-color: window !important;
    color: windowtext !important;
    padding: 1px !important;
    list-style-type: none !important;
    background-image: none !important;
}

legend {
    font-size: 1.5em;
}

fieldset {
    border: 1px solid #ccc
}
.regStars{
    font-size:1em;
}
a:hover {
    color: #ED1C24!important;
}

/******[ tooltips ]******/
a.tt span {
    /*
	Use 'position:absolute' to push the span inside the anchor
	way off the screen
	*/
    position: absolute;
    left: -9999px;
    width: 900px;
    z-index:10;
}

a.tt:hover,
a.tt:focus,
a.tt:active {
    /*
	On 'hover' set the anchor to 'position:relative' to get a
	measuring point. Somehow IE doesn't like it when this is
	in the 'a.tt' declaration...
	*/
    position: relative;
}

    a.tt:hover span,
    a.tt:focus span,
    a.tt:active span {
        /*
	Take the previously hidden span and display it near the anchor
	*/
        left: 20px;
        top: 20px;
        width: 250px;
        padding: 5px 10px;
        line-height: 1.2;
        background: #FFFFF6;
        border: 1px solid #666;
        color: #000;
        text-decoration: none;
    }

.reportDescription {
    background: #F3F5F7;
    border: 1px solid #CCC;
    padding: 5px;
    max-width:800px;
    margin-bottom:15px;
}
.activePage {
    color: #ED1C24 !important;
    font-size:1.2em!important;
}
.dropdown nav-item{
    cursor:pointer;
}
.cbHeader {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 32px;
}


/*Added styles support Corey's mockups*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

    header img {
        height: 60px;
    }

nav {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
}

.contact-button {
    background-color: var(--red);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.main-wrapper {
    display: flex;
    padding: 20px 150px;
}

.left-column {
    flex: 2;
    padding-right: 20px;
}

.right-column {
    flex: 1;
    border-left: 3px solid var(--red);
    padding-left: 20px;
}

h1 {
    color: var(--red);
    font-size: 36px;
    margin: 20px 0;
}


input[type="checkbox"] {
    width: 25px;
    height: 25px;
}

.search button {
    background-color: var(--red);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.search{
    margin-right:20px;
}

.participant-box {
    margin-top: 20px;
    border-top: 20px solid var(--red);
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px;
}

.participant-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.participant-links {
    text-align: right;
}

    .participant-links a {
        display: block;
        color: var(--red);
        text-decoration: none;
        margin-bottom: 5px;
    }

.required-courses {
    margin-top: 20px;
}

    .required-courses table {
        width: 100%;
        border-collapse: collapse;
    }

th {
    background-color: #eee !important;
    color: #0A0203;
    padding: 5px;
    text-align: left;
    font-weight:bold;
}

.required-courses td {
    padding: 8px;
    border: 1px solid #000;
}

.navButton {
    display: block;
    width: 100%;
    margin-bottom: -5px;
    padding: 10px;
    background-color: #8f8d8d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
}
    .navButton:hover, .navButtonRed:hover {
        background-color: var(--white);
        color: var(--red);
        border: 2px solid var(--red);
        text-decoration: none !important;
    }
.navButtonRed {
    background-color: var(--red);
    display: block;
    width: 100%;
    margin-bottom: -5px;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
}

.searchResultName {
    font-weight: bold;
    color: var(--red);
    font-size: 1.2em;
}
.topAndBottomBordered {
    padding: 20px;
    border-top: 5px solid black;
    border-bottom: 5px solid black;
}
.btn.btn-danger:hover {
    background-color: #CC0000 !important;
    border: solid 2px #CC0000 !important;
    color: #ffffff !important;
    font-size:1.2em;
}
.courseDisciplineHeader {
    background-color: var(--red);
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

.course {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 10px;
}
.course-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom:5px;
}
.course-details {
    text-align: right;
}


/*VP Supporting styles from Corey*/
/* Global Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400&family=Merriweather:wght@400;700&display=swap');

/* Color Palette */
:root {
    --black: #0A0203;
    --light-gray: #D8D8D8;
    --red: #CC0000;
    --gray: #6D6E71;
    --white: #FFFFFF;
}

/* Body Styles */
body {
    margin: 0;
    padding: 0 40px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--black);
}

/* Header & Navigation */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 3px solid var(--red);
}

.header-left {
    display: flex;
    align-items: center;
}

    .header-left img {
        height: 60px;
        margin-right: 20px;
    }

nav {
    display: flex;
    align-items: center;
}

    nav a {
        margin: 0 10px;
        text-decoration: none;
        color: var(--black);
        font-size: 16px;
    }

/* Contact Button */
.contact-btn {
    background-color: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    margin-left: 15px;
    cursor: pointer;
}

/* Headings */
h1 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 55px;
    color: var(--red);
    background: transparent url(../img/Watermark_small.png) no-repeat left bottom;
    padding-left: 100px;
    padding-top:30px;
}

h2 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 38px;
}

h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 32px;
}

h4 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 24px;
}

h5 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 18px;
}

h6 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 16px;
}

/* Instructions Section */
.instructions {
    margin-top: -15px;
}

    .instructions ol {
        padding-left: 20px;
    }

/* Accordions */
.accordion {
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 32px; /* Matches H3 size */
    color: var(--white);
    padding: 10px 20px;
    margin: 10px 0;
}

    .accordion:not(.active) {
        background-color: var(--gray);
    }

    .accordion.active {
        background-color: var(--red);
    }

/* Accordion Panels */
.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    border: 2px solid var(--black);
    background-color: var(--white);
}

    .panel.open {
        padding: 20px;
        max-height: 1000px;
    }

/* Forms & Inputs */
label, .form-section p {
    margin-top: 10px;
}

input[type="text"] {
    padding: 8px;
    margin: 5px 0 15px;
    min-width: 250px;
    font-size: 16px;
}

/* Action Buttons (Search/Add) */
.search-btn, .add-btn {
    background-color: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* General Buttons for State Styling */
button {
    border: none;
    cursor: pointer;
}

    button:not(.selected) {
        background-color: var(--gray);
        color: var(--white);
        font-family: 'Merriweather', serif;
        font-weight: 700;
        font-size: 32px;
    }

    button.selected {
        background-color: var(--red);
        color: var(--white);
    }

/* Checkbox */
.checkbox {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 16px;
}

    .checkbox input {
        margin-right: 10px;
    }
.scroll-box {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}
:root {
    --red: #CC0000;
    --gray: #808080;
    --light-gray: #f4f4f4;
}
/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 5px solid var(--red);
}
.dg_header {
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 5px solid var(--red);
}

.header img {
    height: 55px;
}

.nav a {
    margin: 0 10px;
    font-size: 15px;
    font-weight: bold;
}

.contact-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
/* Layout */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.columns {
    display: flex;
    gap: 20px;
}

.left {
    flex: 3;
}

.right {
    flex: 1;
}
/* Course header */
.course-id {
    font-size: 3em;
    color: var(--red);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars span {
    font-size: 20px;
}

.left h2 {
    margin: 5px 0;
}
/* Buttons */
.gray-btn {
    background: var(--gray);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

    .gray-btn + .gray-btn {
        margin-left: 5px;
    }

.assign-section {
    margin-bottom: 20px;
}
/* Collapsible */
.collapsible {
    background: var(--gray);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

    .collapsible.active {
        background: var(--red);
    }

.content {
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    background: var(--light-gray);
    border: 1px solid #ccc;
    max-height: 2000px;
    padding: 10px;
}

    .content.closed {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
/* Scrollable box */
.scroll-box {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}
/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

th, td {
    padding: 5px;
    font-size:.9em;
}

th {
    background: #eee;
    font-weight:bold;
    font-size:1em;
}
.selected_row td {
    background-color: var(--gray);
    color: var(--white);
}
/* Sidebar */
.side-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-family: "Lato Bold";
}
    .side-btn:hover {
        background: var(--white) !important;
        color: var(--red) !important;
        text-decoration:none;
    }

    .side-btn.red {
        background: var(--red);
    }

    .side-btn svg {
        flex-shrink: 0;
    }

.take-test-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    display: block;
    text-align: center;
}
h2 {
    color: var(--red);
    margin-top: 0;
}
@media screen and (min-width: 768px) {
    .topDividerBorder {
        border-top: 5px solid var(--red);
        padding-top: 20px;
    }

    .rightDividerBorder {
        border-left: 5px solid var(--red);
    }
}
.boldButton{
    font-weight:bold;
    color: var(--red)
}
caption {
    color: var(--red);
    font-size: 1.5em;
    font-family: 'Merriweather', serif;
}
/*VP Supporting styles from Corey*/
/*Pager*/
.gv_pager table {
    margin: auto;
}

.gv_pager .gv_pager_row {
    display: flex;
    justify-content: center;
}

.gv_pager a,
.gv_pager span {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #8f8d8d;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}

.gv_pager span {
    z-index: 2;
    color: #fff;
    background-color: #8f8d8d;
    border-color: #8f8d8d;
}

.gv_pager a:hover {
    z-index: 2;
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.gv_pager a:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .25);
}
/*End pager*/

/*Calendar*/
.calendar-container {
    width:100%;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
}

.calendar-header {
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px;
}

.days-grid, .weekdays-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.weekday {
    padding: 5px;
    font-weight: bold;
}

.day {
    padding: 10px;
    border: 1px solid #eee;
}

    .day.today {
        background-color: lightblue;
        font-weight: bold;
    }

.empty-day {
    background-color: #f9f9f9;
}
.customCalendarItem {
    border: solid 1px black;
}
.siteProgramDueCalendarItem {
    background-color: gray;
}
.HEDUProgramDueCalendarItem {
    background-color: black;
    color:white;
}
.inserviceCalendarItem {
    background-color: pink;
}
.individualCalendarItem {
    background-color: orange;
}
/*End Calendar*/

/*Dashboard*/
.dashBoardLink{
    font-size:.75em;
    color:lightgray;
}
.rowHeight {
    height: 200px;
}
.rowHeight2 {
    height: 415px;
}
.card-margin {
    margin-bottom: 15px;
}
.bigText {
    color: black;
    font-size: 6em;
    text-align: center;
}
.bigText2 {
    color: black;
    font-size: 3em;
    text-align: center;
}
.bigText3 {
    color: black;
    font-size: 2.5em;
    text-align: center;
}
.bigText4 {
    color: black;
    font-size: 2em;
    text-align: center;
}
.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Container for the element that will have the tooltip */
.tooltip {
    /* Hides the tooltip by default */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Basic styling */
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    /* Positions the tooltip relative to the viewport */
    position: absolute;
    z-index: 1000; /* Ensure it's on top of everything */
    max-width:600px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/*End Dashboard*/
.alwaysUnderlinedLink {
    text-decoration: underline !important;
    color: var(--red);
}
.cbContent {
    margin: 25px 0;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 15px;
    background: #f8f8f8;
}
.course, .course2 {
    line-height: 1em;
    border-top: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

div.accordionHeader > h2{
    color:white;
    font-size:1.2em;
}
td > a {
    text-decoration: underline;
}
.smaller{
    font-size:1em;
}
.contactHeading{
    color:black;
    font-size:1.5em;
}


/* Test attempt tweaks, target the span containing the radio and label */
span[data-index] {
    display: flex;
    align-items: flex-start; /* Keeps radio at the top of the first line */
    margin-bottom: 8px;
}

    /* Add some breathing room between the dot and the text */
    span[data-index] input[type="radio"] {
        margin-top: 5px; /* Aligns dot vertically with first line of text */
        margin-right: 10px;
        flex-shrink: 0; /* Prevents the radio button from squishing */
    }

    span[data-index] label {
        margin-bottom: 0;
        margin-top: -5px;
        cursor: pointer;
    }