﻿html {
    overflow-y: scroll; /* Force Vertical Scroll Bar https://css-tricks.com/snippets/css/force-vertical-scrollbar/ */
}

body {
    /*    background: #87ADC4 url(../../Static/Images/loginbackground.gif) repeat-x;*/
    background: linear-gradient(to bottom, #003b62 0%, #99b9ce 100%);
}

#PageFooter {
    height: 20px;
    position: relative;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    padding: 0 10px 1px 10px;
    margin: 0;
    background-color: #c0c0c0;
    overflow: hidden;
    border-top: 1px solid white;
    vertical-align: bottom;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#MenuMain {
    margin: 20px auto 10px auto;
    width: 900px;
    /*    border: 1px solid #606060;*/
    border: 1px solid black;
    border-left: none;
    border-top: none;

    -moz-box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.35);

    background-color: #fff;
    border-radius: 5px;
}

    #MenuMain .MenuHeader {
        height: 230px;
        color: black;
        background: #ccbf9a;
        position: relative;
    }

        #MenuMain .MenuHeader img.Logo {
            margin: 10px 20px;
            max-width: 500px;
            max-height: 160px;
            cursor: pointer;
        }

        #MenuMain .MenuHeader img.Wide {
            max-height: 100px !important;
        }

        #MenuMain .MenuHeader .Caption {
            position: absolute;
            right: 10px;
            top: 175px;
            text-align: right;
        }

            #MenuMain .MenuHeader .Caption span:first-child {
                font-size: 12pt;
                font-weight: bold;
            }

            #MenuMain .MenuHeader .Caption span:last-child {
                font-size: 16pt;
                font-weight: bold;
            }

    #MenuMain div.Request {
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: right;
    }

        #MenuMain div.Request button {
            margin-left: 10px;
        }

    #MenuMain .Institution {
        color: white;
        background-color: Black;
        font-size: 16px;
        font-weight: bold;
        padding: 3px 10px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    #MenuMain #ContentWrapper {
        min-height: 400px;
        background-color: #f8f8f8;
    }

    #MenuMain .Content {
        display: none;
        min-height: 400px;
        background-color: #f8f8f8;
        padding: 10px 10px;
        -webkit-animation: fadeEffect 0.15s;
        animation: fadeEffect 0.15s;
    }

        #MenuMain .Content.Active {
            display: block;
        }

    #MenuMain .menuInstructions {
        margin-top: 25px;
    }

    #MenuMain .menuFooter {
        margin-top: 20px;
    }

/* ********************************************************************************
**  Nav
******************************************************************************** */
    #MenuMain div#nav {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }

        #MenuMain div#nav ul {
            margin: 0;
            overflow: hidden;
            color: navy;
            background-color: #cccccc;
            font-weight: bold;
        }

            #MenuMain div#nav ul li {
                color: #163b84;
                background-color: #e4e6f0;
                margin: 0;
                padding: 8px 16px 2px 16px;
                float: left;
                min-width: 80px;
                text-align: center;
                list-style-type: none;
                list-style-position: outside;
                border-top: 1px solid white;
                border-left: 1px solid white;
                border-right: 1px solid #999999;
            }

                #MenuMain div#nav ul li span {
                    padding-left: 24px;
                    display: inline-block;
                    height: 20px;
                    padding-top: 2px;
                    background-position: 0px 0px;
                    background-repeat: no-repeat;
                    background-size: 16px 16px;
                }

                #MenuMain div#nav ul li:last-child {
                    /*float: right;*/
                }

                #MenuMain div#nav ul li span[name=Home] {
                    background-image: url(../../Static/Images/16/FBS_16.png);
                }

                #MenuMain div#nav ul li span[name=Contacts] {
                    background-image: url(../../Static/Images/16/Facility_16.png);
                }

                #MenuMain div#nav ul li span[name=Products] {
                    background-image: url(../../Static/Images/16/menuProducts_16.png);
                }

                #MenuMain div#nav ul li span[name=Services] {
                    background-image: url(../../Static/Images/16/menuServices_16.png);
                }

                #MenuMain div#nav ul li span[name=Acknowledgments] {
                    background-image: url(../../Static/Images/16/menuAcknowledgments_16.png);
                }

                #MenuMain div#nav ul li span[name=News] {
                    background-image: url(../../Static/Images/16/menuNews_16.gif);
                }

                #MenuMain div#nav ul li span[name=Estimator] {
                    background-image: url(../../Static/Images/16/QuoteDoc_16.gif);
                }

                #MenuMain div#nav ul li span[name=Search] {
                    background-image: url(../../Static/Images/ribbon/16/Magnify_16.png);
                }

                #MenuMain div#nav ul li:hover:not(.Active):not(.Disabled) {
                    color: #ffffff;
                    background-color: #00BFFF;
                    cursor: pointer;
                }

                #MenuMain div#nav ul li.Active {
                    color: black;
                    box-shadow: inset 0px 0px 8px rgba(0,191,255,.5);
                    border: none;
                }

                #MenuMain div#nav ul li.Disabled {
                    background-color: #aaaaaa;
                    color: inset 0px 0px 8px rgba(0,191,255,0.5);
                    cursor: not-allowed;
                    opacity: 0.5;
                }

/* ********************************************************************************
** Panels 
******************************************************************************** */

    #MenuMain .Panels {
        width: 225px;
        display: inline-block;
    }

    #MenuMain .PanelSection {
        background-color: #e4e6f0;
        border: 1px solid #cccccc;
        margin: 5px;
        display: inline-block;
    }

    #MenuMain .PanelTitle {
        font-weight: bold;
        background-color: #163b84;
        color: white;
        padding: 5px;
    }

    #MenuMain .PanelContent {
        padding: 10px;
    }

    #MenuMain .PanelSection.CoreNugget {
        width: 236px;
    }

    #MenuMain .CoreList .PanelSection {
        width: 620px;
        min-height: 360px;
    }

        #MenuMain .CoreList .PanelSection .PanelContent {
            -webkit-columns: 300px 2;
            -moz-columns: 300px 2;
            columns: 300px 1;
            column-fill: auto;
        }

/* ********************************************************************************
** CoreList
******************************************************************************** */
    #MenuMain .Content .CoreList .AreaGroup {
        -webkit-column-break-inside: avoid;
        -moz-column-break-inside: avoid;
        -o-column-break-inside: avoid;
        -ms-column-break-inside: avoid;
        column-break-inside: avoid;
    }

    #MenuMain .Content .CoreList ul {
        margin-top: 4px;
        margin-bottom: 10px;
    }

        #MenuMain .Content .CoreList ul li a {
            margin: 2px 0;
            padding: 3px;
        }

/* ********************************************************************************
** Core Hours
******************************************************************************** */
div.PanelSection.CoreHours table {
    text-align: center;
}

div.PanelSection.CoreHours table {
    width: 100%;
}

div .PanelSection.CoreHours tbody tr td {
    padding: 3px;
}

    div .PanelSection.CoreHours tbody tr td:first-child {
        text-align: right;
        width: 20%;
    }

    div .PanelSection.CoreHours tbody tr td:last-child {
        text-align: left;
        font-weight: bold;
    }

/* ********************************************************************************
** Contacts
******************************************************************************** */
#Contacts .Panels {
    width: 880px;
}

#Contacts .PanelSection {
    background-color: #e4e6f0;
    border: 1px solid #cccccc;
    margin: 5px;
    min-width: 300px;
    vertical-align: top;
}

#Contacts .PanelTitle {
    font-weight: bold;
    background-color: #163b84;
    color: white;
    padding: 5px;
}

#Contacts h3 {
    margin: 0;
}

#Contacts h4 {
    margin-bottom: 1em;
}

#Contacts .PanelContent {
    padding: 10px;
}

#Contacts table.OtherContacts td {
    white-space: nowrap;
    padding: 3px 5px;
}

    #Contacts table.OtherContacts td a { /* BT 2024-01-05: added for WCAG compat */
        color: var(--psColorSchemeWCAG-ColorBlue,#0066cc) !important;
    }

#Contacts table.OtherContacts tbody tr:nth-child(even) td {
    background-color: #f0f0f0;
}

/* ********************************************************************************
** Search Results
******************************************************************************** */
#Search, #SearchResults {
    margin: 0 20px;
}

    #Search #SearchResults tr td {
        padding: 10px;
    }

        #Search #SearchResults tr td a h4 {
            color: #0066cc;
        }

        #Search #SearchResults tr td:first-child img {
            max-width: 64px;
            max-height: 64px;
        }
/* ********************************************************************************
** Request Access Dialog
******************************************************************************** */
#dlgRequestAccess table tbody td {
    vertical-align: top;
}

    #dlgRequestAccess table tbody td.right {
        padding-left: 20px;
    }

    #dlgRequestAccess table tbody td.DataInput:nth-child(1) {
        padding-left: 40px;
    }

div.ui-dialog button.dlgButton {
    margin-left: 10px;
}
/* ********************************************************************************
**  Quotations
******************************************************************************** */
#Estimator div.psFormDataCSS {
    min-width: inherit;
    background-color: inherit;
    border: inherit;
}

#Estimator #tblQuotation tr td {
    padding: 5px;
}

    #Estimator #tblQuotation tr td:nth-child(1) {
        width: 180px;
        text-align: right;
        vertical-align: middle;
    }

    #Estimator #tblQuotation tr td:nth-child(2) {
        width: 400px;
        text-align: left;
    }

#Estimator div.psFormDataCSS div.psButtonBar {
    text-align: right;
}

#Estimator div.psFormDataCSS div.imgCatalog {
    position: absolute;
    left: 775px;
    top: 30px;
}

#Estimator div.psFormDataCSS fieldset legend {
    cursor: default;
}

#Estimator div.psFormDataCSS div.imgCatalog img {
    max-width: 64px;
    max-height: 64px;
}

#EstimatorForm {
    width: calc(100% - 20px);
}

    #EstimatorForm fieldset {
        width: calc(100% - 20px);
    }

table#tblEstimate tbody tr td:first-child {
    text-align: right;
}

/* ********************************************************************************
**  Quotations
******************************************************************************** */
table#tblEstimateResults {
    margin: 10px auto;
}

    table#tblEstimateResults thead th, table#tblEstimateResults tfoot th {
        background-color: #cdcdcd;
        border: 1px solid #808080;
        background-clip: padding-box;
    }

    table#tblEstimateResults tbody tr td {
        background-clip: padding-box;
    }

    table#tblEstimateResults tbody tr:nth-child(2n+1) td {
        background-color: #ffffff;
        border: 1px solid #808080;
    }

    table#tblEstimateResults tbody tr:nth-child(2n) td {
        background-color: #e1f5fe;
        border: 1px solid #808080;
    }

input.error, select.error, textarea.error {
    border: 2px solid #D0021B !important; /* the border is lost when the field has the focus, default border in Chrome is 2px inset rgb(133,133,133) */
    color: #000 !important;
}

input[type="radio"].error + label {
    color: #D0021B !important;
}
