﻿:root {
    --unread-message-block: #D60000; /* Bright red */
    --unread-message-count: #ffffff; /* white */
    --welcome-user-bg: #263f75;
    --welcome-user-bg-hover: #2d497f;
    --welcome-user-text: #ffffff;
    --welcome-user-border: rgba(255, 255, 255, 0.22);
    --welcome-user-avatar-bg: rgba(255, 255, 255, 0.18);
    --welcome-user-menu-radius: 10px;
}

body {
    padding-bottom: 0px;
    overflow: hidden;
}

/*in Main.css margin at bottom is being added causing overflow for PRO pages so we are removing it here */
form {
    margin-bottom: 0;
}

div {
    --athletics-theme-color: #002E60;
    --athletics-theme-color-dark: #001B3E;
    --fine-arts-theme-color: #AB1D37;
    --fine-arts-theme-color-dark: #53001E;
    --menu-controller-bg-color: #ffffff;
}

button {
    outline: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.button2 {
    font-family: Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold;
    color: white !important;
    background: none !important;
    background-color: #757575 !important;
    padding: 5px 20px !important;
    height: unset !important;
    border: 0px !important;
    width: auto;
    cursor: pointer;
    border-radius: 7px;
}

.rootWrapper {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

#page_container {
    position: relative;
    min-height: unset;
}

.header {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 10vh;
    background-color: var(--athletics-theme-color);
}

.pageHeader {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.minibackheader {
    padding: 5px;
    box-shadow: var(--box-shadow-1);
    padding: 10px;
    background-color: #002E62;
    color: white;
    font-size: large;
    position: relative;
    border-radius: 15px 15px 0px 0px;
    font-weight: bold;
}

.headerLeftSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    -webkit-text-decoration: none;
    text-decoration: none;
    flex-wrap: wrap;
    line-height: normal;
}

    .headerLeftSection img {
        height: 8vh;
        transition: height 0.3s ease-in-out;
    }

    .headerLeftSection .header-search {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 180px;
        border-radius: 5px;
        padding: 2px 8px;
        background-color: rgba(255,255,255,0.2);
    }

.header-search input {
    border: none;
    outline: none;
    background-color: transparent;
    color: #FFFFFF;
    font-size: 16px;
    width: 100%;
}

    .header-search input::placeholder,
    .header-search > .fa-search:before {
        color: #FFFFFF;
    }

    .header-search input:focus {
        border: none;
        outline: none;
    }


.headerLeftSection:hover, .headerLeftSection:focus {
    -webkit-text-decoration: none;
    text-decoration: none;
}

.headerLeftSection span:last-child {
    color: #d9ab58;
    font-size: 21px;
}

.headerLeftSection span:first-child {
    margin-right: 10px;
    font-size: 30px;
    font-weight: 600;
    word-break: keep-all;
}

.hamburger_icon {
    display: none;
    max-width: 30px;
    aspect-ratio: 1;
}

.hamburger_icon_none {
    display: none;
}

.headerRightSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: max-content;
}

.headerRightSectionMobile {
    display: none;
}

.headerRightSection_none {
    display: none;
}

.headerRightSection img {
    width: 20px;
    aspect-ratio: 1;
}

.headerRightSection > a {
    color: #FFFFFF;
    -webkit-text-decoration: none;
    text-decoration: none;
    font-size: 18px;
}

.headerRightSection > span {
    color: #FFFFFF;
    font-size: 18px;
}

.headerRightSection select {
    color: #FFFFFF;
    -webkit-text-decoration: none;
    text-decoration: none;
    padding: 2px 20px;
    font-size: 18px;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.3);
    appearance: none;
    -moz-appearance: none;
    outline: none;
    text-align: left;
    font-weight: 600;
    font-size: 18px !important;
    border: none;
}

.notification-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sub-menu-trigger-wrapper {
    position: relative;
}

#subMenuPopUp {
    display: none;
}

.sub-menu-dropdown-wrapper {
    position: absolute;
    top: 9vh;
    right: 0;
    left: auto;
    bottom: 0;
    z-index: 1001;
    width: 280px;
    height: fit-content;
    border-radius: 15px;
    background-color: #e6e6e6;
    border: 2px solid #b9b5b5;
    padding: 15px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.sbdw-item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 46.5%;
    aspect-ratio: 1;
    text-decoration: none;
    border-radius: 10px;
    gap: 10px;
    cursor: pointer;
}

    .sbdw-item span {
        display: block;
        text-align: center;
    }

        .sbdw-item span:first-child {
            font-size: 50px;
            width: 75px;
            height: 75px;
            aspect-ratio: 1;
        }

.student_Management_svg {
    width: 40px !important;
    height: 40px !important;
}

.sbdw-item span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #757575;
}

.pageBody {
    margin-top: 10vh;
    height: 90vh;
    overflow: auto;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    bottom: 0;
    z-index: 1001;
    height: max-content
}

.nav-item {
    padding: 10px 20px;
}

    .nav-item a {
        font-size: 16px;
        font-weight: 600;
        color: #757575 !important;
    }

.pro-master-navlink {
    display: flex !important;
    align-items: center;
}

    .pro-master-navlink svg {
        margin-right: 10px;
    }

.nav-item span {
    font-size: 16px;
    font-weight: 600;
    color: #757575;
    display: block;
    margin-bottom: 10px;
}

.nav-item select {
    color: #FFFFFF;
    -webkit-text-decoration: none;
    text-decoration: none;
    padding: 2px 20px;
    font-size: 18px;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.3);
    appearance: none;
    -moz-appearance: none;
    outline: none;
    text-align: left;
    font-weight: 600;
    font-size: 18px !important;
    border: none;
    display: block;
}

.nav:first-child .nav-item:first-child a {
    font-size: 20px;
    color: black;
}

.sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #eee;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height: 100%;
    transition: width 0.3s ease;
}

.incoming-transfer-link {
    display: flex !important;
    align-items: center !important;
    height: 20px !important;
}

.incoming-transfer-badge-wrapper {
    margin-bottom: 0px !important;
    margin-left: 5px !important;
    display: flex !important;
}

.incoming-transfer-badge-icon {
    color: var(--unread-message-block) !important;
    margin-bottom: 0px !important;
    align-items: center !important;
    font-size: 12px !important;
}

.incoming-transfer-badge-circle {
    font-size: 25px !important;
}

.incoming-transfer-badge-count {
    color: white !important;
    font-weight: 500 !important;
    font-size: 11px !important;
}

@media (min-width: 900px) {
    .sidebar.collapsed {
        width: 100px;
    }


        .sidebar.collapsed .nav-item .nav-link {
            justify-content: center;
        }

        .sidebar.collapsed .nav-item .expand-sub-menu {
            display: none;
        }

        .sidebar.collapsed .nav-item .sidebar-subMenu {
            display: none !important;
        }

        .sidebar.collapsed .nav-item .horizontalSeparator {
            margin: 0 auto;
        }

        .sidebar.collapsed .nav-item .nav-link span {
            display: none;
        }

        .sidebar.collapsed .nav-item a i {
            margin-right: 0;
        }

        .sidebar.collapsed .nav-item a svg {
            margin-right: 0;
        }
}

.sidebar .nav-item .nav-link span {
    margin-bottom: 0;
    white-space: nowrap;
}

.sidebar .nav-item:hover .nav-link span {
    color: var(--athletics-theme-color);
}

.sidebar .nav {
    width: 100%;
}

.sidebar .menu-controller {
    position: absolute;
}

.sidebar .nav > li > a:focus {
    background-color: transparent;
}

.sidebar .nav_with_mob_options {
    display: none;
    width: 100%;
}

.sidebar .nav > li > a:focus {
    background-color: transparent;
}

.sidebar .nav-item.active a i {
    color: #d9ab58;
}

.sidebar .nav-item.active a:hover {
    color: #d9ab58;
}

.sidebar .nav-item.active a {
    color: #d9ab58;
    background-color: #eee;
}

.sidebar .nav-item a i {
    font-size: 20px;
    margin-right: 10px;
}

.sidebar-subMenu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
}

    .sidebar-subMenu a {
        color: #757575;
        font-weight: 500;
        padding-left: 30px;
        display: block;
        width: 100%;
        text-align: left;
        font-size: 14px;
        text-decoration: none;
        margin: 6px 0;
    }

.content-with-sidebar {
    margin-left: 250px;
    height: 100%;
    padding: 10px;
    overflow-y: auto;
    transition: margin-left 0.3s ease;
}

@media (min-width: 900px) {
    .sidebar.collapsed ~ .content-with-sidebar {
        margin-left: 100px; /* Remove margin when sidebar is collapsed */
    }
}

.content-without-sidebar {
    width: 100%;
    overflow-y: auto;
    height: 100%;
    overflow-y: auto;
    padding: 10px;
}

.quickLinks {
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    min-height: 400px;
}

@media (max-width: 768px) {
    .quickLinks {
        height: auto;
    }
}

.quickLinks h3 {
    margin-bottom: 30px;
    color: #ffffff;
}

.quickLinks a {
    font-weight: 600;
    color: #ffffff;
}

.theme-athletics .quickLinks a,
.theme-athletics .quickLinks h3 {
    color: #ffffff;
}

.headerLeftSection span:first-child {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.skiptranslate {
    display: none !important;
}

.flag-icon {
    margin-right: 5px;
}
/*
.badge {
    position: absolute;
    margin-left: -5px;
    margin-top: -10px;
    background-color: #45c75b;
}*/

.horizontalSeparator {
    border-top: 2px solid #d8d8d8;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 50%;
}

.sidebar-subMenu {
    display: none;
}

/* Theme specific styles*/
.theme-athletics .header,
.theme-athletics .quickLinks,
.theme-athletics .primarycolorbg,
.theme-athletics tr th,
.theme-athletics #cph_Main_cmd_Submit,
.theme-athletics #cph_Main_cmd_View,
.theme-athletics #cph_Main_cmdSaveAdvSettings,
.theme-athletics #cph_Main_cmdSave,
.theme-athletics #cph_Main_cmd_Take_Attendance,
.theme-athletics #cph_Main_btn_ViewAll {
    background-color: var(--athletics-theme-color) !important;
}

.theme-athletics .primarycolorbg-dark {
    background-color: var(--athletics-theme-color-dark) !important;
}

.theme-athletics ul > li:hover > a,
.theme-athletics ul > li:hover > a > svg,
.theme-athletics .active-menu-item,
.theme-athletics .sbdw-item-icon,
.theme-athletics .student_Management_svg {
    color: var(--athletics-theme-color) !important;
}

.theme-fine-arts .header,
.theme-fine-arts .quickLinks,
.theme-fine-arts .primarycolorbg,
.theme-fine-arts tr th,
.theme-fine-arts #cph_Main_cmd_Submit,
.theme-fine-arts #cph_Main_cmd_View,
.theme-fine-arts #cph_Main_cmdSaveAdvSettings,
.theme-fine-arts #cph_Main_cmdSave,
.theme-fine-arts #cph_Main_cmd_Take_Attendance,
.theme-fine-arts #cph_Main_btn_ViewAll {
    background-color: var(--fine-arts-theme-color) !important;
}

.theme-fine-arts .RadCalendar_Default .rcTitlebar {
    color: var(--fine-arts-theme-color) !important;
}

.theme-fine-arts .primarycolorbg-dark {
    background-color: var(--fine-arts-theme-color-dark) !important;
}

.theme-fine-arts ul > li:hover > a,
.theme-fine-arts ul > li:hover > .nav-link span,
.theme-fine-arts ul > li:hover > a > svg,
.theme-fine-arts .active-menu-item,
.theme-fine-arts .sbdw-item-icon,
.theme-fine-arts .student_Management_svg {
    color: var(--fine-arts-theme-color) !important;
}

/* Welcome user profile theme colors */
.theme-athletics {
    --welcome-user-bg: #263f75;
    --welcome-user-bg-hover: #2d497f;
    --welcome-user-border: rgba(255, 255, 255, 0.22);
    --welcome-user-avatar-bg: rgba(255, 255, 255, 0.18);
}

.theme-fine-arts {
    --welcome-user-bg: #9E1B32;
    --welcome-user-bg-hover: #7F1628;
    --welcome-user-border: rgba(255, 255, 255, 0.22);
    --welcome-user-avatar-bg: #7F1628;
}

#spnUnreadCount {
    color: var(--welcome-user-text) !important;
}

.mobileViewMode {
    display: none;
}

body {
    padding-bottom: 0px;
}

.theme-athletics .minibackheader {
    background: var(--athletics-theme-color) !important;
}

.theme-fine-arts .minibackheader {
    background: var(--fine-arts-theme-color) !important;
}

@media screen and (max-width: 900px) {
    .headerRightSection {
        display: none;
    }

    .headerRightSectionMobile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        width: max-content;
    }

    .headerLeftSection span:last-child {
        font-size: 20px !important;
    }

    .headerLeftSection span:first-child {
        font-size: 26px !important;
    }

    .hamburger_icon {
        display: block;
        min-width: 40px;
        aspect-ratio: 1;
        background-color: transparent;
        border: none;
        outline: none;
        padding: 0;
    }

        .hamburger_icon > img {
            width: 100%;
            height: 100%;
        }

    /*    .sidebar {
        position: fixed;
        display: none;
    }*/

    .sidebar .nav_with_mob_options {
        display: block;
    }

        .sidebar .nav_with_mob_options #mobileHeaderForTranslate .bootstrap-select.fit-width {
            width: 100% !important;
        }

    .content-with-sidebar {
        width: calc(100% - 0rem);
        margin-left: 0;
    }

    .content-without-sidebar {
        width: calc(100% - 0rem);
        margin-left: 0;
    }

    .header {
        padding: 5px;
    }

    .headerLeftSection span:last-child {
        font-size: 18px !important;
    }

    .headerLeftSection span:first-child {
        font-size: 24px !important;
    }

    .mobileViewMode {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

        .mobileViewMode span {
            color: #FFFFFF;
            font-size: 14px;
        }

        .mobileViewMode select {
            color: #FFFFFF;
            -webkit-text-decoration: none;
            text-decoration: none;
            padding: 2px 20px;
            font-size: 18px;
            border-radius: 5px;
            background-color: rgba(0,0,0,0.3);
            appearance: none;
            -moz-appearance: none;
            outline: none;
            text-align: left;
            font-weight: 600;
            font-size: 14px !important;
            border: none;
            padding: 4px 10px;
        }
}

@media screen and (max-width:400px) {
    .headerLeftSection span:last-child {
        font-size: 14px !important;
    }

    .headerLeftSection span:first-child {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    .deleteModal {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: -250px;
        transition: transform 0.3s ease-in-out;
    }

        .sidebar.show {
            display: block;
            left: 0;
        }

    .content-with-sidebar {
        width: calc(100% - 0rem) !important;
    }
}

.expand-sub-menu {
    display: flex;
    float: right;
    margin-right: -10px;
    margin-top: -17px;
    cursor: pointer;
    color: #757575 !important;
}

.rotated {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg); /* IE 9 */
    -moz-transform: rotate(180deg); /* Firefox */
    -webkit-transform: rotate(180deg); /* Safari and Chrome */
    -o-transform: rotate(180deg); /* Opera */
}

.fa-chevron-down {
    margin-right: -10px !important;
}

.hidden_element {
    display: none;
}

.menu-controller {
    position: absolute;
    background-color: var(--menu-controller-bg-color);
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    right: calc(100% - 260px);
    top: calc(100% - 97%);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 5px 2px;
}

    .menu-controller i {
        transform: rotateZ(90deg);
        margin-right: 0 !important;
        transition: transform 0.3s ease-in-out;
    }


.sidebar.collapsed ~ .menu-controller {
    right: calc(100% - 110px);
}

    .sidebar.collapsed ~ .menu-controller i {
        transform: rotateZ(270deg);
        transition: transform 0.3s ease-in-out;
    }


.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f5f5f5;
}

@media (min-width: 900px) {
    .custom-sidebar {
        display: block !important;
    }
}

@media (min-width: 901px) {
    #closer {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    #closer, .menu-controller {
        display: none !important;
    }
}


@media(min-width: 900px) {
    .col-sidebar {
        width: calc(100% - 100px);
        margin-left: 100px;
    }
}

@media (min-width: 900px) {
    .sidebar.collapsed > .quickLinks {
        display: none;
    }
}

@media (min-width: 901px) and (max-width: 1001px) {
    .headerLeftSection img {
        height: 4.6vh;
    }
}

@media (min-width: 1001px) and (max-width: 1095px) {
    .headerLeftSection img {
        height: 6vh;
    }
}

.announcement {
    color: var(--menu-controller-bg-color);
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 10vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

    .announcement div {
        margin: 0;
        position: relative;
    }

.announcement-close-icon {
    position: absolute;
    color: black;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.totalUnreadMessageBlock {
    background-color: var(--unread-message-block) !important;
    color: var(--unread-message-block) !important;
    margin-bottom: 0px !important;
    align-items: center !important;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin-left: 10px
}

.unreadMessageCount {
    color: var(--unread-message-count) !important;
}

.welcome-user-dropdown {
    display: inline-block !important;
}

.welcome-user-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 44px !important;
    padding: 5px 14px 4px 8px !important;
    border: 1px solid var(--welcome-user-border) !important;
    border-radius: 28px !important;
    background: var(--welcome-user-bg) !important;
    color: var(--welcome-user-text) !important;
    text-decoration: none !important;
}

    .welcome-user-toggle:hover,
    .welcome-user-toggle:focus {
        background: var(--welcome-user-bg-hover) !important;
        color: var(--welcome-user-text) !important;
        text-decoration: none !important;
    }

.welcome-user-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    background: var(--welcome-user-avatar-bg) !important;
    color: var(--welcome-user-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.welcome-user-name {
    color: var(--welcome-user-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.welcome-user-toggle .caret {
    margin-left: 4px !important;
    border-top-color: var(--welcome-user-text) !important;
}

.welcome-user-menu {
    border-radius: var(--welcome-user-menu-radius) !important;
    overflow: hidden !important;
}

.welcome-user-dropdown.open > .welcome-user-menu {
    height: fit-content !important;
}
