body {
    padding-top: 0; /* removed earlier 50px offset */
}

html, body { height:auto; }
main { flex: initial; padding-bottom: 0; }
footer { flex-shrink: initial; }

a {
    color: black;
}

.codearea {
    width: 250px;
    padding: 0;
    border: 1px solid #ccc;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

a:visited {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
 /* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that aretoo long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

#filters h4 {
    display: inline-block;
}

.FilterButton {
    margin-right: 10px;
    margin-bottom: 5px;
}

.dropdown-submenu.pull-left {
    float: none;
}

.ContentHeader {
    margin-top: 30px;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


.navbar-inverse {
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(224,210,221,0) 51%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(224,210,221,0) 51%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(224,210,221,0) 51%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
    background-color: white;
}

    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-brand > a,
    .navbar-inverse .navbar-text {
        color: #000000;
    }

.SearchBox {
    margin: 0px;
    min-width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

    .SearchBox input {
        display: inline-block;
        max-width: 100%;
        min-width: 90%;
        max-height: 100%;
        height: 100%;
    }

    .SearchBox .SearchGoButton {
        display: inline-block;
        float: right;
        font-size: larger;
        padding-right: 5px;
        padding-left: 1px;
        cursor: pointer;
        color: white;
    }

        .SearchBox .SearchGoButton:before {
            display: inline-block;
            float: right;
            font-size: larger;
            padding-right: 5px;
            padding-left: 1px;
            cursor: pointer;
        }

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #000000;
    background-color: transparent;
    text-shadow: #EEEE00 0 0 10px;
}

article h1 {
    font-size: large;
}

article h2 {
    font-size: medium;
}

article .entryDate, article .copyright {
    display: inline-block;
    font-size: x-small;
}

    article .copyright:before {
        content: "\00a9";
    }

article .entryAuthor {
    font-size: xx-small;
}

article .lastUpdated {
    font-size: xx-small;
    font-weight: bold;
}

article .entryPublisher {
    font-size: xx-small;
}

article footer {
    font-size: xx-small;
}

.jumbotron {
    margin-top: 10px;
    padding:15px;
    margin-bottom:100px;
    background-color: lightsteelblue;
    background-image: url("../Home/JubotronBackground");
    background-position: bottom;
    background-position-y: 0px;
    background-size:cover;
    border-radius: 4px;
    height:250px;
    color: white;
    text-shadow: 1px 1px 5px black, 5px 5px 5px black, 0 0 5px transparent;
    box-shadow: 1px 1px 5px black, 5px 5px 25px black, 0 0 5px transparent;
}

    .jumbotron h1 {
        font-size: xx-large;
    }

    .jumbotron h2 {
        font-size: x-large;
    }

    .jumbotron h3 {
        font-size: small;
    }

/* Carousel Navigation Arrow Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(1.2);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

/* Jumbotron in Carousel */
.jumbotron-carousel {
    margin-top: 10px;
    padding: 15px;
    margin-bottom: 100px;
    background-color: lightsteelblue;
    background-image: url("../Home/JubotronBackground");
    background-position: bottom;
    background-position-y: 0px;
    background-size: cover;
    border-radius: 4px;
    min-height: 250px;
    color: white;
    text-shadow: 1px 1px 5px black, 5px 5px 5px black, 0 0 5px transparent;
    box-shadow: 1px 1px 5px black, 5px 5px 25px black, 0 0 5px transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jumbotron-carousel h1 {
    font-size: xx-large;
    margin-bottom: 10px;
}

.jumbotron-carousel .lead {
    font-size: large;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    background-color: #00435d;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #fff;
    border: 2px solid #00435d;
}

.entryDescription {
    font-size: medium;
}

.entryValue p {
    font-size: large;
}

.textAreaEditor {
    min-width: 250px;
    max-width: 100%;
    width: 100%;
    min-height: 175px;
}

.navbar-inverse .navbar-toggle {
    border-color: #000000;
}

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #000000;
    }

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000000;
    background-color: transparent;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #000000;
    background-color: #080808;
}

.brand-logo {
    max-height: 45px;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.navbar-brand > img {
    display: inline-block;
    max-height: 30px;
    clear: both;
    margin-top: -10px;
    margin-right: 15px;
    margin-left: 10px;
}

.navbar-brand {
    padding: 0px;
    padding-left: 5px;
    padding-top: 6px;
    vertical-align: middle;
}

    .navbar-brand > div {
        display: inline-block;
        vertical-align: middle;
    }

.leftAd {
    margin-top: 10px;
    text-align: right;
    min-width: 200px;
    display: inline-block;
}

.rightAd {
    margin-top: 10px;
    text-align: right;
    min-width: 200px;
    display: inline-block;
}

.contentBlock {
    display: inline-block;
    max-width: 1024px;
}

.serverContent {
    margin-top: -20px;
    padding: 10px;
}

.articleBanner {
    max-width: 100%;
    max-height: 300px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    display: block;
    box-shadow: 1px 1px 5px black, 5px 5px 25px black, 0 0 5px transparent;
    background-color: transparent;
}

footer a {
    font-size: small;
    color: black;
}

    footer a:hover {
        color: black;
        text-decoration: none;
    }

.IndexNav h2 {
    color: #00435d;
}

.articleThumbnail {
    float: left;
}

    .articleThumbnail > img {
        max-width: 200px;
        max-height: 125PX;
        margin-right: 10px;
        padding: 0px;
        border-radius: 10px;
        box-shadow: 1px 1px 5px black, 5px 5px 25px black, 0 0 5px transparent;
    }

.IndexArticles {
    display: inline-block;
    max-height: 225px;
    text-overflow: ellipsis;
}

.HomepageTile {
    float: left;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    max-width: 33%;
    min-width: 33%;
}

HomepageTile > h3 {
    font-size: xx-small;
}

.HomepageTitleNoWrap {
    text-overflow: ellipsis;
    max-width: 90%;
    max-height: 75px;
    text-wrap: none;
    white-space: nowrap;
    display: block;
    margin: 0px 0px 8px 0px;
    overflow: hidden;
}

    .HomepageTitleNoWrap > p {
        text-overflow: ellipsis;
        max-height: 75px;
        max-width: 33%;
        text-wrap: none;
        white-space: nowrap;
        display: block;
        margin: 0px;
        overflow: hidden;
    }

.HomepageArticleDescription {
    max-height: 125px;
    min-height: 125px;
    text-overflow: ellipsis;
    text-wrap: none;
    display: block;
    overflow: hidden;
}

    .HomepageArticleDescription p {
        max-height: 100%;
        display: block;
        overflow: hidden;
        margin: 0px 15px 0px 5px;
        text-overflow: ellipsis;
    }

.ShareBar {
    background-color: transparent;
    max-height: 25px;
    text-overflow: ellipsis;
    text-wrap: none;
    display: block;
    margin: 15px;
}

article .ShareBar {
    max-height: 25px;
    text-overflow: ellipsis;
    text-wrap: none;
    display: block;
    margin-top: 3px;
    margin-bottom: 10px;
}

.JubotronBackground-preview {
    max-width: 125px;
}

.panel-footer {
    background-color: darkgray;
}

.panel-footer-menu:hover {
    background-color: white;
    padding-right: 3px;
    padding-left: 3px;
    border-right: 1px solid black;
    display: inline-flex;
}

.panel-footer-menu {
    background-color: transparent;
    padding-right: 3px;
    padding-left: 3px;
    border-right: 1px solid black;
    display: inline-flex;
}

    .panel-footer-menu:last-child {
        padding-right: 0px;
        padding-left: 3px;
        border-right: 0px none;
    }

.panel-footer-menu-container {
    width: 100%;
}

.listItem {
}

.listItem-description {
    min-height: 80px;
    margin-top: 10px;
}

.twitter-share-button {
    vertical-align: bottom;
}

.twitter-follow-button {
    vertical-align: bottom;
}

.EmailButton {
    margin-top: 5px;
    max-height: 25px;
    height: 20px;
    vertical-align: bottom;
    padding: 0px;
    background-color: green;
    font-size: 12px;
    color: white;
    width: 60px;
    border: 0px;
    border-radius: 3px;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #000000;
    background-color: transparent;
}

@media (min-width: 768px) {
    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: -15px;
        margin-top: 1px;
    }

    .shadowfilter {
        -webkit-filter: drop-shadow(0px 0px 0px rgba(255,255,255,0.80));
        -webkit-transition: all 3s linear;
        -o-transition: all 3s linear;
        transition: all 3s linear;
    }

    .HomepageTitleNoWrap > p {
        max-width: 100%;
        text-wrap: unset;
    }

    .articleThumbnail {
        clear: both;
        /* float:none; */
        padding-right: 20px;
        padding-bottom: 10px;
    }
}

@media (min-width: 1px) and (max-width: 400px) {
    .navbar-brand > img {
        visibility: hidden;
        display: none;
    }

    .HomepageTile {
        width: 40%
    }

    .HomepageTitleNoWrap > p {
        max-width: 100%;
        text-wrap: unset;
    }

    .navbar-brand {
        padding: 0px;
        padding-left: 5px;
        padding-top: 6px;
        vertical-align: middle;
    }

    .panel-footer-menu {
        margin: 10px;
        padding: 15px;
        border-right: 0px solid black;
        display: inline-flex;
    }

        .panel-footer-menu:hover {
            padding: 15px;
            border-right: 0px solid black;
            display: inline-flex;
        }

        .panel-footer-menu:last-child {
            padding: 15px;
            border-right: 0px none;
        }

    .articleThumbnail {
        clear: both;
        /* float:none; */
        padding-right: 20px;
        padding-bottom: 10px;
    }
}

@media (min-width: 1px) and (max-width: 768px) {
    .ShareBar {
        margin-bottom: 20px;
    }

    .HomepageArticleDescription {
        clear: both;
        display: block;
        padding-top: 10px;
        text-overflow: ellipsis;
        text-align: center;
        min-height: 10px;
    }

    .HomepageTile {
        width: 90%
    }

    .HomepageTitleNoWrap > p {
        max-width: 90%;
        text-wrap: unset;
    }

    .HomepageArticleDescription p {
        text-overflow: ellipsis;
        height: 100%;
        text-align: center;
        min-height: 10px;
    }

    .IndexArticles {
        max-height: 400px;
        min-height: 10px;
        text-align: center;
        display: block;
        min-width: 100%;
        max-width: 100%;
    }

    .HomepageTitleNoWrap {
        max-width: 100%;
        min-width: 100%;
    }

        .HomepageTitleNoWrap > p {
            max-width: 100%;
            min-width: 100%;
        }

    .articleThumbnail img {
        align-content: center;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }

    .articleThumbnail {
        clear: both;
        /* float:none; */
        padding-right: 20px;
        padding-bottom: 10px;
    }

    .IndexNav .col-md-4 {
        min-height: 10px;
    }

    .IndexNav p {
        text-align: center;
    }

    .IndexNav h2 {
        text-align: center;
    }

    .navbar-brand {
        padding: 0px;
        padding-left: 5px;
        padding-top: 6px;
        vertical-align: middle;
    }

    .navbar-inverse {
        background: none;
    }

        .navbar-inverse .navbar-nav > li > a:hover,
        .navbar-inverse .navbar-nav > li > a:focus,
        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #000000;
            background-color: transparent;
            text-shadow: #EEEE00 0 0 10px;
        }

        .navbar-inverse .navbar-nav > li > a,
        .navbar-inverse .navbar-nav > li > a,
        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
            color: #000000;
            background-color: transparent;
        }

        .navbar-inverse .navbar-brand {
            color: #000000;
        }

    .panel-footer-menu {
        margin: 10px;
        padding: 15px;
        border-right: 0px solid black;
        display: inline-flex;
    }

        .panel-footer-menu:hover {
            padding: 15px;
            border-right: 0px solid black;
            display: inline-flex;
        }

        .panel-footer-menu:last-child {
            padding: 15px;
            border-right: 0px none;
        }
}
