.figureViewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 9999;
}
.figureViewer-overlay .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width:80%;
    background: rgba(0, 0, 0, 0.7);
    padding: 0 10%;
    padding-top: 27px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: 500ms height linear;
    cursor: pointer;
    z-index: 9001;
    overflow: auto;
}
.figureViewer-overlay .caption .title, .figureViewer-overlay .caption .figureCaption {
    display: block;
    margin-bottom: 15px;
}
.figureViewer-overlay .caption .icon {
    float: left;
    margin-right: 10px;
    font-size: 14px;
    background-image: none;
}
.figureViewer-overlay .caption .icon.icon-arrow_d_n {
    display: none;
}
.figureViewer-overlay .caption b {
    font-size: 14px;
    display: block;
    margin-bottom: 25px;
}
.figureViewer-overlay .caption .fig-caption-para-container {
    font-weight: normal;
    height: 0;
    font-size: 16px;
    max-height: 0;
    margin: 0;
}
.figureViewer-overlay .caption .fig-caption-para-container.open {
    height: auto;
    max-height: 58px;
    margin-bottom: 15px;
}
.figureViewer-overlay .caption.open .icon-arrow_d_n {
    display: block;
}
.figureViewer-overlay .caption.open .icon-arrow_u_p {
    display: none;
}
.figureViewer-overlay .fig-caption-para-container .fig-legend {
    display: block;
    width: 95%;
    word-wrap: break-word;
    font-weight: normal;
}
.figureViewer-overlay .fig-caption-para-container p {
    font-size: inherit;
    line-height: 1.2em;
    font-weight: bold;
}
.figureViewer-overlay .fv-browse-container {
    text-align: center;
}
.figureViewer-overlay .fv-browse-container .fv-browse-image {
    display: inline-block;
    vertical-align: top;
    width: 250px;
    max-width: 30%;
    margin-right: 5%;
    cursor: pointer;
}
.figureViewer-overlay .fv-browse-container .fv-browse-image .image-container {
    width: 100%;
    margin-bottom: 10px;
}
.figureViewer-overlay .fv-browse-container .fv-browse-image img {
    max-width: 100%;
    max-height: 150px;
    display: inline;
}
.figureViewer-overlay .fv-browse-container .fv-browse-image .fb-browse-image-footer {
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
}
.figureViewer-navigation {
    position: absolute;
    top: 0;
    left: 0;
    height: 62px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
}
.figureViewer-navigation.closed {
    height: 15px;
}
.figureViewer-navigation .figureNav {
    position: inherit;
    width: 280px;
    left: 0;
    margin: 0 auto;
    text-align: center;
}
.figureViewer-navigation .figureNav #NavText {
    display: none;
    top: -15px;
    position: relative;
    right: 2px;
    margin-left: 5px;
    margin-right: 5px;
}
.figureViewer-navigation a.close {
    margin: 23px 21px 0 0;
    width: 18px;
    height: 17px;
    float: right;
    background: url('/templates/jsp/_style2/images/fv_close.png') no-repeat right top;
}
.figureViewer-navigation .icon-zoom-in {
    float: right;
    margin: 20px 30px 0 0;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}
.figureViewer-navigation .zoom-slider {
    width: 120px;
    float: right;
    margin-top: 25px;
    margin-right: 20px;
}
.figureViewer-navigation .zoom-slider.ui-widget-content {
    background: transparent;
    border: none;
    border-bottom: 2px solid #999;
    border-radius: 0;
}
.figureViewer-navigation .zoom-slider.ui-slider-horizontal {
    height: 6px;
}
.figureViewer-navigation .zoom-slider .ui-state-default {
    background: transparent;
    border-radius: 10px;
    border: 3px solid #999;
    cursor: pointer;
}
.figureViewer-navigation .zoom-slider .ui-state-default:hover {
    border-color: #4594bb;
    background: #000;
}
#refViewerNav .figureNav {
    position: inherit;
    width: 280px;
    left: 0;
    margin: 0 auto;
    text-align: center;
}
#refViewerNav .figureNav span {
    top: -15px;
    position: relative;
    right: 2px;
    margin-left: 5px;
    margin-right: 5px;
}
#refViewerNav a.close {
    position: absolute;
    top: -5px;
    right: 16px;
    width: auto;
    max-width: 100px;
    min-height: 15px;
    padding: 0 20px 0 0;
    background: url('/templates/jsp/images/select-x.gif') no-repeat right top;
    font: 0.7em Arial, Helvetica, sans-serif;
    text-align: right;
    text-decoration: none;
}
#refViewerNav a.close:hover {
    text-decoration: underline;
}
#figureViewer-wrap {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 9000;
    top: 8% !important;
}
#refViewer-wrap {
    position: absolute;
    width: auto;
    max-width: 899px;
    margin: 0;
    padding: 0;
    border: 1px solid #666;
    background: white;
    z-index: 9000;
}
#figureViewer {
    width: auto;
    margin: 15px 0 0;
}
#refViewerNav {
    position: relative;
    width: auto;
    max-width: 899px;
    height: 3em;
    line-height: 20px;
    margin: 0;
}
#figureCanvas {
    overflow: auto;
    position: relative;
    width: auto;
    margin: 0;
    text-align: center;
}
#figureCanvas .img-pan-container,
#figureCanvas .img-pan-container img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#figureCanvas .img-pan-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    height: 100%;
    width: 100%;
}
#figureCanvas .img-pan-container img {
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    position: absolute;
    top: 0;
    left: 0;
}
#figureCanvas .figBox {
    height: 100%;
    -webkit-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
    margin-right: -15px;
    max-width: 100%;
}
#figureCanvas .figBox.dragging {
    cursor: -webkit-grabbing;
}
#figureCanvas .figBox > img {
    max-height: 100%;
    max-width: 100%;
    -webkit-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
    display: inline;
}
#refCanvas {
    position: relative;
    width: auto;
    max-width: 870px;
    min-height: 200px;
    margin: 0;
    background: #fff;
    text-align: center;
}
#refCanvas .figBox {
    float: none;
    display: block;
    width: auto;
    max-width: 800px;
    margin: 0 auto 15px;
    padding: 10px 0 0;
    border-top: 1px solid #CCC;
    background: #fff;
}
#figureCanvas #figTools,
#refCanvas #figTools {
    position: absolute;
    top: 10px;
    left: 3px;
    text-align: left;
}
#figTools div {
    height: 19px;
    margin: 0 0 5px;
    overflow: hidden;
}
#figTools div a {
    display: block;
    height: 19px;
}
#figTools div a span {
    display: block;
}
#figTools div a:hover {
    background-position: 0px -19px;
}
#figTools div.weo {
    width: auto;
    max-width: 105px;
}
#figTools div.weo a {
    background: url('/templates/jsp/images/icon-weo.gif') no-repeat;
}
#figTools div.highRes {
    width: auto;
    max-width: 115px;
}
#figTools div.highRes a {
    font-size: 12px;
}
#figTools div.ppt {
    width: auto;
    max-width: 168px;
}
#figureCanvas .caption,
#refCanvas .caption {
    margin: 7px 7px 0 7px;
    padding: 10px 0 15px;
    border-top: 1px solid #ccc;
    text-align: left;
    width: auto;
}
#figureViewer-footer,
#refViewer-footer {
    display: block;
    text-align: center;
    border-top: 1px solid #CCC;
    margin: 7px 7px 0 7px;
    padding: 10px 0;
}
#figureViewer-footer .highRes {
    margin-top: 5px;
}
#refViewer-wrap #figureViewer-footer,
#refViewer-wrap #refViewer-footer {
    background: #e3e1e2 url('/templates/jsp/images/figureViewer-bg2.gif') repeat-y;
    text-align: right;
}
.figureNav a {
    float: left;
    margin-top: 22px;
    background: none !important;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}
.figureNav a.prev {
    margin-right: 42px;
}
.figureNav a:hover {
    color: #4594bb;
}
.figureNav a.disabled {
    display: block !important;
    background: none;
}
.figureNav a.browse {
    background: url('/templates/jsp/_style2/images/fv_browse.png') no-repeat 0 0 !important;
    width: 20px;
    height: 20px;
    margin: 22px 25px 0 22px;
    cursor: pointer;
}
#figureViewerNav a.prev,
#refViewerNav a.prev {
    top: 0;
    left: 0;
}
#figureViewerNav a.next,
#refViewerNav a.next {
    top: 0;
    right: 0;
}
#figureViewerNav .figureNav span,
#refViewerNav .figureNav span {
    vertical-align: bottom;
}
.icon-arrow_l:before {
    content: url('/templates/jsp/_style2/_mms/_nejm/img/arrow-left.png');
}
.icon-arrow_r:before {
    content: url('/templates/jsp/_style2/_mms/_nejm/img/arrow-right.png');
}
.icon-arrow_u_p:before {
    content: url('/templates/jsp/_style2/_mms/_nejm/img/arrow-up.png');
}
.icon-arrow_d_n:before {
    content: url('/templates/jsp/_style2/_mms/_nejm/img/arrow-down.png');
}
*:before,
*:after {
    /* -webkit-box-sizing: border-box; */
    -moz-box-sizing: border-box;
    /* box-sizing: border-box; */
}


.figureViewer-overlay ul.imageViewerTools {
    float:right;
    margin:10px 0;
}
.figureViewer-overlay ul.imageViewerToolsArticle {
    position:relative;
    top: 0px;
    float: left;
    margin: 20px 0px 0px 150px;
    font-size: 20px;
}
.figureViewer-overlay ul.imageViewerToolsArticle li {
    padding:0 20px 0 20px;
    background-repeat:no-repeat;
    font-size: 100%;
}
.figureViewer-overlay ul.imageViewerToolsArticle li a {
    color: #f8f8f8;
    text-decoration: none;
}
.holder .thumbnail {
    cursor: zoom-in;
}
#figureViewer_overlay p .ref a {
    position:relative; top: -0.4em; /* <sup> */
    font-size: 0.7em;
    text-decoration: none;
    color: #fff;
}
.figureViewer-navigation .icon-zoom-in {
    float: right;
    margin: 20px 30px 0 0;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    background: none !important;

}
.icon-zoom-in:before {
    content: url('/templates/jsp/_style2/_mms/_nejm/img/zoom-in.png');
}