/* ContentDM-specific styles  */

/* JT converted to turquoise colour scheme, 30/7/08 */

.clear {
  clear: both;
}

.sub-nav-links {
  border: 1px solid #cad9d9;
  background: #e0ebeb;
  margin: 1em 0;
  padding: 0.5em;
  padding-top: 0.8em;
  vertical-align: middle;
  line-height: 2.5em;
}

.sub-nav-links form {
  display: inline;
  margin: 0;
}

.sub-nav-links li {
  display: inline;
  margin: 0;
  padding: 0;
}

.sub-nav-links ul {
  margin: 0;
  padding: 0;
}

.sub-nav-links-left {
  float: left;
}

.sub-nav-links-left li {
  margin-right: 0.5em;
}

.sub-nav-links-center {
  float: left;
  text-align: center;
}

.sub-nav-links-center li {
  margin-right: 0.5em;
}

.sub-nav-links-right {
  float: right;
  text-align: right;
}

.sub-nav-links-right li {
  margin-left: 0.5em;
}

.sub-nav-links a, span.select-results-switch, .sub-nav-buttons input
{
  border: 3px solid #fff;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  text-decoration: none;
  color: #000;
  background-color: #fc9;
}
.sub-nav-links a:link, .sub-nav-links a:visited, .sub-nav-links a:active
{
  color: #000;
}

.sub-nav-links a:hover, .sub-nav-links a:focus, span.select-results-switch:hover
{
  background-color: #f60;
  color: #fff;
}

.sub-nav-links a#addthis-link
{
  background: #e0ebeb;
  color: inherit;
  border-style: none;
}

span.offstatus
{
  background-color: #ccc;
  color: #333;
  border: 3px solid #fff;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  text-decoration: none;
}


table,table td,table th {
  vertical-align: middle;
}

table {
  
}

ul.checklist, ul.radiolist {
  list-style-type: none;
}

.search-fields {
  border: 3px solid #cad9d9;
  padding: 1em;
}

table.search-results {
  width: 100%;
}

table.search-results td {
  border-left: 0;
  border-right: 0;
}

table.search-results th {
  white-space: nowrap;
  text-align: left;
}

table.item-metadata caption {
  padding: 0.5em;
  font-weight: bold;
}

table.item-metadata td,table.item-metadata th {
  vertical-align: baseline;
}

.img-toolbar {
  padding: 0;
  margin: 0;
  border: 1px solid #cad9d9;
  background: #e0ebeb;
  width: 100%;
}

.img-toolbar-group {
  border-right: 2px solid #cad9d9;
  margin: 0;
  padding: 0;
  height: 32px;
  float: left;
}


.img-toolbar a
/* make links black not orange, as it's on a turquiose bg and doesn't clashes a little... */
{

color: #000;
}

.img-toolbar li {
  list-style-type: none;
  float: left;
  margin: 0;
  padding: 5px 7px;
  vertical-align: middle;
}

.img-toolbar input {
  margin: 0;
  padding: 0;
}

#mainimage {
  float: left;
  border: 3px solid #cad9d9;
  margin: 1em 0;
}

img#mainimage {
  margin-top: 0;
}

#smallimage {
  float: left;
  margin: 1em 0 1em 1em;
}

#compound-left-col {
  float: left;
  clear: left;
  width: 25%;
}

#compound-toolbar {
  height: 3em;
}

#compound-right-col {
  float: right;
  clear: right;
  width:74%;
}
/*

original layout styles
#favorites-left-col {
  width: 20%;
  float: left;
}

#favorites-right-col {
  width: 79%;
  float: right;
}

.favorite-preview {
  width: 30%;
}

*/


#favorites-left-col {

  position: absolute;
  left: 10px;
  top: 60px;
  width: 180px;
  
}
#favorites-left-col fieldset {
  width: auto;
  margin-bottom: 1em;
  padding: 0.5em;
}

#favorites-right-col {
margin-left: 200px;
margin-bottom: 260px;
}



.favorite-preview {
  width: 180px;
  height: 15em;
  float: left;
}
/*
iframe {
  
}

iframe#iframescroll {
  position: absolute;
  left: 0;
  top: 3.5em;
  bottom: 0;
  width: 100%;
}
*/
iframe#iframecompare-left {
  width: 49%;
  float: left;
  height: 500px;
}

iframe#iframecompare-right {
  width: 49%;
  float: right;
  height: 500px;
}

.text-file-contents {
  white-space: pre;
  border: 1px solid #cad9d9;
  margin: 1em 0;
  padding: 0.5em;
  overflow: auto;
}

.text-file-contents * {
    margin: 0;
}

.menu-section {
  border: 1px solid #cad9d9;
  background: #e0ebeb;
  margin: 1em 0;
  padding: 0.5em;
}

.menu-section,.layout-col fieldset,.layout-col .sub-nav-links {
  margin-top: 0;
}

.tips {
  font-size: 0.8em;
  color: #666;
}

.show-terms,.hide-terms {
  font-size: 0.8em;
  margin: 0 0.5em;
}

.add-field,.remove-field {
  font-size: 0.8em;
}

.add-field {
  margin: 1em 0;
}

.form-buttons {
  clear: both;
}




.sub-nav-buttons {
  display: inline;
  margin: 0 0 0 1em;
}
.sub-nav-buttons input {
  margin-right: 0.5em;
}

tr.checked td {
  background: #FFFFCE;
}

.js-link {
  cursor: pointer;
  text-decoration: underline;
  color: #E7850A;
} 
.search-results .js-link {
  text-decoration: none;
  color: black;
}

td.checkbox {
  white-space: nowrap;
}

#view-what ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#compound-document-contents {
    background-color: white;
    padding: 0px;
    border: 3px solid #dfdfce;
}
#compound-document-contents h2 {
    background-color:  #e0ebeb;
    border-bottom: 2px solid  #cad9d9;
    padding: 2px;
    margin: 0;
    text-align: center;
    font-size: 1.1em;
}
#compound-document-contents ol {
  margin: 0;
    padding: 0.5em 0.5em 0.5em 3em;
}
#compound-document-contents .previous-next {
    background-color:  #e0ebeb;
    border-top: 2px solid  #cad9d9;
    padding: 0.5em;
}
#compound-document-contents .previous-next .previous-item {
    float: left;
    width: 49%;
}
#compound-document-contents .previous-next .next-item {
    float: right;
    width: 49%;
    text-align: right;
}

#my-favourites .favourites-count {
    padding-left: 27px;
    padding-top: 0;
    padding-bottom: 0;
    height: 22px;
    margin-left: 1em;
    margin-top: 1em;
}

#iframescroll {
    width: 100%;
    height: 500px;
}
