/*
  This CSS resource incorporates links to font software which is the valuable copyrighted
  property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install,
  redistribute, convert, modify or reverse engineer this font software. Please contact Monotype
  Imaging with any questions regarding Web Fonts: http://www.monotype.com/
*/

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/assets/fonts/HelveticaNowDisplay.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowDisplay.woff") format("woff");
  font-weight: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/assets/fonts/HelveticaNowDisplayBold.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowDisplayBold.woff") format("woff");
  font-weight: bold;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/assets/fonts/HelveticaNowDisplayXBd.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowDisplayXBd.woff") format("woff");
  font-weight: bolder;
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src: url("/assets/fonts/HelveticaNowDisplayLight.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowDisplayLight.woff") format("woff");
  font-weight: lighter;
  font-weight: 200 300;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text";
  src: url("/assets/fonts/HelveticaNowText.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowText.woff") format("woff");
  font-weight: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text";
  src: url("/assets/fonts/HelveticaNowTextBold.woff2") format("woff2"),
    url("/assets/fonts/HelveticaNowTextBold.woff") format("woff");
  font-weight: bold;
  font-weight: 700;
  font-display: swap;
}

html,
body {
  height: 100%;
  margin: 0;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  font-family: "Helvetica Now Display", sans-serif;
}

.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #f6f7f8;
  padding: 0 15px;
  overflow: hidden;
  z-index: 1;
}

.app-loading .logo-wrapper {
  display: flex;
}

.app-loading .logo-text {
  color: #fff;
  font-size: 30px;
}

.app-loading .logo-loader {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 30px;
  margin-bottom: 40px;
}

.app-loading .logo-loader div {
  margin-top: 18px;
}

.app-loading .loading {
  text-align: center;
  font-size: 12px;
}

.app-loading .progress {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.app-loading .progress > div {
  display: block;
  width: 20px;
  height: 17px;
  background: url(/assets/loader.svg) no-repeat center;
  background-size: contain;
  opacity: 0.2;
  margin: 0 -1px;
  animation: background 1.5s linear infinite;
}

.app-loading .progress > div:nth-child(even) {
  transform: rotate(180deg);
}

.app-loading .progress > div:nth-child(2) {
  animation-delay: 0.1s;
}

.app-loading .progress > div:nth-child(3) {
  animation-delay: 0.2s;
}

.app-loading .progress > div:nth-child(4) {
  animation-delay: 0.3s;
}

.app-loading .progress > div:nth-child(5) {
  animation-delay: 0.4s;
}

.app-loading .progress > div:nth-child(6) {
  animation-delay: 0.5s;
}

.app-loading .progress > div:nth-child(7) {
  animation-delay: 0.6s;
}

.app-loading .progress > div:nth-child(8) {
  animation-delay: 0.7s;
}

.app-loading .progress > div:nth-child(9) {
  animation-delay: 0.8s;
}

.app-loading .progress > div:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes background {
  0% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.2;
  }
}

@font-face {
  font-family: "dl-icons";
  src: url("/assets/fonts/dl-icons.eot?croake");
  src: url("/assets/fonts/dl-icons.eot?croake#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/dl-icons.woff2?croake") format("woff2"),
    url("/assets/fonts/dl-icons.ttf?croake") format("truetype"),
    url("/assets/fonts/dl-icons.woff?croake") format("woff"),
    url("/assets/fonts/dl-icons.svg?croake#dl-icons") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="dl-icon-"],
[class*=" dl-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "dl-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dl-icon-services:before {
  content: "\e90b";
}

.dl-icon-dashboard:before {
  content: "\e913";
}

.dl-icon-placeholder:before {
  content: "\e900";
}

.dl-icon-frm-blue .path1:before {
  content: "\e901";
  color: rgb(0, 48, 108);
}

.dl-icon-frm-blue .path2:before {
  content: "\e902";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

.dl-icon-eiac-blue .path1:before {
  content: "\e903";
  color: rgb(0, 48, 108);
}

.dl-icon-eiac-blue .path2:before {
  content: "\e904";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

.dl-icon-dsmc-blue .path1:before {
  content: "\e905";
  color: rgb(0, 48, 108);
}

.dl-icon-dsmc-blue .path2:before {
  content: "\e906";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

.dl-icon-bps-blue .path1:before {
  content: "\e907";
  color: rgb(0, 48, 108);
}

.dl-icon-bps-blue .path2:before {
  content: "\e908";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

.dl-icon-alarms:before {
  content: "\e909";
}

.dl-icon-customers:before {
  content: "\e90a";
}

.dl-icon-ellipsis-horizontal:before {
  content: "\e90c";
}

.dl-icon-farms:before {
  content: "\e90d";
}

.dl-icon-find-my-cow:before {
  content: "\e90e";
}

.dl-icon-health:before {
  content: "\e90f";
}

.dl-icon-settings:before {
  content: "\e910";
}

.dl-icon-chevron-right:before {
  content: "\e911";
}

.dl-icon-chevron-left:before {
  content: "\e912";
}

.v-application--wrap.spa-application {
  z-index: 1;
}

/*
  Start vuetify hacks: The alarms µFrontend is importing its own version of vuetify. The two versions have conflicting styling.
  So I choose to !important override here. Since we can delete this when vuetify is gone.
  Or we might even be able to remove this when navigation is using storybook
*/
.v-application--wrap.spa-application {
  background: #eff0f1 !important;
}

.v-app-bar.v-toolbar.v-sheet {
  background-color: #ffffff !important;
}
/* End vuetify hacks */

.login-error-div {
  display: none;
}

.login-error-div .dl-alert.dl-alert-error {
  background-color: rgba(255, 51, 0, 0.2);
  border-left: 3px solid #f30;
}

.login-info-card {
  align-items: center;
  background: #ffffff;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 603px;
  padding: 40px;
  width: 100%;
}

.main-heading {
  font-size: 24px;
  margin-bottom: 28px;
}

.login-error-div .dl-alert {
  color: #333333;
  display: flex;
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  padding: 16px;
  position: relative;
}

.login-error-div .mr-15 {
  margin-right: 15px;
}

.login-error-div .dl-alert .notify-content {
  flex-grow: 1;
  padding: 4px 10px 4px 0;
}

.login-error-div .dl-alert .icon-info {
  color: #0071EB;
}

.login-info-card .user-block {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin-bottom: 24px;
}

.user-block p {
  font-size: 18px;
  line-height: 24px;
}

.dl-avatar {
  align-items: center;
  border-radius: 50%;
  background: #d9f2ff;
  color: #2e66be;
  display: flex;
  height: 56px;
  justify-content: center;
  margin-right: 16px;
  width: 56px;
}

.dl-info {
  background-color: #d9f2ff;
  border-left: 3px solid #0071EB;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.12);
}

.login-error-div .dl-icon {
  display: inline-block;
  line-height: 1;
}

.login-error-div .dl-icon-svg {
  fill: currentColor;
  display: inline-block;
}

.logout-block {
  margin-top: 24px;
}

.dl-btn-logout {
  align-items: center;
  background-color: transparent;
  border: 1px solid transparent;
  border-color: #0071EB;
  color: #0071EB;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.3px;
  min-width: 64px;
  outline: none;
  padding: 10px 24px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  user-select: none;
  white-space: nowrap;
}

.logout-btn-font {
  font-family: "Helvetica Now Text";
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
}

.logout-icon-stroke {
  stroke: #0071EB;
}

@media only screen and (min-width: 360px) and (max-width: 599px) {
  .app-loading {
    background: #fff;
  }

  .login-info-card {
    box-shadow: none;
  }
}


/* Adjustments for Stonly CSS */
@media (max-width: 768px) {
  .stn-widget-wrapper[class*="stn-widget-trigger-"] .stn-widget-buttons-wrapper {
     top: 10px;
     right: 10px;
  }
}

