.d-none {
  display: none;
}

.mt-1{
  margin-top: 1rem;
}

.mt-2{
  margin-top: 2rem;
}


.x_title.sub {
  margin-left: -5px;
  margin-right: -5px;
}

.x_content .opcoes {
  margin-bottom: 0px;
}

/* .x_content .opcoes .add_topico{
  position: absolute; 
  top: 0; 
  bottom: 0; 
  height: 35px; 
  float: right;
} */

.ui-pnotify-icon {
  margin-top: 2px;
}

table .acao {
  cursor: pointer;
}

.table > tbody > tr.highlight > td, .table > tbody > tr.highlight > th, .table > tbody > tr > td.highlight, .table > tbody > tr > th.highlight, .table > tfoot > tr.highlight > td, .table > tfoot > tr.highlight > th, .table > tfoot > tr > td.highlight, .table > tfoot > tr > th.highlight, .table > thead > tr.highlight > td, .table > thead > tr.highlight > th, .table > thead > tr > td.highlight, .table > thead > tr > th.highlight {
  background-color: #eacdec;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #666;
}

.checkbox {
  margin-top: 0;
}

.checkbox label {
  padding-left: 0;
  font-weight: 600;
}

.flat_label {
  margin-bottom: 0;
  cursor: pointer;
}
.flat_label + .flat_label {
  margin-left: 15px;
}
.flat_label span {
  display: inline-block;
  vertical-align: bottom;
}

.text-danger{
  color: #ff1e19
}

#datatable_usuarios tr.danger td {
  background-color: red;
  color: white;
}
#datatable_usuarios tr.danger td i {
  color: white;
}
#datatable_usuarios tr.warning td {
  background-color: orange;
  color: black;
}
#datatable_usuarios tr.warning td i {
  color: black;
}
#datatable_usuarios tr.highlight td {
  background-color: #9b54ec;
  color: white;
}
#datatable_usuarios tr.highlight td i {
  color: white;
}
#datatable_usuarios tr.info td {
  background-color: #3000ff;
  color: white;
}
#datatable_usuarios tr.info i {
  color: white;
}
#datatable_usuarios tr.revisao td {
  background-color: #4169e1;
  color: white;
}
#datatable_usuarios tr.revisao td i {
  color: white;
}

.legenda {
  float: left;
}
.legenda .indicador_legenda {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  vertical-align: text-top;
  background-color: #fcf8e3;
}

.andamento {
  float: right;
  margin-bottom: 12px;
}
.andamento h2 {
  float: right;
  width: auto;
  margin-left: 16px;
  font-size: 14px;
}

.banner_radiologistas h2, .banner_radiologistas h3 {
  text-align: center;
}
.banner_radiologistas .fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1080px;
  margin: auto;
}
.banner_radiologistas .fotos > div {
  width: 11%;
  border: 1px solid white;
}
.banner_radiologistas .fotos > div > div {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.banner_radiologistas .fotos > div > div:hover > div {
  left: 0;
}
.banner_radiologistas .fotos > div > div > div {
  position: absolute;
  top: 0;
  left: -120px;
  display: table;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}
.banner_radiologistas .fotos > div > div > div > p {
  display: table-cell;
  color: white;
  text-align: center;
  vertical-align: middle;
}

#preview_laudo {
  text-align: justify;
}
#preview_laudo p {
  margin: 0 0 5pt 0;
}

#form_att_laudo p, #form_add_laudo p{
  margin-bottom: 0px !important;
  margin-top: 8px;
}

.mb-2{
  margin-bottom: 2rem;
}



/* --------------------------------------- Chat lateral --------------------------------------- */

@keyframes animateBadge {
  from {
    visibility: hidden;
    transform: scale(0);
  }
  50% {
    visibility: visible;
    transform: scale(1);
  }
  to {
    visibility: visible;
    transform: scale(1);
  }
}

.botao_chat{
  position: fixed;
  /* right: 15px;
  width: 50px;
  height: 50px;
  bottom: 10px; 
  background-color: #2A3F54;
  border-radius: 50%; 
  color: white; */
  font-size: 1.8rem;
  box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .05);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  transition: all .3s ease-in-out;
  cursor: pointer;
  color: white;
}

 .abrir_botao {
  right: 15px;
  width: 50px;
  height: 50px;
  bottom: 10px; 
  background-color: #2A3F54;
  border-radius: 50%; 
}

.fechar_botao{
  right: 0;
  width: 200px;
  height: 30px;
  bottom: 0;
  border-radius: 0; 
  background-color: red;
}

.botao_chat:hover .abrir_botao {
  background-color: #232a33;
}

.botao_chat:hover .fechar_botao{
  background-color: none;
}

.botao_chat .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #f03154;
  transition: all .4s ease-in-out;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: animateBadge .4s;
}

.botao_chat .badge.anime {
  transform: scale(1.15);
}

.chat_lateral {
  width: 200px;
  height: 100%;
  background-color: #2A3F54;
  position: fixed;
  right: 10px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, .1);
  transition: all .3s ease-in-out;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(100%);
  visibility: hidden;
}

.chat_lateral {
  display: flex;
  flex-direction: column;  
}
.chat_lateral.fixed {
  transform: translateX(10px);
  visibility: visible;
}

.chat_lateral ul{
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
}

.chat_lateral ul::-webkit-scrollbar {
  background-color: #71777d;
  width: 3px;
}

.chat_lateral ul::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

.chat_lateral ul::-webkit-scrollbar-thumb {
  background: white; 
  border-radius: 5px;
  width: 5px;
}

.chat_lateral .chat_item {
  position: relative;
  display: flex;
  flex-direction: row;
  border-radius: 2px;
  padding: 3px 0 0 2px;
  cursor: pointer;
  transition: all .3s ease-in-out;
  margin-bottom: 10px;
  align-items: center;
}
.chat_lateral .chat_item:hover {
  background-color: #dadada;
}

.chat_lateral .chat_item:hover p{
  color: #75797e;
}
.chat_lateral .chat_item:hover img{
  border: 2px solid black;
}
.chat_lateral .chat_item img {
  /* max-width: 100%; */
  display: block;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid white; 
  height: 35px;
  width: 35px;
}

.chat_lateral .container_1{
  display: flex;
  flex-direction: row;
}

.info_geral{
  margin: 0px 5px 0px 10px; 
  width: 135px;
  padding-top: 5px;
  padding-right: 2px;
}

.chat_lateral .container_2{
  display: flex;
  flex-direction: column;
  /* padding-top: 5px;
  margin-right: 5px; */
}

.chat_lateral .container_3{
  display: flex;
  flex-direction: row;
  text-align: justify;
}

.chat_lateral .container_3 p:nth-child(1){
  width: 80%;
}

.chat_lateral .container_3 p:nth-child(2){
  width: 30%;
  text-align: end;
}

.chat_lateral .chat_item h5 {
  font-size: 1.0rem;
  font-weight: 500;
  margin: 0;
  color: white;
}

.chat_lateral .chat_item:hover h5{
  color : black;
}

.chat_lateral .chat_item p {
  font-size: 0.8rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.8px;
  /* font-weight: 600;
  color: #9c9a9a; */
  margin-top: 5px;
}
.chat_lateral .badge {
  position: absolute;
  top: 0px;
  left: 35px;
  padding: 3px 5px !important;
  font-size: 7px !important;
  background-color: #f03154;
  transition: all .4s ease-in-out;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: animateBadge .4s;
}

.chat_lateral .badge.anime {
  transform: scale(1.15);
}

.chat_lateral .chat_item.active {
  background-color: #2a323c;
  color: white;
}

.chat_lateral .chat_item.active:hover {
  color: white !important;
}

.chat_lateral .pesquisar{
  padding: 8px;
  margin-right: -20px;
}

.chat_lateral .pesquisar input {
  border-radius: 3px;
  border: none;
  padding: 5px;
  color: black;
  /* align-self: center; */
  background: white;
  width: 80%;
  margin-bottom: 10px;
  margin-left: 10px;
  font-size: 12px;
}

.chat_lateral .pesquisar .fa-search {
  position: relative;
  left: -25px;
}

#compose_direct {
  width: 300px;
  /* right: 220px; */
  border: 1px solid #eee;
  transition: all .3s ease-in-out;
}

.lateral_220{
  right: 220px;
}

.lateral_90{
  right: 90px;
}


#compose_direct .compose-header {
  background-color: #2A3F54;
  position: relative;
}
#compose_direct .compose-header .compose-closer {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  transform: translate(7px, -7px);
  background-color: #f03154;
  padding: 5px 5px;
  font-size: 1.0rem;
}

#compose .compose-header .compose-close, #compose_direct .compose-header .compose-close {
  margin: 0;
  margin-right: 5px;
  color: white;
  opacity: 1;
  font-size: 12px;
  line-height: 20px;
}

.mensagem_nao_lida {
  -webkit-animation: header 1s infinite;  /* Safari 4+ */
  -moz-animation: header 1s infinite;  /* Fx 5+ */
  -o-animation: header 1s infinite;  /* Opera 12+ */
  animation: header 1s infinite;  /* IE 10+, Fx 29+ */
}

@-webkit-keyframes header {
  0%, 49% {
    background-color: #2A3F54;
  }
  50%, 100% {
    background-color: #222222;
  }
}

.mensagem{
  display: flex;
  flex-direction: column;
  text-align: start;
  margin-left: 5px;
}

.mensagem .mensagem_remetente span{
  margin-left: 5px;
}

.mensagem_c_remetente{
  display: flex;
  flex-direction: column;
  text-align: end;
}

.mensagem_c_remetente .mensagem_remetente span{
  margin-right: 5px;
}

.mensagem_texto_remetente {
  background-color: deepskyblue;
  color: white;
  margin-top: 5px;
  padding: 5px 10px 5px 10px;
  border: 1px solid;
  border-radius: 20px;
  display: flex;
  position: relative;
  align-self: flex-end;
  justify-content: flex-end;
  flex-direction: column;
}

.mensagem_texto_remetente:after {
  right: 8px;
  top: -17px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: deepskyblue;
  border-width: 10px;
  margin-left: -10px;
}

.mensagem_texto{
  background-color:gray;
  color: white;
  padding: 5px 10px 5px 10px;
  margin-top: 5px;
  border: 1px solid;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-self: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.mensagem_texto:after{
  left: 18px;
  top: -18px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: gray;
  border-width: 10px;
  margin-left: -10px;
}

.mensagem.remetente {
  float: right;
  background-color: #e1ffc7;
  color: #2a323c !important;
}
.mensagem.remetente .mensagem_remetente {
  color: #71777d !important;
}

.esconder_resultado {
  display: none !important;
}

#compose_direct_body::-webkit-scrollbar, #compose_modal_body::-webkit-scrollbar {
  background-color: transparent;
  width: 5px;
}

#compose_direct_body::-webkit-scrollbar-track, #compose_modal_body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px#2a323c;
  border-radius: 10px;
}

#compose_direct_body::-webkit-scrollbar-thumb, #compose_modal_body::-webkit-scrollbar-thumb {
  background: #2a323c; 
  border-radius: 5px;
  width: 5px;
}


#compose_direct-imagem {
	display: none !important;
}

.chat-imagem{
  min-height: 200px;
  border: 1px solid #eee;
}

.overlay-upload {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  min-height: 224px;
  display: none;
  color: #FFF;
  background: rgba(0,0,0,0.30);
}

.overlay-upload i{
  color: white;position: absolute; top: 40%; left: 50%; margin-left: -25px;
}

.preview-imagem{
  height: 190px;
  background-size: cover;
  background-position: center
}

.fechar-imagem-botao{
  height: 30px;
  border-radius: 0;
  background-color: red;
  position: relative;
  text-align: center;
  cursor: pointer;
}

.fechar-imagem-botao i{
  color: white;
  text-align: center;
  font-size: 15px;
  margin: 8px auto;
}

.container-imagem:hover .mensagem-imagem {
  opacity: 0.3;
}

.container-imagem:hover .middle {
  opacity: 1;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.icones-imagem i{
  color: white;
  cursor: pointer;
}

.icones-imagem i.baixar{
  margin-left: 15px;
}


.offline{
  display: inline-block;
  min-width: 10px;
  top: 0px;
  left: 13px;
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid black;
  border-radius: 100%;
  padding: 5px;
} 

.online{
  display: inline-block;
  min-width: 10px;
  top: 0px;
  left: 13px;
  position: absolute;
  background-color: #1abb9c;
  border: 1px solid black;
  border-radius: 100%;
  padding: 5px;
}

.icone-enviar, .icone-webcam {
  display: flex;
  justify-content: center;
  align-self: center;
  align-items: center;
  margin-left: 5px;
  padding: 5px;
  font-size: 10px;
  width: 30px;
  color: white;
  height: 27px;
  border-radius: 60%;
  background: #2A3F54;
  margin-right: 5px;
  cursor: pointer;
}

.icone-enviar{
  margin-right: 1px;
}

.icone-webcam{
  margin-right: -5px;
}

#modal_mensagens .compose-body .editor-wrapper{
  height: 230px;
}

#modal_mensagens .compose-body .editor-wrapper {
  height: 100%;
  min-height: 90px;
  max-height: 180px;
  border-radius: 0;
  border: none;
  overflow: auto;
}


/* Desktop maiores */
@media (min-width: 1200px) {  

  .chat_lateral .chat_item{
    padding: 5px 0px 5px 0px !important;
  }

  .chat_lateral .container_1{
    padding: 0;
  }

  .chat_lateral .chat_item img{
    height: 35px;
    width: 35px;
  }

  .info_geral{
    width: 135px;
    /* margin: 5px 0px 0px 10px; */
  }

  .online, .offline{
    top: 2px;
    left: 10px;
  }

  .chat_lateral .badge{
    top: 1px;
    left: 33px;
    padding: 3px 5px !important;
    font-size: 9px !important;
  }

}
 
/* tables em formato porta retrato até os desktos no formato paisagem */
@media (min-width: 768px) and (max-width: 979px) {

  #compose_direct{
    width: 250px;
  }

  .info_geral{
    width: 140px;
    margin-left: 10px;
  }

  .chat_lateral .container_1{
    padding: 0;
  }

  .chat_lateral .chat_item img{
    height: 30px;
    width: 30px;
  }

  .container_2{
    width: 80%;
    text-align: justify; 
    padding-left: 22px;
    padding-top: 3px;
  }
  .chat_lateral .chat_item h5{
    font-size: 11px;
  }

  .chat_lateral .container_3 p:nth-child(2){
    width: 20%;
  }

  .chat_lateral .badge{
    padding: 4px;
    left: 33px;
    font-size: 9px !important;
  }
}
 
/* dispositivo em paisagem até os tablets em formato porta-retrato */
@media (max-width: 767px) {  

  #compose_direct{
    width: 100% !important;
    height: 100%;
  }

  .chat_lateral{
    width: 100%;
  }

  .container_info{
    width: 100%;
  }
  
  .status{
    top: 11px;
    left: 23px;
    padding: 6px;
  }

  .chat_lateral .container_1{
    margin-left: 20px;
    width: 100%;
  }

  .chat_lateral .chat_item h5{
    font-size: 1.3rem;
    font-weight: 600;
  }

  .chat_lateral .chat_item p{
    font-size: 1.1rem;
  }

  .chat_lateral .chat_item img {
    height: 50px;
    width: 50px;
    margin-left: 0px;
  }

  .info_geral{
    width: inherit;
    margin: 5px 0px 0px 15px;
    line-height: 2.5;
  }

  .chat_lateral .container_3{
    margin-right: 30px;
  }

  .chat_lateral .pesquisar input{
    width: 90%;
  }

  .lateral_220{
    right: 0;
  }

  .compose .compose-footer{
    padding: 10px;
  }

  .compose .compose-body .editor-wrapper{
    height: 530px;
    min-height: 530px;
    max-height: 530px;
  }
  
  #compose_direct-textarea{
    padding: 9px 8px 0px !important;
    height: 40px;
  }

  .icone-enviar, .icone-webcam{
    font-size: 13px;
    width: 45px;
    height: 40px;
  }

  .compose .compose-header{
    padding: 10px 0px 10px 10px;
  }

  #compose_direct_titulo{
    margin-left: 35px;
  }

  .status_mob{
    font-size: 9px;
    margin-left: 35px;
  }

  .icone-voltar{
    font-size: 18px;
    margin-top: 5px;
    margin-left: 5px;
    position: absolute;
  }

  .fechar_botao{
    width: 100%;
  }

  .voltar_a_esquerda{
    transform: translateX(100%);
  }

  .chat_lateral .badge{
    top: 10px;
    left: 55px;
  }
 
}

span.destaque{
  color: #e20000;
  font-weight: 900;
}

/*****************************************************************************/
/**************************** Recibo do pagamento ****************************/
/*****************************************************************************/

.center {
  max-width: 660px;
  margin: 0 auto;
}

#pagamento-container {
  position: relative;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  background-color: #FFF;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
  margin-top: 5%;
  color: rgba(0, 0, 0, 0.54);
}

#pagamento-container .box-header .box-content-left img {
  width: 150px;
}

#pagamento-container .box-header .box-content-left.is-ammo-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 8px;
  font-size: 12px;
}

#pagamento-container .box-header .box-content-right .box-receipt-type {
  width: 100%;
  float: left;
  font-size: 12px;
  margin-left: 8px;
  padding-top: 16px;
}

#pagamento-container .box-header .box-content-right .box-receipt-type .title {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: bold;
}

#pagamento-container .box-header {
  border-bottom: 1px solid #D4D1D1;
  padding: 16px;
}

#pagamento-container .box-header .box-content-left.is-ammo-header {
  float: left;
  width: 35%;
  max-width: 212px;
}

#pagamento-container .box-header .box-content-right.is-ammo-header {
  float: right;
  width: 65%;
}

#pagamento-container .box-info .pad-16{
  padding: 16px;
}

#pagamento-container .box-footer {
  text-align: center;
  font-size: 12px;
  padding: 20px;
  font-weight: bold;
}

#pagamento-container hr {
  display: block;
  height: 1px;
  background: transparent;
  width: 100%;
  border: none;
  border-top: solid 1px #D4D1D1;
  margin: 0;
}

#pagamento-container .box-info .control-group {
  padding: 8px 0;
  text-align: center;
  line-height: 1.8;
}

#pagamento-container .box-info label {
  font-weight: bold;
  display: inline-block;
  text-align: right;
  margin: 0 auto;
}


#pagamento-container .box-assinatura {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.error_wrapper{
  right: 0px;
  margin: 0px auto;
  margin-top: 5%;
  max-width: 450px;
  position: relative;
}

.error_content{
  margin: 0 auto;
  padding: 25px 0 0;
  position: relative;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  min-width: 280px;
}

.error_content h1{
  text-align: center;
}

.error_content .tipo-error{
  font-size: 115px;
  color: #000;
  margin-bottom: 30px;
}

.home_link{
  font-size: 15px;
  margin-top: 20px;
}

.home_link .link{
  margin-top: 10px;
}

.alert-secondary {
  background-color: #4169e1;
  color: white;
}

.btn-link.qrcode-link {
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #5A738E;
  font-size: 13px;
}

.btn-secondary {
  background-color: #4169e1;
  border: 1px solid #4169e1;
  color: white;
}

.btn-secondary:hover, .btn-secondary:focus {
  color: white;
  background-color: #3759c1;
}

.custom-bagde {
  color: white;
  font-weight: bold;
  border-radius: 50%;
  padding: 5px;
  margin-right: 0.25rem;
  width: 20px;
  height: 20px;
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 1rem;

  cursor: default;
}

.custom-bagde[data-tipo="urgente"] {
  background: rgb(220 38 38);
}

.custom-bagde[data-tipo="prioridade"] {
  background: rgb(251 191 36);
}

.custom-bagde[data-tipo="urgente"].contraste {
  background: white;
  color: rgb(220 38 38);
}

.custom-bagde[data-tipo="prioridade"].contraste {
  background: black;
}

span.bold {
    font-weight: bold;
}
