@font-face {
    font-family: titleFont;
    src: url('/National_Library/oe_/https://maps.metmuseum.org/fonts/TheMetSans-Semibold.otf');
}

@font-face {
    font-family: searchFont;
    src: url('/National_Library/oe_/https://maps.metmuseum.org/fonts/TheMetSans-Regular.otf');
}

@font-face {
    font-family: departmentFont;
    src: url('/National_Library/oe_/https://maps.metmuseum.org/fonts/TheMetSans-Medium.otf');
}

body,
html {
  position: fixed;
  height: 100%;
  width: 100%;
}

#menu {
    font-family: titleFont;
    background-color: #fff;
    color: #E4002A;
    position: absolute;
    z-index: 4;
    top: 42px;
    height: calc(100% - 42px);
    width: 324px;
    overflow: hidden;
    margin-left: -324px;
    -webkit-transition: margin-left 500ms ease;
    -moz-transition: margin-left 500ms ease;
    -o-transition: margin-left 500ms ease;
    transition: margin-left 500ms ease;
    font-size: 20px;
    left: 0px;
}

#menu.active {
    margin-left: 0px;
    box-shadow: 3px 0px 0px rgba(0, 0, 0, 0.2);
}

#menu.active.shrink {
    margin-left: 16.35em;
}

#menu ul {
    background-color: #FFFFFF;
    color: #E4002A;
    padding: 0;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0px 0px 0px 0px;
    -webkit-flex: 1;
    flex: 1;
}

#close_menu {
  display: none;
    right: 0;
    position: absolute;
    top: 0;
    cursor: pointer;
}

#close_menu:hover {
    fill-opacity: 0.8;
}

#close_menu:active {
    fill-opacity: 0.6;
}

.languages-list {
    padding-left: 0px;
}

.languages-list > li {
    font-family: searchFont;
    font-size: 20px;
    padding: 0px;
}

.languages-list > li:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

.languages-list > li:active {
    background-color: rgba(0, 0, 0, 0.15);
}

menu ul {
    cursor: pointer;
}

.menu-areas.mobile-show {
    display: none;
}

ul.menu-always-visible.languages-list > li:nth-child(1) {
    padding-top: 0px;
    padding-bottom: 0px;
}

.menu-always-visible:nth-child(9) > li {
    padding: 14px 0px 16px 15px;
    font-family: searchFont;
}

.menu-always-visible:nth-child(even) > li {
    padding-left: 15px;
    padding-top: 14px;
    padding-bottom: 16px;
    cursor: default;
}

.menu-areas li {
    cursor: pointer;
    padding: 15px 0px 15px 15px;
}

#met-menu {
    height: 100px;
}

.in-sdk #logo {
  display: none;
}

#logo {
    display: block;
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/met_logo_red.svg");
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: left center;
    height: 100px;
    width: 100%;
}

#menu > ul:nth-child(1) li {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/main-nav-close-menu.svg");
    background-size: 42px;
    background-repeat: no-repeat;
    background-position: right top;
    cursor: pointer;
}

#menu > ul:nth-child(1) li:hover {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/main-nav-close-menu-hover.svg");
}

#menu > ul:nth-child(1) li:active {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/main-nav-close-menu-active.svg");
}

#menu > ul:nth-child(1) {
    -webkit-flex: 0 1 110px;
    flex: 0 1 110px;
    border-bottom: 0px;
    padding: 0;
}

.areas-menu {
    display: none;
}

.language-accessibility {
    list-style: none;
    margin: 35px 10px 10px 25px;
    color: white;
}

.languages-list {
    height: 45px;
    overflow: scroll;
    -webkit-transition: height 300ms ease;
    -moz-transition: height 300ms ease;
    -o-transition: height 300ms ease;
    transition: height 300ms ease;
}

.languages-list.show {
    height: 450px;
}

.languages-list li {
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 11px;
}

.lang-selected {
    display: inline;
    line-height: 45px;
}

.beta-message {
  color: #000;
    cursor: default;
    font-family: searchFont;
    font-size: 20px;
    padding: 10px 15px 10px 15px;
}

.beta-message p > a {
    border-bottom: solid 1px #000;
    color: #000;
    text-decoration: none;
}

.beta-message p > a:hover {
    border-bottom: solid 1px rgba(255, 255, 255, 0.8);
}

.beta-message p > a:active {
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

@-webkit-keyframes expand {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(180deg);
    }
}

@-webkit-keyframes collapse {
    0% {
        -webkit-transform: rotate(180deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes expand {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotat(180deg);
    }
}

@keyframes collapse {
    0% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#expand-languages {
    cursor: pointer;
    -webkit-animation-name: collapse;
    -webkit-animation-duration: 300ms;
    animation: collapse 300ms;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    float: right
}

#expand-languages.show {
    -webkit-animation-name: expand;
    -webkit-animation-duration: 300ms;
    animation: expand 300ms;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.attributions-menu {
    cursor: default;
    bottom: 0px;
    width: 294px;
    position: fixed;
    margin: 0px;
    color: #000;
    padding: 0px;
    margin-bottom: 0px;
    font-family: departmentFont;
    font-size: 14px;
    line-height: 17px;
    padding: 10px 15px 15px 15px;
}

.attributions-menu > a {
    color: rgba(0, 0, 0, 0.8);
}

.attributions-menu > a:hover {
    color: rgba(0, 0, 0, 1);
}

.attributions-menu > a:active {
    color: rgba(0, 0, 0, 1);
}

#share {
    cursor: pointer;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    height: 42px;
    /*padding: 13px 13px 15px 15px;*/
    background-image: url('/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/share_main-nav.svg');
    background-repeat: no-repeat;
}

#share:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

#share:active {
    background-color: rgba(0, 0, 0, 0.15);
}
