body {
    background-color: #3A3B44;
}

ul.menu-contact {
    margin: 0;
    padding: 20px 0px;
    list-style-type: none;
    text-align: center;
}

ul.menu-contact li {
    display: inline;
    padding: 10px 7px;
    font-size: 16px;
}

ul.menu-contact li i.contact-icon {
    margin-right: 5px;
}

ul.menu-contact li a {
    color: #666;
}

ul.menu-contact li a:hover {
    color: #900;
}

.main-menu {
    color: #fff;
    text-transform: uppercase;
}

.main-menu.nav > li > a {
    color: #fff;
    font-weight: bold;
    padding: 10px 30px;
}

.main-menu.nav > li > a:focus,
.main-menu.nav > li > a:hover,
.nav .open > a {
    background-color: #C30819;
}

.main-content {
    background-color: #E9E9E9;
}

.article-item {
    padding: 20px 0;
    border-top: solid 1px #D6D6D6;
    margin-top: -1px;
}

.article-item--first {
    border-top: none;
    padding: 0;
    margin-top: 0px;
}

.article-item .article-header {
    color: #a94442;
    text-transform: uppercase;
    font-size: large;
    font-weight: bold;
    width: 50px;
    border-bottom: solid 2px #FF0218;
    white-space: nowrap;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.article-item .article-footer {
    margin-top: 10px;
    padding-bottom: 15px
}

.sponsors h3 {
    font-size: 20px;
    margin: 15px
}

.sponsors a:link {
    color: #ffffff;
}

.sponsors .col-md-12 p {
    text-align: center;
}
/*---Fontawesome icons---*/

/*facebook*/
.fa-facebook {
    margin-right: 5px
}

/*classified newspaper icon*/
.large-flex .article-item ul li::before {
    content: "\f1ea";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*Hide nested list items*/
.large-flex .article-item ul li li::before {
    display: none
}

/*sponsors*/
.sponsors h3::before {
    content: "\f2b5";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*home*/
.navbar-nav a[href$="/"]::before,
.footer-section__item a[href$="/"]::before,
.mobile-menu a[href$="/"]::before {
    content: "\f015";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*scores*/
.navbar-nav a[href$="scores"]::before,
.footer-section__item a[href$="scores"]::before,
.mobile-menu a[href$="scores"]::before {
    content: "\f091";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*events*/
.navbar-nav a[href$="events"]::before,
.footer-section__item a[href$="events"]::before,
.mobile-menu a[href$="events"]::before {
    content: "\f783";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*calendar*/
.navbar-nav a[href$="calendar"]::before,
.footer-section__item a[href$="calendar"]::before,
.mobile-menu a[href$="calendar"]::before {
    content: "\f073";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*groups*/
.navbar-nav a[href$="groups"]::before,
.footer-section__item a[href$="groups"]::before,
.mobile-menu a[href$="groups"]::before {
    content: "\f0c0";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*classifieds*/
.navbar-nav a[href$="classifieds"]::before,
.footer-section__item a[href$="classifieds"]::before,
.mobile-menu a[href$="classifieds"]::before {
    content: "\f1ea";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*yearbook*/
.navbar-nav a[href$="yearbook"]::before,
.footer-section__item a[href$="yearbook"]::before,
.mobile-menu a[href$="yearbook"]::before {
    content: "\f02d";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*scholarships-awards*/
.navbar-nav a[href$="scholarships-awards"]::before,
.footer-section__item a[href$="scholarships-awards"]::before,
.mobile-menu a[href$="scholarships-awards"]::before {
    content: "\f5a2";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*about*/
.navbar-nav a[href$="about-midwest-colorguard-circuit"]::before,
.footer-section__item a[href$="about-midwest-colorguard-circuit"]::before,
.mobile-menu a[href$="about-midwest-colorguard-circuit"]::before,
.article-footer a::before {
    content: "\f05a";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*Board of Directors*/
.navbar-nav .open .dropdown-menu a[href$="/bod"]::before,
.footer-section__item a[href$="/bod"]::before,
.mobile-menu a[href$="/bod"]::before {
    content: "\f500";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*Hall of Fame*/
.navbar-nav .open .dropdown-menu a[href$="/Hall-of-Fame"]::before,
.footer-section__item a[href$="/Hall-of-Fame"]::before,
.mobile-menu a[href$="/Hall-of-Fame"]::before {
    content: "\f0ac";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*Resources*/
.navbar-nav.main-menu a.resources[href$="#"]::before {
    content: "\f3a5";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*Membership Information*/
.navbar-nav a[href$="member-information"]::before,
.footer-section__item a[href$="member-information"]::before,
.mobile-menu a[href$="member-information"]::before {
    content: "\f500";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*article email*/
.article-item a[data-mce-href^="mailto:"]::before,
.article-item a[href^="mailto:"]::before {
    content: "\f0e0";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*article phone*/
.article-item a[data-mce-href^="tel:"]::before,
.article-item a[href^="tel:"]::before {
    content: "\f879";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

/*article link*/
.article-item a[href^="http"]::after {
    content: "\f0c1";
    font-family: fontawesome;
    padding-left: 5px;
    white-space: nowrap
}

/*SideBar icons*/
.circuit-panel__content .pull-right > a[href*="events"]::before {
    content: "\f091";
    font-family: fontawesome;
    padding-right: 5px;
    white-space: nowrap
}

.circuit-panel__content .pull-right > a[href*="recaps"]::before {
    content: "\f15c";
    font-family: fontawesome;
    font-size: smaller;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap
}

.circuit-panel__content .future::before {
    content: "\f192";
    font-family: fontawesome;
    padding-right: 2px;
    white-space: nowrap
}

a,
a:hover,
a:focus {
    color: #C30819;
}

.event-item {
    padding: 20px 0;
    border-top: solid 1px #D6D6D6;
    margin-top: -1px;
}

.event-item--no-border {
    border-top: 0;
}

.event-item__name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: bold;
}

.event-item__link {
    float: right;
    font-weight: bold;
}

/*Module appearance*/

.circuit-panel {
    background-color: #fff;
    border: solid 1px #D6D6D6;
    padding: 20px;
    margin-bottom: 20px;
}

.circuit-panel--red {
    background-color: #FB1021;
}

.circuit-panel__header {
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 20px;
    border-bottom: solid 2px #FF0218;
    width: 40px;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.circuit-panel__header--red {
    color: #fff;
    border-color: #fff;
}

.circuit-panel__content {
    padding: 8px 0;
    border-top: solid 1px #D6D6D6;
    margin-top: -1px;
}

.circuit-panel__content--no-border {
    border-top: 0px;
}

.footer-section .circuit-panel__header {
    width: 40px
}

.footer-section .circuit-panel__content {
    border-color: #D6D6D6;
    min-width: 150px;
    padding: 8px
}

.footer-section__header {
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    width: 100px;
    white-space: nowrap;
    font-size: 16px;
}

.footer-section__content {
    color: #B0B0B0;
}

.footer-section__item {
    margin: 15px 0;
}

.footer-section__link,
.footer-section__link:hover {
    color: #B0B0B0;
}

.footer-section .circuit-panel__content {
    display: flex;
    flex-wrap: wrap;
}

.footer-section__item {
    margin: 15px 0;
    padding-right: 20px;
}

.no-content {
    font-style: italic;
    color: #999;
}

.season-header {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.season-list {
    border-top: solid 1px #d0d0d0;
    margin-bottom: 20px;
}

.event-row {
    padding: 10px 0;
    border-bottom: solid 1px #d0d0d0;
}

.back-to-top {
    margin-top: 5px;
    text-align: center;
    font-size: 12px;
}

img {
    max-width: 100%;
}

figcaption {
    background-color: black;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.pull-left.logo a > img {
    max-width: 70%
}

.hidden {
    display: none
}

.flex {
    display: flex
}

.carousel-caption {
    background-color: #00000063;
}

/*Navigation arrow - back to top*/
#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    /*-moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);*/
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: red;
    border-radius: 4px 0 0 4px;
    color: #fff;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}

#back2Top:hover {
    background-color: darkred;
    color: #fefefe;
}

.large-flex .article-item ul,
.large-flex .article-item ol {
    padding: 0 0 10px 0;
    margin-bottom: 0
}

.large-flex .article-item ul ul,
.large-flex .article-item ol ol {
    list-style-type: none;
    padding: 0;
    margin-bottom: 10px
}

.large-flex .article-item ul {
    list-style-type: none
}

/*Board of Directors - page specific*/
ul.bd {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.bd li {
    margin-bottom: 20px;
}

.bd li a[href^="mailto:"] {
    overflow-x: hidden;
    width: 275px;
}

.note-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border-left: 0.5rem solid;
}

.note-callout-info {
    background-color: lightgrey;
    border-left-color: darkgrey;
}

.note-callout-primary {
    background-color: lightblue;
    border-left-color: darkblue;
}

.note-callout-warning {
    background-color: lightyellow;
    border-left-color: yellow;
}

.note-callout-danger {
    background-color: salmon;
    border-left-color: darkred;
}

/*Hall of Fame*/
.hall-of-fame {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.hall-of-fame li {
    padding-right: 10px;
}
/*Screensize adjustments*/
@media only screen and (max-width: 767px) {
    .flex {
        flex-flow: column;
        justify-content: space-between
    }

    .col-lg-2 .footer-section__header {
        padding-top: 10px
    }

    .mobilelogo img {
        padding: 0 !important;
        width: 130px !important
    }

    .mobile-menu-area {
        overflow: hidden;
        background-color: #bc0000;
        position: relative;
    }

    .mobile-menu-area #myLinks,
    .carousel-caption {
        display: none;
    }

    .mobile-menu-area a {
        color: white;
        padding: 4px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .mobile-menu-area a.icon {
        background: red;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .mobile-menu-area a:hover {
        background-color: gray;
        color: black;
    }

    .mobile-menu-area {
        color: #fff;
        background-color: #bc0000;
        padding: 0
    }

    .desktop-menu,
    .pull-left.logo img {
        display: none
    }

    .mobile-menu-area .icon {
        font-size: x-large;
        padding: 9px 22px;
        color: white
    }

    .bd li {
        width: 50%;
    }

    .bd li img {
        width: 120px;
    }
    
    .hall-of-fame li {
        width: 50%;
    }
    
    .carousel-caption {
        display: none;
    }

    .footer-section .circuit-panel__content {
        flex-direction: column;
    }
}

@media only screen and (min-width: 768px) {
    .flex {
        flex-flow: row;
        justify-content: space-between
    }

    .mobile-menu-area {
        display: none
    }

    .footer-section .circuit-panel__content {
        flex-direction: row
    }

    .footer-section .circuit-panel__content.welcome {
        flex-direction: column;
        text-align: left
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .bd li {
        width: 33%;
    }

    .bd li img {
        width: 150px;
    }
    
    .hall-of-fame li {
        width: 33%;
    }
    
    .carousel-caption {
        display: block;
    }
}

@media only screen and (min-width: 992px) {
    .container {
        width: 95%;
    }

    .article-item .article-header {
        font-size: medium;
        /*white-space: normal*/
    }

    .large-flex {
        display: flex;
        flex-wrap: wrap
    }

    .large-flex .article-item {
        border-top-width: 0;
        /*height: 825px;*/
        overflow-y: auto;
        padding: 20px;
        /*width: 50%;*/
    }

    /*read more positioning*/
    .large-flex .article-item .article-footer {
        position: absolute;
        bottom: 10px;
    }

    .bd li {
        width: 25%;
    }

    .bd li img {
        width: 200px;
    }

    .hall-of-fame li {
        width: 20%;
    }
    
    .carousel-caption {
        display: block;
    }
}