/*
       ATOM CUSTOM CSS 
       Dev: Gonzalo
*/

.blocklabel {
  display: block;
}

a {
  color: #00bade;
}

.fixed-bottom {
  z-index: 100;
}

header {
  z-index: 999 !important;
}
footer {
  z-index: 100;
}

/* .note-editor { z-index: 50;} */

#m_login {
  flex: 1 0 auto;
}
.bghome {
  background-image: url("../img/bghome.jpg");
}
.arrow_down {
  width: 16px; /* Ajusta el tamaño según necesites */
  height: 16px;
  margin-right: 2px;
  margin-bottom: 12px;
}
#m_header_nav {
  background-color: white;
}

.btn-atom-color {
  background: #00bade;
  border-color: #00bade;
  color: white;
  transition: all ease 0.2;
}
.btn-atom-color:hover,
.btn-atom-color-2:hover {
  background: #00a5eb;
  border-color: #00a5eb;
  color: white;
}

/* Green button override for btn-atom-color */
.btn-success-override {
  background: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}
.btn-success-override:hover {
  background: #218838 !important;
  border-color: #1e7e34 !important;
  color: white !important;
}
.btn-success-override i {
  vertical-align: middle;
  margin-right: 4px;
}

/* Red button override for btn-atom-color */
.btn-danger-override {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}
.btn-danger-override:hover {
  background: #c82333 !important;
  border-color: #bd2130 !important;
  color: white !important;
}
.btn-danger-override i {
  vertical-align: middle;
  margin-right: 4px;
}

.btn-atom-color2 {
  background: gray;
  color: white;
  border-color: gray;
}
.btn-atom-color2:hover {
  background: lightgray;
  color: white;
}

tr.selected .btn i {
  color: white !important;
}

.btn-atom-color-2 {
  background: #00d4d8;
  color: white;
}

.quickaccess a {
  text-decoration: none;
}

.ov-y {
  overflow: hidden;
  overflow-y: scroll;
}

.modal-dialog.modal-xl {
  max-width: 95%;
}
@media (min-width: 1366px) {
  .modal-dialog.modal-xl {
    max-width: 90%;
  }
}

.new-item {
  padding: 10px;
  border: 4px dashed white;
  border-radius: 5px 5px 5px 5px;
  min-height: 100px;
}
.new-item.selected {
  background: #f3f6fa;
  border: 4px dashed #1c6ea4;
  border-radius: 5px 5px 5px 5px;
}
.new-item .icon {
  margin-top: 10px;
}
.new-item .icon i {
  font-size: 3em;
}

#assetDescription {
  min-height: 120px;
}

div.collapsed {
  display: none;
}
.colapse-section {
  cursor: pointer;
}
.colapse-section:hover {
  opacity: 0.8;
}

.select2-container,
.select2-container .select2-search__field,
.select2-container li {
  width: 100% !important;
}

.language-settings-tab {  
  padding: 30px 40px 40px 40px;
}
.custom-email-field {
  width: 220px;
  margin-left: 10px;
  margin-top: -8px;
  padding: 4px;
}

.available-languages,
.selected_languages {
  min-height: 200px;
}

.badge-pill {
  padding: 0.3em 0.5em;
}

table.dataTable tbody tr.selected {
  color: white;
  background-color: #7382a0 !important;
}

.optselected {
  display: none;
  position: absolute;
  top: -10px;
  right: -10px;
  color: #7382a0;
}
.optselected i {
  font-size: 3em;
}

.option_paywall.selected {
  background: rgba(115, 130, 160, 0.1);
}
.option_paywall.selected .optselected {
  display: block;
}

.workinall.disabled,
.workselected.disabled {
  background: rgba(115, 130, 160, 0.1);
}
.workinall .bootstrap-tagsinput {
  background: transparent;
}
.bootstrap-tagsinput input {
  padding: 0px;
}

.deleteselected {
  font-weight: bold;
  margin-left: 30px;
  cursor: pointer;
}

.dataTables_filter input {
  border: 1px solid silver;
  padding: 5px;
  border-radius: 4px;
}

#AssetSelectedTitle {
  margin-top: 7px;
  margin-left: -20px;
}

.list-language-title {
  width: 2em;
  display: inline-block;
}

/*modals*/
#completeModal .modal-dialog,
#completeModal .modal-content {
  height: calc(100% - 20px);
  max-height: 1000px;
}
#completeModal .modal-body {
  height: 100%;
  overflow-y: auto;
}

.selectLanguajeDiv:hover {
  background-color: #34bfa3;
}
.m-topbar
  .m-topbar__nav.m-nav
  > .m-nav__item.m-topbar__quick-actions.m-topbar__quick-actions--img.m-dropdown--arrow
  .m-dropdown__arrow.flechaDesplegableIdioma {
  color: #34bfa3;
}

a:link,
a:visited,
a:active {
  text-decoration: none;
}
body {
  background-color: #e5e6f0;
}

/*inputs*/
input.background {
  background-color: #f3f6fa;
}

input.background:focus {
  background-color: none;
}
.smaller-font {
  font-size: 0.8em;
}

.select2-container--default.select2-container--disabled
  .select2-selection--multiple
  .select2-selection__rendered
  .select2-selection__choice {
  background: #bbbbbb;
  border: 1px solid #bbbbbb;
}

.content-language-selection a {
  color: #00bade;
}
.content-language-selection a div {
  width: 100%;
  padding: 5px;
}
.content-language-selection a.selected div {
  background: #00bade;
  color: white;
}

.m-aside-menu .m-menu__nav > .m-menu__section {
  margin: 0px;
}
.subheader {
  border-top: 1px solid #e5e6f0;
}

.breadcrumb {
  background-color: transparent !important;
  margin-bottom: 0.5rem;
}

/*evitamos que se muestre el alto de span esperando a mostrar mensage*/

.m-stack.m-stack--general.m-stack--ver > .m-stack__item.m-stack__item--middle {
  vertical-align: top;
}

/* new item edit styles */

.upload-thumbnail {
  height: 300px;
  border-style: dashed;
  border-color: lightgray;
  background: #dcdcdc;
  font-size: 1.5em;
  color: white;
}
.upload-thumbnail .fas {
  font-size: 2.5em;
}
.flexbox-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  height: 100%;
}

.thumbImage {
  position: relative;
}
.overlayThumb {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  cursor: pointer;
}
.overlayThumb .upload-thumbnail {
  height: 100%;
}
.overlayThumb {
  border: 3px solid lightgray;
}
.overlayThumb i {
  font-size: 3em;
  margin-bottom: 10px;
  color: white;
}

.thumbImage:hover .overlayThumb {
  display: block;
}
.thumbImage:hover .overlayThumb .upload-thumbnail {
  background: rgba(220, 220, 220, 0.7);
}

.tab-pane {
  border: 1px solid #ebedf2;
  border-top: 0px;
  padding: 25px auto;
}

.tab-pane .help-box {
  margin: 20px;
}

#assetTabs {
  margin-bottom: 0px;
}

#trigger-upload {
  color: white;
  background-color: #2ca189;
  font-size: 22px;
  padding: 7px 20px;
  background-image: none;
  position: absolute;
  right: 20px;
  height: 80%;
}

#fine-uploader-manual-trigger {
  width: 100%;
  min-height: 250px;
}

#fine-uploader-manual-trigger .qq-upload-button {
  margin-right: 15px;
}

#fine-uploader-manual-trigger .buttons {
  width: 36%;
}

#fine-uploader-manual-trigger .qq-uploader .qq-total-progress-bar-container {
  width: 60%;
}
#qq-total-progress-bar-container {
  display: none;
}

.qq-upload-list {
  width: 80%;
}

#video-title-error {
  color: red;
}

.muted-text.form-control-feedback {
  display: none;
}

@media (min-width: 1240px) {
  .m-content.mt-4 {
    margin-top: 2.5rem !important;
  } /* hack para la altura de la hoja blanca*/

}

@media (max-width: 1240px) {
  .m-content.mt-4 {
    margin-top: 2.5rem !important;
  } /* hack para la altura de la hoja blanca*/
}


@media (min-width: 1024px) {
  .m-login.m-login--1 .m-login__aside {
    width: 50%;
    padding: 1em 5em;
  }
  .m-login.m-login--1 .m-login__wrapper {
    padding-top: 20% !important;
  }
}

@media (min-width: 540px) and (max-width: 768px) {
  .m-login.m-login--1 .m-login__aside .m-login__wrapper {
    padding-top: 3rem;
    padding-bottom: 15rem;
  }
}


@media (min-width : 300px) and (max-width: 992px) {
  .m-content.mt-4 {
    margin-top: 5.5rem !important;
    overflow-x: auto;
    
  } /* hack para la altura de la hoja blanca*/

  .m-header--fixed-mobile .m-body {
    -webkit-transition: padding-top;
    -moz-transition: padding-top;
    -ms-transition: padding-top;
    -o-transition: padding-top;
    transition: padding-top;
    padding-top: 110px;
  }
}

@media (min-width : 300px) and (max-width: 992px) {

  .margin-top-fix_2{
     margin-top: 2.5rem !important
  }

  .margin-top-fix_8{
    margin-top: 8.5rem !important
  }

  .margin-top-fix_10{
    margin-top: 10rem !important
  }

  .margin-top-fix_4{
    margin-top: 4.5rem !important
  }

  .upload-customers{
    margin-top: 2.5rem !important
  }

}

@media (min-width : 300px) and (max-width: 480px) {

  .margin-top-fix_3{
    margin-top: 3.5rem !important
  }

}



.btn-secondary {
  color: #111;
}


  .fc-col-header, .fc-timegrid-body {
  width: 100% !important;
  height: 100% !important;
  }
  .fc-scrollgrid-sync-table {
  width: 100% !important;
  height: 100% !important;
  }
  .fc-daygrid-body {
  width: 100% !important;
  height: 100% !important;
  }
  .fc-daygrid-body-balanced {
  width: 100% !important;
  height: 100% !important;
  }

  table {
    width: 100% !important;
    height: 100% !important;
    }


.table_filter_container {
    margin-bottom: 1.5rem;
}

.date-range-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.date-input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.form-control-responsive {
    width: 100%;
}

.search-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .filter-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .filter-input {
        width: 100%;
    }
    
    .date-input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-separator {
        margin: 0.5rem 0;
    }
    
    .search-btn-container {
        justify-content: center;
    }
}

.collapse-section {
    cursor: pointer;
}

.date-range-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.date-separator {
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .date-range-container {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .date-range-container input {
        width: 100%;
    }
    
    .date-separator {
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
    }
    
    #submit-search {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Portlet head with icon */
.m-portlet .m-portlet__head.m-portlet-short {
  height: 45px; 
  padding-top: 2px;
}

.m-portlet .m-portlet__head.m-portlet-short .m-portlet__head-caption .m-portlet__head-title .m-portlet__head-text {
    font-size: 1.1rem;
}

/* Custom select styling to match Select2 appearance */
select.form-control:not(.m-select2) {
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Add custom chevron arrow to match Select2 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 12px;

    /* Add padding to prevent text from overlapping arrow */
    padding-right: 2.5rem;
}

/* Firefox specific fix */
select.form-control:not(.m-select2)::-ms-expand {
    display: none;
}

/* Optional: Add hover effect for better UX */
select.form-control:not(.m-select2):hover {
    border-color: #5867dd;
    cursor: pointer;
}

/* Focus state */
select.form-control:not(.m-select2):focus {
    border-color: #5867dd;
    box-shadow: 0 0 0 0.2rem rgba(88, 103, 221, 0.25);
}
