/* General, layout, wrapper, content */

html, body {
    height: 100%;
}

#wrapper {
    display: block;
    min-height: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 28px 0px rgba(171,171,171,1);
    -moz-box-shadow: 0px 0px 28px 0px rgba(171,171,171,1);
    box-shadow: 0px 0px 28px 0px rgba(171,171,171,1);
    padding-bottom: 24px;
}

#wrapper .navbar {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 20px;
}

.navbar .navbar-nav-main {
    margin-bottom: -18px;
    height: 48px;
}

.navbar .navbar-nav-main .nav-item {
    height: 42px;
    margin-top: 6px;
    width: 128px;
    text-align: center;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, .05);
}

.navbar .navbar-nav-main .nav-item:first-child {
    border-top-left-radius: 4px;
}

.navbar .navbar-nav-main .nav-item:last-child {
    border-top-right-radius: 4px;
}

.navbar .navbar-nav-main .nav-item a {
    color: #eee!important;
}

.navbar .navbar-nav-main .nav-item.active {
    height: 48px;
    margin-top: 0px;
    background-color: white;
    line-height: 2;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.navbar .navbar-nav-main .nav-item.active a {
    color: #343a40!important;
}

.navbar .navbar-nav-main .nav-item:hover {
    border-bottom: rgba(255, 255, 255, .4) 4px solid;
}

.navbar .navbar-nav-main .nav-item.active:hover {
    border-bottom: none;
}

.navbar-brand-logo {
    max-height: 40px;
}

.navbar-nav-account {
    width: 248px;
    height: 50px;
    margin-bottom: -25px;
    font-size: 11pt;
}

.navbar-nav-account .nav-item.dropdown {
    width: 100%;
    text-align: right;
}

.navbar-nav-account .nav-item.dropdown .dropdown-menu {
    top: 42px;
    left: 17px;
    width: 100%;
}

.navbar-nav-account .nav-item.dropdown .dropdown-menu .dropdown-item {
    font-size: 11pt;
}

#navbar-sub-superuser-warning {
    background-color: #b11226;
    margin-left: -15px;
    margin-right: -15px;
    font-size: 11pt;
    padding: 10px 20px;
    color: #ffdee2;
    text-align: center;
}

#wrapper #content {
    padding-left: 15px;
    padding-right: 15px;
}

h1 {
    font-size: 16pt;
    margin-bottom: 24px;
}

.h1-sub {
    font-size: 10pt;
    color: #666;
    margin-top: -20px;
    margin-bottom: 24px;
}

.error-content {
    padding: 16px;
    border-radius: 8px;
    background-color: #ffe6e6;
}

.error-content h1 {
    color: #330000;
}

.error-content p {
    margin-bottom: 0px;
}

.lds-dual-ring {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: -5px;
  margin-right: 2px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-color: #007bff transparent #007bff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Action bar */

.action-bar {
    padding: 24px;
    border-radius: 8px;
    background-color: #fafafa;
    font-size: 11pt;
}

.action-bar.collapsible {
    position: absolute;
    height: 40px;
    top: 0px;
    right: 16px;
    overflow: hidden;
    z-index: 10;
    border: 1px solid #eee;
    cursor: pointer;
    transition: box-shadow 0.1s;
}

.action-bar.collapsible::before {
    content: "\25be";
    font-family: Arial, sans-serif;
    position: absolute;
    top: 14px;
    right: 16px;
    color: #aaa;
}

.action-bar.collapsible > h1 {
    margin-top: -10px;
}

.action-bar.collapsible:hover {
    height: inherit;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, .4);
}

.action-bar > h1 {
    font-size: 13pt;
    margin-bottom: 8px;
}

.action-bar ul {
    padding-left: 18px;
    margin-bottom: 0px;
}

.action-bar ul .action-bar-category {
    display: block;
    margin-left: -18px;
    padding-top: 18px;
    color: #666;
    font-size: 8pt;
    font-weight: bold;
    text-transform: uppercase;
}

/* Forms */

#content form {
    position: relative;
}

#content form label {
    display: block;
    width: 100%;
    font-size: 11pt;
    font-weight: 600;
}

#content form .helptext {
    display: block;
    width: 100%;
    font-size: .8em;
    color: #666;
    margin-top: 8px;
}

#content form input[type=text],
#content form input[type=password],
#content form select,
#content form textarea {
    width: 320px;
}

#content form input,
#content form textarea {
    font-size: 11pt;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid #eee;
}

#content form textarea {
    height: 80px;
}

#content form select {
    font-size: 10pt;
}

#content form .data-part {
    border-left: 2px solid #eee;
    padding-left: 32px;
}

#content form .submit-part {
    height: 80px;
    border-left: 2px solid #c5dbeb;
    padding-left: 32px;
    font-size: 11pt;
    color: #94bad6;
}

#content form input[type=submit] {
    width: 100px;
    padding: 6px 14px;
    background-color: #194769;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 10pt;
    font-weight: bold;
    cursor: pointer;
    opacity: .9;
}

#content form input[type=submit]:hover {
    opacity: 1;
}

#content form ul.errorlist {
    width: 420px;
    font-size: 11pt;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 11pt;
    color: #600000;
    background-color: #fcdede;
    border-radius: 6px;
}

/* Forms: shipment */

#content form .seals-part {
    border-left: 2px solid #c6ecc6;
    padding-left: 32px;
}

#content form .select-seals {
    padding-left: 24px;
}

#content form .select-seals li {
    list-style-type: none;
    margin-left: -20px;
    margin-top: 8px;
}

#content form .select-seals .select-seals-location {
    margin-left: -24px;
    color: #666;
    font-size: 9pt;
    text-transform: uppercase;
}

#content form .select-seals .select-seals-seal {
    margin-left: 6px;
    padding: 4px 8px;
    background-color: #eee;
    font-size: 10pt;
    border: 1px solid white;
    border-radius: 6px;
}

#content form .select-seals input:checked + .select-seals-seal {
    background-color: #DEEAF2;
    border: 1px solid #94bad6;
    color: #194769;
}

#content form .select-seals .select-seals-seal i {
    width: 16px;
}

/* Tables */

#content table {
    width: 100%;
    background-color: white;
    font-size: 11pt;
}

#content table tr td,
#content table tr th {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 12px;
    font-weight: normal;
}

#content table thead tr {
    height: 36px;
    text-transform: uppercase;
    font-size: .8em;
    color: rgba(255, 255, 255, .5);
    background-color: #343a40;
    opacity: .9;
}

#content table thead tr th a,
#content table thead tr td a {
    color: white;
}

#content table thead tr th.asc::before,
#content table thead tr th.desc::before {
    font-size: 1.1em;
    font-weight: bold;
}

#content table thead tr th.desc::before {
    content: "↑";
}

#content table thead tr th.asc::before {
    content: "↓";
}

#content table thead tr th:first-child,
#content table thead tr td:first-child {
    border-top-left-radius: 6px;
}

#content table thead tr th:last-child,
#content table thead tr td:last-child {
    border-top-right-radius: 6px;
}

#content table tbody tr.clickable {
    cursor: pointer;
}

#content table tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

#content table tbody tr:nth-child(odd) {
    background-color: #f8f8f8;
}

#content table tbody tr td {
    font-size: 10pt;
    padding: 8px 12px;
    padding-right: 0px;
}

#content table tbody tr.clickable td {
    opacity: .8;
}

#content table tbody tr.clickable:hover td {
    opacity: 1;
}

#content table tbody tr.clickable:hover td:first-child {
    text-decoration: underline;
}

#content table tbody tr td:first-child {
    opacity: 1;
}

#content table tbody tr:last-child td {
    border-bottom: 1px solid #dadada;
}

#content table tbody tr td:last-child {
    padding-right: 12px;
}

#content table tbody tr td.none {
    font-size: 9pt;
    color: #aaa;
}

#content table tbody td span.na {
    font-size: 9pt;
    color: #aaa;
}

#content table th.th-hide {
    color: transparent;
}

/* Login */

.login-container {
    margin-bottom: 5%;
}

.login-logo img {
    position: absolute;
    width: 20%;
    margin-top: 19%;
    background: #282726;
    border-radius: 4.5rem;
    padding: 5%;
}

.login-form-1 {
    padding: 7%;
    background: #282726;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    border-radius: 6px;
}

.login-logo {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.login-form-1 h3 {
    text-align: center;
    color: #fff;
    margin-top: 8%;
    margin-bottom: 6%;
}

.login-form-2 {
    padding: 9%;
    background: #f05837;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

.login-form-2 h3 {
    text-align: center;
    margin-bottom: 12%;
    color: #fff;
}

.btn-submit {
    font-weight: 600;
    width: 50%;
    color: #282726;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2%;
    cursor: pointer;
    float: left;
}

.btn-submit:hover {
    background-color: #eee;
}

.btn-forget-pwd {
    color: #aaa;
    font-style: italic;
    text-decoration: none;
    float: right;
    line-height: 36px;
}

.btn-forget-pwd:hover {
    text-decoration: none;
    color: #fff;
}

.login-container .alert {
    margin-top: 24px;
    margin-bottom: 0px;
}

/* Shipments */

.location-header {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-size: 9pt;
    text-transform: uppercase;
}

/* Details */

.details label {
    display: block;
    font-size: 10pt;
    text-transform: capitalize;
    font-variant: small-caps;
    color: #666;
    margin-bottom: 0px;
}

.details .value {
    display: block;
    margin-bottom: 12px;
}

/* Order Timeline */

.order-timeline-wrapper {
    background-color: #fafafa;
    height: 200px;
    width: 600px;
    padding-top: 56px;
    border-radius: 16px;
}
.order-timeline {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80vw;
  height: 100px;
  width: 600px;
  position: relative;
  z-index: 0;
}

.order-timeline-item {
  width: 25px;
  height: 25px;
  background-color: #2C3E50;
  position: relative;
  border-radius: 50%;
}
.order-timeline-item:hover {
}
.order-timeline-item::before, .order-timeline-item::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2C3E50;
  width: 100px;
  height: 5px;
  max-width: 50px;
}
.order-timeline-item::before {
  left: -37.5px;
}
.order-timeline-item::after {
  right: -37.5px;
}
.order-timeline-item.active {
  background-color: #2C3E50;
}
.order-timeline-item.active::before {
  background-color: #2C3E50;
}
.order-timeline-item.active::after {
  background-color: #AEB6BF;
}
.order-timeline-item.active span {
  font-weight: 700;
}
.order-timeline-item.active span::before {
  font-size: 13px;
}
.order-timeline-item.active span::after {
  font-size: 15px;
}
.order-timeline-item.active ~ .order-timeline-item, .order-timeline-item.active ~ .order-timeline-item::before, .order-timeline-item.active ~ .order-timeline-item::after {
  background-color: #AEB6BF;
}
.order-timeline-item span {
  width: 1px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}
.order-timeline-item span::before, .order-timeline-item span::after {
  visibility: visible;
  position: absolute;
  left: 50%;
}
.order-timeline-item span::after {
  content: attr(data-year);
  top: 25px;
  transform: translateX(-50%);
  font-size: 14px;
}
.order-timeline-item span::before {
  content: attr(data-info);
  top: -65px;
  width: 70px;
  transform: translateX(-5px) rotateZ(-45deg);
  font-size: 12px;
  text-indent: -10px;
}
@media (min-width: 1250px) {
  .order-timeline-item::before {
    left: -37.5px;
  }

  .order-timeline-item::after {
    right: -37.5px;
  }
}
@media (max-width: 850px) {
  .order-timeline-item {
    width: 17px;
    height: 17px;
  }
  .order-timeline-item::before, .order-timeline-item::after {
    height: 3px;
  }
  .order-timeline-item::before {
    left: calc(-4vw + 8.5px);
  }
  .order-timeline-item::after {
    right: calc(-4vw + 8.5px);
  }
}
@media (max-width: 600px) {
  .flex-parent {
    justify-content: initial;
  }

  .order-timeline {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 15vh;
  }

  .order-timeline-item {
    width: 60px;
    height: 60px;
    margin: 0 10px 50px;
    background-color: #AEB6BF;
  }
  .order-timeline-item::before, .order-timeline-item::after {
    content: none;
  }
  .order-timeline-item span {
    width: 100%;
    height: 100%;
    display: block;
  }
  .order-timeline-item span::before {
    top: calc(100% + 5px);
    transform: translateX(-50%);
    text-indent: 0;
    text-align: center;
  }
  .order-timeline-item span::after {
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ECF0F1;
  }
}

/* Order Validation */

.shipment-validation-state-block {
    background-color: #fafafa;
    width: 600px;
    padding: 16px;
    border-radius: 16px;
}

.shipment-validation-state-block .state {
    font-weight: bold;
}

.shipment-validation-state-block .timestamp {
    font-size: .8em;
    color: #555;
}

.shipment-validation-state-block .notes {
    display: block;
    margin-top: 12px;
}

/* Order Seals */

.shipment-seals li {
    margin-left: -16px;
    margin-bottom: 4px;
}

.shipment-seals .seal-item {
    padding: 4px 8px;
    background-color: #eee;
    font-size: 10pt;
    border: 1px solid white;
    border-radius: 6px;
}

.shipment-seals .seal-item i {
    width: 16px;
}