﻿/*--------------------------------------------------------------
        Global Styles
--------------------------------------------------------------*/

html,
body {
    font-family: "Roboto", sans-serif;
    color: #444444;
    background-image: url(../../Images/bck2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
}

/* Remove Bootstrap's focus/active state glow */
.btn:focus,
.btn:active,
.form-control:focus,
.form-control:active {
    outline: none;
    box-shadow: none;
}

/* Optional: Add a custom focus/active state style */
.btn:focus,
.btn:active,
.form-control:focus,
.form-control:active {
    border-color: #000;
}

/* Remove focus/active state glow */
select.form-select:focus,
select.form-select:active {
    outline: none;
    box-shadow: none;
}


    a:hover {
        color: #3b8af2;
        text-decoration: none;
    }


/* Remove Bootstrap's focus/active state glow */
.btn:focus,
.btn:active,
.form-control:focus,
.form-control:active {
    outline: none;
    box-shadow: none;
}

/* Optional: Add a custom focus/active state style */
.btn:focus,
.btn:active,
.form-control:focus,
.form-control:active {
    border-color: #000;
}

/* Remove focus/active state glow */
select.form-select:focus,
select.form-select:active {
    outline: none;
    box-shadow: none;
}


/*--------------------------------------------------------------
        Navbar Styles
--------------------------------------------------------------*/

.navbar {
    background-color: #e6e6e6;
}

.navbar-nav {
    display: flex;
}

.navbar .navbar-nav .nav-link {
    color: #1F487E!important;
    font-size: 1.1em;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    white-space: nowrap; /*Prevents menu names from going to another line*/
}

.navbar-nav .nav-link i {
    margin-right: 0.2rem;
}

.navbar-nav .nav-link:hover, /*makes nav links light blue to match the underline effect on hover*/
.navbar-nav .nav-link:focus {
    color: #106eea !important;
}


.navbar-nav .dropdown-menu { /*Keeps the dropdown menu items in the viewport*/
    position: absolute;
    right: 0;
    left: auto;
    transform: translateX(0%);
}

@media (min-width: 992px) { /* Media Query to Revert the changes made above for mobile view*/
    .navbar-nav .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
        transform: translateX(0%);
    }
}

@media (max-width: 991.98px) { /* Media Query Reverts the changes made above for mobile view*/
    .navbar-nav .dropdown-menu {
        position: static;
        right: auto;
        left: auto;
        transform: none;
    }
}

/* Adds Blue Underline for Nav Links */
.navbar-nav .nav-link::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: transparent;
    color: transparent;
    width: 0%;
    content: '.';
    height: 3px;
    transition: width 0.3s ease;
}

/* Width for Blue Underline for Nav Links */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
    width: 100%;
    background-color: #106eea;
    color: transparent;
}



/* ====== UserName Dropdown Styles ======  */

/* Removes Blue Underline for Dropdown Menu Link */
.dropdown-toggle::after {
    display: none;
}

/* Adds Down Arrow for Dropdown Menu */
.dropdown-toggle::before {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    margin-right: 0.5rem;
}

/* Show dropdown menu on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hide dropdown menu by default */
.navbar-nav .dropdown .dropdown-menu {
    display: none;
}


/* Remove the "data-bs-toggle" attribute from the dropdown link */
.nav-link.dropdown-toggle {
    pointer-events: none; /* Makes it so the user only has to hover over the link so I disabled the click event*/
}

    /* Show the dropdown menu on hover */
    .nav-link.dropdown-toggle:hover + .dropdown-menu {
        display: block;
    }



/* Set the cursor to pointer for the nav-dropdown (user name dropdown)*/
.dropdown btn {
    cursor: pointer;
}

/*makes the Dropdown menu glow light blue when hovering over the item to evoke the dropdown menu*/
.navbar-nav .dropdown:hover .nav-link.dropdown-toggle,
.navbar-nav .dropdown:hover .nav-link.dropdown-toggle .fa-user {
    color: #106eea !important;
}

.dropdown-item {
    color: #1F487E;
}

    .dropdown-item i {
        margin-right: 0.5rem;
    }

/* styles the dropdown menu items on hover */
.navbar-nav .dropdown .dropdown-menu .dropdown-item:hover {
    color: white;
    background-color: #106eea;
}

.dropdown-menu {
    z-index: 9999; /* Set a higher z-index value */
    background-color: #e9e9e9;
    box-shadow: 0px 2px 4px rgba(73, 73, 73, 0.3);
}

.drop-shadow {
    box-shadow: 0px 2px 4px rgba(73, 73, 73, 0.3); /* Adjust the color and intensity as desired */
}

/*.frosted {
    background-color: rgba(185, 185, 185, 0.30);*/ /* Adjust the transparency with the last value */
    /*backdrop-filter: blur(6px);*/ /* Adjust the blur intensity as desired */
/*}*/

/*--------------------------------------------------------------
        Table Styles
--------------------------------------------------------------*/

tr:hover {
    background-color: #f2f2f2;
}
