:root {
  --dsv-black: #000;
  --dsv-blue: #192862;
  --dsv-light-blue: #C5CAE9;
  --dsv-dark-blue: #0D113B;
  --dsv-red: #EC0016;
  --dsv-dark-red: #a51b00;
  --dsv-amber: #e09600;
  --dsv-dark-grey: #646973;
  --dsv-darker-grey: #464646;
  --dsv-mid-grey: #878C96;
  --dsv-light-grey: #D7DCE1;
  --dsv-exra-light-grey: #F0F3F5;
  --dsv-green: #77b259;
  --aws-black: #1C2735;
  --aws-orange: #fc9901;
}


/** General **/

body {
  font-family: sans-serif;
  font-size: 87.5%;
  margin: 0;
  color: var(--dsv-black);
  background-color: #fff!important;
}

.dsv-logo {
  padding: 0.5em 0 0;
  margin-left: -1em;
}
.dsv-logo img {
  max-height: 60px;
}

main {
  margin: 0 2vw 1vw;
  min-height: 100vh;
  min-height: calc(100vh - 164px);
}
main.cuba-bg {
  margin: 0;
  background: url('/themes/cuba/images/dsv-cuba-bg.jpg');
  min-height: 95vh;
  min-height: calc(100vh - 65px);
  color: #fff;
  text-align: center;
}
main.cuba-bg a {
  color: #fff;
}

main.cuba-bg input,
main.cuba-bg .button {
  border: 1px solid #fff;
  max-width: 400px;
  padding: 10px 20px;
  margin-bottom: 1em;
}
main.cuba-bg .button.quick-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 1em;
}
main.cuba-bg .button .not-bold {
  font-weight: normal;
}
main.cuba-bg input:focus {
  background-color: #fff!important;
}
main.cuba-bg #edit-pass--description {
  display: none;
}
main.cuba-bg .button:hover {
  background-color: var(--dsv-dark-blue);
  text-decoration: none!important;
}
main.cuba-bg h1 {
  margin: 0 auto 1em;
  text-align: center;
}
#dsv-cuba-logo {
  width: 250px;
  margin: auto;
  padding: 5em 0 0;
  max-width: 70vw;
}
#dsvlogo {
  display: inline-block;
}
#dsvlogosmall {
  display:none;
}
.no-border {
  border: none;
}

.dsv-login-form {
  width: 350px;
  margin: 2em auto;
  text-align: center;
}
.dsv-login-form input {
  width: 250px!important;
  min-width: 250px!important;
  max-width: 250px!important;
  margin: 5px auto;
  box-sizing: border-box;
}
.dsv-login-form input:focus {
  background: #fff!important;
}
.dsv-login-form input.form-submit {
  text-align: center;
  border: 1px solid #fff;
  display: inline-block;
  width: 310px!important;
  max-width: 72%!important;
}
.cuba-login svg {
  width: 30px;
}
.cuba-login summary {
  display: inline-block;
  border-bottom: none;
  margin-bottom: 0;
}
.cuba-login .settings-menu {
  position: absolute;
  right: 2vw;
  margin-top: 13px;
  background: #fff;
  padding: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  z-index: 100;
  min-width: 250px;
}
.cuba-login .settings-menu .linkicon img {
  padding-right: 10px;
}

a,
.ui-widget-content a {
  color: var(--dsv-blue);
  text-decoration: none!important;
}
a:hover,
.ui-widget-content a:hover {
  text-decoration: underline!important;
}
h1 {
  font-family: 'db_sansbold';
  font-weight: bold;
  text-transform: capitalize;
}
.h2 {
  font-size: 1.5em;
  text-transform: capitalize;
}
.view-faqs .h2 {
  text-transform: unset;
}
h3 {
  margin: 5px 0;
}
details details .h2 {
  font-size: 1.2em;
}
p {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
}
.itma-font {
  font-family: 'noto-sans';
}

hr {
  border-top-color: transparent;
  border-bottom-color: var(--dsv-blue);
  border-left-color: transparent;
  border-right-color: transparent;
  margin: 20px 0;
}
.underline { 
  text-decoration: underline!important;
}
.layout-container {
  margin: 0;
}
li {
  margin-bottom: 0.3em;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flexsa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flexsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexsb100 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.flexnowrap {
  display: flex;
}
.flexleft {
  margin: 0 -10px;
}
.flexspace {
  justify-content: space-between;
  margin: 0 -10px 1em;
}
.flexpad {
  padding: 0 10px;
  flex-grow: 1;
}
.flexpadnogrow {
  padding: 0 10px;
}
.flexend {
  align-self: flex-end;
}

.flex1 {
  flex: 1;
  padding: 0 10px;
  min-width: 240px;
}
.flex2 {
  flex: 2;
  padding: 0 10px;
}
.flexcell {
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.flexspace details + details {
  margin-top: 20px;
}
.flexdate {
  align-items: flex-end;
}
.flexcentre {
  display: inline-flex;
  align-items: center;
}
.flexcentre.right {
  margin-left: auto;
}
.flex-direction-column {
  flex-direction: column;
}
.clear-both {
  clear: both;
}
.center {
  align-items: center;
  text-align: center;
}
.sidemargins {
  margin: 0 2vw;
}

.margintop {
  margin-top: 20px;
}
.datetime-wrapper .description {
  margin-top: -12px;
  margin-bottom: 12px;
}

.datetime-wrapper [id^="edit-field"] {
  display: flex;
  align-items: flex-end;
}
.flexdate input,
:not(.ief-form) .datetime-wrapper [id^="edit-field"] input {
  height: 30px;
}
.node-form .datetime-wrapper [id^="edit-field"] input {
  height: initial;
}

.flexdate .datetime-wrapper + .datetime-wrapper,
.datetime-wrapper [id^="edit-field"] > .form-item + .form-item {
  margin-left: 10px; 
}

form:not(.views-exposed-form) fieldset .form-item.form-type-date {
  margin-top: 1em!important;
}
.form-item.form-type-date {
  margin-top: 0;
}

.right > .nomargin {
  margin: 0!important;
}
.right {
  float: right;
}
a.right {
  float: right;
}
.right + .right, 
.right + .ajax-progress + .right {
  margin: 0!important;
}
.text-right {
  text-align: right;
}

.role-administrator #block-useraccountmenu {
  display: none;
}
#block-useraccountmenu {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
#block-useraccountmenu a {
  background: var(--dsv-red);
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
}
#block-useraccountmenu a:hover {
  background: #666;
  text-decoration: none!important;
}
a[href*="/masquerade?"],
a[href*="/unmasquerade?"] {
  background: var(--dsv-red);
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
}
.menu--account h2 {
  display: none;
}
.menu--account .menu-item {
  padding: 0;
}
.menu--account .menu {
  margin: 0 1em;
}

#cuba-user-menu {
  margin: 1em 2vw;
}
#cuba-user-menu .button {
  margin: 0 5px 10px 0;
  padding: 5px 15px;
  position: relative;
  background: #fff !important;
  border: 1px solid var(--dsv-blue)!important;
  color: var(--dsv-blue)!important;
  font-weight: 600;
}
#cuba-user-menu .button:hover {
  background: var(--dsv-blue) !important;
  border: 1px solid var(--dsv-blue);
  color: #fff!important;
  text-decoration: none!important;
}
#cuba-user-menu .button:hover a {
  color: #fff!important
}
#cuba-user-menu .right + .right {
  margin-right: 10px !important;
}
.counter {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--dsv-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 3px 1px 4px;
  border-radius: 3px;
}
.bounced-counter {
  position: absolute;
  top: -5px;
  right: -17px;
  background: #ec8807;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 1px 3px 1px 4px;
  border-radius: 3px;
}
.blueapp-stats a {
  margin-right: 1em;
  display: flex;
  text-decoration: none !important;
}
.blueapp-stats .stat-label {
  background-color: var(--dsv-blue);
  color: #fff;
  font-size: 0.9rem;
  padding: 3px 10px;
  border-radius: 3px;
  float: left;
}
.blueapp-stats a:hover .stat-label {
  background-color: var(--dsv-dark-blue);
  color: #fff;
}

.blueapp-stats .blueapp-counter {
  background: var(--dsv-red);
  color: #fff;
  font-size: 0.9em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 0 3px 3px 0;
  margin-left: -3px;
  float: right;
}
.blueapp-stats a:hover .blueapp-counter {
  background: var(--dsv-dark-red);
  color: #fff;
}

summary {
  margin-bottom: 10px;
  cursor: pointer;
  border-bottom: 3px solid var(--dsv-light-grey);
  padding-bottom: 5px;
}
summary.no-marker::-webkit-details-marker {
  display: none;
}
summary.no-marker {
  list-style: none;
}
.comment details {
  white-space: normal;
  padding: 5px;
}
.comment details summary {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: -10px;
}
.comment details[open] summary {
  margin-bottom: 10px;
}
.comment details table tr td {
  padding: 2px 5px;
}
.comment .Old {
  color: var(--dsv-mid-grey);
}
.red {
  color: red;
}
.red-text {
  color: var(--dsv-red);
}
.green-text {
  color: #4cae4c;
}
.amber-text {
  color: #e09600;
}
.alert {
  padding: 15px;
  margin-bottom: 15px;
}
.red.alert {
  border-left: 5px solid #EC0016;
  background: #fcf4f2;
}
.amber.alert {
  border-left: 5px solid #e09600;
  background: #fdf8ed;
}
.green.alert {
  border-left: 5px solid #77b259;
  background: #f3faef;
}
.blue.alert {
  border-left: 5px solid #4bc4fa;
  background: #d5f2ff;
}
.alert summary {
  border-bottom: 3px solid #fff;
}

.summary td {
  font-weight: bold;
  border-bottom: 2px solid;
}

/** Cookie notice **/

.cookiesjsr-banner {
  background: #292929;
}
.cookiesjsr-btn {
  background: var(--dsv-blue);
  border-color: var(--dsv-blue)!important;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: none;
}
.cookiesjsr-btn.important {
  color: --dsv-blue;
  background: #fff;
}
.cookiesjsr-btn.invert {
  color: #fff;
  background: var(--dsv-blue);
  border-color: var(--dsv-blue);
}
.cookiesjsr-btn.important.invert {
  color: var(--dsv-blue);
  background: #fff;
  border-color: var(--dsv-blue);
}
.cookiesjsr-btn:hover,
.cookiesjsr-btn.important:hover,
.cookiesjsr-btn.invert:hover {
  transform: none;
  background-color: #0f545a;
  color: #fff;
}
.cookiesjsr-service-group.active .cookiesjsr-service-group--content,
.cookiesjsr-service-group.active .cookiesjsr-service-group--tab {
  background-color: var(--dsv-blue);
}
.cookiesjsr-service--always-on {
  color: var(--dsv-blue);
}
.cookiesjsr-links a {
  background-color: var(--dsv-blue);
  color: #fff;
  border-radius: 3px;
  padding: 0px 10px !important;
  font-size: 1rem;
}
.cookiesjsr-links a:hover {
  background-color: #0f545a;
  text-decoration: none!important;
}

#text-to-copy {
  display: none;
}
.click-to-copy {
  cursor: pointer;
  margin-top: -3px;
}

:focus:not(.select2-search__field):not(.ui-dialog):not(.cookiesjsr-btn):not(.cookiesjsr-service-group--tab):not(.qdos_ai_menu-vertical-link):not(.qdos_ai_menu-submenu-link):not(.qdos_ai_menu-pin-toggle),
.js .dropbutton li:focus,
.js .dropbutton a:focus,
.dropbutton-toggle button:focus,
.swal2-popup .swal2-styled:focus,
.ui-dialog .select2 .selection:focus-within,
.layout-container .select2-container--cuba .selection:focus-within {
  outline: 2px solid var(--dsv-red)!important;
  outline-offset: 2px!important;
  background: var(--dsv-light-blue);
  box-shadow: none!important;
}
.swal2-popup {
  background: #fff!important;
}
.event-tile:focus {
  background: var(--dsv-exra-light-grey)!important;
}
.dropbutton-arrow {
  overflow: visible;
}

.js .dropbutton li,
.js .dropbutton a {
  text-align: right;
  padding-right: 10px;
  font-weight: bold;
}

table tr td:last-child a {
  font-weight: bold;
}
table.no-bold-last-child-a tr td:last-child a {
  font-weight: initial;
}

table tbody tr {
  background-color: #fff;
  transition: background-color 0.2s linear;
}
table tbody tr:hover {
  background-color: var(--dsv-light-blue);
  transition: background-color 0.2s linear;
}
table tbody table {
  border-spacing: 0;
}
.email-body table tbody tr:hover {
  background-color: initial!important;
}

table.scroll,
.scroll table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

/* input[data-drupal-selector='edit-submit']:focus, */
a[data-drupal-selector='edit-cancel']:focus{
  outline: none;
}
.ui-button-icon-only {
  font-size: 0!important;
}

.bigger {
  font-size: 120%;
}

.vbo-multipage-selector summary {
  border-bottom: none;
  font-size: 1.2rem;
}
.node {
  clear: both;
}
.ajax-progress-throbber {
  position: absolute;
  z-index: 1000;
}

.order-payments #vbo-action-form-wrapper {
  display: none;
}
.order-total-line-value {
  width: 100px;
}

/** Forms **/

form input,
select {
  padding: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--dsv-mid-grey);
  margin: 5px 0 3px;
  max-width: 100%;
  font-family: sans-serif;
  border-radius: 5px;
}
form input[type=text],
form input[type=tel],
form input[type=email] {
  width: 50%;
  min-width: 300px;
  box-sizing: border-box;
  margin-top: 5px;
  height: 30px;
}
form input[type=text].form-time {
  min-width: 90px;
  max-width: 90px;
  text-align: left;
  background: url(/themes/cuba/images/icons/clock.svg) no-repeat 65px center;
  background-size: 17px;
  background-color: #fff;
  font-size: 1em;
}
form.views-exposed-form input[type=text],
form.views-exposed-form input[type=tel],
form.views-exposed-form input[type=email] {
  min-width: 200px;
  max-width: 200px;
}
.views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  margin-top: -13px;
  border: 2px solid #fff;
}
form.views-exposed-form select {
  padding: 3px 8px;
  font-size: 0.8rem;
  border: 1px solid #999;
  margin: 5px 0 3px;
  max-width: 100%;
  font-family: sans-serif;
  background: #fff;
  color: #666;
  min-height: 30px;
  box-sizing: border-box;
}

form.views-exposed-form input[type=text].form-time {
  position: relative;
  top: 0;
}
form.views-exposed-form fieldset .date-filter-label {
  margin: -5px 5px 0;
  align-self: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #333;
}
form.views-exposed-form fieldset .date-filter-arrow {
  position: relative;
  top: 16%;
  font-size: 1.5em;
  margin: 0 2px;
  color: #666;
}

.ui-timepicker-standard {
  z-index: 10000!important;
}
.ui-timepicker-standard a {
  margin-right: 20px;
}
form:not(.views-exposed-form) .datetime-wrapper + .datetime-wrapper {
  margin-top: -1em;
}
form.views-exposed-form .datetime-wrapper input {
  height: 37px;
  margin-top: 4px;
}

form.views-exposed-form .datetime-wrapper > div {
  display: flex;
}
form.views-exposed-form input.timepicker {
  margin-left: 5px;
}

form.views-exposed-form .fieldset-legend {
  display: none;
}
form.views-exposed-form .fieldset-wrapper {
  display: flex;
}
form.views-exposed-form .fieldset-wrapper .form-item {
  margin: 0 1em 1em 0;
}
form.views-exposed-form fieldset {
  border: 0;
  padding: 0;
}
form.views-exposed-form fieldset#edit-gl-code-wrapper .fieldset-legend,
form.views-exposed-form fieldset#edit-amount-wrapper .fieldset-legend {
  display: inherit;
  font-weight: bold;
}
form.views-exposed-form fieldset#edit-gl-code-wrapper .fieldset-wrapper .form-item.form-type-textfield {
  margin-left: -1em;
}
form.views-exposed-form fieldset#edit-gl-code-wrapper {
  margin-bottom: 0;
}

details.vbo-multipage-selector {
  margin: 0;
}
details.vbo-multipage-selector summary {
  padding: 0;
  margin: 0;
}

.form-disabled {
  opacity: 0.4;
}

textarea {
  padding: 7px;
  font-size: 100%;
  font-family: sans-serif;
  width: 50%;
  min-width: 320px;
  box-sizing: border-box;
  margin-top: 5px;
}

form label {
  display: block;
  font-weight: bold;
}
form:not(.vbo-view-form) .form-item {
  margin-bottom: 1em;
}
form.views-exposed-form .form-item {
  margin: 0 1em 0.5em 0!important;
}
form.views-exposed-form fieldset.form-item {
  margin: 0 1em 0 0!important;
}
form.views-exposed-form fieldset.form-item .form-item {
  margin-right: 1em;
  margin-left: 0;
}
form.views-exposed-form fieldset.form-item .form-item + .form-item {
  margin-left: -0.7em!important;
}
form.views-exposed-form fieldset.form-item .form-item:last-child {
  margin-right: 0!important;
  margin-left: 0;
}

form .description {
  font-size: 0.8rem;
  clear: both;
}

input.form-submit,
.button,
.ui-dialog .ui-dialog-buttonpane button,
.swal2-popup .swal2-styled.swal2-confirm {
  font-size: 1rem;
  font-weight: bold;
  padding: 5px 10px;
  background: var(--dsv-blue) !important;
  color: #fff !important;
  text-shadow: none !important;
  border: 0;
  transition: background 0.1s linear;
  cursor: pointer;
  text-decoration: none!important;
  margin: 3px 5px;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}
input.form-submit:hover,
.button:hover,
.ui-dialog .ui-dialog-buttonpane button:hover,
.swal2-popup .swal2-styled.swal2-confirm:hover {
  transition: background 0.1s linear;
  background: var(--dsv-dark-blue) !important;
}
.ui-dialog .ui-dialog-buttonpane button + button {
  margin-left: 10px;
}
.button.small {
  font-size: 0.85em;
  padding: 5px 10px;
}
.small-link {
  font-weight: normal!important;
  font-size: 0.8rem;
  text-decoration: underline!important;
}
.small-link:hover {
  text-decoration: none!important;
}

.swal2-popup {
  background: url(/themes/cuba/images/dsv-logo-small.png) 15px 15px no-repeat #fff;
  background-size: 120px;
}
.swal2-popup .swal2-styled.swal2-confirm {
  padding: 12px 20px 10px;
}
.swal2-popup .swal2-title {
  font-size: 1.3rem!important;
}
.swal2-container.swal2-shown {
  background-color: rgba(25, 40, 98, 0.5)!important;
  opacity: 1;
}
.swal2-cuba-error br {
  display: none;
}
.swal2-cuba-error li {
  color: var(--dsv-red);
  padding: 0.5em;
  border-bottom: 2px solid var(--dsv-blue);
  font-size: 0.9em;
  font-weight: normal;
}
.swal2-cuba-error li:last-of-type {
  border-bottom: 0px;
}
.swal2-icon.swal2-error {
  border-color: var(--dsv-red)!important;
  background: var(--dsv-red);
}
.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  background-color: #fff!important;
}
.swal2-icon.swal2-info {
  border-color: var(--dsv-blue);
  color:var(--dsv-blue);
}

/** Tables **/

table {
  width: 100%;
  margin: 5px 0;
  background: #fff;
}
table tr th {
  padding: 5px 10px;
  text-align: left;
  color: var(--dsv-blue);
  background: #fff;
  border-bottom: 2px solid;
}
table tr td {
  padding: 5px 10px;
  text-align: left;
}
table tr th, table tr th a, table tr th a:hover {
  font-weight: bold;
}
table tr td {
  border-bottom: #E1E6EB 1px solid;
}
table tr table tr th {
  border-bottom: 1px solid;
}
table tr table td {
  border-bottom: #E1E6EB 0px solid;
}

table tr.red-flag {
  background-color: rgba(222, 8, 17, 0.2);
}
table td.no-padding {
  padding: 0;
}
table td.no-padding table {
  margin: 0;
  border-spacing: 0;
}
table td.no-padding table td {
  border-bottom: 2px solid #fff;
}
table td.no-padding table td:not(:first-child) {
  border-left: 2px solid #fff; 
}
table tfoot tr {
  background: none!important;
  font-weight: bold;
}
.sumcols table tfoot tr td {
  text-align: right;
}

.fixedfirstcol table th:first-child,
.fixedfirstcol table td:first-child {
  width: 100px;
  min-width: 100px;
}
.fixedfirstcolwide table th:first-child,
.fixedfirstcolwide table td:first-child {
  width: 250px;
  min-width: 250px;
}
.fixedlastcol table th:last-child,
.fixedlastcol table td:last-child {
  width: 110px;
  min-width: 110px;
}
.fixedlastcolmed table th:last-child,
.fixedlastcolmed table td:last-child {
  width: 150px;
  min-width: 150px;
}
.fixedlastcolwide table th:last-child,
.fixedlastcolwide table td:last-child {
  width: 250px;
  min-width: 250px;
}
.lastcolright table th:last-child,
.lastcolright table td:last-child,
table.lastcolright th:last-child,
table.lastcolright td:last-child {
  text-align: right;
}

.nowrap table th,
.nowrap table td {
  white-space: nowrap;
}

.cell-edit-wrapper {
  position: relative;
  padding-right: 40px;
}
.cell-edit-wrapper .linkicon {
  position: absolute;
  right: 5px;
  top: 5px;
}

#webform-submission-customer-registration-form-add-form,
.cuba-nice-form {
  max-width: 1400px;
  margin: auto;
}
#webform-submission-customer-registration-form-add-form .form-item {
  margin: 5px 0;
}
.cuba-nice-form .form-item {
  margin: 5px 20px 5px 0;
}

.schenker-name-text { 
  font-weight: bold;
  color: var(--dsv-dark-blue);
}
.glossary {
  margin-bottom: 2em;
}
.glossary summary {
  margin-bottom: 0;
  border-bottom: none;
}
.glossary .glossary-text {
  border: none;
  background-color: var(--dsv-light-grey);
  border-radius: 5px;
  padding: 1em 2vw 1em;
  margin-bottom: 2em;
}

.webform-progress-tracker .progress-marker::before {
  box-sizing: border-box;
  font-weight: bold;
  padding-bottom: 1px;
}

.webform-progress-tracker .progress-step .progress-marker {
  font-size: 1.5rem;
}
.webform-progress-tracker .progress-step .progress-marker {
  color: var(--dsv-mid-grey);
}
.webform-progress-tracker .progress-step:not(.is-active) .progress-marker::before {
  background-color: #fff;
}
.webform-progress-tracker .progress-step.is-complete .progress-marker {
  color: var(--dsv-dark-blue);
}
.webform-progress-tracker .progress-step.is-complete .progress-marker::before,
.webform-progress-tracker .progress-step.is-complete:hover .progress-marker::before {
  background-color: #fff;
}
.webform-progress-tracker .progress-step.is-complete .progress-marker::after {
  background-color: var(--dsv-dark-blue);
}
.webform-progress-tracker .progress-step.is-active .progress-marker::before,
.webform-progress-tracker .progress-step.is-complete:hover .progress-marker::before {
  background-color: #fff;
  color: var(--dsv-dark-blue);
}
.webform-progress-tracker .progress-step .progress-marker::after {
  background-color: var(--dsv-mid-grey);
}

/* .webform-progress-tracker .progress-step.is-complete .progress-marker::before,
.webform-progress-tracker .progress-step.is-active:hover .progress-marker::before,
.progress-step.is-active .progress-marker::before,
.webform-progress-tracker .progress-step.is-complete .progress-marker::after,
.webform-progress-tracker .progress-step.is-complete .progress-marker::before,
.webform-progress-tracker .progress-step.is-complete:hover .progress-marker::before {
  background-color: #fff;
  color: var(--dsv-dark-blue);
}
.webform-progress-tracker .progress-step:not(.is-active) .progress-marker::before,
.webform-progress-tracker .progress-step:hover .progress-marker::before {
  background-color: #fff;
  color: var(--dsv-mid-grey);
}
.webform-progress-tracker .progress-step:not(.is-complete):not(.is-active) .progress-marker::after {
  background-color: var(--dsv-mid-grey);
} */

#webform-submission-customer-registration-form-add-form label {
  min-width: 175px;
  display: inline-block;
}
#webform-submission-customer-registration-form-add-form .form-type-radio label {
  min-width: 0px;
  margin-right: 1em;
}
#webform-submission-customer-registration-form-add-form .webform-section,
form .field-group {
  border: none;
  background-color: var(--dsv-light-grey);
  border-radius: 5px;
  padding: 0 2vw 1em;
  margin-bottom: 2em;
}
#webform-submission-customer-registration-form-add-form .webform-section > legend,
form .field-group > .field-group-label {
  padding: 5px 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  background: var(--dsv-dark-blue);
}
form .field-group > .field-group-label {
  display: inline-block;
  margin-top: -0.75em;
  margin-bottom: 1em;
}
form .field-group .field-group > .field-group-label {
  padding: 0px;
  color: var(--dsv-black);
  background: transparent;
}

form#cuba-global-cuba-global-edit-form #edit-group-invoice .description {
  clear: none;
}

#edit-yes-subject-to-controls-file input {
  background: #fff;
}

#webform-submission-customer-registration-form-add-form #edit-customs-procedure-code,
#webform-submission-customer-registration-form-add-form #edit-dan-schenker-registered-to-use--wrapper {
  display: flex;
}
#webform-submission-customer-registration-form-add-form #edit-customs-procedure-code legend,
#webform-submission-customer-registration-form-add-form #edit-dan-schenker-registered-to-use--wrapper legend,
#webform-submission-customer-registration-form-add-form #edit-customs-procedure-code > div,
#webform-submission-customer-registration-form-add-form #edit-dan-schenker-registered-to-use--wrapper > div {
  flex: 1;
}
#webform-submission-customer-registration-form-add-form [type="checkbox"],
#webform-submission-customer-registration-form-add-form [type="radio"] {
  transform: scale(1.5);
  margin: 3px 5px;
}
.form-composite.webform-fieldset--title-inline .fieldset-wrapper, .form-composite.webform-fieldset--title-inline .fieldset-wrapper > div {
  display: inline-block;
  break-inside: avoid;
}

.authority-declaration {
  font-style: italic;
  padding: 1em;
}

.webform-element--title-inline.form-type-checkbox {
  display: flex;
  align-items: baseline;
}
.webform-element--title-inline.form-type-checkbox label {
  margin-left: 5px;
}
#webform-submission-customer-registration-form-add-form .form-actions,
.cuba-nice-form .form-actions {
  text-align: center;
}

.form-type-webform-signature label {
  margin-bottom: 5px;
}
.form-type-webform-signature .description {
  margin-top: 5px;
}
.form-type-webform-signature .button {
  font-size: 0.85rem;
  margin: 5px!important;
  padding: 3px 8px;
}
.webform-signature-pad {
  background-color: #fff;
  border: 1px solid var(--dsv-mid-grey);
  border-radius: 5px;
}

#text-to-copy {
  display: none;
}

/* body.env-prod:not(.role-anonymous) .layout-container:not(.front) > header:after, */
body.env-local:not(.role-anonymous) .layout-container:not(.front) > header:after,
body.env-dev:not(.role-anonymous) .layout-container:not(.front) > header:after,
body.env-staging:not(.role-anonymous) .layout-container:not(.front) > header:after {
  content: "";
  display: block;
  width: 104vw;
  height: 70px;
  background: #666666;
  background-size: cover;
  font-size: 3rem;
  padding: 10px 40px;
  box-sizing: border-box;
  text-align: right;
  font-weight: bold;
  color: #fff;
  margin: 0 -2vw 20px;
}
body.env-local:not(.role-anonymous) .layout-container:not(.front) > header:after {
  content: "LOCAL";
  background-color: #c87474;
  background-blend-mode: color-burn;
}
body.env-dev:not(.role-anonymous) .layout-container:not(.front) > header:after {
  content: "DEV";
  background-color: #7d82cc;
  background-blend-mode: color-burn;
}
body.env-staging:not(.role-anonymous) .layout-container:not(.front) > header:after {
  content: "STAGING";
  background-color: #a079d0;
  background-blend-mode: color-burn;
}

.icon img,
img.icon {
  width: 25px;
  max-width: initial;
}
.icon.small {
  width: 18px;
}

[type="checkbox"], [type="radio"] {
  transform: scale(1.3);
}

/** Dialog popup **/

.ui-widget-overlay {
  background: rgba(25, 40, 98, 0.85);
  opacity: 1;
}

.ui-dialog {
  margin-top: 100px;
  border: 0!important;
  border-radius: 5px!important;
  width: auto!important;
  max-width: 85vw;
  min-width: 320px;
  position: relative;
  margin: 100px auto 0!important;
  z-index: 1000;
  background-color: #fff;
}

#drupal-modal {
  overflow-x: hidden;
}
#drupal-modal .no-modal {
  display: none;
}
.modal-only {
  display: none;
}
#drupal-modal #project-links {
  display: none;
}

#drupal-modal .modal-only {
  display: inherit;   
}
form #messages {
  display: none;
}
#drupal-modal form #messages {
  display: inherit;
}
#drupal-modal h1 {
  display: none;
}

.ui-dialog-titlebar {
  padding: 50px 1em 0!important;
  border: 0!important;
  background: url(/themes/cuba/images/dsv-logo-small.png) 15px 15px no-repeat #fff!important;
  border-radius: 5px!important;
}
.ui-dialog .ui-dialog-title {
  width: 100%;
  text-align: center;
  font-size: 1.3rem;
  margin: 0 0 5px;
  background-color: #fff!important;
}
.ui-dialog-titlebar-close {
  background: url(/themes/cuba/images/icons/close-button.jpg) no-repeat!important;
  background-size: 20px!important;
  width: 20px;
  height: 20px;
  top: 15px!important;
  right: 15px!important;
  border: 0!important;
  margin: 0!important;
}
.ui-dialog-titlebar-close span {
  display: none;
}
.ui-dialog-titlebar-close:hover,
.ui-dialog-titlebar-close:focus {
  background: url(/themes/cuba/images/icons/close-button.jpg) no-repeat!important;
  background-size: 20px!important;
}
.ui-dialog .entity-meta {
  padding: 15px;
  box-sizing: border-box;
}
.ui-dialog .form-item {
  margin-bottom: 10px;
}
.ui-dialog input {
  padding: 5px;
  box-sizing: border-box;
}
.ui-dialog .select2 {
  margin-top: 5px;
  border: 1px solid #999;
}

.ui-dialog .description {
  font-size: 0.8rem;
  margin-top: 3px;
  max-width: 400px;
}
.ui-dialog label {
  width: 100%;
  display: block;
  font-weight: bold;
}
.ui-dialog .field--type-boolean label {
  display: inline-block;
  font-weight: normal;
  width: inherit;
}
.ui-widget textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
}
.ui-widget .js-form-type-vertical-tabs {
  order: 998;
}
.ui-widget form {
  display: flex;
  flex-direction: column;
}
.ui-widget .entity-content-form-footer {
  order: 999;
}
.ui-dialog input.form-submit {
  border: 0;
}
#drupal-modal form div[data-drupal-selector="edit-actions"] {
  display: none;
}

.notice {
  padding: 1em 10px;
  background: rgba(22,125,134,0.08);
  border-left: 5px solid var(--dsv-blue);
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
}
.notice-nobg {
  padding: 1em 10px;
  border-left: 5px solid var(--dsv-blue);
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
}
.notice.red-flag {
  background: rgba(222, 8, 17, 0.2)!important;
  border-left: 5px solid #EC0016;
}
.red-flag-notes {
  cursor: help;
}

.notice a,
.notice a:link {
  color: var(--dsv-blue);
}
.notice.notes {
  display: block;
}

.infopane.notice {
  padding: 0;
  font-size: 1.05rem;
}
.infopane.notice > div {
  padding: 15px 25px 17px;
  border-right: 3px solid #fff;
  max-width: 350px;
}
.infopane.notice > div:last-child {
  border-right: none;
}
.infopane h3,
.notes h3 {
  margin: 2px 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: 'db_sansbold';
}
.infopane .form-item {
  margin: 0;
}

.infopane .form-item {
  margin-bottom: 0;
}

#project-links {
  display: block;
  border-bottom: 1px solid var(--dsv-blue);
}
#project-links {
  display: flex;
  flex-wrap: wrap;
}
#project-links .linkicon,
.settings-menu .linkicon {
  color: var(--dsv-blue);
  padding: 7px;
  margin-right: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#project-links a.linkicon:hover,
.settings-menu a.linkicon:hover {
  background: rgba(22,125,134,0.08);
  text-decoration: none!important;
}
#project-links .linkicon.active {
  border-bottom: 5px solid var(--dsv-blue);
  margin-bottom: -5px;
}
#project-links .linkicon.right {
  margin-right: 0;
  margin-left: auto;
}
.linkicon img,
.linkicon svg {
  height: 27px;
  width: 27px;
  padding-right: 5px;
}
.linkicon.print svg{
  height: 25px;
  width: 28px;
  padding: 6px 5px 0;
}
.linkicon.delete svg {
  height: 35px;
  width: 40px;
  padding: 6px 5px 0;
}
.views-field-edit-transaction,
.views-field-edit-node,
.views-field-edit-invoice,
.views-field-edit-branch,
.views-field-view-email,
.view-invoices-today .views-field-nothing-2,
.view-sap-file-summaries .views-field-nothing {
  white-space: nowrap; 
}
.no-cust {
  width: 80px;
}
.views-field-field-notes {
  min-width: 300px;
}
.ck-source-editing-area textarea {
  overflow: auto!important;
}
.click-to-copy {
  cursor: pointer;
  top: 7px;
  position: relative;
  left: 5px;
}

.csv-feed .feed-icon {
  background-image: url(/themes/cuba/images/icons/csv.png);
  width: 100px;
  display: block;
  margin-bottom: 10px;
  height: 40px;
}

.invoice-type-credit-note,
.invoice-type-debit-note {
  background-color: var(--dsv-light-grey);
}

.table-right td {
  text-align: right;
}

.rate-card-wrapper .notes div {
  margin: 5px 0px;
}

.mobile-login-details {
  max-width: 800px;
  margin: auto;
}
.mobile-login-details summary {
  border-bottom: none
}
.mobile-login-details legend {
  width: 100%;
  text-align: center;
}

.month-end-invoices-table h3 {
  padding-left:10px;
}
/* Status Twig Colours */

.get-processed,
.awaiting-parts,
.awaiting-processing,
.awaiting-verification,
.awaiting-additional-data,
.awaiting-response,
.awaiting-renom,
.awaiting-arrival-list,
.awaiting-clearance,
.schenker-cleared  {
  background-color: rgba(224, 150, 0, 0.2);
}

.get-processed:hover,
.awaiting-parts:hover,
.awaiting-processing:hover,
.awaiting-verification:hover,
.awaiting-additional-data:hover,
.awaiting-response:hover,
.awaiting-renom:hover,
.awaiting-arrival-list:hover,
.awaiting-clearance:hover,
.schenker-cleared:hover {
  background-color: rgba(252, 168, 43, 0.3);
}

.no-match,
.missing,
.invalid-data,
.stype-missing,
.wont-get-processed,
.diverted,
.cust-exclude,
.duplicate,
.duplicate-stt-shipment,
.cuba-status .bad,
.eori-not-found,
.importer-not-found,
.requires-review,
.duplicate-stt,
.duplicate-stt-transaction,
.pieces-mismatch,
.awaiting-origin-branch-rule,
.discarded {
  background-color: rgba(222, 8, 17, 0.2);
}

.no-match:hover,
.missing:hover,
.invalid-data:hover,
.stype-missing:hover,
.wont-get-processed:hover,
.diverted:hover,
.cust-exclude:hover,
.duplicate:hover,
.duplicate-stt-shipment:hover,
.cuba-status .bad:hover,
.eori-not-found:hover,
.importer-not-found:hover,
.requires-review:hover,
.duplicate-stt:hover,
.duplicate-stt-transaction:hover,
.pieces-mismatch:hover,
.awaiting-origin-branch-rule:hover,
.discarded:hover {
  background-color: rgba(245, 0, 0, 0.3);
}

.missing-stt td.views-field-field-stt,
.missing-stype td.views-field-field-stype,
.missing-inco td.views-field-field-inco {
  background-color: rgba(245, 0, 0, 0.3);
}

.processed,
.combined,
.cuba-status .good,
.pending-bulk-processing,
.schenker-completed {
  background-color: rgba(184, 238, 153, 0.2);
}

.processed:hover,
.combined:hover,
.cuba-status .good:hover,
.pending-bulk-processing:hover,
.schenker-completed:hover {
  background-color: rgba(184, 238, 153, 0.3);
}

.held {
  background-color: rgba(135, 206, 235, 0.2);
}

.held:hover {
  background-color: rgba(156, 211, 233, 0.3);
}

.proc-status-processed,
.proc-status-combined,
.cust-status-matched,
.status-complete,
.query-status-resolved,
.priority-low,
.finrls-status-sent,
.finrls-status-email-sent,
.mep-status-posted,
.cleared {
  background-color: rgba(140, 245, 79, 0.705);
}

.proc-status-wont-get-processed,
.proc-status-diverted,
.proc-status-cust-exclude,
.proc-status-no-match,
.proc-status-missing,
.proc-status-duplicate,
.proc-status-stype-missing,
.proc-status-invalid-data,
.cust-status-customer-not-found,
.cust-status-eori-missing,
.query-status-unresolved,
.priority-high,
.status-overdue,
.not-cleared {
  background-color: rgba(222, 8, 19, 0.712);
}

.not-cleared a {
  color: white;
  text-decoration: underline!important;
}

.proc-status-get-processed,
.proc-status-awaiting-parts,
.cust-status-rate-card-not-found,
.priority-normal,
.status-current, 
.finrls-status-pending,
.finrls-status-awaiting-payment,
.mep-status-draft,
.mep-status-processing {
  background-color: rgba(245, 146, 16, 0.911);
}

.proc-status-held {
  background-color: rgba(69, 209, 219, 0.911);
}

.finrls-status-na,
.extraction-running {
  background-color: rgba(92, 92, 92, 0.3);
}

/* Outlook Recreation */

.email-menu a,
.email-menu .selected {
  font-size: 1rem;
  margin-right: 1em;
}

.email-menu a {
  text-decoration: underline!important;
}

.email-menu a:hover {
  text-decoration: none!important;
}

.email-menu .selected {
  color: var(--dsv-blue);
  font-weight: bold;
}

.email-menu .bounces {
  display: inline-block;
  position: relative;
}

.view-emails tr.unread,
.view-emails tr.new-bounced-yes {
  font-weight: bold;
}
.view-emails tr.unread .views-field-title,
.view-emails tr.new-bounced-yes .views-field-title{
  border-left: 5px solid var(--dsv-dark-blue);
}

.field--name-field-emails .field__item:not(.field__items .eck-entity .field__item):not(:first-child)  {
  border-top: var(--dsv-black) 2px solid;
  margin: 5px;
  padding-top: 5px;
}

.field--name-field-emails .eck-entity .thread-email-body {
  margin: 5px;
  padding:5px;
  background-color: rgba(130, 130, 130, 0.3);
}

.notice-nobg.email-body {
  overflow-x: hidden;
}

.infopane.notice .deleted {
  background-color: rgba(222, 8, 19, 0.712);
  text-align: center;
}
.infopane.notice .replied {
  background-color: rgba(140, 245, 79, 0.705);
  text-align: center;
}
.replied-symbol img {
  width: 16px;
  max-width: initial;
}

.restore-email {
  font-size: 30px;
  font-weight: bold;
}
a.restore-email-link:hover {
  text-decoration: none!important;
}
.remove-user-form .form-item-to {
  margin: 0!important;
}

.email-text {
  cursor: pointer;
}
.email-text:hover {
  text-decoration: underline;
}

.email-reply-form div[id^="edit-body-format-help"] {
  display: none;
}

/* Transaction Menu */

.transaction-menu a,
.transaction-menu .selected {
  font-size: 1rem;
  margin-right: 1em;
}

.transaction-menu a {
  text-decoration: underline!important;
  display: inline-block;
  position: relative;
}

.transaction-menu a:hover {
  text-decoration: none!important;
}

.transaction-menu .selected {
  color: var(--dsv-blue);
  font-weight: bold;
}

.view-invoices.view-display-id-block_9 .views-field-title {
  overflow-wrap: anywhere;
}

/* Homepage */
/* .cuba-homepage {
  background: #9FA8C9;
  padding: 2em;
  border-radius: 10px;
} */
.cuba-homepage .button {
  display: block;
}
.traffic-home {
  column-gap: 1em;
  row-gap: 1em;
  margin-bottom: 1em;
}
.traffic-home .column {
  display: flex;
  flex-direction: column;
  flex: 1;
  column-gap: 1em;
  row-gap: 0.5em;
}
.traffic-home img {
  max-width: 20px;
  float: right;
}
.traffic-home .button {
  margin: 0!important;
  text-align: center;
  padding: 0.5em;
  border-radius: 7px;
}
.traffic-home .red-light,
.traffic-home .amber-light {
  fill: transparent;
}
.button.grey {
  background: var(--dsv-mid-grey)!important;
}
.button.grey:hover {
  background: var(--dsv-dark-blue)!important;
  text-decoration: none!important;
}
.button.dark-grey {
  background: var(--dsv-dark-grey)!important;
}
.button.dark-grey:hover {
  background: var(--dsv-dark-blue)!important;
  text-decoration: none!important;
}
.button.darker-grey {
  background: var(--dsv-darker-grey)!important;
}
.button.darker-grey:hover {
  background: var(--dsv-dark-blue)!important;
  text-decoration: none!important;
}
.button .red-counter {
  background-color: red;
  border-radius: 5px;
  padding: 2px 5px 0;
  float: right;
}
.button .white-counter {
  background-color: white;
  color: black;
  border-radius: 5px;
  padding: 2px 5px 0;
  float: right;
}
.homepage-wrapper .homepage-box {
  border: 3px solid var(--dsv-blue);
  border-radius: 7px;
  background: #fff;
  column-gap: 0.5em;
  row-gap: 0.5em;
}
.homepage-wrapper .homepage-box-title {
  background-color: var(--dsv-blue);
  color: #FFF;
  text-align: center;
  border-radius: 5px 5px 0 0;
  font-weight: bold;
  font-size: 1rem;
}
.homepage-wrapper .homepage-box-title span {
  color: #fff!important;
  padding: 0.5em;
}
.homepage-wrapper .homepage-box > div:not(.tabcontent) {
  display: flex;
  column-gap: 0.5em;
  row-gap: 0.5em;
  flex-wrap: wrap;
}

.homepage-wrapper.flex {
  column-gap: 1em;
  row-gap: 1em;
}

.homepage-wrapper .flex1,
.homepage-wrapper .flex2 {
  padding: 0;
  column-gap: 1em;
  row-gap: 1em;
}

.homepage-wrapper .homepage-box .homepage.button ,
.homepage-wrapper .homepage-box span:not(.homepage-box-title):not(.icon):not(.tablesort):not(.red) {
  text-align: center;
  border: 1px solid var(--dsv-blue);
  border-radius: 3px;
}
.homepage-wrapper .homepage-box .pager span {
  border: none!important;
}
.homepage-wrapper .homepage-box .homepage.button {
  flex: 1;
  background: transparent!important;
  color: var(--dsv-blue)!important;
  margin: 0;
}
.homepage-wrapper .homepage-box .homepage.button:hover {
  background: var(--dsv-blue)!important;
  color: #FFF!important;
  text-decoration: none!important;
}
.homepage-wrapper .homepage-box span:not(.red) {
  flex: 3;
  color: var(--dsv-blue); 
}
.homepage-wrapper .col-right {
  background: #fff;
}
.homepage-wrapper .col-right .views-element-container {
  width: 100%;
}
.homepage-wrapper .col-right .view-empty {
  padding: 1em;
}
.homepage-wrapper .col-right .homepage-box-title {
  display: flex;
}
.homepage-wrapper .col-right .homepage-box-title button {
  flex: 1;
  background-color: var(--dsv-blue);
  color: #fff;
  border: 0;
  font-weight: bold;
}
.homepage-wrapper .col-right .homepage-box-title button:focus {
  background: transparent!important;
  color: #fff!important;
}
.homepage-wrapper .col-right .homepage-box-title button.active {
  background-color: #fff;
  color: var(--dsv-blue);
  padding: 0.5em;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.homepage-wrapper .col-right .homepage-box-title button.active:focus {
  background: #fff!important;
  color: var(--dsv-dark-blue)!important;
}

.homepage-wrapper .tabcontent {
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.homepage-wrapper .tablink:not(.active) {
  cursor: pointer;
}

.homepage-wrapper .tablink:not(.active):hover {
  background: var(--dsv-dark-blue)!important;
  border-radius: 5px 5px 0 0;
}

/* Off-Canvas */

#drupal-off-canvas-wrapper {
  border-radius: 0 !important;
}

#drupal-off-canvas-wrapper input:where(:not([type="submit"], [type="checkbox"], [type="radio"], [type="file"])) {
  max-width: 280px!important;
}

#drupal-off-canvas-wrapper .ui-dialog-titlebar::before {
  display: none!important;
}

#drupal-off-canvas-wrapper .ui-dialog-title {
  color: var(--dsv-dark-blue);
}

#drupal-off-canvas-wrapper .ui-dialog-titlebar {
  border-radius: 0!important;
  padding-bottom: 1em !important;
}

#drupal-off-canvas-wrapper .ui-dialog-titlebar-close::before,
#drupal-off-canvas-wrapper .ui-dialog-titlebar-close::after {
  display: none;
}

#drupal-off-canvas-wrapper .ui-dialog-titlebar-close {
  top: 50%!important;
  width: 20px!important;
  height: 20px!important;
}

.infopane .linkicon svg,
.infopane .linkicon img {
  position: relative;
  top: 7px;
}

.ui-widget-overlay {
  background: var(--dsv-black)!important;
  opacity: 0.5!important;
}

.flag-icon {
  width: 18px;
  max-width: 18px;
}

.page-flag-icon {
  width: 30px;
  height: 19px;
  padding: 25px 0 0 20px;
}

table tr td.views-field-field-country {
  padding: 5px;
}

.views-field-field-attachments:not(.just-icon-attachments) a {
  max-width: 150px;
  overflow: hidden;
  display: block;
}

#cuba-global-cuba-global-edit-form .clearfix::after {
  display: initial;
  clear: none;
  content: none;
}

#cuba-global-cuba-global-edit-form .description {
  clear: none;
}

#cuba-global-cuba-global-edit-form #edit-actions {
  clear: both;
}

.fx-rate-edit-form .vertical-tabs__menu-item:not(.first) {
  display: none;
}

.cust-det-col {
  min-width: 400px;
}

.path-cuba-global .field--name-field-log br {
  display: block;
  margin: 0.3em 0;
  border-bottom: 1px solid #ddd;
  content: '';
}


.announcement p:last-child {
  margin: 0;
}

.announcement {
  display: block;
  text-align: center;
  padding: 1em;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
}

.red-announcement {
  background: var(--dsv-dark-red);
}

.amber-announcement {
  background: var(--dsv-amber);
}

.green-announcement {
  background: var(--dsv-green);
}

/* Go to box */

#goto-box-form {
  margin: 0 2em;
}
.goto-thing {
  position:relative;
}
.goto-thing .form-actions {
  position: absolute;
  top: -8px;
  right: 5px;
}
.goto-thing #edit-input-box {
  width: 300px;
  height: 36px;
  font-size: 1rem;
}

/* AWS */
.path-aws .field__label {
  margin-top: 1em;
}
.path-aws-login main.cuba-bg {
  background: url('/themes/cuba/images/aws-bg.jpg');
  background-size: cover;
  color: var(--aws-black);
}
.path-aws-login main.cuba-bg a {
  color: var(--aws-black);
}
body.role-aws_supplier .button,
.path-aws-login .button {
  background: var(--aws-black)!important;
}
body.role-aws_supplier .button:focus,
.path-aws-login .button:focus {
  background: var(--aws-black)!important;
}
body.role-aws_supplier .button:hover,
.path-aws-login .button:hover {
  background: var(--aws-orange)!important;
}
body.role-aws_supplier .layout-container:not(.front) > header:after {
  background-image: url(/themes/cuba/images/aws-banner.jpg)!important;
  background-blend-mode: unset!important;
  background-color: unset!important;
}
.aws-logo {
  height: 52px;
  padding: 0.5em;
}
.aws-logo svg {
  height: 100%;
  width: auto;
}

/* 3rd Party */

.pdf-iframe iframe {
  width: 98%;
  height: 100%;
  min-height: 700px;
  position: relative;
  left: 1%;
}

.pdf-iframe .toolbar,
.pdf-iframe #pdfViewer::part(viewer-toolbar) {
  display: none;
}

/* BlueApp */

.toggle.btn {
  box-sizing: border-box;
  height: 25px!important;
  min-height: 25px;
  max-width: 50px;
}
.toggle .btn.toggle-on {
  padding: 0 13px 0 0;
  box-sizing: border-box;
  font-weight: bold;
  max-width: 50px;
}
.toggle .btn.toggle-off {
  padding: 0 0 0 10px;
  box-sizing: border-box;
  font-weight: bold;
  max-width: 50px;
}

.stats-wrapper .chartjs-doughnut {
  position: relative;
}
.stats-wrapper .doughnut-total {
  position: absolute;
  top: 100px;
  left: 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #000;
  z-index: -1;
}
.stats-wrapper .doughnut-total-total,
.stats-wrapper .doughnut-total-suffix {
  font-size: 1.2rem;
  color: #000;
}
.stats-wrapper .doughnut-total-amount {
  font-size: 1.6rem;
  font-weight: bold;
  color: #000;
}
.stats-wrapper .chartjs-legend {
  padding: 1em 0 0;
}
.stats-wrapper .chartjs-chart {
  padding: 0.5em;
}
.stats-wrapper .chartjs-legend .legend-colour {
  width: 20px;
  min-width: 20px;
  margin-left: 6px;
  margin-right: 4px;
  border: 1px solid black;
  height: 14px;
}
.stats-wrapper .chartjs-legend .legend-text {
  color: black
}
.stats-wrapper .chartjs-legend .legend-text:hover {
  text-decoration: none!important;
}
.stats-wrapper .chart-wrapper {
  padding: 2em;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 1em;
}
.stats-wrapper .chartjs-wrapper {
  padding-top: 1em;
}
.stats-wrapper .legend-item {
  display: flex;
  margin: 0 0.5em 0.5em 0;
}
.view-blueapp-requests .aog-shipment {
  background-color: rgba(135, 206, 235, 0.2);
}
.view-blueapp-requests .aog-shipment:hover {
  background-color: rgba(156, 211, 233, 0.3);
}
.view-blueapp-requests-blocks td.views-field-nothing {
  display: flex;
}
.view-blueapp-requests-blocks td.views-field-nothing .icon {
  display: flex;
}
.blueapp-dashboard .chart-wrapper .chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blueapp-dashboard .chart-wrapper h3 {
  height: 2em;
  text-align: center;
}
.view-blueapp-requests-blocks table {
  margin-bottom: 2em;
}
.blueapp-dashboard .flex1 {
  min-width: 275px;
  box-sizing: content-box;
}

/* FCL Mismatch */

.fcl-mismatch-table tr th:nth-child(1),
.fcl-mismatch-table tr td:nth-child(1) {
  width: 300px;
  max-width: 300px;
}
.fcl-mismatch-table tr th:nth-child(2),
.fcl-mismatch-table tr td:nth-child(2) {
  width: 150px;
  max-width: 150px;
}
.fcl-mismatch-table tr th:nth-child(3),
.fcl-mismatch-table tr td:nth-child(3) {
  width: 100px;
  max-width: 100px;
}
.fcl-mismatch-table tr th:nth-child(5),
.fcl-mismatch-table tr td:nth-child(5) {
  width: 100px;
  max-width: 100px;
}

/* New log messages */

.log-message {
  margin-bottom: 0.25em;
  font-size: 0.85rem;
}
.log-message strong,
.log-message em {
  font-size: 0.75rem;
}

@media all and (max-width: 1150px) {
  .homepage-wrapper.flex {
    flex-direction: column;
  }
  .cuba-homepage .button {
    height: 40px;
  }
}

@media all and (max-width: 1000px) {
  .goto-thing #edit-input-box {
    width: 200px;
    min-width: 200px;
  }
}

@media all and (max-width: 900px) {
  #dsvlogo {
    display: none;
  }
  #dsvlogosmall {
    display: inline-block;
  }
  .hello {
    display: none;
  }
}

@media all and (max-width: 700px) {
  .traffic-home {
    flex-direction: column;
  }
  .cuba-homepage .button {
    height: initial;
  }
}
