.bg-gray-light {
    background-color: var(--cx-gray-light);
}

.ScheduleProgTable .nav-link.active {
    background-color: var(--cx-gray-lighter);
    color: var(--cx-dark);
    border: 1px solid !important;
    border-color: var(--cx-gray-medium) !important;
    border-bottom: 0 !important;
}

.mb-n1 {
    margin-bottom: -1px;
}


#ScheduleContainer {
    overflow: hidden;
}

#Schedule {
    border: 1px solid var(--cx-border-color);
    width: 100%;
}

/* .ScheduleRow,.ScheduleCol { z-index: 1; } */

.Appoint {
    width: 100%;
    list-style-type: none;
    border-bottom: 0;
    height: 50px;
}

.FittingSibling {
    width: 90%;
}

.AppointCol {
    height: 50px;
    text-align: left;
}



.ScheduleDay .ScheduleRow {
    border: 1px solid var(--cx-border-color);
    border-bottom: 0;
}

.ScheduleDay .ScheduleRow:hover,
.ScheduleDay .ScheduleRow .Appoint:hover {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;
}

.ScheduleDay .AppointCol.AppointHour {
    border-right: 1px solid var(--cx-border-color);
}

.ScheduleRow.Blocked.Interval .AppointHour {
    opacity: 0;
}


.AppointCol.AppointHour {
    width: 48px;
    min-width: 48px;
    font-size: 14px;
    text-align: center;
}

.AppointDescription {
    text-align: left;
}

.AppointPatientPhoto {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border-radius: 100%;
}

.AppointPatientName {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    padding: 7px 0;
    font-size: 18px;
    overflow: hidden;
    z-index: 2;
    /* white-space: nowrap; */
    line-height: 28px;
    float: none;
    text-overflow: ellipsis;
    width: calc(100% - 100px);
}


.WithIcon .AppointPatientName {
    width: calc(100% - 62px - 32px);
}

.isTouch .AppointPatientName {
    width: calc(100% - 62px - 83px);
}

.DragAnchorPlaceholder {
    display: none;
}

.isTouch .DragAnchorPlaceholder {
    display: block;
}

.ui-draggable-helper .AgendaMedIcon {
    display: none;
}


.ScheduleDay .AppointCol.AppointInsurance,
.ScheduleDay .AppointCol.AppointType,
.ScheduleDay .AppointCol.AppointStatus,
.ScheduleDay .AppointCol.AppointValue {
    white-space: nowrap;
}

.ScheduleDay .Appoint,
.ScheduleDay .SlotType {
    flex-direction: row;
    display: flex;
}

.ScheduleDay .AppointCol {
    flex: 1;
}

.AppointIcon {
    max-width: 48px;
    padding: 0 !important;
}

.ScheduleDay .AppointCol.AppointDescription {
    flex-grow: 8;
}

.ScheduleDay .AppointCol.AppointInsurance,
.ScheduleDay .AppointCol.AppointType,
.ScheduleDay .AppointCol.AppointStatus,
.ScheduleDay .AppointCol.AppointValue {
    display: none;
}


.ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
    padding: 0;
    /* width: 38px; */
    /* float: none; */
    display: inline-block;
    vertical-align: middle;
}

/* 
.AppointInfoHeader .AppointWhatsapp.AppointCol { display: none; } */

.AppointContainer:not(.Blocked),
.Appoint {
    cursor: pointer;
}

.ReadOnly .AppointContainer.Free {
    cursor: auto;
    pointer-events: none;
}

.AppointContainer,
.AppointInfoHeader {
    /* width: calc(100% - 115px);  */
    /* float: left; */
    /* width: 100%; */
    margin: 0;
}

.ScheduleDay .AppointInfoHeader {
    flex-direction: row;
    display: flex;
}

/* .AppointInfoHeader .AppointCol,
.AppointContainer .AppointCol { */

.ScheduleDay .AppointInfoHeader .AppointCol,
.ScheduleDay .AppointContainer .AppointCol {
    /* float: left;
    width: 16%; */
    height: 50px;
    line-height: 28px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

thead .AppointCol,
th.AppointCol,
.AppointInfoHeader .AppointCol {
    text-align: center;
    /* border-left: 1px solid var(--cx-border-color); */
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    color: var(--cx-color-body-tertiary);
}

#ScheduleChoose {
    background-color: var(--cx-primary);
    color: var(--cx-white);
    text-transform: uppercase;
    background-image: url(../../imgs/down-24-w.svg) !important;
    max-width: 280px;
}

.SelectContainer.ScheduleChooseContainer:before {
    background-image: url(../../imgs/down-24-w.svg);
    background-color: var(--cx-primary);
}

.AppointInfoHeader {
    padding: 0;
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
}

.ScheduleDay .AppointContainer .AppointCol.AppointValue {
    text-align: right;
    /* padding-right: 2%; */
}

.ScheduleDay .Appoint {
    position: relative;
    height: 50px;
}

.ScheduleDay .FittingText {
    display: none;
}

.ScheduleDay .Fitting .FittingText {
    display: block;
}

.ScheduleDay .Present.Fitting .FittingText {
    color: var(--cx-color-body);
}


.CurrentSlot {
    opacity: 0.6;
}

.ScheduleCol.Blocked {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    color: var(--cx-color-body-tertiary);
}

.ScheduleCol.Past .AppointHour {
    color: var(--cx-color-body-tertiary);
}

.ScheduleWeek .ScheduleCol.Present {
    box-shadow: inset -1px -1px var(--cx-primary), inset 1px 1px var(--cx-primary);
}

.ScheduleDay .ScheduleRow.Present {
    border: 1px solid var(--cx-primary);
}

.ScheduleDay .ScheduleRow.Present .AppointHour {
    background-color: var(--cx-primary);
    border-right: 1px solid var(--cx-primary);
    position: relative;
    color: #FFF;
}

.InsertAppointTooltip {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    color: var(--cx-color-body-tertiary);

    display: none;

    font-size: 10px;

}


.ScheduleRow.AuxRow {
    display: none;
}

.Appoint.ui-draggable-dragging {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-height: 70px;
    transform: scale(1.01);
    opacity: 1 !important;
}

/* .ScheduleChooseContainer,.ScheduleDateContainer,.ScheduleTypeContainer {
    float: left;
} */

.ScheduleChooseContainer {
    /* width: calc(100% - 104px); */
    margin-right: 10px;
    min-height: 1px;
}

/* 
.ScheduleTypeContainer {
    width: 94px;
    margin-top: 2px;
    min-height: 1px;
} */

.NearNextW {
    margin-right: 0;
}

.ScheduleDateContainer {
    /* width: 100%; */
    min-height: 1px;
}


/* 
#SchedulePrev,#ScheduleNext,.ScheduleTitle {
    margin: 0 5px auto;
    display: inline-block;
    vertical-align: middle;
} */

.ReadOnly input.ScheduleTitle {
    pointer-events: all !important;
    cursor: pointer !important;
}

/* .ScheduleHeader {
    text-align: center;
    float: left;
    width: 100%;
} */

#ScheduleHeaderForm .ScheduleTitle {
    /* width: 75%; */
    border: 0;
    outline: 0;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    color: var(--cx-primary);;
    font-weight: bold;

    max-width: 360px;
}

#ScheduleHeaderForm #ScheduleWeekTitle.ScheduleTitle {
    width: 30%;
}

/* #SchedulePrev,#ScheduleNext {
    cursor: pointer;
    width: 24px;
    height: 24px;
    margin: 0;
} */

.AppointHour,
.AppointContainer {
    position: relative;
}

.FittingTag {
    position: absolute;
    background-color: var(--cx-primary);
    border: 1px solid var(--cx-border-color);
    color: var(--cx-white);
    top: -16px;
    text-align: center;
    left: -1px;
    width: 75px;
    padding: 4px 5px;
    z-index: 4;
    height: 32px;
    line-height: 22px;
    cursor: pointer;
    opacity: 0;
}

.FittingTag:hover {
    opacity: 1;
}

.FittingTag:hover:after,
.FittingTag.shepherd-target:after {
    left: 99.5%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-left-color: var(--cx-primary);
    border-width: 15px;
    margin-top: -15px;
}

.FittingTag:hover:before,
.FittingTag.shepherd-target:before {
    left: 99.5%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-left-color: var(--cx-border-color);
    border-width: 16px;
    margin-top: -16px;
}

.OpenedNewSchedulePanel #NewSchedulePanel {
    transform: translateX(0);
}


.Appoint .OpenWhatsappPanel,
.Appoint .OpenTeleconsultaPanel {
    display: none;
}

.Appoint .OpenTeleconsultaPanel {
    height: 50px;
}

.Appoint[data-tele="1"] .OpenTeleconsultaPanel {
    display: block;
}


.OpenedContactsPanel #ContactsPanel {
    transform: translateX(0);
}

/* #AppointsContainer { min-height: 500px; } */

.AppointOnlyPatient {
    display: flex;
}

.AppointOnlyNotPatient {
    display: none;
}

.ShowAppointOnlyNotPatient .AppointOnlyPatient {
    display: none;
}

.ShowAppointOnlyNotPatient .AppointOnlyNotPatient {
    display: flex;
}

.PatientSearchBlockEmpty,
.MedicationSearchBlockEmpty {
    cursor: pointer;
}

.SearchAppointPart {
    cursor: pointer;
}

#TotalDay {
    display: none
}

#DayNoteContainer {
    display: none;
}

#DayNoteContainer label {
    font-size: 20px;
    color: rgb(159, 165, 184);
}

#DayNoteContainer textarea {
    min-height: 100px;
}

#MarkOffAppoint {
    display: none;
}

/* #AppointIcons { margin: 10px; } */
#OpenWA,
#OpenProfile {
    display: none;
}

.SchedulePlaceholder {
    min-height: 60vh;
    background-color: #FFF;
    opacity: 0.8;
}

.SchedulePatientNameBox {
    position: relative;
}

.SchedulePatientNameBox #SchedulePatientIcons {
    position: absolute;
    top: 22px;
    right: 2px;
    height: 41px;
    z-index: 9;
    background: var(--cx-primary);
    border-radius: 0 5px 5px 0;
}

.SchedulePatientNameBox #SchedulePatientIcons .Icon {
    padding: 20px;
}

#ScheduleConfigContainer,
#ConfigSchedulePageTitle {
    display: none;
}

.OpenedScheduleConfig #ScheduleConfigContainer,
.OpenedScheduleConfig #ConfigSchedulePageTitle {
    display: block;
}

.OpenedScheduleConfig #ScheduleContainer,
.OpenedScheduleConfig #SchedulePageTitle {
    display: none;
}

.ConfigHeader .UpM {
    transition: all .3s ease;
}

.OpenedScheduleConfig .ConfigHeader .UpM {
    transform: rotate(180deg);
}

.ColorList {
    padding: 10px;
    margin: 0;
    list-style-type: none;
    column-count: 1;
}

.ColorItem {
    padding: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.simplecolorpicker.icon,
.simplecolorpicker span.color {
    border-radius: 100%;
    width: 20px;
    height: 20px;
}


.ShowSchedule .simplecolorpicker.icon,
.ShowSchedule .simplecolorpicker span.color {
    border: 1px solid var(--cx-border-color);
    border-radius: 100%;
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

.AppointColIcon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 5px;
    border-radius: 100%;
}

.AppointStatus .AppointColIcon {
    margin-right: 0;
}

.ShowSchedule .simplecolorpicker.picker {
    min-width: 132px;
    max-width: 132px;
}

.StatusIcon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

/* .ScheduleProgCol {
    width: 14.28%;
    height: auto;
    padding: 0;
    float: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
} */

.ScheduleProgTooltip {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    color: var(--cx-color-body-tertiary);
    display: none;
    white-space: normal;
}

.ScheduleProgPlaceholder:hover .ScheduleProgTooltip {
    display: flex;
}




.ConfigTable,
.ConfigRow {
    float: left;
    width: 100%;
}

.ConfigRow.ConfigHeader {
    background-color: var(--cx-tertiary-bg);
    padding: 12px;
    font-size: 22px;
    color: var(--cx-primary);
    cursor: pointer;
    border-bottom: 1px solid var(--cx-border-color);
}

.ConfigRow .ConfigTableHeader {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    color: var(--cx-color-body-tertiary);
}

.ConfigBody {
    display: none;
}

.OpenedConfig .ConfigBody {
    display: block;
}

.ConfigHeader .UpG {
    transition: .3s ease;
}

.OpenedConfig .UpG {
    transform: rotate(180deg);
}


.ConfigColHeader {
    padding: 10px;
    text-align: center;
}

/* 
.ScheduleProg {
    float: left;
    width: 100%;
    height: 48px;
    border-bottom: 1px solid var(--cx-border-color);
} */

.ScheduleProgPlaceholder {
    cursor: pointer;
    position: relative;
}

.ScheduleProg:last-child {
    border-bottom: 0;
}

/* .ScheduleProgHour,.ScheduleProgClassification { float: left; }
.ScheduleProgHour { width: 60px; } */

.ScheduleProgInput {
    width: 100% !important;
    border: 0 !important;
    /* text-align: center; */
}

/* .ScheduleProgClassification {
    width: calc(100% - 61px);
} */

.ScheduleProgClassificationInput {
    border-radius: 0;
}

#ManageScheduleProgContainer {
    margin-bottom: 20px;
}

#ManageScheduleProgContainer.OpenManageSchedule {
    border: 1px solid var(--cx-border-color);
    padding: 20px;
}

/* #ManageScheduleProgForm,
#ManageScheduleProgButtonsOpened  {
    display: none;
} */

.OpenManageSchedule #ManageScheduleProgForm,
.OpenManageSchedule #ManageScheduleProgButtonsOpened {
    display: block;
}

.OpenManageSchedule #ManageScheduleProgButtonsClosed {
    display: none;
}

.ScheduleConfigLabel {
    /* height: 46px;
    line-height: 48px; */

    height: 36px;
    line-height: 36px;
}

.ScheduleConfigBox .HourInput {
    width: 80px;
}

.ScheduleConfigBox .IFRepeat {
    display: none;
}

.border.ScheduleProgTable {
    overflow: hidden;
}

/* 
.AppointPatientCard {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    border-radius: 4px;
    border: 1px solid #c0c5d1;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
} */

/* .AppointPatientCardName {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.AppointPatientCardName {
    user-select: all;
}

.AppointPatientCardPhoto {
    height: 48px;
    width: 48px;
    /* margin-right: 5px;
    float: left; */
}

/* .AppointPatientCardInfo {
    height: 48px;
    margin-bottom: 5px;
} */

/* .AppointPatientCardAppoint {
    width: 100%;
    float: left;
    margin-top: 5px;
} */


/* .AppointPatientCardTitle {
    width: 100%;
    float: left;
    margin-bottom: 5px;
    color: var(--cx-color-body-tertiary);
} */

/* .AppointPatientCardTime,
.AppointPatientCardType,
.AppointPatientCardStatus {
    width: 50%;
    float: left;
    padding: 10px;
    background-color: #FFF;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
} */

/* .AppointPatientCardTime {
    width: 100%;
    margin-bottom: 1px;
}

.AppointPatientCardType {
    border-left: 0;
}
.AppointPatientCardStatus {
    border-left: 1px solid #F3F3F5;
}

.AppointPatientCardTypeIcon, .AppointPatientCardStatusIcon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 5px;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
} */

.AppointNoPatient {
    padding: 8px 0;
    line-height: 28px;
    overflow: hidden;
    height: 40px;
    font-size: 18px;
}


.InputSwitcher {
    width: 100%;
    min-width: 170px;
    border-radius: .25rem;
    overflow: hidden;
    height: 38px;
    display: none;
}

.InputSwitcher.InputSwitcherPatient {
    min-width: 30px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.InputSwitcher.InputSwitcherMode {
    min-width: 250px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.ShowTeleconsulta {
    display: none;
}

.SwitcherItem {
    width: 50%;
    float: left;
    height: 38px;
}

.SwitcherItemLabel {
    width: 100%;
    border-radius: 0 !important;
}

.ScheduleTypeContainer .InputSwitcher {
    width: 200px;
}

.ScheduleTypeContainer .SwitcherItemLabel {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

.SwitcherItemRadio:checked~.SwitcherItemLabel {
    background: var(--cx-primary) !important;
    color: var(--cx-white) !important;
    opacity: 1 !important;
}

.SwitcherItem:first-child {
    border-right: 1px solid var(--cx-border-color);
}

.AppointInfo {
    position: relative;
}

.Appoint.Past .AppointInfo {
    opacity: 0.6;
}


/*********************  PROG ********************/

.ScheduleProgWeekDay~label {
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 14px;
    border-radius: 100%;
    color: #FFF;
    transition: all .2s ease;

    background-color: #E9EAEE;
}

.ScheduleProgWeekDay:checked~label {
    background-color: var(--cx-primary);
    color: var(--cx-white) !important;
}

/*********************  DIA *********************/


/********************  SEMANA *******************/

.FixedScheduleDays {
    position: fixed;
    top: 60px;
    opacity: 1;
    z-index: 491;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

#ScheduleWeekHeader {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
}

.ScheduleWeek .AppointInfoHeader .AppointCol {
    width: 100%;
    display: block;
    overflow: hidden;
}

.ScheduleWeek .AppointInfoHeader .AppointCol {
    font-size: 14px;
}

.ScheduleWeek .ScheduleCol.Today {
    background-color: rgba(var(--cx-warning-rgb), 0.075); 
}

.ScheduleWeek .ScheduleCol.Today.Blocked {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    color: var(--cx-color-body-tertiary);
}

.ScheduleWeek #ShowDayNoteIcon {
    display: none;
}

.ScheduleWeek .FittingTag {
    left: -5px;
}

.ScheduleWeek .ui-datepicker-calendar tr:hover,
.ScheduleWeek .ui-datepicker-calendar tr:hover a {
    background-color: var(--cx-color-body-tertiary);
    color: var(--cx-secondary);
}

#ui-datepicker-div {
    padding: 0;
}

.ui-widget.ui-widget-content {
    border: 1px solid var(--cx-border-color);
}

.ui-datepicker table {
    width: 96%;
    margin: 0 auto;
}

.ui-datepicker-header {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--cx-border-color);
}

select.ui-datepicker-month,
select.ui-datepicker-year {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;;
    padding: 0;
    border: 0;
    height: 24px;
}

.OpenedNewBlockPanel select.ui-datepicker-month,
.OpenedNewBlockPanel select.ui-datepicker-year {

    height: 32px;
}

.OpenedNewBlockPanel .ui-datepicker .ui-datepicker-prev,
.OpenedNewBlockPanel .ui-datepicker .ui-datepicker-prev:hover,
.OpenedNewBlockPanel .ui-datepicker .ui-datepicker-next,
.OpenedNewBlockPanel .ui-datepicker .ui-datepicker-next:hover {
    top: 6px;
}

.ui-widget-header .ui-icon.ui-icon-circle-triangle-w,
.ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
    background-image: url(../../imgs/prev2-24-m.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
    transform: rotate(180deg);
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid var(--cx-border-color);
    font-weight: normal;
    opacity: 1;
}

a.ui-state-default.ui-state-hover {
    background-color: var(--cx-primary);
    border: 0;
    color: var(--cx-white);
}

.ui-widget-content {
    border: 0;
    margin: 0;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    min-width: 120px;
    height: 42px;
}

.ScheduleWeek .ScheduleRow {
    border: 1px solid var(--cx-border-color);
    height: 50px;
}

/* .ScheduleWeek tr:last-child { display: none; } */

.ScheduleWeek .ScheduleCol {
    padding: 3px;
    height: 50px;
}

.ScheduleWeek .ScheduleCol:not(.Present) {
    border: 1px solid var(--cx-border-color);
}

.ScheduleWeek .ScheduleCol {
    position: relative;
    width: 10%;
}

.ScheduleWeek .ScheduleCol.AppointHour {
    width: 1%;
    text-align: center;
}

.ScheduleWeek .ScheduleCol.Free:hover .InsertAppointTooltip {
    display: block;
    display: flex;
}

.ReadOnly .ScheduleWeek .ScheduleCol.Free {
    cursor: auto;
    pointer-events: none;
}

.ReadOnly .ScheduleWeek .ScheduleCol.Free:hover .InsertAppointTooltip {
    display: none;
}

.ScheduleWeek .ScheduleCol.Past {
    opacity: 0.7;
}

.ScheduleWeek .Appoint {
    text-align: left;
    color: var(--cx-body-color);
    height: auto;
    padding: 5px;
    z-index: 1;
    min-height: 50px;
    border-radius: .25rem;
}

.ScheduleWeek .Appoint~.Appoint {
    margin-top: 1px;
}

.ScheduleWeek .Appoint.InnerFitting {
    position: absolute !important;
    width: 93%;
    left: 4%;
    right: 3%;
    border: 1px solid #FFF;
    z-index: 2;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background: var(--cx-primary);
    color: var(--cx-white);
    border: 0;
}

.ScheduleWeek .Appoint .WeekAppointSubDescription,
.ScheduleWeek .Appoint .WeekAppointDescription {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    line-height: 20px;
    max-width: 90%;
}

.ScheduleWeek .WeekAppointDescription {
    font-size: 16px;
}

.ScheduleWeek .WeekAppointSubDescription {
    opacity: 0.6;
    font-size: 14px;
}

.ScheduleWeek .WeekAppointIcon {
    width: 16px;
    height: 16px;
    float: right;
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: center;
}

.ScheduleWeek .WeekAppointHour {
    display: none;
}

.ScheduleWeek .Fitting .WeekAppointHour {
    display: block;
    font-size: 12px;
    font-weight: 500;
}


.NextDayFree,
.NextDayToday {
    margin-right: 2px;
}

.FloatIcon.UndoLast {
    display: none;
    text-align: left;
    background-image: url(../../imgs/undo-24-w.png);
    background-position: center right 13px;
}

/* transition: width .5s ease, margin .4s ease;
    color: #E74C3C;
    font-size: 20px;
    padding: 11px 20px;
}

.FloatIcon.UndoLast.Waiting {
    width: 260px;
    margin-left: -200px;
    padding: 3px 22px;
    padding-right: 60px;
    border-radius: 30px;
    color: #FFF;
} */

.FloatIcon.UndoLast .UndoLabel {
    transition: width .5s ease;
    width: 50px;
    color: rgba(0, 0, 0, 0);
    position: absolute;
    border-radius: 50px;
    top: 0;
    right: 0;
    height: 50px;
    padding: 14px 20px 20px 20px;
    background-color: #E74C3C;
    background-image: url(../../imgs/undo-24-w.png);
    background-position: top 12px right 12px;
    background-repeat: no-repeat;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .875rem;
}

.FloatIcon.UndoLast.Waiting .UndoLabel {
    width: 240px;
    color: #FFF;
    display: block;
}


.OpenedNewBlockPanel #NewBlockPanel {
    transform: translateX(0);
}

.Default #ManageScheduleProgContainer .InputContainer .ScheduleProgWeekDay:checked~label {
    color: #FFF;
}

.ContactNameCol {
    width: 50%;
}

.ContactGroupCol {
    width: 20%;
}

.ContactPhoneCol {
    width: 30%;
}

#ContactRowsContainer,
#ScrapRowsContainer,
#ToDoRowsContainer {
    float: left;
    width: 100%;
    max-height: calc(49vh - 240px);
    /* min-height: 200px; */
    min-height: 42px;
    overflow: auto;
}


.ScrapNameCol,.ToDoNameCol { width: 35%;}
.ScrapSubjectCol,.ToDoSubjectCol { width: 25%;}
.ScrapPhoneCol,.TodoPhoneCol {width: 30%;}
.ScrapStatusCol,.TodoStatusCol {width: 10%;}


.ScrapRow:hover,
.ToDoRow:hover,
.ContactRow:hover {
    background-color: rgba(var(--cx-tertiary-bg-rgb), var(--cx-bg-opacity)) !important;
    cursor: pointer;
}

.ScrapRow:last-child,
.ToDoRow:last-child {
    border-bottom: 1px solid var(--cx-border-color);
}

.OpenedNewScrapPanel #NewScrapPanel {
    transform: translateX(0);
}

.OpenedNewToDoPanel #NewToDoPanel {
    transform: translateX(0);
}

.OpenedNewContactPanel #NewContactPanel {
    transform: translateX(0);
}

.OpenedTeleconsultaPanel #TeleconsultaPanel {
    transform: translateX(0);
}



#Schedule {
    overflow: hidden;
}

.ScheduleCol {
    position: relative;
}

/* .ScheduleRow:hover { background-color: rgba(243,243,245,0.8); }

.ScheduleWeek .ScheduleCol:hover:before {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 10000px;
    background-color: rgba(243,243,245,0.8);
    left: 0;
    top: -3000px;
    pointer-events: none;
    z-index: 5;
} */


.ui-draggable-helper {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ui-draggable-helper div {
    display: inline-block;
    vertical-align: middle;
    float: left;
}

.ui-draggable-helper .OpenWhatsappPanel,
.ui-draggable-helper .OpenTeleconsultaPanel {
    display: none !important;
}

.AppointDragAnchor {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 48px;
    background-image: url(../../imgs/move-24-m.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;

    display: none;
}

.isTouch .AppointDragAnchor {
    display: block;
}

.isTouch .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
    margin-right: 42px;
}

.AppointWithPatient .AppointOnlyPatient,
.AppointWithNoPatient .AppointOnlyNotPatient {
    display: flex;
}

.AppointWithPatient .AppointOnlyNotPatient,
.AppointWithNoPatient .AppointOnlyPatient {
    display: none;
}

.weekLabelFull,
.weekLabelShort {
    display: none;
}

.weekLabelTiny {
    display: block;
}

.ScheduleWeek .AgendaMed .WeekAppointDescription {
    padding-left: 16px;
    position: relative;
}

.ScheduleWeek .AgendaMed .WeekAppointDescription:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    height: 16px;
    width: 16px;
    background-position: center;
    background-size: 16px;
    background-repeat: no-repeat;
    background-image: url(../../imgs/agendamed-24-p.svg);
}



@media (min-width: 400px) {
    /* .AppointPatientCardTime,
    .AppointPatientCardType,
    .AppointPatientCardStatus {

        font-size: 16px;
    } */

    .weekLabelFull,
    .weekLabelTiny {
        display: none;
    }

    .weekLabelShort {
        display: block;
    }
}

@media (min-width: 648px) {

    .weekLabelShort,
    .weekLabelTiny {
        display: none;
    }

    .weekLabelFull {
        display: block;
    }
}

@media (min-width: 723px) {

    .AppointPatientCardType {
        border-left: 1px solid #F3F3F5;
    }


    .ScheduleDay .AppointContainer .AppointCol.AppointType,
    .ScheduleDay .AppointContainer .AppointCol.AppointStatus {
        width: 35px;
        display: inline-block;
    }

    .AppointCol.AppointHour {
        width: 60px;
    }

    .ScheduleWeek .AppointInfoHeader .AppointCol {
        padding: 17px 2px;
        font-size: 14px;
    }

}

@media (min-width: 968px) {
    .ScheduleWeek .AppointInfoHeader .AppointCol {
        padding: 15px 2px;
        font-size: 15px;
    }

    .ScheduleDay .AppointCol.AppointDescription {
        flex-grow: 3;   
    }
}




@media (min-width: 1100px) {

    .InsertAppointTooltip {
        font-size: 12px;
    }

    .ScheduleChooseContainer {
        margin-right: 0;
    }

    .ColorList {
        column-count: 4;
    }


    .AppointHour {
        font-size: 16px;
        min-width: 80px;
        width: 80px;
    }

    .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {

        margin-top: -3px;
    }


    .ScheduleDay .AppointCol.AppointInsurance,
    .ScheduleDay .AppointCol.AppointType,
    .ScheduleDay .AppointCol.AppointStatus,
    .ScheduleDay .AppointCol.AppointValue,
    .ScheduleDay .AppointCol.AppointWhatsapp {
        display: block;
        /* float: left; */
    }

    .ScheduleDay .AppointInfoHeader .AppointCol.AppointWhatsapp,
    .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
        /* width: 6%; */
        margin-top: 0;
    }

    /* 
    .Mobile .ScheduleDay .AppointInfoHeader .AppointCol.AppointWhatsapp, 
    .Mobile .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
        width: 6%;
    } */

    /* 
    .ScheduleChooseContainer,
    .ScheduleTypeContainer {
        width: 24%;
    }

    .ScheduleDateContainer  {
        width: 52%;
    } */

    #ScheduleHeaderForm .ScheduleTitle {
        /* width: calc(100% - 115px); */
        font-size: 18px;
    }

    /* #SchedulePrev,#ScheduleNext {
        width: 42px;
        height: 42px;
        margin: 0 5px auto;
    } */

    .NextDayFree,
    .NextDayToday {
        margin-right: 5px;
    }



    .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
        margin-right: 0;
    }

    .AppointCol.AppointHour {
        width: 80px;
    }


}

@media (min-width: 1280px) {

    .InsertAppointTooltip {
        font-size: 13px;
    }

    .InputSwitcher {
        display: block;
        max-width: 170px;
    }


    .ScheduleWeek .AppointInfoHeader .AppointCol {
        font-size: 15px;
    }


}

@media (min-width: 1360px) {

    .InsertAppointTooltip {
        font-size: 13px;
    }

    .InputSwitcher {
        display: block;
        max-width: 170px;
    }

    .ScheduleWeek .AppointInfoHeader .AppointCol {
        font-size: 16px;
    }

    .ScheduleDay .AppointCol.AppointDescription {
        flex-grow: 2;
    }
}

@media (min-width: 1600px) {

    .InsertAppointTooltip {
        font-size: 14px;
    }

    /* .ScheduleChooseContainer,
    .ScheduleTypeContainer {
        width: 20%;
    }

    .ScheduleDateContainer  {
        width: 60%;
    } */

    /* .ScheduleDay .AppointInfoHeader .AppointCol.AppointWhatsapp, 
    .ScheduleDay .AppointContainer .AppointCol.AppointWhatsapp {
        width: 3.5%;
    } */

    /* #ScheduleHeaderForm .ScheduleTitle { */
    /* width: 50%; */
    /* margin: 0 5px auto; */
    /* } */

    /* .InputSwitcher { max-width: 180px; } */

    .NextDayFree,
    .NextDayToday {
        margin-right: 10px;
    }
}
