#modalTemplate {
	display:none;
}
/* elments using the sprite */
.modal-header #slideshow-control,
.modal-body #prev a,
.modal-body #next a,
.modal-body .modal-close,
.modal-footer .tools .share,
.modal-footer .tools .download,
.modal-header .tools .share,
.modal-header .tools .download {
	background: url(../../../images/common/modal-sprite.png) no-repeat;
}
html, body {
  width: 100%;
  height: 100%;
}
.modal-overlay {
	background: #232323;
	opacity:.95;
	position: fixed;
	left: 0;
	top: 0;
	z-index:1001;
	display: block;
	width: 100%;
	height: 100%;
}
@media \0screen\,screen\9 { /* ie7/ie8*/
	.modal-overlay { filter:alpha(opacity=95); }
}
.modal {
	width: 874px;
	margin: auto;
	font: 13px/15px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, Helvetica, sans-serif;
}
.modal.fluid,
.modal-wrapper.fluid {
	width: 90%;
	height: 85%;
	padding: 5%;
	margin: 0;
}
.modal-container { /* this wraps the modal so it can be fixed on the page, but still be centered via css using modal-wrapper*/
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1002;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.modal-wrapper { /* this allows the modal to be centered horizontally via css */
	margin: 0 auto;
	overflow: visible !important ; 
	width: 800px;
}
.modal-header {
	color: #737272;
	padding: 10px 8px;
}
.modal-header #slideshow-control {
	background-position: -67px -190px;
	display: inline-block;
	width: 15px;
	height: 16px;
	margin: 0 5px -4px;
	text-indent: -999em;
	overflow: hidden;
}
.modal-header #slideshow-control.playing {
	background-position: -92px -164px;
}
.modal-header #counter {
	font-family: "Lucida Sans", Arial, Helvetica, sans-serif;
}
.modal-header .download-box { right:8px;}
.modal-header .share-box { right:-5px; width:auto;}
.modal-header .share-box h3 { width:100px; }
.modal-header .share-box li { background:none; }

.modal-body {
	background-color: #fff;
	padding: 8px;
	margin: auto;
	position: relative;
	-moz-box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	-webkit-box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	overflow: visible !important ; /* keeps meta showing while animating */
/*	width:100%;*/
/*	box-sizing:border-box;*/
}
.modal-body img{
	width:100%;
	max-width:100%;
	height: auto;
}
/*clear the modal-body*/
.modal-body:after,.modal-footer:after {content:".";display:block;height:0;clear:both;visibility:hidden;top:-1em;position:relative;}

#gallery-image.hide{
	position:absolute;
	left:-9999px;
	top:0;
}

.modal.fluid .modal-body,
.modal-wrapper.fluid .modal-body {
	width: 98%;
	height: 98%;
	padding: 1%;
}
.modal-body #prev a, .modal-body #next a {
	background-position: -146px -52px;
	display: none;
	width: 40px;
	height: 70px;
	text-indent: -999em;
	overflow:hidden;
	position: fixed;
	top:50%;
/*	left:8px;*/
/*	margin-left:8px;*/
	margin-top:-35px;
	z-index: 100;
	left:50%;
}
.modal-body #next a {
	background-position: -178px 10px;
}
.modal-body .modal-close {
	background-position: 0px -244px;
	display: block;
	width: 35px;
	height: 35px;
	text-indent: -999em;
	overflow:hidden;
	position: absolute;
	right: -14px;
	top: -16px;
	z-index: 100;
}
.modal-footer {
	padding: 0;
}
.modal-footer h1 {
	font:  25px/30px 'OFLSortsMillGoudyRegular', Georgia, "Times New Roman", Times, serif;
	color: #fff;
	float: left;
	margin: 10px 0;
}
.modal-footer h1 span{
	margin-right:20px;
}
.modal-footer .author { color:#ccc; font-size:14px;}

.modal-footer .details-link {
	font: 13px/15px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, Helvetica, sans-serif;
	color: #6e6578;
	background:url("../../../images/pages/modal/arrow-right.png") no-repeat scroll right bottom transparent;
	padding: 0 15px 0 0;
	margin: 0;
	-moz-text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	-webkit-text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	white-space:nowrap;
}
.modal-footer .tools {
	float: right;
	margin: 0;
	padding: 10px 20px;
	font-size: 11px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	-moz-box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	-webkit-box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	box-shadow: 0 3px 18px rgba(0, 0, 0, .7);
	background-color: #303030;
	background-image: -moz-linear-gradient(right, #303030, #232323); /* FF3.6 */
	background-image: -o-linear-gradient(right, #303030, #232323); /* Opera 11.10+ */
	background-image: -webkit-gradient(linear,top right,top left,color-stop(0, #303030),color-stop(1, #232323)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(#303030, #232323); /* Chrome 10+, Saf5.1+ */
	background-image: linear-gradient(right, #303030, #232323);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#303030', EndColorStr='#232323');
}
.modal-header .tools {
	float: right;
	margin: 0;
/*	padding: 10px 20px;*/
	font-size: 11px;
}

.modal-header .tools li a{
	line-height:15px;
}
.modal-wrapper .tools li {
	display: inline;
	position:relative;
}
.modal-wrapper .tools li + li {
	margin-left: 10px;
}
.modal-wrapper .tools li > a {
	padding: 0 0 0 20px;
	color: #737272;
	/*-moz-text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	-webkit-text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	text-shadow: 0 1px 1px rgba(0, 0, 0, .75);*/
}
.modal-wrapper .tools .share-list a {
	color: #486FAE;
	text-decoration:none;
}
.modal-wrapper .tools .share-list a:hover {
	color: #3B4B6D;
}
.modal-wrapper .tools .share {
	background-position: -45px -217px; /* y -3 */
}
.modal-wrapper .tools .download {
	background-position: -117px -139px; /* y -3 */
}
.modal-header .tools .share {
	background-position: -45px -214px; /* y -3 */
}
.modal-header .tools .download {
	background-position: -117px -140px; /* y -3 */
}
.tools .share:before,
.tools .download:before {content: none;} /* remove pseudo element inherited from content.css */
.modal-footer ul.dropdown {
    float: left;
    margin: 0px 42px 0 0;
}
.modal-wrapper ul.dropdown > li {
    margin: 0;
    position: relative !important;
}
.modal-wrapper ul.dropdown > li:hover > ul {
    left: 0;
}

.modal-wrapper ul.dropdown > li > ul {
    -moz-box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    background: none repeat scroll 0 0 #FDFBF7;
    border: 1px solid #908972;
    display: block;
    left: -999em;
    list-style: none outside none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: 27px;
    width: 140px;
    z-index: 10;
}

.modal-wrapper ul.dropdown > li > ul li {
    background: none repeat scroll 0 0 transparent;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}
.modal-wrapper ul.dropdown li li a {
    display: block;
    margin: 0 10px 0 0;
    padding: 0 !important;
}
.modal-wrapper ul.dropdown li li.last a {
	margin-right:0;
}
.modal-wrapper .dropdown li li.dropdown-triangle {
    background: url("../../../images/common/breadcrumb-dropdown-triangle.png") no-repeat scroll 10px top transparent;
    left: 0;
    position: absolute;
    top: -12px;
    width: 100%;
}

.modal-footer .share-list a{text-decoration: none;}
.modal-wrapper .tools.dropdown a:hover {
	color:inherit;
}
.modal-container .dropdown > *:hover > a.share { display:inline-block;}
.modal-container .tools .share, .modal-container .tools .download { font-size:11px;}
.modal-container .tools .share { margin-right:30px;}
.modal-header .tools .share { margin-right:10px;}
.modal-header .tools { margin-right:10px;}

.modal-header ul.dropdown > li > ul {
	left:-110px;
}
.modal-header .dropdown li li.dropdown-triangle {
	background-position:110px top;
}
.modal-header ul.dropdown > li:hover > ul {
    left: -110px;
}

/* social/share dropdown */
.social {
	overflow: hidden;
	display: block;
	float: left;
}
ul.tools .social li {
	list-style: none;
	display: block;
	float: left;
	margin:0;
	padding:0;
}
.social li + li a {margin-left: 10px;}
.modal-wrapper .social a {
	height: 17px;
	display: block;
	text-decoration: none;
	text-indent: -999em;
	background-image: url(//edge.ldscdn.org/ml/ldsorg/notebook/20110406/images/study-tools-sprite.png);
}
.social .twitter {
	background-position: 0 -189px;
	width: 14px;
}
.social .facebook {
	background-position: 0 -216px;
	width: 18px;
}
.social .delicious {
	background-position: 0 -244px;
	width: 18px;
}
.social .email {
	background-position: 0 -269px;
	width: 19px;
}
/* end social/share dropdown */

.fly-out,
.tool-tip {
	background: #373737;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-moz-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
	box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
	top: 25px;
	margin: 0;
	padding: 16px 15px 20px 18px;
	position: absolute;
	right: -55px;
	text-align: left;
	width: 326px;
	z-index: 10;
}
.fly-out .close {
	background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0I4MTU0NTEwNEM0MTFFMTlGNThDN0UyNDlFOUQ2RDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0I4MTU0NTIwNEM0MTFFMTlGNThDN0UyNDlFOUQ2RDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3QjgxNTQ0RjA0QzQxMUUxOUY1OEM3RTI0OUU5RDZENSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3QjgxNTQ1MDA0QzQxMUUxOUY1OEM3RTI0OUU5RDZENSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmOn5k8AAABoSURBVHjaYvr//38BEM8HYgYsGCReAGIYAPF7LArnQ8UNYALoCuEKQHxknTCF95EVgDATAwJcAOIDQKwApS/AJJAVzQdiByBOhNLz4TLY3IDuRgZoEKC4AU1hASPYiwg3oQOwHECAAQBh+r2/Rt8lfgAAAABJRU5ErkJggg==") no-repeat scroll 0 0 transparent;
	display: block;
	float: right;
	text-indent: -99999em;
	width: 10px;
}
.fly-out h3 {
	color: #fff;
	font-size: 14px;
	margin: 0 0 12px;
	width: 240px;
}
.fly-out p {
	color: #9f8f87;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 6px;
}
.fly-out .copyright {
	font-size: 10px;
	margin: 0 0 6px;
}
.fly-out a:link, .fly-out a:visited {
	color: #ce7e49;
	text-decoration: underline;
}
.fly-out a:hover {
	text-decoration: underline;
}
.fly-out .download-options a {
	margin-left: 3px;
}
.download-box .download-list {
	display:inline;
}
#primary .fly-out hr {
	border-bottom: 1px solid #4C4C4C;
	border-top: 1px solid #201D1D;
	float: none;
	height: 0;
	margin: 15px auto;
	*margin: 10px auto;
	width: 305px;
}
.fly-out .triangle {
	height: 13px;
	position: absolute;
	right: 32px;
	width: 33px;
}
.fly-out .triangle:after {
	content: "";
	position: absolute;
	right: 10px;
	top: -1px;
	display: block;
	width: 0;
	height: 0;
	border: 12px solid transparent;
	border-bottom: 12px solid #373737;
	border-top: none;
}
.fly-out .triangle {
	background-position: 0 1px;
	top: -11px;
}