/* 
    https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Organizing 
    - Variables
    - General - default styles for tags 
    - Utilities - no-border, left, right, etc.
    - Bootstrap Overrides
    - Everything Else - typically more specific things either site-wide or page specific
*/


/* || Variables */
:root {
    --font-family: "Roboto", Arial, sans-serif;
}

/* || General Styles - default styling for the tags */

html {
    font-size: .9rem;
    font-family: var(--font-family);
    position: relative;
    min-height: 100%;
}

a {
    color: #1763C7;
    text-decoration: none;
}

a:hover {
    color: #4B778D;
    cursor: pointer;
}

abbr.req {
    text-decoration: none;
    color: #CC0000
}

body {  
  background-color:white;
}

footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: .25rem;
}

h1 {
    font-size: 2rem;
    padding: 1rem 0 0 0;
    color: #406B84;
    font-weight: bold;
}

h2 {
    font-size: 1.5rem;
    padding: .6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h2.item {
    background-color: initial;
    margin: 1.3rem 0 0;
    padding: 0 0 .5rem 0;
}

h2, .modal-header.admin {
    background-color: #4B778D;
    color: #FFFFFF;
   padding: .5rem;
}

header {
    background-color: #4F7E76;
}


label{
    font-weight: bold;
}

td{
    vertical-align: middle;
}

th {
    white-space:nowrap;
}
/* || Utilities */

.hide {
    display: none;
}

.normal-weight{
    font-weight: normal;
}

.shrink {
    width: 1px;
    white-space: nowrap;
}

/* || Bootstrap Overrides */

:root {
    --bs-body-font-family: "Roboto", Arial, sans-serif;
    --bs-link-color: #1763C7;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #406B84;
}


    .btn {
        border-radius: 20px;
        padding: .3rem 1.2rem;
     /*   min-width: 11.5rem;*/
     
    }


@media (max-width: 991px) {
    .btn {
        border-radius: 20px;
        padding: .3rem 1.2rem;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .btn {
        border-radius: 20px;
        padding: .3rem 1.2rem;
        min-width: 11.5rem;
    }
}
    .btn-primary {
        background-color: #4F7E76;
        color: #FFFFFF;
        --bs-btn-disabled-bg: #4F7E76;
    }

        .btn-primary:hover {
            background-color: #E1F1DD;
            color: #000000;
        }

    .btn-secondary {
        background-color: #E2E2E2;
        border-color: #E2E2E2;
        color: #000000;
    }

        .btn-secondary:hover {
            background-color: #D3D3D3;
            border-color: #D3D3D3;
            color: #000000;
        }

    .btn-ask-question {
        border-radius: 20px;
        padding: .3rem 1.2rem;
       /* min-width: 11.5rem;*/
        font-family: var(--font-family);
        font-size: 1rem;
        background-color: #F0AD4E;
        color: #FFFFFF;
        border: none;
    }

        .btn-ask-question:hover {
            background-color: #F7CF97;
            color: #000000;
        }

    .modal {
        --bs-modal-border-radius: 0;
        --bs-modal-inner-border-radius: 0;
    }

    .modal-header.admin h1 {
        color: #FFFFFF;
        margin-top: initial;
        padding: 0;
        font-size: 1.3rem;
        flex-grow: 1;
    }

    .modal-header.green {
        background-color: #5F9A84;
        color: #FFFFFF;
        padding: 1rem;
    }

        .modal-header.green h1 {
            color: #FFFFFF;
            margin-top: initial;
            padding: 0;
            font-size: 1.3rem;
            flex-grow: 1;
        }

    .modal-header button {
        color: #FFF;
        background: none;
        border: none;
    }

    .navbar-brand img {
        height: 3rem;
    }

    .pagination {
        --bs-pagination-active-bg: #4F7E76;
    }

    /* || Everything Else - typically more specific things either site-wide or page specific */
    @font-face {
        font-family: 'Roboto';
        src: url('../fonts/Roboto.ttf') format('truetype');
    }


    footer a {
        color: #FFFFFF;
    }

        footer a:hover {
            color: #CCCCCC;
        }

    td:hover .more-content {
        display: block;
    }

    .domain-match {
        font-weight: bold;
        border: 1px solid #CCC;
        padding: 0 .25rem;
    }

    .dropdown-menu a {
        padding: .25rem .5rem;
        display: inline-block;
        width: 100%;
    }

        .dropdown-menu a:hover {
            background-color: #E1F1DD;
        }

    .navbar-brand {
        margin: 0;
        padding: 0;
        align-self: flex-end;
    }

    .navbar-nav {
        text-transform: uppercase;
        font-weight: bold;
    }

    .req {
        font-size: 1.0rem;
        font-weight: normal;
    }

    .header-action-link {
        font-size: 1rem;
        padding-left: 30px;
        cursor: pointer;
        color: #FFF;
        text-decoration: none;
    }

        .header-action-link:hover {
            color: #FFFFFF;
            text-decoration: underline;
        }

    .more-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        border: 1px solid #ccc;
        padding: 10px;
        z-index: 1;
        width: 300px;
    }

    .validation-summary-errors {
        font-weight: bold;
        color: #CC0000;
    }

    #presenterTable tbody tr td:last-child {
        width: 1px;
        white-space: nowrap;
        font-size: 1.3rem;
    }

    #PrimaryNav {
        padding-bottom: 0;
    }

    #SecondaryNav {
        background-color: #FFF;
    }

    #AdminNav a {
        color: #FFF;
    }


    #SearchButton {
        background-color: #FFF;
        border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
        padding: 0;
        margin: 0;
        width: 3rem;
        min-width: 1rem;
        border: var(--bs-border-width) solid var(--bs-border-color);
        border-left: none;
    }

    #SiteSearch {
        border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
        border-right: none;
    }

        #SiteSearch:focus {
            box-shadow: none;
            outline: 1px solid #406B84;
            outline-style: auto;
        }

    .sort-icon {
        margin-left: 5px;
        font-size: 0.8em;
    }

    input {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bi-person-square {
        font-size: 4.75rem;
    }