/* UPDATED FILE HAYMON 12/21 */
/* UPDATED FILE WINSTON 8/4 */
/* UPDATED FILE KYLE 7/28 */
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700|Raleway:300,400,500,600,700);

#body .hmd>nav.btns>ul:after,
#body .hmd>nav.search form .filter ul:after,
#body .hmd>nav.search form .ask.mobile ul:after,
#body .hmd .hmd-main>header nav ul:after,
#body .hmd .hmd-main>header .breadcrumbs ul:after,
#body .hmd .hmd-main .overlay form ul:after,
#body .hmd .hmd-main .table .tabs:after,
#body .hmd .hmd-main .tiles:after,
#body .hmd .hmd-main .latest ul:after,
#body .hmd .hmd-main .collections>ul:after,
#body .hmd .hmd-main .search form .filter ul:after,
#body .hmd .hmd-main .search form .ask.mobile ul:after,
#body .hmd .hmd-main:after,
#body .hmd .hmd-main>header .gallery:after,
#body .hmd .hmd-main>header .collectionsheader:after,
#body .hmd .hmd-main .timeperiods .period:after,
#body .hmd .hmd-main .timeperiods .period .intro .photo:after,
#body .hmd .hmd-main .timeperiods .period .indepth .photo:after {
    content: '.';
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

#body .hmd>nav.btns>ul,
#body .hmd>nav.search form .filter ul,
#body .hmd>nav.search form .ask.mobile ul,
#body .hmd .hmd-main>header nav ul,
#body .hmd .hmd-main>header .breadcrumbs ul,
#body .hmd .hmd-main .overlay form ul,
#body .hmd .hmd-main .table .tabs,
#body .hmd .hmd-main .tiles,
#body .hmd .hmd-main .latest ul,
#body .hmd .hmd-main .collections>ul,
#body .hmd .hmd-main .search form .filter ul,
#body .hmd .hmd-main .search form .ask.mobile ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#body .hmd>nav.btns>ul li,
#body .hmd>nav.search form .filter ul li,
#body .hmd>nav.search form .ask.mobile ul li,
#body .hmd .hmd-main>header nav ul li,
#body .hmd .hmd-main>header .breadcrumbs ul li,
#body .hmd .hmd-main .overlay form ul li,
#body .hmd .hmd-main .table .tabs li,
#body .hmd .hmd-main .tiles li,
#body .hmd .hmd-main .latest ul li,
#body .hmd .hmd-main .collections>ul li,
#body .hmd .hmd-main .search form .filter ul li,
#body .hmd .hmd-main .search form .ask.mobile ul li {
    float: left;
}

#body .hmd>header .logo a,
#body .hmd .hmd-main .timeperiods .period .photo a:before {
    text-indent: 200%;
    white-space: nowrap;
    overflow: hidden;
}

.skipnavigation {
    position: absolute;
}

::-ms-clear {
    display: none;
}

#body {
    padding: 0;
    overflow: inherit;
}

#body .hmd .hmd-main {
    min-height: 1450px;
}

#body .hmd * {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

#body .hmd header,
#body .hmd nav,
#body .hmd footer,
#body .hmd div {
    position: relative;
    box-sizing: border-box;
}

#body .hmd h1,
#body .hmd h2,
#body .hmd h3,
#body .hmd h4,
#body .hmd h5,
#body .hmd h6 {
    margin: 0;
    padding: 0;
    line-height: 1em;
    font-weight: 400;
}

#body .hmd .content p+ul a {
    text-decoration: underline;
}

#body .hmd .content ol a {
    text-decoration: underline;
}

#body .hmd a {
    text-decoration: none;
    cursor: pointer;
    color: #a21524;
}

#body .hmd a:hover,
#body .hmd a:focus {
    color: #e91e34;
}

#body .hmd li {
    margin-bottom: 0;
}

#body .hmd strong {
    font-weight: 700;
}

#body .hmd sup {
    vertical-align: 1 em;
    font-size: .5em;
}

#body .hmd .mobile {
    display: none;
}

#body .hmd .mobile-indicator {
    display: none;
}

#body .hmd.mobile .mobile {
    display: block;
}

#body .hmd.mobile .desktop {
    display: none;
}

#barbranding,
#breadcrumb-div {
    display: none;
}

#footer-sub {
    border-top: 0;
    margin-top: 0;
}

@media (max-width: 600px) {
    #body .hmd .mobile-indicator {
        display: block;
    }
}

/**
#body .hmd .hasjs {
    display: none !important;
}
*/
#body .hmd .nojs {
    display: block !important;
}

#body .hmd>header {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    z-index: 20;
}

.hmd-main .logo {
    background: #a21524;
    padding: 18px 24px;
    border-radius: 0 0 18px 0;
}

.hmd-main .logo a {
    background: url(../images/logo-hmd.svg) no-repeat 0 0;
    width: 128px;
    height: 46px;
    background-size: 100%;
    display: block;
}

#body .hmd>nav.btns {
    position: fixed;
    top: 151px !important;
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: top .5s ease;
}

#body .hmd>nav.btns.top {
    top: 20px;
}

#body .hmd>nav.btns>ul {
    margin: 0 auto;
    max-width: 1596px;
    padding: 0 22px;
    z-index: 10;
    position: relative;
}

#body .hmd>nav.btns>ul li {
    float: right;
    clear: both;
    height: 74px;
    margin-top: 15px;
    margin-right: -45px;
}

#body .hmd>nav.btns>ul a {
    display: block;
    border: 1px solid #fff;
    color: #fff;
    background: #a21524;
    width: 70px;
    text-align: center;
    height: 70px;
    max-height: 70px;
    padding-top: 40px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 14.48px;
    box-sizing: border-box;
    position: relative;
    box-shadow: -4px 4px 8px 0px rgba(0, 0, 0, 0.19);
    pointer-events: all;
    line-height: 20px;
}

#body .hmd>nav.btns>ul a:hover,
#body .hmd>nav.btns>ul a:focus {
    color: #a21524;
    background: #fff;
    border-color: #a21524;
}

#body .hmd>nav.btns>ul a:before {
    content: '';
    position: absolute;
    display: block;
    left: 50%;
    top: 11px;
}

#body .hmd>nav.btns>ul li.menu a:before {
    background: url(img/icon-menu.png) no-repeat 0 0;
    background-size: 100%;
    width: 40px;
    height: 22px;
    margin-left: -20px;
}

#body .hmd>nav.btns>ul li.menu a:hover:before,
#body .hmd>nav.btns>ul li.menu a:focus:before {
    background-image: url(img/icon-menu-red.png);
}

#body .hmd>nav.btns>ul li.search a:before {
    background: url(img/icon-search.png) no-repeat 0 0;
    background-size: 100%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
}

#body .hmd>nav.btns>ul li.search a:hover:before,
#body .hmd>nav.btns>ul li.search a:focus:before {
    background-image: url(img/icon-search-menu-red.png);
}

#body .hmd>nav.btns>ul li.close a:before {
    background: url(img/icon-close.png) no-repeat 0 0;
    background-size: 100%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
}

#body .hmd>nav.btns>ul li.close a:hover:before,
#body .hmd>nav.btns>ul li.close a:focus:before {
    background-image: url(img/icon-close-red.png);
}

#body .hmd>nav.btns>ul li.close {
    display: none;
}

#body .hmd>nav.menu {
    display: none;
    position: absolute;
    top: 0;
    right: -100%;
    /* WC height: 100%; */
    background: #e7e7e7;
    border-left: 1px solid #4f4f4f;
    padding: 38px 82px 0 40px;
    box-sizing: border-box;
    z-index: 30;
    min-width: 480px;
}

#body .hmd>nav.menu.on {
    right: 0;
    display: block;
    top: 160px;
    /* WC */
    padding-bottom: 120px;
    /* WC */
}

#body .hmd>nav.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#body .hmd>nav.menu ul li {
    margin: 0;
    padding: 0;
}

#body .hmd>nav.menu ul ul {
    margin-top: 6px;
}

#body .hmd>nav.menu ul ul li {
    margin: 0;
    padding: 0;
}

#body .hmd>nav.menu ul ul a {
    font-size: 18px;
    text-transform: none;
    color: #a21524;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    border: 0;
    line-height: 1.7em;
    margin: 0;
    padding: 0;
}

#body .hmd>nav.menu ul ul a:hover,
#body .hmd>nav.menu ul ul a:focus {
    text-decoration: underline;
}

#body .hmd>nav.menu a {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #000;
    font-size: 22px;
    padding-bottom: 10px;
    padding-top: 18px;
    border-bottom: 1px solid #929292;
    display: block;
}

#body .hmd>nav.menu a:hover,
#body .hmd>nav.menu a:focus {
    color: #a21524;
}

#body .hmd>nav.menu a.toggle {
    position: relative;
    color: #a21524;
    padding-left: 21px;
}

#body .hmd>nav.menu a.toggle:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    background: url(img/icon-menu-toggle.png) no-repeat 0 0;
    background-size: 20px;
    width: 10px;
    height: 10px;
    margin-top: -3px;
}

#body .hmd>nav.menu a.toggle.on:before {
    background-position: -10px 0;
}

#body .hmd>nav.search {
    display: none;
    position: fixed;
    right: -100%;
    top: 0;
    /* WC */
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    z-index: 11000;
}

#body .hmd>nav.search.on {
    right: 0;
    display: block;
}

#body .hmd>nav.search .search-container {
    max-width: 1640px;
    margin: 150px auto;
    height: 100%;
    box-sizing: border-box;
    background-color: rgba(80, 1, 3, 95%);
    border: 1px solid #fff;
    border-radius: 8px;
}

#body .hmd>nav.search form {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 150px 180px 200px 180px;
    overflow-y: auto;
    border-radius: 8px;
}

#body .hmd>nav.search .close-btn {
    position: absolute;
    top: 60px;
    right: 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

#body .hmd>nav.search .close-btn:hover {
    text-decoration: underline;
}

#body .hmd>nav.search .close-btn:before {
    content: '';
    background-image: url(img/icon-close.png);
    background-size: 100%;
    width: 24px;
    height: 24px;
    position: absolute;
    top: -30px;
    right: 12px;
}

#body .hmd>nav.search form h2.search-title {
    padding-bottom: 15px;
    font-size: 48px !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-weight: 400;
    margin-bottom: 0;
    color: #fff;
}

#body .hmd>nav.search form a {
    font-family: 'Raleway', sans-serif;
}

#body .hmd>nav.search form .ask.desktop {
    box-sizing: border-box;
    text-align: center;
}

#body .hmd>nav.search form .ask.desktop ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

#body .hmd>nav.search form .ask.desktop ul li {
    flex: 1 1 auto;
    flex-basis: 50%;
}

#body .hmd>nav.search form .ask.desktop a {
    font-size: 14px;
    font-weight: 400;
    background: #390000;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
    position: relative;
}

#body .hmd>nav.search form .ask.desktop ul li:first-child a {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#body .hmd>nav.search form .ask.desktop ul li:last-child a {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#body .hmd>nav.search form .ask.desktop ul li:last-child a:after {
    content: '';
    display: block;
    width: 6px;
    height: calc(100% - 18px);
    position: absolute;
    top: 9px;
    left: -3px;
    background: #500103;
}

#body .hmd>nav.search form .ask.desktop a span {
    display: block;
    font-size: 30px;
}

#body .hmd>nav.search form .ask.desktop a:hover,
#body .hmd>nav.search form .ask.desktop a:focus {
    background: #a21524;
    color: #fff;
}

#body .hmd>nav.search form .input {
    width: 100%;
    padding: 0;
    margin-bottom: 60px;
    position: relative;
}

#body .hmd>nav.search form .input:after {
    content: '';
    width: calc(100% - 130px);
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 20px;
    background: #fff;
}

#body .hmd>nav.search form input[type=text] {
    width: calc(100% - 130px);
    height: 90px;
    border: 0;
    background: none;
    outline: 0;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

#body .hmd>nav.search form button[type=submit] {
    background: #fff url('img/icon-search-red.svg');
    width: 100px;
    height: 100px;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0;
    outline: 0;
    border-radius: 50%;
}

#body .hmd>nav.search form button[type=submit]:hover,
#body .hmd>nav.search form button[type=submit]:focus {
    background: #D4152B url('img/icon-search-white.svg');
}

#body .hmd>nav.search form input::-webkit-input-placeholder {
    color: #fff;
}

#body .hmd>nav.search form input::-moz-placeholder {
    color: #fff;
}

#body .hmd>nav.search form input:-ms-input-placeholder {
    color: #fff;
}

/*
#body .hmd > nav.search form .filter, #body .hmd > nav.search form .ask.mobile {
    width: 88%;
}
*/
#body .hmd>nav.search form .filter {
    margin-bottom: 60px;
    padding: 1.5rem 0 0;
}

#body .hmd>nav.search form .filter ul li,
#body .hmd>nav.search form .ask.mobile ul li {
    box-sizing: border-box;
    position: relative;
}

#body .hmd>nav.search form .filter ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    padding: 0;
}

#body .hmd>nav.search form .filter ul li {
    flex: 1 1 auto;
    flex-basis: 50%;
    border: 4px solid transparent;
}

@media (max-width: 1280px) {
    #body .hmd>nav.search .search-container {
        margin-top: 140px;
    }

    #body .hmd>nav.search form h2.search-title {
        font-size: 32px !important;
    }

    #body .hmd>nav.search form .ask.desktop a {
        font-size: 10px;
    }

    #body .hmd>nav.search form .ask.desktop a span {
        font-size: 15px;
    }

    #body .hmd>nav.search form .input {
        margin-bottom: 30px;
    }

    #body .hmd>nav.search form .input:after {
        width: calc(100% - 65px);
    }

    #body .hmd>nav.search form input[type=text] {
        width: calc(100% - 65px);
        height: 45px;
        font-size: 18px;
    }

    #body .hmd>nav.search form button[type=submit] {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1024px) {
    #body .hmd>nav.search .search-container {
        margin-top: 110px;
    }
}

@media (max-width: 800px) {
    #body .hmd>nav.search .search-container {
        margin-top: 140px;
    }

    #body .hmd>nav.search form {
        padding: 100px 30px 200px;
    }

    #body .hmd>nav.search form .filter ul li {
        flex-basis: 50%;
        padding-right: 40px;
    }

    #body .hmd>nav.search form .ask ul li,
    #body .hmd>nav.search form .ask.desktop ul li {
        flex-basis: 100%;
        width: 100%;
    }

    #body .hmd>nav.search form .ask ul li,
    #body .hmd>nav.search form .ask.desktop ul li a {
        border-radius: 8px;
    }

    #body .hmd>nav.search form .ask.desktop ul li:last-child a:after {
        display: none;
    }
}


#body .hmd>nav.search form .filter .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 39px;
    width: 39px;
    border: 2px solid #fff;
    border-radius: 50%;
}

#body .hmd>nav.search form .filter .on .checkmark {
    border: 2px solid #fff;
}

#body .hmd>nav.search form .filter .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

#body .hmd>nav.search form .filter .on .checkmark:after {
    display: block;
}

#body .hmd>nav.search form .filter .checkmark:after {
    top: 6px;
    left: 6px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
}

#body .hmd>nav.search form .filter ul a {
    display: block;
    position: relative;
    padding-left: 55px;
    margin-bottom: 36px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

#body .hmd>nav.search form .ask.mobile ul li {
    width: 100%;
}

#body .hmd>nav.search form .ask.mobile ul a {
    display: block;
    text-align: center;
    background: #390000;
    line-height: 18px;
    padding: 13px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

#body .hmd>nav.search form .ask.mobile a span {
    display: block;
    font-size: 22px;
}

#body .hmd>footer .hmd-socialmedia a.cn:before {
    background-position: 0 -24px;
}

#body .hmd .hmd-main {
    z-index: 1;
    padding-bottom: 1em;
}

.section.profile {
    height: 50%
}

@media (max-width: 1134px) {
    #body .hmd>nav.btns {
        top: 187px;
    }
}

@media (max-width: 991px) {
  .hmd-footer-black {
    min-height: 0px;
  }
}

@media (max-width: 799px) {
    .hmd-main .logo {
        padding: 10px 20px !important;
    }

    .hmd-main .logo a {
        width: 100px !important;
        height: 40px !important;
    }

    #body .hmd>nav.btns ul {
        padding: 0;
    }

    #body .hmd>nav.btns ul li {
        height: 50px;
    }

    #body .hmd>nav.btns ul a {
        width: 46px;
        height: 46px;
        max-height: 46px;
        font-size: 10px;
        padding: 0;
        padding-top: 24px;
    }

    #body .hmd>nav.btns ul a:before {
        top: 7px;
    }

    #body .hmd>nav.btns ul li.menu a:before {
        width: 26px;
        height: 16px;
        margin-left: -13px;
    }

    #body .hmd>nav.btns ul li.search a:before {
        width: 18px;
        height: 18px;
        margin-left: -9px;
    }

    #body .hmd>nav.btns ul li.close a:before {
        width: 18px;
        height: 18px;
        margin-left: -9px;
    }

    #body .hmd>footer .hmd-socialmedia li+li {
        margin-left: 0;
    }

    .section.profile {
        height: 50%
    }
}

@media (max-width: 700px) {
    #body .hmd>nav.search {
        top: 0;
        width: 100%;
        border-left: 0;
    }

    #body .hmd>nav.search .search-container {
        margin-top: 140px;
    }

    #body .hmd>nav.search form h2.search-title {
        padding-bottom: 0;
        font-size: 22px !important;
        margin-bottom: 0;
    }

    #body .hmd>nav.search form .ask.desktop a {
        font-size: 13px;
        padding-top: 54px;
        padding-bottom: 9px;
    }

    #body .hmd>nav.search form .ask.desktop a:after {
        top: 38px;
    }

    #body .hmd>nav.search form .ask.desktop a:before {
        top: 6px;
        width: 14px;
        height: 28px;
        margin-left: -7px;
    }

    #body .hmd>nav.search form .input {
        padding: 0 6px;
        margin-bottom: 5px;
    }

    #body .hmd>nav.search form .input:after {
        width: calc(100% - 60px);
        height: 2px;
    }

    #body .hmd>nav.search form input[type=text] {
        width: calc(100% - 60px);
        height: 36px;
        font-size: 13px;
    }

    #body .hmd>nav.search form button[type=submit] {
        width: 50px;
        height: 50px;
        right: 6px;
        margin-top: -3px;
    }

    #body .hmd>nav.search form button[type=submit] img {
        width: 30px;
        height: 30px;
    }

    #body .hmd>nav.search form .ask.mobile ul {
        flex-direction: column;
    }

    #body .hmd>nav.search form .filter ul li,
    #body .hmd>nav.search form .ask.mobile ul li {
        float: left;
        box-sizing: border-box;
    }

    #body .hmd>nav.search form .filter ul a,
    #body .hmd>nav.search form .ask.mobile ul a {
        line-height: 26px;
        /*padding: 7px 7px 7px 30px;*/
        padding-left: 30px;
        font-size: 13px;
    }

    #body .hmd>nav.search form .filter .checkmark {
        width: 25px;
        height: 25px;
    }

    #body .hmd>nav.search form .filter .checkmark:after {
        top: 3px;
        left: 3px;
        width: 15px;
        height: 15px;
    }

}

@media (max-width: 600px) {
    #body .hmd>nav.search .search-container {
        margin-top: 127px;
    }

    #body .hmd>nav.menu {
        border: 0;
        width: 100%;
        min-width: 1px;
    }

    #body .hmd>nav.btns {
        position: absolute;
        top: 0;
    }

    #body .hmd>nav.btns.top {
        position: fixed;
        top: 0;
        left: auto;
        right: 34px;
    }

    #body .hmd>nav.btns ul {
        text-align: right;
        padding-right: 15px;
    }

    #body .hmd>nav.btns ul li {
        float: right;
        display: inline-block;
        margin-left: 50px;
        clear: none;
    }

    #body .hmd>nav.btns ul li a {
        border-top: 0;
        border-right: 1px solid #fff;
    }

    #body .hmd>nav.search {
        top: -1px;
        padding: 0;
    }

    #body .hmd>nav.search form {
        padding: 80px 15px 200px;
    }

    #body .hmd>nav.search form .input,
    #body .hmd>nav.search form .filter,
    #body .hmd>nav.search form .ask.mobile {
        width: 100%;
    }

    #body .hmd>nav.search form .filter {
        margin-bottom: 0;
    }

    #body .hmd>nav.search form .input {
        margin-bottom: 30px;
    }

    #body .hmd>nav.search .close-btn {
        font-size: 10px;
        top: 30px;
        right: 10px;
    }

    #body .hmd>nav.search .close-btn:before {
        width: 12px;
        height: 12px;
        top: -15px;
        right: 9px;
    }

    #body .hmd>footer .hmd-socialmedia h2 {
        font-size: 17px;
    }

    .hmd .photo img {
        min-height: 50px;
    }
}

@media (max-width: 460px) {
    #body .hmd>nav.search .search-container {
        margin-top: 140px;
    }
    .hmd-main .logo {
        padding: 10px 13px !important;
    }

    .hmd-main .logo a {
        width: 75px !important;
        height: 28px !important;
    }

    #body .hmd>nav.btns ul li {
        height: 44px;
    }

    #body .hmd>nav.btns ul a {
        width: 40px;
        height: 40px;
        max-height: 40px;
        font-size: 8px;
        padding: 0;
        padding-top: 20px;
    }

    #body .hmd>nav.btns ul a:before {
        top: 7px;
    }

    #body .hmd>nav.btns ul li.menu a:before {
        width: 24px;
        height: 13px;
        margin-left: -12px;
    }

    #body .hmd>nav.btns ul li.search a:before {
        width: 16px;
        height: 16px;
        margin-left: -8px;
    }

    #body .hmd>nav.btns ul li.close a:before {
        width: 16px;
        height: 16px;
        margin-left: -8px;
    }

    #body .hmd>nav.search form .input {
        width: 100%;
    }

    #body .hmd>nav.search form input[type=text] {
        height: 36px;
        font-size: 13px;
    }

    #body .hmd>nav.menu ul ul a {
        font-size: 13px;
    }

    #body .hmd>nav.menu a.toggle+ul {
        display: none;
    }

    #body .hmd>nav.menu a.toggle {
        position: relative;
        color: #a21524;
    }

    #body .hmd>nav.menu a.toggle:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        background: url(img/icon-menu-toggle.png) no-repeat -10px 0;
        background-size: 20px;
        width: 10px;
        height: 10px;
        margin-top: -3px;
    }

    #body .hmd>nav.menu a.toggle.on:before {
        background-position: 0;
    }

    #body .hmd>nav.menu a {
        font-size: 16px;
        padding-left: 21px;
    }

    .hmd .photo img {
        min-height: auto;
      /*min-height was 50px; this stretched images, unlike auto*/
    }
}

.lb {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    transition: opacity .5s ease;
}

.lb.on {
    opacity: 1;
}

.pop_image {
    margin: 0;
    position: fixed;
    top: 10%;
    left: 0;
    z-index: 10000;
    outline: none;
    width: 100%;
    max-height: 90%;
    height: 100%;
    display: none;
}

.pop_image img {
    position: relative;
    cursor: pointer;
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    box-sizing: border-box;
    padding: 68px 34px;
    background: #fff;
}

.pop_image .close {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 33px;
    height: 33px;
    background: url(img/icon-lb-close.png) no-repeat 0 0;
    z-index: 100;
    border: 0;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    transition: opacity .5s ease;
}

.pop_image .close.on {
    opacity: 1;
}

.pop_image .close:hover {
    background-position: -33px 0;
}

#body .hmd {
    font-size: 62.5%;
}

#body .hmd .hmd-main {
    font-size: 18px;
}

#body .hmd .hmd-main>header {
    padding-bottom: 1em;
    z-index: 200;
}

#body .hmd .hmd-main>header h1 {
    font-size: 40px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300 !important;
    line-height: 1em;
    color: #4f4f4f !important;
    text-transform: uppercase;
    text-align: center;
    padding: 30px 200px;
    margin-top: 0 !important;
}

#body .hmd .hmd-main>header h1 em {
    color: #a21524;
    font-style: normal;
    text-transform: none;
}

#body .hmd .hmd-main>header h1 a {
    color: #4f4f4f;
    font-weight: 300;
    line-height: 1em;
    border-bottom: 2px solid #fff;
}

#body .hmd .hmd-main>header h1 a:hover,
#body .hmd .hmd-main>header h1 a:focus {
    color: #a21524;
    border-bottom: 2px solid #a21524;
}

#body .hmd .hmd-main>header nav {
    background: #e7e7e7 url(img/d-bookopen.png) no-repeat center 0;
    padding: 20px 12px 10px 12px;
    padding-left: 23px;
    min-height: 45px;
}

#body .hmd .hmd-main>header nav ul {
    margin-top: 6px;
}

#body .hmd .hmd-main>header nav ul li {
    line-height: 1em;
    margin-right: 8px;
    padding-right: 8px;
}

#body .hmd .hmd-main>header nav ul a {
    text-transform: uppercase;
    font-size: 14px;
    color: #000;
    padding: 2px 6px;
    display: block;
}

#body .hmd .hmd-main>header nav ul a.on,
#body .hmd .hmd-main>header nav ul a:hover,
#body .hmd .hmd-main>header nav ul a:focus {
    background: #636363;
    color: #fff;
    font-weight: 700;
}

#body .hmd .hmd-main>header nav.tabs {
    padding: 0;
    padding-top: 44px;
}

#body .hmd .hmd-main>header nav.tabs ul li {
    white-space: nowrap;
}

#body .hmd .hmd-main>header nav.tabs ul li+li {
    border: 0;
}

#body .hmd .hmd-main>header nav.tabs ul a {
    background: #848484;
    text-transform: uppercase;
    border-radius: 0 12px 0 0;
    position: relative;
    padding-left: 65px;
    padding-right: 15px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 22px;
    font-size: 1.235vw;
    line-height: 2em;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 2000px) {
    #body .hmd .hmd-main>header nav.tabs ul a {
        font-size: 22px;
    }
}

#body .hmd .hmd-main>header nav.tabs ul a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 52px;
    background: #646464;
    background-repeat: no-repeat;
    background-position: center center;
}

#body .hmd .hmd-main>header nav.tabs ul a.on,
#body .hmd .hmd-main>header nav.tabs ul a:hover,
#body .hmd .hmd-main>header nav.tabs ul a:focus {
    background-color: #a21524;
}

#body .hmd .hmd-main>header nav.tabs ul a.on:before,
#body .hmd .hmd-main>header nav.tabs ul a:hover:before,
#body .hmd .hmd-main>header nav.tabs ul a:focus:before {
    background-color: #d4152b;
}

#body .hmd .hmd-main>header nav.tabs ul a.resources:before {
    background-image: url(img/ICONS-TABS-nlm-resources.svg);
    background-size: 45%;
}

#body .hmd .hmd-main>header nav.tabs ul a.beyond:before {
    background-image: url(img/ICONS-TABS-beyond-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.ask:before {
    background-image: url(img/ICONS-TABS-ask-librarian-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.classroom:before {
    background-image: url(img/ICONS-TABS-classroom-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.games:before {
    background-image: url(img/ICONS-TABS-games-01.svg);
    background-size: 70%;
}

#body .hmd .hmd-main>header nav.tabs ul a.videos:before {
    background-image: url(img/ICONS-TABS-videos-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.pdf:before {
    background-image: url(img/ICONS-TABS-pdfs-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.web:before {
    background-image: url(img/ICONS-TABS-beyond-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.images:before {
    background-image: url(img/ICONS-TABS-images-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header nav.tabs ul a.databases:before {
    background-image: url(img/ICONS-TABS-databases-01.svg);
    background-size: 60%;
}

#body .hmd .hmd-main>header .gallery {
    background: #e7e7e7;
    padding-bottom: 14px;
}

#body .hmd .hmd-main>header .gallery>div {
    float: left;
    width: 32.66666%;
    height: 0;
    padding-top: 12.90%;
    overflow: hidden;
}

#body .hmd .hmd-main>header .gallery>div img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#body .hmd .hmd-main>header .gallery>div+div {
    margin-left: 1%;
}

#body .hmd .hmd-main>header .collectionsheader {
    padding-bottom: 48px;
    background: #e7e7e7;
}

#body .hmd .hmd-main>header .collectionsheader .photomain {
    float: left;
    width: 65%;
}

#body .hmd .hmd-main>header .collectionsheader .photomain img {
    display: block;
    width: 100%;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent {
    float: left;
    width: 35%;
    padding-top: 30.8%;
    height: 0;
    border-left: 12px solid #e7e7e7;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #670205;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section {
    background: #670205;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section a {
    display: block;
    height: 0;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section h2 {
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    padding: 1.8% 5.5%;
    line-height: 1em;
    background: #d4152b;
    font-weight: 300;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo {
    float: left;
    border: 0;
    width: 27%;
    margin: 0;
    height: 0;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section .text {
    float: left;
    padding: 2.9% 5.5%;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section .text * {
    font-size: 18px;
    color: #fff;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section .text p {
    font-weight: 300;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo+.text {
    width: 73%;
    margin-left: 27%;
    padding: 2.9% 5.5%;
}

#body .hmd .hmd-main>header .collectionsheader .subcontent .section+.section {
    border-top: 12px solid #e7e7e7;
}

#body .hmd .hmd-main>header .breadcrumbs {
    background: #d4152b;
    box-sizing: border-box;
}

#body .hmd .hmd-main>header .breadcrumbs ul {
    position: relative;
    max-width: 1375px;
    margin: 0 auto;
}

#body .hmd .hmd-main>header .breadcrumbs ul a {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.9em;
}

#body .hmd .hmd-main>header .breadcrumbs ul a:hover,
#body .hmd .hmd-main>header .breadcrumbs ul a:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main>header .breadcrumbs ul li+li:before {
    content: '>';
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.9em;
    margin: 0 10px;
}

#body .hmd .hmd-main>header .subheader {
    background: #670205;
    padding: 2% 0;
}

#body .hmd .hmd-main>header .subheader h2 {
    color: #fff;
    font-size: 40px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    max-width: 1375px;
    margin: 0 auto;
    position: relative;
}

#body .hmd .hmd-main>header .subheader p {
    color: #fff;
    font-size: 25px;
    max-width: 1375px;
    margin: 0 auto;
    position: relative;
    margin-top: .1em;
    font-weight: 300;
}

#body .hmd .hmd-main>header .subheader p a {
    color: #fff;
    text-decoration: underline;
    font-weight: 300;
    position: relative;
}

#body .hmd .hmd-main>header .subheader p a:hover {
    color: #e91e34;
}

#body .hmd .hmd-main>header .subheader p a.filter {
    padding-right: 60px;
}

#body .hmd .hmd-main>header .subheader p a.filter:after {
    content: '';
    background: url(img/icon-filter.png) no-repeat 0 0;
    width: 44px;
    height: 44px;
    position: absolute;
    right: 0;
}

#body .hmd .hmd-main>header .subheader p a.filter:hover:after {
    background-position: -44px 0;
}

#body .hmd .hmd-main>header .subheader:after {
    content: '';
    background: url(img/d-bookopen-darkred.png) no-repeat center 0;
    position: absolute;
    bottom: -25px;
    width: 100%;
    height: 25px;
}

#body .hmd .hmd-main .overlay {
    position: absolute;
    top: 100%;
    left: -110%;
    width: 100%;
    background: #e7e7e7;
    margin-top: -16px;
    border-bottom: 1px solid #646464;
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.4);
    transition: left 1s ease;
}

@media (min-width: 2000px) {
    #body .hmd .hmd-main .overlay {
        left: -200%;
    }
}

@media (min-width: 4000px) {
    #body .hmd .hmd-main .overlay {
        left: -400%;
    }
}

#body .hmd .hmd-main .overlay.on {
    left: 0;
}

#body .hmd .hmd-main .overlay form {
    padding: 35px 0;
    max-width: 1375px;
    margin: 0 auto;
    position: relative;
    font-size: 18px;
}

#body .hmd .hmd-main .overlay form h3 {
    font-size: 24px;
    color: #4f4f4f;
    text-transform: uppercase;
    margin-bottom: .6em;
    background: url(img/icon-filter-form.png) no-repeat 0 center;
    padding-left: 55px;
    line-height: 42px;
}

#body .hmd .hmd-main .overlay form p {
    line-height: 1em;
    margin-bottom: 1em;
}

#body .hmd .hmd-main .overlay form ul {
    margin-bottom: 20px;
    column-count: 3;
}

#body .hmd .hmd-main .overlay form ul li {
    float: none;
    margin-bottom: 12px;
    break-inside: avoid-column;
}

#body .hmd .hmd-main .overlay form input[type=radio] {
    display: none;
}

#body .hmd .hmd-main .overlay form label {
    line-height: 25px;
    position: relative;
    padding-left: 38px;
    display: block;
}

#body .hmd .hmd-main .overlay form label:before {
    content: '';
    width: 25px;
    height: 25px;
    background: url(img/icon-checkbox.png) no-repeat -25px 0;
    position: absolute;
    top: 0;
    left: 0;
}

#body .hmd .hmd-main .overlay form input[type=radio]:checked+label:before {
    background-position: 0 0;
}

#body .hmd .hmd-main .overlay form a.filtersubmit {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1em;
    display: inline-block;
    padding: 10px 12px;
    background: #670205;
    border: 3px solid #fff;
    margin-bottom: 36px;
}

#body .hmd .hmd-main .overlay form a.filtersubmit:hover,
#body .hmd .hmd-main .overlay form a.filtersubmit:focus {
    color: #670205;
    background: #fff;
    border-color: #670205;
}

#body .hmd .hmd-main .overlay form a.close {
    line-height: 21px;
    padding-left: 38px;
    font-size: 14px;
    text-transform: uppercase;
    color: #4f4f4f;
    display: block;
    position: relative;
}

#body .hmd .hmd-main .overlay form a.close:before {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    background: url(img/icon-toggle-openclose.png) no-repeat 0 -21px;
    top: 50%;
    left: 0;
    margin-top: -10px;
}

#body .hmd .hmd-main .overlay form a.close:hover {
    color: #a21524;
}

#body .hmd .hmd-main .overlay form a.close:hover:before {
    background-position: -21px -21px;
}

#body .hmd .hmd-main .content {
    overflow: hidden;
}

#body .hmd .hmd-main .content h2,
#body .hmd .hmd-main .content h3,
#body .hmd .hmd-main .content h4,
#body .hmd .hmd-main .content h5,
#body .hmd .hmd-main .content h6 {
    color: #a21524;
}

#body .hmd .hmd-main .content h2 {
    font-size: 40px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    margin-bottom: .4em;
}

#body .hmd .hmd-main .content h2 a.showall {
    font-size: 22px;
    text-transform: uppercase;
    text-decoration: underline;
    color: #670205;
    line-height: 46px;
    display: block;
    vertical-align: top;
    padding-left: 64px;
    position: relative;
    margin-top: 12px;
}

#body .hmd .hmd-main .content h2 a.showall:after {
    content: '';
    background: url(img/icon-filter.png);
    width: 44px;
    height: 44px;
    left: 0;
    position: absolute;
    top: 0;
    border: 1px solid #670205;
}

#body .hmd .hmd-main .content h2 a.showall:hover:after,
#body .hmd .hmd-main .content h2 a.showall:focus:after {
    background-position: -44px 0;
}

#body .hmd .hmd-main .content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: .4em;
}

#body .hmd .hmd-main .content h4 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: .5em;
}

#body .hmd .hmd-main .content p {
    line-height: 2em;
    margin-bottom: 1em;
}

#body .hmd .hmd-main .content p a {
    color: #a21524;
    text-decoration: underline;
}

#body .hmd .hmd-main .content p a:hover,
#body .hmd .hmd-main .content p a:focus {
    text-decoration: underline;
    color: #e91e34;
}

#body .hmd .hmd-main .content p strong {
    font-weight: 700;
}

#body .hmd .hmd-main .content ul,
#body .hmd .hmd-main .content ol {
    margin-left: 2%;
}

#body .hmd .hmd-main .content ul li,
#body .hmd .hmd-main .content ol li {
    /* WCC      color: #a21524; */
    line-height: 1.8em;
}

#body .hmd .hmd-main .content ul li span,
#body .hmd .hmd-main .content ol li span {
    color: #000;
}

#body .hmd .hmd-main>.content {
    margin: 0 auto;
    max-width: 1375px;
    margin-bottom: 50px;
}

#body .hmd .hmd-main ul.documents {
    list-style: none;
    margin-left: 0;
}

#body .hmd .hmd-main ul.documents li {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 1em;
}

#body .hmd .hmd-main ul.documents a {
    position: relative;
    padding-left: 57px;
    line-height: 1em;
    display: block;
    margin-left: 0;
    min-height: 42px;
    padding-top: 8px;
}

#body .hmd .hmd-main ul.documents a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
}

#body .hmd .hmd-main ul.documents a:hover,
#body .hmd .hmd-main ul.documents a:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main ul.documents a.document:before {
    background: url(img/icon-document.png) no-repeat 0 0;
    width: 36px;
    height: 42px;
    margin-top: 0;
}

#body .hmd .hmd-main ul.documents a.link:before {
    background: url(img/icon-link.png) no-repeat 0 0;
    width: 42px;
    height: 32px;
    margin-top: 6px;
}

#body .hmd .hmd-main .highlight>.content {
    margin: 0 auto;
    max-width: 1375px;
}

#body .hmd .hmd-main .width75 {
    width: 72.75%;
}

#body .hmd .hmd-main .width25 {
    width: 24.25%;
}

#body .hmd .hmd-main .width33 {
    width: 31%;
}

#body .hmd .hmd-main .width66 {
    width: 66%;
}

#body .hmd .hmd-main .right {
    float: right;
}

#body .hmd .hmd-main .highlight {
    background: #e7e7e7 url(img/d-bookopen.png) no-repeat center 0;
    clear: both;
    padding: 34px 0 64px;
    margin-bottom: 50px;
}

#body .hmd .hmd-main .highlight:after {
    position: absolute;
    bottom: -25px;
    height: 25px;
    width: 100%;
    background: url(img/d-bookopen-gray.png) no-repeat center 0;
}

#body .hmd .hmd-main>.content+.content {
    clear: both;
}

#body .hmd .hmd-main .map {
    width: 100%;
    height: 0;
    padding-top: 58.3%;
    box-sizing: border-box;
    border: 1px solid #a1a1a1;
    overflow: hidden;
    background: url(img/map-static.png) no-repeat center center;
    background-size: cover;
}

#body .hmd .hmd-main .map iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

#body .hmd .hmd-main .bioaddress {
    background: #e7e7e7;
    border-radius: 12px 0 0 0;
    padding: 7.6% 0 6% 0;
}

#body .hmd .hmd-main .bioaddress h2 {
    font-size: 30px;
    text-transform: uppercase;
    color: #4f4f4f;
    margin: 0 6% 7.6% 6%;
}

#body .hmd .hmd-main .bioaddress .photo {
    border: 0;
}

#body .hmd .hmd-main .bioaddress .photo img {
    display: block;
    width: 100%;
}

#body .hmd .hmd-main .bioaddress .contactdetails {
    background: #fff;
    padding: 6%;
}

#body .hmd .hmd-main .bioaddress .contactdetails h3 {
    display: block;
    color: #a21524;
    font-size: 18px;
    text-transform: uppercase;
}

#body .hmd .hmd-main .bioaddress .contactdetails h3.inline {
    float: left;
    margin-bottom: 0;
    line-height: 1.75em;
    margin-right: .5em;
}

#body .hmd .hmd-main .bioaddress .contactdetails address {
    font-size: 18px;
    line-height: 1.66em;
    display: block;
    font-style: normal;
    margin-bottom: .5em;
}

#body .hmd .hmd-main .bioaddress .contactdetails address p {
    line-height: 1.75em;
    margin-bottom: 0em;
}

#body .hmd .hmd-main .bioaddress .contactdetails address a {
    color: #a21524;
    text-decoration: underline;
}

#body .hmd .hmd-main .bioaddress .contactdetails address.block h4 {
    display: block;
}

#body .hmd .hmd-main .bioaddress .contactdetails address+address {
    margin-top: 10px;
}

#body .hmd .hmd-main .table .tabs {
    margin-bottom: 6px;
}

#body .hmd .hmd-main .table .tabs a {
    text-transform: uppercase;
    background: #848484;
    color: #fff;
    display: block;
    font-size: 16px;
    padding: .4em .8em;
    text-decoration: none;
}

#body .hmd .hmd-main .table .tabs a.on,
#body .hmd .hmd-main .table .tabs a:hover,
#body .hmd .hmd-main .table .tabs a:focus {
    background: #d4152b;
}

#body .hmd .hmd-main .table .tabs li+li {
    margin-left: 6px;
}

#body .hmd .hmd-main .table h3 {
    text-transform: uppercase;
    color: #a21524;
    font-size: 20px;
    margin-bottom: 1em;
    margin-top: 3em;
    display: none;
    float: left;
}

#body .hmd .hmd-main table {
    border-collapse: collapse;
    width: 100%;
    border: 0;
    margin-bottom: 1em;
}

#body .hmd .hmd-main table th {
    background: #a21524;
    font-weight: 400;
    color: #fff;
    text-align: left;
    border: 0;
    font-size: 18px;
    padding: .8em 1em;
}

#body .hmd .hmd-main table .header {
    text-decoration: underline;
}

#body .hmd .hmd-main table th+th {
    border-left: 1px solid #fff;
}

#body .hmd .hmd-main table td {
    border: 0;
    padding: .8em 1em;
}

#body .hmd .hmd-main table td+td {
    border-left: 1px solid #a1a1a1;
}

#body .hmd .hmd-main table thead {
    border-right: 1px solid #a21524;
}

#body .hmd .hmd-main table tbody {
    border: 1px solid #a1a1a1;
}

#body .hmd .hmd-main table tr:nth-child(even) td {
    background: #e7e7e7;
}

#body .hmd .hmd-main table a {
    color: #a21524;
    text-decoration: underline;
}

#body .hmd .hmd-main table a:hover,
#body .hmd .hmd-main table a:focus {
    color: #e91e34;
}

#body .hmd .hmd-main table a.findingaid {
    background: url(img/icon-findingaid.png) no-repeat left center;
    padding-left: 30px;
    line-height: 24px;
    display: block;
}

#body .hmd .hmd-main table a.view {
    background: url(img/icon-view.png) no-repeat left center;
    padding-left: 40px;
    line-height: 24px;
    display: block;
}

#body .hmd .hmd-main .photo {
    border: 1px solid #a1a1a1;
    margin-bottom: 2%;
}

#body .hmd .hmd-main .photo img {
    width: 100%;
    display: block;
}

#body .hmd .hmd-main .photo.width25 {
    width: 25%;
}

#body .hmd .hmd-main .photo.width50 {
    width: 50%;
}

#body .hmd .hmd-main .photo.width100 {
    clear: both;
}

#body .hmd .hmd-main .photo.left {
    float: left;
    margin: 0 2% 2% 0;
}

#body .hmd .hmd-main .photo.right {
    float: right;
    margin: 0 0 2% 2%;
}

#body .hmd .hmd-main .photo .caption {
    padding: 16px;
}

#body .hmd .hmd-main .photo .caption * {
    color: #a21524;
}

#body .hmd .hmd-main .photo .caption h3 {
    font-size: 18px;
    margin-bottom: .2em;
}

#body .hmd .hmd-main .photo .caption p {
    margin: 0;
    line-height: 1em;
    margin-bottom: .4em;
}

#body .hmd .hmd-main .photo .caption p.credit {
    font-size: 16px;
    font-weight: 700;
}

#body .hmd .hmd-main .tiles {
    max-width: 1375px;
    position: relative;
    margin: 0 auto;
    margin-left: 0 !important;
}

#body .hmd .hmd-main .tiles li {
    width: 30.5%;
    height: 0;
    padding-top: 19.2%;
    background: #e7e7e7;
    position: relative;
    border-radius: 12px 0 0 0;
    margin-bottom: 4.25%;
}

#body .hmd .hmd-main .tiles li>a,
#body .hmd .hmd-main .tiles li>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#body .hmd .hmd-main .tiles li:not([style="display: none;"])+li {
    margin-left: 4.25%;
}

#body .hmd .hmd-main .tiles .photo {
    border: 0;
}

#body .hmd .hmd-main .tiles .text {
    background: #fff;
}

#body .hmd .hmd-main .tiles h3 {
    font-size: 28px;
    color: #4f4f4f;
    text-transform: uppercase;
    font-weight: 300;
    padding: 8% 5.9% 0 5.9%;
    line-height: 1.13em;
}

#body .hmd .hmd-main .tiles .text {
    position: absolute;
    width: 100%;
    bottom: 10%;
    left: 0;
    height: 0;
    padding-top: 28.57%;
}

#body .hmd .hmd-main .tiles .text .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4% 5.9%;
    line-height: 1.6em;
    font-size: 17px;
}

#body .hmd .hmd-main .tiles .text .content * {
    font-size: 17px;
    color: #a21524;
}

#body .hmd .hmd-main .tiles .text .content a:hover,
#body .hmd .hmd-main .tiles .text .content a:focus {
    text-decoration: underline;
    color: #e91e34;
}

#body .hmd .hmd-main .tiles .text .content strong {
    font-weight: 700;
}

#body .hmd .hmd-main .tiles .text .content:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 28.57%;
    height: 100%;
    background-color: #cecece;
    background-repeat: no-repeat;
    background-position: center center;
}

#body .hmd .hmd-main .tiles li.hours .content:after {
    background-image: url(img/icon-tile-clock.png);
    background-size: 63%;
}

#body .hmd .hmd-main .tiles li.contact .content:after {
    background-image: url(img/icon-tile-mobile.png);
    background-size: 59%;
}

#body .hmd .hmd-main .tiles li.librarians .content:after {
    background-image: url(img/icon-tile-people.png);
    background-size: 71%;
}

#body .hmd .hmd-main .tiles li a:hover h3,
#body .hmd .hmd-main .tiles li a:focus h3 {
    color: #a21524;
}

#body .hmd .hmd-main .tiles li a:hover .text .content:after,
#body .hmd .hmd-main .tiles li a:focus .text .content:after {
    background-color: #a21524;
}

#body .hmd .hmd-main .tiles.style2 li {
    padding-top: 27.63%;
}

#body .hmd .hmd-main .tiles.style2 li:nth-child(3n+1) {
    margin-left: 0;
}

#body .hmd .hmd-main .tiles.style2 .photo {
    position: absolute;
    bottom: 28.9%;
}

#body .hmd .hmd-main .tiles.style2 .text {
    padding-top: 21.9%;
    bottom: 7%;
}

#body .hmd .hmd-main .tiles.style2 .text .content {
    padding: 3% 18% 0 5.9%;
    color: #000;
    display: flex;
    align-items: center;
}

#body .hmd .hmd-main .tiles.style2 .text .content * {
    color: #000;
    line-height: 1.5em;
    font-size: 18px;
}

#body .hmd .hmd-main .tiles.style2 .text .content:after {
    width: 16.6%;
    background-image: url(img/icon-arrow-collections.png);
    background-size: 30%;
}

#body .hmd .hmd-main .tiles.style2.b li {
    padding-top: 25%;
}

#body .hmd .hmd-main .tiles.style2.c li {
    width: 22.3%;
    padding-top: 21.09%;
    border-radius: 0;
}

#body .hmd .hmd-main .tiles.style2.c li+li {
    margin-left: 3.6%;
}

#body .hmd .hmd-main .tiles.style2.c li:first-child[style="display: none;"]+li[style="display: none;"]+li {
    margin-left: 0;
}

#body .hmd .hmd-main .tiles.style2.c h3 {
    font-size: 22px;
    padding: 6% 7% 0 7%;
}

#body .hmd .hmd-main .tiles.style2.c .photo {
    top: 30.6%;
}

#body .hmd .hmd-main .tiles.style2.c .text {
    height: 31%;
    bottom: 9%;
}

#body .hmd .hmd-main .tiles.style2.c .text .content {
    padding: 3% 25% 0 7%;
}

#body .hmd .hmd-main .tiles.style2.c .text .content * {
    font-size: 16px;
}

#body .hmd .hmd-main .tiles.style2.c .text .content:after {
    width: 23.33%;
}

#body .hmd .hmd-main .tiles.style3 li {
    padding-top: 29.09%;
}

#body .hmd .hmd-main .tiles.style3 .photo {
    position: absolute;
    top: 27.85%;
}

#body .hmd .hmd-main .tiles.style3 h3 {
    padding-top: 6%;
}

#body .hmd .hmd-main .tiles.style3 .form {
    height: 13.09%;
    top: 52.61%;
    width: 100%;
    position: absolute;
    left: 0;
    background: #fff;
}

#body .hmd .hmd-main .tiles.style3 .form form {
    height: 100%;
}

#body .hmd .hmd-main .tiles.style3 .form input[type=text] {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 10% 0 5.9%;
    box-sizing: border-box;
    font-size: 24px;
}

#body .hmd .hmd-main .tiles.style3 .form input[type=submit] {
    position: absolute;
    right: 5.9%;
    top: 50%;
    width: 8%;
    height: 64%;
    background: url(img/icon-search-red.png) no-repeat 0 0;
    background-size: 100%;
    margin-top: -4%;
    transition: opacity .5s ease;
}

#body .hmd .hmd-main .tiles.style3 .form input[type=submit]:hover,
#body .hmd .hmd-main .tiles.style3 .form input[type=submit]:focus {
    opacity: .6;
}

#body .hmd .hmd-main .tiles.style3 .form input::-webkit-input-placeholder {
    color: #a21524;
}

#body .hmd .hmd-main .tiles.style3 .form input::-moz-placeholder {
    color: #a21524;
}

#body .hmd .hmd-main .tiles.style3 .form input:-ms-input-placeholder {
    color: #a21524;
}

#body .hmd .hmd-main .tiles.style3 .form input[type=submit] {
    border: 0;
}

#body .hmd .hmd-main .tiles.style3 .text {
    background: none;
    padding-top: 32.5%;
    bottom: 0;
}

#body .hmd .hmd-main .tiles.style3 .text .content {
    padding: 4% 5.9%;
    color: #000;
}

#body .hmd .hmd-main .tiles.style3 .text .content * {
    color: #000;
    line-height: 1.8em;
}

#body .hmd .hmd-main .tiles.style3 .text .content:after {
    display: none;
}

#body .hmd .hmd-main .slider {
    padding-bottom: 20px;
    background-color: #fff;
}

#body .hmd .hmd-main .slider .bgfade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 405px;
    background: url(img/bg-homeslider-fade.png) repeat-x bottom center;
    z-index: 1;
}

#body .hmd .hmd-main .slider .cycle-next,
#body .hmd .hmd-main .slider .cycle-prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    z-index: 2000;
    height: 80%;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s ease;
}

#body .hmd .hmd-main .slider .cycle-next:before,
#body .hmd .hmd-main .slider .cycle-prev:before {
    content: '';
    width: 47px;
    height: 47px;
    background: #a21524;
    border: 1px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
}

#body .hmd .hmd-main .slider .cycle-next:hover,
#body .hmd .hmd-main .slider .cycle-prev:hover {
    opacity: 1;
}

#body .hmd .hmd-main .slider .cycle-next {
    left: auto;
    right: 0;
}

#body .hmd .hmd-main .slider .cycle-next:before {
    background: #a21524 url(img/icon-arrow-next.png) no-repeat center center;
    background-size: 18px;
}

#body .hmd .hmd-main .slider .cycle-prev:before {
    background: #a21524 url(img/icon-arrow-prev.png) no-repeat center center;
    background-size: 18px;
}

#body .hmd .hmd-main .slider .cycle-pager {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 440px;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1000;
}

#body .hmd .hmd-main .slider .cycle-pager.on {
    opacity: 1;
}

#body .hmd .hmd-main .slider .cycle-pager:hover {
    opacity: 1;
}

#body .hmd .hmd-main .slider .cycle-pager span {
    width: 24px;
    height: 24px;
    border: 2px solid #a21524;
    background: #fff;
    display: inline-block;
    margin: 0 12px;
    text-indent: 200%;
}

#body .hmd .hmd-main .slider .cycle-pager span.cycle-pager-active,
#body .hmd .hmd-main .slider .cycle-pager span:hover {
    background: #a21524;
}

#body .hmd .hmd-main .slider .slide {
    background-position: center 0;
    background-repeat: no-repeat;
    padding: 485px 15px 0 15px;
    text-align: center;
    width: 100%;
}

#body .hmd .hmd-main .slider h1 {
    font-size: 40px;
    color: #a21524;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

#body .hmd .hmd-main .slider p {
    font-size: 22px;
    line-height: 1.5em;
    font-weight: 300;
    max-width: 1130px;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}

#body .hmd .hmd-main .slider p * {
    font-weight: 300;
}

#body .hmd .hmd-main .slider p a {
    text-decoration: underline;
}

#body .hmd .hmd-main .slider p a:hover,
#body .hmd .hmd-main .slider p a:focus {
    color: #a21524;
}

#body .hmd .hmd-main .latest {
    background: #a21524 url(img/d-bookopen.png) no-repeat center 0;
    padding: 38px 0;
}

#body .hmd .hmd-main .latest ul {
    width: 100%;
}

#body .hmd .hmd-main .latest li {
    width: 32.66%;
    height: 0;
    padding-top: 12.46%;
    background: #670205;
    position: relative;
    margin: 0;
    overflow: hidden;
}

#body .hmd .hmd-main .latest li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#body .hmd .hmd-main .latest li a:hover h2,
#body .hmd .hmd-main .latest li a:focus h2 {
    background: #fff;
    color: #a21524;
}

#body .hmd .hmd-main .latest li a:hover p,
#body .hmd .hmd-main .latest li a:focus p {
    text-decoration: none;
}

#body .hmd .hmd-main .latest li a:hover p span,
#body .hmd .hmd-main .latest li a:focus p span {
    text-decoration: underline;
}

#body .hmd .hmd-main .latest li .photo {
    position: absolute;
    width: 34.917%;
    padding-top: 38.18%;
    height: 0;
    overflow: hidden;
    border: 0;
}

#body .hmd .hmd-main .latest li .photo img {
    display: block;
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
}

#body .hmd .hmd-main .latest li .content {
    padding-left: 34.917%;
}

#body .hmd .hmd-main .latest li .text {
    padding: 1.8% 3.9%;
}

#body .hmd .hmd-main .latest li h2 {
    background: #d4152b;
    padding: 1.8% 3.9%;
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

#body .hmd .hmd-main .latest li p {
    font-size: 18px;
    color: #fff;
    padding: 0;
    margin: 0;
    font-weight: 300;
    line-height: 1.4em;
}

#body .hmd .hmd-main .latest li+li {
    margin-left: 1%;
}

#body .hmd .hmd-main .collections {
    /*background: #fff url(img/d-bookopen-red.png) no-repeat center 0;
    padding: 45px 0;*/
    text-align: center;
}

#body .hmd .hmd-main .collections.bottom-bdr {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #670305;
}

#body .hmd .hmd-main .collections h2 {
    font-size: 40px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #a21524;
    margin-bottom: 20px;
    font-weight: 400;
}

#body .hmd .hmd-main .collections .btn-search {
    color: #4f4f4f;
    font-size: 22px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-weight: 400;
    padding-right: 32px;
    display: inline-block;
    position: relative;
}

#body .hmd .hmd-main .collections .btn-search:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 21px;
    background: url(img/icon-search-collections.png) no-repeat 0 0;
    background-size: 42px;
    margin-top: -10px;
    right: 0;
    left: auto;
}

#body .hmd .hmd-main .collections .btn-search:hover {
    color: #a21524;
}

#body .hmd .hmd-main .collections .btn-search:hover:after {
    background-position: -21px 0;
}

#body .hmd .hmd-main .collections .btn-search.on:after {
    background: url(img/icon-minus-red.png) no-repeat 0 0;
}

#body .hmd .hmd-main .collections>ul {
    max-width: 1375px;
    position: relative;
    margin: 0 auto;
    margin-top: 34px;
}

#body .hmd .hmd-main .collections>ul li {
    background: #e7e7e7;
    width: 23.725%;
    height: 0;
    padding-top: 20.94%;
    margin-bottom: 1.7%;
    border-radius: 13px 0 0 0;
    text-align: left;
    box-sizing: border-box;
    position: relative;
}

#body .hmd .hmd-main .collections>ul li+li {
    margin-left: 1.7%;
}

#body .hmd .hmd-main .collections>ul li:nth-child(5n) {
    margin-left: 0;
}

#body .hmd .hmd-main .collections>ul a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#body .hmd .hmd-main .collections>ul h3 {
    font-size: 30px;
    color: #4f4f4f;
    font-weight: 300;
    padding: 10.36% 7.9% 0 7.9%;
    text-transform: uppercase;
}

#body .hmd .hmd-main .collections>ul .photo {
    position: absolute;
    bottom: 7.9%;
    left: 0;
    width: 100%;
    height: 0;
    padding-top: 31%;
    background: #cecece;
    overflow: hidden;
    border: 0;
}

#body .hmd .hmd-main .collections>ul .photo img {
    display: block;
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
}

#body .hmd .hmd-main .collections>ul .photo:after {
    content: '';
    position: absolute;
    background: #cecece url(img/icon-arrow-collections.png) no-repeat center center;
    width: 25.3%;
    height: 100%;
    background-size: 30%;
    top: 0;
    right: 0;
}

#body .hmd .hmd-main .collections>ul a:hover h3,
#body .hmd .hmd-main .collections>ul a:focus h3 {
    color: #a21524;
}

#body .hmd .hmd-main .collections>ul a:hover .photo:after,
#body .hmd .hmd-main .collections>ul a:focus .photo:after {
    background-color: #a21524;
}

/*
#body .hmd .hmd-main .search {
    display: none;
}
#body .hmd .hmd-main .search form {
    position: relative;
    margin: 14px auto 0 auto;
    padding: 0;
    max-width: 522px;
}
#body .hmd .hmd-main .search form h2 {
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-weight: 400;
    border-bottom: 1px solid #b4b4b4;
    margin-bottom: 28px;
}
#body .hmd .hmd-main .search form .ask.desktop {
    float: right;
    width: 12%;
    background: #e7e7e7;
    border-left: 5px solid #fff;
    box-sizing: border-box;
    text-align: center;
}
#body .hmd .hmd-main .search form .ask.desktop a {
    font-size: 18px;
    font-weight: 700;
    color: #a21524;
    padding-top: 72px;
    padding-bottom: 6px;
    display: block;
    position: relative;
}
#body .hmd .hmd-main .search form .ask.desktop a:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 18px;
    height: 33px;
    background: url(img/icon-q.png) no-repeat 0 0;
    background-size: 100%;
    margin-left: -9px;
}
#body .hmd .hmd-main .search form .ask.desktop a:after {
    content: '';
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #fff;
}
#body .hmd .hmd-main .search form .ask.desktop a:hover, #body .hmd .hmd-main .search form .ask.desktop a:focus {
    background: #a21524;
    color: #fff;
}
#body .hmd .hmd-main .search form .ask.desktop a:hover:before, #body .hmd .hmd-main .search form .ask.desktop a:focus:before {
    background-image: url(img/icon-q-white.png);
}
#body .hmd .hmd-main .search form .input {
    width: 88%;
    background: #e7e7e7;
    padding: 0 13px;
    margin-bottom: 5px;
    text-align: left;
}
#body .hmd .hmd-main .search form input[type=text] {
    height: 55px;
    width: 90%;
    border: 0;
    background: none;
    outline: 0;
    font-size: 21px;
    font-weight: 700;
    color: #000;
}
#body .hmd .hmd-main .search form input[type=submit] {
    background: #a21524 url(img/icon-search.png) no-repeat center;
    background-size: 32px;
    width: 57px;
    height: 57px;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0;
    outline: 0;
}
#body .hmd .hmd-main .search form input[type=submit]:hover, #body .hmd .hmd-main .search form input[type=submit]:focus {
    opacity: .6;
}
#body .hmd .hmd-main .search form .filter, #body .hmd .hmd-main .search form .ask.mobile {
    width: 100%;
}
#body .hmd .hmd-main .search form .filter ul li, #body .hmd .hmd-main .search form .ask.mobile ul li {
    text-align: center;
    box-sizing: border-box;
}
/*#body .hmd .hmd-main .search form .filter ul a, #body .hmd .hmd-main .search form .ask.mobile ul a {
    display: block;
    background: #e7e7e7;
    line-height: 38px;
    padding: 0 13px;
    font-size: 18px;
    font-weight: 700;
    color: #a21524;
}
#body .hmd .hmd-main .search form .filter ul a.on, #body .hmd .hmd-main .search form .filter ul a:hover, #body .hmd .hmd-main .search form .filter ul a:focus, #body .hmd .hmd-main .search form .ask.mobile ul a.on, #body .hmd .hmd-main .search form .ask.mobile ul a:hover, #body .hmd .hmd-main .search form .ask.mobile ul a:focus {
    background: #757575;
    color: #fff;
}*/
#body .hmd .hmd-main .search.generic {
    display: block;
    max-width: 33%;
}

#body .hmd .hmd-main .search.generic form {
    width: 100%;
    max-width: 100%;
}

#body .hmd .hmd-main .search.generic input[type=text] {
    background: #fff;
    width: 100%;
    padding-left: 1em;
    font-weight: 300;
    box-sizing: border-box;
}

#body .hmd .hmd-main .timeline {
    top: -48px;
}

#body .hmd .hmd-main .timeline>img {
    display: block;
    width: 100%;
}

#body .hmd .hmd-main .timeline:after {
    content: '';
    background: url(img/d-bookopen-black.png) no-repeat center 0;
    position: absolute;
    bottom: -25px;
    width: 100%;
    height: 25px;
}

#body .hmd .hmd-main .timeline .controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.1%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.8) url(img/bg-timeline-controls.png) repeat-x bottom center;
    text-align: center;
    padding-bottom: 150px;
}

#body .hmd .hmd-main .timeline .controls h2 {
    color: #fff;
    font-size: 40px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    margin-bottom: .3em;
    text-transform: uppercase;
}

#body .hmd .hmd-main .timeline .controls p {
    color: #fff;
    font-size: 22px;
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
    font-weight: 300;
}

#body .hmd .hmd-main .timeline .controls .jumpto {
    border-top: 1px solid #fff;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 30px;
    text-align: center;
}

#body .hmd .hmd-main .timeline .controls .jumpto a {
    display: inline-block;
    background: #000;
    width: 29px;
    height: 29px;
    border: 2px solid #fff;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    top: -15px;
    margin: 0 1.3%;
}

#body .hmd .hmd-main .timeline .controls .jumpto a:hover {
    background: #d4152b;
}

#body .hmd .hmd-main .timeline .controls .jumpto p {
    color: #e7e7e7;
    font-size: 18px;
}

#body .hmd .hmd-main .timeline .controls .jumpto form {
    display: none;
}

#body .hmd .hmd-main .timeperiods {
    background: url(img/bg-timeperiods.png) repeat-y center;
    margin-bottom: 60px;
}

#body .hmd .hmd-main .timeperiods+.content>h2 {
    text-align: center;
}

#body .hmd .hmd-main .timeperiods .space {
    height: 40px;
}

#body .hmd .hmd-main .timeperiods .period {
    padding-bottom: 80px;
}

#body .hmd .hmd-main .timeperiods .period:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    display: block;
    background: #fff;
    width: 29px;
    height: 29px;
    border: 2px solid #a21524;
    border-radius: 6px;
    box-sizing: border-box;
    margin-left: -15px;
}

#body .hmd .hmd-main .timeperiods .period>div {
    float: left;
    width: 50%;
}

#body .hmd .hmd-main .timeperiods .period .photo {
    border: 0;
}

#body .hmd .hmd-main .timeperiods .period .photo a {
    position: relative;
}

#body .hmd .hmd-main .timeperiods .period .photo a:before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    display: block;
    background: rgba(0, 0, 0, 0.6) url(img/icon-enlarge.png) no-repeat 0 0;
    background-size: 100%;
}

#body .hmd .hmd-main .timeperiods .period .photo a:hover:before {
    background-color: #e91e34;
}

#body .hmd .hmd-main .timeperiods .period .intro h3,
#body .hmd .hmd-main .timeperiods .period .intro p {
    max-width: 636px;
    float: right;
    clear: right;
    color: #a21524;
    text-align: right;
    padding-right: 38px;
    box-sizing: border-box;
    width: 90%;
}

#body .hmd .hmd-main .timeperiods .period .intro h3 {
    font-size: 40px;
    margin-bottom: .7em;
    margin-top: -8px;
}

#body .hmd .hmd-main .timeperiods .period .intro p {
    font-size: 24px;
    margin-bottom: 30px;
}

#body .hmd .hmd-main .timeperiods .period .intro .photo {
    background: #670205;
    padding-right: 38px;
    clear: both;
}

#body .hmd .hmd-main .timeperiods .period .intro .photo a {
    float: right;
}

#body .hmd .hmd-main .timeperiods .period .intro .photo img {
    display: block;
    max-width: 595px;
}

#body .hmd .hmd-main .timeperiods .period .intro p.caption {
    font-size: 16px;
    color: #000;
    text-align: left;
    line-height: 1.25em;
}

#body .hmd .hmd-main .timeperiods .period .indepth {
    padding-left: 38px;
    padding-top: 100px;
}

#body .hmd .hmd-main .timeperiods .period .indepth p {
    max-width: 595px;
    font-size: 18px;
    line-height: 1.8em;
    margin-bottom: 1.2em;
    width: 90%;
}

#body .hmd .hmd-main .timeperiods .period .indepth p.caption {
    font-size: 16px;
    line-height: 1.25em;
}

#body .hmd .hmd-main .timeperiods .period .indepth h4 {
    text-transform: uppercase;
    color: #a21524;
    font-weight: 700;
    margin-bottom: .7em;
}

#body .hmd .hmd-main .timeperiods .period .indepth .photo {
    background: #353535;
    margin-bottom: 14px;
}

#body .hmd .hmd-main .timeperiods .period .indepth .photo a {
    float: left;
}

#body .hmd .hmd-main .timeperiods .period .indepth .photo a:before {
    left: auto;
    right: 20px;
}

#body .hmd .hmd-main .timeperiods .period .indepth .photo img {
    display: block;
    max-width: 595px;
}

#body .hmd .hmd-main .timeperiods .period .right {
    float: right;
}

#body .hmd .hmd-main .timeperiods .period .intro.right h3,
#body .hmd .hmd-main .timeperiods .period .intro.right p {
    float: none;
    text-align: left;
    padding-right: 0;
    padding-left: 38px;
}

#body .hmd .hmd-main .timeperiods .period .intro.right .photo {
    padding-right: 0;
    padding-left: 38px;
}

#body .hmd .hmd-main .timeperiods .period .intro.right .photo img {
    float: none;
}

#body .hmd .hmd-main .timeperiods .period .intro.right .photo a:before {
    left: auto;
    right: 20px;
}

#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth {
    padding-left: 0;
    padding-right: 38px;
}

#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth p,
#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth h4 {
    float: right;
}

#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo {
    padding-left: 0;
}

#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo a {
    float: right;
}

#body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo a:before {
    left: 20px;
}

#body .hmd .hmd-main .toggle {
    margin-top: 2em;
}

#body .hmd .hmd-main .toggle>h2 {
    width: 100%;
    text-align: center;
    font-size: 40px !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #4f4f4f;
    margin: 0 !important;
}

#body .hmd .hmd-main .toggle a.openall {
    font-size: 14px;
    text-transform: uppercase;
    color: #4f4f4f;
    position: relative;
    padding-left: 28px;
    display: inline-block;
}

#body .hmd .hmd-main .toggle a.openall:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
    width: 21px;
    height: 21px;
    background: url(img/icon-toggle-openclose.png) no-repeat 0 0;
}

#body .hmd .hmd-main .toggle a.openall:hover,
#body .hmd .hmd-main .toggle a.openall:focus {
    color: #a21524;
}

#body .hmd .hmd-main .toggle a.openall:hover:before,
#body .hmd .hmd-main .toggle a.openall:focus:before {
    background-position: -21px 0;
}

#body .hmd .hmd-main .toggle a.openall.on:before {
    background-position: 0 -21px;
}

#body .hmd .hmd-main .toggle a.openall.on:hover:before,
#body .hmd .hmd-main .toggle a.openall.on:focus:before {
    background-position: -21px -21px;
}

#body .hmd .hmd-main .toggle ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#body .hmd .hmd-main .toggle ul.normal {
    list-style: disc;
    margin: 0 1rem 2rem 2%;
    padding: 0 0 0 40px;
}

#body .hmd .hmd-main .toggle ul.normal ul {
    list-style: disc;
    margin: 0 1rem 1rem 2%;
    padding: 0 0 0 40px;
}

#body .hmd .hmd-main .toggle .togglecontent {
    display: none;
}

#body .hmd .hmd-main .toggle .close,
#body .hmd .hmd-main .toggle .closeall {
    font-size: 14px;
    text-transform: uppercase;
    color: #4f4f4f;
    position: relative;
    padding-left: 28px;
    margin-right: 20px;
    display: inline-block;
}

#body .hmd .hmd-main .toggle .close:before,
#body .hmd .hmd-main .toggle .closeall:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
    width: 21px;
    height: 21px;
    background: url(img/icon-toggle-openclose.png) no-repeat 0 -21px;
}

#body .hmd .hmd-main .toggle .close:hover,
#body .hmd .hmd-main .toggle .close:focus,
#body .hmd .hmd-main .toggle .closeall:hover,
#body .hmd .hmd-main .toggle .closeall:focus {
    color: #a21524;
}

#body .hmd .hmd-main .toggle .close:hover:before,
#body .hmd .hmd-main .toggle .close:focus:before,
#body .hmd .hmd-main .toggle .closeall:hover:before,
#body .hmd .hmd-main .toggle .closeall:focus:before {
    background-position: -21px -21px;
}

#body .hmd .hmd-main .toggle.style1 ul,
#body .hmd .hmd-main .toggle.style2 ul,
#body .hmd .hmd-main .toggle.style3 ul {
    margin-top: .5em;
}

#body .hmd .hmd-main .toggle.style1 .title,
#body .hmd .hmd-main .toggle.style2 .title,
#body .hmd .hmd-main .toggle.style3 .title {
    font-size: 30px;
}

#body .hmd .hmd-main .toggle.style1 .title a,
#body .hmd .hmd-main .toggle.style2 .title a,
#body .hmd .hmd-main .toggle.style3 .title a {
    color: #4f4f4f;
    position: relative;
    padding-left: 40px;
    display: block;
    line-height: 1.4em;
}

#body .hmd .hmd-main .toggle.style1 .title a:before,
#body .hmd .hmd-main .toggle.style2 .title a:before,
#body .hmd .hmd-main .toggle.style3 .title a:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 24px;
    height: 24px;
    background: url(img/icon-plus-lg.png) no-repeat 0 0;
    background-size: 48px;
}

#body .hmd .hmd-main .toggle.style1 .title a:hover,
#body .hmd .hmd-main .toggle.style1 .title a:focus,
#body .hmd .hmd-main .toggle.style1 .title a.on,
#body .hmd .hmd-main .toggle.style2 .title a:hover,
#body .hmd .hmd-main .toggle.style2 .title a:focus,
#body .hmd .hmd-main .toggle.style2 .title a.on,
#body .hmd .hmd-main .toggle.style3 .title a:hover,
#body .hmd .hmd-main .toggle.style3 .title a:focus,
#body .hmd .hmd-main .toggle.style3 .title a.on {
    color: #a21524;
    text-decoration: none;
}

#body .hmd .hmd-main .toggle.style1 .title a.on:before,
#body .hmd .hmd-main .toggle.style2 .title a.on:before,
#body .hmd .hmd-main .toggle.style3 .title a.on:before {
    background-position: -24px 0;
}

#body .hmd .hmd-main .toggle.style1 .text ul,
#body .hmd .hmd-main .image-list .text ul,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style2 .text ul,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style3 .text ul,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul {
    list-style: disc;
}

#body .hmd .hmd-main .toggle.style1 .text ul,
#body .hmd .hmd-main .image-list .text ul,
#body .hmd .hmd-main .toggle.style1 .text ol,
#body .hmd .hmd-main .image-list .text ol,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ol,
#body .hmd .hmd-main .toggle.style2 .text ul,
#body .hmd .hmd-main .toggle.style2 .text ol,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ol,
#body .hmd .hmd-main .toggle.style3 .text ul,
#body .hmd .hmd-main .toggle.style3 .text ol,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ol {
    padding-left: 15px;
    margin: 10px 0 1em 10px;
}

#body .hmd .hmd-main .toggle.style1 .text ul li,
#body .hmd .hmd-main .image-list .text ul li,
#body .hmd .hmd-main .toggle.style1 .text ol li,
#body .hmd .hmd-main .image-list .text ol li,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul li,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ol li,
#body .hmd .hmd-main .toggle.style2 .text ul li,
#body .hmd .hmd-main .toggle.style2 .text ol li,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul li,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ol li,
#body .hmd .hmd-main .toggle.style3 .text ul li,
#body .hmd .hmd-main .toggle.style3 .text ol li,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul li,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ol li {
    margin-bottom: 0;
    color: #a21524;
    line-height: 1.8em;
    padding: 0;
}

#body .hmd .hmd-main .toggle.style1 .text ul li span,
#body .hmd .hmd-main .image-list .text ul li span,
#body .hmd .hmd-main .toggle.style1 .text ol li span,
#body .hmd .hmd-main .image-list .text ol li span,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul li span,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ol li span,
#body .hmd .hmd-main .toggle.style2 .text ul li span,
#body .hmd .hmd-main .toggle.style2 .text ol li span,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul li span,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ol li span,
#body .hmd .hmd-main .toggle.style3 .text ul li span,
#body .hmd .hmd-main .toggle.style3 .text ol li span,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul li span,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ol li span {
    color: #000;
}

#body .hmd .hmd-main .toggle.style1 .text ul li+li,
#body .hmd .hmd-main .image-list .text ul li+li,
#body .hmd .hmd-main .toggle.style1 .text ol li+li,
#body .hmd .hmd-main .image-list .text ol li+li,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul li+li,
#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ol li+li,
#body .hmd .hmd-main .toggle.style2 .text ul li+li,
#body .hmd .hmd-main .toggle.style2 .text ol li+li,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul li+li,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ol li+li,
#body .hmd .hmd-main .toggle.style3 .text ul li+li,
#body .hmd .hmd-main .toggle.style3 .text ol li+li,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul li+li,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ol li+li {
    margin-top: 0;
    border-top: 0;
}

#body .hmd .hmd-main .toggle.style1 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style2 .info+.togglecontent ul,
#body .hmd .hmd-main .toggle.style3 .info+.togglecontent ul {
    margin-left: 0;
}

#body .hmd .hmd-main .toggle.style1 .info,
#body .hmd .hmd-main .toggle.style2 .info,
#body .hmd .hmd-main .toggle.style3 .info {
    padding: 8px 0 40px 40px;
}

#body .hmd .hmd-main .toggle.style1 .info p,
#body .hmd .hmd-main .toggle.style2 .info p,
#body .hmd .hmd-main .toggle.style3 .info p {
    margin: 0;
    padding: 0;
    line-height: 1.8em;
}

#body .hmd .hmd-main .toggle.style1 .info .readmore,
#body .hmd .hmd-main .toggle.style2 .info .readmore,
#body .hmd .hmd-main .toggle.style3 .info .readmore,
#body .hmd .hmd-main .toggle .text .read_more,
#body .hmd .hmd-main .image-list .text .read_more {
    text-transform: uppercase;
    color: #a21524;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

#body .hmd .hmd-main .toggle.style1 .info .readmore:hover,
#body .hmd .hmd-main .toggle.style1 .info .readmore:focus,
#body .hmd .hmd-main .toggle.style2 .info .readmore:hover,
#body .hmd .hmd-main .toggle.style2 .info .readmore:focus,
#body .hmd .hmd-main .toggle.style3 .info .readmore:hover,
#body .hmd .hmd-main .toggle.style3 .info .readmore:focus,
#body .hmd .hmd-main .toggle .text .read_more:hover,
#body .hmd .hmd-main .image-list .text .read_more:hover,
#body .hmd .hmd-main .toggle .text .read_more:focus,
#body .hmd .hmd-main .image-list .text .read_more:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main .toggle.style1>ul>li,
#body .hmd .hmd-main .image-list>li,
#body .hmd .hmd-main .toggle.style2>ul>li,
#body .hmd .hmd-main .toggle.style3>ul>li {
    padding: 20px 0 30px;
}

#body .hmd .hmd-main .toggle.style1>ul>li+li,
#body .hmd .hmd-main .image-list>li+li,
#body .hmd .hmd-main .toggle.style2>ul>li+li,
#body .hmd .hmd-main .toggle.style3>ul>li+li {
    border-top: 1px solid #cecece;
}

#body .hmd .hmd-main .toggle.style1 .togglecontent,
#body .hmd .hmd-main .toggle.style2 .togglecontent,
#body .hmd .hmd-main .toggle.style3 .togglecontent {
    padding: 8px 0 0 40px;
}

#body .hmd .hmd-main .toggle.style1 nav,
#body .hmd .hmd-main .toggle.style2 nav,
#body .hmd .hmd-main .toggle.style3 nav {
    background: #e7e7e7;
    margin-bottom: 30px;
    position: relative;
    padding-left: 59px;
}

#body .hmd .hmd-main .toggle.style1 nav:before,
#body .hmd .hmd-main .toggle.style2 nav:before,
#body .hmd .hmd-main .toggle.style3 nav:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background: #848484 url(img/icon-search.png) no-repeat center center;
    background-size: 50%;
}

#body .hmd .hmd-main .toggle.style1 nav h2,
#body .hmd .hmd-main .toggle.style2 nav h2,
#body .hmd .hmd-main .toggle.style3 nav h2 {
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-weight: 400;
    margin: 0;
    margin-right: 16px;
    line-height: 42px;
}

#body .hmd .hmd-main .toggle.style1 nav a,
#body .hmd .hmd-main .toggle.style2 nav a,
#body .hmd .hmd-main .toggle.style3 nav a {
    font-size: 16px;
    text-decoration: underline;
    line-height: 1em;
    color: #000;
    display: inline-block;
}

#body .hmd .hmd-main .toggle.style1 nav a:hover,
#body .hmd .hmd-main .toggle.style1 nav a:focus,
#body .hmd .hmd-main .toggle.style2 nav a:hover,
#body .hmd .hmd-main .toggle.style2 nav a:focus,
#body .hmd .hmd-main .toggle.style3 nav a:hover,
#body .hmd .hmd-main .toggle.style3 nav a:focus {
    color: #a21524;
}

#body .hmd .hmd-main .toggle.style1 nav a+a,
#body .hmd .hmd-main .toggle.style2 nav a+a,
#body .hmd .hmd-main .toggle.style3 nav a+a {
    border-left: 1px solid;
    border-top: 0;
    margin-left: 16px;
    padding-left: 16px;
}

#body .hmd .hmd-main .toggle.style1 h2,
#body .hmd .hmd-main .toggle.style2 h2,
#body .hmd .hmd-main .toggle.style3 h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 16px;
    margin-top: 30px;
}

#body .hmd .hmd-main .toggle.style1 h2+ul,
#body .hmd .hmd-main .image-list,
#body .hmd .hmd-main .toggle.style2 h2+ul,
#body .hmd .hmd-main .toggle.style3 h2+ul {
    margin: 0;
}

#body .hmd .hmd-main .toggle.style1 h2+ul li,
#body .hmd .hmd-main .image-list li,
#body .hmd .hmd-main .toggle.style2 h2+ul li,
#body .hmd .hmd-main .toggle.style3 h2+ul li {
    margin: 0;
    position: relative;
    padding: 0;
}

#body .hmd .hmd-main .toggle.style1 h2+ul li+li,
#body .hmd .hmd-main .image-list li+li,
#body .hmd .hmd-main .toggle.style2 h2+ul li+li,
#body .hmd .hmd-main .toggle.style3 h2+ul li+li {
    border: 0;
    margin-top: 30px;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .photo,
#body .hmd .hmd-main .image-list .photo,
#body .hmd .hmd-main .toggle.style2 h2+ul .photo,
#body .hmd .hmd-main .toggle.style3 h2+ul .photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    margin: 0;
    border: 0;
    height: 102px;
    overflow: hidden;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .photo a,
#body .hmd .hmd-main .image-list .photo a,
#body .hmd .hmd-main .toggle.style2 h2+ul .photo a,
#body .hmd .hmd-main .toggle.style3 h2+ul .photo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .photo a:after,
#body .hmd .hmd-main .image-list .photo a:after,
#body .hmd .hmd-main .toggle.style2 h2+ul .photo a:after,
#body .hmd .hmd-main .toggle.style3 h2+ul .photo a:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 29%;
    height: 100%;
    display: block;
    background: #cecece url(img/icon-arrow-next.png) no-repeat center center;
    background-size: 30%;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .photo a:hover:after,
#body .hmd .hmd-main .image-list .photo a:hover:after,
#body .hmd .hmd-main .toggle.style2 h2+ul .photo a:hover:after,
#body .hmd .hmd-main .toggle.style3 h2+ul .photo a:hover:after {
    background-color: #a21524;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .photo img,
#body .hmd .hmd-main .image-list .photo img,
#body .hmd .hmd-main .toggle.style2 h2+ul .photo img,
#body .hmd .hmd-main .toggle.style3 h2+ul .photo img {
    width: 71%;
    border: 1px solid #cecece;
    border-right: 0;
}





@media (max-width: 600px) {

    #body .hmd .hmd-main .toggle.style1 h2+ul .photo img,
    #body .hmd .hmd-main .image-list .photo img,
    #body .hmd .hmd-main .toggle.style2 h2+ul .photo img,
    #body .hmd .hmd-main .toggle.style3 h2+ul .photo img {
        height: auto;
    }



#body .hmd .hmd-main .toggle.style1 h2+ul .photo img {
width: 100%;}

}

#body .hmd .hmd-main .toggle.style1 h2+ul .text,
#body .hmd .hmd-main .image-list .text,
#body .hmd .hmd-main .toggle.style2 h2+ul .text,
#body .hmd .hmd-main .toggle.style3 h2+ul .text {
    padding-left: 290px;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .text h3,
#body .hmd .hmd-main .image-list .text h3,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h3,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h3 {
    font-size: 24px;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .text h3 a,
#body .hmd .hmd-main .image-list .text h3 a,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h3 a,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h3 a {
    color: #a21524;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .text h3 a:hover,
#body .hmd .hmd-main .image-list .text h3 a:hover,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h3 a:focus,
#body .hmd .hmd-main .image-list .text h3 a:focus,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h3 a:hover,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h3 a:focus,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h3 a:hover,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h3 a:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent h4,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h4,
#body .hmd .hmd-main .image-list .text h4,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h4,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h4 {
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .readmorecontent:not(.on)+h4:before,
#body .hmd .hmd-main .image-list .readmorecontent:not(.on)+h4:before,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmorecontent:not(.on)+h4:before,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmorecontent:not(.on)+h4:before,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h4+h4:before,
#body .hmd .hmd-main .image-list .text h4+h4:before,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h4+h4:before,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h4+h4:before {
    content: ' | ';
    margin: 0 8px;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent h4 a,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h4 a,
#body .hmd .hmd-main .image-list .text h4 a,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h4 a,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h4 a {
    color: #a21524;
    font-weight: 700;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent h4 a:hover,
#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent h4 a:focus,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h4 a:hover,
#body .hmd .hmd-main .image-list .text h4 a:hover,
#body .hmd .hmd-main .toggle.style1 h2+ul .text h4 a:focus,
#body .hmd .hmd-main .image-list .text h4 a:focus,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h4 a:hover,
#body .hmd .hmd-main .toggle.style2 h2+ul .text h4 a:focus,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h4 a:hover,
#body .hmd .hmd-main .toggle.style3 h2+ul .text h4 a:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent p,
#body .hmd .hmd-main .toggle.style1 h2+ul .text p,
#body .hmd .hmd-main .image-list .text p,
#body .hmd .hmd-main .toggle.style2 h2+ul .text p,
#body .hmd .hmd-main .toggle.style3 h2+ul .text p {
    line-height: 1.4em;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .togglecontent p:last-of-type,
#body .hmd .hmd-main .toggle.style1 h2+ul .text p:last-of-type,
#body .hmd .hmd-main .image-list .text p:last-of-type,
#body .hmd .hmd-main .toggle.style2 h2+ul .text p:last-of-type,
#body .hmd .hmd-main .toggle.style3 h2+ul .text p:last-of-type {
    margin-bottom: .5em;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .readmore,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmore,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmore {
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .readmore:before,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmore:before,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmore:before {
    content: '...';
}

#body .hmd .hmd-main .toggle.style1 h2+ul .readmore:hover,
#body .hmd .hmd-main .toggle.style1 h2+ul .readmore:focus,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmore:hover,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmore:focus,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmore:hover,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmore:focus {
    text-decoration: underline;
}

#body .hmd .hmd-main .toggle.style1 h2+ul .readmorecontent,
#body .hmd .hmd-main .image-list .readmorecontent,
#body .hmd .hmd-main .toggle.style2 h2+ul .readmorecontent,
#body .hmd .hmd-main .toggle.style3 h2+ul .readmorecontent {
    display: none;
}

#body .hmd .hmd-main .toggle.style1 h2+ul,
#body .hmd .hmd-main .image-list {
    padding: 0;
    list-style: none;
    margin-bottom: 2em;
}

#body .hmd .hmd-main ul.image-list {
    margin-left: 0;
    border-bottom: 4px solid #a21524;
    padding-bottom: 2rem;
    position: relative;
}

#body .hmd .hmd-main ul.image-list:after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: calc(50% - 31px);
    width: 62px;
    height: 25px;
    background-image: url(img/d-bookopen-red.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}

#body .hmd .hmd-main .toggle.style1 .togglecontent ul,
#body .hmd .hmd-main .toggle.style1 .togglecontent ol {
    margin-bottom: 1em;
}

#body .hmd .hmd-main .toggle.style1 .togglecontent .close,
#body .hmd .hmd-main .toggle.style1 .togglecontent .closeall,
#body .hmd .hmd-main .toggle.style1 .togglecontent .openall,
#body .hmd .hmd-main .toggle.style3 .togglecontent .close,
#body .hmd .hmd-main .toggle.style3 .togglecontent .closeall,
#body .hmd .hmd-main .toggle.style3 .togglecontent .openall {
    /*margin-bottom: 2em;*/
    margin-top: 2em;
}

#body .hmd .hmd-main .toggle.style1 .togglecontent p:last-of-type+ul,
#body .hmd .hmd-main .toggle.style1 .togglecontent ul:last-of-type+ul,
#body .hmd .hmd-main .toggle.style1 .togglecontent ol:last-of-type+ul {
    margin-top: -1em;
}

/*
#body .hmd .hmd-main .toggle.style1 .togglecontent h3:first-of-type {
    margin-top: 1em;
}
*/

/*
#body .hmd .hmd-main .toggle.style1 .togglecontent > ul > li:last-of-type h4:last-child {
    margin-bottom: 1.5em;
}
*/

#body .hmd .hmd-main .toggle.style3>ul {
    margin: 0;
    list-style: disc;
}

@media (max-width: 1639px) {
    #body .hmd .hmd-main>header .collectionsheader .subcontent .section h2 {
        font-size: 1.34vw;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .text * {
        font-size: 1.1vw;
        color: #fff;
    }

    #body .hmd .hmd-main .latest li h2 {
        font-size: 1.34vw;
    }

    #body .hmd .hmd-main .latest li p {
        font-size: 1.2vw;
    }

    #body .hmd .hmd-main .collections ul h3 {
        font-size: 1.84vw;
    }

    #body .hmd .hmd-main .tiles h3 {
        font-size: 1.77vw;
    }

    #body .hmd .hmd-main .tiles .text .content {
        font-size: 1.2vw;
    }

    #body .hmd .hmd-main .tiles .text .content * {
        font-size: 1.2vw;
    }

    #body .hmd .hmd-main .tiles.style2.c h3 {
        font-size: 1.4vw;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content * {
        font-size: 1.2vw;
        line-height: 1.8em;
    }

    #body .hmd .hmd-main .tiles.style3 .form input[type=text] {
        font-size: 1.6vw;
    }

    #body .hmd .hmd-main .tiles.style2 .text .content * {
        font-size: 1.2vw;
    }
}

@media (max-width: 1450px) {
    #body .hmd .hmd-main>header .breadcrumbs ul {
        margin: 0 34px;
    }

    #body .hmd .hmd-main>header .subheader h2 {
        margin: 0 34px;
    }

    #body .hmd .hmd-main>header .subheader p {
        margin: 0 34px;
    }

    #body .hmd .hmd-main>header .overlay form {
        margin: 0 34px;
    }

    #body .hmd .hmd-main>.content {
        margin: 0 34px;
        margin-bottom: 50px;
    }

    #body .hmd .hmd-main .highlight>.content {
        margin: 0 34px;
    }

    #body .hmd .hmd-main .collections ul {
        margin: 0 34px;
        margin-top: 34px;
    }
}

@media (max-width: 1300px) {
    #body .hmd .hmd-main>header .subheader h2 {
        font-size: 32px;
    }

    #body .hmd .hmd-main>header .subheader p {
        font-size: 18px;
    }

    #body .hmd .hmd-main>header .subheader p a.filter {
        padding-right: 30px;
    }

    #body .hmd .hmd-main>header .subheader p a.filter:after {
        top: 2px;
        width: 22px;
        height: 22px;
        background-size: 44px;
    }

    #body .hmd .hmd-main>header .subheader p a.filter:hover:after {
        background-position: -22px 0;
    }
}

@media (max-width: 1250px) {
    #body .hmd .hmd-main .overlay form label {
        font-size: 16px;
    }
}

@media (max-width: 1140px) {
    #body .hmd .hmd-main .overlay form label {
        font-size: 14px;
    }
}

@media (max-width: 1131px) {
    #body .hmd .hmd-main .tiles.style2.c .text .content * {
        font-size: 1.2vw;
        line-height: 1.5em;
    }
}

@media (max-width: 1100px) {
    #body .hmd .hmd-main>header .collectionsheader .subcontent .section h2 {
        font-size: 14px;
        padding-left: 3%;
    }

    #body .hmd .hmd-main>header .overlay form {
        margin: 0 34px;
    }

    #body .hmd .hmd-main>header .overlay form ul {
        column-count: 3;
    }

    #body .hmd .hmd-main>header .overlay form label {
        font-size: 14px;
    }
}

@media (max-width: 1030px) {
    #body .hmd .hmd-main>header .overlay form ul {
        column-count: 2;
    }

    #body .hmd .hmd-main>header .overlay form label {
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    #body .hmd .hmd-main .latest li p {
        font-size: 1.3vw;
    }
}

@media (max-width: 960px) {
    #body .hmd .hmd-main>header .collectionsheader {
        padding-bottom: 48px;
    }

    #body .hmd .hmd-main>header .collectionsheader .photomain {
        float: none;
        width: 100%;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent {
        float: none;
        width: 100%;
        padding-top: 0;
        height: auto;
        border-top: 12px solid #e7e7e7;
        border-left: 0;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .container {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 400px;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section {
        width: 100%;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section h2 {
        font-size: 22px;
        padding-left: 3%;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo {
        float: left;
        width: 16.666%;
        height: auto;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .text {
        float: left;
        padding: 2.9% 3%;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .text * {
        font-size: 14px;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo+.text {
        width: 73%;
        margin-left: 0;
        padding: 2.9%;
    }

    #body .hmd .hmd-main .bioaddress h2 {
        font-size: 16px;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails {
        background: #fff;
        padding: 6%;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails h3,
    #body .hmd .hmd-main .bioaddress .contactdetails strong {
        font-size: 12px;
        text-transform: uppercase;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails address {
        font-size: 12px;
        margin-bottom: 8px;
    }

    #body .hmd .hmd-main .tiles {
        margin: 0;
    }

    #body .hmd .hmd-main .tiles li {
        width: 47.1%;
        padding-top: 29.56%;
        margin-bottom: 5.8%;
    }

    #body .hmd .hmd-main .tiles li+li {
        margin-left: 5.8%;
    }

    #body .hmd .hmd-main .tiles li:nth-child(2n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles li:not([style="display: none;"])+li:nth-child(2n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles h3 {
        font-size: 3vw;
    }

    #body .hmd .hmd-main .tiles .text .content {
        font-size: 1.8vw;
    }

    #body .hmd .hmd-main .tiles .text .content * {
        font-size: 1.8vw;
    }

    #body .hmd .hmd-main .tiles.style2 li {
        padding-top: 42.6%;
    }

    #body .hmd .hmd-main .tiles.style2 li:nth-child(odd) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style2 li:nth-child(even) {
        margin-left: 4.25%;
    }

    #body .hmd .hmd-main .tiles.style2 .text .content * {
        font-size: 14px;
    }

    #body .hmd .hmd-main .tiles.style2.b li {
        padding-top: 38%;
    }

    #body .hmd .hmd-main .tiles.style2.c {
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c li {
        width: 31.866%;
        padding-top: 27%;
        border-radius: 0;
        margin-bottom: 2.2%;
    }

    #body .hmd .hmd-main .tiles.style2.c li+li {
        margin-left: 2.2%;
    }

    #body .hmd .hmd-main .tiles.style2.c li:nth-child(4n) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c h3 {
        font-size: 2vw;
    }

    #body .hmd .hmd-main .tiles.style2.c .photo {
        top: 30.5%;
    }

    #body .hmd .hmd-main .tiles.style2.c .text {
        height: 31%;
        bottom: 6%;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content {
        padding: 3% 25% 0 7%;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content * {
        font-size: 1.6vw;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content:after {
        width: 23.33%;
    }

    #body .hmd .hmd-main .tiles.style3 {
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style3 li {
        padding-top: 44.25%;
        width: 47.4%;
    }

    #body .hmd .hmd-main .tiles.style3 li+li {
        margin-left: 5.2%;
    }

    #body .hmd .hmd-main .tiles.style3 li:nth-child(3n) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style3 h3 {
        font-size: 3vw;
    }

    #body .hmd .hmd-main .tiles.style3 .form input[type=text] {
        font-size: 2vw;
    }

    #body .hmd .hmd-main .tiles.style3 .form input[type=submit] {
        width: 7.5%;
    }
}

@media (max-width: 799px) {
    #body .hmd .hmd-main>header {
        padding-bottom: 30px;
    }

    #body .hmd .hmd-main>header h1 {
        font-size: 25px;
        margin-bottom: 10px;
        padding: 15px 140px;
    }

    #body .hmd .hmd-main>header nav {
        background: #e7e7e7 url(img/d-bookopen.png) no-repeat center 0;
        padding-left: 14px;
        background-size: 42px;
    }

    #body .hmd .hmd-main>header nav ul li {
        margin-right: 6px;
        padding-right: 6px;
    }

    #body .hmd .hmd-main>header nav ul a {
        font-size: 10px;
        padding: 0 4px;
    }

    #body .hmd .hmd-main>header nav.tabs {
        padding-top: 40px;
    }

    #body .hmd .hmd-main>header nav.tabs ul a {
        font-size: 1.75vw;
    }

    #body .hmd .hmd-main>header .gallery {
        padding-bottom: 6px;
    }

    #body .hmd .hmd-main>header .breadcrumbs ul a {
        font-size: 14px;
    }

    #body .hmd .hmd-main>header .breadcrumbs ul li+li:before {
        font-size: 14px;
    }

    #body .hmd .hmd-main>header .subheader h2 {
        font-size: 24px;
    }

    #body .hmd .hmd-main>header .subheader p {
        font-size: 14px;
    }

    #body .hmd .hmd-main>header .subheader p a.filter:after {
        top: 0;
    }

    #body .hmd .hmd-main>header .subheader:after {
        background-size: 30px;
    }

    #body .hmd .hmd-main>header .overlay form label {
        font-size: 14px;
    }

    #body .hmd .hmd-main .content h2 {
        font-size: 24px !important;
    }

    #body .hmd .hmd-main .content h2 a.showall {
        font-size: 18px;
        line-height: 26px;
        padding-left: 36px;
    }

    #body .hmd .hmd-main .content h2 a.showall:after {
        width: 24px;
        height: 24px;
        background-size: 48px;
    }

    #body .hmd .hmd-main .content h2 a.showall:hover:after,
    #body .hmd .hmd-main .content h2 a.showall:focus:after {
        background-position: -24px 0;
    }

    #body .hmd .hmd-main .content h3 {
        font-size: 17px;
    }

    #body .hmd .hmd-main .content h4 {
        font-size: 12px;
    }

    #body .hmd .hmd-main .content p,
    #body .hmd .hmd-main .content ul *,
    #body .hmd .hmd-main .content ol * {
        font-size: 12px;
    }

    #body .hmd .hmd-main ul.documents {
        list-style: none;
    }

    #body .hmd .hmd-main ul.documents li {
        font-size: 15px;
    }

    #body .hmd .hmd-main ul.documents a {
        position: relative;
        padding-left: 30px;
        font-size: 15px;
        font-weight: 300;
        min-height: 30px;
        padding-top: 2px;
    }

    #body .hmd .hmd-main ul.documents a.document:before {
        width: 18px;
        height: 21px;
        margin-top: 0;
        background-size: 100%;
    }

    #body .hmd .hmd-main ul.documents a.link:before {
        width: 23px;
        height: 16px;
        margin-top: 2px;
        background-size: 100%;
    }

    #body .hmd .hmd-main .photo .caption {
        padding: 8px;
    }

    #body .hmd .hmd-main .photo .caption h3,
    #body .hmd .hmd-main .photo .caption p,
    #body .hmd .hmd-main .photo .caption p.credit {
        font-size: 11px;
    }

    #body .hmd .hmd-main .search.generic {
        display: block;
        max-width: 100%;
    }

    #body .hmd .hmd-main .search.generic input[type=text] {
        height: 40px;
        font-size: 14px;
    }

    #body .hmd .hmd-main .search.generic input[type=submit] {
        width: 24px;
        height: 24px;
        margin-top: -12px;
    }

    #body .hmd .hmd-main .table .tabs a {
        font-size: 14px;
    }

    #body .hmd .hmd-main table th {
        font-size: 12px;
    }

    #body .hmd .hmd-main table td {
        font-size: 12px;
    }

    #body .hmd .hmd-main .latest {
        padding: 25px 0;
        background-size: 30px;
    }

    #body .hmd .hmd-main .latest ul li {
        float: none;
        width: 100%;
        margin-bottom: 6px;
        height: 126px;
        padding: 0;
    }

    #body .hmd .hmd-main .latest ul li .photo {
        width: 116px;
        height: 126px;
        padding: 0;
        border: 0;
        overflow: hidden;
    }

    #body .hmd .hmd-main .latest ul li .photo img {
        width: auto;
    }

    #body .hmd .hmd-main .latest ul li .content {
        padding-left: 116px;
    }

    #body .hmd .hmd-main .latest ul li .text {
        padding: 8px 16px;
    }

    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 14px !important;
        margin: 0;
        line-height: 22px;
        padding: 0 16px;
    }

    #body .hmd .hmd-main .latest ul li p {
        font-size: 12px;
    }

    #body .hmd .hmd-main .latest li+li {
        margin-left: 0;
    }

    #body .hmd .hmd-main .collections {
        background-size: 30px;
        padding: 30px 0 0 0;
    }

    #body .hmd .hmd-main .collections h2 {
        font-size: 25px;
        margin-bottom: 14px;
    }

    #body .hmd .hmd-main .collections .btn-search {
        font-size: 14px;
        padding-right: 24px;
    }

    #body .hmd .hmd-main .collections .btn-search:after {
        width: 16px;
        height: 16px;
        background-size: 32px;
        margin-top: -8px;
    }

    #body .hmd .hmd-main .collections .btn-search:hover:after {
        background-position: -16px 0;
    }

    #body .hmd .hmd-main .collections .btn-search.on:after {
        background-position: 0;
        background-size: 16px;
    }

    #body .hmd .hmd-main .collections>ul li {
        width: 31.73%;
        padding-top: 27.82%;
        margin-bottom: 2.4%;
    }

    #body .hmd .hmd-main .collections>ul li+li {
        margin-left: 2.4%;
    }

    #body .hmd .hmd-main .collections>ul li:nth-child(3n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .collections>ul li:nth-child(5n) {
        margin-left: 2.4%;
    }

    #body .hmd .hmd-main .collections>ul h3 {
        font-size: 3vw;
    }

    #body .hmd .hmd-main .slider {
        padding-bottom: 20px;
        background-color: #fff;
    }

    #body .hmd .hmd-main .slider .slide {
        padding: 300px 15px 0 15px;
        background-size: 130%;
    }

    #body .hmd .hmd-main .slider .cycle-pager {
        display: none;
    }

    #body .hmd .hmd-main .slider .cycle-next,
    #body .hmd .hmd-main .slider .cycle-prev {
        opacity: 1;
        height: 70%;
        width: 32px;
    }

    #body .hmd .hmd-main .slider .cycle-next:before,
    #body .hmd .hmd-main .slider .cycle-prev:before {
        top: 88px;
        left: auto;
        right: 0;
        margin-top: 0;
        margin-left: 0;
        width: 32px;
        height: 32px;
        border: 0;
        background: rgba(255, 255, 255, 0.5) url(img/icon-arrow-prev-red.png) no-repeat center;
        background-size: 12px 17px;
    }

    #body .hmd .hmd-main .slider .cycle-next:hover:before,
    #body .hmd .hmd-main .slider .cycle-prev:hover:before {
        outline: 1px solid #a21524;
    }

    #body .hmd .hmd-main .slider .cycle-next:before {
        left: 0;
        background: rgba(255, 255, 255, 0.5) url(img/icon-arrow-next-red.png) no-repeat center;
        background-size: 12px 17px;
    }

    #body .hmd .hmd-main .slider h1 {
        font-size: 25px;
        font-weight: 400;
    }

    #body .hmd .hmd-main .slider p {
        font-size: 14px;
        font-weight: 400;
    }

    #body .hmd .hmd-main .slider p * {
        font-weight: 400;
    }

    #body .hmd .hmd-main .timeline {
        top: -30px;
    }

    #body .hmd .hmd-main .timeline:after {
        background-size: 30px;
    }

    #body .hmd .hmd-main .timeline .controls {
        padding-bottom: 100px;
    }

    #body .hmd .hmd-main .timeline .controls h2 {
        font-size: 20px;
    }

    #body .hmd .hmd-main .timeline .controls p {
        font-size: 12px;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto {
        bottom: 30px;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto a {
        width: 19px;
        height: 19px;
        border: 1px solid #fff;
        border-radius: 3px;
        top: -9px;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto p {
        font-size: 11px;
    }

    #body .hmd .hmd-main .timeperiods {
        background: url(img/bg-timeperiods.png) repeat-y center;
        margin-bottom: 60px;
        background-size: 1px;
    }

    #body .hmd .hmd-main .timeperiods+.content>h2 {
        text-align: center;
    }

    #body .hmd .hmd-main .timeperiods .period {
        padding-bottom: 80px;
    }

    #body .hmd .hmd-main .timeperiods .period:before {
        width: 19px;
        height: 19px;
        border: 1px solid #a21524;
        border-radius: 3px;
        margin-left: -10px;
    }

    #body .hmd .hmd-main .timeperiods .period>div {
        float: left;
        width: 50%;
    }

    #body .hmd .hmd-main .timeperiods .period p.caption {
        font-size: 11px !important;
        font-weight: 400 !important;
    }

    #body .hmd .hmd-main .timeperiods .period .photo {
        border: 0;
    }

    #body .hmd .hmd-main .timeperiods .period .intro h3,
    #body .hmd .hmd-main .timeperiods .period .intro p {
        max-width: 320px;
        padding-right: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro h3 {
        font-size: 24px;
        margin-top: -2px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro p {
        font-size: 17px;
        margin-bottom: 1em;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo {
        padding-right: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo img {
        max-width: 300px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo a:before {
        bottom: 12px;
        left: 8px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth {
        padding-left: 20px;
        padding-top: 100px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth p {
        max-width: 300px;
        font-size: 12px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth .photo img {
        max-width: 300px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth .photo a:before {
        bottom: 12px;
        right: 8px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right h3,
    #body .hmd .hmd-main .timeperiods .period .intro.right p {
        padding-left: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right .photo {
        padding-left: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right .photo a:before {
        right: 15px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right+.indepth {
        padding-right: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo a:before {
        left: 8px;
    }

    #body .hmd .hmd-main .toggle a.openall {
        font-size: 12px;
    }

    #body .hmd .hmd-main .toggle .close,
    #body .hmd .hmd-main .toggle .closeall {
        font-size: 12px;
    }

    #body .hmd .hmd-main .toggle.style1 ul,
    #body .hmd .hmd-main .toggle.style2 ul,
    #body .hmd .hmd-main .toggle.style3 ul {
        margin-top: 10px;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .readmore,
    #body .hmd .hmd-main .toggle.style2 h2+ul .readmore,
    #body .hmd .hmd-main .toggle.style3 h2+ul .readmore {
        font-size: 11px;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .text h3 a,
    #body .hmd .hmd-main .image-list .text h3 a,
    #body .hmd .hmd-main .toggle.style2 h2+ul .text h3 a,
    #body .hmd .hmd-main .toggle.style3 h2+ul .text h3 a {
        font-size: 18px;
    }

    #body .hmd .hmd-main .toggle.style1 .togglecontent,
    #body .hmd .hmd-main .toggle.style2 .togglecontent,
    #body .hmd .hmd-main .toggle.style3 .togglecontent {
        padding-left: 20px;
    }

    #body .hmd .hmd-main .toggle.style1 .title a,
    #body .hmd .hmd-main .toggle.style2 .title a,
    #body .hmd .hmd-main .toggle.style3 .title a {
        font-size: 17px;
        padding-left: 20px;
    }

    #body .hmd .hmd-main .toggle.style1 .title a:before,
    #body .hmd .hmd-main .toggle.style2 .title a:before,
    #body .hmd .hmd-main .toggle.style3 .title a:before {
        width: 12px;
        height: 12px;
        background-size: 24px;
        margin-top: -6px;
    }

    #body .hmd .hmd-main .toggle.style1 .title a.on:before,
    #body .hmd .hmd-main .toggle.style2 .title a.on:before,
    #body .hmd .hmd-main .toggle.style3 .title a.on:before {
        background-position: -12px 0;
    }
}

@media (max-width: 600px) {

    /**
#body .hmd .hmd-main > header {
    border-top: 48px solid #690000;
}
    
    **/
    #body .hmd .hmd-main>header h1 {
        font-size: 17px;
        margin-bottom: 0;
        padding: 75px 0 30px 0 !important;
    }

    #body .hmd .hmd-main>header nav {
        padding-left: 10px;
        background-size: 30px;
        min-height: 20px;
    }

    #body .hmd .hmd-main>header nav ul li {
        margin-right: 6px;
        padding-right: 6px;
    }

    #body .hmd .hmd-main>header nav ul a {
        font-size: 10px;
        padding: 0 4px;
    }

    #body .hmd .hmd-main>header nav.tabs {
        padding: 0;
        padding-top: 20px;
    }

    #body .hmd .hmd-main>header nav.tabs ul li {
        width: auto;
        float: none;
        margin-right: 0;
        padding-right: 0;
    }

    #body .hmd .hmd-main>header nav.tabs ul li+li {
        margin-left: 0;
        margin-top: 6px;
        padding-left: 0;
    }

    #body .hmd .hmd-main>header nav.tabs ul a {
        border-radius: 0;
        position: relative;
        padding-left: 38px;
        font-size: 14px;
    }

    #body .hmd .hmd-main>header nav.tabs ul a:before {
        width: 30px;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.resources:before {
        background-image: url(img/ICONS-TABS-nlm-resources.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.beyond:before {
        background-image: url(img/ICONS-TABS-beyond-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.ask:before {
        background-image: url(img/ICONS-TABS-ask-librarian-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.classroom:before {
        background-image: url(img/ICONS-TABS-classroom-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.games:before {
        background-image: url(img/ICONS-TABS-games-01.svg);
        background-size: 90%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.videos:before {
        background-image: url(img/ICONS-TABS-videos-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.pdf:before {
        background-image: url(img/ICONS-TABS-pdfs-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.web:before {
        background-image: url(img/ICONS-TABS-beyond-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.images:before {
        background-image: url(img/ICONS-TABS-images-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header nav.tabs ul a.databases:before {
        background-image: url(img/ICONS-TABS-databases-01.svg);
        background-size: 80%;
    }

    #body .hmd .hmd-main>header .gallery {
        padding-bottom: 6px;
    }

    #body .hmd .hmd-main>header .breadcrumbs ul {
        margin: 0 10px;
    }

    #body .hmd .hmd-main>header .breadcrumbs ul a {
        font-size: 13px;
    }

    #body .hmd .hmd-main>header .subheader h2 {
        font-size: 17px;
        margin: 0 10px;
    }

    #body .hmd .hmd-main>header .subheader p {
        font-size: 14px;
        margin: 0 10px;
    }

    #body .hmd .hmd-main>header .subheader:after {
        background-size: 30px;
    }

    #body .hmd .hmd-main>header .overlay {
        margin-top: -30px;
    }

    #body .hmd .hmd-main>header .overlay form {
        margin: 0 15px;
        padding: 15px 0;
    }

    #body .hmd .hmd-main>header .overlay form ul {
        margin-bottom: 15px;
        column-count: 1;
    }

    #body .hmd .hmd-main>header .overlay form h3 {
        font-size: 17px;
        padding-left: 36px;
        line-height: 42px;
        background-size: 24px;
    }

    #body .hmd .hmd-main>header .overlay form p {
        font-size: 12px;
    }

    #body .hmd .hmd-main>header .overlay form label {
        font-size: 13px;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section h2 {
        font-size: 16px;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .text * {
        font-size: 12px;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo {
        width: 29%;
    }

    #body .hmd .hmd-main>header .collectionsheader .subcontent .section .photo+.text {
        width: 71%;
    }

    #body .hmd .hmd-main>.content {
        margin: 0 10px;
    }

    #body .hmd .hmd-main .slider .bgfade {
        height: 220px;
        background-size: cover;
    }

    #body .hmd .hmd-main .highlight>.content {
        margin: 0 10px;
    }

    #body .hmd .hmd-main .content h2 {
        font-size: 17px;
    }

    #body .hmd .hmd-main .content h2 a.showall {
        display: block;
        margin-left: 0;
        border-left: 0;
        font-size: 14px;
        padding-left: 36px;
        margin-top: 8px;
    }

    #body .hmd .hmd-main .content h2 a.showall:after {
        left: 0;
    }

    #body .hmd .hmd-main .content h3 {
        font-size: 13px;
    }

    #body .hmd .hmd-main .content h4 {
        font-size: 11px;
    }

    #body .hmd .hmd-main .content p,
    #body .hmd .hmd-main .content ul *,
    #body .hmd .hmd-main .content ol *,
    #body .hmd .hmd-main .toggle.style1 .info .readmore, 
    #body .hmd .hmd-main .toggle.style2 .info .readmore, 
    #body .hmd .hmd-main .toggle.style3 .info .readmore, 
    #body .hmd .hmd-main .toggle .text .read_more, 
    #body .hmd .hmd-main .image-list .text .read_more {
        font-size: 12px;
    }

    #body .hmd .hmd-main ul.documents a {
        font-size: 13px;
    }

    #body .hmd .hmd-main .table .tabs a {
        font-size: 13px;
    }

    #body .hmd .hmd-main .responsivewrap {
        overflow-x: auto;
    }

    #body .hmd .hmd-main table {
        min-width: 600px;
    }

    #body .hmd .hmd-main table th {
        font-size: 12px;
    }

    #body .hmd .hmd-main table td {
        font-size: 12px;
    }

    #body .hmd .hmd-main .collections h2 {
        font-size: 25px;
        margin-bottom: 14px;
    }

    #body .hmd .hmd-main .collections .btn-search {
        font-size: 14px;
        padding-right: 24px;
    }

    #body .hmd .hmd-main .collections .btn-search:after {
        width: 16px;
        height: 16px;
        background-size: 32px;
        margin-top: -8px;
    }

    #body .hmd .hmd-main .collections .btn-search:hover:after,
    #body .hmd .hmd-main .collections .btn-search:focus:after {
        background-position: -16px 0;
    }

    #body .hmd .hmd-main .collections>ul {
        margin: 15px;
    }

    #body .hmd .hmd-main .collections>ul li {
        width: 48.2%;
        padding-top: 42.6%;
        margin-bottom: 3.6%;
    }

    #body .hmd .hmd-main .collections>ul li+li {
        margin-left: 3.6%;
    }

    #body .hmd .hmd-main .collections>ul li:nth-child(3n+1),
    #body .hmd .hmd-main .collections>ul li:nth-child(5n) {
        margin-left: 3.6%;
    }

    #body .hmd .hmd-main .collections>ul li:nth-child(2n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .collections>ul h3 {
        font-size: 4vw;
    }

    #body .hmd .hmd-main .search {
        max-width: 560px;
        margin: 0 15px;
    }

    #body .hmd .hmd-main .search form .input {
        width: 100%;
        text-align: left;
    }

    #body .hmd .hmd-main .search form input[type=text] {
        height: 36px;
        font-size: 13px;
    }

    #body .hmd .hmd-main .search form input[type=submit] {
        width: 27px;
        height: 27px;
        right: 6px;
        margin-top: -13px;
    }

    #body .hmd .hmd-main .search form .filter,
    #body .hmd .hmd-main .search form .ask.mobile {
        width: 100%;
    }

    /*#body .hmd .hmd-main .search form .filter ul li:nth-child(1), #body .hmd .hmd-main .search form .filter ul li:nth-child(3), #body .hmd .hmd-main .search form .ask.mobile ul li:nth-child(1), #body .hmd .hmd-main .search form .ask.mobile ul li:nth-child(3) {
    width: 29%;
}
#body .hmd .hmd-main .search form .filter ul li:nth-child(2), #body .hmd .hmd-main .search form .ask.mobile ul li:nth-child(2) {
    width: 42%;
}
#body .hmd .hmd-main .search form .filter ul a, #body .hmd .hmd-main .search form .ask.mobile ul a {
    line-height: 36px;
    padding: 0 7px;
    font-size: 13px;
}
#body .hmd .hmd-main .search form .ask.mobile {
    padding-top: 10px;
}
#body .hmd .hmd-main .search form .ask.mobile ul li:nth-child(1), #body .hmd .hmd-main .search form .ask.mobile ul li:nth-child(2) {
    width: 50%;
}*/
    
    
    
    
    #body .hmd .hmd-main .search.generic {
        margin: 0;
    }

    #body .hmd .hmd-main .slider .slide {
        padding: 40% 15px 0 15px;
        background-size: 130%;
    }

    #body .hmd .hmd-main .slider h1 {
        font-size: 18px;
        margin-bottom: .3em;
    }

    #body .hmd .hmd-main .slider p {
        font-size: 11px;
    }

    #body .hmd .hmd-main .tiles {
        margin: 0 !important;
    }

    #body .hmd .hmd-main .tiles li {
        float: none;
        width: 100%;
        padding-top: 0;
        margin-bottom: 0;
        height: 145px;
    }

    #body .hmd .hmd-main .tiles li>a,
    #body .hmd .hmd-main .tiles li>div {
        position: relative;
    }

    #body .hmd .hmd-main .tiles li+li {
        margin-left: 0;
        margin-top: 15px;
    }

    #body .hmd .hmd-main .tiles li:nth-child(2n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles li,
    #body .hmd .hmd-main .tiles li:not([style="display: none;"])+li {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles h3 {
        font-size: 17px;
        padding: 18px 12px 0 12px;
    }

    #body .hmd .hmd-main .tiles .text {
        bottom: 12px;
        height: 70px;
        padding-top: 0;
    }

    #body .hmd .hmd-main .tiles .text .content {
        font-size: 14px;
        padding: 10px 12px;
    }

    #body .hmd .hmd-main .tiles .text .content * {
        font-size: 14px;
    }

    #body .hmd .hmd-main .tiles .text .content:after {
        width: 70px;
    }

    #body .hmd .hmd-main .tiles.style2 {
        margin: 0 auto !important;
        max-width: 420px;
    }

    #body .hmd .hmd-main .tiles.style2 li {
        margin-bottom: 0;
        padding-top: 0;
        height: auto;
        padding-bottom: 10px;
    }

    #body .hmd .hmd-main .tiles.style2 li>a,
    #body .hmd .hmd-main .tiles.style2 li>div {
        position: relative;
    }

    #body .hmd .hmd-main .tiles.style2 li:nth-child(even) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style2 li+li {
        margin-left: 0;
        margin-top: 15px;
    }

    #body .hmd .hmd-main .tiles.style2 li:nth-child(2n+1) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style2 h3 {
        padding: 4% 5.9% 2% 5.9%;
        font-size: 20px;
    }

    #body .hmd .hmd-main .tiles.style2 .photo {
        bottom: auto;
        position: relative;
        padding: 0;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style2 .text {
        height: auto;
        /* padding-top: 20.3%; */
        position: relative;
        padding: 0;
    }

    #body .hmd .hmd-main .tiles.style2 .text .content {
        font-size: 14px;
        padding: 3% 22% 3% 5.9%;
        position: relative;
    }

    #body .hmd .hmd-main .tiles.style2 .text .content * {
        font-size: 14px;
    }

    #body .hmd .hmd-main .tiles.style2 .text .content:after {
        width: 20%;
    }

    #body .hmd .hmd-main .tiles.style2.b li {
        padding-top: 0;
    }

    #body .hmd .hmd-main .tiles.style2.b li:nth-child(4n) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style2.b h3 {
        font-size: 24px;
    }

    #body .hmd .hmd-main .tiles.style2.b .text .content * {
        font-size: 14px;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c {
        margin: 0;
        margin-top: 3.6% !important;
    }

    #body .hmd .hmd-main .tiles.style2.c li {
        width: 100%;
        padding-top: 0;
        border-radius: 0;
        margin: 0 !important;
        margin-bottom: 3.6% !important;
        float: none;
    }

    #body .hmd .hmd-main .tiles.style2.c li+li,
    #body .hmd .hmd-main .tiles.style2.c li:nth-child(3n) {
        margin-left: 0 !important;
    }

    #body .hmd .hmd-main .tiles.style2.c h3 {
        font-size: 18px;
        padding: 4% 5.9% 4% 5.9%;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c .photo {
        top: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c .text {
        height: auto;
        bottom: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content {
        padding: 4% 25% 4% 5.9%;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content * {
        font-size: 14px;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style2.c .text .content:after {
        width: 20%;
        background-size: 20%;
    }

    #body .hmd .hmd-main .tiles.style3 {
        margin: 0 auto !important;
        max-width: 420px;
    }

    #body .hmd .hmd-main .tiles.style3 li {
        padding-top: 0%;
        width: 100%;
        height: auto;
    }

    #body .hmd .hmd-main .tiles.style3 li>div {
        position: relative;
    }

    #body .hmd .hmd-main .tiles.style3 li+li {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style3 li:nth-child(3n) {
        margin-left: 0;
    }

    #body .hmd .hmd-main .tiles.style3 h3 {
        font-size: 24px;
        padding: 4% 5.9% 4% 5.9%;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style3 .photo {
        position: relative;
        top: 0;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style3 .form {
        top: 0;
        position: relative;
        height: 4em;
    }

    #body .hmd .hmd-main .tiles.style3 .form input[type=text] {
        font-size: 14px;
    }

    #body .hmd .hmd-main .tiles.style3 .form input[type=submit] {
        width: 7.5%;
        background-size: 90%;
    }

    #body .hmd .hmd-main .tiles.style3 .text {
        position: relative;
        height: auto;
        padding: 0;
        margin: 0;
    }

    #body .hmd .hmd-main .tiles.style3 .text .content {
        position: relative;
    }

    #body .hmd .hmd-main .tiles.style3 .text .content * {
        font-size: 14px;
        margin: 0;
    }

    #body .hmd .hmd-main .timeline .controls {
        padding-bottom: 20px;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto {
        border: 0;
        position: relative;
        bottom: 0;
        margin-top: 10px;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto a,
    #body .hmd .hmd-main .timeline .controls .jumpto p {
        display: none;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto form {
        display: block;
    }

    #body .hmd .hmd-main .timeline .controls .jumpto form select {
        background: #fff;
        font-size: 11px;
        padding: 2px;
        margin-top: 4px;
    }

    #body .hmd .hmd-main .timeperiods {
        background: none;
        margin-bottom: 0;
    }

    #body .hmd .hmd-main .timeperiods .period {
        padding-bottom: 22px;
        margin-bottom: 22px;
        border-bottom: 1px solid #a21524;
    }

    #body .hmd .hmd-main .timeperiods .period:before {
        display: none;
    }

    #body .hmd .hmd-main .timeperiods .period>div {
        float: none;
        width: 100%;
    }

    #body .hmd .hmd-main .timeperiods .period .intro h3,
    #body .hmd .hmd-main .timeperiods .period .intro p {
        float: none;
        text-align: left;
        max-width: 1000px;
        padding: 0 15px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro h3 {
        font-size: 20px;
        margin-top: 0;
    }

    #body .hmd .hmd-main .timeperiods .period .intro p {
        font-size: 13px;
        font-weight: 700;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo {
        padding-right: 0;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo img {
        max-width: 68%;
    }

    #body .hmd .hmd-main .timeperiods .period .intro .photo a:before {
        bottom: 15px;
        right: 15px;
        left: auto;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth {
        padding: 15px 0 0 0;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth p {
        max-width: 1000px;
        font-size: 12px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth p,
    #body .hmd .hmd-main .timeperiods .period .indepth h4 {
        padding: 0 15px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth h4 {
        font-size: 12px;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth .photo img {
        max-width: 68%;
    }

    #body .hmd .hmd-main .timeperiods .period .indepth .photo a:before {
        bottom: 15px;
        left: auto;
        right: 15px;
    }

    #body .hmd .hmd-main .timeperiods .period .right {
        float: none;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right h3,
    #body .hmd .hmd-main .timeperiods .period .intro.right p {
        padding-left: 20px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right .photo {
        padding-right: 20px;
        padding-left: 0;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right .photo img {
        float: right;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right .photo a:before {
        left: 15px;
        bottom: 15px;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right+.indepth {
        padding-right: 0;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo img {
        float: none;
    }

    #body .hmd .hmd-main .timeperiods .period .intro.right+.indepth .photo a:before {
        right: 15px;
        left: auto;
    }

    #body .hmd .hmd-main .toggle .title a {
        font-size: 16px;
    }

    #body .hmd .hmd-main .toggle.style1 nav {
        padding: 6px 0 6px 54px;
        margin-bottom: 15px;
    }

    #body .hmd .hmd-main .toggle.style1 nav h2 {
        display: block;
        font-size: 12px;
        line-height: 1em;
    }

    #body .hmd .hmd-main .toggle.style1 nav a {
        font-size: 12px;
    }

    #body .hmd .hmd-main .toggle.style1 h2 {
        font-size: 16px;
        margin-top: 15px;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .text,
    #body .hmd .hmd-main .image-list .text {
        padding-left: 0;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .text h3,
    #body .hmd .hmd-main .image-list .text h3 {
        padding-left: 45%;
        min-height: 50px;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .text h3 a,
    #body .hmd .hmd-main .image-list .text h3 a {
        font-size: 14px;
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .text p {
        /*margin-top: 30px;*/
    }

    #body .hmd .hmd-main .toggle.style1 h2+ul .photo,
    #body .hmd .hmd-main .image-list .photo {
        width: 40%;
        height: 0 !important;
        padding-top: 15%;
        overflow: hidden;
    }

    #body .hmd .hmd-main .latest li p {
        font-size: 1.3vw;
    }
}



@media (max-width:600px) and (min-width:480px) {
 #body .hmd .hmd-main .togglecontent .text p {
  padding-top: 34px !important;

	}}

@media (max-width:479px) and (min-width:380px) {
 #body .hmd .hmd-main .togglecontent .text p {
  padding-top: 15px !important;

	}}

@media (max-width: 460px) {
    #body .hmd .hmd-main>header nav ul li {
        margin-right: 0;
        padding-right: 0;
        border: 0;
    }

    #body .hmd .hmd-main>header .subheader p a.filter:after {
        display: none;
    }

    #body .hmd .hmd-main .photo {
        margin: 0 0 2% 0;
    }

    #body .hmd .hmd-main .photo.left,
    #body .hmd .hmd-main .photo.right {
        float: none;
        margin: 0 0 2% 0;
    }

    #body .hmd .hmd-main .photo.width50 {
        width: 100%;
    }

    #body .hmd .hmd-main .photo.width25 {
        width: 100%;
    }

    #body .hmd .hmd-main .right {
        float: none;
    }

    #body .hmd .hmd-main .width33,
    #body .hmd .hmd-main .width66 {
        width: auto;
        margin-bottom: 1em;
    }

    #body .hmd .hmd-main .bioaddress {
        padding: 5% 0;
    }

    #body .hmd .hmd-main .bioaddress h2 {
        font-size: 18px;
        margin: 0 4% 4% 4%;
    }

    #body .hmd .hmd-main .bioaddress .photo {
        margin: 0;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails {
        background: #fff;
        padding: 4%;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails h4 {
        font-size: 12px;
    }

    #body .hmd .hmd-main .bioaddress .contactdetails address {
        font-size: 12px;
    }

    #body .hmd .hmd-main .table .tabs li {
        float: none;
    }

    #body .hmd .hmd-main .table .tabs li+li {
        margin-top: 6px;
        margin-left: 0;
    }

    #body .hmd .hmd-main .table .tabs a {
        font-size: 13px;
    }

    #body .hmd .hmd-main .responsivewrap {
        overflow-x: auto;
    }

    #body .hmd .hmd-main table {
        min-width: 600px;
    }
}

/**EDITS**/
/**About Page - Allow for bold and linked text in about indepth text**/
#body .hmd .hmd-main .timeperiods .period .indepth a {
    text-decoration: underline;
    color: #a21524;
}

#body .hmd .hmd-main .timeperiods .period .indepth a:hover {
    color: #e91e34;
}

#body .hmd .hmd-main .timeperiods .period .indepth p strong {
    font-weight: 700 !important;
}

/**About Page - Allow for bold and linked text in about indepth text**/
#body .hmd .hmd-main .timeperiods .period .intro a {
    text-decoration: underline;
    color: #a21524;
}

#body .hmd .hmd-main .timeperiods .period .intro a:hover {
    color: #e91e34;
}

#body .hmd .hmd-main .timeperiods .period .intro p strong {
    font-weight: 700;
}

/**Home page - Change Thickness of underline on slider**/
#body .hmd .hmd-main .slider p a {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid;
    margin-bottom: -1px;
    line-height: 1em;
}

/**Home page - change color fo h3**/
#body .hmd .hmd-main .collections>ul h3 {
    color: #444444;
}

/**Generic Page - hover color for text links**/
#body .hmd .hmd-main .content p a:hover {
    color: #e91e34;
}

/**Contact Us Page - hover color for hmd email link**/
#body .hmd .hmd-main .bioaddress .contactdetails address a:hover {
    color: #e91e34;
}

/**Contact Us Page - text size in tables**/
table tr {
    font-size: 1em;
}

/**Contact Us Page - correct line height**/
#body .hmd .hmd-main .bioaddress h2 {
    line-height: 1.25em;
    margin: 0 6% 5.6% 6%;
}

#body .hmd .hmd-main .bioaddress .contactdetails address {
    line-height: 1.75em;
}

/**Contact Us Page - change spacing**/
#body .hmd .hmd-main .bioaddress .contactdetails {
    padding: 4% 6% 4% 6%;
}

#body .hmd .hmd-main .bioaddress {
    padding: 5.6% 0 6% 0;
}

/**Contact Us - Style for table header link**/
#body .hmd .hmd-main table th a {
    color: #fff;
    text-decoration: underline;
}

#body .hmd .hmd-main table th a:hover {
    color: #fff;
    text-decoration: underline;
}

/**Research Tools - change font color**/
#body .hmd .hmd-main .tiles h3 {
    color: #444444;
}

/**Universal - Change Color of Title when a link**/
#body .hmd .hmd-main>header h1 a:hover {
    color: #a21524;
}

/**Universal - Remove background image on red bar**/
#body .hmd .hmd-main>header .subheader:after {
    background: none;
}

/**Universal - Weight of title should all be the same**/
#body .hmd .hmd-main>header h1 em {
    font-weight: 300;
}

/**Universal - Needed a the page tiles to be red when the user is on that page and it's not a link - not sure if this is the best way to achieve it**/
#body .hmd .hmd-main>header h1 .red {
    color: #a21524;
    font-weight: 300;
}

/**Research Tools - fix font size of tabs
#body .hmd .hmd-main > header nav.tabs ul a {
    font-size: 22px;
}
#body .hmd .hmd-main .tiles h3 {
    font-size: 30px;
}
#body .hmd .hmd-main .tiles.style3 .form input[type=text] {
    font-size: 21px;
}
#body .hmd .hmd-main .tiles .text .content * {
    font-size: 18px;
}**/
/**Change text size for mobile**/
@media (max-width: 799px) {
    #body .hmd .hmd-main .latest ul li p {
        font-size: 14px;
    }
}

.pen {
    background: url(/hmd/styles/img/d-bookopen.png) no-repeat center 0;
}

#footermenu {
    width: 100%;
}

#footermenu nav a {
    text-transform: uppercase;
    color: #d8d8d8;
    font-size: 13px;
    /* wcc */
    font-weight: 400;
}

#footermenu nav a:hover {
    color: #f2091d;
}

#footermenu .hmd-socialmedia h2 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

#footermenu .hmd-socialmedia a {
    font-size: 14px;
    line-height: 24px;
    display: block;
}

.hmd-socialmedia img {
    height: 24px;
}

.skipnavigation,
.skipnavigation a,
a.skipnavigation:link,
a.skipnavigation:visited,
a.skipnavigation:hover,
a.skipnavigation:active {
    left: 0px;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.close {
    float: inherit;
    opacity: inherit;
}

.hmd {
    max-width: 1640px;
    margin: auto;
}

.bg-dark {
    background-color: black !important;
}

.container {
    max-width: 1375px;
}

blockquote {
    padding: 15px 25px;
    font-size: 0.85em;
}

/**
.container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}
*/

/*media all*/
/*.container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-height: 1;
    -ms-flex-grow: 1;
}
*/
.hmd-main .logo {
    background: #a21524;
    padding: 18px 24px;
    border-radius: 0 0 18px 0;
}

.logo {
    z-index: 999 !important;
    position: absolute !important;
    left: 0;
}

.hmd-main .logo a {
    background: url(../images/logo-hmd.svg) no-repeat 0 0;
    width: 128px;
    height: 46px;
    background-size: 100%;
    display: block;
}

.container {
    padding-right: 0px;
    padding-left: 0px;
}

_:-ms-fullscreen,
:root .branding {
    height: 90px;
}

.insertheader .dropdown-item,
.navbar-light .navbar-nav .nav-link,
.insertheader p,
.insertfooter p,
.insertfooter h6,
.insertheader .form-control {
    font-family: 'Roboto', sans-serif;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 0.9em !important;
}

_:-ms-fullscreen,
:root .form-control {
    font-size: 1.2rem
}

@media (max-width:1680px) {
    #body .hmd>nav.btns {
        position: fixed;
        top: 140px;
        width: 97%;
        left: 0px;
        pointer-events: none;
        z-index: 10000;
        transition: top 0.5s ease 0s;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 18px !important
    }

    #body .hmd .hmd-main .timeperiods .period .intro h3 {
        font-size: 40px !important;
    }
}

@media (max-width:991px) {

    _:-ms-fullscreen,
    :root .branding {
        height: 75px;
    }

    #body .hmd>nav.btns {
        position: fixed;
        top: 180px;
        width: 91%;
        left: 0px;
        pointer-events: none;
        z-index: 10000;
        transition: top 0.5s ease 0s;
    }

    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 14px !important
    }

    _:-ms-fullscreen,
    :root #body .hmd>nav.btns {
        top: 138px;
    }
}

@media (max-width:767px) {

    #body .hmd .hmd-main .timeperiods .period .intro h3 {
        font-size: 24px !important;
    }
}

@media (min-width: 576px) and (max-width: 600px) {
    #body .hmd>nav.btns {
        top: 151px !important;
    }

    #body .hmd>nav.btns.top {
        top: -5px !important;
    }
}

@media (max-width: 600px) {
    #body .hmd>nav.btns {
        top: 151px !important;
    }

    #body .hmd>nav.btns.top {
        top: -18px !important;
    }
}

.close {
    text-shadow: none;
}


#body .hmd .hmd-main .latest ul {
    width: 100%;
    display: flex;
}

#body .hmd .hmd-main .latest ul li {
    width: calc(25% - 24px);
    height: 0;
    padding-top: 12.46%;
    background: #670205;
    position: relative;
    margin: 0;
    overflow: hidden;
    margin-right: 24px;
}

#body .hmd .hmd-main .latest ul li .text {
    padding: 1.8% 3.9%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

#body .hmd .hmd-main .latest ul li .photo {
    position: absolute;
    width: 100%;
    padding-top: 44.5%;
    height: 0;
    overflow: hidden;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

#body .hmd .hmd-main .latest ul li .photo img {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

#body .hmd .hmd-main .latest ul li h2 {
    background: #d4152b;
    padding: 0 16px;
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 36px;
}

#body .hmd .hmd-main .latest ul li p {
    font-size: 18px;
    color: #fff;
    padding: 0;
    margin: 0;
    font-weight: 300;
    line-height: 1.4em;
}

#body .hmd .hmd-main .latest ul li a:hover p,
#body .hmd .hmd-main .latest ul li a:focus p {
    text-decoration: none;
}

#body .hmd .hmd-main .latest ul li a:hover p span,
#body .hmd .hmd-main .latest ul li a:focus p span {
    text-decoration: underline;
}

#body .hmd .hmd-main .latest ul li a:hover .photo,
#body .hmd .hmd-main .latest ul li a:focus .photo {
    opacity: 0;
}

#body .hmd .hmd-main .latest ul li a:hover .text,
#body .hmd .hmd-main .latest ul li a:focus .text {
    opacity: 1;
}

#body .hmd .hmd-main .latest ul li a:hover header h2,
#body .hmd .hmd-main .latest ul li a:focus header h2 {
    background: #fff;
    color: #d4152b;
}

#body .hmd .hmd-main .latest ul li>a,
#body .hmd .hmd-main .latest ul li>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) {
    width: calc(50% - 24px);
    padding-top: 12.46%;
    margin-right: 0;
    margin-left: 24px;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) header {
    width: 100%;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) header h2 {
    padding-left: 40px;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) figure {
    width: 46%;
    margin: 0;
    background-size: cover;
    height: calc(100% - 36px);
    background-repeat: no-repeat;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) figure img {
    height: 100%;
    margin: 0 !important;
    background-size: cover;
    background-repeat: no-repeat;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) .text {
    width: 54%;
    opacity: 1;
    padding: 8px 16px;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) .text a {
    width: 100%;
    color: #fff;
    display: block;
    font-weight: 300;
    margin-top: 90px;
    margin-left: 16px;
}

#body .hmd .hmd-main .latest ul li:nth-child(3) p.date {
    font-weight: bold;
}

#body .hmd .hmd-main .latest ul li:nth-child(3)>a {
    display: flex;
    flex-wrap: wrap;
}

#body .hmd .hmd-main .latest ul li:nth-child(3)>a:hover span {
    text-decoration: none;
}

#body .hmd .hmd-main .latest ul li:nth-child(3)>a:hover a {
    border-bottom: 1px solid;
    display: inline-block;
    width: auto;
}

@media (max-width: 1639px) {
    #body .hmd .hmd-main .latest ul h2 {
        font-size: 1.34vw;
    }

    #body .hmd .hmd-main .latest ul li p,
    #body .hmd .hmd-main .latest ul li a {
        font-size: 1.2vw;
    }
}

@media (max-width: 1000px) {
    #body .hmd .hmd-main .latest ul li p {
        font-size: 1.3vw;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 14px;
    }
}

@media (max-width: 799px) {
    #body .hmd .hmd-main .latest {
        padding: 25px 0;
        background-size: 30px;
    }

    #body .hmd .hmd-main .latest ul {
        flex-direction: column;
    }

    #body .hmd .hmd-main .latest ul li {
        float: none;
        width: 100%;
        margin-bottom: 0;
        height: auto;
        padding: 0;
    }

    #body .hmd .hmd-main .latest ul li a {
        font-size: 14px;
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }

    #body .hmd .hmd-main .latest ul li p {
        font-size: 14px;
    }

    #body .hmd .hmd-main .latest ul li .text {
        opacity: 1;
        padding: 8px 16px;
        width: calc(100% - 116px);
    }

    #body .hmd .hmd-main .latest ul li .photo {
        width: 116px;
        height: 126px;
        padding: 0;
        border: 0;
        overflow: hidden;
        top: 0;
        position: relative;
    }

    #body .hmd .hmd-main .latest ul li .photo img {
        width: auto;
    }

    #body .hmd .hmd-main .latest ul li header {
        padding-left: 0;
        width: 100%;
        text-align: center;
    }

    #body .hmd .hmd-main .latest ul li h2 {
        font-size: 14px !important;
        margin: 0;
        line-height: 22px;
        padding: 0 16px;
    }

    #body .hmd .hmd-main .latest ul li+li {
        margin-left: 0;
    }

    #body .hmd .hmd-main .latest ul li>a:hover .photo {
        opacity: 1;
    }

    #body .hmd .hmd-main .latest ul li:nth-child(3) {
        float: none;
        width: 100%;
        margin-bottom: 6px;
        height: auto;
        padding: 0;
        margin-left: 0;
    }

    #body .hmd .hmd-main .latest ul li:nth-child(3) header h2 {
        padding: 0;
    }

    #body .hmd .hmd-main .latest ul li:nth-child(3) figure {
        width: 100%;
        height: 0;
        padding: 44% 0 0 0;
        border: 0;
        overflow: hidden;
        position: relative;
        top: 0;
        left: 0;
        background-position: center;
    }

    #body .hmd .hmd-main .latest ul li:nth-child(3) .text {
        width: 100%;
        padding: 8px 16px;
        height: 100%;
    }
}

.no-overflow {
    overflow: hidden;
}
.table > :not(:first-child) {
  border-top: none;
}

