/*
 * Link colors
 */

ul.tabbed-nav li a:hover,
ul#thumbnail-nav li a:hover{
  zoom: 1;
  filter: alpha(opacity=70);
  opacity: 0.7;
}


/*
 * Enriched sidemenu
 */

.table,
.figure,
.textbox {
  border-style: solid;
  border-width: 1px;
}


/*
 * Table sorter
 */

.js table.table-sortable thead tr .header a{
  background-image: url(../images/content/th-sortable.gif);
  background-repeat: no-repeat;
  background-position: center right;
}
.js table.table-sortable thead tr .headerSortUp a{
  background-image: url(../images/content/th-sort-asc.gif);
}
.js table.table-sortable thead tr .headerSortDown a{
  background-image: url(../images/content/th-sort-desc.gif);
}


/*
 * aim-loading
 */

.aim-loading {
  background: transparent url('../images/content/spinner.gif') no-repeat center center;
}


/*
 * aim-crossref-zoom link
 */

.aim-cross-ref-zoom{
  background: url(../images/content/window-zoom.png) no-repeat transparent;
}


/*
 * aim-crossref-window
 */

div.aim-crossref-window {
  background: #ffffff;
  border: 4px solid #d8d8d8;
  box-shadow: 0 0 20px #555;
}
    div.aim-crossref-window div.aim-crossref-window-drag-bar:hover {
      background-image: url('../images/content/window-header.gif');
      background-repeat: no-repeat;
      background-position: left top;
    }

    div.aim-crossref-window a.aim-crossref-window-close {
      background: url('../images/content/window-close.png') no-repeat;
    }


/*
 * aim-crossref-popup
 */

span.aim-crossref-popup {
  border: 4px solid #d8d8d8;
}
    span.aim-crossref-popup span.aim-crossref-popup-inner-wrapper {
      background: #ffffff;
    }
    span.aim-crossref-popup a.close {
      background: url('../images/content/window-close.png') no-repeat;
    }


/*
 * Table-sortable
 */

table.table-sortable th a {
  background: url('../images/content/th-sortable.gif') no-repeat right 5px;
}
table.table-sortable th.table-th-sort a {
  background-image: url('../images/content/th-sort-asc.gif');
}
table.table-sortable th.table-th-sort-rev a {
  background-image: url('../images/content/th-sort-desc.gif');
}


/*
 * Back references container
 */

div.context-container {
  background: #eee;
}
div.context-container,
a.image-thumbs,
.btn-download-file {
  border-style: solid;
  border-width: 1px;
}

/*
 * Overflow nav on tables
 */

.overflownav {
  background: url(../images/content/overflow-nav-left.png) repeat-y -20px -20px;
}

.overflownav:hover{
  background-position: 5px -20px;
}
.overflownav.right{
  background: url(../images/content/overflow-nav-right.png) repeat-y 8px -20px;
}
.overflownav.right:hover{
  background-position: -18px -20px;
}

.overflownav.disabled{
  background: none;
}


/*
 * Article formats
 */

ul.article-formats.reset{
    margin: 12px 0;
    width: 100%;
}

    ul.article-formats li{
        float: left;
        margin: 0 0 12px 0;
    }

        ul.article-formats li a{
            margin-right: -1px;
            padding: 0px 7px;
            line-height: 16px;
            display: block;
            text-decoration: none;
            font-size: 9px;
            text-transform: uppercase;
            white-space: nowrap;
        }

/*
 * Article list
 */

ul.article-list .list-lead{
    margin-left: 80px;
}

li ul.article-list li:first-child .date,
ul.article-list .date{
    position: absolute;
    left: 0;
    top:18px;
    display: inline-block;
    font-size: 12px;
    line-height: 18px;
    padding: 0 4px;
    vertical-align: top;
    margin: 3px 0 0 0;
    border-radius: 4px;
    text-align: center;
    width: 50px;
}

li ul.article-list li:first-child .new-button,
ul.article-list .new-button{
    position: absolute;
    left: 0;
    top: 46px;
    width: 50px;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    padding: 1px 4px;
}

ul.article-list li:first-child .date{
    top:0;
}
ul.article-list li:first-child .new-button{
    top:28px;
}

ul.reset,
ol.reset {
    margin:0 0 20px 0;
    padding:0;
    list-style: none;
}


/*
 * Article teaser margin fix
 */

h3#abstract-teaser {
    margin-top: 20px;
}


/*
 * Article reference font-style fix
 */

.reference-txt {
    font-style: normal;
}


/*
 * Article reset margin-top fix
 */

.enriched-article h4:first-child {
  margin-top: 20px;
}

.enriched-article h3 + p, .enriched-article h4 + p, .enriched-article h5 + p, .enriched-article h6 + p {
  margin-top: 10px;
}

.enriched-article .references ul.reset {
  margin-top: 10px;
}

.enriched-article p + .tabwrapper {
  margin-top: 18px;
}

/* alt-text for figures and tables */
.alt-text {
    display: none;
}

/* references */
.references ul ul {
    margin-left: 20px;
}

/**
 * Added CSS for larger tables.
 */
.node-type-els-article div.content-overflow {
  overflow-x: scroll;
}
