
/* ------------------------- */
/* COMMON */
/* ------------------------- */
.no-scroll {
  overflow: hidden;
  height: 100%;
}

#index-body{
  background: linear-gradient(0deg, rgba(147,177,212,1) 0%, rgba(250,250,255,0.8631827731092436) 77%);
  background-attachment: fixed;
  field-sizing: content;
}
#index-body, #index-main{
  height: 100%;
}

.d-none{
  display: none !important;
}

/* TOOLTIP */
.tooltip{
  .tooltip-inner{
    background-color: rgb(24, 74, 182);
  }
}
.tooltip.top{
  .tooltip-arrow{
    border-top:5px solid rgb(24, 74, 182) !important;
  }
}
.tooltip.right{
  .tooltip-arrow{
    border-right:5px solid rgb(24, 74, 182) !important;
  }
}

.background-blur{
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.491);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, z-index 0s ease-in, z-index 0.6s ease-out;
}
.background-blur-active{
  z-index: 100;
  opacity: 1;
}

/* BARRA SCROLL */
* {
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

/* PRELOADER */
.box-load{
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  background-color: rgb(255, 255, 255);
  height: 100%;
  z-index: 1001;

  .pre-load{
    margin-top: 20vh;
    .pre-load-img{
      margin-left: auto;
      display: flex;
      justify-content: center;
      img{
        width: 40px;
      }
    }
    h2{
      font-size: 3em;

    }
  }
}

.loader {
  margin: 50px auto;
  justify-self: center;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid rgb(24, 74, 182);
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

.remove-loader{
  animation: fadeOut 0.9s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; z-index: 1000; }
  99% { opacity: 0; z-index: 1000; }
  100% { opacity: 0; z-index: -1000; }
}

@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}

.loading-img{
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ------------------------- */
/* NAVBAR */
/* ------------------------- */

.divider-right{
  position: absolute;
  width: 1px;
  background-color: #EDEDF3;
  height: 140%;
  bottom: -5px;
  right: 0;
}
.divider-left{
  position: absolute;
  width: 1px;
  background-color: rgba(120, 120, 120, 0.19);
  height: 140%;
  bottom: -5px;
  left: 0;
}

.ambiente-de-testes{
  width: 100%;
  background-color: #ed5565;
  color: white;
  position: fixed;
  text-align: center;
  z-index: 6;
  user-select: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 500px;
}

.navbar-page{
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(120, 120, 120, 0.082);
  position: fixed;
  width: 100%;
  z-index: 5;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  img{
    user-select: none;
    -webkit-user-drag: none;
  }



  .navbar-page-content{
    display: flex;
    height: 100%;
    margin: 5px 20px;
    justify-content: space-between;

    .navbar-page-content-left{
      display: flex;
    }
    .navbar-page-content-right{
      display: flex;
    }

    .navbar-page-content-left-logo{
      background: white;
      border: 1px solid rgba(182, 182, 182, 0.276);
      border-radius: 5px;
      height: 45px;
      width: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      img{
        height: 20px;
      }
    }

    .navbar-page-content-left-description{
      display: flex;
      flex-wrap: wrap;
      width: 75px;
      position: relative;
      align-items: center;
      cursor: pointer;

      p{
        margin: 0 12px;
        padding: 0;
      }

      .navbar-page-content-left-description-name{
        width: 100%;
        font-weight: bold;
      }
      .navbar-page-content-left-description-version{
        width: 100%;
        font-size: 0.8em;
        color: rgb(120, 120, 120);
      }
    }

    .navbar-page-content-left-local{
      display: flex;
      align-items: center;
      justify-content: center;

      p{
        margin: 0 12px;
        padding: 0;
      }

      .navbar-page-content-left-local-logo{
        margin-left: 18px;
        font-size: 1.3em;
        color: rgb(24, 74, 182);
      }

      .navbar-page-content-left-local-info-name{
        display: flex;
        align-items: center;
        color: rgb(24, 74, 182);
        font-weight: bold;
      }
      .navbar-page-content-left-local-info-description{
        font-size: 0.8em;
      }
    }

    .navbar-page-content-left-history{
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      color: rgb(120, 120, 120);
      font-size: 1.3em;
      height: 100%;
      width: 64px;
      margin-left: 74px;
      cursor: pointer;

      .navbar-page-content-left-history-logo{
        position: relative;
        img{
          z-index: 0;
        }
        .navbar-page-content-left-history-logo-back-ground{
          position: absolute;
          width: 0px;
          height: 18px;
          background-color: rgb(120, 120, 120);
          left: 2px;
          top: 5px;
          z-index: -2;
          transition: 0.2s ease-in-out;
        }
        .navbar-page-content-left-history-logo-back-ground-active{
          width: 6px !important;
        }
      }
    }

    .navbar-page-content-left-new-chat{
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      color: rgb(120, 120, 120);
      font-size: 1.5em;
      height: 100%;
      width: 64px;
      cursor: pointer;
    }

    .navbar-page-content-right-favorite{
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      color: rgb(120, 120, 120);
      font-size: 1.3em;
      height: 100%;
      width: 64px;
      cursor: pointer;
      margin-right: 30px;
    }

    .navbar-page-content-right-user{
      display: flex;
      justify-content: center;
      align-items: center;
      
      .navbar-page-content-right-user-arrow{
        font-size: 1.2em;
        color: rgb(120, 120, 120);
        button{
          border: none;
          background: transparent;
          border-radius: 8px;
          i{
            transition: 0.3s;
          }
        }
        ul li{
          padding: 5px 0;
          i{
            color: rgb(24, 74, 182);
            font-size: 1.2em;
          }
        } 
      }
      .open{
        button i{
          transform: rotate(180deg);
          transition: 0.3s;
        }
      }
    }
  }

}

/* ------------------------- */
/* MARCA VECTOR */
/* ------------------------- */
.marca-vector{
  width: 100%;
  z-index: 2;
  position: relative;

  .marca-vector-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    img{
      width: 35px;
    }
  }
  .marca-vector-greeting{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    h3{
      margin: 0;
    }
  }
  .marca-vector-info p{
    margin-top: 10px;
    color: #696969cc;
    font-size: 0.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
      width: 12px;
      margin: 0 3px;
    }
  }
}

/* ------------------------- */
/* ALERT */
/* ------------------------- */
.alert {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out;
}

.alert-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  transform: scale(0.8);
  transition: transform 0.2s ease-in-out;
}

.alert-on {
  opacity: 1;
  z-index: 1002;
}

.alert-on .alert-container {
  transform: scale(1);
}

/* ------------------------- */
/* LOG OUT */
/* ------------------------- */
.log-out{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 30px 20px;
  max-width: 400px;
  .log-out-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: rgba(0, 60, 255, 0.103);
    i{
      font-size: 4.5em;
      color: rgb(24, 74, 182);
    }
  }
  .log-out-text{
    margin: 20px 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }

  .log-out-confirm{
    width: 100%;
    button{
      width: 100%;
      margin-bottom: 10px;
      background: rgb(24, 74, 182);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
    }
  }
  .log-out-cancel{
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: rgb(24, 74, 182);
    padding: 12px;
  }

}

/* ------------------------- */
/* ESQUECI SENHA */
/* ------------------------- */
.esqueci-senha{
  margin: 20px 5px;
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  h4{
    width: 100%;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    text-align: center;
    color: #424A57;
  }
  .esqueci-senha-text{
    width: 70%;
    text-align: center;
    margin: auto;
  }
  form{
    width: 100%;
    margin-top: 30px;

    .esqueci-senha-input{
      position: relative;
      input{
        height: 50px;
        border: 1px solid #EDEDF3;
        border-radius: 8px;
      }

      .esqueci-senha-input-label{
        font-weight: 450;
        font-size: 12px;
        padding: 0px 5px;
        background-color: white;
        color: #858a93;
        position: absolute;
        left: 10px;
        top: -8px;
      }
    }
  }
  .esqueci-senha-button-email{
    width: 100%;
    height: 50px;
    margin-bottom: 5px;
    background: rgb(24, 74, 182);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
  }
  .esqueci-senha-button-sms{
    width: 100%;
    margin-bottom: 5px;
    background: rgba(24, 74, 182, 0.128);
    color: rgb(24, 74, 182);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
  }
  .esqueci-senha-button-cancel{
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: rgb(24, 74, 182);
    padding: 12px;
    font-weight: 500;
  }
}


/* ------------------------- */
/* ALTERAR SENHA */
/* ------------------------- */
.sis-usuario-alterar-senha{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;

  .sis-usuario-alterar-senha-container{
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    max-width: 80%;

    p{
      font-size: 1.2em;
      margin: 0 0 30px 0;
    }
    .help-block{
      font-size: 0.9em;
    }

    .sis-usuario-alterar-senha-container-input{
      position: relative;
      margin-bottom: 25px;
      input{
        height: 40px;
      }
    
      .sis-usuario-alterar-senha-container-input-label{
        font-size: 0.8em;
        padding: 0px 5px;
        background-color: white;
        position: absolute;
        left: 12px;
        top: -8px;
      }
    }
    button{
      width: 100%;
      font-size: 1.2em;
    }
  }
}



/* ------------------------- */
/* SUCCESS ESQUECI SENHA */
/* ------------------------- */
.success-esqueci-senha{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 30px 20px;
  max-width: 400px;
  .success-esqueci-senha-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: rgba(0, 60, 255, 0.103);
    i{
      font-size: 4.5em;
      color: rgb(24, 74, 182);
    }
  }
  .success-esqueci-senha-text{
    margin: 20px 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }

  .success-esqueci-senha-confirm{
    width: 100%;
    button{
      width: 100%;
      margin-bottom: 10px;
      background: rgb(24, 74, 182);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
    }
  }
  .success-esqueci-senha-cancel{
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px;
    background: rgb(24, 74, 182);
    color: white;
  }

}

/* ------------------------- */
/* HISTORICO CONTENT */
/* ------------------------- */
.chat-historico-inactive{
  width: 0px !important;
  overflow: hidden;
  opacity: 0 !important;
  transition: width 0.1s ease-in-out, opacity 0.15s ease-in-out;
}

.chat-historico{
  width: 375px;
  background-color: #FAFAFF;
  padding: 15px 15px 15px 15px;
  opacity: 1;
  transition: width 0.1s ease-in-out, opacity 0.2s ease-in-out;
  z-index: 4;
  border-right: 1px solid rgba(120, 120, 120, 0.082);

  .chat-historico-search-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;

    #close-historico{
      display: none;
    }
    p{
      margin: 0;
      font-weight: 550;
      font-size: 18px;
    }
    i{
      margin-right: 20px;
    }
  }

  .chat-historico-search{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;

    .chat-historico-search-input{
      width: 100%;
      position: relative;
      margin: 0;

      input{
        width: 100%;
        background-color: #EDEDF3;
        border: none;
        border-radius: 8px;
        padding: 5px 0 5px 28px;
        font-size: 0.9em;
      }
      input::placeholder {
        color: #78808D;
        font-weight: 450;
      }
      i{
        position: absolute;
        left: 10px;
        height: 100%;
        display: flex;
        align-items: center;
        font-size: 0.85em;
        pointer-events: none;
        color: #78808D;
      }
    }
  }
  .chat-historico-content{
    overflow-y: scroll;
    padding: 10px 3px 160px 3px;
    height: 100%;
    border-top: 1px solid #a1a1a14d;
    width: 306px;
    min-width: 100%;

    .chat-historico-content-data{
      font-size: 0.85em;
      margin-bottom: 6px;
      font-weight: 500;
      color: #424A57;
    }
    .chat-historico-content-item-active{
      border: 1.2px solid rgba(24, 74, 182, 0.814) !important;
      background-color: transparent !important;
    }
    .chat-historico-content-item:hover{
      background-color: transparent !important;
    }
    .chat-historico-content-item{
      min-width: 100%;
      width: 300px;
      background-color: white;
      border-radius: 6px;
      padding: 13px 10px 8px 10px;
      margin-bottom: 12px;
      /* box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; */
      box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;
      cursor: pointer;
      position: relative;
      overflow-x: hidden;
      border: 1px solid transparent;
  
      .chat-historico-content-item-header{
        display: flex;
  
        .chat-historico-content-item-header-foto{
          display: flex;
          align-items: center;
          img{
            width: 34px;
            height: 34px;
            border-radius: 100%;
          }
          .no-portrait{
            width: 34px;
            height: 34px;
            font-size: 1.5em;
          }
        }
        .chat-historico-content-item-header-info{
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          /* margin-left: 8px; */
          width: 90%;
          
          .chat-historico-content-item-header-info-nome{
            font-size: 0.8em;
            font-weight: bold;
            color: #404652;
            font-weight: 550;
          }
          .chat-historico-content-item-header-info-atendimento{
            font-size: 0.75em;
            color: rgb(144, 143, 143);
          }
          p{
            margin: 0;
            width: 100%;
          }
        }
        .chat-historico-content-item-header-actions{
          width: 10%;
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;

          i{
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 100%;
          }
        }
      }
  
      .chat-historico-content-item-text{
        font-size: 0.85em;
        font-weight: 500;
        p{
          margin: 10px 0 0 0px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          height: 25px;
          color: #404652;
        }

        .chat-historico-content-item-text-edit{
          display: flex;
          margin-bottom: 4px;

          input{
            width: 90%;
            border-radius: 7px;
            border: 1px solid #0D53A5;
            padding-left: 5px;
            margin: 0;
          }
          button{
            width: 40px;
            height: 25px;
            border: 1px solid #EDEDF3;
            border-radius: 7px;
            background-color: #FFFFFF;
            margin-left: 7px;
            color: #0D53A5;
            font-weight: 500;
          }
        }
      }
  
      .chat-historico-content-item-divider{
        width: 100%;
        display: block;
        height: 1px;
        background-color: #a1a1a14d;
        margin: 10px 0px 10px 0px;
      }

      .chat-historico-content-item-actions-active{
        right: 0 !important;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
      }
      .chat-historico-content-item-actions{
        position: absolute;
        background-color: white;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        border-radius: 6px;
        right: -50%;
        top: 0;
        width: 130px;
        height: 100%;
        background-color: #ffffff;
        padding: 0 10px;
        font-size: 0.9em;
        transition: 0.1s ease-in-out;

        .chat-historico-content-item-actions-item:hover {
          background-color: #0D53A533;
        }
        .chat-historico-content-item-actions-item{
          display: flex;
          align-items: center;
          justify-content: start;
          padding: 3px 10px;
          width: 100%;
          border-radius: 6px;
          p{
            margin: 0 0 0 10px;
          }
          i{
            color: #0D53A5;
          }
        }

        .chat-historico-content-item-actions-divider{
          width: 100%;
          display: block;
          height: 1px;
          background-color: #a1a1a128;
          margin: 3px 0;
        }
      }
  
    }

    .chat-historico-content-no-data{
      width: 100%;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 15px;
      img{
        width: 100%;
        width: 25px;
        margin-bottom: 10px;
        filter: grayscale(100%);
      }
      p{
        width: 100%;
        text-align: center;
        margin: 0;
        color: rgb(148, 148, 148);
        font-size: 0.9em;
        font-weight: bold;
      }
    }
  }
}

/* ------------------------- */
/* ALERT DELETE HISTORICO */
/* ------------------------- */
.chat-historico-content-alert {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out;
  background-color: rgba(0, 0, 0, 0.491);
}

.chat-historico-content-alert-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 30px 20px;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 400px;
  transform: scale(0.8);
  transition: transform 0.2s ease-in-out;


  .chat-historico-content-alert-container-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: rgba(0, 60, 255, 0.103);
    i{
      font-size: 4.5em;
      color: rgb(24, 74, 182);
    }
  }
  .chat-historico-content-alert-container-text{
    margin: 20px 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }

  .chat-historico-content-alert-container-confirm{
    width: 100%;
    margin-bottom: 10px;
    background: rgb(24, 74, 182);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;

    .loader {
      margin: 0px auto;
      width: 20px;
      border: 4px solid rgb(255, 255, 255);
    }
  }
  .chat-historico-content-alert-container-cancel{
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: rgb(24, 74, 182);
    padding: 12px;
    overflow: hidden;
    transition: 0.4s ease-in-out;
  }
  .chat-historico-content-alert-container-cancel-hidden{
    height: 0px;
    padding: 0;
  }
}

.chat-historico-content-alert-on {
  opacity: 1;
  z-index: 1002;
}

.chat-historico-content-alert-on .chat-historico-content-alert-container {
  transform: scale(1);
}

/* ------------------------- */
/* ALERT EDIT E DELETE HISTORICO MOBILE */
/* ------------------------- */
.chat-historico-content-edit-mobile {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: end;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out, bottom 4s;
  background-color: rgba(0, 0, 0, 0.491);
}

.chat-historico-content-edit-mobile-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px 10px 0 0;
  padding: 20px;
  width: 100%;
  transition: 0.2s ease-in-out;

  button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    height: 40px;
    background-color: transparent;
    border: none;
    i{
      color: #0D53A5;
    }
    p {
      margin: 0 10px;
    }
  }
}
.chat-historico-content-edit-mobile-on {
  opacity: 1;
  z-index: 1002;
}
.chat-historico-content-edit-mobile-divider{
  width: 100%;
  display: block;
  height: 1px;
  background-color: #8e8e8e28;
  margin: 3px 0;
}

/* ------------------------- */
/* FAVORITA CONTENT */
/* ------------------------- */
.chat-favorita-inactive{
  width: 0px !important;
  overflow: hidden;
  opacity: 0 !important;
  transition: width 0.1s ease-in-out, opacity 0.15s ease-in-out;
}

.chat-favorita{
  width: 375px;
  background-color: #FAFAFF;
  padding: 15px 15px 15px 15px;
  opacity: 1;
  transition: width 0.1s ease-in-out, opacity 0.2s ease-in-out;
  z-index: 4;
  border-left: 1px solid rgba(120, 120, 120, 0.082);

  .chat-favorita-search-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;

    .chat-favorita-search-header-bar{
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 5px 0 15px 0;
      display: none;
      .chat-favorita-search-header-bar-content{
        display: block;
        width: 100px;
        height: 3px;
        border-radius: 10px;
        background-color: rgb(168, 168, 168);
      }
    }
    #close-favorita{
      display: none;
    }
    p{
      margin: 0;
      font-weight: 500;
      font-size: 18px;
    }
    i{
      margin-right: 20px;
    }
  }

  .chat-favorita-search{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;

    .chat-favorita-search-input{
      width: 100%;
      position: relative;
      margin: 0;

      input{
        width: 100%;
        background-color: #EDEDF3;
        border: none;
        border-radius: 8px;
        padding: 5px 0 5px 28px;
        font-size: 0.9em;
      }
      input::placeholder {
        color: #78808D;
        font-weight: 450;
      }
      i{
        position: absolute;
        left: 10px;
        height: 100%;
        display: flex;
        align-items: center;
        font-size: 0.85em;
        pointer-events: none;
        color: #78808D;
      }
    }
  }
  .chat-favorita-content{
    overflow-y: scroll;
    padding: 10px 3px 160px 3px;
    height: 100%;
    border-top: 1px solid #a1a1a14d;
    width: 306px;
    min-width: 100%;

    .chat-favorita-content-item:hover{
      background-color: transparent !important;
    }
    .chat-favorita-content-item{
      min-width: 100%;
      width: 300px;
      background-color: white;
      border-radius: 6px;
      padding: 13px 10px 0px 10px;
      margin-bottom: 12px;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;
      cursor: pointer;
      position: relative;
      overflow-x: hidden;
      border: 1px solid transparent;


      .chat-favorita-content-item-header{
        font-size: 0.8em;
        font-weight: bold;
        p {
          width: 95%;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: #404652;
          line-height: 1.2em;
          overflow: hidden;
          min-height: 28px;
          max-height: 28px;
          transition: 0.5s ease-in-out;
        }

        .chat-favorita-content-item-header-full-text {
          display: block;
          -webkit-line-clamp: unset;
          -webkit-box-orient: unset;
          text-overflow: unset;
          white-space: normal;
          max-height: 500px;
        }

        .chat-favorita-content-item-header-edit{
          display: flex;
          margin-bottom: 4px;

          input{
            width: 90%;
            border-radius: 7px;
            border: 1px solid #0D53A5;
            padding-left: 5px;
            margin: 0;
          }
          button{
            width: 40px;
            height: 25px;
            border: 1px solid #EDEDF3;
            border-radius: 7px;
            background-color: #FFFFFF;
            margin-left: 7px;
            color: #0D53A5;
            font-weight: 500;
          }
        }
      }

      .chat-favorita-content-item-divider{
        width: 100%;
        display: block;
        height: 1px;
        background-color: #a1a1a14d;
        margin: 0;
      }


      .chat-favorita-content-item-footer{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-right: 10px;
        
        i{
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 0.8em;
          width: 28px;
          height: 25px;
          transition: 0.15s ease-in-out;
        }
        .fa-ellipsis{
          font-size: 1em !important;
        }

        .chat-favorita-content-item-footer-open {
          transform: rotate(90deg);
        }
      }

      .chat-favorita-content-item-actions-active{
        left: 0 !important;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
      }
      .chat-favorita-content-item-actions{
        position: absolute;
        background-color: white;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        border-radius: 6px;
        left: -50%;
        top: 0;
        width: 130px;
        height: 100%;
        background-color: #ffffff;
        padding: 0 10px;
        font-size: 0.9em;
        transition: 0.1s ease-in-out;

        .chat-favorita-content-item-actions-item:hover {
          background-color: #0D53A533;
        }
        .chat-favorita-content-item-actions-item{
          display: flex;
          align-items: center;
          justify-content: start;
          padding: 3px 10px;
          width: 100%;
          border-radius: 6px;
          p{
            margin: 0 0 0 10px;
          }
          i{
            color: #0D53A5;
          }
        }

        .chat-favorita-content-item-actions-divider{
          width: 100%;
          display: block;
          height: 1px;
          background-color: #a1a1a128;
          margin: 3px 0;
        }
      }
    }
  }

  .chat-favorita-content-no-data{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    img{
      width: 100%;
      width: 25px;
      margin-bottom: 10px;
      filter: grayscale(100%);
    }
    p{
      width: 100%;
      text-align: center;
      margin: 0;
      color: rgb(148, 148, 148);
      font-size: 0.9em;
      font-weight: bold;
    }
  }
}

/* ------------------------- */
/* ALERT DELETE FAVORITA */
/* ------------------------- */
.chat-favorita-content-alert {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out;
  background-color: rgba(0, 0, 0, 0.491);
}

.chat-favorita-content-alert-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 30px 20px;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 400px;
  transform: scale(0.8);
  transition: transform 0.2s ease-in-out;


  .chat-favorita-content-alert-container-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: rgba(0, 60, 255, 0.103);
    i{
      font-size: 4.5em;
      color: rgb(24, 74, 182);
    }
  }
  .chat-favorita-content-alert-container-text{
    margin: 20px 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }

  .chat-favorita-content-alert-container-confirm{
    width: 100%;
    margin-bottom: 10px;
    background: rgb(24, 74, 182);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
  }
  .chat-favorita-content-alert-container-cancel{
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: rgb(24, 74, 182);
    padding: 12px;
  }
}

.chat-favorita-content-alert-on {
  opacity: 1;
  z-index: 1002;
}

.chat-favorita-content-alert-on .chat-favorita-content-alert-container {
  transform: scale(1);
}

/* ------------------------- */
/* ALERT EDIT E DELETE FAVORITA MOBILE */
/* ------------------------- */
.chat-favorita-content-edit-mobile {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: end;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out, bottom 4s;
  background-color: rgba(0, 0, 0, 0.491);
}

.chat-favorita-content-edit-mobile-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px 10px 0 0;
  padding: 20px;
  width: 100%;
  transition: 0.2s ease-in-out;

  button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    height: 40px;
    background-color: transparent;
    border: none;
    i{
      color: #0D53A5;
    }
    p {
      margin: 0 10px;
    }
  }
}
.chat-favorita-content-edit-mobile-on {
  opacity: 1;
  z-index: 1002;
}
.chat-favorita-content-edit-mobile-divider{
  width: 100%;
  display: block;
  height: 1px;
  background-color: #8e8e8e28;
  margin: 3px 0;
}

/* ------------------------- */
/* FILTER CHAT */
/* ------------------------- */
.chat-filter-hidden{
  display: none !important;
}

.chat-filter{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out, z-index 0s ease-in, z-index 0.4s ease-out, bottom 4s;
  background-color: rgba(0, 0, 0, 0.491);

  .chat-filter-container{
    background-color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px 0px 20px;
    width: 500px;
    max-width: 80%;
    height: 1025px;
    max-height: 90%;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(0);

    .chat-filter-container-header{
      width: 100%;
      height: 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 5px;
      p{
        margin: 0;
      }
      i{
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        cursor: pointer;
        font-size: 1.3em;
        padding-top: 3px;
      }
      i:hover{
        background-color: rgba(233, 233, 233, 0.742);
      }
    }
    .chat-filter-container-content{
      height: 94%;
      width: 100%;
      overflow: scroll;
    }
  }


}


/* ------------------------- */
/* PAGE CONTENT */
/* ------------------------- */
#index-container{
  width: 100%;
  height: 100%;
  padding-top: 56px;
}

#index-content{
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
}

.index-content-page {
  width: 100%;
  position: relative;
  overflow: scroll;
}

#index-content-search{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
}

#index-content-chat{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  padding: 0 10px 0 10px;
}

/* ------------------------- */
/* MEDIA */
/* ------------------------- */
@media(max-width:1300.98px) {

  .chat-historico-inactive{
    opacity: 1 !important;
    left: -100% !important;
  }
  .chat-historico{
    position: absolute;
    height: 100%;
    top: 0px;
    left: 0;
    transition: 0.2s ease-in-out;
    width: 338px;
    max-width: 338px;
    border-right: none;
  }

  .chat-favorita-inactive{
    opacity: 1 !important;
    right: -100% !important;
  }
  .chat-favorita{
    position: absolute;
    height: 100%;
    top: 0px;
    right: 0;
    transition: 0.2s ease-in-out;
    border-right: none;
    width: 338px;
    max-width: 338px;

  }
}

@media(max-width:852.98px) {
  .navbar-page-content-left-description{
    display: none !important;
  }
  .navbar-page-content-left-local{
    display: none !important;
  }

  .navbar-page-content-right-favorite{
    margin-right: 0px !important;
  }
  
  .navbar-page-content-right-user-arrow{
    margin: 0 0px 0 25px !important;
  }
  .navbar-page-content-left-history{
    display: flex !important;
    margin-left: 20px !important;
  }

  .marca-vector{
    .marca-vector-logo{
      img{
        width: 30px;
      }
    }
    .marca-vector-info p{
      img{
        width: 8px;
      }
    }
  }

  #index-content-chat{
    padding: 0;
  }

  .chat-historico-inactive{
    width: 100% !important;
    opacity: 1 !important;
    right: 100% !important;
  }
  .chat-historico{
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0px;
    right: 0;
    transition: 0.2s ease-in-out;
    border-right: none;
    
    .chat-historico-search-header{
      margin: 10px 0px 0px 0px;
    }

  }

  .chat-favorita-inactive{
    width: 100% !important;
    opacity: 1 !important;
    left: 100% !important;
  }
  .chat-favorita{
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    transition: 0.2s ease-in-out;
    border-right: none;
    
    .chat-favorita-search-header{
      margin: 10px 0px 0px 0px;
    }

  }

  /* ALERT DO HISTORICO */
  .chat-historico-content-alert {
    align-items: end;
    overflow: hidden;
  }
  .chat-historico-content-alert-container {
    margin: 0;
    border-radius: 10px 10px 0 0;
    width: 100%;
    transform: none;
    bottom: -100%;
    position: absolute;
    transition: 0.4s ease-in-out;
  }
  .chat-historico-content-alert-on .chat-historico-content-alert-container {
    transform: none;
    bottom: 0;
  }
}
