#portal {
    background-color: #e8e8e8;
    position: relative;
    display: none;
    font-size: small;
    margin: 0px;
    padding: 0px;
    border: 1px solid #cd9700;
}

    #portal ul {
        margin: 0px;
        padding: 0px;
    }

        #portal ul li {
            display: block;
            background-color: #dcdcdc;
            margin: 0px;
            position: relative;
            height: 38px;
            border-bottom: 1px solid #c4c4c4;
            border-top: 1px solid #ffffff;
        }

            #portal ul li:first-child {
                background-color: #003893;
                padding-left: 0px;
                text-align: center;
                border-top-style: none;
                border-bottom-style: none;
            }

                #portal ul li:first-child a {
                    color: white;
                    text-align: center;
                    width: 100%;
                    text-transform: none;
                }

            #portal ul li:last-child {
                border-bottom-style: none;
            }

            #portal ul li img {
                vertical-align: middle;
            }

            #portal ul li a {
                text-decoration: none;
                color: #003546;
                display: table;
                height: 100%;
                text-transform: uppercase;
            }

                #portal ul li a span {
                    display: table-cell;
                    vertical-align: middle;
                }

    #portal img {
        padding-left: 8px;
        padding-right: 16px;
        border-style: none;
    }

nav.legend {
    display: block;
    border: 1px solid #cd9700;
}

    nav.legend div {
        background-color: #003893;
        color: white;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: small;
    }

    nav.legend ul {
        display: block;
        background-color: #AFADAE;
        margin: 0px;
        padding: 0px;
        list-style-type: none;
        /*overflow-y: auto;
        max-height: 310px;*/
        scrollbar-arrow-color: #5E5C5D;
        scrollbar-track-color: #AFADAE;
        scrollbar-face-color: #DAD6D7;
        scrollbar-shadow-color: #AFADAE;
    }

        nav.legend ul li {
            border-bottom: 1px solid #c4c4c4;
            border-top: 1px solid #ffffff;
            background-color: #dcdcdc;
        }

            nav.legend ul li:first-of-type {
                border-top-style: none;
            }

            nav.legend ul li:last-of-type {
                border-bottom-style: none;
            }

            nav.legend ul li span {
                background-color: #cd9700;
                display: block;
                color: white;
                font-size: small;
                text-align: center;
                padding-top: 3px;
                padding-bottom: 3px;
            }

            nav.legend ul li a {
                display: block;
                padding-top: 8px;
                padding-bottom: 8px;
                padding-left: 16px;
                text-decoration: none;
                font-size: small;
                color: #003546;
            }

                nav.legend ul li a.selected {
                    color: #0971EE;
                }

                nav.legend ul li a span {
                    display: block;
                    font-size: smaller;
                }

#calendar {
    background-color: #e8e8e8;
    position: relative;
    display: block;
    font-size: small;
    margin: 0px;
    padding: 0px;
    border: 1px solid #cd9700;
}

    #calendar img {
        padding-left: 8px;
        padding-right: 16px;
        border-style: none;
    }

    #calendar ul {
        margin: 0px;
        padding: 0px;
    }

        #calendar ul li {
            display: block;
            background-color: #dcdcdc;
            margin: 0px;
            position: relative;
            height: 38px;
            border-bottom: 1px solid #c4c4c4;
            border-top: 1px solid #ffffff;
        }

            #calendar ul li:first-child {
                background-color: #003893;
                padding-left: 0px;
                text-align: center;
                border-top-style: none;
                border-bottom-style: none;
            }

            #calendar ul li h4 {
                transform: rotate(270deg);
                font-size: xx-small;
                position: absolute;
                top: 14px;
                right: -14px;
                width: 38px;
                background-color: maroon;
                color: white;
                text-align: center;
                margin: 0px;
                padding: 0px;
                font-weight: normal;
            }

            #calendar ul li h5 {
                transform: rotate(270deg);
                font-size: xx-small;
                position: absolute;
                top: 14px;
                right: -14px;
                width: 38px;
                background-color: #003893;
                color: white;
                text-align: center;
                margin: 0px;
                padding: 0px;
                font-weight: normal;
            }

            #calendar ul li h6 {
                transform: rotate(270deg);
                font-size: xx-small;
                position: absolute;
                top: 14px;
                right: -14px;
                width: 38px;
                background-color: green;
                color: white;
                text-align: center;
                margin: 0px;
                padding: 0px;
                font-weight: normal;
            }

            #calendar ul li:first-child a {
                color: white;
                text-align: center;
                width: 100%;
                text-transform: none;
            }

            #calendar ul li:last-child {
                border-bottom-style: none;
            }

            #calendar ul li img {
                vertical-align: middle;
            }

            #calendar ul li a {
                text-decoration: none;
                color: #003546;
                display: table;
                height: 100%;
                width: 100%;
                /*text-transform: uppercase;*/
                position: relative;
                table-layout: auto;
            }

                #calendar ul li a div:first-child {
                    display: table-cell;
                    vertical-align: middle;
                    width: 20%;
                    padding-right: 0px;
                }

                #calendar ul li a div {
                    display: table-cell;
                    vertical-align: middle;
                    padding-right: 22px;
                }

                    #calendar ul li a div span {
                        display: block;
                        font-size: large;
                        text-align: center;
                        width: 38px;
                        /*margin-right: 8px;*/
                        text-transform: capitalize;
                    }

                        #calendar ul li a div span:first-line {
                            color: red;
                            font-size: x-small;
                        }

#menu {
    position: relative;
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
    font-size: small;
    background-color: #d4d3d3;
    border-bottom: 2px solid #a5a5a5;
    display:table;
    border-spacing:0px;
}
    #menu ul {
        list-style: none;
        display: table-row;
        width: 100%;
        margin: 0px;
        padding: 0px;
        list-style-position: outside;
    }
    #menu > ul > li:last-of-type ul {
        right: 0px;
        left: auto;
    }
    #menu ul ul {
        display: none;
        width: 220px;
        position: absolute;
        top: 100%;
        left: 0px;
        background-color: rgba(255,255,255,.9);
        list-style-type: none;
        list-style-position: outside;
    }
    #menu ul li {
        display:table-cell;
        position:relative;
    }
    #menu ul img {
        vertical-align: middle;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    #menu ul li a {
        display: block;
        text-align: center;
        padding-top: 8px;
        padding-bottom: 8px;
        text-decoration: none;
        color: #003546;
    }
    #menu ul li:hover {
        background-color: white;
    }
    #menu ul ul li {
        display: block;
    }
    #menu ul ul ul {
        position: absolute;
        left: 100%;
        top: 0px;
        margin: 0px;
    }
    #menu ul ul li:last-child ~ a {
        border-bottom-style: none;
    }
    #menu ul ul li:hover {
        background-color: transparent;
    }
    #menu ul ul li a {
        color: #7b7b7b;
        padding-left: 16px;
        padding-right: 8px;
        border-bottom: 1px solid #a5a5a5;
        text-align: left;
    }
    #menu ul li:hover > ul {
        display: block;
    }
    #menu ul ul li a:hover {
        color: #003546;
    }
    #menu ul ul ul li:last-child a {
        border-bottom-style: none;
    }

#journal {
    border: 1px solid #cd9700;
}
    #journal div.head1 {
        background-color: #013893;
        color: white;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #journal a.current {
        color: white;
        background-color: #0078b4;
        display: block;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
        text-decoration: none;
        font-size: xx-large;
        position: relative;
    }
        #journal a.current span {
            font-size: small;
            position: absolute;
            right: 5px;
            bottom: 5px;
        }
    #journal div.head2 {
        background-color: #cd9700;
        color: white;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    #journal div.previous {
        max-height: 210px;
        overflow-y: auto;
    }
        #journal div.previous ul {
            list-style-type: none;
            padding: 0px;
            margin: 0px;
        }
            #journal div.previous ul li {
                border-bottom: 1px solid #c4c4c4;
                border-top: 1px solid #ffffff;
                background-color: #dcdcdc;
            }
                #journal div.previous ul li:first-of-type {
                    border-top-style: none;
                }
                #journal div.previous ul li:last-of-type {
                    border-bottom-style: none;
                }

                #journal div.previous ul li a {
                    display: block;
                    text-decoration: none;
                    color: #003546;
                    padding-top: 5px;
                    padding-bottom: 5px;
                    padding-left: 20px;
                }

#info {
    background-color: #dcdcdc;
    border: 1px solid #cd9700;
}

    #info h4 {
        background-color: #003893;
        color: white;
        text-align: center;
        font-size: small;
        font-weight: normal;
        margin: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #info div {
        font-size: small;
        padding-left: 5px;
        padding-right: 5px;
        padding-top:5px;
    }
    #info p {
        font-size: small;
        text-align:center;
    }

        #info div h5 {
            font-size: medium;
        }

nav.news {
    background-color: #dcdcdc;
}

    nav.news header {
        background-color: #003893;
        color: white;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    nav.news menu {
        position: relative;
        display: block;
        background-color:#cd9700;
        padding:3px;
        margin:0px;
    }

        nav.news menu select {
            width: 100%;
            margin:0px;
            padding:0px;
        }

    nav.news ul {
        padding: 0px;
        list-style: none;
        height: 500px;
        overflow-y: auto;
        margin:0px;
    }

        nav.news ul li {
            border-bottom: 1px solid #c4c4c4;
            border-top: 1px solid #ffffff;
        }

        nav.news ul a {
            display: block;
            text-decoration: none;
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 5px;
            padding-right: 5px;
            color: #003546;
            font-size:small;
        }

            nav.news ul a:first-line {
                font-weight: bold;
            }