
:root {
    --back-color: #213159;
    --nav-color: #fff;
    --highlight-color: #c94c4d;
    --fore-color: #cbdbf4;
    --emphasis-color: #961820;
    --display-text-color: #3d6098;
    --nav-link: #fff;
    --dark-color: #d7dce5;
    --light-color: #eaedf2;
    --shadow: rgba(9, 28, 58,0.5);
}

/* content containers */
html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: var(--back-color);
    margin-bottom: 40px;
}

.content-body {
    background-color: var(--fore-color);
    margin: 10px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: var(--back-color);
    color: var(--nav-link);
}

.push-right {
    margin: 20px;
}

.body-links {
    background-color: var(--highlight-color);
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: 10px;
    float: left; 
    border-radius: 5px;
}

.inline-links {
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    display: inline;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
}

.inline-image {
    float: right;
    border-radius: 10px;
    border: 10px solid white;
    box-shadow: 0px 5px 10px 0px var(--shadow);
    margin-left: 10px;
}

.inline-image-left {
    float: left;
    border-radius: 10px;
    border: 10px solid white;
    box-shadow: 0px 5px 10px 0px var(--shadow);
    margin-right: 10px;
}

.side-video {
    float: right;
    margin-left: 10px;
}

.card {
    background-color: var(--nav-link);
    box-shadow: 0px 5px 10px 0px var(--shadow);
}

.list-group-item {
    background-color: var(--fore-color) !important;
}

.center-video {
    text-align: center;
}

/* font display */
.display-4 {
    color: var(--emphasis-color);
}

.smaller {
    font-size: 1.5em;
}

.emphasis-text {
    color: var(--highlight-color);
    display: inline;
    font-size: 1.3em;
}

.paragraph-text {
    font-family: 'Open Sans', sans-serif;
}

p {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.small-header {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3em;
    color: var(--emphasis-color);
}

/* navigation */
.navbar {
    font-size: 1.7em;
    font-family: sans-serif;
    background-color: var(--nav-color);
    padding: 10px;
    margin-bottom: -10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0px 3px 5px 0px var(--shadow);
}

.dropdown-menu {
    background-color: var(--nav-color);
    border: 0;
    box-shadow: 0px 5px 10px 0px var(--shadow);
    font-size: 0.75em;
    font-family:  sans-serif;
}

.dropdown-toggle:after {
    display: none;
}

.dropdown-item:nth-child(even) {
    background-color: var(--light-color);
}

.dropdown-item:nth-child(odd) {
    background-color: var(--dark-color);
}

.dropdown-item.active-highlight, .active-highlight {
    background-color: var(--highlight-color);
    border-radius: 5px;
    box-shadow: 0px 3px 10px 0px var(--shadow);
}

.nav-link {
    margin: 10px;
}

/* link colors */

a:link, a:visited {
    color: var(--display-text-color);
}

nav > div > ul > li > a:link, a:visited {
    text-shadow: 2px 2px 5px var(--shadow);
}

a:link.dropdown-item, a:visited.dropdown-item {
    color: var(--back-color);
}

a:hover {
    color: var(--highlight-color);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: var(--nav-link);
    color: var(--highlight-color);

}

a:active {
    color: var(--display-text-color);
}

a:visited.active-highlight  {
    color: var(--nav-link);
}

a:hover.active-highlight {
    color: var(--back-color);
    text-decoration: none;
}

.front-button {
    background-color: var(--nav-color);
}

.front-button:hover {
    background-color: var(--back-color);
}

.link-center {
    display: block;
    text-align: center;
}

.intro-text {
    font-size: 2.5em;
}

/*videos*/

#videos-vid a {
    display: block;
    width: 25%;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 0 10px;
    float: left;
    cursor: pointer;
    text-decoration: none;
    outline: 0;
}

#videos-vid a:hover {
    opacity: 0.7;   
}

#videos-vid a img { 
    width: 100%;
    height: 250px;
}

#overlay-vid { 
    background: rgba(0,0,0,0.8); 
    position:fixed; 
    top: 0; 
    right: 0; 
    left:0; 
    bottom: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 99999; 
    display: none;
}

#overlay-vid .modal-vid {
    background: #fff;
    border-radius: 5px;
    width: 90%;
    margin: 100px auto;
    width: 820px;
    height: 560px;
    position: relative;
    padding: 30px 20px 15px;
    box-shadow: 0px 3px 10px 0px var(--shadow);
}

#overlay-vid .modal-vid #close-vid {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

#overlay-vid iframe {
    width: 100%;
}

.larger-video {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
 }


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    body {
        font-size: 2.0em;
    }

    .lead {
        font-size: 1.3em;
    }
    .navbar {
        float: left;
        position: fixed;
        border-bottom-right-radius: 10px;
        border: 0;
        width: 90%;
        margin-top: 0;
    }

    .dropdown-menu {
        border: 0;
        box-shadow: none;
        
    }

    .mobile-menu {
        font-size: 2.0em;
        padding-top: 7px;
        color: var(--display-text-color);
    }

    .inline-image, .inline-image-left {
        width: 100%;
        height: 100%;
        margin-bottom: 30px;
    }

    .intro-text {
        font-size: 2em;
        margin-top: 40px;
    }

    .nav-item {
        font-size: 135%;
    }

    .dropdown-menu {
        font-size: 70%;
    }

    .smaller {
        font-size: 1.5em;
    }

    .paragraph-text {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.4em;
    }
    .card-title {
        font-size: 2em;
    }

    .card-subtitle {
        font-size: 1em;
    }
    
    .front-button {
        width: 275px;
        height: 75px;
        font-size: 1em;
    }

    nav > div > ul > li > a:link, a:visited {
        text-shadow: none;
    }

    .mobile-size {
        width: 100%;
        height: 500px;
        margin-bottom: 20px;
     }

}