﻿html, body {
    height: 100%;
    margin: 0;
}

    html.safari-scroll, body.safari-scroll {
        /* Allows you to scroll below the viewport; default value is visible */
        overflow-y: scroll;
        /* To smooth any scrolling behavior */
        -webkit-overflow-scrolling: touch;
    }

#site-content {
    margin-top: 60px;
    min-height: 100%;
    transition: margin .3s ease-in-out;
    -webkit-transition: margin .3s ease-in-out;
    -moz-transition: margin .3s ease-in-out;
    -ms-transition: margin .3s ease-in-out;
    -o-transition: margin .3s ease-in-out;
}

#note-content {
    padding-bottom: 100px;
}

#note-content,
#site-content {
    background: url(../Images/bg_pattern.png) top;
}

    #note-content > div {
        position: relative;
        padding: 10px;
    }

    #note-content > div,
    header.note-header > div,
    footer.note-footer > div {
        max-width: 1400px;
        margin: 0 auto;
        vertical-align: middle;
    }

#PageWrapper {
    margin: 0 auto;
    max-width: 1600px;
    padding: 10px;
    transition: padding .3s ease-in-out;
    -webkit-transition: padding .3s ease-in-out;
    -moz-transition: padding .3s ease-in-out;
    -ms-transition: padding .3s ease-in-out;
    -o-transition: padding .3s ease-in-out;
}

#site-logo {
    height: 0;
    overflow: hidden;
}

#company-logo {
    padding: 20px 0;
    text-align: center;
}

#site-logo > h1 {
    text-align: center;
    background: rgba(113,128,169,0.24);
    width: 90%;
    line-height: 40px;
    padding-top: 5px;
    font-family: Allura;
    font-size: 30pt;
}

#site-logo > img {
    /*width: 100%;*/
    max-width: 280px;
    max-height: 185px;
}

#site-logo > img,
#site-logo > h1,
#company-logo > img {
    border-radius: 10px;
    margin: 10px auto;
    border: 15px solid rgba(113,128,169,0.24);
}

#site-logo > img,
#company-logo > img {
    display: block;
    border: 15px solid rgba(113,128,169,0.24);
}

#company-logo > img {
    max-width: 608px;
    box-sizing: border-box;
}

#site-menu-wrapper *,
#site-menu-wrapper *:after,
#site-menu-wrapper *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#site-menu,
#site-menu ul {
    margin: 0;
    padding: 0;
    line-height: 60px;
    /*overflow: hidden;*/
}

#site-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
    border-bottom: 2px solid #afb1b6;
    color: #fff;
}

    #site-menu a {
        display: block;
        height: 100%;
    }

    #site-menu > li:not(:first-child) {
        display: block;
        /*float: left;*/
        height: 100%;
        text-align: center;
    }

    #site-menu > li:first-child {
        border-right: 1px solid #32384b;
    }

    #site-menu > li:first-child {
        position: relative;
        line-height: 0px;
        width: 60px;
        background: rgba(255,255,255,.2);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        #site-menu > li:first-child > nav {
            line-height: 58px;
        }

        #site-menu > li:first-child > a {
            /*white-space: nowrap;*/
        }

    #site-menu > li:last-child {
        display: none;
    }

    #site-menu > li:nth-child(2) {
        width: 76%;
        border-right: none;
    }

    #site-menu > li > a {
        padding: 0 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: bold;
    }

    #site-menu:after {
        display: table;
        clear: both;
        content: "";
    }

#PageHeader {
    padding: 10px 0 20px 0;
}

    #PageHeader > div.clock-wrapper {
        float: right;
        margin-left: 20px;
        display: none;
    }

header.note-header {
    top: 0;
    border-bottom: 2px solid #afb1b6;
    min-height: 70px;
}

    header.note-header > div {
        padding: 5px 5px 0;
    }

        header.note-header > div > div:not(.has-instructions) {
            margin-top: 10px;
        }

    header.note-header h1 {
        font-weight: bold;
        font-family: 'Open_Sans';
        font-size: 16pt;
    }

        header.note-header h1 + span,
        header.note-header > div div.agency-specific-instructions {
            float: right;
            padding: 3px 5px;
        }

    header.note-header div.agency-specific-instructions > img {
        vertical-align: middle;
        margin-right: 5px;
    }

    header.note-header > div > span:last-of-type,
    header.note-header > div > div > div:last-child {
        display: none;
    }

#editFreqOnNote {
    margin-left: 10px;
}

#note-saved-status {
    position: fixed;
    width: 100%;
    max-width: 1420px;
    top: 100px;
}

    #note-saved-status > div {
        text-align: right;
        margin-right: 20px;
    }

    #note-saved-status label {
        width: 35px;
        padding: 10px 15px;
        font-weight: bold;
        font-size: 0.85em;
        background-color: #d3d3d3;
    }

/*View Note*/

#Modal-ViewNote a {
    color: #fff;
}

#Modal-ViewNote select {
    width: 100%;
}

#Modal-ViewNote > div > div {
    margin-right: 196px;
}

/*Body*/

#note-processing {
    z-index: 201;
}

#note-processing,
.site-overlay,
#note-overlay.active,
#mobile-overlay.active,
#mobile-overlay.compose-message {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.site-overlay,
#note-overlay.active,
#mobile-overlay.active,
#mobile-overlay.compose-message {
    background: #666666 url("themes/base/images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
    opacity: 0.5;
    z-index: 200;
}

#mobile-overlay.active,
#mobile-overlay.compose-message {
    z-index: 50;
}

#note-processing {
    display: none;
}

    #note-processing.active {
        display: block;
    }

    #note-processing > div,
    #note-processing > div > div {
        text-align: center;
        position: relative;
    }

    #note-processing > div {
        height: 600px;
        margin-top: -300px;
        top: 50%;
    }

        #note-processing > div > div {
            text-align: center;
            top: 0%;
        }

            #note-processing > div > div > div {
                padding: 25px;
                text-align: center;
                background: #fff;
                /*border: 1px solid #fff;*/
                border-radius: 50%;
                -webkit-box-shadow: 0px 0px 120px 75px rgba(255,255,255,1);
                -moz-box-shadow: 0px 0px 120px 75px rgba(255,255,255,1);
                box-shadow: 0px 0px 120px 100px rgba(255,255,255,1);
                display: inline-block;
            }

/*Footer*/
footer > div {
    text-align: center;
}

footer p {
    padding-top: 45px;
}

footer.note-footer {
    left: 0;
    position: fixed;
    z-index: 100;
    right: 0;
    border-top: 2px solid #afb1b6;
    bottom: 0;
}

    footer.note-footer > div {
        text-align: left;
    }

#divNoteActions,
#divNoteNavigation {
    padding: 5px;
}

#divNoteActions {
    margin-bottom: -17px;
}

    #divNoteActions > button.red-button,
    #divNoteActions > button.blue-button,
    #divNoteActions > button.yellow-button,
    #divNoteActions > a.blue-button {
        padding: 10px 0;
        display: inline-block;
        font-size: 0.65em;
        text-align: center;
    }

    #divNoteActions > button:nth-child(1) {
        width: 20%;
    }

    #divNoteActions > button:nth-child(2) {
        width: 31%;
    }

    #divNoteActions > button:nth-child(4) {
        font-size: .85em;
        width: 20%;
    }

    #divNoteActions > a {
        width: 18%;
    }

#ddlDesktopSectionList optgroup {
    /*background: #a1a4a8;*/
}

#ddlDesktopSectionList option {
    background: rgba(255, 255, 255, 0.85);
}

    #ddlDesktopSectionList option.section-hasData {
        background: rgba(97, 223, 97, 0.50);
    }

#divNoteNavigation > div > label {
    display: none;
}

#divNoteNavigation > div > select {
    width: 100%;
}

#divNoteNavigation > div {
    margin-right: 80px;
}

#divNoteNavigation > button#btnFinalize + div {
    margin-right: 107px;
}

#divNoteNavigation button {
    margin-top: -2px;
}

/*Login Page*/

#LoginPage {
    background: #292e3d;
    min-height: 100%;
    text-align: center;
}

    #LoginPage > h1 {
        padding: .5em;
        font-size: 2em;
    }

    #LoginPage > img {
        margin-top: 1em;
    }

#LoginFooter {
    padding-top: 1em;
    background: #292e3d;
}

    #LoginFooter > img {
        vertical-align: middle;
    }

.lower-right-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.tooltip {
    text-decoration: none;
    position: relative;
}

.small-font {
    font-size: 12px;
}


    .tooltip span {
        display: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        color: black;
        background: white;
    }


        .tooltip span img {
            float: left;
            margin: 0px 8px 8px 0;
        }


    .tooltip:hover span {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        width: auto;
        max-width: 320px;
        min-height: 128px;
        border: 1px solid black;
        margin-top: 12px;
        margin-left: 32px;
        overflow: hidden;
        padding: 8px;
    }
