html {
    background: #ddd;
}

h1 {
  font-size: 2em;
}

body {
  padding-top: 70px;
}

.navbar {
    background-color: #003e69;
    color: White;
}

.navbar .navbar-toggle {
border-color: #ddd;
}

@media screen and (max-width: 984px) {
  .navbar > .container {
    width:100%;
  }
}

.navbar .navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 2px;
}

.navbar-brand > img {
    width: auto;
    max-height: 100%;
}

@media screen and (max-width: 885px) {
  .navbar-nav > li > a {
    padding:10px 5px;
  }
}
.navbar-nav > li > a {
    color: White;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 5px;
}
@media screen and (max-width: 1180px) and (min-width: 768px) {
  .nav .user-login-title {
    display: none;
  }
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    border-color: #eee;
}

.navbar-nav > li > a:focus, .navbar-nav > li > a:hover {
    color: Black;
}
@media screen and (max-width: 1068px) and (min-width: 768px) {
  .navbar-form input {
    max-width: 130px;
  }
}

.navbar-form > .btn {
    color: Black;
}

.navbar-form > .btn:focus, .navbar-form > .btn:hover {
    color: White;
    border: 1px solid #eee;
    background: #003e69;
}

.navbar-form > div > .form-control:focus {
    border-color: #eee;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(221, 221, 221, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(221, 221, 221, .6);
}

nav .dropdown {
  z-index:25000;
}

footer {
    text-align: center;
    background: #ddd;
}

footer > div > ul > li {
    list-style: none;
}

.partners > ul > li {
    display: inline;
}

.table td {
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
}

tbody>tr:hover {
    background: rgba(0,62,105,.075)!important;
}

.container {
    width: 90%;
}

#content {
    padding-bottom: 15px;
}

fieldset {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}

fieldset label {
    font-style: italic;
}

.formset fieldset {
    margin-left: 30px !important;
    margin-right: 30px !important;
}

legend {
    margin-left: -15px;
    padding-right: 5px;
    border: 0;
    width: auto;
}

table > thead > tr > th.control-label {
    text-align: center !important;
}

table > tbody tr > th:last-child {
    text-align: center;
    vertical-align: middle;
}

/* Make floating header non-transparent */
table.floatThead-table {
    border-bottom: none;
    background-color: #FFF;
}

.glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.oid-tree .title {
    background: #f5f5f5;
    margin-bottom: 10px;
}

.oid-tree .row:hover:not(.title) {
    background: rgba(0,62,105,.075)!important;
}

.oid-tree .row {
    padding-top: 1px;
    padding-bottom: 1px;
}

table.oid-name {
    width: auto;
    table-layout: fixed;
}

table.oid-name td {
    overflow: hidden;
    word-wrap: anywhere;
    vertical-align: top;
}

table.oid-name tr > td:last-of-type {
    word-wrap: break-word;
}

@media screen and (max-width: 768px) {
  nav .input-search {
    width: 70%;
    margin-right: 5%;
    margin-bottom: 0px!important;
    float: left;
  }
  .search-submit {
    width: 25%;
    float: left;
    display: block;
  }
  form.navbar-right {
    height: auto;
    display: flex;
  }
}

nav .search-submit {
  display: inline;
}
nav .search-submit .btn {
  color: black;
}
nav .search-submit .btn:hover {
  color: white;
  border: 1px solid #eee;
  background: #003e69;
}

@media screen and (max-width: 768px) {
  .dropdown .pull-right {
    float: none!important;
  }
  .dropdown-menu > li > a {
    color: white;
  }
}

.dropdown-item .btn {
    text-align: left;
}

.atom:hover {
    background: white!important;
    color: #FF6600;
}

.atom:active,.atom:focus {
    background: white!important;
}


/* http://codepen.io/bsngr/pen/Ifvbi */

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li.timeline-add:before {
  clear: both;

}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -25px;
  background-color: #d6d6d6;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  padding-top: 2px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

/* colors #003E69 #B7D968 #B576AD #E04644 #FDE47F #7CCCE5 */

.timeline-badge.created {
  background-color: #B7D968 !important;
}

.timeline-badge.news {
  background-color: #B576AD !important;
}

.timeline-badge.updated {
  background-color: #7CCCE5 !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  word-break: break-all;
}

.timeline-body > p + p {
  margin-top: 5px;
}

.timeline-btn:active,
.timeline-btn.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.timeline-btn:hover,
.timeline-btn:active,
.timeline-btn.active,
.timeline-btn:active:hover,
.timeline-btn:active:hover,
.timeline-btn:active:focus {
  background-color: #c6c6c6 !important;
}


.heading {
  padding: 16px 15px;
  margin-bottom: 20px;
  background-color: #576676;
  border-radius: 4px;
  color: white;
  display: table;
  width: 100%;
  z-index: 1000;
  vertical-align: middle;
}

.heading h1 {
  margin: 0;
}

.heading a:not(.btn) {
  color: #2f8edf;
}

.heading-head {
  display:table-cell;
  line-height: 50px;
  vertical-align: middle;
}
.heading-meta {
  display: inline-block;
  float:right;
  white-space: nowrap;
  clear: both;
  text-align: right;
}
.heading-meta span {
  display: block;
  clear: both;
}
@media screen and (max-width: 660px) {
  .heading-head {
    width: 100%;
    display: block;
  }
  .heading-head h1{
    font-size: 1.5em;
  }
  .heading-meta {
    float: left;
    text-align: left;
  }
}

.notes {
  font-size: 13px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
  left:5px!important;
  top: 20px!important;
  height: 14px;
  width: 14px;
  display: block;
  position: absolute;
  color: #003E69!important;
  border: none !important;
  border-radius: 14px;
  box-shadow: none!important;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: 'Courier New', Courier, monospace;
  line-height: 14px;
  content: '\25B6'!important;
  background-color: transparent!important;
  font-size:20px!important;
  vertical-align: -50%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before {
  content: '\25BC'!important;
}

#registry-content {
  width: auto!important;
  table-layout: fixed;
}
#registry-content-popup {
  z-index:1001;
}

#registry-content thead {
  background-color: #FFF;
}

#registry-content tbody td {
  cursor: pointer;
}

#registry-content td.sana-status {
  padding-top:15px;
}

#registry-content td.sana-status span {
  text-align: center;
  padding: 5px 10px;
  margin-top: 10px;
  color:#000;
  background-color: white;
  border: 1px #CCC solid;
  border-radius: 5px;
}

#registry-content .status-provisional td.sana-status span,
#registry-content .status-tbc td.sana-status span {
  color:#FFF;
  background-color:#ee8c00;
  border:1px #d58512 solid;
  border-radius: 5px;
}

#registry-content .status-expired td.sana-status span,
#registry-content .status-returned td.sana-status span {
  color:#FFF;
  background-color:#797979;
  border:1px #636363 solid;
  border-radius: 5px;
}

#registry-content .status-assigned td.sana-status span,
#registry-content .status-allocated td.sana-status span {
  color:#FFF;
  background-color:#147b00;
  border:1px #0e5900 solid;
  border-radius: 5px;
}

#registry-content .status-unmanaged td.sana-status span,
#registry-content .status-unassigned td.sana-status span {
  color:#000;
  background-color: white;
  border: 1px #CCC solid;
  border-radius: 5px;
}

#registry-content .status-deleted td.sana-status span,
#registry-content .status-deprecated td.sana-status span{
  color:#FFF;
  background-color:#d9534f;
  border:1px #d43f3a solid;
  border-radius: 5px;
}

.table_actions {
  background-color:#f5f5f5;
  padding:10px 0;
  height:auto;
  width: 100%;
}
.table_actions .items_page {
  width:40%;
  padding-left:10px;
}
.table_actions .pager {
  width: 60%;
  margin:0;
  padding-right:30px;
  text-align: right;
}
.table_actions .pager li {
  display:inline-block;
  padding:0 10px;
  vertical-align: top;
}

.table_actions .pager li.cardinality {
  padding-top:5px;
}

@media screen and (max-width: 700px) {
  .table_actions .pager {
    width:67%;
    padding:0;
  }
  .table_actions .items_page {
    width:33%;
    padding-left:5px;
  }
  .table_actions .pager li {
    padding: 0 5px;
  }
}
.arrow {
  width: 5%;
}
.tablesaw-advance {
  display:none;
}
.select2-selection.form-control {
  padding: 0;
}
.sana-filter {
  display: inline-block;
  width: auto;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-right: 2px;
  vertical-align: text-top;
}

.registry-title-button {
    color: lightgray !important;
    text-decoration: none !important;
}

.registry-title-button:hover {
    cursor: pointer;
    color: grey !important;
}

#bulk-edit-modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    #bulk-edit-modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

#bulk-edit-modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#bulk-edit-modal .modal-header {
    background-color: #576676;
    color: white;
}

/*! djangorestframework */
.pagination {
  margin: 5px 0 10px 0;
}

.request-info {
    clear: both;
}
