﻿/* #region body styles */

body {
    padding-top: 330px;
    padding-bottom: 20px;
    font-family: sans-serif !important;
    opacity: 1;
}

.site-body-content {
    background: white;
    border-radius: 10px;
    /* Set padding to keep content from hitting the edges */
    padding-left: 0px;
    padding-right: 0px;
    opacity: 1;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column */
/* not used, seems obsolete as of Dec 2024
.dl-horizontal dt {
    white-space: normal;
}
*/

/* #endregion */

/* #region horizontal lines styles */

hr.dashed {
    border: none;
    /* border-top: 2px dashed #999; */
    border-top: 1px dashed lightgray;
    height: 0;
}

hr.dotted {
    border: none;
    /* border-top: 3px dotted #777; */
    border-top: 1px dotted lightgray;
    height: 0;
}

hr.gradient {
    border: none;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

hr.pill {
    border: none;
    height: 8px;
    background-color: #0076ff;
    border-radius: 5px;
    width: 25%;
    margin: 20px auto;
}

hr.text-divider {
    border: none;
    border-top: 1px solid #ccc;
    overflow: visible;
    text-align: center;
    height: 0;
}

    hr.text-divider::after {
        content: "OR";
        background: #fff; /* Match your page background color */
        padding: 0 10px;
        position: relative;
        top: -10px;
        color: #888;
        font-size: 12px;
    }

/* #endregion */

/* #region general custom styles */

a.site-link-s {
    color: #555 !important;
    margin-left: 20px !important;
    font-size: small !important;
    text-decoration: none !important;
    text-align: left !important;
}

    a.site-link-s:link,
    a.site-link-s:focus,
    a.site-link-s:visited {
        color: #555 !important;
        margin-left: 20px !important;
        font-size: small !important;
        text-decoration: none !important;
        text-align: left !important;
    }

    a.site-link-s:hover,
    a.site-link-s:active {
        color: #c00 !important;
        margin-left: 20px !important;
        font-size: small !important;
        text-decoration: none !important;
        text-align: left !important;
    }

a.site-link-m {
    color: #555 !important;
    margin-left: 20px !important;
    font-size: medium !important;
    text-decoration: none !important;
    text-align: left !important;
}

    a.site-link-m:link,
    a.site-link-m:focus,
    a.site-link-m:visited {
        color: #555 !important;
        margin-left: 20px !important;
        font-size: medium !important;
        text-decoration: none !important;
        text-align: left !important;
    }

    a.site-link-m:hover,
    a.site-link-m:active {
        color: #c00 !important;
        margin-left: 20px !important;
        font-size: medium !important;
        text-decoration: none !important;
        text-align: left !important;
    }

a.site-link-l {
    color: #555 !important;
    margin-left: 20px !important;
    font-size: large !important;
    text-decoration: none !important;
    text-align: left !important;
}

    a.site-link-l:link,
    a.site-link-l:focus,
    a.site-link-l:visited {
        color: #555 !important;
        margin-left: 20px !important;
        font-size: large !important;
        text-decoration: none !important;
        text-align: left !important;
    }

    a.site-link-l:hover,
    a.site-link-l:active {
        color: #c00 !important;
        margin-left: 20px !important;
        font-size: large !important;
        text-decoration: none !important;
        text-align: left !important;
    }

a.site-glyph {
    color: #336699 !important;
    margin-left: 20px !important;
    font-size: large !important;
    text-decoration: none !important;
    text-align: left !important;
}

    a.site-glyph:link,
    a.site-glyph:focus,
    a.site-glyph:visited {
        color: #336699 !important;
        margin-left: 20px !important;
        font-size: large !important;
        text-decoration: none !important;
        text-align: left !important;
    }

    a.site-glyph:hover,
    a.site-glyph:active {
        color: #c00 !important;
        margin-left: 20px !important;
        font-size: large !important;
        text-decoration: none !important;
        text-align: left !important;
    }

.site-glyph-red {
    color: firebrick !important;
}

/* #endregion */

/* #region general layout styles */

.site-name-line-1 {
    padding: 0px;
    line-height: 12px;
    color: gray;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.site-legal-text {
    margin-left: 10px;
    margin-right: 10px;
    color: gray;
    font-size: 10px;
    font-weight: normal;
    text-decoration: none;
}

.site-legal-link {
    color: gray;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
}

/* #endregion */

/* #region main navigation styles */

/* handles smooth transitions and applies custom visuals (like background 
   changes or shifting positions) when the scroll state shifts*/

/* Base navbar transition configuration */
#mainNavbar {
    transition: all 0.3s ease-in-out;
}

/* Style changes when user scrolls UP */
#mainNavbar.mainNavbar-scrolled-up {
    background-color: #2c3e50 !important; /* Changes background color */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Adds a shadow */
}

/* Optional: Automatically hide navbar when scrolling down, show on scroll up */
#mainNavbar.mainNavbar-scrolled-down {
    transform: translateY(-100%); /* Slides the navbar out of view */
}

/* Style changes when user scrolls UP */
#altNavbar.altNavbar-scrolled-up {
    transform: translateY(-100%); /* Slides the navbar out of view */
}

/* Optional: Automatically hide navbar when scrolling down, show on scroll up */
#altNavbar.altNavbar-scrolled-down {
    background-color: #2c3e50 !important; /* Changes background color */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Adds a shadow */
}

/* #endregion */

/* #region main navigation styles */

.site-nav-bg {
    /*  background-image: url('../images/Navbar4.jpg'); */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

/* very important: this is being set so that the navbar dropdowns are not transparent */
.site-header {
    position: absolute;
    z-index: 999;
    opacity: 1;
    top: 0px;
}

.site-nav {
    position: fixed;
    top: 0px;
    width: 100%;
    /* min-height (vs height) will keep collapse dropdown from being 
       transparent,that is, it will allow it to grow
    */
    min-height: 320px;
    font-family: sans-serif !important;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
}

.site-nav-alt {
    position: fixed;
    top: 0px;
    width: 100%;
    /* min-height (vs height) will keep collapse dropdown from being 
       transparent,that is, it will allow it to grow
    */
    min-height: 50px;
    font-family: sans-serif !important;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
}

.site-nav-item {
    white-space: nowrap;
    margin-top: 7px;
    margin-left: 20px;
    font-family: sans-serif !important;
    font-size: 14px;
}

/* site-nav-link replaces bootstrap nav-link as padding is messing up the desired height */
.site-nav-link {
    display: block;
    color: aliceblue !important; /* changed for this site */
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    /* removed!!!
    padding: 0.5rem 1rem;
    */
}
@media (prefers-reduced-motion: reduce) {
    .site-nav-link {
        transition: none;
    }
}
.site-nav-link:hover, .site-nav-link:focus {
    color: powderblue !important; /* changed for this site */
}
.site-nav-link.disabled {
    color: dimgray !important; /* changed for this site */
    pointer-events: none;
    cursor: default;
}
/* end site-nav-link override of nav-link */

/* #endregion */

/* #region dropdown menu styles */

.site-dropdown-menu {
    background-color: #ffffff;
    opacity: 1 !important;
    z-index: 999 !important;
}

.site-dropdown-heading {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: -5px !important;
    line-height: 25px;
    color: gray;
    font-size: 15px;
    font-weight: bold;
    text-decoration: underline;
    white-space: nowrap;
}

.site-dropdown-message {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: -5px !important;
    line-height: 25px;
    color: lightgray;
    font-size: 13px;
    font-weight: bold;
    font-style: italic;
    white-space: nowrap;
}

.site-dropdown-divider {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    line-height: 5px;
    height: 0px; 
    border: none; 
    border-top: 2px solid gray;
}

.site-dropdown-item {
    color: #337ab7;      /* #2d6b9f darker*/
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* #endregion */

/* #region styles for buttons */

.site-button-20-sm {
    padding-top: 0px;
    height: 20px;
    width: 60px;
    white-space: nowrap;
}

.site-button-25-sm {
    padding-top: 0px;
    height: 25px;
    width: 60px;
    white-space: nowrap;
}

.site-button-25-md {
    padding-top: 0px;
    height: 25px;
    width: 110px;
    white-space: nowrap;
}

.site-button-25-lg {
    padding-top: 0px;
    height: 25px;
    width: 150px;
    white-space: nowrap;
}

/* #endregion */

/* #region styles for events (calendar) pages */

.site-event-period {
    font-size: 16px;
    font-weight: bold;
    border: 1px solid gray;
    border-radius: 8px;
    color: navy;
    padding: 5px;
    height: 30px;
    vertical-align: middle;
    text-align: center;
}

.site-event-view {
    font-size: 15px;
    border: 1px solid gray;
    border-radius: 8px;
    color: navy;
    padding: 5px;
    height: 30px;
    width: 55px;
    vertical-align: middle;
    text-align: center;
}

.site-event-view-selected {
    color: white;
    background-color: navy;
}
/* #endregion */

/* #region styles for search box */

.searchText {
    margin: 0;
    max-width: 250px;
    height: 32px;
    padding: 5px 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border: 1px solid #999999;
    border-right: 1px solid;
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
}

.searchButton {
    margin: 0;
    width: 30px;
    height: 32px;
    padding: 5px 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #007788;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: 1px solid #999999;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
    background-color: white;
}

    .searchButton:hover {
        margin: 0;
        text-decoration: none;
        /* image-orientation: */
    }

    .searchButton::-moz-focus-inner
    /* Fixes submit button height problem in Firefox */ {
        margin: 0;
        border: 0;
    }

.searchClear {
    margin: 0;
    width: 30px;
    height: 32px;
    padding: 5px 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #007788;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: 1px solid #999999;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
    background-color: white;
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
}

    .searchClear:hover {
        margin: 0;
        text-decoration: none;
    }

    .searchClear::-moz-focus-inner
    /* Fixes submit button height problem in Firefox */ {
        margin: 0;
        border: 0;
    }

/* #endregion */

/* #region styles for field tooltips */

/*
    Tooltips can be added to controls with attribute in HTML.ActionLink or elsewhere as follows:
        title = "Tooltip text"
    
    For fancier tooltips, can use:

    Reference: https://www.w3schools.com/css/css_tooltip.asp#:~:text=Basic%20Tooltip&text=HTML%3A%20Use%20a%20container%20element,with%20class%3D%22tooltiptext%22%20.

    Example:

        <div class="tooltip">Hover over me
          <span class="tooltiptext">Tooltip text</span>
        </div>
*/

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        z-index: 1;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

/* #endregion */

/* #region styles for forms and tables */

.site-form-label {
    font-weight: bold;
    font-size: 16px;
    color: Navy;
}

.site-form-text {
    height: 25px;
    color: Navy;
}

/* not used yet 
.site-form {
    font-size: medium;
}

.site-form-list {
    vertical-align: middle;
    padding-left: 0px;
    margin-left: 0px
}

.site-form-list-button {
    color: darkred;
    font-weight: bold;
    background-color: transparent;
    text-decoration: none;
    border: 0;
    border-color: transparent;
    padding-left: 0px;
    margin-left: 0px
}

.site-table-title {
    padding-left: 0px;
    padding-top: 10px;
    border: 0px solid transparent;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: bold;
    color: Navy;
    white-space: nowrap;
}

.site-table-heading {
    padding-right: 10px;
    font-weight: bold;
    font-size: 16px;
    color: Navy;
}

.site-table-detail {
    padding-right: 10px;
    font-weight: normal;
    font-size: 14px;
    color: black;
}

.site-table-item {
    padding-left: 10px;
    padding-right: 10px;
    height: 25px;
    border: 1px solid lightgray;
    font-weight: bold;
    white-space: nowrap;
}

.site-table-value {
    padding-left: 10px;
    padding-right: 10px;
    height: 25px;
    border: 1px solid lightgray;
    font-weight: normal;
    min-width: 150px;
    white-space: nowrap;
}

.site-table-spacer {
    min-height: 10px !;
    border: 0px solid transparent;
    font-size: 5px;
    white-space: nowrap;
}
*/

/* #endregion */
