body, html 			{background-color: #444444; color: #FFFFFF; height: 100%; }
a					{color: white; text-decoration: underline}

/* header */
h1 					{font-size: 30px; margin-bottom: 3px;}
.header p			{text-align: right; margin-top: 10px}
.breadcrumb 		{background-color: #444444; padding: 0px 0px 3px 0px;  border-radius: 0; border-bottom: 1px solid #666}
.breadcrumb > li 	{text-shadow: none; font-size: 90%}
.breadcrumb a		{color: #fff}


/* home page */
.introduction		{padding-bottom: 2em}
.thumbnail 			{border: none}
.thumbnail a		{position: relative; color: #fff; display: block}
	/* position title at foot of image (no padding or width extends outside thumbnail div) & then add padding to the H3 */
.thumbnail .title	{background-color: #000; opacity: 0.8; margin: 0; padding: 0; height: 55px; width: 100%;
					 position: absolute; bottom: 0; left: 0;}
.thumbnail h3		{font-size: 15px; line-height: 20px; padding: 0.5em; margin: 0;}
.thumbnail p		{margin-top: 10px}

/* collections page */
.collections		{list-style: none outside none; margin-left: 0}
.collections li		{margin-bottom: 20px}
.collections img	{float: left; width: 150px}
.collections h3		{font-size: 15px; line-height: 20px; padding: 0; margin: 0;}
.collections h3,
.collections p		{margin-left: 170px}
.collections a		{color: #fff; text-decoration: underline}

/* collection page (grid of thumbs) */
.thumbnailGrid				{list-style: none outside none; margin:0}
.thumbnailGrid li			{height: 162px; width: 162px; float: left; background: #666; padding: 6px; margin: 7px}
.thumbnailGrid li img		{max-height: 150px; max-width: 150px}
.thumbnailGrid .thumbnail 	{border: 1px solid #666;  /* same as background; goes white on hover - see below */}
.thumbnailGrid .thumbnail:hover	{border: 1px solid white}
/* drop down image chooser */
.imageChooser				{width: 100%}
.chosen-container,
.chosen-container-single .chosen-default	{color: black}

/* viewer page */	
#main							{
    /*margin-top: -15px /* so closer to header*/;
    /*padding:5px 10px 30px 10px;*/
    padding:5px 0px 10px;
}
#imageNavigation				{width: 100%; float: none; } 	
#imageButtons					{width: 70px; float: left}
#imageButtons img 				{width: 24px; height: 24px; }
#imageButtons a 				{padding-right: 0.5em; }
#imageNavigationSelect			{padding-left: 75px}
#imageNavigationSelect select 	{width: 100%}
#targetframe					{display: block; position:absolute; height:auto; bottom:0; top:0; left:0; right:0; margin:150px 0 0 0 ;}


/* meta panel */

#infoPanel {
  height: 100%;
  min-height: 100%;
  width: 280px;
  background-color: #444;
  position: absolute;
  right: 0;
  top: 0;
  color: #FFF;
  font-size: 1em;
  line-height: 1.5em;
  overflow: visible !important;
  /* jQuery UI hides my collapse button when animating. This overrides that. *NEEDS TESTING* */

}
#infoPanel h2 {
    cursor: pointer;
    outline: 0;
    margin: 0;
    padding: 0 0 0.5em 0;
    font-size: 2em;
    font-family: "Crimson Text", serif;
}
#infoPanel h2:hover {
    text-decoration: underline;
}
.infoPanelContent {
    height: 100%;
    min-height: 100%;
    /*overflow-y: scroll;*/
}
.infoPanelContent div.ui-accordion-content {
    padding: 0 0 1em 0;
}
.infoPanelInformation {
    padding: 10px;
}
.infoPanelInformation h2 i {
    float: right;
    margin-top: 0.5em;
}
.infoPanelInformation h2.ui-accordion-header-active i {
    background-position: -288px -120px;
}
.infoPanelControl {
    position: absolute;
    bottom: 48px;
    left: -41px;
    padding: 4px 10px;
    background-color: rgba(34, 34, 34, 0.55);
    border-radius: 3px;
    border: 1px solid;
    border-top-color: #777;
    border-left-color: #777;
    border-right-color: #333;
    border-bottom-color: #333;
}
.infoPanelControl:hover {
    cursor: pointer;
}

/**
 * Meta Data CSS
 *
 * Meta Data CSS for new element. Included in this file to reduce
 * loading overheads.
 *
 * CSS3
 *
 * @category  None
 * @package   Willughbyray
 * @author    Rick Morice <richard.morice@nottingham.ac.uk>
 * @copyright 2014 The University of Nottingham
 * @license   Refer to http://www.nottingham.ac.uk/
 * @version   GIT:<git_id>
 * @link      http://willughbyray.nottingham.ac.uk/
 * @see       http://willughbyray.nottingham.ac.uk/
 * @since     File available since Release 1.0
 *
 * @todo    Finalise "category", "license" and "link" in doc tags
 */

/* all items prefixed as to only point to a #metadata item */

legend {
    color: #ccc;
}

p.loader {
    text-align: center;
}

/* wrapper for all content: includes margin */
#metaData{
    background: rgba(0,0,0,0.7);
    border: 1px solid;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0px 0px 5px 3px rgba(255,255,255,0.07);
    border-radius: 3px;
    margin: 5px;
    padding: 5px;
}

#infoPanel.collapsing {
    width: 5px !important;
}

#infoPanel .collapsing {
    display: none !important;
    overflow: hidden !important;
}

#metaData h1.main {
    font-size: 1.7em;
    margin: 0;
}

.metaDataPartial {
    margin: 0 0 5px 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid;
    border-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    padding: 0 8px;
    height: auto;
    transition: height 0.2s;
}

.metaDataPartial form {
    margin-bottom: 0.5em;
}


.metaDataPartial h1,
.metaDataPartial h2,
.metaDataPartial h3,
.metaDataPartial p,
.metaDataPartial ul {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: normal;
}

.metaDataPartial h1 {
    font-size: 1.1em;
    border: solid;
    border-width: 0 0 1px 0;
    border-color: rgba(255,255,255,0.2);
}

.metaDataPartial h2 {
    font-size: 1.1em;
}

.metaDataPartial h2.metadataType {
    font-size: 0.9em;
    margin: 0;
}

.metaDataPartial ul.metadata {
    padding: 0;
    margin: 0 0 2px 10px;
}

.metaDataPartial ul.metadata li {
    font-size: 0.9em;
    list-style-type: none;
    border: dotted;
    border-width: 0 0 1px 0;
    border-color: rgba(255,255,255,0.2);
    margin-bottom: 3px;
}

.metaDataPartial legend {
    color: #cccccc;
    font-size: 0.9em;
    line-height: 1em;
    margin: 1em 0 0.2em;
    border-color: rgba(255,255,255,0.2);
}

.metaDataPartial p.action {
    float: right;
    cursor: pointer;
    padding: 0.5em 0 0 0;
}

.metaDataPartial p.action:hover {
    text-decoration: underline;
}

.metaDataPartial p.suggestion {
    font-size: 0.8em;
    color: #aaaaaa;
}

.metaDataPartial p.suggestion span {
    cursor: pointer;
    color: #cccccc;
}

.metaDataPartial p.suggestion span:hover {
    cursor: pointer;
    color: #ffffff;
}

.metaDataPartial .minimised {
    transition: height 0.2s;
    height: 0px;
}

.metaDataPartial .hidden {
    display: none;
}

#search div.sideBySideFirst div.sideBySideSecond {
    width: 310px;
}

#search div.sideBySideSecond {
    margin-left: 324px
}

#search div.float {
    float: left;
}

#search input[type="submit"] {
    height: 2.4em;
    margin: -9px 0 0 3em;
    border-radius: 3px;
}

#search input[type="submit"].inline {
    margin: 0.2em 0;
    border-radius: 3px;
}


#searchModifier {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    float: left;
    margin: 0 0.5em 0.2em 0;
    float: left;
    padding: 0.3em;
    width: 16em;
}

#search div.metaDataSelect {
    clear: left;
    color: #cccccc;
    margin: 0 0.5em 0.2em 0;
    padding: 0.3em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: rgba(255,255,255,0.2);
}

#search input.metaDataSelect {
    display: inline-block;
    margin-top: -2px;
}

#search label.metaDataSelect {
    display: inline-block;
    font-size: 0.9em;
    margin: 0 0.5em 0 0;
    width: 15em;
}

#search p.metaDataSelect {
    font-size: 0.9em;
    margin: 0;
}

#search p.metaDataSelect:hover {
    cursor: pointer;
    text-decoration: underline;
}


table.search {
    border: 1px solid #aaa;
}

table.search thead {
    background: #555;
    text-align: left;
}

table.search th {
    padding: 0.1em 0.3em;
}

table.search thead th.metaData {
    width: 20em;
}

table.search tbody td{
    padding: 0.1em 0.3em;
    border: 1px solid #999;
}



