button.link {
  font-size: 1em;
  text-align: left;
  color: black;
  background: none;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;

  -moz-user-select: text;

  /* override all your button styles here if there are any others */
}
button.link:hover span,
button.link:focus span {
  text-decoration: underline;
  color: blue;
}

#toast-container > .toast {
  background-image: none !important;
}

#toast-container > .toast:before {
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  font-size: 24px;
  float: left;
  color: #fff;
  margin: auto 0.5em auto -1.5em;
}
#toast-container > .toast-warning:before {
  content: '\f071';
}
#toast-container > .toast-error:before {
  content: '\f119';
}
#toast-container > .toast-info:before {
  content: '\f06a';
}
#toast-container > .toast-success:before {
  content: '\f118';
}

.orderableList {
  padding-left: 0em;
  text-align: center;
}
.orderableListItem {
  margin-top: 5px;
  cursor: move;
  padding: 10px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ed2939;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider.sliderGreen {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #24ae88;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #24ae88;
}

input:focus + .slider {
  box-shadow: 0 0 1px #24ae88;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.modal-body {
  background: #f8f9fb;
}

.tarjeta {
  position: relative;
  background: rgb(255, 255, 255);
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  color: #777;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.05);
  justify-content: center;
}

input.error {
  color: #ff0000;
  border: 1px solid #ff0000 !important;
}

textarea.error {
  color: #ff0000;
  border: 1px solid #ff0000 !important;
}

.container-fat {
  max-width: 1600px !important;
}

.checkbox {
  padding-left: 20px;
}
.checkbox label {
  display: inline-block;
  position: relative;
  padding-left: 5px;
}
.checkbox label::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 0;
  margin-left: -20px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}
.checkbox label::after {
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 0;
  margin-left: -20px;
  padding-left: 3px;
  padding-top: 1px;
  font-size: 11px;
  color: #555555;
}
.checkbox input[type='checkbox'] {
  opacity: 0;
}
.checkbox input[type='checkbox']:focus + label::before {
  outline: 0;
}
.checkbox input[type='checkbox']:checked + label::after {
  font-family: 'Font Awesome\ 5 Free';
  content: '\f00c';
  font-weight: 900;
}
.checkbox input[type='checkbox']:disabled + label {
  opacity: 0.65;
}
.checkbox input[type='checkbox']:disabled + label::before {
  background-color: #eeeeee;
  cursor: not-allowed;
}
.checkbox.checkbox-circle label::before {
  border-radius: 50% !important;
}

.checkbox-info input[type='checkbox']:checked + label::before {
  background-color: #ffb300;
  border-color: #ffb300;
}
.checkbox-info input[type='checkbox']:checked + label::after {
  color: #fff;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #222e48;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

#content {
  display: none;
}

.mw-70-modal {
  max-width: 70%;
}
.mw-50-modal {
  max-width: 50%;
}
.mw-30-modal {
  max-width: 30%;
}

/* xs */
@media (max-width: 766px) {
  .mw-70-modal {
    max-width: 100%;
  }
  .mw-50-modal {
    max-width: 100%;
  }
  .mw-30-modal {
    max-width: 100%;
  }
}

/* sm */
@media (min-width: 767px) {
  .mw-30-modal {
    max-width: 80%;
  }
}

/* md */
@media (min-width: 767px) {
  .mw-30-modal {
    max-width: 30%;
  }
}

.errspan {
  float: right;
  margin-right: 6px;
  margin-top: -33px;
  position: relative;
  z-index: 2;
  color: black;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type='number'] {
  -moz-appearance: textfield; /* Firefox */
}

@media (min-width: 768px) {
  /* show 3 items */
  .carouselPrograms .carousel-inner .active,
  .carouselPrograms .carousel-inner .active + .carousel-item,
  .carouselPrograms .carousel-inner .active + .carousel-item + .carousel-item {
    display: block;
  }

  .carouselPrograms .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
  .carouselPrograms .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
  .carouselPrograms .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
    transition: none;
  }

  .carouselPrograms .carousel-inner .carousel-item-next,
  .carouselPrograms .carousel-inner .carousel-item-prev {
    position: relative;
    transform: translate3d(0, 0, 0);
  }

  .carouselPrograms .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item {
    position: absolute;
    top: 0;
    right: -33.333%;
    z-index: -1;
    display: block;
    visibility: visible;
  }

  /* left or forward direction */
  .carouselPrograms .active.carousel-item-left + .carousel-item-next.carousel-item-left,
  .carouselPrograms .carousel-item-next.carousel-item-left + .carousel-item,
  .carouselPrograms .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
  .carouselPrograms .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
    position: relative;
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  /* farthest right hidden item must be abso position for animations */
  .carouselPrograms .carousel-inner .carousel-item-prev.carousel-item-right {
    position: absolute;
    top: 0;
    left: 0%;
    z-index: -1;
    display: block;
    visibility: visible;
  }

  /* right or prev direction */
  .carouselPrograms .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
  .carouselPrograms .carousel-item-prev.carousel-item-right + .carousel-item,
  .carouselPrograms .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
  .carouselPrograms .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
    position: relative;
    transform: translate3d(100%, 0, 0);
    visibility: visible;
    display: block;
    visibility: visible;
  }

  img {
    opacity: 1;
    display: block;
    transition: 0.5s ease;
    backface-visibility: hidden;
  }
  .hoverText {
    position: absolute;
    top: -40px;
    transition: 0.5s ease;
    opacity: 0;
    width: 93%;
    text-align: center;
  }
  .panel-thumbnail:hover .hoverText {
    opacity: 1;
  }
  .caption {
    color: red;
    font-size: 30px;
    padding-top: 30%;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    cursor: pointer;
  }

  .modal-confirm {
    color: #636363;
    width: 400px;
  }
  .modal-confirm .modal-content {
    padding: 20px;
    border-radius: 5px;
    border: none;
    text-align: center;
    font-size: 14px;
  }
  .modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
  }
  .modal-confirm h4 {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 -10px;
  }
  .modal-confirm .close {
    position: absolute;
    top: -5px;
    right: -2px;
  }
  .modal-confirm .modal-body {
    color: #999;
  }
  .modal-confirm .modal-footer {
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
    padding: 10px 15px 25px;
  }
  .modal-confirm .modal-footer a {
    color: #999;
  }
  .modal-confirm .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 9;
    text-align: center;
    border: 3px solid #f15e5e;
  }
  .modal-confirm .icon-box i {
    color: #f15e5e;
    font-size: 46px;
    display: inline-block;
    margin-top: 13px;
  }
  .modal-confirm .btn,
  .modal-confirm .btn:active {
    color: #fff;
    border-radius: 4px;
    background: #60c7c1;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    min-width: 120px;
    border: none;
    min-height: 40px;
    border-radius: 3px;
    margin: 0 5px;
  }
  .modal-confirm .btn-secondary {
    background: #c1c1c1;
  }
  .modal-confirm .btn-secondary:hover,
  .modal-confirm .btn-secondary:focus {
    background: #a8a8a8;
  }
  .modal-confirm .btn-danger {
    background: #f15e5e;
  }
  .modal-confirm .btn-danger:hover,
  .modal-confirm .btn-danger:focus {
    background: #ee3535;
  }

  #dotted {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }
}

.customSelect + .select2-container .select2-selection {
  padding: 0.2rem 0.4rem;
  border-radius: 18px;
  border-color: #ced4da;
  font-size: 0.9rem;
  line-height: 1.5;
  height: calc(2.25rem + 2px);
}

.customSelect + .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px;
}

.ui-datepicker-prev span, .ui-datepicker-next span {
  background-image: none !important;
}
.ui-datepicker-prev-hover span, .ui-datepicker-next-hover span {
  background-image: none !important;
}

.ui-datepicker-prev span.ui-icon {
  width: 12px;
  height: 20px;
  display: block;
  text-indent: 0;
  overflow: hidden;
  background-repeat: no-repeat;
}
.ui-datepicker-next span.ui-icon {
  width: 12px;
  height: 20px;
  display: block;
  text-indent: 0;
  overflow: hidden;
  background-repeat: no-repeat;
}

.ui-datepicker-prev span:before {
  content: "\f060";
  font-family: 'Font Awesome\ 5 Free';
}
.ui-datepicker-next span:before {
  content: "\f061";
  font-family: 'Font Awesome\ 5 Free';
}

.ui-state-hover.ui-datepicker-next-hover {
  content: "\f061";
  font-family: 'Font Awesome\ 5 Free';
}