@charset "UTF-8";
/********************************************************************************************************************
* This CSS file adds styling for the fixed info bar and image viewer for each collection. 
* Colors and structure are specified independently to allow reskinning more easily.
* Any Responsive styles specific to the collection are added at the tail of the document.
* *******************************************************************************************************************/
/**************************
    Colors & Backgrounds
***************************/

/******************************
 * Fixed Info/Nav Bar
 *******************************/
 
.fixed-info-title {
    color: #fff;
    background-color: #809B55;
    border-bottom: 1px solid #666666;
    border-top: 1px solid #888888;
}
.fixed-info-title .homeButton {
    background-color: #FFFFFF;
    background-image: url("icons-18-black.png");
    background-position: -178px center;
    background-repeat: no-repeat;
}

/***********************************************
 * The text/text & image/image only control bar
 ***********************************************/

.layoutControlContainer-4, .layoutControlContainer-3, .layoutControlContainer-2, .layoutControlContainer {
    background-color: #ddd;
    border-bottom-color: #666;
}

/* Container for a single control's text and selection indicator */
.layoutControlParent {
    color: #000;
    background-color: inherit;
}

/* The indicator for a selected control */
.layoutControlContainer div .textControlSelected, .layoutControlContainer-4 div .textControlSelected, .layoutControlContainer-3 div .textControlSelected, .layoutControlContainer-2 div .textControlSelected {
    background-image: url("icons-18-black.png");
    background-position: -252px 0;
}
.layoutControl {
    background-color: #FFFFFF;
    border-color: #999999;
}

/*******************************
 * Inline Image Viewer
 *******************************/
/* The image viewer itself */
#iip-viewer {
    border-color: #999999;
    background-color: black;
    color: #e9eee0;
}
/* The next/previous page controls within the image viewer */
#iip-paging {
    background-color: #E9eee0;
    color: #000000;
}

#iip-paging .nextPage, 
#iip-paging .previousPage,
#iip-button-bar li {
    background-color: #888;
    border-color: #bbb;
    color: #FFFFFF;
}
.iip-previous {
    background-image: url("icons-18-white.png");
    background-position: -142px 2px;
}
.iip-next {
    background-image: url("icons-18-white.png");
    background-position: -112px 2px;
}
/* The control bar at the bottom of the image viewer */
#iip-button-bar{
    background-color: #E9eee0;
    color: #000000;
}

#iip-button-bar li, #iip-button-bar li:active{
	background-color:#666;    
}

#iip-button-bar li:hover,
#iip-paging .nextPage:hover, 
#iip-paging .previousPage:hover {
    color:#000;
    background-color:#ddd;
}
/****************
*    Structure
*****************/
/******************************
 * Fixed Info/Nav Bar
 *******************************/
 
/* Fixed position elements, dialogs, etc. */
#fixed-elements {
    position: fixed;
    left: -10000px;
    top: -10000px;
}

#fixed-info-bar {
    position: fixed;
    left: 0;
    top: -125px;
    width: 100%;
    height: 64px;
    z-index: 3;
}

#fixed-info-bar.visible {
    top: 0;
}

.fixed-info-title {
    font-size : 1.2em;
    line-height : 1.3em;
    text-align : center;
    clear : both;
    padding-top : 4px;
    padding-bottom : 4px;
}

.fixed-info-title .homeButton {
    border: 1px solid;
    border-radius: 18px 18px 18px 18px;
    cursor: pointer;
    float: left;
    height: 22px;
    margin-left: 1em;
    margin-right: -1em;
    padding: 0 11px;
    text-align: center;
}

.fixed-info-title .homeButtonText {
    display: none
}

/***********************************************
 * The text/text & image/image only control bar
 ***********************************************/

.layoutControlContainer-4, .layoutControlContainer-3, .layoutControlContainer-2, .layoutControlContainer {
    width: 100%;
    text-align: center;
    display: inline-block;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-size: .9em;
    height: 2.2em;
}

/* Container for a single control's text and selection indicator */
.layoutControlParent {
    float: left;
    margin-top: 7px;
    cursor: pointer;
}
/* 4 view options & default */
.layoutControlContainer-4 .layoutControlParent, .layoutControlContainer .layoutControlParent {
    width: 28%;
}
/* 3 view options */
.layoutControlContainer-3 .layoutControlParent {
    width: 33%;
}
/* 2 view options */
.layoutControlContainer-2 .layoutControlParent {
    width: 49%;
}

/* the text only option is a special case as the number of 
  letters is significantly less than that of the other view 
  options 
 */
 
/* 2 view options */
.layoutControlContainer-2 .text-only {
    width: 46%;
}
/* 3 view options */
.layoutControlContainer-3 .text-only {
    width: 32%;
}
/* 4 view options & default */
.layoutControlContainer-4 .text-only, .layoutControlContainer .text-only {
    width: 16%;
}

/* The control's indicator */
.layoutControlParent span {
    cursor: pointer;
}


/* The indicator for a selected control */
.layoutControl, .layoutControlContainer-4 div .textControlSelected, .layoutControlContainer-3 div .textControlSelected, .layoutControlContainer-2 div .textControlSelected, .layoutControlContainer div .textControlSelected {
    border-width: 1px;
    border-style: solid;
    border-radius: 20px 20px 20px 20px;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin-right: 0;
    margin-top: -2px;
    padding: 3px;
    vertical-align: top;
    width: 12px;
}


/*******************************
 * Inline Image Viewer
 *******************************/

/* iipViewContainer provides a coordinate reference for the image viewer whether
   the viewer is inline, or pinned to a fixed window position.
 */
#iip-container {
    position: relative;
    left: 0;
    right: 0;
}

/* .pinned is attached to the viewer to move it to a fixed position when the page scrolls */
#iip-container.pinned {
    position: fixed;
    top: 0;
    z-index: 1;
}

/* The image viewer itself */
#iip-viewer {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    text-align: center;
    overflow-y: auto;
    display: none;
}

.iip-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 0.5em;
    font-weight: bold;
    font-size: 1.2em;
}

/* The image viewer modified to appear in a fixed position in the window */
#iip-viewer.pinned {
    top: 0;
    bottom: 0;
    border-radius: 0;
}

/* The image viewer when "image-only" is selected */
#iip-viewer.fullFrameImageViewer {
    left: 0;
    right: 0;
    width: 100%;
}

/* The next/previous page controls within the image viewer */
#iip-paging {
    height: 2.5em;
}

#iip-paging .nextPage, 
#iip-paging .previousPage,
#iip-button-bar li {
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    cursor: pointer;    
}

#iip-paging .nextPage, 
#iip-paging .previousPage {
    position: absolute;
    top: 8px;
}

#iip-paging .previousPage {
    left: 10px;
    padding: 0.2em 0.5em 0.3em 0;
    text-indent: 1.2em;
    display: none;
}

#iip-paging .nextPage {
    right: 10px;
    padding: 0.2em 1.2em 0.3em 0.5em;
}
.iip-previous {
    cursor: pointer;
    left: 0px;
    position: absolute;
    top: 1px;
    width: 16px;
    height: 20px;
}
.iip-next {
    cursor: pointer;
    right: 0px;
    position: absolute;
    top: 1px;
    width: 16px;
    height: 20px;
}

#iip-image{
    position:absolute;
    top:2em;
    bottom:1em;
    left:1em;
    right:1em;
}

#iip-inner-image{
    position:absolute;
    height:100%;
    width:100%;
}


/* An invisible 1em box to provide pixel sizes for dynamic positioning */
#iip-one-em{
    position:absolute;
    top: -10em;
    height:1em;
    width:1em;
}

/* The control bar at the bottom of the image viewer */
#iip-button-bar{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    text-align: center;
}

#iip-button-bar ul{
    list-style:none;
    padding:0;
    margin:0;
    padding:0;
    /*font-size:0;*/
    white-space:nowrap;
    text-align: center;
}

#iip-button-bar li {
	width:auto;
    display:inline-block;
    border-collapse:collapse;
    padding:0.5em;
    margin:2px;
    font-size:10pt;
    text-align:center;
    cursor:pointer;
}

/* Magnifying glass search icon */
.search-icon {
    float: right;
    width: 2em;
}
/******************************
* Responsive Styling
*******************************/

/******************************
* 721px to 800px wide
*******************************/
@media screen and (max-width: 800px) {

    .fixed-info-title{
        font-size:1em;
    }
    
    .fixed-info-title .homeButton {
        display: inline
    }
}    

/*******************************
* 675px wide
********************************/
@media screen and (max-width: 675px) {
	#iip-button-bar li {
		padding: .5em;
	}
}

/******************************
* 581px to 650px wide
*******************************/
@media screen and (max-width: 650px) {
    .layoutControlContainer, .layoutControlContainer-4, .layoutControlContainer-3, .layoutControlContainer-2 {
        height: 3.6em;
    }
}
/*******************************
* 595px wide
********************************/
@media screen and (max-width: 595px) {
	#iip-button-bar li {
		display: inline;
		float: left;
		width: 48.2%;
		padding: .5em 0;
	}
	#iip-button-bar li:nth-child(n){
		border: none;
		border-bottom: 1px solid #fff;
	}
	#iip-button-bar li:nth-child(2n) {
		border-left: 1px solid #fff;
    }
}
/******************************
* 486px to 580px wide
*******************************/
@media screen and (max-width: 580px) {

    .TEItitle{
        font-size:.9em;
        padding:4px;
    }
}

/******************************
* up to 365px wide
*******************************/
@media screen and (max-width: 365px) {
    .layoutControlContainer, .layoutControlContainer-4, .layoutControlContainer-3, .layoutControlContainer-2 {
        height: 4.6em;
    }
}
/******************************
 * Firefox Specific
 *******************************/
@-moz-document url-prefix() { 
    #iip-iframe {
         height: 89%;
         width: 102%;
      }
      
	#iip-paging .nextPage {
		padding: 0.3em 1.2em 0.2em 0.5em;
	}

	#iip-paging .previousPage {
		padding: 0.3em 0.5em 0.2em 0;
	}
}