@import url(//fonts.googleapis.com/css?family=Open+Sans:400,600);
@import 'slick.css';
@import 'slick-theme.css';

/* General Rules */
#container {
    background: #F3F3F3;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    background: url('/img/bg/fmp-bg.jpg') top left no-repeat;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

ul, ol {
    margin: 0 0 30px;
    padding-left: 40px;
}

ul.bullets,
section.members ul,
ul {
    list-style: url('/img/bg/bullet.png');
}

ul.bullets li,
section.members ul li,
ul li,
ol li {
    margin: 10px 0;
}

ul li ul,
ul li ol,
ol li ul,
ol li ol {
    padding-left: 30px;
    margin: 0;
}

ol {
    counter-reset: li; /* Initiate a counter */
}

ol > li {
    list-style-type: none;
    position: relative; /* Create a positioning context */
}

ol > li:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #2e9ad9;
    content: counter(li) '' ".";
    counter-increment: li;
    left: -20px;
    position: absolute;
    top: 0;
    width: 2em;
}

ol > li > ol > li:before {
    content: counter(li, lower-alpha) '' ".";
}

ul.bullets li.current a {
    color: #ed8800;
    font-weight: bold;
}

h1 {
    color: #fff;
    font-size: 36px;
    font-weight: normal;
}

h2 {
    color: #ED8800;
}

input.search {
    background: url('/img/buttons/search_bg.png') #f2f2f2 top right no-repeat;
    padding: 5px 30px 6px 6px;
    width: 160px;
    border: 1px solid #cecece;
    border-radius: 4px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
    color: #2e9ad9;
    text-decoration: none;
}

a:hover,
#homepage .news a:hover,
#sidebar.calendar a.button:hover {
    color: #017dc5;
}

article h3 {
    font-size: 20px;
}

article h3 a {
    color: #ed8800;
    text-decoration: none;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 26px;
}

article a.browse {
    text-decoration: none;
    display: inline-block;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
    padding: 4px 30px 4px 4px;
    margin-top: 4px;
    color: #58AEDE;
    background: url('/img/buttons/view_details_arrow.png') #fff right 3px no-repeat;
    font-size: 16px;
}

section {
    margin-bottom: 2em;
}

section > a {
    font-size: 16px;
}

section a.details,
a.details {
    border-bottom: 1px solid #ececec;
    display: block;
    font-weight: bold;
    margin-top: .5em;
    padding-bottom: 2em;
}

#sidebar a.details {
    border: none;
    display: inline-block;
    padding-bottom: 0;
}

.button,
button,
#sidebar.calendar a.button {
    display: inline-block;
    color: #ED8700;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 12px;
}

.button.details,
button {
    background: none;
    background: #fff;
    border: 3px solid #e0e0e0;
    color: #2e9ad9;
    display: inline-block;
    font-size: 14px;
    margin: 1em 0;
    padding: 5px;
    position: relative;
}

.button.details:after,
button:after {
    color: #e0e0e0;
    content: "\f054";
    font-family: 'FontAwesome';
    margin-left: 10px;
}

.button.details:hover,
button:hover {
    background: #e0e0e0;
    color: #ED8700;
    cursor: pointer;
}

.button.details:hover:after,
button:hover:after {
    color: #fff;
}

form.search {
    display: inline-block;
    position: relative;
}

.padded_content {
    clear: both;
    display: table;
    margin: 0 auto;
    position: relative;
    width: 960px;
}

.padded_content hr {
    border: none;
}

.waterblock {
    clear: both;
    min-height: 550px;
    margin-top: 20px;
    color: #fff;
    position: relative;
}

.waterblock .columns {
    margin-bottom: 20px;
}

.waterblock .title {
    font-size: 30px;
    margin-top: 40px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: inline-block;
}

.waterblock .intro {
    color: #fff;
    font-size: 16px;
    margin-bottom: 36px;
}

.waterblock ul.bullets {
    float: left;
    font-size: 14px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-left: 0;
    margin-bottom: .5em;
}

.waterblock ul.bullets li {
    clear: left;
    float: left;
    margin: 0 0 10px 30px;
    width: 115px;
}

.waterblock ul.bullets li:nth-child(2n) {
    float: right;
    clear: right;
}

.waterblock ul.bullets li a {
    color: #fff;
}

.waterblock ul.bullets li a:hover,
#homepage .upcoming a:hover {
    text-decoration: underline;
}

.waterblock .col2 div {
    clear: both;
    text-align: center;
}

.waterblock a.button {
    text-align: center;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    width: 70%;
}

.waterblock a.button:after {
    color: #ED8700;
    content: "\f054";
    font-family: 'FontAwesome';
    margin-left: 10px;
}

.waterblock a.button:hover:after {
    color: #0394cd;
}

.fish_boxes {
    padding-left: 0;
}

.fish_boxes li {
    background: rgba(23, 168, 188, 1);
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    height: 88px;
    width: 88px;
    display: inline-block;
    vertical-align: top;
    margin: 8px 4px 0 0;
    text-align: center;
    transform: scale(1);
    transition: .5s transform;
}

.fish_boxes li:nth-child(1n),
.fish_boxes li:nth-child(2n),
.fish_boxes li:nth-child(3n),
.fish_boxes li:nth-child(4n),
.fish_boxes li:nth-child(5n),
.fish_boxes li:nth-child(6n),
.fish_boxes li:nth-child(7n),
.fish_boxes li:nth-child(8n),
.fish_boxes li:nth-child(9n),
.fish_boxes li:nth-child(10n) {
    background: -webkit-linear-gradient(top, rgba(23, 168, 188, 1), rgba(0, 133, 166, .9)); /*Safari 5.1-6*/
    background: -o-linear-gradient(top, rgba(23, 168, 188, 1), rgba(0, 133, 166, .9)); /*Opera 11.1-12*/
    background: -moz-linear-gradient(top, rgba(23, 168, 188, 1), rgba(0, 133, 166, .9)); /*Fx 3.6-15*/
    background: linear-gradient(to bottom, rgba(23, 168, 188, 1), rgba(0, 133, 166, .9)); /*Standard*/
}

.fish_boxes li:hover {
    background: rgba(0, 133, 166, .9);
    transform: scale(1.1);
    transition: .5s transform;

}

.fish_boxes li a {
    color: #fff;
    display: block;
    font-size: 10px;
    height: 88px;
    width: 88px;
    font-weight: 300;
}

.fish_boxes li img {
    margin-bottom: 5px;
    margin-top: 15px;
    width: 60px;
    float: none;
    max-width: 100%;
}

.fish_boxes li a[href*="/management-plans/habitat"] img {
    width: 60px;
}

.management_plans.fish_boxes li {
    width: 137px;
    height: 137px;
}

.management_plans.fish_boxes li a {
    height: 137px;
    width: 137px;
}

#content .management_plans.fish_boxes li img {
    border: none;
    box-shadow: none;
    margin-top: 20px;
    width: 85px;
    float: none;
    max-width: none;
}

html {
    background: url('/img/bg/sidebar_pattern.png') top center repeat;
}

#homepage .waterblock .col1 {
    width: 610px;
}

#homepage .waterblock .col2 {
    padding-left: 50px;
}

#topbar {
    background: #fff;
    overflow: hidden;
    height: 111px;
}

#topbar .right {
    float: right;
    margin-right: 5px;
}

#topbar nav.secondary,
#topbar .logo,
#topbar form.search {
    float: left;
    margin: 30px 0px 0px 20px;
}

#topbar .logo {
    margin-right: 0;
    width: 250px;
}

#topbar .logo img {
    width: 100%;
}


#topbar nav.secondary {
    margin-top: 36px;
}

#topbar nav.secondary a {
    padding: 10px 14px;
    color: #7a7a7a;
}

#topbar nav.secondary .contact {
    background: #2FA0D9;
    color: white;
    text-decoration: none;
    padding: 0px 10px 0px 10px;
    margin: 10px 0px 10px 0px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#topbar nav.secondary li:hover a.contact {
    color: #fff;
    opacity: .8;
}

#topbar nav.secondary .active {
    font-weight: bold;
    text-decoration: underline;
}

#content {
    background: #fff;
    padding: 20px 20px 20px 120px;
    display: table-cell;
    overflow: hidden; /* stop collapsing margin */
    vertical-align: top;
}

.colwrap {
    display: table;
    width: 100%;
}

#sidebar {
    display: table-cell;
    width: 335px;
    margin: 0px 0px 0px 0px;
    background: url('/img/bg/sidebar_pattern.png') top center repeat;

}

#sidebar section {
    background: none;
    padding: 10px 45px;
    margin-bottom: 0;
}

#sidebar h4 {
    color: #464646;
    font-size: 20px;
}

#sidebar .questions p > strong {
    display: block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

#sidebar .questions h4,
#sidebar .questions strong:first-child {
    color: #ED8800;
}

#sidebar ul {
    margin-left: 20px;
}

#sidebar ul li {
    margin: 20px 0px;
}

#sidebar .questions,
#sidebar .members {
    background: #fbfbfb;
    padding: 10px 45px;
}

#sidebar .subscribe,
#sidebar .library-link {
    background: #37a1d7;
    color: #fff;
    padding-bottom: 3em;
}

#sidebar .subscribe h4 {
    color: #fff;
}

#sidebar .subscribe a,
#sidebar .library-link a {
    border: none;
    color: #fff;
    display: inline-block;
}

#sidebar .subscribe a:hover,
#sidebar .library-link a:hover {
    text-decoration: underline;
}

#sidebar .subscribe input {
    background: #fff;
    border: none;
    color: #999;
    float: left;
    font-family: "Palatino Linotype";
    height: 38px;
    padding: 0 1em;
    width: 70%;
}

#sidebar .subscribe input.subscribe {
    background: url('/img/buttons/subscribe-button.png') no-repeat top left;
    float: left;
    height: 38px;
    text-indent: -9999px;
    width: 43px;
}

#sidebar .subscribe input.subscribe:hover {
    opacity: .8;
}

#sidebar .subscribe a.fill-subscribe {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

footer {
    background: #FBFBFB;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 10px 90px 10px 120px;
    margin: 0px 0px 36px 0px;
}

footer .phone,
footer .fax,
footer .email {
    padding-right: 16px;
}

footer .email a {
    font-weight: bold;
    text-decoration: none;
}

footer .contact {
    padding: 20px 0px;
    font-size: 12px;
    line-height: 2;
    color: #666666;
}

/* = Navigation = */
nav {
    position: relative;
}

nav:before, nav:after {
    content: '';
    display: table;
}

nav:after {
    clear: both;
}

nav ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    position: relative;
    text-align: center;
}

nav ul li {
    white-space: nowrap;
    margin: 0;
    display: inline-block;
}

nav ul li a {
    padding: .5em 10px;
}

nav ul.container {
    padding-left: 6px;
    padding-right: 6px;
}

.main nav ul li ~ li {
    border-left: 1px solid #dddddd;
}

nav.primary {
    z-index: 1;
    background: rgba(66, 152, 205, 0.8);
    font-size: 16px;
}

nav.primary ul:before {
    color: #555555;
}

nav.primary ul li {
    float: none;
    display: none;
}

nav.primary ul li .dropdown {
    background: #58B3E2;
    display: none;
}

nav.primary ul li .dropdown ul {
    display: table-cell;
}

nav.primary ul li .dropdown ul li {
    display: block;
    text-align: left;
}

nav.primary ul li .dropdown ul li a:hover {
    background: #309DD8;
}

nav.primary ul li a {
    display: block;
    padding: 8px 22px;
    color: #fff;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /*background:#309DD8;  xxx make this a gradient */
    text-decoration: none;
}

nav.primary ul li strong {
    display: block;
    padding: 8px 22px;
    color: #fff;
}

nav.primary ul li:hover > a,
nav.primary ul li > a.active {
    background: #58B3E2;
}

nav.primary ul li:hover > a:before,
nav.primary ul li.active > a:before {
    margin-right: -.5em;
}

nav.primary ul[data-focus="focus"]:before {
    display: none;
}

nav.primary ul[data-focus="focus"] li {
    display: block;
}

nav.primary ul.container {
    padding-left: 0;
    padding-right: 0;
}

nav.utility {
    display: none;
}

nav.supplemental ul li {
    float: none;
}

nav.supplemental ul li a {
    padding: .25em 0;
    display: block;
}

nav.supplemental ul li a:hover {
    color: #0394cd;
}

nav.supplemental ul ul a {
    padding: 0;
    color: #888888;
    font-size: .75em;
    line-height: 2;
}

nav.supplemental > ul > li {
    padding-bottom: .5em;
}

nav.supplemental > ul > li ~ li {
    padding-top: .5em;
    border-top: 1px solid #dddddd;
}

nav.secondary ul {
    overflow: hidden;
    list-style: none;
    margin-top: 0;
}

nav.secondary li {
    float: left;
    padding-right: 15px;
}

/* nav rules */
.main aside {
    float: right;
    margin-left: 1em;
    width: 33.33%;
}

nav.utility {
    display: block;
    position: absolute;
    right: 32px;
    top: 1em;
}

nav.utility a {
    display: block;
    color: #fff;
    font-size: .75em;
}

nav.utility li.active a,
nav.utility li:hover a {
    color: #0394cd;
}

.top {
    overflow: hidden;
}

.top * {
    float: left;
}

nav.secondary {
    display: block;
    background: #fff;
}

nav.secondary li {
    padding: 0;
}

nav.secondary a {
    font-size: 14px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: block;
    color: #7a7a7a;
    line-height: 2;
    text-decoration: none;
}

nav.secondary li.active a,
nav.secondary li:hover a,
#topbar nav.secondary li:hover a {
    color: #0394cd;
}

nav.primary:before,
nav.primary ul:before {
    display: none;
}

nav.primary ul {
    padding-left: 0;
}

nav.primary ul li {
    display: inline-block;
}

nav.primary ul li a img {
    vertical-align: middle;
    margin-right: .5em;
    border: none;
    box-shadow: none;
}

nav.primary ul li.about {
    position: relative;
}

nav.primary ul li a:before {
    display: none;
}

nav.primary ul li li {
    float: none;
}

nav.primary ul li li a {
    font-size: .8125em;
    font-family: inherit;
}

nav.primary ul li.active,
nav.primary ul li:hover {
    background: none;
}

nav.primary ul.rel li:hover {
    position: relative;
}

nav.primary ul li:hover .dropdown {
    display: block;
    position: absolute;
}

nav.primary ul li:hover .dropdown.committees {
    display: block;
    float: left;
    position: absolute;
    left: 0;
    min-width: 100%;
}

nav.primary ul li:hover .dropdown.about {
    display: block;
    float: right;
    position: absolute;
    right: 0;
}

/* header styles */

#plan header {
    padding-bottom: 24px;
}

header {
    height: auto;
    width: 960px;
    margin: 0 auto;
}

header .search {
    border: none;
}

.statement {
    margin: 1em 0;
    padding-left: 40px;
    text-align: left;
}

#homepage header .statement,
#plan header .statement {
    background: none;
    margin: 50px 0px 0px 0px;
    padding: 0;
    font-size: 36px;
    text-align: center;
}

header .statement h1 {
    margin: 0;
}

header .statement img {
    max-width: 180px;
}

.statement span {
    color: #fff;
    font-size: 14px;
}

/* footer nav */
footer nav.secondary {
    float: right;
    background: transparent;
    margin: 26px 0px 0px 0px;
}

footer nav.secondary li {
    float: left;
    position: relative;
}

footer nav.secondary li:after {
    content: "";
    border-left: 1px solid gray;
    width: 1px;
    height: 12px;
    position: absolute;
    left: 0px;
    top: 13px;
}

footer nav.secondary li:first-child:after {
    border: 0;
}

footer nav.secondary li a {
    background: transparent;
    font-size: 12px;
}

/* page specific rules */

p.intro {
    color: #707070;
    font-size: 20px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


#homepage #topbar .logo {
    width: 330px;
}

#homepage header {
    background: url('/img/bg/fish_school_2017.jpg') no-repeat #0e5b8e center bottom / cover;
    max-width: 1200px;
    margin: 0 auto;
    width: auto;
}

#homepage header .statement,
#homepage header .newsie,
#homepage header nav.primary,
#homepage header .plans {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
}

#homepage header .plans {
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding-top: 2.5em;
}

#homepage header .plans h2 {
    color: #fff;
    margin-bottom: .25em;
    text-align: center;
}

#homepage header .plans .fish_boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#homepage header .statement {
    margin-bottom: 50px;
    margin-top: 50px;
}

#homepage header .newsie {
    padding: 2.5em 20px;
}

#homepage header .newsie .head {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 16px;
}

#homepage header .newsie .head h3 {
    color: #ED8800;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
}

#homepage header .newsie .head a {
    color: #ED8800;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
}

#homepage header .newsie {
    color: #FFF;
    font-style: 15px;
    font-weight: 400;
}

#homepage header .newsie > div {
    display: flex;
    justify-content: space-between;
}

#homepage header .newsie .news {
    flex: 1 0 0;
    max-width: 960px;
}

#homepage header .newsie .news p {
    margin: 0;
    padding: 0;
}

#homepage .newsie .news a {
    color: #FFF;
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

#homepage .newsie .news a:hover {
    opacity: 0.7;
}

#homepage header .newsie .news:first-child {
    margin-left: 0;
}

#homepage header .statement strong:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 3px;
    background: #7F783E;
    color: white;
}

#homepage #content {
    display: block;
    overflow: visible;
    padding: 0 0 5em 0;
    background: rgba(5, 89, 119, 1);
    background: -moz-linear-gradient(top, rgba(5, 89, 119, 1) 0%, rgba(66, 128, 151, 1) 50%, rgba(236, 238, 239, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(5, 89, 119, 1)), color-stop(50%, rgba(66, 128, 151, 1)), color-stop(100%, rgba(236, 238, 239, 1)));
    background: -webkit-linear-gradient(top, rgba(5, 89, 119, 1) 0%, rgba(66, 128, 151, 1) 50%, rgba(236, 238, 239, 1) 100%);
    background: -o-linear-gradient(top, rgba(5, 89, 119, 1) 0%, rgba(66, 128, 151, 1) 50%, rgba(236, 238, 239, 1) 100%);
    background: -ms-linear-gradient(top, rgba(5, 89, 119, 1) 0%, rgba(66, 128, 151, 1) 50%, rgba(236, 238, 239, 1) 100%);
    background: linear-gradient(to bottom, rgba(5, 89, 119, 1) 0%, rgba(66, 128, 151, 1) 50%, rgba(236, 238, 239, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#055977', endColorstr='#eceeef', GradientType=0);
}

#homepage .colwrap {
    display: block;
}

#homepage .meetings {
    color: white;
    display: block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 539px;
    margin-right: 18px;
    text-align: center;
    width: 480px;
}

#homepage .meetings .dynamic {
    height: 73.3%;
}

#homepage .meetings em {
    display: inline-block;
    font-family: "Palatino Linotype";
    font-size: 19px;
    padding: 5px 0;
    margin-top: 20px;
}

#homepage .meetings .seperator {
    color: #F99809;
    margin: 8px 0px 16px 0px;
}

#homepage .meetings p {
    margin: 0;
    padding: 0 10px;
}

#homepage .meetings .date {
    color: #fff;
    display: block;
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
}

#homepage .meetings .intro {
    color: #fff;
    font-family: "Palatino Linotype";
    padding: 0px 40px;
    font-size: 18px;
}

#homepage .meetings .title,
#homepage .meetings .location {
    color: #F99809;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
}

#homepage .meetings .location {
    font-size: 20px;
}

#homepage .meetings .meeting .button {
    margin-top: 30px;
    padding: 4px 18px;
    font-size: 14px;
}

#homepage .meetings .meeting {
    min-height: 349px;
    width: 319px;
    background: url('/img/bg/boards.jpg') no-repeat;
    background-size: cover;
    background-color: #121413;
}

#homepage .meetings .meeting .location {
    margin: 5px 0 40px;
}

#homepage .meetings .previous {
    background: #37A2B7;
    height: 50%;
    min-height: 175px;
    padding: 0px 6px 20px;
    overflow: hidden; /* stop collapsing margin */
}

#homepage .meetings .previous .title {
    color: #15435C;
    font-size: 13px;
    margin-bottom: 5px;
}

#homepage .meetings .previous .date,
#homepage .meetings .previous .location {
    font-size: 16px;
    padding: 0;
}

#homepage .meetings .previous .tagline {
    font-size: 14px;
    padding: 0;
}

#homepage .meetings .previous .date {
    display: inline;
}

#homepage .meetings .previous em {
    display: inline;
    font-size: 14px;
}

#homepage .meetings .more {
    background: url(/img/bg/ocean_waves_nefmc_tint.jpg) no-repeat;
    background-size: cover;
    height: 50%;
    min-height: 174px;
    padding-bottom: 26px;
}

#homepage .meetings .more a {
    display: inline-block;
    color: #fff;
    padding: 15px 10px 0;
    font-weight: bold;
    font-size: 20px;
}

#homepage .meetings .more a:hover {
    color: #0394CD;
}

#homepage .meetings .more span.tagline {
    color: #4fc1d6;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    padding: 0px 10px;
}

#homepage .meetings .previous .button {
    margin-top: 12px;
}

#homepage .photos img {
    max-width: 100%;
    width: 160px;
}

#homepage .photos {
    height: 27.4%;
}

#homepage .photos .columns {
    display: flex;
}

#homepage .events {
    margin-top: 20px;
    position: relative;
    width: 460px;
    display: table-cell;
    vertical-align: top;
}

#homepage .events p {
    float: left;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    max-width: 400px;

}

#homepage .upcoming a {
    color: #fff;
}

#homepage .events span {
    float: right;
}

#homepage .calendar {
    background: #FCFCFC;
    height: 0;
    margin: 0;
    min-height: 320px;  
}

#homepage .calendar h2 {
    margin-bottom: 0;
}


#homepage .upcoming {
    background: url('/img/bg/short_blue_gradient.jpg') repeat-x;
    overflow: hidden;
    padding: 15px 10px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-size: cover;
}

#homepage .upcoming div {
    clear: both;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    overflow: hidden;
}

#homepage .upcoming header {
    clear: both;
    background: none;
    margin-bottom: 1em;
}

#homepage .upcoming header::before,
#homepage .upcoming header::after {
     content: "";
     display: table;
 }
#homepage .upcoming header::after {
     clear: both;
 }

#homepage .upcoming header > a {
    float: right;
    color: #fff;
    text-decoration: underline;
    font-size: 15px;
    padding: 4px 20px 0px 20px;
}

#homepage .upcoming .title {
    padding: 0px 0px 0px 20px;
    font-size: 20px;
}

#homepage .upcoming .date {
    color: #133C56;
    font-weight: bold;
    font-style: normal;
}

#homepage .upcoming p,
#homepage .upcoming span {
    padding: 5px 0px 0px 20px;
}

#homepage .upcoming span {
    padding-right: 20px;
    padding-left: 0;
}

/* = Plan Pages = */

div.title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0.5em;
}

.date {
    display: block;
    color: #666;
    font-style: italic;
    font-weight: normal;
}

.plan > div.details {
    margin-bottom: 2em;
    width: 100%;
}

.docs {
    display: table;
    text-align: left;
}

.plan section {
    display: table-cell;
    margin: 0 1%;
    padding: 0 1em;
    width: 45%;
}

.plan section:last-child {
    border-left: 1px solid #ccc;
    padding-left: 20px;
}

section .entry {
    margin-bottom: 2em;
}

section .entry:last-child {
    margin: 1em 0;
    margin-bottom: 1em;
}

.plan section .draft {
    color: #b83c24;
    font-style: italic;
}

.plan .docs div.details {
    margin-bottom: 2em;
}

.plan .docs div.details a.details.button {
    margin-top: 0;
}

.plan .docs div.summary {
    margin-bottom: 0.5em;
}

/* = Staff, Council Members, Partner Pages = */

.partner {
    float: left;
    margin: 1em 0;
    min-height: 160px;
    width: 45%;
}

.partner h4 {
    float: left;
    margin-top: 0;
    width: 65%;
}

.partner h4 span,
.council-members span {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

.council-members span.title,
.staff div.title {
    display: block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: .5em;
}

.council-members span p,
.partner h4 span p {
    margin: 0;
}

.partner .partner-logo {
    float: left;
    margin-right: 5%;
    width: 25%;
}

.partner .partner-logo img {
    border: none;
    box-shadow: none;
    width: 100%;
}

section.partners {
    clear: both;
}

.col1.council,
.col2.council,
.col1.staff,
.col2.staff {
    float: left;
    margin: 1%;
    width: 45%;
    padding: 0 10px;
}

.col2.council p,
.col2.staff p {
    clear: left;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.col2.council,
.col2.staff {
    text-align: center;
}

#content .col2.council img,
#content .col2.staff img {
    float: none;
    max-width: 100%;
    width: auto;
}

h2.council-members {
    clear: both;
}

article.council-members {
    float: left;
    width: 45%;
    margin: 1%;
    min-height: 225px;
    padding: 0 10px;
}

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

article.staff {
    margin: 1%;
    min-height: 180px;
    padding: 0 10px;
    width: 45%;
}


#content article.staff img.headshot {
    border: 1px solid #4FC1D6;
    float: left;
    margin-right: 2rem;
    height: 145px;
    width: 145px;
    min-height: 145px;
    min-width: 145px;
}

#content article.staff div.staff-info {
    overflow: hidden;
}

.council-members h3,
.staff h3 {
    border-bottom: 1px solid #4FC1D6;
    color: #ED8800;
    margin-bottom: 0;
}

.bios a {
    /*background: url('/img/buttons/subscribe-button.png') no-repeat top right #37a1d7;*/
    background: none repeat scroll 0 0 #37a1d7;
    color: #fff;
    display: block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    margin: 9% auto;
    padding: 3% 2%;
    width: 50%;
    transition: background 0.3s ease;
}

.bios a:hover {
    background: #ed8800;
}

.bios a:after {
    color: #fff;
    content: "\f019";
    font-family: 'FontAwesome';
    margin-left: 5%;
}

/* Committees */

article.committees h4 {
    font-family: "Palatino Linotype";
}

article.committees div {
    clear: both;
    float: left;
    margin-bottom: 2em;
    width: 100%;
}

article.committees h2 {
    border-bottom: 1px solid #4FC1D6;
}

article.committees h4 {
    float: left;
    margin: .5em 0;
    width: 45%;
}

.documents {
    color: #ed8800;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 0;
}

/* = Calendar  = */

h2.calendar,
.calendar h2 {
    text-align: center;
}

a.last_month {
    float: left;
    display: block;
    margin-bottom: 1em;
}

a.next_month {
    float: right;
    display: block;
    margin-bottom: 1em;
}

a.last_month:before {
    content: "\f190";
    font-family: 'FontAwesome';
    left: 0;
    margin-right: 5px;
}

a.next_month:after {
    content: "\f18e";
    font-family: 'FontAwesome';
    margin-left: 5px;
    right: 0;
}

table.calendar {
    border-collapse: collapse;
    clear: both;
    margin: 0 auto;
    margin-top: 1em;
    width: 100%;
}

.calendar tr th {
    border-bottom: 1px solid #4fc1d6;
    color: #707070;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

.calendar tr td {
    color: #707070;
    min-width: 95px;
    padding: 1.5em 0;
    text-align: center;
    vertical-align: top;
}

.calendar tr td h4 {
    margin: 0;
}

.calendar tr td.other_month {
    color: #bababa;
}

.calendar ul {
    padding-left: 0;
}

.calendar ul li {
    list-style: none;
    font-size: 14px;
    margin: 3px 10px;
    padding: 5px;
}

.calendar a {
    color: #fff;
}

#sidebar.calendar a {
    background: #9e9e9e;
    border-radius: 5px;
    color: #fff;
    display: block;
    padding: 5px 10px;
    text-align: center;
}

#sidebar.calendar a.active {
    border: 2px solid #fff;
}

.calendar span.time {
    display: block;
    font-weight: bold;
}

.calendar li,
#sidebar.calendar a,
#homepage .calendar .day_events li {
    border-radius: 5px;
    color: #fff;
    padding: 5px 10px;
    background: #9e9e9e;
}

.calendar li.committee_meeting,
#sidebar.calendar a.committee_meeting,
#homepage .calendar .day_events li.committee_meeting {
    background: #4fc1d6;
}

.calendar li.council_meeting,
#sidebar.calendar a.council_meeting,
#homepage .calendar .day_events li.council_meeting {
    background: #eb8705;
}

.calendar li.pdt,
#sidebar.calendar a.pdt,
#homepage .calendar .day_events li.pdt {
    background: #038981;
}

.calendar li.advisory_panel,
#sidebar.calendar a.advisory_panel,
#homepage .calendar .day_events li.advisory_panel {
    background: #6235a0;
}

.calendar li.peer_review,
#sidebar.calendar a.peer_review,
#homepage .calendar .day_events li.peer_review {
    background: #249700;
}

.calendar li.partner_organizations,
#sidebar.calendar a.partner_organizations,
#homepage .calendar .day_events li.partner_organizations {
    background: #01437e;
}

.calendar li.public_hearing,
#sidebar.calendar a.public_hearing,
#homepage .calendar .day_events li.public_hearing {
    background: #7e001a;
}

.calendar li.other,
#sidebar.calendar a.other,
#homepage .calendar .day_events li.other {
    background: #001322;
}

#sidebar.calendar a.button {
    color: #ED8700;
    display: block;
    font-size: 16px;
}

.related a.details.button {
    margin-bottom: 3em;
}

#sidebar section.date_time {
    background: #ED8800;
    color: #fff;
}

section.date_time .date {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

section.date_time .time,
section.date_time .location {
    font-size: 18px;
}

#homepage .calendar header{
    background: none;
    text-align: center;
}

#homepage .calendar header h2{
    display: inline-block;
}

#homepage .calendar header button{
    border: none;
    display: inline-block;
    font-size: 1.25em;
}

#homepage .calendar header button::after{
   display: none;
}


#homepage .calendar tr td,
#homepage .calendar tr th {
    height: 30px;
    min-width: 0;
    width: 30px;
}

#homepage .calendar tr td h4 {
    text-align: center;
    height: 22px;
    padding: 4px 0;
    width: 30px;
    margin: 0 auto;
}

#homepage .calendar tr td {
    padding: 0.49em 0;
}

#homepage .calendar h4.has_events {
    border: 2px solid #4fc1d6;
    border-radius: 20px;
    display: block;
    z-index: 400;
}

#homepage .calendar h4.today {
    color: #ED8800;
}

#homepage .calendar .day {
    background: #fcfcfc;
    height: 100%;
    position: relative;
}

#homepage .calendar .day_events {
    width: 200px;
    position: absolute;
    top: 0;
    right: 35px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.5s, opacity 0.5s linear 0s;
    -moz-transition: visibility 0s linear 0.5s, opacity 0.5s linear 0s;
    transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
}

#homepage .calendar h4.has_events:hover {
    cursor: pointer;
    display: block;

}

#homepage .calendar h4.has_events:hover + .day_events,
#homepage .calendar .day_events:hover {
    opacity: 1;
    visibility: visible;
    /*	transition-delay: 0.5s;
        -moz-transition-delay: 0.5s;*/
}

#homepage .calendar .day_events li.committee_meeting span,
#homepage .calendar .day_events li.council_meeting span {
    display: block;
    float: none;
    position: relative;
}

/* Library */

.loading-spinner {
    background: #b8e0f9;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0%;
    right: 0%;
    display: none;
    z-index: 1001;
}

.spinner-text {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #666;
    opacity: 1;
    float: left;
    margin-left: 10px;
}

.spinner {
    float: left;
    height: 10px;
    width: 10px;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.search {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.text {
    display: table;
    width: 100%;
}

.text input {
    height: 18px;
    margin-right: 2%;
    width: 40%;
}

.search h3,
.search input,
.search button {
    display: table-cell;
    padding: 0;
    vertical-align: middle;
}

.search input,
.search button {
    height: 28px;
    margin-right: 10px;
    padding: 0 5px;
}

.search .text input {
    background: #f2f2f2;
    border: none;
    border-radius: 4px;
}

.library .filter {
    clear: both;
    float: left;
    font-size: 14px;
    margin-top: 40px;
    width: 22%;
}

.library .filter h4 {
    background: #efefef;
    padding: 5px;
}

.library .filter .checkbox {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 5px 0;
    clear: both;

}

.library .filter input {
    width: 15px;
    display: block;
    float: left;
}

.library .filter label {
    padding-left: 28px;
    display: block;
}

.library .filter .dates {
    padding: 0 0 60px;
    clear: both;
}

.library .filter .dates label {
    padding-left: 0;
    width: 50px;
    float: left;
    clear: both;
}

.library .filter .dates input {
    width: 60%;
}

#results_section {
    border-left: 1px solid #ccc;
    float: right;
    padding-left: 2%;
    width: 75%;
}

#results_section h5 {
    font-size: 1.2em;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    cursor: pointer;

}

#results_section .results .filter-strings {
    font-size: 1em;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

}

#results_section .results .filter-strings .filter-string {
    position: relative;
    display: inline-block;
    margin: 2px 2px 2px;
    padding: 1px 4px;
    background: #f2f2f2;
    height: 26px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: darkgray;
    font-size: .8em;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 26px;
    cursor: pointer;

}

#results_section .results .filter-strings .filter-string:hover {
    opacity: .7;
}

#results_section .results .filter-strings .filter-string:after {
    content: "\f057";
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.results {
    margin-top: 40px;
}

#results article h3 a {
    font-size: 24px;
}

.results h5,
.showing h5 {
    font-style: italic;
}

.results h5 span,
.showing h5 span {
    color: #ED8800;
    font-style: normal;
}

.results h5 a,
.showing h5 a {
    cursor: pointer;
    font-style: normal;
}

.results h5 a:after,
.showing h5 a:after {
    content: "\f057";
    font-family: 'FontAwesome';
    margin-left: 5px;
}

#results article,
.search_results article {
    border-bottom: 1px solid #4FC1D6;
    padding: 0 10px 20px 10px;
}

#results h3,
.search_results h3 {
    margin-bottom: 0;
}

.search_results p.summary {
    margin-top: 0;
}

#results .categories,
.search_results .categories {
    color: #999;
    font-size: 13px;
}

.search_results .prev {
    float: left;
}

.search_results .next {
    float: right;
}

#results article > div {
    float: left;
    width: 80%;
}

#results a.button.details {
    float: right;
    margin: 0;
}

/* News */
.news h3 {
    margin-bottom: 0;
}

.news__pages {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news__page_link, .news__pagesCurrent {
    display: block;
    font-weight: bold;
    margin-right: 1rem;
}

.news__page_link--arrow {
    /* display: flex;
    align-items: center; */
}

.news__page_link--arrow {
    float: none;
    border: none;
    box-shadow: none;
    max-width: 100%;
    margin-right: 0;
}

.news__page_link--arrow-left, .news__page_link--arrow-right {
    height: 20px;
    width: 20px;
    margin-right: 0;
}

.news__page_link--arrow-left {
    background: url('/img/buttons/angle-left-solid.svg') no-repeat;
    margin-right: 1rem;
}
.news__page_link--arrow-right {
    background: url('/img/buttons/angle-right-solid.svg') no-repeat;
}


p.date {
    display: block;
    margin: 0;
}

.filter label {
    color: #000;
    font-family: 'Open Sans', ​Arial, ​sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.filter select {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    display: block;
    font-size: 14px;
    height: 35px;
    margin: 0.5em 0;
    padding: 5px 10px;
    width: 100%;
}

.filter button {
    background: none repeat scroll 0 0 #37a1d7;
    border: none;
    color: #fff;
    margin: 0.5em 0;
}

.filter button:hover {
    opacity: .8;
}

.filter button:after {
    color: #fff;
}

/* about - staff */

p.intro.staff {
    color: #707070;
    font-size: 20px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    float: left;
    margin-left: 0;
    width: 45%;
}

img.staff {
    width: 100%;
}

p.staff {
    color: #666;
    float: left;
    font-size: 14px;
    font-style: italic;
    margin-left: 5%;
    width: 40%;
}

#staff .colwrap {
    display: block;
}

#staff #content {
    display: block;
}

/* Glossary */

dl dt {
    font-weight: bold;
}

dl dd {
    border-bottom: 1px solid #ececec;
    margin-bottom: 1em;
    margin-left: 0;
    padding-bottom: 1em;
}

#sidebar section.fishwatch {
    background: #fbfbfb;
    padding: 2em 45px;
}

.fishwatch img,
img,
iframe.directions {
    border: 5px solid #fff;
    box-shadow: 0 0 4px #ccc;
}

.sidebarText img {
    max-width: 300px;
}

.logo img,
.statement img,
#homepage img {
    border: none;
    box-shadow: none;
}

#sidebar section.plans {
    text-align: center;
}

#sidebar section.plans img {
    max-height: 200px;
    margin: 10% 0;
    width: 90%;
}

#content img {
    max-width: 100%;
}

#content .partners img {
    max-width: 100%;
}

/* = Messaging = */
.success, .error, .info {
    border-radius: 4px;
    margin-bottom: 1.5em;
    padding: 1em 3.25em;
    position: relative;
}

.success a, .error a, .info a {
    text-decoration: underline;
    color: #666 !important;
}

.success:before, .error:before, .info:before {
    content: '';
    display: block;
    font-family: 'FontAwesome';
    font-size: 20px;
    height: 23px;
    left: 1em;
    position: absolute;
    top: .8em;
    width: 23px;
}

.success {
    background: #d2f8b0;
    color: #666;
}

.success:before {
    content: '\f00c';
}

.error {
    background: #ffd8d9;
    color: #666;
}

.error:before {
    content: '\f12a';
}

.info {
    background: #b8e0f9;
    color: #666;
}

.info:before {
    content: '\f129';
}

/* = Mixins = */
/* = Grouping = */
.group:before, .group:after, .container:before, .container:after {
    content: '';
    display: table;
}

.group:after, .container:after {
    clear: both;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
}

.columns > hr {
    display: none;
}

/* 404 page */

#error404 .colwrap {
    background: url(/img/bg/404-page-bg.jpg) no-repeat top center #0874a3;
    min-height: 549px;
}

#error404 #content {
    background: none;
    padding: 0;
}

#error404 h1 {
    font-size: 65px;
    font-weight: bold;
    margin: 110px 0 0;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

#error404 h2 {
    color: #163d55;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
}

#error404 .group {
    margin: 0 auto;
    width: 995px;
}

#error404 .herring-home,
#error404 .monkfish-plans {
    float: left;
    height: 380px;
    width: 50%;
}

#error404 .redcrab-library {
    background: url('/img/404-page-redcrab.png') no-repeat bottom center;
    clear: both;
    float: none;
    height: 310px;
    margin: 0 auto;
    position: relative;
    width: 335px;
}

#error404 .herring-home {
    background: url('/img/404-page-herring.png') no-repeat bottom left;
}

#error404 .monkfish-plans {
    background: url('/img/404-page-monkfish.png') no-repeat bottom right;
    float: right;
    height: 359px;
    position: relative;
    top: 100px;
    width: 40%;
}

#error404 .colwrap p {
    color: #fff;
}

#error404 .colwrap p a {
    color: #4fc1d6;
    font-weight: bold;
}

#error404 p a:hover {
    color: #fff;
}

#error404 .herring-home p {
    background: url('/img/404-page-bubbles-left.png') no-repeat top right;
    height: 263px;
    float: right;
    font-size: 30px;
    height: 263px;
    padding: 49px 0;
    text-align: center;
    width: 192px;
}

#error404 .monkfish-plans p {
    background: url('/img/404-page-bubbles-right.png') no-repeat top left;
    font-size: 22px;
    height: 258px;
    padding: 68px 0;
    text-align: center;
    width: 168px;
}

#error404 .redcrab-library p {
    background: url('/img/404-page-bubbles-bottom.png') no-repeat top left;
    font-size: 18px;
    height: 236px;
    padding: 52px 10px;
    width: 160px;
    text-align: center;
}

/* List Toggle */

.hidden-list {
    display: none;
}

.toggle-list button {
    margin: 0;
    background: none;
    border: none;
    text-transform: uppercase;
    color: #ED8800;
    font-weight: bold;
    text-align: left;
    position: relative;
    width: 100%;
    padding-left: 20px;
}

.toggle-list button:after {
    content:"\f0fe";
    color: #2e9ad9;
    position: absolute;
    left: -10px;
    top: 7px;
    bottom: 0;
    display: block;
}

.toggle-list button.active:after{
    content:"\f146";
}

/* Media Quesries */

html.lt-ie9 nav.primary {
    background: url('/img/nav-bg-ie.png') repeat;
}

@media only screen and (min-width: 1024px) {
    #homepage header .newsie {
        padding-left: 0;
        padding-right: 0;
    }

    #homepage header .newsie .news {
        margin-left: 3em;
    }
}

@media only screen and (min-width: 600px) {
    .columns {
        display: table;
        table-layout: fixed;
        width: 100%;
    }

    .photos.columns {
        display: flex;
    }

    .columns > * {
        display: table-cell;
        vertical-align: top;
    }

    .columns > hr {
        display: table-cell;
        width: 16px;
    }
}

html.lt-ie9 .columns {
    display: table;
    table-layout: fixed;
    width: 100%;
}

html.lt-ie9 .columns > * {
    display: table-cell;
    vertical-align: top;
}

html.lt-ie9 .columns > hr {
    display: table-cell;
    width: 16px;
}

html.lt-ie9 .padded_content {
    display: block;
    width: 100%;
}

html.lt-ie9 .fish_boxes li img {
    width: 114px;
}

html.lt-ie9 .waterblock ul.bullets li {
    width: auto;
}

html.lt-ie9 header {
    min-height: 405px;
}

html.lt-ie9 .colwrap article,
html.lt-ie9 .colwrap .plan,
html.lt-ie9 #library .colwrap {
    background: #fff;
    padding: 10px 20px;
}

html.lt-ie9 table.calendar {
    background: #fff;
}

/* = Media Queries = */
@media only screen and (max-width: 1000px) {
    #homepage header {
        width: 100%;
    }

    #homepage header, #plan header {
        height: auto;
    }

    header .statement h1 {
        padding: 0 20px 20px;
    }

    .padded_content {
        display: block;
        width: 100%;
    }

    .waterblock .padded_content {
        padding: 20px;
    }

    #homepage .meetings {
        margin-right: 0;
        width: 100%;
        height: auto;
    }

    #homepage .events {
        width: 100%;
        display: inline;
    }

    #homepage .photos.columns {
        display: none;
    }

    #homepage .calendar {
        width: 100%;
    }

    .waterblock {
        height: auto;
        padding-bottom: 30px;
    }

    nav.primary {
        font-size: 14px;
    }

    #header nav.secondary a {
        font-size: 12px;
    }

    #header nav.secondary a.active {
        font-size: 12px;
    }

    #header input.search {
        width: auto;
        background-position: right -3px;
        padding: 3px 30px 4px 4px;
    }

    #header form.search {
        margin-top: 44px;
    }

    #homepage .events p {
        max-width: 100%;
        width: 66%;
    }

/*    #homepage .photos img,
    #homepage .photos img:first-child {
        height: auto;
        width: 33%;
    }*/

    #homepage .meetings .meeting {
        height: auto;
        width: 70%;
    }

    #homepage .waterblock .col1 {
        width: 50%;
    }

    #homepage .waterblock .col2 {
        padding: 0 25px;
    }

    #homepage .news {
        width: auto;
        max-width: 900px;
    }

    .waterblock ul.bullets {
        width: 80%;
    }

}

@media only screen and (max-width: 900px) {
    /*body, html, #content{ background:pink; }*/
    body#plan > #container {
        background-position: center 130px;
    }

    .colwrap {
        display: block;
    }

    #header,
    #homepage #header,
    #plan #header {
        width: 100%;
    }

    #content {
        display: block;
        padding: 0px 20px;
    }

    #footer {
        padding: 10px 20px;
    }

    #sidebar {
        float: none;
        display: block;
        width: auto;
    }

    #sidebar ul {
        overflow: hidden;
    }

    #sidebar ul li {
        float: left;
        margin: 0px 0px 0px 30px;
    }

    #topbar {
        height: auto;
    }

    #topbar .logo {
        margin-right: 0;
    }

    #header nav.secondary {
        float: right;
        margin-top: 10px;
        margin-left: 0;
        right: 10px;
    }

    #header form.search {
        clear: right;
        float: right;
        display: block;
        position: relative;
        top: 4px;
        right: 10px;
        margin: 10px 0 20px;
    }

    #header nav.primary ul {
        text-align: center;
    }

    header .statement {
        margin-top: 50px;
        font-size: 30px;
        padding: 0 20px;
    }
}

@media only screen and (max-width: 860px) {
    .flex-grid: {
        display: inline;
    }

    article.staff {
        width: 100%;
    }
}


@media only screen and (max-width: 780px) {
    #homepage .photos img,
    #homepage .photos img:first-child {
        width: 49%;
        margin-left: 2px;
    }

    #homepage .photos img:last-child {
        display: none;
    }
}

@media only screen and (max-width: 700px) {

    #homepage header .statement,
    #plan header .statement {
        margin-top: 20px;
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 640px) {

    /*body, html, #content{ background:orange; }*/
    .columns {
        display: block;
    }

    #header #topbar {
        height: auto;
    }

    #header nav.secondary {
        clear: both;
        margin-top: 0;
    }

    #homepage header {
        height: 100%;
    }

    #homepage #container {
        background-position: center 190px;
    }

    header .statement h1 {
        font-size: 28px;
    }

    header .statement img {
        width: 120px;
    }

    .padded_content {
        display: block;
        width: 100%;
    }

    #homepage .news p {
        white-space: normal;
        width: auto;
    }

    #homepage .meetings {
        width: 100%;
    }

    #homepage .meetings .meeting {
        margin: 0 auto;
    }

    #homepage .meetings .previous {
        height: 150px;
    }

    #homepage .meetings .previous .button {
        display: table;
        margin: 12px auto 0;
    }

    #homepage .photos {
        display: none;
    }

    #homepage .events {
        clear: both;
        float: none;
        margin: 12px auto 0;
        width: 100%;
    }

    #homepage .upcoming {
        padding: 15px 0;
    }

    #homepage .upcoming .title {
        font-size: 18px;
    }

    #homepage .upcoming div {
        font-size: 14px;
    }

    #homepage .upcoming > a {
        padding-left: 0;
    }

    #homepage .events p {
        clear: left;
    }

    #homepage .calendar {
        margin: 0 auto;
        width: 90%;
    }

    #homepage .calendar .day_events {
        right: 45px;
        width: 150px;
    }

    .waterblock {
        height: auto;
        padding: 0 20px;
    }

    #homepage .waterblock .col1 {
        width: 100%;
    }

    #homepage .waterblock .col2 {
        padding-bottom: 20px;
        padding-left: 0;
    }

    .fish_boxes {
        margin: 0 auto;
        padding: 0;
        text-align: center;
        width: 70%;
    }

    .library .filter {
        width: 100%;
        padding-bottom: 20px;
    }

    #results_section {
        border: none;
        clear: both;
        float: none;
        width: 100%;
    }

    #results article h3 a {
        font-size: 18px;
    }

    #results a.button.details {
        float: none;
    }

    .library .filter .dates input {
        margin: 0 10px;
        width: 35%;
    }

    #results article > div {
        float: none;
        margin-bottom: 10px;
        width: 100%;
    }
}

@media only screen and (max-device-width: 640px) {
    /*body, html, #content{ background:#282828; }*/
    .colwrap {
        display: block;
    }

    #header {
        width: 100%;
    }

    #content {
        display: block;
        padding: 0px 20px;
    }

    #footer {
        padding: 10px 20px;
    }

    #sidebar {
        float: none;
        display: block;
        width: auto;
    }

    #sidebar ul {
        overflow: hidden;
    }

    #sidebar ul li {
        float: left;
        margin: 0px 0px 0px 30px;
    }

    #topbar {
        height: auto;
    }

    #topbar .logo {
        margin-right: 0;
    }

    #header nav.secondary {
        float: right;
        margin-top: 10px;
        margin-left: 0;
        right: 10px;
    }

    #header form.search {
        clear: right;
        float: right;
        display: block;
        position: relative;
        top: 4px;
        right: 10px;
        margin: 10px 0 20px;
    }

    #header nav.primary ul {
        text-align: center;
    }

    #header nav.primary ul li {
        float: none;
        display: inline-block;
    }

    header .statement {
        margin-top: 50px;
        font-size: 30px;
    }

}

@media only screen and (max-width: 535px) {
    header .statement {
        background: none;
        padding-top: 0;
        margin-top: 20px;
    }

    nav.secondary {
        margin: 0 auto;
        text-align: center;
        width: auto;
    }

    nav.secondary ul li {
        float: none;
    }

    nav.primary ul li:hover .dropdown,
    nav.primary ul li:hover .dropdown.committees {
        display: none;
    }

    #error404 .redcrab-library {
        clear: both;
        margin: 0;
        top: 0;
    }

    #error404 .monkfish-plans {
        clear: left;
        float: none;
        top: 0;
    }
}

@media only screen and (max-width: 500px) {
    #topbar nav.secondary,
    #topbar .logo,
    #topbar form.search,
    #topbar .right {
        display: block;
        float: none;
        margin: 10px auto;
    }

    #homepage header,
    #plan header {
        height: auto;
    }

    header .statement img {
        display: none;
    }

    #header form.search {
        position: static;
        display: inline-block;
        margin: 0 auto 20px;
        width: auto;
        float: none;
    }

    #content {
        padding: 0 10px;
    }

    #header {
        text-align: center;
    }

    .plan section {
        display: block;
        width: 100%;
    }

    .plan section:last-child {
        border: none;
        padding-left: 0;
    }

    .calendar tr td {
        min-width: 0;
    }

    .calendar tr td ul {
        display: inline-block;
        max-width: 100px;
        padding-left: 5px;
    }

    article.council-members, article.staff {
        float: none;
        width: 95%;
        min-height: 50px;
        padding-bottom: 20px;
    }

    #sidebar ul li {
        float: none;
    }


}

@media only screen and (max-width: 425px) {

    #error404 #content {
        padding: 0 20px;
    }

    #error404 .herring-home {
        background-position: 10px bottom;
        background-size: 200px auto;
        height: 209px;
        width: 300px;
    }

    #error404 .redcrab-library {
        background-position: center bottom;
        background-size: 90px auto;
        height: 222px;
        width: 258px;
    }

    #error404 .monkfish-plans {
        background-position: right bottom;
        background-size: 150px auto;
        height: 222px;
        width: 258px;
    }

    #error404 .herring-home p {
        background-size: 120px auto;
        font-size: 21px;
        padding-top: 26px;
        position: relative;
        right: -14px;
        width: 120px;
    }

    #error404 .redcrab-library p {
        background-size: 100px auto;
        font-size: 12px;
        padding: 30px 0;
        width: 100px;
    }

    #error404 .monkfish-plans p {
        background-size: 110px auto;
        font-size: 16px;
        padding-top: 41px;
        width: 110px;
    }

    header .statement {
        padding-bottom: 0;
    }

    header .statement h1 {
        margin-top: 2em;
    }

    #homepage .events {
        display: inline;
        width: auto;
    }

    #homepage .meetings .meeting {
        width: 100%;
    }

    #homepage .meetings .previous {
        height: auto;
        min-height: 0;
    }

    #homepage .meetings .more {
        height: auto;
    }

    #homepage header .plans .fish_boxes {
        margin: auto;
    }

    footer {
        margin: 0;
    }

}

@media only screen and (max-width: 360px) {
    
    header .statement img {
        display: none;
    }

    #homepage header .statement,
    #plan header .statement {
        margin: 0;
    }

    header .statement img {
        display: none;
    }

    #error404 #content {
        padding: 0 20px;
    }
}
