/*******************************************************************************
 * Copyright (c) 2014, 2015 Jens Reimann.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Jens Reimann - initial API and implementation
 *******************************************************************************/
 
.page-header {
	margin-top: 0px;
}

h1 {
	margin-top: 10pt;
}
 
ul.validation-error {
     margin: 0px;
}

.navbar-brand > img {
	margin-top: -5px;
}

.navbar-link > span.badge {
	/* fix an issue with the navbar */
	margin-bottom: -3px;
}

.navbar img.gravatar {
	margin-top: -5px;
	margin-bottom: -5px;
}

ul.validation-error li {
	color: red;
	display: inline-block;
	border: 1pt solid #EE5555;
	background: #FFEEEE;
	padding: .4em;
	border-radius: 3pt;
	margin-right: 1em;
}

.form-padding {
	padding-top: 1em;
}

/* tables */

tr.table-row-additional > td  {
	border-top: 0 !important;
}

/* breadcrumbs */

.breadcrumb-compact {
	margin-bottom: 0px;
}

/* boxes */

.box {
	margin: 1em;
}

/* button bar */

.button-bar {
	padding-left: 1em;
	padding-bottom: .4em;
	margin-bottom: 1em;
}

#breadcrumbs {
	margin-left: 1em;
	margin-right: 1em;
}

.button-bar {
	border-bottom: 1px solid #EEE;
	padding-bottom: 1em;
}

/* sticky footer */

html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 60px;
}

#footer {
	position: absolute;
  	bottom: 0;
	width: 100%;
	height: 60px;
	
	border-top: 1px solid #EEE;
	
	padding-top: 20px;
	font-size: small;
	background: #FAFAFA;
	color: #888;
}

footer a {
	color: inherit;
}

footer a:hover,
footer a:active,
footer a:focus {
    color: inherit;
}

/* details */

.details {
	font-size: large;
}

.details-heading  {
	border-bottom: 1px solid #EEE;
	padding-bottom: .5em;
}

img.gravatar {
	margin-left: .5em;
	margin-right: .5em;
}

/* panel */

.panel pre {
	border: none;
	background: white;
	margin-bottom: 0;
}

/* link lists */

.link-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

ul.link-list > li {
	display: inline-block;
	padding-right: .5em;
}

ul.link-list > li:not(:last-child):after {
    content: ' - ';
}

/* forms */

.optional label.control-label {
	font-style: italic;
}

/* tables */

table.table-properties {
	table-layout: fixed;
}

table.table-properties th,
table.table-properties td {
	width: 50%;
} 

/* dependency lists */

ul.dependency-list {
    display: inline-block;
    padding: 0;
}

ul.dependency-list li {
    display: inline;
}

ul.dependency-list > li:not(:last-child):after {
    content: ', ';
}

/* tags */

.drone-tag-list-form ul.drone-tag-list-content {
	padding-top: 3px;
}

.drone-tag-list ul {
	padding: 0px;
	display: block;
}

.drone-tag-list [draggable] {
	cursor: move;
}

.drone-tag-list-item.drone-tag-dragging {
	opacity: 0.5;
}

.drone-tag-list-item * {
	pointer-events: none;
}

.drone-tag-list-item button {
	pointer-events: all;
}

.drone-tag-list-item.drone-tag-over {
	background-color: #A7A7A7;
}

.drone-tag-list-item {
	border: 2px hidden;
	display: inline-block;
	background-color: #E7E7E7;
	border-radius: 4px;
	padding-left: 0.5em;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 0.5em;
	margin-right: .5em;
}

.drone-tag-list-item .close {
	margin-top: -2px;
	padding-left: 0.2em;
}

/* Overlay */

.drone-overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 100;
  
  background-color: black;
  opacity: 0.5;
}

.drone-overlay-content {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 110;
  padding-top: 3em;
  
  opacity: 1.0;
}
