.brand-top, .brand-top p, .brand-top h1 { text-align: center; }

html.hrdc .galleria {
    max-width: 46em;
}

header {
    text-align: left;
}

header .brand {
    display: inline-block;
    /*border-bottom: 4px dotted #78f;*/
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 1em;
}
header .brand a, header .brand p, .navbar-brand {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #FFF;
    text-shadow: 0px 0px 1px #999;
}
.header-cell {
    background-color: rgb(41, 123, 194);
    border-bottom: 6px solid rgba(90, 180, 255, 0.5);
}
.navbar-default .navbar-toggle {
    background-color: rgb(41, 123, 194);
    border-color: #666;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus
{
    background-color: #4060dd;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #eee;
}
@media (max-width: 420px) {
    .navbar-brand {
        font-size: 12px;
    }
}
p,span,li {
    font-size: 16px;
}
*,h1,h2,h3,h4 {
    font-family: "Georgia",serif;
}


p, form { max-width: 40em; }

.sidebar-nav {
    border: 1px solid #eee;
    border-radius: 5px;
    height: 100%;
    background-color: #fafaff;
    margin-top: 1em;
}
@media (max-width: 767px) {
    .sidebar-nav {
        margin-top: 0em;
    }
}
.navbar-collapse.collapse {
    max-height: 100%;
    padding-top: 1em;
}
@media (max-width: 768px) {
    .navbar.navbar-default {
        margin-bottom: 0;
    }
}


.main {
            animation: fadein 1s;
       -moz-animation: fadein 1s;
    -webkit-animation: fadein 1s;
         -o-animation: fadein 1s;
   
}

.in-the-news-search {
    display: none;
}

footer {
    /*background-color: #3650b2;
    background-color: #456; */
    background-color: rgb(75, 112, 149);
    color: white;
}
footer .footer-cell {
    border-top: 8px solid #345;
}

.sidebar-nav .nav > .active > a {
    font-weight: bold;
    border-right: 3px solid #09f;
    background-color: #eef;
            animation: colorin 3s;
       -moz-animation: colorin 3s;
    -webkit-animation: colorin 3s;
         -o-animation: colorin 3s;
}
.sidebar-nav .nav > li > a {
    display: block;
    padding: 5px 20px;
}
.sidebar-nav .nav .nav {
    margin-bottom: 8px;
}
.sidebar-nav .nav .nav > li > a {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 40px;
}

        @keyframes colorin {from { background-color: #fff; border-color: #eee; }
                              to { background-color: #eef; border-color: #09f; }}
   @-moz-keyframes colorin {from { background-color: #fff; border-color: #eee; }
                              to { background-color: #eef; border-color: #09f; }}
@-webkit-keyframes colorin {from { background-color: #fff; border-color: #eee; }
                              to { background-color: #eef; border-color: #09f; }}
        @keyframes  fadein {from { opacity: 0 } to { opacity: 1 }}
   @-moz-keyframes  fadein {from { opacity: 0 } to { opacity: 1 }}
@-webkit-keyframes  fadein {from { opacity: 0 } to { opacity: 1 }}
