body {
  font-family: 'Poppins', sans-serif;
  background-color: #efefef
}


#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  padding: 20px;
  margin-left: calc(-15rem - 40px);
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.875rem 1.25rem;
  font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
  width: 15rem;
}

#page-content-wrapper {
  min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: 0;
}


.list-group-item.active {
  background-color: #40C1BC !important;
  color: #fff !important;
  border-color: #40C1BC !important;
  border: none !important
}


#calendar {
  padding: 8px !important;
  margin: 10px 10px 10px 20px !important;
  font-size: 0.8rem
}

.datepicker-inline {
  width: 100%;
}

.datepicker {
  padding: 15px;
}

.datepicker-switch {
  color: #40C1BC !important;
  font-size: 1rem
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active:hover:active {
  background: #40C1BC !important;
}

.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover {
  background: #ccc !important;
}


.datepicker table tr td span.active.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active:hover:active {
  background: #40C1BC !important;
}



.profile {
  width: 100%;
  margin-bottom: 80px;
}

.profile-image {
  width: 50px;
  height: 50px;
  background-size: cover;
  float: left;
  border-radius: 50px;
  background-position: left center;
}

.profile-info {
  font-size: 1rem;
  margin-left: 10px;
  float: left;
}



@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: calc(-15rem - 40px);
  }
}




.list-group-item {
  font-size: 0.8rem
}


.bordeVerde {
  border-top: solid 4px #40C1BC !important;
  padding: 6px 0px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 0.8rem !important;
}


.divVerde {
  background-color: #40C1BC !important;
  color: #FFF !important;
  padding: 6px 0px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 0.8rem !important;
}

/* BOTONES ******************************************************/
.btn {
  border: solid 1px !important;
}

.btn-primary {
  background-color: #40C1BC !important;
  border: #40C1BC !important
}

/* DIA DEL CALENDARIO *******************************************/



.dia {
  margin: 3px;
  padding: 3px;
  background-color: #fff;
  border-radius: 3px;
  display: table;
}

.dia .col-header {
  font-size: 0.9rem;
  text-align: center;
  font-weight: bold;
  border-top: solid 4px #40C1BC !important;
  color: #000;
  padding: 6px 0px;
  border-radius: 3px;
  margin-bottom: 10px
}

.dia .col-header button {
  float: right;
  border: none;
  background: none;
}

.dia .col-horarios .hora {
  border-bottom: dotted 1px #DEE2E6 !important;
  display: table;
  font-size: 0.8rem;
  padding: 3px 0px;
  min-height: 30px !important;
  width: 100%
}

.dia .col-horarios .hora> :first-child {
  width: 25% !important;
  text-align: center;
  display: table-cell
}

.dia .col-horarios .hora> :last-child {
  width: 75% !important;
  display: table-cell
}

.timeMarker {
  width: 100%;
  height: 100%;
  background-color: rgba(244, 134, 67, .6);
  top: 0;
  left: 0
}

.hidden {
  display: none
}

.cellTitle {
  padding: 20px 0px 0px 20px
}

/* DIA DEL CALENDARIO *******************************************/


.turno {
  font-size: 0.8rem;
  padding: 3px;
  border-radius: 3px
}

.turno small {
  font-size: 0.5rem
}

.turnoActivo {
  background-color: #40C1BC;
  border: #40C1BC;
  color: #fff
}

.turnoCancelado {
  background-color: #c1405e;
  border: #c1405e;
  color: #fff
}


.turnoBloqueado {
  background-color: #c1405e;
  border: #c1405e;
  color: #fff;
  font-size: .6rem;
}

.turnoFinalizado {
  background-color: #7f7a7b;
  border: #7f7a7b;
  color: #fff
}

.turnoAusente {
  background-color: #c18340;
  border: #c18340;
  color: #fff
}

.turnoPresente {
  background-color: #40c161;
  border: #40c161;
  color: #FFF;
}

.hora> :last-child .turno {
  margin-top: 3px;
}



/* TABLA ************************************************************************/

table.dataTable {
  border: none !important;
}

table.dataTable.no-footer {
  border: none !important;
  background-color: #FFF !important;
  font-size: 0.8rem !important;
}

table thead {
  font-size: 0.8rem !important;
  font-weight: bold !important;
  color: #000 !important;
  padding: 6px 0px !important;
  border-radius: 3px !important;
  margin-bottom: 10px !important;
  text-align: ;
}

table tbody tr {
  font-size: 0.8rem !important;
  color: #000 !important;
  padding: 6px 0px !important;
  text-align: ;
}


.dataTables_scrollBody {
  height: 90vh !important
}

.dts_label {
  display: none !important;
}

#lineaMasDatos {
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
}

.collapsedBlock {
  display: none;
}

.unCollapsedBlock {
  display: block;
}



.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.ui-autocomplete>li>div {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
  cursor: pointer;
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


/* TABLA ******************************************************************************************/
.tableResponsive {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: calc(100% - 40px);
  table-layout: fixed;
  border-top: none !important;
}

.tableResponsive caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

.tableResponsive tr {
  padding: .35em;
  border-bottom: solid 1px #ccc;
}

.tableResponsive thead {
  border-top: none !important;
  border-bottom: solid 2px #000;
}

.tableResponsive th,
.tableResponsive td {
  padding: .625em;
  text-align: center;
}

.tableResponsive th {
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  .tableResponsive {
    border: 0;
  }

  .tableResponsive caption {
    font-size: 1.3em;
  }

  .tableResponsive thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .tableResponsive tr {
    display: block;
    margin-bottom: .625em;
    border-bottom: solid 2px #40C1BC;
  }

  .tableResponsive td {
    display: block;
    text-align: right;
  }

  .tableResponsive td::before {
    /*
    * aria-label has no advantage, it won't be read inside a .tableResponsive
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .tableResponsive td:first-child {
    border-bottom: 0;
  }

  .tableResponsive td:last-child {
    border-bottom: 0;
  }
}


.ck-editor__editable_inline {
  min-height: 200px;
}

.ck.ck-reset_all,
.ck.ck-reset_all * {
  border: none !important;
}

.navbar {
  z-index: 1000 !important;
}

/* TABS ******************************************************************************************/
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  margin-top: 1px;
}

.nav-tabs .nav-link {
  border: none !important;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  font-size: 0.9rem;
  text-align: center;
  padding-top: 14px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-size: 0.9rem;
  text-align: center;
  font-weight: bold;
  border-top: solid 4px #40C1BC !important;
  color: #000;
  padding: 10px 0px;
  border-radius: 0px 3px 3px 0px;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
  width: 200px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .nav-tabs .nav-item {
    margin-bottom: -1px;
    width: 50%;
    text-align: center;
  }
}

.nav-item a {
  color: #2a2a2a;
}

.savingOverlay {
  position: absolute;
  right: 40px;
  bottom: 30px;
  height: 20px;
  width: 20px;
  z-index: 9999;
  display: none;
}

.fz08 {
  font-size: 0.8rem
}

.fz09 {
  font-size: 0.9rem
}

.fz1 {
  font-size: 1rem
}

label,
.form-control,
.btn {
  font-size: 0.8rem !important
}



.dropzone {
  border: 1px dashed #40C1BC !important;
  border-radius: 5px;
  background: white;
  font-size: 0.8rem;
}

.dropzone i {
  color: #40C1BC;
}

.dataTables_info,
.dataTables_paginate {
  font-size: 0.8rem
}

.dz-image {
  background-color: #efefef;
  cursor: pointer;
}

.dz-image img {
  width: 100% !important;
  margin: auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.dz-progress {
  display: none !important;
}

.dataTables_scrollHeadInner {
  width: 100% !important;
}

.dataTables_scrollHeadInner table {
  width: 100% !important;
}


.clickable {
  cursor: pointer;
}

td {
  padding: 2px !important;
  border-bottom: dotted 1px #DEE2E6 !important;
}

.error {
  font-size: 0.8rem !important;
  color: #c1405e !important
}

.context-menu-list {
  z-index: 99 !important;
}

.context-menu-item {
  font-size: 0.8rem !important;
}

.context-menu-item i {
  color: #2a2a2a !important;
}

.context-menu-hover {
  background-color: #40C1BC !important;
}

.context-menu-hover i {
  color: #fff !important;
}

.icon-mt-1 {
  margin-top: 3px;
  margin-right: 20px !important
}

.droppableHover {
  background-color: #f0dcdc !important
}

.ui-draggable-dragging {
  box-shadow: 0 0 2px #000;
  opacity: 75%
}

.turnoActivo {
  z-index: 5 !important
}





.visitasResponsive {
  width: 100%;
  margin-bottom: 50px;
  border-spacing: 3px;
  border-collapse: separate;

}

.visitasResponsive tr td:first-child {
  font-weight: bold !important;
  background-color: #efefef;
  margin: 3px !important;
  width: 30%;
  padding: 4px;
}

.visitasResponsive tr:last-child {
  border-bottom: dotted 1px #DEE2E6;
}


@media print {
  body * {
    visibility: hidden;
  }

  #printarea,
  #printarea * {
    visibility: visible;
  }

  #printarea {
    position: absolute;
    left: 0;
    top: 0;
  }
}



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

/* 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: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

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

input:checked+.slider {
  background-color: #40c1bc;
}

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

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

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

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

.profile-image2 {
  height: 70px !important;
  width: 70px !important;
  background-position: left center;
}

.borderVerdeProfile {
  box-shadow: 0 0 0 4pt #40C1BC;
}

.desaturate {
  filter: none;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  cursor: pointer;
  opacity: .7;
}


.form-control-alt {
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.modal-header {
  background-color: #40C1BC !important;
}

.modal-header .modal-title {
  font-size: 1rem !important;
  color: #FFF !important;
}

.modal-header .close {
  color: #FFF !important;
}

.modal-backdrop {
  backdrop-filter: blur(5px);
  background-color: #00000090;
  opacity: .8 !important;
}

.modal-backdrop.in {
  opacity: 1 !important;
}





.horizontal-scrollable>.row {
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.horizontal-scrollable>.row>.col {
  display: inline-block !important;
  float: none !important;
}








.container_foto {
  background-color: rgba(57, 62, 93, 0.7);
  padding: 0;
  overflow: hidden;
  max-width: 350px;
  margin: 0px 0px 3px 0px;
  border-radius: 3px 3px 0px 0px;
}

.container_foto article {
  padding: 10%;
  position: absolute;
  bottom: 0;
  z-index: 1;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.container_foto h2 {
  color: #fff;
  font-weight: 800;
  font-size: 1em;
  border-bottom: #fff solid 1px;
}

.container_foto h4 {
  font-weight: 300;
  color: #fff;
  font-size: 0.8em;
}

.container_foto img {
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.4;
  -webkit-transition: all 4s ease;
  -moz-transition: all 4s ease;
  -o-transition: all 4s ease;
  -ms-transition: all 4s ease;
  transition: all 4s ease;
}

.ver_mas {
  background-color: #40C1BC;
  position: absolute;
  width: 100%;
  height: 40px;
  bottom: 0;
  z-index: 1;
  opacity: 0;
  transform: translate(0px, 70px);
  -webkit-transform: translate(0px, 70px);
  -moz-transform: translate(0px, 70px);
  -o-transform: translate(0px, 70px);
  -ms-transform: translate(0px, 70px);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.ver_mas .far,
.ver_mas .fas {
  font-size: 15px;
  color: #fff;
  position: relative;
  margin: 15px 10px !important;
}


/*hovers*/

.container_foto:hover {
  cursor: pointer;
}

.container_foto:hover img {
  opacity: 0.1;
  transform: scale(1.5);
}

.container_foto:hover article {
  transform: translate(2px, -69px);
  -webkit-transform: translate(2px, -69px);
  -moz-transform: translate(2px, -69px);
  -o-transform: translate(2px, -69px);
  -ms-transform: translate(2px, -69px);
}

.container_foto:hover .ver_mas {
  transform: translate(0px, 0px);
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  opacity: 1;
}



.image {
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
}

.image img {
  position: absolute;
}