@import url("https://use.typekit.net/hpg4ffy.css");
@import "./alertMessage.css";
@import "./sidebar.css";

* {
  font-family: "Museo";
}

body {
  background-image: url("../img/pattern-background.svg");
}

header {
  /*tratamento exclusivo para ajuste conforme o site viva*/
  line-height: 1.8rem;

  #navDesktop>a {
    height: 56.13px;
  }

  #navMobile>div.navbar-mobile-header>label>span>i {
    font-size: 1.6rem;
  }
}

/* remover setinhas */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  /* Firefox */
}

/* campo obrigatorio */
label:has(+ .radio-container.required)::after,
.required>label::after {
  content: "*";
  color: red;
}

textarea {
  resize: none;
}

/* igual do site viva */
.bread-crumbs {
  font-size: 16px;
  line-height: 1.4rem;
  margin: 32px 0px 32px 27px;
  color: #33423d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  a {
    text-decoration: none;
    color: #33423d;
    padding: 5px;

    i {
      font-size: 16px;
    }

    &:hover {
      color: #519d34;

      i {
        color: #519d34;
      }
    }
  }

  i {
    color: #33423d;
    font-size: 12.8px;
    opacity: 50%;
  }

  span {
    color: #33423d;
    opacity: 50%;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

/* Loadings INICIO */
.loading-screen,
.loading-content {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;

    background-color: rgba(212, 212, 212, 0.11);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    z-index: 9998;
  }
}

.loading-screen {
  &::after {
    content: "\f1ce";
    width: fit-content;
    height: fit-content;
    position: fixed;
    inset: 0;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 6rem;

    color: #18587c;

    z-index: 9999;
    animation: loading 1100ms cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
  }
}

.loading-content {
  &::after {
    content: "\f1ce";
    height: fit-content;
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 5rem;

    color: #18587c;

    z-index: 9999;
    animation: loading-content 1100ms cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
  }
}

@keyframes loading-content {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Loadings FIM */

@media (max-width: 991px) {
  .bread-crumbs {
    text-align: center;
    font-size: 12.8px;
    margin-top: 111px;
    margin-left: 0px;
  }

  .bread-crumbs i {
    font-size: 11.2px;
  }

}