body {
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    min-width: 300px;
}
/* MAX SITE WIDTH */

#footer,
#page-header-spacer,
#page-header-wrapper,
#wrapper {
    max-width: 1130px;
    margin-left: auto;
    margin-right: auto;
}
/* PAGE HEADING OVERLAY */

#page-header-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: rgba(0,131,101,.9);
    z-index: 10000;
}
#page-header-wrapper:hover {
    background-color: rgba(0,131,101,1);
}
@media only screen and (min-width: 1130px) {
    #page-header-wrapper {
        left: 50%;
        margin-left: -565px;
    }
}
#page-header-wrapper,
#page-header-spacer {
    height: 42px;
}
#page-header-spacer {
    visibility: hidden;
}
.page-header {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 42px;
    min-width: 300px;
    overflow: hidden;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 0 10px;
    box-sizing: border-box;
}
.page-header,
.page-header ul {
    line-height: 42px;
}
.page-header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}
.page-header .left {
    left: 18px;
    text-transform: uppercase;
    float: left;
}
.page-header .right {
    float: right;
}
.page-header li {
    display: inline-block;
    padding-top: 0 !important;
}
.page-header .left li {
    padding: 0 8px;
}
.page-header .left li:last-child:after {
    content: "\00a0";
    /* Force content to get the line-height to trigger */
    
    ;
}
.page-header .right li {
    padding: 0 8px;
}
.page-header .social {
    position: absolute;
    right: 42%;
}
.hagerty-center .page-header .social,
.maritime .page-header .social {
    right: 45%;
}
.page-header .right .social li {
    padding: 0;
}
.page-header a,
.page-header a:hover,
.page-header label {
    color: #f7f7f7;
}
.page-header .social a,
.page-header .social a:hover {
    color: #aba38a;
}
.page-header a:hover,
.page-header label:hover {
    text-decoration: underline;
}
.page-header .home,
.page-header .search,
.page-header .facebook,
.page-header .twitter,
.page-header .youtube,
.page-header .instagram {
    display: inline-block;
    width: 21px;
    height: 22px;
    overflow: hidden;
    vertical-align: middle;
    margin-top: -4px;
    padding: 0 1px;
}
.page-header .home:before,
.page-header .search:before,
.page-header .facebook:before,
.page-header .twitter:before,
.page-header .youtube:before,
.page-header .instagram:before {
    content: " ";
    background-image: url(../../../images/img-home-icon.png);
    background-size: 21px 22px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 21px;
    height: 22px;
    display: block;
}
.page-header .facebook,
.page-header .facebook:before {
    width: 18px;
}
.page-header .youtube,
.page-header .youtube:before {
    width: 23px;
}
.page-header .search:before {
    background-image: url(https://www.nmc.edu/images/img-search-icon.png);
    background-size: 21px 20px;
}
.page-header .facebook:before {
    background-image: url(https://www.nmc.edu/images/img-facebook-icon.png);
    background-size: 18px 18px;
}
.page-header .twitter:before {
    background-image: url(https://www.nmc.edu/images/img-twitter-icon.png);
    background-size: 21px 16px;
}
.page-header .youtube:before {
    background-image: url(https://www.nmc.edu/images/img-youtube-icon.png);
    background-size: 23px 16px;
}
.page-header .youtube {
    /* Conflicts with legacy global style */
    
    margin-bottom: 0;
}
.page-header .instagram:before {
    background-image: url(https://www.nmc.edu/images/img-instagram-icon.png);
    background-size: 17px 15px;
}
.page-header a.top-link {
    float: right;
    margin: 0 0 10px 0;
}
@media only screen and (max-width: 1150px) {
    .nmc .page-header .social {
        position: static;
    }
}
@media only screen and (max-width: 1000px) {
    #page-header-wrapper,
    #page-header-spacer {
        height: auto;
    }
    .page-header {
        position: static;
        margin-left: 0;
        padding-bottom: 5px;
        padding-top: 5px;
        height: auto;
        width: 100%;
    }
    .page-header .left {
        display: inline-block;
        float: none;
        text-align: center;
    }
    .page-header .right {
        display: inline;
        float: none;
        text-align: center;
    }
    .page-header .left {
        margin: 0 40px;
    }
    .nmc .page-header .left,
    .nmc .page-header .right {
        display: block;
    }
    .page-header .left li:last-child {
        padding-right: 0;
        padding-top: 6px;
    }
    .page-header .right li:first-child {
        padding-left: 0;
    }
    .page-header,
    .page-header ul {
        line-height: 25px;
    }
    .page-header .social {
        position: static;
        margin: 0 40px;
    }
    .page-header a.top-link {
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    .page-header .left {
        margin: 0 10px;
    }
    .page-header .social {
        margin: 0 10px;
    }
}
/* END PAGE HEADING OVERlAY */
/* PAGE HEADING EXPANDING SEARCH FIELD */

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none;
}
input[type=search] {
    background: transparent url(https://www.nmc.edu/images/img-search-icon.png) no-repeat 2px center;
    background-size: 21px 20px;
    padding: 6px 13px;
    border: none;
    -webkit-transition: width .5s, background .5s;
    -moz-transition: width .5s, background .5s;
    transition: width .5s, background .5s;
}
#search-form input[type=search] {
    width: 12px;
    color: transparent;
    cursor: pointer;
    text-align: center;
    float: right;
    margin: 8px 0 0 7px;
}
@media only screen and (max-width: 1000px) {
    #search-form input[type="search"] {
        margin-top: 0;
    }
}
#search-form input[type=search]:focus {
    width: 150px;
    color: #000;
    background-color: #fff;
    cursor: auto;
    float: none;
    margin: 0;
}
#search-form input[type=search]:focus+span {
    display: none;
}
#search-form input::-moz-placeholder {
    color: rgba(0, 0, 0, 0.3);
}
#search-form input::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 500px) {
    ul#search-wrapper {
        display: block;
        margin: 0 auto 5px;
        padding-left: 18px;
        text-align: center;
    }
}
/* END PAGE HEADING EXPANDING SEARCH FIELD */
/* HEADER */

#header {
    padding: 14px 22px;
    background-image: url(../../../images/header-background.jpg);
    background-size: cover;
    background-position: left center;
}
#logo {
	float: left;
	width: 125px;
}
#hours {
    display: block;
    padding: 0;
}
#hours-lt {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 0;
}
#hours-rt {
    display: none;
}
#hours p {
    font-size: 12px;
    font-weight: bold;
    color: white;
    line-height: 1.6em;
}
#hours a {
    color: white;
    font-style: italic;
}
#hours a:hover {
    text-decoration: underline;
}
#hours h6 {
    font-size: 16px;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    padding: 0;
    margin: 0;
}
@media only screen and (min-width: 550px) {
    #header-lt {
        padding: 0 20px 0 0;
        border-right: 1px solid white;
    }
    #logo {
	    width: auto;
    }
    #hours {
        float: right;
        padding: 15px 0 10px 0;
    }
    #hours-lt {
        padding: 0 5px;
        border-right: 1px solid white;
    }
    #hours-rt {
        display: inline-block;
        vertical-align: top;
        padding-left: 5px;
    }
}
@media only screen and (min-width: 800px) {
    #hours-rt {
        padding: 0 35px 0 45px;
    }
    #hours-lt {
        padding: 0 45px 0 0;
    }
    #hours p {
        font-size: 14px;
    }
    #hours h6 {
        font-size: 18px;
    }
}
/* END HEADER */
/* FOOTER */

#footer {
    background-color: #000000;
    text-align: center;
    color: white;
    box-sizing: border-box;
    padding: 8px;
}
#footer a {
    color: white;
}
#footer p {
    color: white;
    font-weight: 500;
    line-height: 1.5em;
    padding: 5px 0 10px;
}
#footer h3 {
    color: white;
    font-size: 16px;
    padding: 10px 0 0 0;
}
#flex-footer {
    display: flex;
    flex-direction: row;
    gap: 2%;
    width: 100%;
}
#flex-footer #address, #flex-footer #mission, #flex-footer #cac {
    width: 32%;
}
@media only screen and (max-width: 480px) {
    #flex-footer {
        flex-direction: column;
    }
    #flex-footer #address, #flex-footer #mission, #flex-footer #cac {
        width: 100%;
    }
    #flex-footer .leftAlignedImage, #flex-footer .rightAlignedImage {
        float: none !important;
        margin: 0 !important;
    }
}
/* END FOOTER */
/* BREADCRUMB */

#cookie ul {
    line-height: 20px;
    text-align: left;
    margin: 10px 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 12px;
    font-family: 'Roboto';
    text-transform: uppercase;
}
@media only screen and (max-width: 480px) {
    #cookie ul {
        margin-top: 0;
    }
}
#cookie li {
    display: inline;
    color: #58595b;
}
#cookie li a {
    color: #58595b;
    text-decoration: none;
}
#cookie li a:hover {
    color: #58595b;
    text-decoration: underline;
}
/* END BREADCRUMB */
/* INTERIOR PAGE TOP */

#inside-columns-rt {
    padding: 4px 8px 12px 8px;
    text-align: left;
}
@media only screen and (min-width: 850px) {
    #inside-columns-rt {
        width: 69%;
        float: right;
        padding: 0;
        margin: 0 3% 30px 0;
    }
}
#columns-in-lt {
    width: calc(100% - 245px);
    float: left;
}
#columns-in-lt > h1:first-child {
    padding-top: 0;
    margin-top: 0;
}
#columns-in-rt {
    width: 215px;
    float: right;
}
#interiorHero {
    margin-bottom: 15px;
}
#interiorHero > a {
    display: block;
}
#interiorHero > img,
#interiorHero > a > img {
    display: block;
    width: 100%;
}
#threeColumnRow .col {
    margin-left: 2%;
    width: 32%;
    float: left;
    overflow-x: hidden;
}
#threeColumnRow .col:first-child {
    margin-left: 0;
}
#threeColumnRow .trio1,
#threeColumnRow .trio2,
#threeColumnRow .trio3 {
    width: 100%;
}
@media only screen and (max-width: 500px) {
    #threeColumnRow {
        margin-bottom: 0;
    }
    #threeColumnRow > div.col {
        width: auto;
        margin-left: 0;
        float: none;
    }
    #threeColumnRow img.trio2,
    #threeColumnRow img.trio3 {
        display: none;
    }
}
/* END INTERIOR PAGE TOP */
/* INTERIOR PAGE BODY */

#content {
    background-color: white;
}
#content-wide {
    background: #fff none repeat scroll 0 0;
    padding: 5px 30px 18px;
}
#columns-in-rt iframe,
#columns-in-rt object {
    max-width: 100% !important;
    /* Some elements are using inline styles */
    
    margin: auto;
    display: block;
}
@media only screen and (max-width: 500px) {
    #columns-in {
        padding-bottom: 0;
    }
    #columns-in-rt,
    #columns-in-lt {
        float: none;
        width: auto;
    }
}
/* END INTERIOR PAGE BODY */
/* START GALLERY */

#gallery-heading {
    background-color: #ecebe7;
    margin-top: 18px;
}
#gallery-heading-left,
#gallery-heading-right {
    width: 68px;
    height: 23px;
    padding: 2px;
}
#gallery-heading-left {
    float: left;
    margin-right: 4px;
}
#gallery-heading-right {
    float: right;
    margin-left: 4px;
}
#gallery-heading-center {
    text-align: center;
    font-size: 12px;
    color: #666;
    line-height: 17px;
    padding: 5px 0 3px 0;
}
#gallery-main-image {
    margin-top: 17px;
    margin-bottom: 27px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#gallery-viewfull {
    display: none;
}
#gallery-thumbs.smugmug {
    padding-left: 9px;
}
#gallery-thumbs {
    text-align: center;
}
#gallery-thumbs a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}
#gallery-index {
    margin-top: 21px;
}
#gallery-index div {
    float: left;
    width: 197px;
    margin-right: 24px;
    margin-bottom: 39px;
}
#gallery-index div img {
    width: 197px;
    height: 120px;
}
#gallery-index div h1 {
    margin-top: 3px;
}
@media only screen and (max-width: 700px) {
    #gallery-heading-left,
    #gallery-heading-right {
        padding: 0;
        width: 23px;
    }
    #gallery-heading-left a,
    #gallery-heading-right a {
        width: 23px;
        height: 23px;
        display: block;
    }
    #gallery-heading-left img,
    #gallery-heading-right img {
        display: none;
    }
    #gallery-heading-left a {
        background-image: url(../../../images/btn-prev-sm.gif);
    }
    #gallery-heading-right a {
        background-image: url(../../../images/btn-next-sm.gif);
    }
}
div#columns-in-rt > div#gallery {
    /* this is for righthand sidebar galleries to match their background color with background color of many of the legacy images */
    
    background-color: #dcd6ca;
}
/* END GALLERY */

#inside-columns-rt #message div {
    margin-top: 0 !important;
    margin-bottom: 10px;
}
/* RESPONSIVE YOUTUBE VIDEO */

.video-wrapper,
.video-wrapper-standard {
    clear: both;
    position: relative;
    height: 0;
    margin-bottom: 10px;
}
.video-wrapper {
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}
.video-wrapper-standard {
    padding-bottom: 75%;
    /* 4:3 aspect ratio */
}
.video-wrapper iframe,
.video-wrapper-standard iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
#columns-in-lt p.youtube-description {
    font-weight: bold;
    margin: 0 0 5px;
    padding: 0;
}
/* END RESPONSIVE YOUTUBE VIDEO */