/* :folding=explicit: */

@media (min-width: 980px) {
  body {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

body {
  font-size: 13px;
}

/* SIDEBAR 
--------------------------------------------------*/

.sidebar-nav {
  padding: 9px 0;
}

li.nav-header {
color: #666;
position: relative;
}
.nav-header-icons {
text-align: right;
position: absolute;
right: 10px;
top: 0;
}

/*.nav-header-icons .btn-mini {
padding: 2px 1px 2px 2px;
margin: 0 2px;
}*/


/* Footer
-------------------------------------------------- */
.footer {
  margin-top: 12px;
  padding: 24px 0 24px;
  border-top: 1px solid #e5e5e5;
}
.footer ul {
  list-style-type: none;
  display: inline-block;
}

/** LOGO **/
.navbar .brand {
  background: transparent url(../images/logo_penelope.png) no-repeat left top;
  text-indent: -99999em;
  padding:0;
  margin:-10px 0 0 0;
  width: 217px;
  height: 48px;
  overflow:  hidden;
  position: relative;
  top:10px;
  left:-20px;
}
.navbar-fixed-top .navbar-inner {
  min-height: 30px;
}
/** responsive **/
@media (max-width: 980px) {
  .navbar .nav-collapse {
    left: 75px;
  }
  .navbar .nav-collapse.in {
    
  }
  .navbar .brand {
    left: -25px;
    margin-top: -15px;
  }
}


iframe #docs-chrome {
  display: none;
}


/* leave enough space for feedback */
body .modal-body {
  max-height: 600px;
}

.highlight {
  padding: 1px 3px;
  background-color: #FEE9CC;
}


/*
**  ====================
**  GENERIC FORM STYLING
**  ====================
*/


.ui-datepicker-trigger {
  /* calendar icon */
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.ui-datepicker-title {
  /* draggable */
  cursor: pointer;
}

/* Bootstrap's text areas are very small */
body textarea {
  width: auto;
}



/* ----- Inline forms ----- */

.form-inline .control-group,
.form-inline .controls {
  display: inline;
}

.form-inline input.hasDatepicker {
  width: auto;
}

.form-inline {
  /* space between lines of widgets */
  line-height: 38px;
}

.form-inline select {
  /* width of non-chosen select elements */
  width: auto;
}


/*
 * Deform required flag
 */

span.req {
  font-weight: bold;
  color: #B94A48;
}



/*
 * Popover has a fixed width, hypenate at will
 */

.popover-content {
  word-break: break-all;
}


/*
**  =====================
**  SPECIFIC FORM STYLING
**  =====================
*/


/* --- Login --- */

#login-form {
  background-color: #fafafa;
}

#login-form .btn-small {
  padding: 11px 9px;
}

#login-form .btn-large {
  font-weight: bold;
}


/* ----- "Custom/Customer" report form ----- */

form#report-customer div[data-deform-name="users"]:before {
  /* form fields that should begin a new line */
  content: " ";
  display: block;
}


/*
 *
 * All tables that contain time entries or reports.
 *
 */

table.time-entries {
  color: black;
}

table.time-entries tbody th {
  border-right: 1px solid #e8e8cc;
}

table.time-entries tbody tr:nth-child(2n+1) th,
table.time-entries tbody tr:hover th {
  background-color: white;
}

@media only screen and (max-width: 1024px) {
    table.table-search td:nth-child(5),
    table.table-search th:nth-child(5),
    table.table-search td:nth-child(6),
    table.table-search th:nth-child(6)
    {display: none;}
}

@media only screen and (max-width: 640px) {
    table.table-search td:nth-child(1),
    table.table-search th:nth-child(1),
    table.table-search td:nth-child(4),
    table.table-search th:nth-child(4)
    {display: none;}
}

div#results dt{
  margin: 1.5em 0 0;
}
div#results dt.ticketclosed a{
  color: gray;
}

div#results .author{
  color: #090;  
}

div#results dd{
  font-size: 0.9em;
  margin: 0.2em 1em;
}


/* XXX unused? */

#scorebar {
   background-image: url(../images/bg_strength_gradient.jpg);
   background-repeat: no-repeat;
   background-position: 0 0;
   position:absolute;
   width: 100px;
   z-index: 0;
}

#scorebarBorder {
   background: #333;
   height: 16px;
   margin-bottom: 2px;
   width: 100px;
}

#score {
    color: #000;
    font-size: 85%;
    position:absolute;
    text-align: center;
    width: 100px;
    z-index: 10;
}
.notifications .dropdown-menu {
}
.notifications .dropdown-menu a {
  padding: 8px 12px 8px 8px;
}
.notifications .dropdown-menu .divider {
  margin: 1px;
}
#notification-items {
  width: 300px;
}
#notification-spinner {
  text-align: center;
  padding: 8px 0px 11px;
}
.notifications .notification-item {
  position: relative;
}

.notification-item.unseen {
  background-color: #ddd;
}

.notifications .notification-item a {
  min-height: 50px;
}
.notifications .notification-item.unread {
  background: rgba(200,200,200,0.2);
}
.notifications .notification-item .avatar {
  width: 50px; 
  height: 50px; 
  float: left; 
  margin-right: 8px; 
}
.notifications .notification-item .message {
  margin-left: 58px;
  white-space: normal;
  line-height: 16px;
}
.notifications .notification-item .timestamp {
  font-size: 11px;
  color: #999;
}
.notifications .notification-item .deletelink {
  position: absolute;
  top: 3px;
  right: 3px;
  color: #999;
  padding: 0px;
  display: inherit;
  min-height: initial;
  text-align: center;
  padding: 2px 4px 5px 5px;
  line-height: 10px;
}

.notifications .notification-empty {
  padding: 8px 0px 11px;
}
.notifications .notification-empty ,
.notifications .notification-button {
  text-align: center;
}
.notifications .notification-button a {
  padding: 5px 0px;
}
.notifications .notification-counter {
  color: white;
  font-size: 9px;
  font-weight: bold;
  position: absolute;
  top: -5px;
  right:-6px;
  z-index: 101;
  background-color: #F03D25;
  border: 1px solid #D83722;
  border-bottom: 1px solid #C0311E;
  border-top: 1px solid #E23923;
  -webkit-border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 39, 121, .77);
  display: block;
  padding: 0px 2px 0px 1px;
  height: 14px;
  line-height: 14px;
}
