/* @@import url('https://fonts.googleapis.com/css?family=Roboto:400,700'); */

/* body {
    margin: 0;
    font-family: Trebuchet MS, Arial, Helvetica, Open Sans, sansserif;
}

.top-bar {
    width: 100%;
    height: 60px;
    background: #F9FBFF;
    border-radius: 10px 10px 0 0;
} */

.avatar {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 11px;
    left: 15px;
}

    .avatar p {
        color: #F9FBFF;
        margin: 7px 12px;
    }

/* .name {
    position: absolute;
    top: 22px;
    text-transform: uppercase;
    color: #777777;
    font-size: .8em;
    letter-spacing: 2px;
    font-weight: 500;
    left: 60px;
} */

#chatbot-correios .menu {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 10px;
    height: 20px;
    cursor: pointer;
}

    #chatbot-correios .menu:hover {
        transform: scale(1.1);
        transition: all .3s ease-in;
    }

#chatbot-correios .icons {
    position: absolute;
    color: #A1E2D9;
    padding: 10px;
    top: 5px;
    right: 21px;
    cursor: pointer;
}

    #chatbot-correios .icons .fas {
        padding: 5px;
        opacity: 0.8;
    }

        .icons .fas:hover {
            transform: scale(1.1);
            transition: all .3s ease-in;
        }

#chatbot-correios .dots {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #79C7C5;
    box-shadow: 0px 7px 0px #79C7C5, 0px 14px 0px #79C7C5;
}

#chatbot-correios .middle {
    position: absolute;
    background: #E6F3F6;
    width: 100%;
    /* opacity: 0.85; */
    /* top: 60px;
    height: 222px; */
    overflow-y: auto;
}

/* #chatbot-correios .incoming {
    margin-left: 10%;
    width: 70%;
    height: 100%;
    display: inline-block;
} */

    /* #chatbot-correios .outgoing {
    margin-left: 20%;
    width: 70%;
    height: 100%;
    display: inline-block;
} */

    /* #chatbot-correios .outgoing .bubble {
        background: #79C7C5;
        float: right;
    } */

    #chatbot-correios .incoming, 
    #chatbot-correios .outgoing {
    animation: fadein 0.5s ease-in;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#chatbot-correios .options {
    margin-left: 10%;
    width: 70%;
    height: 100%;
    display: inline-block;
  
}

/* #chatbot-correios .incomingOption {
  border: none;
  background-color: gold;
  outline: none;
  animation: fadein 0.5s ease-in;
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  margin-right: 5px;
  font-size: 0.8em;
  padding: 10px 10px 10px 12px;
  border-radius: 20px;
} */


#chatbot-correios .warning {
    margin-left: 10%;
    height: 100%;
    width: 80%;
    height: 100%;
    display: inline-block;
    text-align: center
}

    #chatbot-correios .warning .bubble {
        color: #721c24;
        background-color: #f8d7da;
        padding: 4px;
    }

#chatbot-correios .info {
    margin-left: 10%;
    height: 100%;
    width: 80%;
    height: 100%;
    display: inline-block;
    text-align: center
}

    #chatbot-correios .info .bubble {
        color: #721c24;
        background-color: #f8d7da;
        padding: 4px;
    }

    #chatbot-correios .typing {
    position: absolute;
    /*bottom: 55px;*/
    left: 20px;
    bottom: 34px;
    z-index: 999;
}

    #chatbot-correios .typing .bubble {
        background: #eaeaea;
        padding: 8px 13px 9px 13px;
    }

    #chatbot-correios .ellipsis {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #b7b7b7;
    border-radius: 50%;
    animation: bounce 1.3s linear infinite;
}

#chatbot-correios .one {
    animation-delay: 0.6s;
}

#chatbot-correios .two {
    animation-delay: 0.5s;
}

#chatbot-correios .three {
    animation-delay: 0.8s;
}

#chatbot-correios .bottom-bar {
    position: absolute;
    width: 100%;
    height: 55px;
    bottom: 0;
    background: #F9FBFF;
    border-radius: 0 0 10px 10px;
}

#chatbot-correios .left {
    left: 0px;
}

/* #chatbot-correios input {
    padding: 7px;
    width: 74%;
    left: 5%;
    position: absolute;
    border: 0;
    top: 13px;
    background: #F9FBFF;
    color: #79C7C5;
} */

    #chatbot-correios input::placeholder {
        color: #A1E2D9;
    }

    #chatbot-correios input:focus {
        color: #777777;
        outline: 0;
    }

#chatbot-correios button.def {
    position: absolute;
    border: 0;
    font-size: 1em;
    color: #A1E2D9;
    top: 27px;
    opacity: 0.8;
    right: 25px;
    cursor: pointer;
    outline: 0;
    background-color: transparent;
}

    #chatbot-correios button.def:hover {
        transform: scale(1.1);
        transition: all .3s ease-in-out;
        color: #79C7C5;
    }

    #chatbot-correios .hide {
    display: none !important;
}

#chatbot-correios .survey {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 60px;
    background: #E6F3F6;
    border-radius: 0 0 10px 10px;
    z-index: 9999;
    padding: 0 10px;
    overflow: auto;
}

    #chatbot-correios .survey::-webkit-scrollbar {
        width: 10px;
        height: 80vh;
    }

    #chatbot-correios .survey::-webkit-scrollbar-track {
        background: #f1f1f1;
        margin-bottom: 10px;
    }

    #chatbot-correios .survey::-webkit-scrollbar-thumb {
        background: #888;
    }

        #chatbot-correios .survey ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        #chatbot-correios .survey h5 {
        margin: 2px;
    }

    #chatbot-correios .survey h5.error {
        color: red;
    }

    #chatbot-correios .survey > div {
        margin-bottom: 0.8em;
    }

    #chatbot-correios .survey .choice button {
        border: 4px solid #A1E2D9;
        background-color: #A1E2D9;
        margin: 2px;
        padding: 2px 10px;
        border-radius: 10px;
        outline: unset;
        display: block;
        width: 100%;
    }

        #chatbot-correios .survey .choice button.checked {
            border-color: #79C7C5;
        }

        #chatbot-correios .survey textarea {
        width: calc(100% - 4px);
        border: 0;
        background: #F9FBFF;
        color: #79C7C5;
        height: 5em;
        border-radius: 10px;
    }

        #chatbot-correios .survey textarea:focus {
            color: #777777;
            outline: 0;
        }

        #chatbot-correios .survey .score button {
        margin: 2px 10px;
        padding: 2px 10px;
        border: 4px solid #A1E2D9;
        background-color: #A1E2D9;
        border-radius: 30px;
        outline: unset;
        width: 48px;
    }

        #chatbot-correios .survey .score button.checked {
            border-color: #79C7C5;
        }

        #chatbot-correios .survey > button {
        border: 4px solid #A1E2D9;
        background-color: #A1E2D9;
        margin: 2px 2px 20px 2px;
        padding: 2px 10px;
        border-radius: 10px;
        outline: unset;
        display: block;
        width: 100%;
    }

@keyframes bounce {
    30% {
        transform: translateY(-2px);
    }

    60% {
        transform: translateY(0px);
    }

    80% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0px);
        opacity: 0.5;
    }
}

/* @media screen and (max-width: 425px) {
    #chatbot-correios body {
        margin: 0px;
        font-family: Trebuchet MS, Arial, Helvetica, Open Sans, sansserif;
    }

    #chatbot-correios .middle {
        height: unset;
        bottom: 55px;
    }
} */

/************ Chatbot Correios ************/

#chat-correios{
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 100;
  box-sizing: border-box;
  outline: none;
}

@media screen and (min-width: 992px){
  #chat-correios{
    bottom: 1rem;
  }
}

#chat-correios:active, 
/* #chat-correios:selected,  */
#chat-correios:visited { 
  border: none;
  outline: none;
}

#chat-correios #carol-inicio{
  /* height: 580px; */
  height: 405px;
  /* width: 95vw; */
  /* width: 60vw; */
  width: 52vw;
  background-color: transparent;
  box-sizing: border-box;
  resize: vertical;

}

@media screen and (min-width: 576px) {
  #chat-correios #carol-inicio{
    width: 34vw;
  }
}

@media screen and (min-width: 992px) {
  #chat-correios #carol-inicio{
    width: 22vw;
    height: 500px;
  }
}

@media screen and (min-width: 1050px) {
  #chat-correios #carol-inicio{
    width: 21vw;
  }
}

@media screen and (min-width: 1400px) {
  #chat-correios #carol-inicio{
    /* width: 20vw; */
    width: 16vw;
    /* height: 750px; */
    height: 529px;
  }
}

#header-balao{
  /* height: 20%; */
  height: 18%;
  right: 15px;
  /* padding: 1rem 8rem 1rem 2rem; */
  position: relative;
}

/* .carol-balao {
  position: absolute;
  padding: 1.5rem;
  background-color: #FFD400;
  border-radius: 5px;
  box-shadow: 0px 0px 14px -2px rgba(0,0,0,0.52);
  max-width: 18rem;
  bottom: 0;
  right: 11rem;
  font-size: 1.5rem;
} */

.carol-balao {
  position: absolute;
  padding: 1.5rem;
  background-color: #FFD400;
  border-radius: 5px;
  box-shadow: 0px 0px 14px -2px rgba(0,0,0,0.52);
  max-width: 18rem;
  bottom: 0;
  right: 5rem;
  font-size: 1.5rem;
}

.carol-balao .carol-seta{
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(45deg);
  transform: skew(0deg,45deg);
  display: block;
  background-color: #FFD400;
  position: absolute;
  bottom:-0.8rem;
  right: 1.5rem;
}

/* #chat-correios #carol-fecha{
  border-radius: 50%;
  background-color: #0071AD;
  color: white;
  text-align: center;
  position: absolute;
  right: 1rem;
  bottom: 0;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
} */

#chat-correios .carol-texto{
  font-size: 12px;
}

@media screen and (min-width: 992px) {
  #chat-correios .carol-texto{
    font-size: 14px;
  }
}

#chat-correios #carol-fecha {
  border-radius: 50%;
  background-color: #0071AD;
  color: white;
  text-align: center;
  position: absolute;
  right: 0rem;
  bottom: 0;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
}

#chat-correios #carol-corpo{
  height: 80%;
}

/* #chat-correios #carol-corpo img{
 height: 100%;
 width: auto;
 position: relative;
 right: -2rem;
 float: right;
} */

#chat-correios #carol-corpo img {
  height: 80%;
  width: auto;
  position: absolute;
  right: -2rem;
  float: right;
  bottom: 0px;
}

#chat-correios .carol-cabeca{
  border-radius: 50%;
  cursor: pointer;
}

#chat-correios #carol-icone{
  border-radius: 50%;
  background-color: #FFD400;
  width: 8rem;
  height: 8rem;
  margin-right: 0.5rem;
  margin-bottom: -1.8rem;
}


@media screen and (min-width: 768px) {
  #chat-correios #carol-fecha{
    margin-left: -8.5rem;
  }

  #chat-correios #carol-icone{
    margin-right: 2rem;
    margin-bottom: 3rem;
  }
}


@media screen and (min-width: 992px) {
  #chat-correios{
    outline: none;
  }

  #chat-correios .carol-balao{
    cursor: pointer;
  }

  #chat-correios #carol-corpo-img{
    cursor: pointer;
  }

  #chat-correios #carol-fecha{
    cursor: pointer;
  }

  #chat-correios #carol-icone{
    margin-right: 7rem;
    margin-bottom: 2rem;
    cursor: pointer;
  }
  
}
#chat-correios .oculta-chat-correios{
  display: none;
}

#chatbot-correios{
  width: 95%;
  max-width: 400px;
  height: 70vh;
  background-color: #EFEDEA;
  position: fixed;
  bottom: 4rem;
  left: 52%;
  transform: translateX(-52%);
  border-radius: 1rem;
  z-index: 100;
  -webkit-box-shadow: 0px 0px 7px 1px rgba(117,117,117,0.7);
  -moz-box-shadow: 0px 0px 7px 1px rgba(117,117,117,0.7);
  box-shadow: 0px 0px 7px 1px rgba(117,117,117,0.7);
  box-sizing: border-box;
  outline: none;
}

@media screen and (min-width: 768px){
  #chatbot-correios {
    width: 100%;
    right: 4rem;
    bottom: 5rem;
    left: auto;
    transform: none;
  }  
}

@media screen and (min-width: 992px){
  #chatbot-correios {
    width: 100%;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    transform: none;
  }  
}

#chatbot-correios .oculta-chatbot-correios{
  display: none;
}
  
#chatbot-correios .top-bar{
  height: 34px; 
  width: 100%;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-image: url(++theme++tema-do-portal-correios/static/imagens/prisma-topo-chat.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

#chatbot-correios .top-bar span{ 
  padding-right: 0.8rem;
}

#chatbot-correios .top-bar > span:last-child{
  padding-right: 0;
  margin-right: 1.5rem;
}

#chatbot-correios .top-bar img{
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: invert(16%) sepia(70%) saturate(2391%) hue-rotate(183deg) brightness(93%) contrast(102%);
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
}
/*  Pagina que troca cor hexa pelo filter: https://codepen.io/sosuke/pen/Pjoqqp */


#chatbot-correios .top-bar img:hover {
	transform: scale(1.4);
}
  
  #chatbot-correios .ic-marcador-out{
    position: fixed;
    right: 1.5rem;
    font-size: 2rem;
    color: #00416B;
  }
  
  @media screen and (min-width: 768px){
    #chatbot-correios .ic-marcador-out{
      right: 2rem;
    }
  }
  
  #chatbot-correios .conteudo-chatbot{
    width: 100%;
    top: 34px;
    bottom: 70px;
    box-sizing: border-box;
    /* display: flex; */
  }

#chatbot-correios #middle{
  background-color: #F5F3F0;
  top: 32px;
  bottom: 70px;
  overflow-y: auto;
  width: 100%;
  margin: auto;
  /* background-color: blue; */
}

@media screen and (min-width: 992px){
  #chatbot-correios #middle{
    top: 34px;
  }  
}
 
  #chatbot-correios #messagesList{
    display: flex;
    flex-direction: column;
    padding: 1.2rem 0.4rem 0.4rem;
  }

#chatbot-correios .incoming{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
  
#chatbot-correios .incoming-middle{
  margin-left: 1rem;
  width: 80%;
  height: 100%;
  display: inline-block;
  background-color: #fff;
  border-radius: 0.7rem;
  margin-bottom: 3.5rem;
  word-break: break-word;
  position: relative;
  /* display: flex; */
}

#chatbot-correios .hora{
  text-align: right;
  padding-right: 1rem;
  padding-bottom: 1rem;
  font-style: italic;
  color: #000;
  font-size: 0.8em;
  z-index: 2;
  font-weight: normal;
}

#chatbot-correios #messagesList .incoming-middle .options{
    margin-left: 0;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
}

#chatbot-correios .incoming-middle .options .hora{
    padding-right: 0;
    padding-top: 1rem;
}

#chat-correios .incoming .atendente{
  border-radius: 50%;
  background-color: #FFD400;
  width: 4rem;
  height: 4rem;
  margin-left: 1rem;
  margin-bottom: 2rem;
}

#chat-correios .incoming .atendente-cabeca{
  border-radius: 50%;
}

#chatbot-correios .bubble {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  font-size: 0.8em;
  padding: 10px 10px 0 12px;
  border-radius: 20px;
}

#chatbot-correios .incoming .bubble {
  color: #000;
  /* font-weight: bold;
  font-size: 0.85em; */
  font-weight: normal;
  font-size: 1em;
  z-index: 1;
}

#chatbot-correios .incoming .incomig-seta{
  width: 2rem;
  height: 2rem;
  transform: rotate(45deg);
  transform: skew(0deg,135deg);
  display: block;
  background-color: #FFF;
  position: absolute;
  bottom:-1rem;
  left: 1.5rem;
}

/* #chatbot-correios .options .bubble {
color: #1d4363;
} */
  
  /* #chatbot-correios #messagesList .options{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  } */
 
/* #chatbot-correios .incomingOption{ */
#chatbot-correios #messagesList .options{
  background-color: #fff;
  border-radius: 0.7rem;
  margin-bottom: 3.5rem;
  word-break: break-word;
  padding: 10px 10px 10px 12px;
  display: flex;
  flex-direction: column;
  align-content: stretch;
  box-sizing: border-box;
}

#chatbot-correios .incomingOption {
  color: #0071AD;
  text-align: left;
  border: none;
  background-color: transparent;
  outline: none;
  animation: fadein 0.5s ease-in;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0;
  /* font-size: 0.8em; */
  font-size: 1em;
  padding: 0.2rem;
  padding-left: 1rem;
  border-radius: 0;
  white-space: break-spaces;
}

#chatbot-correios #messagesList .incoming-middle .incomingOption::before {
  position: absolute;
  font-size: 18px;
  left: 0;
  color: #777777;
  content: "" !important;
  vertical-align: middle;
  margin-right: 10px;
  margin-top: 4px !important;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #0071ad;
}
  
#chatbot-correios .outgoing{
  background-color: #FFD400;;
  border-radius: 0.7rem;
  margin-bottom: 3.5rem;
  max-width: 80%;
  min-width: 14%;
  margin-left: auto;
  margin-right: 1.7rem;
  color: #000;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  word-break: break-word;
  position: relative;
}

#chatbot-correios .outgoing .bubble {
  background: transparent;
  /* float: right; */
  z-index: 1;
}

#chatbot-correios .outgoing .outgoing-seta{
  width: 2rem;
  height: 2rem;
  transform: rotate(45deg);
  transform: skew(0deg,45deg);
  display: block;
  background-color: #FFD400;
  position: absolute;
  bottom:-1rem;
  right: 1.5rem;
}

  
  #chatbot-correios .bottom-bar{
    background-color: #EFEDEA;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    height: 70px;
    bottom: 0;
  }
  
  #chatbot-correios .chat{
    width: 100%;
    height: 97%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 0.2rem;
    box-sizing: border-box;
  }
  
  #chatbot-correios #messageInput{
    width: 90%;
    margin: auto;
    border-radius: 0.5em;
    padding-left: 0.3rem;
    border: 2px solid #b6b6b6;
  }

  #chatbot-correios .bottom-bar input::placeholder {
    color: #b6b6b6;
    padding-left: 1rem;
  }
  
#chatbot-correios #sendButton{
  background-image: url(++theme++tema-do-portal-correios/static/imagens/enviar-aviaozinho.svg);
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s;
}

#chatbot-correios #sendButton:hover {
	transform: scale(1.4);
}