/*
    TOAST
*/
.ajax-response-toast {
  position: fixed;
  padding: 20px 20px 0 0;
  z-index: 9999;
  top: 0;
  right: 0;
  width: 350px;
  max-width: 100%;
}

.ajax-response-toast .message {
  color: #ffffff;
  font-size: 0.8em;
  overflow: hidden;
  border: none;

  display: block;
  align-items: center;
  width: 100%;
  padding: 15px 15px 20px 15px;
  background: #333333;
  margin-bottom: 15px;
  position: relative;

  border-radius: 10px;
  border-bottom-right-radius: 0;

  cursor: pointer;
}

.ajax-response-toast .message:before {
  flex-basis: 0;
  margin: -5px 15px 0 0 !important;
  font-size: calc(var(--font-max) * 1.2);
  color: rgba(0, 0, 0, 0.5);
}

.ajax-response-toast .message-time {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4%;
  height: 5px;
  background: rgba(0, 0, 0, 0.5);
}

.ajax-response-toast .message.success {
  background: #28a745;
}

.ajax-response-toast .message.info {
  background: #17a2b8;
}

.ajax-response-toast .message.warning {
  background: #ffc107;
}

.ajax-response-toast .message.error {
  background: #dc3545;
}

/*
*   GRID
*/
.outer {
  display: table;
  position: absolute;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.inner {
  margin-left: auto;
  margin-right: auto;
  width: 400px;
}

@media (max-width: 62em) {
  .inner {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
}

@media (max-width: 52em) {
  .inner {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
  }
}

@media (max-width: 32em) {
  .inner {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
}

/*
* ALERTS/MESSAGE
*/
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  left: 90%;
  top: 30px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

/*DEFAULT PAGINATOR*/
.paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.paginator a,
.paginator span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #cccccc;
  border-right: 0;
  color: #555555;
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition-duration: 0.2s;
}

.paginator a:first-of-type {
  -webkit-border-radius: var(--radius-normal) 0 0 var(--radius-normal);
  -moz-border-radius: var(--radius-normal) 0 0 var(--radius-normal);
  border-radius: var(--radius-normal) 0 0 var(--radius-normal);
}

.paginator a:last-of-type {
  border-right: 1px solid #cccccc;
  -webkit-border-radius: 0 var(--radius-normal) var(--radius-normal) 0;
  -moz-border-radius: 0 var(--radius-normal) var(--radius-normal) 0;
  border-radius: 0 var(--radius-normal) var(--radius-normal) 0;
}

.paginator a:hover {
  background: #baddcc;
  background-size: 200%;
}

.paginator span {
  background: #00995d;
  color: #ffffff;
}

/*
* TINYMCE
*/
.mce-container {
  z-index: 10000;
}

.hidden-header {
  display: none;
}

/*
* DROPDOWN NOTIFICACAO
*/
.no-arrow::after {
  display: none; /* Para ocultar a seta */
}

.notificacoes-container {
  width: 500px;
  max-height: 750px;
  overflow-y: auto;
  /* background-color: #ececec; */
  filter: drop-shadow(-5px 2px 5px #5b5c65);
}

.notificacoes-container > .dropdown-item {
  white-space: inherit;
  border-bottom: 1px dashed #888;
}

.notificacoes-container a:last-of-type {
  border-bottom: none;
}

.notificacoes-container .user {
  display: block;
}

.notificacoes-container .msg {
  display: block;
}

.notificacoes-container .footer {
  display: flex;
  justify-content: space-between;
}

.notificacoes-container .footer .singular {
  font-weight: 500;
}

.btn-add-documentos {
  position: initial;
}

/*
* TIME LINE
*/
.hori-timeline .events {
  border-top: 3px solid #6c757d;
}

.hori-timeline .events .event-list {
  display: block;
  position: relative;
  text-align: center;
  padding-top: 40px;
  margin-right: 0;
}

.hori-timeline .events .event-list .event-icon {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  width: 75px;
  margin: 0 auto;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 30px;
}
@media (min-width: 1140px) {
  .hori-timeline .events .event-list:before {
    content: "";
    position: absolute;
    height: 36px;
    border-right: 2px dashed #6c757d;
    top: 0;
  }
  .hori-timeline .events .event-list {
    display: inline-block;
    width: 24%;
    padding-top: 70px;
  }
  .hori-timeline .events .event-list .event-icon {
    top: 28px;
  }
  .btn-col {
    margin-top: 32px;
  }
}

/* 
Personalizadas
*/

.container-login {
  padding: 25px;
  border-radius: 20px;
  border-bottom-right-radius: 0;
  border: 1px solid rgba(48, 48, 48, 0.1);
}

.container-bloqueado {
  padding: 10px;
  border-radius: 10px;
  border-bottom-right-radius: 0;
  border: 1px solid rgba(248, 85, 85, 0.418);

  & div:nth-child(2) {
    font-size: 12px;
    text-align: center;
  }
}

.modal-footer {
  & .instrucao {
    font-size: 11px;
  }
}
