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

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

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

/*a:link, a:visited, a:hover, a:active {
    color: #FFFFFF;
}*/

.side-panel-popup {
    z-index: 2;
    height: calc(100% - 42px);
    width: 280px;
    background-color: #FFFFFF;
    position: absolute;
    right: -1px;
    margin: 42px -280px 0px 0px;
    overflow: hidden;
    -webkit-transition: margin-right 500ms ease;
    -moz-transition: margin-right 500ms ease;
    -o-transition: margin-right 500ms ease;
    transition: margin-right 500ms ease;
    color:#282C32;
}

.side-panel-popup.preview-margin {
    margin-top: 0px;
    height: 100%;
}

.side-panel-popup.col {
    background-color: #ffffff;
}

.side-panel-popup-closer {
    /*background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/popup-close_DEF.svg");
    background-position: center;
    background-size: 42px;*/
    width: 42px;
    height: 42px;
    position: absolute;
    right: 0px;
    cursor: pointer;
    z-index: 5;
}

.side-panel-popup-closer:hover > #Elements > polygon {
    /*background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/popup-close_HOV.svg");*/
    fill: #E6E6E6;
}

.side-panel-popup-closer:active > #Elements > polygon {
    /*background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/popup-close_CLI.svg");*/
    fill: #FFFFFF;
}

.hide-popup {
    display: none;
}

.show-popup {
    display: none;
}

.side-panel-popup.show.active {
    margin-right: 280px;
}

.side-panel-popup.show {
    margin-right: 1px;
    -webkit-box-shadow: -3px 0px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -3px 0px 0px rgba(0, 0, 0, 0.2);
    box-shadow: -3px 0px 0px rgba(0, 0, 0, 0.2);
}

#popup-content {
    height: calc(100% - 42px);
    color: #282C32;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    overflow: scroll;
    /*opacity: 1 !important;*/
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
}

.side-panel-popup.ext > #popup-content {
    height: initial;
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
}

.popup-room-content {
    -webkit-overflow-scrolling: touch;
    /*z-index: 5;*/
    padding-top: 15px;
    position: relative;
    -webkit-flex: 1 0 auto;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.popup-exhibition, .closed_section {
    min-height: 60px;
    background-color: #A51837;
    padding: 15px 15px 25px 15px;
    color: rgba(255, 255, 255, 1);
    font-family: searchFont;
    font-size: 16px;
    line-height: 18px;
    /*border-top: 1px solid #000;*/
    border-left: 0px;
    border-right: 0px;
    position: relative;
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
}

.closed_section {
    min-height: 0;
    font-family: titleFont;
    font-size: 18px;
    line-height: 20px;
    background-color: inherit;
    background: -webkit-repeating-linear-gradient(135deg, #E4002B, #E4002B 3px, #A51837 3px, #A51837 6px);
    background: -moz-repeating-linear-gradient(135deg, #E4002B, #E4002B 3px, #A51837 3px, #A51837 6px);
    background: -o-repeating-linear-gradient(135deg, #E4002B, #E4002B 3px, #A51837 3px, #A51837 6px);
    background: repeating-linear-gradient(135deg, #E4002B, #E4002B 3px, #A51837 3px, #A51837 6px);
}

.closed_section > p {
    margin: 0;
}

.closed_section.col {
    -webkit-box-ordinal-group: 4;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;
}

.exhibition-name {
    margin: 0px;
    font-family: titleFont;
    font-size: 17px;
}

/*.popup-exhibition > a:link, .popup-exhibition > a:visited,  .popup-exhibition > a:hover, .popup-exhibition > a:active{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}*/

.end-date {
    color: rgba(255, 255, 255, 1);
    margin: 0px;
}

.end-date-spe {
    color: rgba(255, 255, 255, 0.6);
    margin: 0px 0px 0px 15px;
}

.popup-room-number {
    font-family: searchFont;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 2px;
    margin-left: 15px;
    color: #737373;
}

p.popup-gallery-name {
    font-family: titleFont;
    font-size: 20px;
    line-height: 22px;
    /*text-decoration: underline;*/
    margin: 0px 42px 10px 15px;
}

.popup-department-info {
    min-height: 50px;
    font-family: searchFont;
    font-size: 16px;
    line-height: 18px;
    /*color: rgba(255, 255, 255, 0.6);*/
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    color: #E4002B;
    padding: 15px 15px 25px 15px;
    position: relative;
    width: 249px;
    /*background-color: #5F1E30;*/
    -webkit-box-ordinal-group: 4;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;
}

.popup-department-info > p {
    margin: 0px;
    font-size: 17px;
    font-family: titleFont;
}

.popup-room-description {
    font-family: searchFont;
    font-size: 18px;
    line-height: 20px;
    margin: 0px 42px 25px 15px;
    position: relative;
    /*width: 235px;*/
    -webkit-flex: 1 0 auto;
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
    -webkit-flex-grow: 7;
    flex-grow: 7;
}

/*.side-panel-popup::-webkit-scrollbar {
    width: 5px;
}*/

/*.side-panel-popup::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}*/

/*.side-panel-popup::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}*/

.popup-img {
    /*-webkit-flex: 1 0 auto;*/
    /*min-height: 230px;*/
    width: 100%;
    height: 100%;
    position: relative;
    /*border-bottom: 1px solid #000;*/
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
   background-position: center;
    order: 1;
}

.temp_exh {
    -webkit-overflow-scrolling: touch;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.store_spe {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.space_name {
    position: relative;
    margin: 14px 15px 10px 15px;
    font-size: 24px;
    font-family: departmentFont;
    /*-webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;*/
}

.space_info {
    position: relative;
    margin: 0px 15px 10px 15px;
    font-family: titleFont;
    text-decoration: underline;
    /*-webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;*/
}

.space_description {
    position: relative;
    margin: 0px 15px 25px 15px;
    font-family: searchFont;
    font-size: 16px;
    /*-webkit-box-ordinal-group: 5;
    -moz-box-ordinal-group: 5;
    -ms-flex-order: 5;
    -webkit-order: 5;
    order: 5;*/
}

.space_until {
    font-family: searchFont;
    margin: 14px 15px 10px 15px;
    /*-webkit-box-ordinal-group: 4;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;*/
}

.services-popup, .closed-popup {
    display: none;
}

.services-popup.show, .closed-popup.show {
    display: block;
    position: relative;
    z-index: 2;
}

.closed-popup.show {
    bottom: 20px;
    right: 75px;
}

.services-info {
    width: 120px;
    height: 50px;
    font-size: 17px;
    background-color: #292D33;
    color: white;
    padding: 14px 15px 16px 15px;
    border: 1px solid #000;
}

.closed-popup-content {
    width: 120px;
    height: 50px;
    font-size: 17px;
    background-color: #292D33;
    color: white;
    padding: 14px 15px 16px 15px;
    border: 1px solid #000;
}

.closed-popup-content:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0px;
    border-color: #292D33 transparent;
    display: block;
    width: 0;
    z-index: 1;
    top: 81px;
    left: 60px;

}

.services-info:after{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0px;
    border-color: #292D33 transparent;
    display: block;
    width: 0;
    z-index: 1;
    top: 80px;
    left: 60px;
}

.collection_name {
    font-family: departmentFont;
    font-size: 24px;
    line-height: 26px;
    padding: 14px 15px 16px 15px;
    color: #E4002B;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.collection_description {
    -webkit-overflow-scrolling: touch;
    font-family: searchFont;
    font-size: 18px;
    line-height: 20px;
    color: #282C32;
    padding: 14px 42px 16px 15px;
    -webkit-flex: 1 0 auto;
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
}

#share_popup {
    opacity: 0;
    width: 29em;
    position: absolute;
    background-color: #f5f5f5;
    padding-bottom: 15px;
    left: 50%;
    top: 50%;
    z-index: 5;
    box-shadow: 0 0 0px 3px rgba(0, 0, 0, 0.2);

    -webkit-transition: opacity 250ms ease-in;
       -moz-transition: opacity 250ms ease-in;
         -o-transition: opacity 250ms ease-in;

    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

/*#share_popup.active {
    right: 36em !important;
}*/

#share_popup.show {
    opacity: 1;
}

/*#share_popup.show:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px;
    border-color: transparent transparent transparent #f5f5f5;
    display: block;
    width: 0;
    z-index: 5;
    bottom: 50%;
    right: -30px;
}

#share_popup.show.bottom:before {
    bottom: 5%;
}*/

/*#share_popup.show:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);
    display: block;
    width: 0;
    bottom: 50%;
    right: -33px;
    z-index: 4;
}

#share_popup.show.bottom:after {
    bottom: 5%;
}*/

#sharepop {
    /*display: none;*/
    height: 42px;
    width: 280px;
    /*z-index: 5;*/
    cursor: pointer;
    position: fixed;
    bottom: 0;
    /*background-color: #292D33;*/
    background-color: #fff;
    -webkit-box-shadow: 0px -2px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px -2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px -2px 0px rgba(0, 0, 0, 0.2);
    /*-webkit-box-ordinal-group: 3 !important;
    -moz-box-ordinal-group: 3 !important;
    -ms-flex-order: 3 !important;
    order: 3 !important;*/
}

#dialog {
    /*display: none;*/
    opacity: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(16, 18, 20, 0.5);

    -webkit-transition: all 250ms ease-in;
       -moz-transition: all 250ms ease-in;
         -o-transition: all 250ms ease-in;
            transition: all 250ms ease-in;
}

#dialog.active {
    opacity: 1;
    /*display: block;*/
    z-index: 4;
}

#sharepop:hover svg{
    fill-opacity: 0.8;
}

#sharepop:active svg{
    fill-opacity: 1;
}

.header {
    padding: 30px 15px 30px 15px;
}

.header h1 {
    font-size: 18px;
    font-family: titleFont;
    margin: 0;
}

.share_desc {
    font-family: searchFont;
}

.copy_share_link {
    width: calc(100% - 30px);
    padding: 0px 15px 0px 15px;
    text-align: center;
    display: -webkit-inline-flex;
    display: inline-flex;
}

.copy_share_link input {
    height: 40px;
    margin: 0;
    line-height: 3em;
    padding: 0px 0px 0px 15px;
    font-family: searchFont;
    font-size: 16px;
    line-height: 3.2em;
    width: calc(100% - 120px);
    border: 1px solid #c8c8c8;
}

.copy_share_link_safari {
    width: calc(100% - 30px);
    padding: 0px 15px 0px 15px;
}

.copy_share_link_safari input {
    line-height: 40px;
    margin: 0;
    padding: 0;
    font-family: searchFont;
    font-size: 16px;
    width: 100%;
    border: 1px solid #c8c8c8;
}

#copy_share_safari {
    padding: 15px 30px 0px 15px;
    text-align: left;
    font-family: searchFont;
    font-size: 16px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.6);
}

.copy_share_link button {
    cursor: pointer;
    line-height: 2.4em;
    height: 42px;
    border: none;
    font-family: departmentFont;
    padding: 0;
    width: 120px;
    font-size: 20px;
    background-color: #E3002A;
    color: #fff;
    right: 0;
}

.copy_share_link button.copied {
    color: #000;
    background-color: #c8c8c8;
}

.copy_share_link button.copied:hover {
    color: #000;
    background-color: #c8c8c8;
}

.copy_share_link button:hover {
    background-color: #A51837;
}

.copy_share_link button:active {
    color: rgba(255, 255, 255, 0.6);
    background-color: #A51837;
}

#input_copy_share {
    -webkit-transition: background-color 250ms ease;
    -moz-transition: background-color 250ms ease;
    -o-transition: background-color 250ms ease;
    -ms-transition: background-color 250ms ease;
    transition: background-color 250ms ease;
}

#input_copy_share.blink {
    background-color: rgba(0, 144, 209, 0.4);
}

#close_share_popup {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/share-close_DEF.svg");
    height: 42px;
    width: 42px;
    position: absolute;
    right: 0;
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: center;
    cursor: pointer;
}

#gradient {
    /*background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/popup-gradient.svg");*/
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: 230px;
    height: 230px;
    position: relative;
    z-index: 4;

    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
}

#gradient:after {
    display: block;
    top: 0;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: rgba(255,252,255,0.65);
    background: -moz-linear-gradient(45deg, rgba(255,252,255,0) 85%, rgba(0,0,0,0.65) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(85%, rgba(255,252,255,0)), color-stop(100%, rgba(0,0,0,0.65)));
    background: -webkit-linear-gradient(45deg, rgba(255,252,255,0) 85%, rgba(0,0,0,0.65) 100%);
    background: -o-linear-gradient(45deg, rgba(255,252,255,0) 85%, rgba(0,0,0,0.65) 100%);
    background: -ms-linear-gradient(45deg, rgba(255,252,255,0) 85%, rgba(0,0,0,0.65) 100%);
    background: linear-gradient(45deg, rgba(255,252,255,0) 85%, rgba(0,0,0,0.65) 100%);
}

#close_share_popup:hover {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/share-close_HOV.svg");
}

#close_share_popup:active {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/iconsSVG/share-close_CLI.svg");
}

#exterior-panel {
    z-index: 1;
    height: calc(100% - 42px);
    width: 280px;
    background-color: #fff;
    position: absolute;
    right: -1px;
    margin: 42px -280px 0px 0px;
    overflow-y: hidden;
    overflow-x: hidden;
    -webkit-transition: margin-right 500ms ease;
    -moz-transition: margin-right 500ms ease;
    -o-transition: margin-right 500ms ease;
    transition: margin-right 500ms ease;
}

#exterior-panel.show {
    margin-right: 1px;
    box-shadow: -3px 0px 0px rgba(0, 0, 0, 0.2);
}

.building_img {
    background-repeat: no-repeat;
    width: 100%;
    height: 66%;
    background-size: cover;
    background-position: center;
}

#mainmet.building_img {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/popup_pictures/fifth_avenue_nyc.jpg");
}

#cloisters.building_img {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/popup_pictures/cloisters_nyc.jpg");
}

#breuer.building_img {
    background-image: url("/National_Library/oe_/https://maps.metmuseum.org/img/popup_pictures/breuer_nyc.jpg");
}

/*.building_img:after {
	content: " ";
	display: block;
	width: 100%;
	padding-top: 66%;
}*/

.exterior-content {
    height: 100%;
    overflow: hidden;
}

.exterior_building {
    cursor: pointer;
    height: 33.33%;
    width: 100%;
}

.info {
    padding: 14px 13px 16px 50px;
    line-height: 19px;
    min-height: 69px;
}

.info:hover {
    background-color: #FAFAFA;
}

.info:active {
    background-color: #EBEBEB;
}

.building_info {
    font-family: titleFont;
    color: #E4002B;
    font-size: 20px;
}

.building_address {
    font-family: searchFont;
    font-size: 16px;
}

.building {
    font-family: titleFont;
    color: #E4002B;
    font-size: 24px;
    padding: 15px 15px 0px 15px;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.address {
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
    padding-right: 110px !important;
}

.phone {
    -webkit-box-ordinal-group: 4;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;
    padding-bottom: 15px !important;
}

.address, .phone {
    font-family: searchFont;
    padding: 0px 15px 0px 15px;
    font-size: 18px;
}

#explore {
    -webkit-box-ordinal-group: 5;
    -moz-box-ordinal-group: 5;
    -ms-flex-order: 5;
    -webkit-order: 5;
    order: 5;

    cursor: pointer;
    width: calc(100% - 30px);
    height: 42px;
    line-height: 2.1em;
    border: none;
    background-color: #E3002A;
    font-family: departmentFont;
    font-size: 20px;
    color: #fff;
    margin-left: 15px;
}

#explore:hover {
    background-color: #A51837;
}

#explore:active {
    color: rgba(255, 255, 255, 0.6);
    background-color: #A51837;
}

.details {
    -webkit-box-ordinal-group: 6;
    -moz-box-ordinal-group: 6;
    -ms-flex-order: 6;
    -webkit-order: 6;
    order: 6;
    font-family: searchFont;
    font-size: 18px;
    line-height: 21px;
    margin: 15px 0px 15px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.opening {
    font-family: titleFont;
    padding: 15px 15px 0px 0px;
}

#precision {
    -webkit-box-ordinal-group: 7;
    -moz-box-ordinal-group: 7;
    -ms-flex-order: 7;
    -webkit-order: 7;
    order: 7;
    font-family: departmentFont;
    font-size: 12px;
    padding-bottom: 15px;
}

.detail {
    padding-bottom: 15px;
    padding-right: 20px;
}

.detail.up {
    padding-top: 15px;
}

.web {
    -webkit-box-ordinal-group: 8;
    -moz-box-ordinal-group: 8;
    -ms-flex-order: 8;
    -webkit-order: 8;
    order: 8;
    font-family: searchFont;
    font-size: 18px;
    line-height: 21px;
    padding: 0px 15px 15px 15px;
}

.outer-popup-p {
  font-family: searchFont;
  font-weight: normal;
  padding: 20px 20px;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  order: 15;
}

.outer-popup-p a {
  color:#000;
}

.outer-popup-attributions {
  order:20;
  padding: 15px;
  font-size: 14px;
  font-weight: bold;

}
