/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4; */

/**
 * CSS for Neatline. Shared by editor and public instantiations.
 *
 * PHP version 5
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
 * applicable law or agreed to in writing, software distributed under the
 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
 * OF ANY KIND, either express or implied. See the License for the specific
 * language governing permissions and limitations under the License.
 *
 * @package     omeka
 * @subpackage  neatline
 * @author      Scholars' Lab <>
 * @author      Bethany Nowviskie <bethany@virginia.edu>
 * @author      Adam Soroka <ajs6f@virginia.edu>
 * @author      David McClure <david.mcclure@virginia.edu>
 * @copyright   2011 Rector and Board of Visitors, University of Virginia
 * @license     http://www.apache.org/licenses/LICENSE-2.0.html Apache 2 License
 */


/* Layout */

#neatline {
    position: relative;
    height: 600px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 18px;
    color: #404040;
}

.neatline-block {
    display: none;
    position: absolute;
}

table th, table td {
    padding: 10px 6px 9px;
}

.neatline-bar {
  background-color: hsl(272, 11%, 25%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#73667f", endColorstr="#403846");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#73667f), to(#403846));
  background-image: -moz-linear-gradient(top, #73667f, #403846);
  background-image: -ms-linear-gradient(top, #73667f, #403846);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #73667f), color-stop(100%, #403846));
  background-image: -webkit-linear-gradient(top, #73667f, #403846);
  background-image: -o-linear-gradient(top, #73667f, #403846);
  background-image: linear-gradient(#73667f, #403846);
  border-color: #403846 #403846 hsl(272, 11%, 20%);
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
  -webkit-font-smoothing: antialiased;
}

.h-drag, .v-drag {
    position: absolute;
    display: none;
    z-index: 999;
}

.h-drag {
    cursor: col-resize;
    margin: 0 4px 0 0;
}

.h-drag:hover {
    border-left: 1px dashed #7e3434;
}

.v-drag {
    cursor: ns-resize;
}

.v-drag:hover {
    border-top: 1px dashed #7e3434;
}


/* Filters */

.topbar div > ul, .nav {
  display: block;
  float: right;
  margin: 0 20px 0 20px;
  position: relative;
  left: 0;
  height: 100%;
}

.topbar div > ul > li, .nav > li {
  display: block;
}

.topbar div > ul a, .nav a {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 20px !important;
  padding: 8px 15px 11px 15px;
  display: block;
  float: none;
  line-height: 19px;
  text-decoration: none;
  cursor: pointer;
  color: #f9f9f9;
  z-index: -99 !important;
  margin: 0 0 0 0;
}

.topbar div > ul a:hover, .nav a:hover {
  color: #fff;
  text-decoration: none;
}

.topbar div > ul a.open, .nav a.open {
  background: rgba(255, 255, 255, 0.05);
}


/* Map */

.olControlLayerSwitcher .maximizeDiv, .olControlLayerSwitcher .minimizeDiv {
    top: 10px !important;
}

div.title-tip {
    font-family: 'Crimson Text';
    display: none;
    position: absolute;
    bottom: 30px;
    right: 20px;
    z-index: 999;
    font-size: 24px;
    color: #fff;
    background-color: #424242;
    padding: 8px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

#opacity-slider {
    height: 200px;
    position: absolute;
    bottom: 100px;
    right: 20px;
    z-index: 2000;
}


/* Timeline */

#timeline {
    z-index: 0;
    opacity: 0.9;
}

#timeline:hover {
    opacity: 1;
}

.popover {
    opacity: 0;
}

.popover .content {
    white-space: pre-wrap;
}

.popover h3.title-text {
    line-height: 22px;
}

.popover a.close {
    float: right;
    display: block;
    margin: 2px 0 0 10px;
    font-weight: bold;
    font-size: 1.3em;
}

.popover a.close:hover {
    color: #F0B925;
    text-decoration: none;
}

#zoom-buttons {
    display: block;
    position: absolute;
    top: 10px;
    left: 17px;
    height: 36px;
    width: 18px;
    z-index: 999;
}

#zoom-buttons div {
    display: block;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

#zoom-buttons .zoom-in {
    background-image: url('../images/zoom_in.png');
}

#zoom-buttons .zoom-out {
    background-image: url('../images/zoom_out.png');
}


/* Items */

#items {
    background-color: #fff;
    z-index: 10;
    opacity: 0.9;
    overflow-y: scroll;
}

#items:hover {
    opacity: 1;
}

#items::-webkit-scrollbar {
    width: 7px;
    height: 9px;
    background-color: #fff;
}

#items::-webkit-scrollbar-thumb {
    background: #584561;
}

#items-container {
    list-style: none;
    margin: 0;
    padding: 0;
}

#items-container li {
    cursor: pointer;
}

#items-container li.item-title {
    pointer: cursor;
    font-size: 17px;
    padding: 6px 20px;
    line-height: normal !important;
    border-top: 1px solid #cdcdcd;
    font-family: 'Crimson Text';
}

#items-container li.item-title:hover {
    background-color: #eaeaf7;
}

#items-container li.item-title.selected {
    background-color: #80658d;
    color: white;
}

#items-container li.item-description {
    display: none;
    font-size: 15px;
    margin-bottom: 1em;
    line-height: 1.4em;
    color: #616161;
    padding: 5px 20px 0 20px;
    height: 0;
    overflow: hidden;
    font-family: 'Crimson Text';
}


/* Scroller */

#scroll {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 999;
}

#scroll .arrow-left, #scroll .arrow-right {
    display: inline;
    font-size: 90px;
    cursor: pointer;
    font-family: Trykker;
    padding: 0 15px 0 15px;
}


/* Bubbles */

div.bubble-container {
    z-index: 999;
    position: absolute;
    background-color: black;
    color: white !important;
    max-width: 300px;
    opacity: 0.7;
    padding: 10px 20px 10px 20px;
}

div.bubble-container.frozen {
    padding-bottom: 20px;
    opacity: 0.8;
}

div.bubble-container a, div.bubble-container a:visited {
    color: white !important;
}

div.bubble-container::-webkit-scrollbar {
    width: 7px;
    height: 9px;
    background-color: #3a3a3a;
}

div.bubble-container::-webkit-scrollbar-thumb {
    background: white;
}

div.bubble-container h2,
div.bubble-container h3 {
    color: #e1e1e1;
}

div.bubble-container div.element-text {
    margin-bottom: 1em;
}

div.bubble-container div.title {
    font-weight: bold;
}

div.bubble-container div.body {
    display: none;
}

div.bubble-container div.click-for-info
{
    font-style: italic;
    font-size: 0.9em;
}

div.bubble-container a.close-bubble,
div.bubble-container a.freeze-bubble
{
    display: none;
    color: white;
    margin: 0 0 5px 0;
    text-decoration: none;
    font-style: italic;
}

div.bubble-container a.close-bubble:hover,
div.bubble-container a.freeze-bubble:hover
{
    text-decoration: underline;
}

div.bubble-container a.freeze-bubble {
    opacity: 0.3;
}

div.bubble-container a.close-bubble {
    display: none;
}

div.bubble-container span.close-x {
    font-style: normal;
}

a.item-dc-link {
    color: white;
    font-style: italic;
}

div.bubble-container.frozen a.freeze-bubble,
div.bubble-container.frozen div.click-for-info {
    display: none;
}

div.bubble-container.frozen a.close-bubble,
div.bubble-container.frozen div.body {
    display: block;
}

div.bubble-container.frozen div.title {
    font-size: 1.4em;
    margin-bottom: 0.4em;
    line-height: 1.2em;
}

div.bubble-container.frozen.no-body div.title {
    font-size: 1em;
    line-height: 1em;
    margin: 0;
}

#neatline .timeline-container:after {
  content: "";
  position:absolute;
  top:0;
  left: 50%;
  width: 0;
  height: 100%;
  border-left: 1px dotted rgb(190, 160, 10);
  z-index:1000;
}
