/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap'); */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}

body {
  margin-left: 80px;
  transition: margin-left 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  position: relative;
  /*width: calc(100% - 80px);*/
  height: 100%;
}
html {
  height: 100%;
}
main {
  padding: 0 15px;
  width: 100%;
  padding-top: 70px;
}

a {
  color: #5f259f;
}

a:hover {
  color: #733caa;
}

.a-purple {
  color: #5f259f;
}

.a-purple:hover {
  color: #733caa;
}

/* Modal */
button.confirm-delete {
  margin-top: 0;
}

.modal-backdrop {
  z-index: 100;
}

section {
  background-color: #ffffff;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
}

main button {
  display: block;
  margin-top: 25px;
  padding: 10px;
}
section.show {
  display: block;
  /*z-index: 250;*/
}
.panel-1 {
  padding: 0 15px;
}
button.section {
  display: none;
}
section header .icon__back {
  width: 50px;
  height: 100%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(10px);
  cursor: pointer;
  margin-right: 15px;
}
.icon__menu_close {
  right: 1px;
  top: 12px;
  position: absolute;
  height: 25px;
  width: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  display: none;
}
section .header {
  width: 100%;
  height: 60px;
  background: #f5f5f5;
  display: none;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  padding-left: 70px;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / 20%);
  /* margin-top: -80px; */
}

header {
  width: calc(100% - 80px);
  height: 60px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 200;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / 20%);
}
.body_move header {
  width: calc(100% - 250px);
}

.bar-notifications {
  position: absolute;
  right: 0;
  margin-right: 40px !important;
}
.icon__back {
  width: 50px;
  height: 100%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(10px);
  cursor: pointer;
  display: none;
}
.icon__menu_mobile {
  width: 50px;
  height: 100%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* transform: translateX(10px); */
  display: none;
  position: absolute;
  cursor: pointer;
}
.icon__menu {
  width: 50px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(10px);
}

.icon__menu i {
  font-size: 20px;
  cursor: pointer;
  position: absolute;
}

.bg-dpurple {
  background-color: rgba(67, 14, 119, 0.7);
}

.bg-dpurple:hover {
  background-color: rgba(67, 14, 119, 1);
  text-decoration: none;
}

.bb-purple {
  border-bottom: solid 1px rgba(67, 14, 119, 1);
}

.bg-hpurple:hover {
  background-color: rgba(67, 14, 119, 0.5);
  text-decoration: none;
}

.d-link {
  cursor: pointer;
}

.menu__side {
  width: 80px;
  height: 100%;
  background: #5f259f;
  position: fixed;
  top: 0;
  left: 0;
  color: white;
  font-size: 18px;
  z-index: 300;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

/*Ocultar scroll para chrome, safari y opera*/
.menu__side::-webkit-scrollbar {
  display: none;
}

/*Ocultar scroll para IE, Edge y Firefox*/
.menu__side {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.name__page {
  padding: 10px 30px 0;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.name__page i {
  width: 20px;
  margin-right: 20px;
}

.options__menu {
  padding: 20px 0;
  position: relative;
  top: 0px;
}

.options__menu a {
  color: #ffffffb2;
  cursor: default;
  display: block;
  position: relative;
  transition: color 300ms;
}

.options__menu a:hover {
  color: white;
}

.options__menu .option {
  padding: 15px 0px;
  display: flex;
  /*align-items: center;*/
  position: relative;
  max-height: 57px;
}

.options__menu .option i {
  width: 20px;
  margin-right: 20px;
  cursor: pointer;
  margin-left: 30px;
}

.options__menu .option h4 {
  font-weight: 300;
  cursor: pointer;
  font-size: 1rem;
  padding-left: 15px;
}

a.selected {
  color: #fff;
}

.selected:before {
  content: '';
  width: 3px;
  height: 80%;
  background: white;
  position: absolute;
  top: 10%;
  left: -30px;
}

/*Clases para usar en JavaScript*/

.body_move {
  margin-left: 250px;
}

.menu__side_move {
  width: 250px;
}

.options__menu--logout {
  /*
    bottom: 0;
    top: unset;
    */
}

.menu__side .logo-plus {
  margin: 10px 30px 20px -10px;
  display: inline-block;
}
.menu__side .logo_name {
  display: none;
}
.menu__side.menu__side_move .logo_name {
  display: inline-block;
}

.menu__side.menu__side_move .logo-plus {
  display: none;
}

.option-title {
  display: none;
  margin-left: -15px;
  transition: display 3s ease-in;
}

.menu__side_move .option-title {
  display: block;
  transition: display 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.menu__side_move .option-title h4 {
  color: #b7b7bb;
  font-size: 1rem;
  padding-left: 30px;
}

.menu-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 90%;
}

#btn_open_mobile {
  padding: 4px;
}
#btn_open_mobile:hover {
  boder: 1px solid #ccc;
}

.logo-plus {
  height: 40px;
  width: auto;
}
.logo_name {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
  width: 100px;
  height: auto;
}

body header .title h3 {
  background-color: transparent;
  color: #000;
}
section > header > h3 {
  background-color: transparent;
  color: #000;
  font-size: 1.25rem;
}
.btns-controls {
  display: flex;
}
.btns-controls .btn {
  margin-right: 24px;
}

.add-precase {
  position: absolute;
  right: 0;
  top: 0;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: #049cc5;
  padding: 16px;
  color: #ffffff;
  z-index: 100;
  cursor: pointer;
}
.list-images ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row;
  max-height: 100vh;
  gap: 10px;
}
.list-images ul li {
  /*  flex-grow: 1; */
  max-width: 23vw;
  min-width: 5vw;
  list-style: none;
  position: relative;
  background-color: #efefef;
  border-radius: 10px;
}

.list-images ul li .add-precase::before {
  top: 8px;
  left: 8px;
  position: absolute;
}
.list-images ul li img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.list-images ul li img:hover {
  filter: blur(0px);
  opacity: 1;
  border-radius: 10px;
  box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.767);
  transform: scale(1.02);
  transition: all 0.5s;
}

.box-mobile {
  display: none;
}
.box-mobile h3 {
  background-color: transparent;
  font-weight: bold;
  color: #11101d;
}
.footer-action {
  position: fixed;
  background-color: #ffffff;
  width: 100%;
  height: 50px;
  bottom: 0;
  left: 0;
  padding: 8px 16px;
  z-index: 120;
}
.footer-action a {
  width: 100%;
}
.list-items {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgb(0 0 0 / 50%);
  padding: 0 16px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}
.list-items .items {
  width: 100%;
  color: #2c3e50;
  overflow: hidden;
  position: relative;
}
.list-items .items .tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  cursor: pointer;
}
.list-items .items:last-child .tab-label {
  border-bottom: 0 !important;
}
.list-items .items .tab-label::after {
  content: '❯';
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.data-pacient {
  margin-top: 15px;
}
h4.c-form-label {
  font-weight: bold;
}
.modal-footer {
  justify-content: space-around;
}
.modal-footer button {
  width: 40%;
}
@media screen and (max-width: 760px) {
  body header .title {
    margin-left: 48px;
  }

  .menu__side .logo_name {
    display: inline-block;
  }
  .menu__side .logo-plus {
    display: none;
  }
  header {
    height: 60px;
    width: 100% !important;
  }
  section header h3 {
    font-size: 1rem !important;
  }

  section .header {
    height: 60px;
    padding-left: 0px;
    display: flex;
    justify-content: space-between;
  }
  .j-content-start {
    justify-content: flex-start !important;
  }
  .body_move {
    margin-left: 0px;
  }

  .menu__side_move {
    width: 80px;
    left: -80px;
  }

  body {
    margin-left: 0;
    width: 100%;
  }
  .icon__menu {
    right: 24px;
    position: absolute;
  }
  .icon__action {
    margin-right: 15px;
  }
  .menu__side {
    width: 250px;
  }
  .menu__side_move {
    width: 80px;
  }
  .icon__back {
    display: flex;
  }
  .icon__menu {
    display: none;
  }
  .btn_open_mobile {
    display: flex;
  }
  .icon__menu_mobile {
    display: flex;
  }
  .icon__menu_close {
    display: flex;
  }
  button.section {
    display: block;
  }
  main {
    /*  height: 100%; */
  }
  section {
    display: none;
    position: absolute;
    /* min-height: 100vh; */
  }
  section.active .box-mobile {
    display: block;
  }
  .btns-controls {
    display: none;
  }
  .bg-subtitle {
    margin-top: 24px;
  }
  .doc-sign .doc-header {
    left: auto;
  }
}

/* TABLAS */

.table {
  width: 100%;
}

.tr:first-child {
  display: none;
}

.rh > span {
  display: block;
  position: relative;
}

/* Insert header name before each row on mobile */
.td:before {
  content: attr(data-header);
  float: left;
  width: 40%;
}

/* CSS border triangle trick */
.table .rh > span:after {
  content: '❯';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  z-index: 2;
  right: 4px;
  top: 18px;
  pointer-events: none;
  margin: 0;
  transform: rotate(90deg);
  font-size: 1rem;
}

/* Flip CSS border triangle on active */
.table .rh.active > span:after {
  top: 24px;
  right: 28px;
  transform: rotate(-90deg);
}

.td {
  padding: 5px 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Media Queries */
@media screen and (min-width: 768px) {
  .rh {
    display: none;
  }

  .table {
    display: table;
  }

  .thead {
    display: table-header-group;
  }

  .tbody {
    display: table-row-group;
  }

  .tr,
  .tr:first-child {
    display: table-row;
  }

  .th,
  .td {
    display: table-cell;
  }

  .td:before {
    content: '';
  }
}

.table {
  border: 0;
}

.th,
.rh > span {
  background: transparent;
  color: #000;
  font-weight: 400 !important;
}

.tr .td:nth-child(even) {
  background: #4472c42b;
}

.th,
.tr .td,
.rh,
.rh.active:nth-last-child(2) {
  border-bottom: 1px solid #dee2e6;
}

.rh:nth-last-child(2) {
  border-bottom: none;
}

.card-body {
  padding: 0;
}
.td {
  padding: 5px 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.rh > span {
  padding: 5px 15px;
  font-size: 1.25em;
}

.tr:first-child,
.tr:last-child {
  border-bottom: none;
}

.tr:last-child .td:last-child {
  border-bottom: none;
}

.table .tr .td .btn {
  margin-left: 16px;
}
.card {
  border: 0;
}

/* ======================================================================================= */
.mobile-hide {
  display: none;
}
.table.mobile-accordion .tr {
  display: none;
}
@media screen and (min-width: 768px) {
  .table.mobile-accordion .tr {
    display: table-row;
  }
  .mobile-hide {
    display: block;
  }
  /*.th,
	.td,
	.tr,
	.tr .td:last-child {
		border-bottom: 1px solid #4472C4;
	}*/

  .th,
  .td {
    padding: 5px;
  }

  .th {
    border-right: 1px solid #733caa;
  }

  .td {
    border-right: 1px solid #733caa;
  }

  .tr {
    display: table-row;
  }

  .th:last-child,
  .td:last-child {
    border-right: none;
  }

  /* Unfortunately we cannot just use :nth-child(odd/even) since the
	   .rh elements are interspersed in there. Until CSS 4 I don't
	   think there will be a way to style alterating rows for this
	   without using JavaScript or whatever builds the table to add
	   a special class. */
  .tr.alternate-highlight {
    background: #ededed;
  }

  /* Reset Mobile Styles */
  .tr:last-child .td:first-child {
    border-top: none;
  }

  .tr:last-child .td {
    border-bottom: none;
  }

  .tr .td:nth-child(even) {
    background: none;
  }

  .td {
    display: table-cell;
  }
  .th,
  .rh > span {
    background: #5f259f;
    color: #fff;
    font-weight: 400 !important;
  }
  /*.th,
    .tr .td,
    .rh,
    .rh.active:nth-last-child(2) {
        border-bottom: 1px solid #4472c4;
    }  */
  .table {
    border: 1px solid #733caa;
  }
  .chatbox {
    border: 1px solid #cecccc;
    border-radius: 4px;
    max-height: 300px;
    padding: 8px 32px;
  }
  section .content {
    padding: 0;
  }
}
.items span.badge {
  display: none;
  position: absolute;
  top: 8px;
  left: 188px;
}
.items span.badge[data-count]::after {
  content: attr(data-count);
  width: 24px;
  height: 24px;
  background-color: #d87f7d;
  color: #ffffff;
  border-radius: 50%;
  padding: 4px 8px;
  position: relative;
  left: 0;
}

/* -----------------------------------------
  =Default css to make the demo more pretty
-------------------------------------------- */

/* -----------------------------------------
    =CSS3 Loading animations
  -------------------------------------------- */

/* =Elements style
  ---------------------- */
.load-wrapp {
  display: none;
  float: left;
  width: 100%;
  height: 600px;
  margin: 0 auto !important;
  padding: 20px 20px 20px;
  border-radius: 5px;
  text-align: center;
  position: absolute;
  z-index: 9999;
  top: 50%;
}

.load-wrapp p {
  padding: 0 0 20px;
}
.load-wrapp:last-child {
  margin-right: 0;
}

.line {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  background-color: #4b9cdb;
}

.ring-1 {
  width: 10px;
  height: 10px;
  margin: 0 auto;
  padding: 10px;
  border: 7px dashed #4b9cdb;
  border-radius: 100%;
}

.ring-2 {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 0 auto;
  border: 4px solid #4b9cdb;
  border-radius: 100%;
}

.ball-holder {
  position: absolute;
  width: 12px;
  height: 45px;
  left: 17px;
  top: 0px;
}

.ball {
  position: absolute;
  top: -11px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: #4282b3;
}

.letter-holder {
  padding: 16px;
}

.letter {
  float: left;
  font-size: 14px;
  color: #777;
}

.square {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background-color: #4b9cdb;
}

.spinner {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 0 auto;
}

.bubble-1,
.bubble-2 {
  position: absolute;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background-color: #4b9cdb;
}

.bubble-2 {
  top: auto;
  bottom: 0;
}

.bar {
  float: left;
  width: 15px;
  height: 6px;
  border-radius: 2px;
  background-color: #4b9cdb;
}

/* =Animate the stuff
  ------------------------ */
.load-1 .line:nth-last-child(1) {
  animation: loadingA 1.5s 1s infinite;
}
.load-1 .line:nth-last-child(2) {
  animation: loadingA 1.5s 0.5s infinite;
}
.load-1 .line:nth-last-child(3) {
  animation: loadingA 1.5s 0s infinite;
}

.load-2 .line:nth-last-child(1) {
  animation: loadingB 1.5s 1s infinite;
}
.load-2 .line:nth-last-child(2) {
  animation: loadingB 1.5s 0.5s infinite;
}
.load-2 .line:nth-last-child(3) {
  animation: loadingB 1.5s 0s infinite;
}

.load-3 .line:nth-last-child(1) {
  animation: loadingC 0.6s 0.1s linear infinite;
}
.load-3 .line:nth-last-child(2) {
  animation: loadingC 0.6s 0.2s linear infinite;
}
.load-3 .line:nth-last-child(3) {
  animation: loadingC 0.6s 0.3s linear infinite;
}

.load-4 .ring-1 {
  animation: loadingD 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

.load-5 .ball-holder {
  animation: loadingE 1.3s linear infinite;
}

.load-6 .letter {
  animation-name: loadingF;
  animation-duration: 1.6s;
  animation-iteration-count: infinite;
  animation-direction: linear;
}

.l-1 {
  animation-delay: 0.48s;
}
.l-2 {
  animation-delay: 0.6s;
}
.l-3 {
  animation-delay: 0.72s;
}
.l-4 {
  animation-delay: 0.84s;
}
.l-5 {
  animation-delay: 0.96s;
}
.l-6 {
  animation-delay: 1.08s;
}
.l-7 {
  animation-delay: 1.2s;
}
.l-8 {
  animation-delay: 1.32s;
}
.l-9 {
  animation-delay: 1.44s;
}
.l-10 {
  animation-delay: 1.56s;
}

.load-7 .square {
  animation: loadingG 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

.load-8 .line {
  animation: loadingH 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

.load-9 .spinner {
  animation: loadingI 2s linear infinite;
}
.load-9 .bubble-1,
.load-9 .bubble-2 {
  animation: bounce 2s ease-in-out infinite;
}
.load-9 .bubble-2 {
  animation-delay: -1s;
}

.load-10 .bar {
  animation: loadingJ 2s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

@keyframes loadingA {
  0 {
    height: 15px;
  }
  50% {
    height: 35px;
  }
  100% {
    height: 15px;
  }
}

@keyframes loadingB {
  0 {
    width: 15px;
  }
  50% {
    width: 35px;
  }
  100% {
    width: 15px;
  }
}

@keyframes loadingC {
  0 {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes loadingD {
  0 {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadingE {
  0 {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadingF {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes loadingG {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(70px, 0) rotate(360deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes loadingH {
  0% {
    width: 15px;
  }
  50% {
    width: 35px;
    padding: 4px;
  }
  100% {
    width: 15px;
  }
}

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

@keyframes bounce {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

@keyframes loadingJ {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(80px, 0);
    background-color: #f5634a;
    width: 25px;
  }
}

.btn-success {
  background-color: #2bab55;
}

.swal-button {
  background-color: #5f259f !important;
}

.btn-success:hover {
  background-color: #298748;
}

+ .btn-info {
  background-color: #138c9e;
}

+ .btn-info:hover {
  background-color: #073238;
}

.swal-button--cancel {
  background-color: #9093a0 !important;
  color: #ffffff !important;
}
.swal-icon--info::after,
.swal-icon--info::before,
.swal-icon--warning__body,
.swal-icon--warning__dot {
  width: 0;
  height: 0;
  background-color: transparent;
}

.swal-icon {
  border: none;
  border-radius: 0;
  background-image: url(/assets/images/logo_top_aligners_morado.png);
  background-size: 80px 80px;
  background-repeat: no-repeat;
}

.icon__menu_close .fa-times::before {
  font-size: 25px;
  margin-right: 15px;
}

.swal-button--cases {
  background-color: #9093a0 !important;
}

.badge {
  position: absolute;
  right: 6px;
  top: 0;
  font-weight: 200;
  height: 20px;
  width: 20px;
  line-height: 14px;
  font-size: 0.7rem;
}

.btn-bat-bottom {
  position: relative;
  height: 24px;
  width: 24px;
  text-align: center;
  padding-top: 4px;
  color: #9093a0;
  cursor: pointer;
}

.btn-barBottom-chat {
  display: flex;
  flex-direction: column;
}
.btn-barBottom-chat button {
  border: 0;
  background-color: transparent;
}
.btn-barBottom-chat button i {
  color: #9093a0;
  font-size: 1.125rem;
}
.btn-barBottom-chat span {
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}
#btn_open_mobile {
  height: 42px;
  width: 42px;
}
.boxMessages-widthourRead {
  max-height: 260px;
  overflow-y: scroll;
}

.boxMessages-widthourRead::-webkit-scrollbar {
  width: 4px;
}

.boxMessages-widthourRead::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.boxMessages-widthourRead::-webkit-scrollbar-thumb {
  background-color: #8070d4;
  border: 5px solid transparent;
  border-radius: 100px;
}

.boxMessages-widthourRead::-webkit-scrollbar-thumb:hover {
  background-color: #9b8edf;
}

tr.feature {
  font-weight: 400;
}
.menu__side {
  z-index: 9999;
}
@media only screen and (max-width: 768px) {
  .bar-welcome span {
    display: block;
  }
  .bar-title {
    width: 50%;
  }
  .body_move .bar-notifications {
    margin-right: unset;
  }
  .bar-notifications {
    margin-right: 0 !important;
    padding-right: 16px;
  }
  main {
    height: calc(100vh - 60px - 64px);
    overflow: scroll;
    top: 60px;
    position: relative;
    left: 0;
    padding: 8px 0 0 0;
  }
  .fill-space {
    height: 96px;
    width: 100%;
  }
}
