body {
    color: #444;
    font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    overflow-x: hidden;
}

.btn-rfm {
    color: #fff !important;
    background-color: #407d7e;
}

.mobile-phone {
    display: none;
}

@media (max-width:767px) {
    .desktop-phone {
        display: none;
    }

    .mobile-phone {
        display: block;
    }
}

.btn {
    font-size: 1.25rem;
}

.btn-lg {
    font-size: 1.5rem;
}

.carousel-indicators li {
    border-radius: 10px;
}

@media (max-width: 479px) {
    .carousel-indicators {
        bottom: -10px;
    }
}

/* RFM Video */
.rfm-video {
    width: 100%;
    height: 800px
}

@media (min-width:992px) and (max-width:1199px) {
    .rfm-video {
        height: 615px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .rfm-video {
        height: 498px;
    }
}

@media (min-width:480px) and (max-width:767px) {
    .rfm-video {
        height: 372px;
    }
}

@media (max-width:479px) {
    .rfm-video {
        height: 258px;
    }
}
/* END RFM Video */

/* Footer */
footer {
    font-size: 1.5rem;
    max-width: 700px;
    margin: auto auto 30px;
    text-align: center;
}

#footer-copyright {
    margin-top: 20px;
    font-size: 1.0625rem;
}

footer a {
    color: #444 !important;
}

    footer a:hover, footer a:focus {
        color: #444;
    }

#user-profile ul {
    list-style-type: none;
    margin: 0;
}

#user-profile > div {
    width: 100%;
}
/* END Footer */



/* Carousel */
#myCarousel img {
    width: 100%;
    height: auto;
    max-height: 880px
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    background-color: #fff;
}

.carousel-indicators .active {
    width: 15px;
    height: 15px;
    background-color: #407d7e;
    border: none;
    margin: 1px;
}
/* END Carousel */



/* Exhibitions Layout */
.exhibitions [class*='col-'] {
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .exhibitions [class*='col-'] {
        margin-bottom: 1rem;
    }
}

.exhibition-lg img {
    /*height: 100%;*/
    width: 100%;
    padding: 0 2px 4px;
}

.exhibition-lg p {
    margin-bottom: 0;
}

    .exhibition-lg p:nth-of-type(2) {
        font-size: 2.8125rem;
        font-weight: 700;
        color: #fff;
        line-height: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 10px;
        width: calc(100% - 4px);
        background: rgba(27, 29, 29, 0.78);
        margin: 0 2px 4px 2px;
    }

    .exhibition-lg p span {
        font-size: 2.1875rem;
        font-weight: initial;
    }

@media (max-width: 992px) {
    .exhibition-lg p:nth-of-type(2) {
        font-size: 2.3125rem;
    }

    .exhibition-lg p span {
        font-size: 1.6875rem;
    }
}

.exhibition-sm img {
    /*height: 100%;*/
    width: 100%;
    padding: 0 2px;
}

.exhibition-sm p:first-of-type {
    margin: 0;
}

.exhibition-sm p:nth-of-type(2) {
    font-size: 1.5vw;
    color: #3d7e7e;
    line-height: 95%;
    padding: 5px 0;
    margin: 0;
}

.exhibition-sm p:nth-of-type(3) {
    font-size: 1.3vw;
    line-height: 110%;
    margin: 0;
}

.exhibition-sm p:not(:first-of-type) {
    width: 92%;
    margin: auto;
    overflow: hidden;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .exhibition-sm p {
        font-size: 1.9vw !important;
        line-height: 100%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .exhibition-sm p {
        font-size: 1.9vw !important;
        line-height: 100%;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .exhibition-sm p {
        font-size: 3.4vw !important;
        line-height: 100%;
    }
}

@media (max-width: 479px) {
    .exhibition-sm p {
        font-size: 4.4vw !important;
        line-height: 95%;
    }
}
/* END Exhibitions Layout */



/* Plain Layout */
.plain-layout {
    margin-top: 91px;
}

@media (max-width: 991px) {
    .plain-layout {
        margin-top: 44px;
    }
}
/* END Plain Layout */



/* Home Layout */
[id*="HomeRightContentPane"] {
    margin-top: 35px;
    font-size: 2rem;
    line-height: 2.4rem;
}

    [id*="HomeRightContentPane"] a {
        color: #337ab7;
    }

#HomeHeader {
    font-family: garamond;
}

    #HomeHeader p {
        margin-bottom: 10px;
        font-size: inherit;
    }

    #HomeHeader #dnn_ContentPane p {
        font-size: 3rem;
        color: #407d7e;
        line-height: 3.3rem;
    }

    #HomeHeader img {
        height: 55px;
    }

.home-layout h1 {
    font-weight: bolder;
    font-size: 5rem;
    line-height: 4.5rem;
    letter-spacing: 0;
    padding-bottom: 0px;
}

.homepage-link h2 {
    margin: 10px 0 5px;
    font-size: 1.875rem;
    color: #407d7e;
}

.homepage-link h2, .homepage-link p:last-child {
    width: 90%;
    margin: auto;
}

.homepage-link {
    padding: 3px 3px 10px 3px;
    margin: 0 auto 1.5rem auto;
    max-width: 450px;
}

@media (max-width: 1199px) {
    #HomeHeader {
        text-align: center;
    }

        #HomeHeader #dnn_ContentPane {
            border-bottom: 1px solid #407d7e;
        }

    [id*="HomeRightContentPane"] {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .homepage-link {
        border-bottom: 1px solid #407d7e;
    }

    [id*="HomeRightContentPane"] {
        font-size: 1.5rem;
    }
}

.homepage-link p {
    margin-bottom: 10px;
}

.homepage-link a {
    color: inherit;
}

    .homepage-link a:hover, .homepage-link a:focus {
        text-decoration: none;
    }
/* END Home Layout */



/* Main */
#top-of-page a {
    font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    text-align: center;
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: white;
    background-color: #407d7e;
    z-index: 1;
    font-size: 14pt;
    transition: width, .2s;
}

    #top-of-page a:focus {
        position: absolute;
        top: 0;
        left: 0px;
        width: 300px;
        height: 37px;
        padding: 6px;
        text-decoration: none;
    }

    #top-of-page a:focus {
        outline-offset: -4px;
    }

#bottom-of-page a {
    font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    text-align: center;
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: white;
    background-color: #407d7e;
    z-index: 1;
    font-size: 14pt;
    transition: width, .2s;
}

    #bottom-of-page a:focus {
        position: absolute;
        left: 0px;
        width: 300px;
        height: 37px;
        padding: 6px;
        text-decoration: none;
    }

    #bottom-of-page a:focus {
        outline-offset: -4px;
    }

main {
    max-width: 1896px;
    margin: auto;
    padding: 0 48px 100px;
    margin: 0 48px 100px;
    padding: 0;
}

main p {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

h1 {
    color: #407d7e;
    font-size: 4.375rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 25px 0 20px;
}

h2 {
    font-size: 3rem;
    color: #407d7e;
}

@media (min-width:480px) and (max-width:767px) {
    main {
        padding: 0 48px 70px;
        margin: 0 48px 70px;
        padding: 0;
    }
}

@media (max-width:767px) {
    h1 {
        line-height: 120%;
        font-size: 3.125rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width:479px) {
    main {
        padding: 0 20px 70px;
        margin: 0 20px 70px;
        padding: 0;
    }
}
/* END Main */



/* Navigation */
.navbar {
    position: absolute;
    font-size: 1.5rem;
    width: 991px;
    margin-left: calc(50% - 495.5px);
    background-color: #407d7e;
    border-bottom: 2px solid;
    border-color: #63aaaa;
    opacity: .95;
    z-index: 1000;
    padding: 0;
    top: 0;
}

@media (max-width: 992px) {
    .navbar {
        position: fixed;
        left: 0;
        right: 0;
    }
}

.navbar-toggle {
    border: 1px solid white;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    height: 89px;
}

.navbar-toggle span {
    background: white;
}

.navbar-nav > li > a:hover {
    background-color: #63aaaa;
}

.navbar-nav > li > a:focus {
    background-color: initial !important;
}

.navbar-collapse {
    padding: 0;
}

.navbar li a {
    color: #fff !important;
    padding: 27.2px 0;
    text-transform: uppercase;
    transition: background-color .5s ease;
}

@media (max-width: 991px) {
    /* Override Bootstrap navbar collapse breakpoint */
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar {
        width: 100%;
        margin-left: 0;
        min-height: 42px;
    }

    .navbar-brand {
        height: 42px;
        line-height: 42px;
    }
    /* END navbar override */
}
/* END Navigation */



/* Hero Backgrounds */
.hero {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-top: 35%;
}

.hero-plan-your-visit {
    background-image: url(Assets/Hero/TearJar-1840.jpg)
}

.hero-exhibitions {
    background-image: url(Assets/Hero/GunRoom-1840.jpg)
}

.hero-brownell-library {
    background-image: url(Assets/Hero/BrownellLibrary-1840.jpg)
}

.hero-site-design {
    background-image: url(Assets/Hero/Butterflies-1840.jpg)
}

.hero-learn {
    background-image: url(Assets/Hero/StarSchool-1840.jpg)
}

.hero-about {
    background-image: url(Assets/Hero/Cabin-1840.jpg)
}

.hero-museum-video {
    background-image: url(Assets/Hero/MuseumVideo-1840.jpg)
}

.hero-cofo {
    background-image: url(Assets/Hero/CofO-1840.jpg)
}

.no-hero {
    height: 0
}

@media (min-width:768px) and (max-width:991px) {
    .hero-plan-your-visit {
        background-image: url(Assets/Hero/TearJar991.jpg)
    }

    .hero-exhibitions {
        background-image: url(Assets/Hero/GunRoom-991.jpg)
    }

    .hero-brownell-library {
        background-image: url(Assets/Hero/BrownellLibrary-991.jpg)
    }

    .hero-site-design {
        background-image: url(Assets/Hero/Butterflies-991.jpg)
    }

    .hero-learn {
        background-image: url(Assets/Hero/StarSchool-991.jpg)
    }

    .hero-about {
        background-image: url(Assets/Hero/Cabin-991.jpg)
    }

    .hero-museum-video {
        background-image: url(Assets/Hero/MuseumVideo-991.jpg)
    }

    .hero-cofo {
        background-image: url(Assets/Hero/CofO991.jpg)
    }
}

@media (max-width: 992px) {
    .hero, .hero-carousel {
        margin-top: 44px;
    }
}
/* END Hero Backgrounds */

:focus {
    outline: 4px solid #50e3c2 !important;
}

:focus .headlineLink {
    outline: 4px solid #50e3c2; 
}

a:not([class]) {
    color: #407d7e;
}