/* CUSTOM GLOBAL STYLE DASHBOARD */
@keyframes ps_spin {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

@media (max-width: 667px){
  .d-xs-none {
    display: none !important;
  }
  .hiddenOnMobile{
    display: none !important;
  }
  
}

@media (min-width: 667px){
  .d-md-inline{
    display: inline-block !important;
  }
}

/* body {
  overflow-x: hidden;
} */

.container-xxxl{max-width:97%;margin: auto;}

select[readonly] + .select2 {
  pointer-events: none;
  touch-action: none;
}

select[readonly] + .select2 .select2-selection,
select[readonly] {
  background: #eee;
  box-shadow: none;
}

select[readonly] + .select2 .select2-selection__arrow,
select[readonly] + .select2 .select2-selection__clear {
  display: none;
}

.jump2pg{
  position: absolute;
  bottom: 52px;
  left: 33%;
  transform: translateX(-33%);
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
}

.jump2pg input{
  width: 70px !important;
  padding: 3px 7px !important;
  font-size: .75em;
}

.jump2pg a{
  width: fit-content !important;
  padding: 4px 9px !important;
}

table.dataTable td.dt-control:before {
  content: '';
  background: url('../media/misc/details_open.png') no-repeat center center;
  border: none !important;
  cursor: pointer;
}
table.dataTable tr.dt-hasChild td.dt-control:before {
  background: url('../media/misc/details_close.png') no-repeat center center;
  border: none !important;
}

table.dataTable td.dt-control {
  content: '';
  background: url('../media/misc/details_open.png') no-repeat center center;
  border: none !important;
  cursor: pointer;
}
table.dataTable tr.dt-hasChild td.dt-control {
  background: url('../media/misc/details_close.png') no-repeat center center;
  border: none !important;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__display{
    margin-left: .9rem !important;
    font-size: .9rem !important;
}

.filterByYear{
  position: absolute;
  top: 15px;
  right: 30px;
  width: fit-content;
}

.select2-dropdown{
  background-color: #FFF !important;
}

.cpointer{
  cursor: pointer !important;
}

.radius-md{
  border-radius: 7px;
}

.move-top-1{
  transform: translateY(-.15rem) !important;
}

.move-top-2{
  transform: translateY(-.4rem) !important;
}

.move-top-3{
  transform: translateY(-.7rem) !important;
}

.shrink-3{
  transform: scale(0.75);
}

.pr-0{
  padding-right: 0 !important;
}

.pr-5{
  padding-right: 2rem !important;
}

.ml-0{
  margin-left: 0 !important;
}

.ml-n1{
  margin-left: -0.6rem;
}

.ml-3{
  margin-left: .75rem !important;
}

.mr-2{
  margin-right: .5rem !important;
}

.ml-5{
  margin-left: .75rem !important;
}

.ml-10{
  margin-left: 2.5rem !important;
}

.w-auto{
  width: unset !important;
}

.w-130px{
  width: 130px !important;
}

.w-180px{
  width: 180px !important;
}

.w-240px{
  width: 240px !important;
}

.w-300px{
  width: 300px !important;
}

.w-340px{
  width: 340px !important;
}

.inputIcon{
  position: absolute;
  top: 60%;
  right: 3px;
  transform: translateY(-60%);
}

.table-bordered tr{
  border-bottom: 1px solid #EEE !important;
}

.table-bordered td{
/*  padding: .75rem;*/
}

.table-section{
  padding: 1rem 1.5rem;
  border: 1px solid #DDD;
  border-radius: 7px;
}



.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw; 
  height: 450px; 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; 
  -webkit-mask-image: url('../media/patterns/header-bg.png');
  mask-image:         url('../media/patterns/header-bg.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: 100vw 450px;
  mask-size: 100vw 450px;
}



select[readonly] {
  opacity: .9;
  pointer-events: none;
  touch-action: none;
}

.noselect{
    -webkit-touch-callout: none;  /* iPhone OS, Safari */
    -webkit-user-select: none;    /* Chrome, Safari 3 */
    -khtml-user-select: none;     /* Safari 2 */
    -moz-user-select: none;       /* Firefox */
    -ms-user-select: none;        /* IE10+ */
    user-select: none !important; /* Possível implementação no futuro */
    cursor: default !important; 
}

.blocked{
    -webkit-touch-callout: none;  /* iPhone OS, Safari */
    -webkit-user-select: none;    /* Chrome, Safari 3 */
    -khtml-user-select: none;     /* Safari 2 */
    -moz-user-select: none;       /* Firefox */
    -ms-user-select: none;        /* IE10+ */
    user-select: none !important; /* Possível implementação no futuro */
    cursor: not-allowed !important;
    pointer-events: none !important;
}
  
.tools_separator{
  font-weight: 100;
  position: relative;
  color: #00000055;
}
.tools_separator:before{
  font-weight: 100;
  position: absolute;
  content: '|';
  color: #FFFFFF99;
  left: 1.2px;
}

.symbol:has(.avatarBadgeL),.symbol:has(.avatarBadgeR){
  position: relative !important;
}

.avatarBadgeL{
  bottom: -3px;
  left: -5px;
  color: var(--bs-active-success);
  position: absolute;
  transform: scale(.85);
}

.avatarBadgeR{
  bottom: -4px;
  right: -5px;
  color: var(--bs-danger);
  position: absolute;
  transform: scale(.85);
}

.avatar-circle.avatar-150px, .avatar-circle.avatar-150px img{
  height: 150px;
  width: 150px;
  object-fit: contain;
  border-radius: 50% !important;
}

.float-right{
  float: right;
}

@media (max-width: 768px) {
  #filter_dtContacts_CTT{
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    display: inline-flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
  }
  #filter_dtContacts_CTT input, #filter_dtContacts_CTT select, #filter_dtContacts_CTT .select2{
    width: 100% !important;
  }  
  #filter_dtContacts_CTT h5{
    display: none !important;
    padding-bottom: 1rem !important;
  }

  .two-columns div.row:not(.tchead) {
      width: 100% !important;
      display: inline-flex !important;
  }
  .col-xs-2 {
    flex: 0 0 auto;
    width: 16.66666667% !important;
  }

  .col-xs-4 {
    flex: 0 0 auto;
    width: 33.33333333% !important;
  }

  .col-xs-5 {
    flex: 0 0 auto;
    width: 41.66666667% !important;
  }

  .col-xs-6 {
    flex: 0 0 auto;
    width: 50% !important;
  }

  .col-xs-8 {
    flex: 0 0 auto;
    width: 66.66666666% !important;
  }

  .qfcontacts{
    margin-top: 1rem;
  }
  .show_hiddens{
    margin-top: .5rem;
    float: unset;
  }

  /*#modalComments, #modalNotes{
    width: 100% !important;
  }*/

}

/*#modalComments, #modalNotes{
  width: 550px;
}*/

.two-columns div.row:not(.tchead){
  width: 50%;
  display: inline-flex !important;
}

.card-toolbar .toolbar-item{
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}

.card-toolbar .toolbar-item select{
  padding-right: 2rem !important;
}

.card-toolbar .toolbar-item label{
  position: absolute;
  top: -15px;
  left: 5px;
  font-size: .75em;
  color: var(--bs-info);
}

#project_title{
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.loading #pstatusCTT, .loading #ustatusCTT{
  filter: blur(3px);
}

.loading:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../media/svg/files/loading.svg') no-repeat center center, #FFFFFFCC;
  border-radius: calc(0.475rem - 1px) calc(0.475rem - 1px) 0 0;
  z-index: 99;
}

.mini-select{
  font-size: .85em !important;
}

.fit-content{
  width: fit-content !important;
}

.w-290px{
  width: 290px;
}

.fs-lg{
  font-size: 3em !important;
}

.fs-xl{
  font-size: 7em !important;
}

.g-recaptcha{
  float: left;
  margin-bottom: -5%;
  transform: scale(.8) translateX(-12.3%) translateY(-24.5%);
}

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  margin: -115px 0 0 -30px !important;
  width: 302px !important;
  height: 76px !important;
  z-index: -999999;
  opacity: 0;
}

.toast {
  transform: translateY( -15vh );
}

.toast small{
  display: block !important;
  font-size: 0.85em !important;
}

.addLabel{
  display: none;
}
.editing .addLabel{
  display: flex;
}

.editing .addLabel a{
  cursor: pointer;
}

.editDetails input, .editDetails textarea, .editDetails select, .editDetails .select2, .editDetails .form-check, #btnUptDetails, #btnFUptDetails, #btnDiscardDetails, #btnFDiscardDetails{
  display: none;
}

.editDetails .form-check{
  font-size: .9em;
  text-align: left;
}
.editDetails .form-check input{
  transform: translateY(-6px) scale(.8);
}

.editing .resetPassword{
  display: none !important;
}

#uptDetailsForm:not(.editing) .hideEmpty{
  display: none !important;
}

#uptDetailsForm.editing .hideLabel{
  display: none !important;
}

.w-48{
  width: 48% !important;
}

.w-43{
  width: 43% !important;
}

.w-40{
  width: 40% !important;
}

.w-65{
  width: 65% !important;
}

.max-w-80{
  max-width: 80% !important;
}

.scroll-x-none{
  overflow-x: hidden !important;
}

@media (max-width: 667px){
  .w-sm-100{
    width: 100% !important;
  }  
}

.btn-change{
  background-color: var(--bs-primary);
  color: #FFF;
  border: 1px dashed #FFF !important;
  transition: .3s;
}

.btn-change:hover{
  color: var(--bs-primary);
  background-color: #FFF;
  transition: .5s;
}

.btn-change i{
  color: #FFF;
  transition: .3s;
}

.btn-change:hover i{
  color: var(--bs-primary);
  transition: .5s;
}

.animateIcon{
  margin: 5px;
  margin-top: 0;
  transition: .2s;
}
.animateIcon:hover{
  transform: scale(1.1);
  transition: .4s;
}
.animateIcon:active{
  font-weight: 900;
  transform: scale(1.4);
}

.messageFrame{
  padding: 3%;
  border: 1px solid #DDD;
  background-color: #FCFCFC;
  border-radius: 7px;
  box-shadow: inset -2px -1px 3px #00000022;
}

div.tox-fullscreen{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100vh !important;
}

.tox{
  z-index: 99999999999999 !important;
}

.tox-tinymce{
  height: 450px !important;
}

#noteForm .tox-tinymce, #commentForm .tox-tinymce, #formAgenda .tox-tinymce, .project_brief_row .tox.tox-tinymce{
  height: 200px !important;
  margin-bottom: 1rem;
}

#noteForm .tox-editor-header, #commentForm .tox-editor-header{
  padding: 0;
}

#noteForm .tox-editor-header button, #commentForm .tox-editor-header button{
  width: 26px;
  height: 18px;
}

#noteForm .tox-editor-header svg, #commentForm .tox-editor-header svg{
  transform: scale(.7);
}

#noteForm .tox-statusbar,#commentForm .tox-statusbar{
  display: none !important;
}

.tox-statusbar__branding{
  display: none !important;
}

.tox-menubar::before{
  content: 'Bossa Editor';
  font-size: 1em;
  position: absolute;
  right: 22px;
  top: 7px;
  margin: 6px;
  font-family: 'Calibri';
  font-weight: bold;
  color: var(--bs-primary);
}

.tox-dialog-wrap{
  z-index: 1400;
}

.object-fit-cover{
  object-fit: cover;
}

.object-fit-contain{
  object-fit: contain;
}

.table-dataTable .dataTables_length{
  font-size: 0.8em;
  width: 49% !important;
  display: inline-block !important;
}
.table-dataTable .dataTables_filter{
  font-size: 0.8em;
  width: 49% !important;
  display: inline-block !important;
}

.table-dataTable table th{
  font-size: .85em;
}

.table-dataTable table td{
  font-size: .85em;
}

.dt-layout-row .dt-info{
  font-size: .8em;
}

.table-dataTable .dtt_actions {
  display: flex;
  flex-wrap: nowrap;
}

.table-dataTable .dtt_actions i{
  padding: 0 3px; 
}

.table-dataTable .dtt_actions .fa-users{
  color: #0095E8;
}

.table-dataTable .dtt_actions .fa-edit{
  color: #5014D0;
}

.table-dataTable table tbody:not(:has(thead)) tr:hover:not(.details):not(.cdetails):not(.more-details),
.table-dataTable table tbody tr.dt-hasChild + tr{
  background-color: #AAAACC99 !important;
}

.table-dataTable table tbody tr.cdetails{
  border-bottom: none !important;
}

.table-dataTable table tbody tr.cdetails:nth-of-type(4n+1),
.table-dataTable table tbody tr.cdetails:nth-of-type(4n+1) + tr{
  background-color: #AAAACC44 !important;
}

.table-dataTable table tbody tr.cdetails input,
.table-dataTable table tbody tr.cdetails select,
.table-dataTable table tbody tr.more-details input,
.table-dataTable table tbody tr.more-details select{
  width: 110px;
  padding: 3px 7ps;
}

.table-dataTable table th, .table-dataTable table td{
  padding: 10px 12px !important;
/*  white-space: nowrap !important;*/
}

.table-dataTable thead tr, .table-dataTable tfoot tr{
  background-color: #1A47BC;
  color: #FFF;
}

a.toggle-vis{
  padding: 1px 7px;
  padding-top: 5px;
  border-bottom: 3px solid #0003;
  border-radius: 3px;
  cursor: pointer !important;
}

a.toggle-vis.tc_visible{
  border-color: #50CD89;
}

a.toggle-vis:not(.tc_visible){
  border-color: #F1416C;
}

table.qf-contacts {
  background-color: #FFF;
}

table.qf-contacts th, table.qf-contacts td{
  padding: 3px 5px;
  border-right: 1px dashed #77777717;
  border-bottom: 1px dashed #77777717;
}

table.qf-contacts thead tr th{
  background-color: #AAA !important;
  color: #000 !important;
  font-size: 1.1em;
  font-weight: bold !important;
  border-radius: 0 !important;
}

table.qf-contacts tbody tr{
  position: relative;
}

table.qf-contacts tbody tr td{
  font-size: .95em;
}

table.qf-contacts tbody tr td *{ 
  display: inline-block;
  white-space: nowrap;
}

table.qf-contacts tbody tr td i{
  font-size: .95em;
  padding-left: 3px;
}

table.qf-contacts tbody tr td i.fa-comments{
  color: var(--bs-warning);
  filter: brightness(.98);
  font-size: 1.1em;
}
table.qf-contacts tbody tr td .openComments{
  position: relative;
}
table.qf-contacts tbody tr td .count-comments{
  position: absolute;
  bottom: -7px;
  right: -12px;
  color: var(--bs-danger) !important;
  font-weight: bold;
  padding: 0 4px;
  min-width: 16.5px;
  border-radius: 100%;
  border: 1px solid var(--bs-danger);
  background-color: #FFF9;
}

table.qf-contacts tbody tr td i.fa-address-card{
  color: var(--bs-info);
  font-size: 1.1em;
}

table.qf-contacts tbody tr td i.fa-user-edit{
  color: var(--bs-primary);
}

.qf-contacts .deleteContact{
  position: absolute;
  bottom: -8px;
  left: -18px;
  opacity: .5;
  transition: all .3s ease-in-out;
}

.qf-contacts .deleteContact:hover{
  opacity: 1;
  transition: all .5s ease-in-out;
}



.fa-save.discard{  
  position: relative;
}
.fa-save.discard::after {
    content: "/";
    color: var(--bs-danger);
    position: absolute;
    top: -8px;
    left: 3px;
    font-size: 1.9em;
    transform: rotate(54deg);
}

#kt_td_picker_input{
  position: absolute;
  top: -9999%;
  left: -9999%;
}
#kt_td_picker_button:not(:has(#kt_td_picker_input:placeholder-shown)) i{
    color: #50cd89;
}
#kt_td_picker_button:has(#kt_td_picker_input:placeholder-shown) i{
    color: #a1a5b7;
}

.qfcontacts {
  position: relative;
  background-color: #FFFFFF88;
}

.qfcontacts #eventOverlay{
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
  background-color: #0059;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qfcontact {
  position: relative;
  width: 100%;
  border-bottom: 3px solid var(--bs-primary);
}

.qfcontacts .qfcontact .deleteContact{
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  width: fit-content;
}

.qfcontact .qfc_avatar{
  margin-left: 4px;
}

.qfcontact.editing .col-4.fix-fc{
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.qfcontact .qfc-label:has(.flex-contacts){
  height: 50%;
}

.qfcontact .flex-contacts{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  border-radius: 7px;
}

.qfcontact .flex-contacts .fc-item{
  position: relative;
  flex-grow: 1;
  align-items: center;
  transition: all 200ms ease-in-out;
}

.qfcontact .flex-contacts .fc-item:hover{
  flex-grow: 4;
  transition: all 400ms ease-in-out;
}

.qfcontact .flex-contacts .fc-item a{
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  padding: 3.5px 9px 0 9px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  white-space: nowrap;
}


.qfcontact .flex-contacts .fc-item .fc-label{
  white-space: nowrap;
}

.qfcontact .log-info i{
  opacity: .5;
}

.qfcontact .fa-comments{
  color: var(--bs-warning);
  filter: brightness(.98);
  font-size: 1.1em;
}

.qfcontact .openComments,
.openNotes{
  position: relative;
}

.count-notes{
  position: absolute;
  bottom: -6px;
  right: -6px;
  color: var(--bs-danger) !important;
  font-weight: bold;
  padding: 0 5px;
  min-width: 16.5px;
  border-radius: 100%;
  border: 1px solid var(--bs-danger);
  background-color: #FFFC;
}

.qfcontact .count-comments{
  position: absolute;
  bottom: -6px;
  right: -12px;
  color: var(--bs-danger) !important;
  font-weight: bold;
  padding: 0 5px;
  min-width: 16.5px;
  border-radius: 100%;
  border: 1px solid var(--bs-danger);
  background-color: #FFF9;
}

.qfcontact:not(.editing) .qfc-input,
.qfcontact.editing .qfc-label,
.qfcontact.editing .btnEditContact,
.qfcontact:not(.editing) .btnDiscardChanges,
.qfcontact:not(.editing) .btnSubmit{
  display: none !important;
}

.qfcontact.editing input,
.qfcontact.editing select {
  padding: 3px 10px;
  font-size: 11px;
  background-color: #FFF8;
  border-bottom: 1px solid var(--bs-primary);
}



/* RADIUS BORDER ON HEADERS */
.table-dataTable thead tr th:first-child{
  border-radius: 7px 0 0 0 ;
}
.table-dataTable thead tr th:last-child{
  border-radius: 0 7px 0 0 ;
}
.table-dataTable tfoot tr th:first-child{
  border-radius: 0 0 0 7px ;
}
.table-dataTable tfoot tr th:last-child{
  border-radius: 0 0 7px 0 ;
}

.table-dataTable tbody tr.details{
  background-color: #1A47BCEE;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  font-weight: 600 !important;
  color: #FFF;
  font-size: 1.1em;
}

.table-dataTable .hiddenColumn{
  display: none !important;
}

.bulk_pause_btn{
  cursor: pointer;
  padding: .2rem .7rem;
  font-size: .85rem;
  float: right;
  margin-top:  5px;
}

.table-dataTable:not(.showBulk) .bulk-control input{
  display: none !important;
}


.table-dataTable.showBulk .bulk-control input{
  /*float: right;*/
}

.table-dataTable.showBulk .bulk-control .thisID{
  white-space: nowrap;
  text-align: left;
  display: none !important;
}

.table-dataTable.showBulk .bulk-control{
  border: none !important;
}

label[for='dt-length-0']{
  display: none !important;
}

a[data-kt-indicator="on"], button[data-kt-indicator="on"]{
  cursor: wait;
  pointer-events: none;
}

#kt_content.maximize{
  position: absolute !important;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9;
}

/* SECONDARY CONTACTS */

  .secs{
    position: relative !important;
    border: 1px solid #EEEEFE;
    width: 100%;
    height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .sec{
    display: block;
    width: 100%;
    transition: .3s;
    font-size: .95em;
  }  
  .sec:hover{
    background-color: #EFEFFF77;
    transition: .4s;
  }
  .sec_id{
    text-align: right;
    display: inline-block;
    min-width: 13%;
  }
  .sec_status{
    float: none;
    margin-right: 15px;
    margin-top: 1px;
  }
  .sec .sec_controls{
    float: right;
  }
  .sec .sec_controls *{
    cursor: pointer !important;
  }
  .sec .sec_status, .sec .sec_id{
    font-size: .9em;
  }
  .fa-envelope{
      color: #FFB900;
  }
  .fa-whatsapp{
      color: #075E54;
  }
  .text-right{
    text-align: right !important;
  }
  .w-95{
    width: 95% !important;
  }
  .w-100 small{
    font-size: .7em;
    letter-spacing: .3px;
  }
  .sec_update, .sec_add{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF;
  }
  .su_controls.suc_top{
    width: 100.5% !important;
    position: absolute;
    top: 0;
    left: 0;
  }
  .su_controls.suc_bot{
    display: none;
    width: 106% !important;
    position: block;
    margin-left: -17px;
  }
  .su_controls.suc_bot .fa-soap{
    translate: lef
    ;
  }
  .su_controls *{
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin: auto;
    color: #FFF;
  }
  .su_controls .suc_update{
    margin-right: -5px !important;
    background-color: #198754DD;
    width: 40%;
    padding: 10px 0;
  }
  .su_controls .suc_update:after{
    content: 'UPDATE';
    margin-left: 10px;
    font-weight: bold;
  }
  .su_controls .suc_close{
    margin-right: -5px !important;
    background-color: #F9C107DD;
    width: 40%;
    padding: 10px 0;
  }
  .su_controls.suc_bot .suc_close{
    margin-right: -5px !important;
    background-color: #F9C107DD;
    width: 38.9%;
    padding: 10px 0;
  }
  .su_controls .suc_close:after{
    content: 'CLOSE';
    margin-left: 10px;
    font-weight: bold;
  }
  .su_controls .suc_delete{
    margin-right: -5px !important;
    background-color: #DC3545DD;
    width: 20%;
    padding: 10px 0;
  }
  .su_controls.suc_bot .suc_delete{
    margin-right: -5px !important;
    background-color: #DC3545DD;
    width: 19%;
    padding: 10px 0;
  }
  .su_controls .suc_delete:after{
    content: ' ';
    margin-left: -10px;
  }
  .su_controls .suc_add{
    background-color: #0D6EFDDD;
    width: 100.5%;
    padding: 10px 0;
  }
  .su_controls .suc_add:after{
    content: 'ADD NEW CONTACT';
    margin-left: 10px;
    font-weight: bold;
  }
  .su_controls .suc_submit{
    margin-right: -5px !important;
    background-color: #0D6EFDDD;
    width: 40%;
    padding: 10px 0;
  }
  .su_controls .suc_submit:after{
    content: 'SUBMIT';
    margin-left: 10px;
    font-weight: bold;
  }
  .su_controls .btn_suc:hover{
    filter: brightness(1.05);
  }


/* END SECONDARY CONTACTS */

/* IMPORT CONTACTS */
  #import_results, .draggable, .droppableContainer{
    transform: translateX(10px);
  }

  

  @media (max-width: 667px){
    #csv_fields{
      max-width: 85vw !important;
    }
    
  }

  @media (min-width: 667px){
    #csv_fields{
      max-width: 60vw !important;
    }
  }
    
  .draggable{
    cursor: move;
    text-align: center;
    display: inline-block;
    width: auto;
    padding: 5px 10px;
    margin: 4px;
    border-radius: 5px;
    background: #FFFF;
    box-shadow: -2px 2px 3px #22222222;
    border: 1px solid #00000011;
    border-top: 5px solid #0000FF33;
    font-size: 0.95em;
    z-index: 999;
    
  }

  .draggable:before{
    height: 10px; width: 20px;
    font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f256   ";
    margin-right: 7px;
  }
  .draggable:active:before{
    height: 10px; width: 20px;
    font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f255   ";
  }
  .draggable:hover:before{
    font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f255   ";
  }

  .draggable:hover{
    box-shadow: -4px 4px 4px #00000033;
    transition: 500ms;
  }

  .droppableContainer{
    display: flex;
    flex-wrap: wrap;  
    width: 100%;
    margin: 0;
  }

  .droppableHolder{
    width: 48.5% !important;
  }

  .droppableHolder:nth-child(odd){
    margin-right: 3%;
  }
/* END IMPORT CONTACTS */

.fixNewFormSubmit {
    position: absolute !important;
    right: 0 !important;
    bottom: -6rem !important;
}

/* SHOW THUMB ON HOVER  */

.thumbnailHover {
  position: relative;
  z-index: 0;
}

.thumbnailHover:hover {
  background-color: transparent;
  z-index: 50;
}

.thumbnailHover span {
  /*CSS for enlarged image*/
  position: absolute;
  background-color: #FAFAFA;
  padding: .75rem;
  left: -1000px;
  visibility: hidden;
  color: #a1a5b7;
  text-decoration: none;
  box-shadow: -2px 2px 3px #33333333;
  border-radius: 7px;
}

.thumbnailHover span img {
  /*CSS for enlarged image*/
  height: 150px;
  width: 150px;
  object-fit: contain;
  border-width: 0;
  padding-bottom: .3rem;
}

.thumbnailHover:hover span {
  /*CSS for enlarged image on hover*/
  visibility: visible;
  top: 0;
  left: 60px; /*position where enlarged image should offset horizontally */
}

/* NEW WIZARD STYLES */
.previewUpload {
  max-width: 99%;
  max-height: 280px;
  object-fit: contain;
  margin: auto;
  margin-bottom: 10px;
  box-shadow: -2px 2px 4px #33333333;
}


.form-check-input.lastMerge:checked{
  background-color: #3fa10f !important;
  border-color: #3fa10f !important;
}

/* QUICK SECS SESSION */
#sec_contacts{
  width: 100%;
  height: 170px;
  max-height: 175px !important;
  background-color: #FFF;
  border: 2px solid #EEF;
  border-radius: 5px;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 1;
}

/*#sec_contacts .controls{
  width: 100%;
  max-height: 20px;
  background-color: #009ef777;
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  vertical-align: middle;
  z-index: 2;
}*/
.sec_item .small{
  font-size: .7rem;
}
.sec_item{
  padding: .4rem;
  background-color: #FFF;
  box-shadow: 0 .1rem 1rem .25rem rgba(0,0,0,.05);
  transition: .3s;
}
.sec_item:hover{
  background-color: #EFEFFF;
  transition: .5s;
}

.sec_item i{
  cursor: pointer;
}

#sec_contacts .sec_form, #sec_contacts .sec_add_form{
  display: none;
}

.sec_item.empty{
  cursor: auto !important;
}

.sec_item div{
  overflow: hidden;
}

/* BUTTONS DATATABLE */
button.dt-button{
  color: #333;
  margin: 3px 3px 7px 0;
  border: 1px solid #999;
  border-radius: 3px;
  background-color: #FFF;  
  transition: .3s;
}

button.dt-button:hover{
  background-color: #EEE;
  transition: .5s;
}


/*PROGRESS BAR*/
 .progressBar input {
     display: none;
}
 .progressBar label {
     position: relative;
     display: block;
     width: 100%;
     height: 40px;
     background: transparent;
     border-radius: 0.4rem;
     border: 2px solid #CCC;
     overflow: hidden;
     box-shadow: -2px 0 8px 0 rgba(255, 255, 255, 0.6);
}
 .progressBar label div {
     position: absolute;
     top: 0;
     left: 0;
     background: linear-gradient(to bottom, #a3e2ef 35%, #4f9cc0);
     height: 100%;
     /*width: 0%;*/
     box-shadow: 0 0 8px 1px white inset;
}
 .progressBar label div:before {
     content: '';
     display: block;
     width: 100%;
     height: 100%;
     position: absolute;
     top: 0;
     left: 0;
     background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/172299/bubbles-mask.gif);
     mix-blend-mode: overlay;
     opacity: 0.5;
}

.progressBar{
    text-align: center;
}

.progressBar #feedLabel, .progressBar #feedProgress, .progressBar #getFails {
    display: inline-block;
    color: #4f9cc0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.2rem;
    margin-left: 5px;
}
.progressBar #getFails.d-none{
    display: none;
}
.progressBar #getFails{
    cursor: pointer;
    color: #f04759;
    float: right !important;
}

.progressBar #feedProgress::after{
    content: '%';
}

#feedLog{
  padding: .75rem 1rem;
  text-align: left;
  width: 99.65%;
  border: 0.5px solid #CCC;
  font-size: 0.9em;
  height: 300px;
  overflow: auto;
  margin-top: 15px;
  box-shadow: inset 2px -2px 3px #00000033;
}

#feedLog p{
    margin: 5px;
}

.yellow{
    color: #4C4C01 !important;
    font-size: 0.95em;
}

.green{
    color: #059C00 !important;
    font-size: 0.95em;
}

.red{
    color: #9C0002 !important;
    font-size: 0.95em;
}

/*EMAILS WITH ERROR*/
#emailsError.d-none{
    display: none;
}
#emailsError .form-group *{
    height: 17.5px;
    display: inline-block;
    vertical-align: middle;
    margin: auto;
}

#emailsError h4{
    margin: 7px 15px !important;
}

#emailsError #btnRetry{
    text-align: center;
    display: block;
    margin: 15px;
    width: 70px;
    height: 20px;
    padding-top: 7px;
    cursor: pointer;
    font-size: 0.65em;
    color: #FFF;
    background-color: #f44336;
    float: right;
}

#emailsError .form-group{
    width: 22%;
    margin: 0 15px;
    display: inline-block;
}


.float-rt{
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
}

.float-lt{
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
}

.l_input{
  width: 30%;
  float: left;
}

.r_input{
  width: 68%;
  float: right;
}

/* SUGGESTION CARD */
.merge-sugestion{
  width: 95%;
  padding: .75rem;
  padding-left: 1.25rem;
  padding-top: 1rem;
  border-left: 5px solid var(--bs-primary);
  margin-bottom: 1.5rem;
  box-shadow: -2px 2px 5px #00000022;
  transition: .3s;
}

.merge-sugestion:hover{
  border-left: 5px solid #006DAB;
  box-shadow: inset -2px 2px 5px #00000033;
  transition: .5s;
}

.merge-sugestion .ms-item a{
  padding-top: .3rem;
}

.merge-sugestion .ms-item span{
  padding: .2rem;
}

.merge-sugestion .ms-item .icon{
  position: relative;
  padding-left: 1.25rem;
}
.merge-sugestion .ms-item .icon::before{
  content: '-';
  position: absolute;
  left: -.7rem;
  top: -50%;
  font-size: 42px;
}

.have-suggestions{
  width: 100%;
  margin: 1rem;
  margin-bottom: 2rem;
  margin-top: 0;
}

.suggestion{
  font-size: .9em;
  padding: .25rem .75rem;
  margin: 0 .5rem;
  display: inline-flex;
  flex-wrap: nowrap;
  width: fit-content;
  box-shadow: -2px 2px 5px #00000022;
  border-left: 5px solid var(--bs-primary);
}

.suggestion a{
  margin-left: .75rem;
}

.badge-secondary{
  overflow-x: hidden;
}

.preventAutocomplete{
  opacity: 0;
  position: absolute;
  transform: scale(0);
}

.action-column{
    display: flex;
    align-items: flex-end;
    align-content: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
}

#commentsCTT, #notesCTT{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}

#comment_message_CTN, #note_message_CTN{
  height: 100%;
}

#commentsBody, #notesBody{
  position: relative;
}

.commentFilters, .noteFilters{
  position: absolute;
  top: 0;
  left: 0;
  padding-bottom: 30px;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-items: stretch;
}

.commentFilters select, .noteFilters select{
  border-radius: 0 !important;
}

#comment_message_CTT, #note_message_CTT{
  display: flex;
  flex-direction: column-reverse;
}

.tox-promotion {
  display: none !important;
}

.callback{
  border-radius: 7px;
  display: flex;
  align-items: center;
}

.callback .fa-save{
  padding: 1rem;
  border-radius: 7px;
  width: 47%;
  text-align: center;
}

.callback .fa-eraser{
  padding: 1rem;
  border-radius: 7px;
  width: 47%;
  text-align: center;
}

.callback_event {
  cursor: pointer;
  background-color: #009EF7 !important;
  color: #FFF !important;
}

.callback_event:hover, tr.callback_event:hover td{
  cursor: pointer;
  background-color: #008DE6 !important;
  color: #FFF !important;
}

.callback_event .fc-daygrid-event-dot, tr.callback_event .fc-list-event-dot{
  border-color: #FFF !important;
}

/* HIDDEN CONTACTS */
.hiddenContact:not(.show){
  display: none !important;
}
.hiddenContact{
  opacity: .5;
  filter: brightness(.85);
}

/**/

.sthistory{
  text-align: center;
  padding: 2px 3px;
  margin-top: 10px;
}

.sthistory span{
  display: inline-block;
  padding: 5px 12px;
  margin: 3px;
  border: .5px solid #0002;
}


/*.feat_checkbox {
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: #00F1;

}*/


.feat_checkbox input{
  transform: scale(1.4) translateX(-7px) translateY(-1.5px);
}

.feat_checkbox {

   position: relative;
   display: flex;
   justify-content: center;
   justify-items: center;
   align-items: center;
   margin: auto;
   cursor: pointer;
   outline: none;
   border: 0;
   vertical-align: middle;
   text-decoration: none;
   font-size: 1.2em;
   text-align: left;
   font-family: inherit;
   margin-bottom: 20px;
}

 .feat_checkbox {
   font-weight: 400;
   color: #FFF;
   text-transform: uppercase;
   padding: 1.25em 2em;
   background: #1B5EB4;
   background-image: linear-gradient(65deg, #1484C8 0%, #2B539E 80%);
   border: 2px solid #000;
   border-radius: 0.75em;
   transform-style: preserve-3d;
   transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
 .feat_checkbox::before {
   position: absolute;
   content: '';
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: #000;
   border-radius: inherit;
/*   box-shadow: 0 0 0 2px #000, 0 0.625em 0 0 #000;*/
   transform: translate3d(0, 0.75em, -1em);
   transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
 .feat_checkbox:hover {
   background: #1B5EB4;
   background-image: linear-gradient(65deg, #1484C8 0%, #2B539E 80%);
   transform: translate(0, 0.25em);
}
 .feat_checkbox:hover::before {
/*   box-shadow: 0 0 0 2px #000, 0 0.5em 0 0 #000;*/
   transform: translate3d(0, 0.5em, -1em);
}
 .feat_checkbox:active {
   background: #1B5EB4;
   background-image: linear-gradient(-65deg, #1484C8 0%, #2B539E 80%);
   transform: translate(0em, 0.75em);
}
 .feat_checkbox:active::before {
   box-shadow: 0 0 0 2px #000, 0 0 #000;
   transform: translate3d(0, 0, -1em);
}

.quests{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.quests div, .quests a{
  margin-left: .5rem;
  margin-right: .5rem;
  padding: .4rem .7rem;
  color: #555;
  border: 1px solid #0003;
}

:has(.confirmIcon){
  position: relative;
}

.confirmIcon{
  cursor: pointer;
  position: absolute;
  bottom: 8%;
  right: 20px;
}

.confirmIcon.ci-select{
  right: 45px;
}

.confirmIcon i{
  color: var(--bs-success);
}

.select-provider{
  padding: 5px 14px;
  border: none !important;
  border-bottom: 2px solid #0002 !important;
  border-radius: 7px;
  font-weight: bold;
  letter-spacing: .5px;
}


#uptDetailsForm.editing .mailing_list, #uptDetailsForm.editing .status_list{
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 10px;
  box-shadow: inset -2px 0 10px #0003; 
  border-radius: 12px;
  margin-bottom: 20px;
}


#alertWithCheck #alertText{
  text-align: center;
}

#alertWithCheck #alertCheckbox{
  border: 2px solid var(--bs-primary);
}

.custom-warning-box{
  border: 1px solid #f1416c;              /* bootstrap danger-ish */
  background: #fff5f8;                    /* light pink */
  border-radius: 6px;
  padding: 22px 30px;
  gap: 18px;
  max-width: 760px;                       /* keeps it like the screenshot */
  margin: 0 auto 18px auto;               /* centered */
}

.custom-warning-icon{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
}

.custom-warning-icon i{
  font-size: 28px;
  color: #ffc700;                         /* yellow warning */
}

.custom-warning-text{
  flex: 1;
  text-align: justify;                     /* center like screenshot */
  font-weight: 600;
  color: #3f4254;                         /* metronic-ish dark text */
  line-height: 1.4;
}

/* mobile: keep nice stacking if needed */
@media (max-width: 576px){
  .custom-warning-box{
    flex-direction: column;
    text-align: justify;
  }
  .custom-warning-text{
    text-align: justify;
  }
}
.custom-warning-check .form-check-input{
  width: 30px;
  height: 30px;
}

.custom-warning-check .form-check-label{
  padding-left: 1rem;
}


/* AGENDA STYLES */
/* ===================================
   AGENDA MANAGEMENT - CUSTOM STYLES
   =================================== */

/* Agenda Card Styles (New) */
.agenda-card-hover {
    transition: all 0.3s ease;
}

.agenda-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.symbol-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 0.475rem;
}

/* Delete Button Hover Effect */
.btn-delete-agenda {
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.agenda-card-hover:hover .btn-delete-agenda {
	opacity: 1;
}

.slot-refresh-link {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.slot-refresh-link:hover {
    color: #1a47bc;
}


/* Booking Status Colors */
.booking-status-pending {
	background-color: #fff8dd;
	color: #f1a400;
	border: 1px solid #f1a400;
}

.booking-status-confirmed {
	background-color: #d4f4dd;
	color: #0cad34;
	border: 1px solid #0cad34;
}

.booking-status-completed {
	background-color: #d1ecf1;
	color: #0c5460;
	border: 1px solid #0c5460;
}

.booking-status-cancelled {
	background-color: #f8d7da;
	color: #842029;
	border: 1px solid #842029;
}

.booking-status-no_show {
	background-color: #e2e3e5;
	color: #6c757d;
	border: 1px solid #6c757d;
}

/* Modal Animations */
.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
}

/* Day Checkboxes Styling */
.form-check-custom .form-check-input:checked {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
}

/* Loading Spinner */
.agenda-loading {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border 0.75s linear infinite;
}

/* Empty State Styling */
#noAgendasMessage i,
#bookingsTableBody i {
	color: var(--bs-gray-400);
}

/* Card Shadows (Global Project) */
.card-flush {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease;
}

.card-flush:hover {
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Required Field Indicator */
.form-label.required:after {
	content: " *";
	color: var(--bs-danger);
	font-weight: bold;
}

/* Info Icon Tooltips */
.form-label i.fa-info-circle {
	cursor: help;
	font-size: 0.9rem;
}

.form-label i.fa-info-circle:hover {
	color: var(--bs-primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.agenda-card-hover .btn-delete-agenda {
		opacity: 1;
	}
	
	#agendaManagementSection .d-flex.gap-2 {
		flex-direction: column;
	}
	
	#agendaManagementSection .d-flex.gap-2 button {
		width: 100%;
	}
}

#btnRefreshBookingsHeader{
  margin-left: 2rem;
}