body {
    padding-top: 100px;
    background-color: white;
    background-image: url(https://cdn.veaf.org/website/dev/img/background-01-blur.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body, html {
    height: 100%;
}

pre {
    background: #f7f7f9
}

iframe {
    overflow: hidden;
    border: none
}

@media (min-width: 768px) {
    body > .navbar-transparent {
        box-shadow: none
    }

    body > .navbar-transparent .navbar-nav > .open > a {
        box-shadow: none
    }
}

#home, #help {
    font-size: .9rem
}

#home .navbar, #help .navbar {
    background: #349aed;
    background: linear-gradient(145deg, #349aed 50%, #34d8ed 100%);
    transition: box-shadow 200ms ease-in
}

#home .navbar-transparent, #help .navbar-transparent {
    background: none !important;
    box-shadow: none
}

#home .navbar-brand .nav-link, #help .navbar-brand .nav-link {
    display: inline-block;
    margin-right: -30px
}

#home .nav-link, #help .nav-link {
    text-transform: uppercase;
    font-weight: 500;
    color: #fff
}

#home {
    padding-top: 0
}

#home .btn {
    padding: .6rem .55rem .5rem;
    box-shadow: none;
    font-size: .7rem;
    font-weight: 500
}

.bs-docs-section {
    margin-top: 4em
}

.bs-docs-section .page-header h1 {
    padding: 2rem 0;
    font-size: 3rem
}

.dropdown-menu.show[aria-labelledby="themes"] {
    display: -ms-flexbox;
    display: flex;
    width: 420px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.dropdown-menu.show[aria-labelledby="themes"] .dropdown-item {
    width: 33.333%
}

.dropdown-menu.show[aria-labelledby="themes"] .dropdown-item:first-child {
    width: 100%
}

.bs-component {
    position: relative
}

.bs-component + .bs-component {
    margin-top: 1rem
}

.bs-component .card {
    margin-bottom: 1rem
}

.bs-component .modal {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: 1;
    display: block
}

.bs-component .modal-dialog {
    width: 90%
}

.bs-component .popover {
    position: relative;
    display: inline-block;
    width: 220px;
    margin: 20px
}

.source-button {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    font-weight: 700
}

.source-button:hover {
    cursor: pointer
}

.bs-component:hover .source-button {
    display: block
}

#source-modal pre {
    max-height: calc(100vh - 11rem);
    background-color: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.7)
}

.nav-tabs {
    margin-bottom: 15px
}

.progress {
    margin-bottom: 10px
}

#main {
    min-height: 100%;
}

#footer {
    margin: 1em 0
}

#footer li {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em
}

#footer p {
    clear: left;
    margin-bottom: 0
}

#footer {
    padding-top: 10px;
    padding-left: 50px;
    padding-right: 50px;
    /*height:150px;*/
    /*position:absolute;*/
    width: 100%;
    bottom: 0;
    background-color: rgba(255, 255, 255, .5);
}

.splash {
    padding: 12em 0 6em;
    background: #349aed;
    background: linear-gradient(145deg, #349aed 50%, #34d8ed 100%);
    color: #fff;
    text-align: center
}

.splash .logo {
    width: 160px
}

.splash h1 {
    font-size: 3em;
    color: #fff
}

.splash #social {
    margin: 2em 0 3em
}

.splash .alert {
    margin: 2em 0;
    border: none
}

.splash .sponsor a {
    color: #fff
}

.section-tout {
    padding: 6em 0 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #eaf1f1;
    text-align: center
}

.section-tout .icon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #349aed;
    background: linear-gradient(145deg, #3b9cea 50%, #3db8eb 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.5)
}

.section-tout p {
    margin-bottom: 5em
}

.section-preview {
    padding: 4em 0
}

.section-preview .preview {
    margin-bottom: 4em;
    background-color: #eaf1f1
}

.section-preview .preview .image {
    position: relative
}

.section-preview .preview .image::before {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    pointer-events: none
}

.section-preview .preview .options {
    padding: 2em;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
    text-align: center
}

.section-preview .preview .options p {
    margin-bottom: 2em
}

.section-preview .dropdown-menu {
    text-align: left
}

.section-preview .lead {
    margin-bottom: 2em
}

.sponsor #carbonads {
    max-width: 240px;
    margin: 0 auto
}

.sponsor .carbon-text {
    display: block;
    margin-top: 1em;
    font-size: 12px
}

.sponsor .carbon-poweredby {
    float: right;
    margin-top: 1em;
    font-size: 10px
}

.container-main {
    background-color: white;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.navbar {
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    padding-bottom: 0px;
    padding-top: 0px;
}

.logo-navbar {
    float: left;
    max-height: 50px;
    width: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* module landing page */
.module-description-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(100, 100, 100, 0.5);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    /* transition effect. not necessary */
    transition: opacity .2s, visibility .2s;
}

.module-wrap:hover .module-description-layer {
    visibility: visible;
    opacity: 1;
}

.module-description {
    transition: .2s;
    transform: translateY(1em);
}

.module-wrap:hover .module-description {
    transform: translateY(0);
}

/* module roster page */
.module-roster-description-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.module-roster-button-popup-container {
    position: absolute;
    top: 16px;
    right: -25px;

    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.module-roster-button-popup {
    width: 25px;
    height: 80px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.roster-table {
    font-size: larger;
}

.roster-text-valign {
    vertical-align: middle;
}

.roster-icon-wrap {
    vertical-align: middle;
}

.roster-period {
    background-image: linear-gradient(#04519b,#033c73 60%,#02325f);
    background-repeat: no-repeat;
    color: white;
}

.card-stats {
    height: 12em;
}

.card-stats-small {
    height: 8em;
}

.card-stats-text {
    font-size: 2.5rem;
    font-weight: bold;
}

.card-choice {
    height: 13em;
}

.member-icon-guest {
    color: #495057;
}

@media (max-width: 767px) {
    .splash {
        padding-top: 8em
    }

    .splash .logo {
        width: 100px
    }

    .splash h1 {
        font-size: 2em
    }

    #banner {
        margin-bottom: 2em;
        text-align: center
    }
}

i.cadet {
    color: #2fa4e7;
}

#footer{
    margin-bottom : 0;
}
