/* title with lines*/

span .title-line:after, span .title-line:before{
    content:"\00a0\00a0\00a0\00a0\00a0";
    text-decoration:line-through;
}
/* dialog Z */
.ui-dialog {
    z-index: 2000;
}


.ui-dialog .over-all{
    z-index: 2999;
}
/*flags*/

#collapseLanguage img {
    width: 20px;
}

/*fix issue -  modal z-index*/
select2-close-mask{
    z-index: 2001;
}
.select2-dropdown{
    z-index: 2002;
}

/* fix issue - lock screen*/
.ui-widget-overlay {
   position: fixed !important;
}

/* fix height - boostrap spinner */
.input-group input{
   height: auto;
}

/* account images */

.bg-register-image, .bg-login-image {
    background: url(/libs/portal/img/anc_login.png),  url(/console/libs/portal/img/anc_login.png);
    background-position: center;
    background-size: cover;
}

.bg-active-image {
    background: url(/libs/media_scheduler/img/3c_active_help.gif), url(/console/libs/media_scheduler/img/3c_active_help.gif);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 60.64%; /* (img-height / img-width * container-width) */
                /* (853 / 1280 * 100) */
}

.form-control-checkbox{
    width:25px;
}

/* OSD */

   .slideshow.fullscreen{
        width: 100%  !important ;
        /*height: auto !important;*/
    }
    .slideshow.fv{
        width: 100%  !important ;
        /*height: auto !important;*/
    }
    .slideshow.lateralizquierdo{
        margin-top: 0px;
        margin-left: 0px;
        float: left;
        width: 200px  !important ;
        /*min-height: 500px !important;*/
    }
    .slideshow.lateralderecho{
        margin-top: 0px;
        margin-right: 0px;
        float: right;
        width: 200px  !important ;
        /*min-height: 500px !important;*/
    }
    .slideshow.superioroeste {
        margin-top: 20px;
        margin-left: 20px;
        float: left;
        width: 140px !important;
        height: 100px !important;
    }
    .slideshow.superioreste {
        margin-top: 20px;
        margin-right: 20px;
        float: right;
        width: 140px !important;
        height: 100px !important;
    }
    .slideshow.inferioroeste{
        margin-top: 290px;
        margin-left: 20px;
        float: left;
        /*margin-bottom: 20px;*/
        width: 140px !important;
        height: 100px !important;
    }
    .slideshow.inferioreste {
        margin-top: 290px;
        margin-right: 20px;
        float: right;
        /*margin-bottom: 20px;*/
        width: 140px !important;
        height: 100px !important;
    }

    .mini.slideshow.fullscreen{
        width: 100%  !important ;
        /*height: auto !important;*/
    }
    .mini.slideshow.fv{
        width: 100%  !important ;
        /*height: auto !important;*/
    }
    .mini.slideshow.lateralizquierdo{
        margin-top: 0px;
        margin-left: 0px;
        float: left;
        width: 121px  !important ;
        /*min-height: 500px !important;*/
    }
    .mini.slideshow.lateralderecho{
        margin-top: 0px;
        margin-right: 0px;
        float: right;
        width: 121px  !important ;
        /*min-height: 500px !important;*/
    }
    .mini.slideshow.superioroeste {
        margin-top: 20px;
        margin-left: 20px;
        float: left;
        width: 50px !important;
        height: 52px !important;
    }
    .mini.slideshow.superioreste {
        margin-top: 20px;
        margin-right: 20px;
        float: right;
        width: 50px !important;
        height: 52px !important;
    }
    .mini.slideshow.inferioroeste{
        margin-top: 84px;
        margin-left: 20px;
        float: left;
        /*margin-bottom: 20px;*/
        width: 50px !important;
        height: 52px !important;
    }
    .mini.slideshow.inferioreste {
        margin-top: 84px;
        margin-right: 20px;
        float: right;
        /*margin-bottom: 20px;*/
        width: 50px !important;
        height: 52px !important;
    }
/* datatable editor*/
    #customForm {
        display: flex;
        flex-flow: row wrap;
    }
    #customForm fieldset {
        flex: 1;
        /*border: 1px solid #aaa;*/
        margin: 0.5em;
    }
    #customForm fieldset legend {
        padding: 5px 20px;
        border: 1px solid #aaa;
        border-radius: 10px;
        font-weight: bold;
    }
    #customForm fieldset.name {
        flex: 2 100%;
    }
    #customForm fieldset.name legend {
        background: #f8f9fc;
    }
    #customForm fieldset.hr legend {
        background: #f8f9fc;
    }

    #customForm div.DTE_Field {
        padding: 5px;
    }
   .DTED div.DTE_Footer {
        height: 59px!important;
    }

/* datatable */
.topbar {
    height: 2.375rem;
}

.head-table .dataTables_info {
    clear: both;
    float: inherit;
    padding-top: 0em !important;
}

.table-responsive{
    overflow-x: inherit !important;
}
/* Steps wizard*/
.sw-theme-arrows>.nav .nav-link.active {
   color: #fff;
   border-color: #17a2b8; !important;
   background: #17a2b8; !important;
   cursor: pointer;
}
.sw-theme-arrows>.nav .nav-link.active::after {
    border-left-color: #17a2b8; !important;
}
.sw-theme-arrows>.nav .nav-link.done {
    color: #fff;
    border-color:  #4e73df !important;
    background:  #4e73df !important;
    cursor: pointer;
 }
 .sw-theme-arrows>.nav .nav-link.done::after {
    border-left-color: #4e73df; !important;
 }
 .sw.sw-loading .tab-content::before {
    content: 'Procesando...';
    display: inline-block;
    position: absolute;
    top: calc(50% + 2.5rem); /* Adjusted to be below the spinner */
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 11;
}

.sw.sw-loading::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 45%;
    left: 50%;
    width: 4rem;
    height: 4rem;
    transform: translate(-50%, -50%);
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    z-index: 10;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

 /* Profile*/

 .profile-avatar {
  vertical-align: middle;
  width: 100%;
  border-radius: 50%;
  margin: 5px 5px;
}

/* Radio Button */

.form-check-input[type="radio"]:checked+label:after, .form-check-input[type="radio"].with-gap:checked+label:after, label.btn input[type="radio"]:checked+label:after, label.btn input[type="radio"].with-gap:checked+label:after {
    background-color: #4285f4;
  }
  .form-check-input[type="radio"]:checked+label:after, .form-check-input[type="radio"].with-gap:checked+label:before, .form-check-input[type="radio"].with-gap:checked+label:after, label.btn input[type="radio"]:checked+label:after, label.btn input[type="radio"].with-gap:checked+label:before, label.btn input[type="radio"].with-gap:checked+label:after {
    border: 2px solid #4285f4;
}}

.form-check-input[type="radio"]+label:before, .form-check-input[type="radio"]+label:after, label.btn input[type="radio"]+label:before, label.btn input[type="radio"]+label:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 16px;
    height: 16px;
    margin: 4px;
    content: "";
    -webkit-transition: 0.28s ease;
    transition: 0.28s ease;
}
.form-check-input[type="radio"]:not(:checked)+label:before, .form-check-input[type="radio"]:not(:checked)+label:after, .form-check-input[type="radio"]:checked+label:before, .form-check-input[type="radio"]:checked+label:after, .form-check-input[type="radio"].with-gap:checked+label:before, .form-check-input[type="radio"].with-gap:checked+label:after, label.btn input[type="radio"]:not(:checked)+label:before, label.btn input[type="radio"]:not(:checked)+label:after, label.btn input[type="radio"]:checked+label:before, label.btn input[type="radio"]:checked+label:after, label.btn input[type="radio"].with-gap:checked+label:before, label.btn input[type="radio"].with-gap:checked+label:after {
    border-radius: 50%;
}
.form-check-input[type="radio"]:checked+label:after, label.btn input[type="radio"]:checked+label:after {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

/* Select2 */
.is-invalid{
    border: 1px solid #f44336;
    border-radius: 5px;
}


/* cut text long*/

.cut-text-line-1{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cut-text-line-2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cut-text-line-4{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* row cart body and table*/
.container-fluid .card.shadow .card-body {
    padding: 0.3rem 1.25rem;
}

table tr .card-body {
    padding: 0.4rem 1.25rem !important;
}

table .sorting_disabled{
    display: none;
}

table.dataTable {
   margin-top: 1px !important;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 3px 4px;
}

.dt-button {
 padding: 0.2em 0.6em !important;
 color: #fff  !important;
 background-color: #4e73df  !important;
 border-color: #4e73df  !important;
 border-radius: 0.35rem   !important;
}
.dt-button:focus {
    color: #fff  !important;
    background-color: #2e59d9  !important;
    border-color: #2653d4  !important;
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5)  !important;
}

.dt-button:hover {
    color: #fff  !important;
    background-color: #2e59d9  !important;
    border-color: #2653d4  !important;
}


.text-decoration-line-through {
    text-decoration: line-through!important;
}

.align-items-left
    justify-content: left!important;
}

  .text-max-300 {
      max-width: 1200px; /* Define el ancho máximo del contenedor */
      overflow: hidden; /* Oculta el contenido que excede el ancho máximo */
      text-overflow: ellipsis; /* Agrega puntos suspensivos (...) al final del texto truncado */
      white-space: nowrap; /* Evita el salto de línea en el texto */
      padding: 10px; /* Solo para visualización */
  }
  .text-max-3-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* Máximo de 3 líneas */
  }
  .input-group .input-group-btn button{
    border-top-left-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
  }

.element-scroll {
  height: 40vh; /* altura del viewport */
  overflow-y: auto; /* activa el scroll vertical cuando el contenido excede la altura */
}

.element-scroll-90 {
  height: 90vh; /* altura del viewport */
  overflow-y: auto; /* activa el scroll vertical cuando el contenido excede la altura */
}

element-scroll-50 {
  height: 50vh; /* altura del viewport */
  overflow-y: auto; /* activa el scroll vertical cuando el contenido excede la altura */
}

element-scroll-100 {
  height: 100vh; /* altura del viewport */
  overflow-y: auto; /* activa el scroll vertical cuando el contenido excede la altura */
}

/* django json_form */
:root {
  --error-fg: red;
  --darkened-bg:  #f9f6f6;
  --border-color: #6f6f6f;
  --body-bg: white;
}}

/* wizart */
.sw.sw-loading::before{
    z-index: 2001;
}

.rjf-form-group-wrapper .rjf-form-group-children .rjf-form-group-inner{
    background-color: #f9f6f6;
}

.rjf-autocomplete-field-options{
  background-color:var(--darkened-bg);
}

.rjf-required::before {
    content: '*';
    color: red;
    margin-right: 4px; /* Ajusta el margen derecho según sea necesario */
}

.rjf-input-group textarea {
    min-height: 28px; /* Establece la altura mínima a 100px, ajusta según tus necesidades */
}
@media (max-width: 760px){
    .d-range-none{
      display:none;
    }
}
@media (max-width: 650px){
    .d-tab-none{
      display:none;
    }
}
