body {
    font-size: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.navbar-brand {
    font-family: Cinzel, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
    margin-bottom: 20px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.3;
}

table {
    font-size: 14px;
}

.banner {
    background-color: #008da8;
    color: white;
}

.banner h4 {
    color: white
}

.banner .glyphicon {
    font-size: 2.5em;
    margin-top: 10.5px;
}

.navbar {
    margin-bottom: 0;
    font-size: 16px;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
    background-color: #00467f;
}

.nav-bg {
    background: #008da8;
    border-style: solid;
    border-width: 10px 0 0;
    border-image: url("/img/dashed-rule.jpg") 10 repeat;
    margin-bottom: 0;
}

.navbar-toggle {
    margin-top: 11px;
}

.navbar-brand {
    float: none;
    font-size: 16px;
    height: auto;
    padding: 8px 10px;
}

.navbar-brand a {
    color: #fff;
}

.navbar-brand a:hover {
    color: #fff;
    text-decoration: none;
}

.navbar-form {
    margin-left: 0;
    margin-right: 0;
    border: none;
    box-shadow: none;
}

.logo-nav {
    float: left;
    width: 44px;
}

#search {
    padding: 15px 10px;
}

footer {
    font-size: 13px;
    margin: 0 auto;
    background: #333;
    color: #f8f8f8;
    padding-top: 20px;
    word-wrap: break-word;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer li {
    position: relative;
    display: inline-block;
    text-align: center;
    background: none;
    border-bottom: none;
    padding: 0 15px 0 0;
}

footer .row {
    border-bottom: 5px solid #292929;
    margin-bottom: 20px;
}


.footnote {
    font-size: 13px;
}



.light-blue-bg {
    background: #e5f3f6;
    border-top: 1px solid #c2e3ea;
    border-bottom: 1px solid #c2e3ea;
}

.light-grey-bg {
    background: #f6f6f7;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}


.white-bg {
    background: #fff;
}

.light-bg .lead,
.white-bg .lead {
    color: #222;
}

.mainpage section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.mainpage section h2,
.mainpage section h3 {
    margin-top: 0;
}

blockquote {
    border-left: 2px solid #569fd3;
}

a,
a.list-group-item {
    color: #26bcd7;
    word-wrap: break-word;
}

a.list-group-item:focus,
a.list-group-item:hover {
    background-color: #ddd;
}

figure {
    margin: 20px 0;
}

figcaption {
    border-left: #26bcd7 2px solid;
    color: #3b3b3b;
    font-size: 14px;
    margin-top: 10px;
    padding: 0 5px 0 10px;
}

/* Image box highlight */
.picture-highlight {
    background: #fefefe;
    box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.picture-highlight a {}

.picture-highlight div {
    overflow: hidden;
}

.picture-highlight h3,
.picture-highlight p {
    padding: 10px 15px 0;
    margin: 0 auto;
}

.picture-highlight img {
    width: 100%;
    transition: all .5s ease-in-out;
}

.picture-highlight img:hover {
    transform: scale(1.1);
}

.masonry-box .picture-highlight img:hover {
    transform: none;
}

.mainpage section.masonry-box {

    padding-top: 10px;
    padding-bottom: 10px;
}

.breadcrumb {
    font-size: .8em;
    background: none;
    border: none;
    margin-bottom: 0;
    padding: 10px 15px;
    text-align: left;
}

div .breadcrumb a {
    color: #00467f;
    font-weight: 400;
}

.masthead .breadcrumb>.active {
    color: #fafafa;
}

.lead {
    color: #1a1a1a;
    font-weight: 400;
}

.active-nav {
    background-color: #d9edf7;
    color: #fff;
}

/**** LIST STYLES****/

.zebralist {}

.zebralist ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.zebralist ul li {
    font-size: .9em;
    margin: 10px 0;
    border: #eee .4em solid;
    padding: 10px;
}

.zebralist ul li:nth-child(2n+1) {
    background-color: #e1eefa;
}

.zebralist ul li strong {
    color: #333;
}

/* Sidebar Page Navigation */
.affix-top,
.affix {
    position: static;
    display: inherit;
}

#sidebar.affix-top {
    position: static;
    margin-top: 30px;
    /*width:180px;*/
}

#sidebar.nav .nav {
    font-size: 13px;
    margin: 0 0 0 10px;
}

#sidebar li.active a {
    border: 0 #569fd3 solid;
    border-left-width: 4px;
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: #569fd3;
    color: #fff;
}


/* Whales Homepage */
.home-hero {
    background: #00467f url("/whales/images/whale-tail-768x500.jpg") top right no-repeat;
}

.home-hero-text {
    color: #f8f8f8;
    background: rgb(0, 0, 0);
    /* Fallback */
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 1px 20px 12px;
}

.masthead {
    background-color: rgba(18, 68, 96, 0.7) !important;
    box-shadow: inset 0 0 0 100vw rgba(0, 70, 127, 0.5);
    color: #e5f3f6;
    font-size: 20px;
    font-weight: 300;
    line-height: 160%;
    min-height: 200px;
    text-align: center;
}

.masthead h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 4em;
    margin-top: 2em;
    font-weight: 600;
    color: #e5f3f6;
    text-shadow: 4px 4px 3px #00467f;
    opacity: 1;
}

#multmedia .masthead {
    background: #000 !important;
    min-height: 250px;
}

.jumbotron {
    padding: 30px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #fafafa;
}

.jumbotron h1,
.jumbotron .h1 {
    color: inherit;
}

.jumbotron p {}

.container .jumbotron {
    border-radius: 0;
}

.jumbotron .container {
    max-width: 100%;
}

.more-info {}

.more-info h3,
.more-info h4 {
    border-bottom: #569fd3 1px solid;
    padding-bottom: 6px;
    margin: 0 0 10px;
}

.more-info .list-group {
    font-size: 14px;
}

.more-info .list-group-item {
    margin-bottom: 0;
    border: none;
}

.more-info section {
    margin-bottom: 30px;
}

.more-info .btn-sm {
    padding: 8px 14px;
}

.more-info .list-group a {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
}

.more-info a:focus,
.more-info a:hover {
    background-color: #ddd;
    text-decoration: none;
}



.margin-top20 {
    margin-top: 20px;
    margin-bottom: 20px;
}


.margin30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.margin20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.padding30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pull-right-margin {
    float: right !important;
}

.box-item {
    margin: 30px 0;
}

.box-item .glyphicon {
    color: #008DA8;
    font-size: 5em;
}

.page-nav {
    margin: 10px 0 20px;
}

.page-nav .btn {
    margin-top: 5px;
}


.page-nav .nav {
    font-size: 19px;
}

.page-nav li {
    border-right: 2px solid #e0e0e0;
}

.page-nav li:last-child {
    border-right: none;
}

.page-nav .nav>li>a {
    margin: 0 7px 0 5px;
    padding: 5px 10px;
}

.panel ul {
    padding-left: 20px;
}

.panel li {
    margin-bottom: 5px;
}

.tooltip {
    font-size: 13px;
}

.tooltip-inner {
    max-width: 270px;
    padding: 3px 8px;

}

.btn-sm,
.btn-xs {
    font-size: 13px;
}


/*Panel */


.panel-cr {
    color: #0e7da6;
    background-color: #ebfafa;
    padding: 3px 8px;
    font-size: 14px;
    border: solid #ccc;
    border-width: 1px 1px;
}

.panel-faq {
    border-color: #2ebdbd;
}

.panel-faq>.panel-heading {
    color: #000000;
    background-color: #c4f1f1;
    border-color: #2ebdbd;
}

.panel-faq>.panel-heading+.panel-collapse .panel-body {
    border-top-color: #000000;
    background-color: #ebfafa;
    border-color: #2ebdbd;
}

.panel-faq>.panel-footer+.panel-collapse .panel-body {
    border-bottom-color: #3c9a5f;
    border-color: #2ebdbd;
}

/* Large image mastheads */

#education .masthead {
    background: url("/img/education-header768.jpg") center center no-repeat;
    min-height: 250px;
}

#policy .masthead {
    background: url("/img/policy-header768.jpg") center center no-repeat;
    min-height: 250px;
}

#news .masthead {
    background: url("/img/news-header768.jpg") center center no-repeat;
    min-height: 250px;
}

#diver .masthead {
    background: url("/img/divers-research-768.jpg") center center no-repeat;
    min-height: 250px;
}

#visit .masthead {
    background: url("/img/visit-header-768.jpg") center center no-repeat;
    min-height: 250px;
}

#about .masthead {
    background: url("/img/about-header-768.jpg") center center no-repeat;
    min-height: 250px;
}

#advisory-council .masthead {
    background: url("/img/ac-header-768.jpg") center center no-repeat;
    min-height: 250px;
}

/* Equal Height Rows */

.row.equalheights {
    overflow: hidden;
}

.row.equalheights>[class*="col-"] {
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

/* Masonry */

.img-box {
    margin: 15px 0;
}

.img-box figcaption {
    background: #fff;
    padding: 5px 10px;
    display: block;
    border-left: none;
    margin-top: 0;
    font-size: 15px;
}

.carousel {
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
}

/* The controlsy */
.carousel-control {
    left: -12px;
    height: 40px;
    width: 40px;
    background: none repeat scroll 0 0 #222222;
    border: 4px solid #FFFFFF;
    border-radius: 23px 23px 23px 23px;
    margin-top: 90px;
}

.carousel-control.right {
    right: -12px;
}

/* The indicators */
.carousel-indicators {
    right: 50%;
    top: auto;
    bottom: -10px;
    margin-right: -19px;
}

/* The colour of the indicators */
.carousel-indicators li {
    background: #cecece;
}

.carousel-indicators .active {
    background: #428bca;
}

hr.soften {
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    border: 0;
}

@media screen and (min-width: 481px) {

    .navbar-brand {
        float: left;
        font-size: 26px;
    }

    .logo-nav {
        float: none;
    }
}

@media screen and (max-width: 767px) {
    .masthead h1 {
        font-size: 2em !important;
        margin-top: 1.2em !important;
    }
}

@media screen and (max-width: 568px) {

    .jumbotron,
    .jumbotron .container,
    .jumbotron .col-lg-6 {
        padding: 0;
    }


    .home-hero-text {
        border-radius: 0;
    }

    h1 {
        font-size: 24px;
    }

    footer li {
        text-align: left;
        width: 100%;
    }
}


@media screen and (min-width: 768px) {

    figure {
        margin: 20px 0;
        display: table;
    }

    figcaption {
        display: table-caption;
        caption-side: bottom;
    }

    figure.pull-right-margin {
        margin: 0 -15% 0 20px;
    }


    figure.pull-right {
        margin-left: 20px;
    }

    .jumbotron {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumbotron {
        padding-left: 60px;
        padding-right: 60px;
    }

    .logo-nav {
        width: 64px;
    }

    #sidebar.affix-top {
        position: static;
        margin-top: 30px;
        /*width:180px;*/
    }

    #sidebar.affix {
        position: fixed;
        top: 70px;
        /*width:180px;*/
    }

    #search {
        margin-right: -40px;
    }

    #education .masthead {
        background: url("/img/education-header1920.jpg") center center no-repeat;
        min-height: 400px;
    }

    #policy .masthead {
        background: url("/img/policy-header1920.jpg") center center no-repeat;
        min-height: 400px;
    }

    #news .masthead {
        background: url("/img/news-header1920.jpg") center center no-repeat;
        min-height: 400px;
    }

    #diver .masthead {
        background: url("/img/divers-research-1920.jpg") center center no-repeat;
        min-height: 400px;
    }

    #visit .masthead {
        background: url("/img/visit-header-1920.jpg") center bottom no-repeat;
        min-height: 400px;

    }

    #about .masthead {
        background: url("/img/about-header-1920.jpg") center bottom no-repeat;
        min-height: 400px;
    }

    #advisory-council .masthead {
        background: url("/img/ac-header-1920.jpg") center bottom no-repeat;
        min-height: 400px;
        background-size: cover;
    }


    /* 3 Column Layout */

    .section-nav {
        background: rgb(245, 246, 247);
        border-right: 1px solid #DFDFE2;
    }

    .section-nav h4 {
        color: #00467F;
    }

    .section-nav ul.nav ul {
        list-style: none;
        padding-left: 1em;
    }

    .gray-bg {
        background: #F5F6F7;
    }

    .gray-border-bottom {
        border-bottom: 1px solid #DFDFE2;
    }
}


@media screen and (min-width: 992px) {
    figure img {
        display: block;
    }

    .home-hero {
        background: #e1eefa url("/whales/images/whale-tail-1600x500.jpg") center bottom no-repeat;
    }

    #sidebar.affix-top {
        /*width:200px;*/
    }

    #sidebar.affix {
        /* width:200px;*/
    }

}

@media screen and (min-width: 1200px) {

    /* Back To Top */
    .top {
        position: fixed;
        bottom: 0.5em;
        right: 0.5em;
        text-decoration: none;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 0.1em 0.3em 0.1em;
        display: none;
        border-radius: 3px;
        z-index: 500;
    }

    .top:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }

}

@media screen and (min-width: 1600px) {
    .max-width-1600 {
        max-width: 1600px;
        margin: 0 auto;
    }

    .masthead {
        background-size: cover;
        min-height: 600px;
    }
}

@media screen and (min-width: 768px) {
    .masthead {
        min-height: 500px;
    }
}

.masthead {
    background-size: cover !important;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}