.modal {
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.listText {
	padding: 15px 0px;
}

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 50px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 20px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 50px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 28px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 28px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 30px;
}

.label-rose {
	background: #E30074;
}


.material-switch-md > input[type="checkbox"] {
    display: none;
}

.material-switch-md > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 50px;
}

.material-switch-md > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 13px;
    margin-top: -5px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch-md > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 19px;
    left: -4px;
    margin-top: -4px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 19px;
}
.material-switch-md > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch-md > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 23px;
}


/**
  -------------------------------
  -- STYLES MODULO DE CONSULTA --
  -------------------------------
*/

/** MENU CONSULTA **/

.consultingMenu {
  list-style: none;
  padding-left: 0px;
}

.titleMenu {
  border-bottom: 1px solid lightgray;
  padding: 0px 0px;
  font-weight: bold;
  color: gray;
  text-align: center;
}


/* Sub menu */
.subMenuPadding {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.optionSubMenu {
  display: block;
  padding: 10px;
}

.optionSubMenu:hover{
  font-weight: bold;
  background: #F7F7F7;
}

.activeOptionSubMenu {
  font-weight: bold;
  background: #F7F7F7;
  border-left: 3px solid #19B8B4 !important;
}

.activeOptionSubMenu .iconOption {
  color: #FFF;
  background: #19B8B4;
}

.disabledActiveOptionSubMenu .iconOption {
  color: #19B8B4;
  background: #FFF;
}






.optionMenu {
  display: block;
  padding: 10px;
}

.optionMenu:hover{
  font-weight: bold;
  background: #F7F7F7;
}

.activeOptionMenu {
  font-weight: bold;
  background: #F7F7F7;
  border-left: 3px solid var(--second-main-color) !important;
}

.activeOptionMenu .iconOption {
  color: #FFF;
  background: var(--second-main-color);
}

.disabledActiveOptionMenu .iconOption {
  color: var(--second-main-color);
  background: #FFF;
}

.iconOption {
  padding: 8px;
  margin-right: 5px;
  border: 1px solid var(--second-main-color);
}

/** Citas y turnos **/
.consulting-icon-search {
  color: #c7c7c7;
}

.container-appointments {
/*  max-height: 585px;*/
  overflow: hidden;
  padding-right: 5px;
}

.container-appointments .bs-callout{
  /*width: 725px !important;*/
}

.container-appointments::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.container-appointments::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.container-appointments::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 2px solid slategrey;
}

#consultHistory .titleHeader{
  font-size: 13px !important;
  line-height: 18px;
}

#consultHistory ul{
  padding-left: 17px!important;
}

#consultHistory ul li{
  line-height: 19px;
  padding-left: 0px;
  font-size: 14px;
  text-align: justify;
}

#caredPatients .list-group-item {
  padding: 8px 8px !important;
}

#toAttendPatients .list-group-item {
  padding: 8px 8px !important;
}


/** HEADER CONSULTA **/
#headerId .titleHeader {
  font-size: 13px !important;
}

#headerId .profileImage {
  width: 105px;
  height: 105px;
  border-radius: 50%;
}

#headerId .primaryText {
  font-size: 12px;
}

#headerId .secundaryText {
  margin-bottom: 5px;
}

.titleHeader {
  font-weight: bold;
  display: block;
  font-size: larger;
  line-height: 18px;
}

.titleHTMLContent {
  display: block;
  line-height: 20px;
}

.primaryText {
  display: block;
  font-size: larger;
}

.secundaryText {
  display: block;
  margin-bottom: 10px;
}

.iconHeader {
  display: block;
  margin-bottom: 10px;
  /*text-align: right;*/
  font-size: 30px;
}


/** MODULO DE SOMATOMETRIA **/

.header-soma {
  border-bottom: 1px solid rgb(200,200,200);
  height: 35px;
  margin-bottom: 15px;
}

.header-healthPromotion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(200,200,200);
  height: 35px;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.validation-section {
  min-height: 112px;
  max-height: 160px;
  border: 1px solid #d3d3d3;
  padding: 10px;
  overflow: auto;
}

.validation-section p {
  font-size: 14px;
}

.space-20 {
  height: 20px;
  margin: 20px 0px;
}

.space-10 {
  height: 10px;
  margin: 10px 0px;
}

#nutritionalState .ui-select-match-text {
  overflow: hidden;
}

.nutritional-indicator {
  height: 20px;
  width: 20px;
  background: #fff;
  position: relative;
  top: 32px !important;
  border-radius: 13px;
  border: 0.5px solid #f9f3f3d9;
}

.validation-section::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.validation-section::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.validation-section::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 2px solid slategrey;
}

/** MODULO DE CITAS Y TURNOS **/

.listActive{
  background: #F3F3F3;
}

.appointmentHeader {
  border-bottom: 1px solid lightgray;
  position: relative;
}

.appointmentCount {
  position: absolute;
  right: 0;
  font-weight: bold;
}

.customSizePanel {
  min-height: 200px;
  max-height: 340px;
}

.customSizeList{
  max-height: 300px;
  overflow-y: auto;
}

.customItem {
  border: #000;
  cursor: pointer;
}

.itemTitle{
  color: var(--first-main-color) !important;
  font-weight: bold;
  font-size: 16px;
}

.container-appointment-custom {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.container-appointment-custom-content,
.container-appointment-custom-content-actions {
  width: 100%;
}

.container-appointment-custom-content-actions {
  display: flex;
  flex-direction: column;
  align-items: end;
  /* justify-content: space-between; */
}

/** Nota medica **/

.custom-cell {
  border: 1px solid #F3F3F3;
  padding-left: 3px;
  padding-right: 3px;
}

/*************** Estilos vista internamiento **********/

#view-internment .header-title {
  border-bottom: 1px solid rgb(200,200,200);
  height: 30px;
  margin-bottom: 15px;
}

#view-internment .header-title-icon {
  position: relative;
  top: -29px;
}

#view-internment textarea {
    resize: none;
}

/*************** Fin estilos vista internamiento ****************/

/*************** Estilos vista intervención quirurgica **********/

#view-internvention .header-title {
  border-bottom: 1px solid rgb(200,200,200);
  height: 30px;
  margin-bottom: 15px;
}

#view-internvention .header-title-icon {
  position: relative;
  top: -29px;
}

#view-internvention textarea {
    resize: none;
}

#view-internvention .opacity-none {
  opacity: 0;
}
/*************** Fin estilos vista intervención quirurgica **********/

.custom-scroll-consulting::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.custom-scroll-consulting::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.custom-scroll-consulting::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 2px solid slategrey;
}

/*************** Salud del niño  *************/

.header-consulting {
  border-bottom: 1px solid rgb(200,200,200);
  height: 35px;
  margin-bottom: 15px;
}

.f-s-14 {
  font-size: 14px !important;
}
