/*!
 * Custom project styles
 */

/* For text background colour, mirrors bootstrap status colours */
span.success{background-color: #dff0d8;}
span.error{background-color: #f2dede;}
span.warning{background-color: #fcf8e3;}
span.info{background-color: #d9edf7;}
span.selected{background-color: #FFFF99;}

/* Overide bootstrap style to remove the extra space in between a fieldset legend and the first control group */
legend+.control-group{
    margin-top:0px;
}

.table-no-lines th, .table-no-lines td { 
    border-top: none; 
}

.commands {
    font-size: 26px;
    padding: 4px 12px;
}

i.active {
    color: darkgreen;
}

i.inactive {
    color: darkred;
}

i.important {
    color: firebrick;
}

i.subdued {
    color: #B8B8B8;
}

i.warning {
    color: #b58603;
}

i.error {
    color: #b94a48;
}

ul.errorlist {
    list-style-type: none;
    margin-left: 0px;
}

div.filter-accordion {
    margin-bottom: 0px;
}

th.middle, td.middle{
    text-align:center;
    vertical-align:middle;
    width: 30px;
}

th.right, td.right{
    text-align:right;
}

.ol-map {
    width: 512px;
    height: 512px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

@media (min-width: 800px) {
    .modal.jobbook-modal-large {
        width: 80%; 
        margin-left:-40%; 
    }
}

.close.jobbook-close{
    font-size: 16px;
}

.well.jobbook-well-transparent{
    background-color: transparent;
}

.jobbook-form-inline-span{
    padding: 5px 0px 5px 0px;
}

.jobbook-table-nonfluid {
    width: auto;
}

.jobbook-details-text{
    white-space: pre-wrap;
}

.jobbook-extra-muted{
    color: #E8E8E8;
}

form.jobbook-wrapper-form{
    margin: 0 0 0 0;
}

table.jobbook-table th{
    white-space: nowrap;
}

table.jobbook-table-plain td, table.jobbook-table-plain th{
    border-top: none;
    padding: 0px 4px 0px 4px;
}

.jobbook-table-widget tr td:first-child{
    text-align:center;vertical-align:middle;
}
.jobbook-table-widget tr th:first-child{
    text-align:center;vertical-align:middle;
}

td.actions{
    text-align:center;vertical-align:middle;white-space: nowrap;
}

tr.jobbook-header-row{
    background: #E8E8E8;
}

tr.jobbook-sub-header-row{
    background: #F8F8F8;
}

th.jobbook-header-cell, td.jobbook-header-cell{
    background: #E8E8E8;
}

th.jobbook-sub-header-cell, td.jobbook-sub-header-cell{
    background: #F8F8F8;
}

tr.jobbook-highlight-row{
    background: #FFFF99;
}

.table tbody tr.jobbook-mute-row > td > span {
    opacity: 0.6;
}

div.jobbook-outline{
    border: 1px solid orange;
}

input.jobbook-input-table, select.jobbook-input-table, span.jobbook-input-table{
    margin-bottom: 0px
}

span.jobbook-form-error, span.jobbook-form-error input, span.jobbook-form-error select, span.jobbook-form-error textarea{
    border-color: #b94a48;
    color: #b94a48;
    white-space:nowrap;
}

.jobbook-bar-grey {
    background-image: none !important;
    background-color: #f5f5f5 !important;
    color: black !important;
    text-shadow: none !important;
}

input.jobbook-input-xsmall {
    width: 40px;
}

div.jobbook-typeahead-wrapper{
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}

.jobbook-nowrap {
    white-space: nowrap;
}

tr.jobbook-unread {
    font-weight: bold;
}

input.jobbook-input-remove-margins {
    margin: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

tr.jobbook-trans-table-row {
    opacity: 0.6;
}

span.jobbook-ajax-editable-value {
    color: #0088cc;
}

span.jobbook-ajax-editable-value:hover {
    cursor: pointer;
    color: #005580;
    border-bottom: dashed 1px #005580;
}

span.jobbook-ajax-viewable-value {
    color: #0088cc;
}

span.jobbook-ajax-viewable-value:hover {
    cursor: pointer;
    color: #005580;
    border-bottom: dashed 1px #005580;
}

.jobbook-login-notice {
    position: relative;
    margin: 15px 0;
    padding: 39px 19px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.jobbook-login-notice:after {
    content: "Notice";
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #9da0a4;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;
}

/* wizard breadcrumbs */
.wizard div {
    padding: 10px 12px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #efefef;
    position: relative;
    display: inline-block;
}
.wizard div:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}
.wizard div:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #efefef;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}
.wizard div:first-child:before,
.wizard div:last-child:after {
    border: none;
}
.wizard div:first-child {
    -webkit-border-radius: 4px 0 0 4px;
       -moz-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
}
.wizard div:last-child {
    -webkit-border-radius: 0 4px 4px 0;
       -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
}
.wizard .badge {
    margin: 0 5px 0 18px;
    position: relative;
    top: -1px;
}
.wizard div:first-child .badge {
    margin-left: 0;
}
.wizard .current {
    background: #0088cc;
    color: #fff;
}
.wizard .current:after {
    border-left-color: #0088cc;
}
.wizard .done {
    background: #0088cc;
    color: #fff;
}
.wizard .done:after {
    border-left-color: #0088cc;
}

/* openlayers */

/* ignore missing tiles, i.e., no pink tiles */
.olTileImage.olImageLoadError {
    display: none !important;
}
/* needed due to bootstrap/openlayers conflict */
.ol-map img {
    max-width: none;
}
/* fix the openlayers layer switcher control */
.olControlLayerSwitcher .layersDiv {
    border-radius: 10px 0 0 10px;
    background-color: rgba(0, 60, 136, 0.5);
    /*line-height: 13px;*/
}
.olControlLayerSwitcher .layersDiv  label{
    display: inline;
    padding-left: 5px;
    vertical-align: baseline;
}
.olControlLayerSwitcher .layersDiv  input{
    vertical-align: baseline;
}
/* add button style */
.olControlEditingToolbar  .DeleteFilterItemInactive  {
  background-image: url("../img/ol_delete_button.png");
  background-repeat: no-repeat;
}
/* get the attribution out of the way */
.olControlAttribution {
    bottom: 1px !important;
}
/* add transparency to the layer switch image */
#OpenLayers_Control_MaximizeDiv_innerImage {
    opacity: 0.50;
    /*filter: alpha(opacity = 50);*/
}

/* selectize.js */

.selectize-input {
    width: 220px;
    min-height: 30px;
    padding: 4px 6px;
}

.selectize-control.single .selectize-input:after {
    right: 4px;
}