.msjError{
    width: auto;
    position: absolute;
    top: 0px;
    margin-left: 50%;
    left: -10%;
}
.dvLoader{
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: #363636bf;
    z-index: 20;
    display: none;
}

.dvLoaderContenido{
    color: white;
    margin-left: 50%;
    margin-top: 40vh;
    font-size: 2.2rem;
}

.spinner-border {
    width: 10rem;
    height: 10rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 30px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .btnIcon{
    cursor: pointer;
  }

  .fc-event::before {
    content: attr(data-branch);
    position: absolute; 
    transform: translate(0%, -20%) rotate(0deg);
    font-size: 45pt;
    font-weight: 900;
    color: #f8f8f82e;
    pointer-events: none;
}
  .AppoitmentConfirmed{
    border-color: cyan !important;
    border-left-width: 3px !important;
    border-radius: 10px !important;
  }

  .AppoitmentArrived {
    --border-width: 1px;
    position: relative;
    display: flex;
    border-radius: 10px !important;
  }

  .AppoitmentArrived::after {
    position: absolute;
    content: "";
    top: calc(-1 * var(--border-width));
    left: calc(-1 * var(--border-width));
    z-index: 1;
    width: calc(100% + var(--border-width) * 2);
    height: calc(100% + var(--border-width) * 2);
    background: linear-gradient(
      60deg,
      hsla(0, 0%, 100%, 0),
      hsla(0, 0%, 100%, 0.2),
      hsla(0, 0%, 100%, 0.3),
      hsla(0, 0%, 100%, 0.7),
      hsla(0, 0%, 100%, 0.3),
      hsla(0, 0%, 100%, 0.2),
      hsla(0, 0%, 100%, 0)
    );
    background-size: 300% 300%;
    background-position: 0 50%;
    border-radius: 10px;
    animation: moveGradient 4s alternate infinite;
  }

  @keyframes moveGradient {
    50% {
      background-position: 100% 50%;
    }
  }

  .AppoitmentAttended{
    border-color: blue !important;
    border-left-width: 3px !important;
    border-radius: 10px !important;
  }

  .AppoitmentPayed{
    border-color: green !important;
    border-left-width: 3px !important;
    border-radius: 10px !important;
  }

  .AppoitmentFinished{
    border-color: #80001F !important;
    border-left-width: 3px !important;
    border-radius: 10px !important;
  }

  .btnTablaGlobal{
    cursor: pointer;
  }

  .trDatoGlobal{
    transition: all 0.2s ease-out;
  }

  .trDatoGlobal:hover{
    background-color: aliceblue;
    color: black;
  }

  .autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    }

    .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    }
    .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    }
    .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
    }
    .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
    }
    
    .campoIncorrecto {
      border-color: red !important;
      box-shadow: pink 0px 0px 10px !important;
  }

  .btn-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.btn-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}