body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
/*
input,
select,
textarea {
    max-width: 280px;
}*/

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.coll-xml {
  background-color: lightgoldenrodyellow;
  color: darkred;
}
.coll-date {
  font-size: x-small;
  color: darkblue;
}
.coll-funder {
  font-size: x-small;
  color: darkblue;
}

/* My own modifications */
a.list-group-item-info:hover {
  background-color: lightyellow !important;
}
table tbody tr:hover {
  background-color: lightyellow !important;
}

/*
div.inline-group a.add-related {
    visibility: hidden;
} */

/* Override the default values on 'forms.css' */
.inline-group .tabular td.original p {
  height: 1.5em;
}

.submit-row a.deletelink {
  height: 35px;
}

.djn-group-nested h2 {
    background-color:lightseagreen !important;
}

.djn-inline-form fieldset h2 {
    background-color: forestgreen;
}

.collection-resource-closed {
  display: none;
}
.collection-resource-open {
  display: block;
}


/* navbar */
.navbar-custom {
    background-color: blue;
    border-color: blue; /* darkblue; */
}
/* title */
.navbar-custom .navbar-brand {
    color: lightblue;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
    color: sandybrown;
}
/* link */
.navbar-custom .navbar-nav > li > a {
    color: white;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    color: lightblue;
    background-color: darkblue;
}
.navbar-custom .navbar-nav > .active > a, 
.navbar-custom .navbar-nav > .active > a:hover, 
.navbar-custom .navbar-nav > .active > a:focus {
    color: lightblue;
    background-color: darkblue;
}
.navbar-custom .navbar-nav > .open > a, 
.navbar-custom .navbar-nav > .open > a:hover, 
.navbar-custom .navbar-nav > .open > a:focus {
    color: #ffe6d1;
    background-color: #D5D5D5;
}
/* caret */
.navbar-custom .navbar-nav > .dropdown > a .caret {
    border-top-color: #ecf0f1;
    border-bottom-color: #ecf0f1;
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #ffe6d1;
    border-bottom-color: #ffe6d1;
}
.navbar-custom .navbar-nav > .open > a .caret, 
.navbar-custom .navbar-nav > .open > a:hover .caret, 
.navbar-custom .navbar-nav > .open > a:focus .caret {
    border-top-color: #ffe6d1;
    border-bottom-color: #ffe6d1;
}
/* mobile version */
.navbar-custom .navbar-toggle {
    border-color: #d35400;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #d35400;
}
.navbar-custom .navbar-toggle .icon-bar {
    background-color: #ecf0f1;
}
@media (max-width: 767px) {
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
        color: #ecf0f1;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ffe6d1;
        background-color: #d35400;
    }
}

#header  .navbar-custom  .open .dropdown-menu li  a:link,
#header  .navbar-custom  .open .dropdown-menu li  a:visited {
  color: black !important;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -48px;
}

.form-row .object-tools {
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
    height: 2em;
    padding-left: 3.5em;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 15px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    padding: 3px 12px;
    background: #999;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.object-tools a:focus, .object-tools a:hover {
    background-color: #417690;
}

.object-tools a:focus{
    text-decoration: none;
}

.object-tools a.viewsitelink, .object-tools a.golink,.object-tools a.addlink {
    background-repeat: no-repeat;
    background-position: 93% center;
    padding-right: 26px;
}

.object-tools a.viewsitelink, .object-tools a.golink {
    background-image: url(../img/tooltag-arrowright.svg);
}

.object-tools a.addlink {
    background-image: url(../img/tooltag-add.svg);
}

div .information, span .information {
  font-family: monospace;
  font-size: small;
  color: darkblue;
}
span.obl {
  font-size: x-small;
  color: darkblue;
  font-family: monospace;
  position: relative;
  bottom: 0.3em;
  margin-left: 0.5em;
}

div.alert {
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 2px;
}

body > div > footer {
  height: 18px;
  padding-top: 4px;
  background: darkblue;
  color: white;
  font-size: x-small;
  position: fixed;
  bottom: 0px;
  width: 100%;
  text-align: center;
}
body > div > footer a {
  color: lightblue;
  position: relative;
  z-index: 1000;
}

.closed-list {
  background-color: whitesmoke;
  color: darkblue;
  font-family: monospace;
  font-size: small;
}

/* using BASIC */
.tdnowrap {
    white-space: nowrap !important;
}

/* Colors of jumbo parts */
.jumbo-1 {
    background-color: lavender;
    color: chocolate;
    fill: lavender;
}

    .jumbo-1 text {
        fill: goldenrod;
    }

    .jumbo-1.active {
        background-color: lightgray;
        color: saddlebrown;
    }

.jumbo-2 {
    background-color: chocolate;
    color: lavender !important;
    fill: chocolate;
}

.jumbo-3 {
    background-color: #355e3b;
    color: lavender !important;
    fill: #355e3b;
}

.jumbo-4 {
    background-color: #ff2400;
    color: lavender !important;
    fill: #ff2400;
}

.jumbo-5 {
    background-color: blue;
    color: white !important;
    fill: white;
}

    .jumbo-2 text, .jumbo-3 text, .jumbo-4 text, .jumbo-5 text {
        fill: lavender;
    }

.jumbo-1:hover {
    color: black;
    background-color: goldenrod;
    fill: goldenrod;
    cursor: pointer;
}

    .jumbo-1:hover text {
        fill: black;
    }

.jumbo-2:hover, .jumbo-3:hover, .jumbo-4:hover {
    color: white;
    background-color: goldenrod;
    fill: goldenrod;
    cursor: pointer;
    /* stroke: white; */
}

.jumbo-5:hover {
    color: white;
    background-color: darkblue;
    fill: lightblue;
    cursor: pointer;
}

/* What to do when the button is disabled */
.jumbo-1:disabled, .jumbo-2:disabled, .jumbo-3:disabled, .jumbo-4:disabled, .jumbo-5:disabled {
    color: lightgray;
    background-color: darkgray;
    fill: darkgray;
    cursor: wait;
}

/* Patch for Google Chrome */
/* */
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1.5; /* This is the correct measure for btn-xs */

    -webkit-font-smoothing: antialiased;
    /*-moz-osx-font-smoothing: grayscale; */
}

/* If the remove glyphicon is *not* in a button, it should be aligned differently */
a:not(.btn) span.glyphicon-remove {
    padding-left: 5px;
    margin-right: -8px;
}

.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

