.modal {
    background-color: rgba(180, 180, 180, 0.90);
}

.modalion {
    border            : 0;
    border-radius     : 10px;
    -webkit-box-shadow: 2px 2px 3px 1px rgba(0,0,0,0.15);
    box-shadow        : 2px 2px 3px 1px rgba(0,0,0,0.15);
    overflow          : hidden;
    display           : block;
    letter-spacing    : 0.5px;
}

.modalion .modal-header {
    padding         : 50px;
    background-color: #fff;
    display         : block;
    border          : none;
}

.modalion .modal-header .modal-title {
    font-size    : 24px;
    line-height  : 1em;
    color        : #333;
    font-weight  : 700;
    margin-bottom: 0;
}

.modalion .modal-header .modal-description {
    font-size  : 16px;
    line-height: 1em;
    color      : #666;
    font-weight: 400;
}

.modalion .modal-header i {
    color           : #1090e0;
}
.modalion .modal-header.type3 i {
    color           : #e01010;
}

.modalion .modal-header.type7 i {
    color           : #FFB74D;
}

.modalion .modal-header.typeG i {
    color           : #4d2c95;
}

.modalion .modal-body {
    padding         : 50px;
    background-color: #f1f9ff;
    display         : block;
    border          : none;
}

.modalion .modal-body.type3 {
    background-color: #fff1f1;
}

.modalion .modal-body.type7 {
    background-color: #fff2de;
}

.modalion .modal-body.typeG {
    background-color: #faf8ff;
}

.modalion .modal-body .label {
    font-size    : 15px;
    line-height  : 1em;
    color        : #666;
    font-weight  : 400;
    margin-bottom: 7px;
}
.modalion .modal-body .label span {
    font-size    : 13px;
    line-height  : 1em;
    color        : #666;
    font-weight  : 300;
}

.modalion .modal-body .label span.tag {
    color        : #688dc4;
}

.modalion .modal-footer {
    background-color: #e7ebee;
    padding         : 20px;
    display         : block;
    border          : none;
}

.modalion .modal-footer.type3 {
    background-color: #eee7e7;
}

.modalion .modal-footer.type7 {
    background-color: #eeebe7
}

.modalion .modal-footer.typeG {
    background-color: #f0f0f0;
}

.modalion .input {
    width          : 100%;
    padding        : 10px 15px;
    border         : 2px solid #ccc;
    border-radius  : 7px;
    font-size      : 15px;
    line-height    : 1em;
    color          : #333;
    font-weight    : 500;
}

.modalion .datepicker {
    width          : 100%;
    padding        : 10px 15px;
    border         : 2px solid #ccc;
    border-radius  : 7px;
    font-size      : 15px;
    line-height    : 1em;
    color          : #333;
    font-weight    : 500;
}
.modalion .input-date {
    width          : 100%;
    position: relative;
    display: inline-block;
}

.modalion .input-date input {
    padding-right: 40px;
}

.modalion .input-date .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #636161;
}

.modalion .input-date .icon i {
    font-size: 1.2em;
}

/* --------------------- */
.modalion .flatpickr {
    width          : 100%;
    padding        : 10px 15px;
    border         : 2px solid #ccc;
    border-radius  : 7px;
    font-size      : 15px;
    line-height    : 1em;
    color          : #333;
    font-weight    : 500;
    background-color: #fff;
}

 .modalion .flatpickr-input {
    width          : 100%;
    position: relative;
    display: inline-block;
}

.modalion .flatpickr .icon {
    position: absolute;
    right: 10px;
    top: 65%;
    transform: translateY(-50%);
    /* pointer-events: none; */
    color: #636161;
}

.modalion .pR5 .flatpickr .icon {
    right: 15px;
}

.modalion .flatpickr .icon i {
    font-size: 1.2em;
}
/* ------------------------ */
.modalion .textarea {
    width          : 100%;
    padding        : 10px 15px;
    border         : 2px solid #ccc;
    border-radius  : 7px;
    font-size      : 15px;
    line-height    : 1em;
    color          : #333;
    font-weight    : 500;
}

.modalion .input:read-only {
    background-color: #eee;
}

.modalion .select {
    width              : 100%;
    padding            : 12px 30px 11px 15px;
    border             : 2px solid #ccc;
    border-radius      : 7px;
    font-size          : 15px;
    line-height        : 1em;
    color              : #333;
    font-weight        : 500;
    appearance         : none;
    -moz-appearance    : none;
    -webkit-appearance : none;
    background-image   : url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat  : no-repeat;
    background-position: right 5px top 50%;
}



.modalion .input::placeholder, .modalion .select::placeholder {
    color: #aaa;
}

.modalion .input:focus, .modalion .select:focus {
    border-color: #92d5ff;
    transition  : 0.5s;
}

.contador-caracteres {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.campo-lleno {
    border: 2px solid #67c27c !important; /* Verde cuando tiene texto */
}

.campo-vacio {
    border: 2px solid #d85f6b !important; /* Rojo cuando está vacío */
}


.btn-10, .btn-9, .btn-1, .btn-2, .btn-3, .btn-4, .btn-5, .btn-process, .btn-growi  { display: inline-block; overflow: hidden; border-spacing: 0; border-collapse: collapse; }

.btn-10 span, .btn-10 i,
.btn-9 span, .btn-9 i,
.btn-1 span, .btn-1 i,
.btn-2 span, .btn-2 i,
.btn-3 span, .btn-3 i,
.btn-4 span, .btn-4 i           { display: table-cell; vertical-align: middle; }

.btn-zl                         { font-size: 16px; font-weight: 600; margin: 5px; padding: 0 8px; }
.btn-zm                         { font-size: 15px; font-weight: 500; margin: 3px; padding: 0 5px; }
.btn-zs                         { font-size: 14px; font-weight: 500; margin: 1px; padding: 0 3px; }
.btn-zxs                        { font-size: 12px; font-weight: 400; margin: 1px; padding: 0 1px; }
.btn-zxxxs                      { font-size: 11px; font-weight: 400; margin: 1px; padding: 0 1px; }

.btn-zl i                        { font-size:24px; padding: 15px 15px; }
.btn-zl span                     { font-size:18px; padding: 15px 15px; text-align: left; }
.btn-zl i.left                   { padding-right:0; }
.btn-zl i.right                  { padding-left:0; }
.btn-zm i                        { font-size:20px; padding: 8px; }
.btn-zm span                     { font-size:16px; padding: 8px 20px 8px 0; text-align: left; }
.btn-zs i                        { font-size:18px; padding: 8px; }
.btn-zs span                     { font-size:14px; padding: 6px 12px 6px 0; text-align: left; }
.btn-zxs i                       { font-size:14px; padding: 5px 5px; }
.btn-zxs span                    { font-size:12px; padding: 5px 5px; text-align: left; }
.btn-zxs i.left                  { padding-right:0; }
.btn-zxs i.right                 { padding-left:0; }
.btn-zxxxs i                     { font-size:12px; padding: 2px 1px; }
.btn-zxxxs span                  { font-size:10px; padding: 2px 4px 2px 0; text-align: left; }

.btn-5 span                     { display: table-cell; vertical-align: middle; font-size:16px; padding: 8px 16px 8px 16px; text-align: left; font-weight: 600; }
.btn-5 i                        { display: table-cell; vertical-align: middle; font-size:20px; padding: 8px; }
.btn-5 i.left                   { padding-right:0; }
.btn-5 i.right                  { padding-left:0; }

.btn-process span               { display: table-cell; vertical-align: middle; font-size:16px; padding: 8px 16px 8px 16px; text-align: left; font-weight: 600; }
.btn-process i                  { display: table-cell; vertical-align: middle; font-size:20px; padding: 8px; }
.btn-process i.left             { padding-right:0; }
.btn-process i.right            { padding-left:0; }

.btn-growi span               { display: table-cell; vertical-align: middle; font-size:16px; padding: 8px 16px 8px 16px; text-align: left; font-weight: 600; }
.btn-growi i                  { display: table-cell; vertical-align: middle; font-size:20px; padding: 8px; }
.btn-growi i.left             { padding-right:0; }
.btn-growi i.right            { padding-left:0; }




.submodule .btn-zm               { font-size: 14px; font-weight: 500; margin: 1px; padding: 0; }
.submodule .btn-zm i             { font-size:14px; padding: 5px; }
.submodule .btn-zm span          { font-size:14px; padding: 4px 8px 4px 0; text-align:left; }




.btn-9 {
    background-color: #a25edc;
    color           : #fff;
    border          : 1px solid #a25edc;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-9:hover {
    background-color: #4d2c95;
    border-color    : #4d2c95;
    color           : #fff;
    transition      : 0.5s;
}

.btn-10 {
    background-color: #a25edc;
    color           : #fff;
    border          : 1px solid #a25edc;
    border-radius   : 15px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-10:hover {
    background-color: #4d2c95;
    border-color    : #4d2c95;
    color           : #fff;
    transition      : 0.5s;
}

.btn-11 {
    display: block;
    color           : #666;
    border-radius   : 5px;
    border: 1px solid #d4d4d4;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
    font-size: 12px;
    font-weight: 400;
    margin: 1px;
    padding: 0 0px;
}

.btn-1 {
    background-color: #1090e0;
    color           : #fff;
    border          : 1px solid #1090e0;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-1:hover {
    background-color: #0d7ab8;
    border-color    : #0d7ab8;
    color           : #fff;
    transition      : 0.5s;
}

.btn-2 {
    background-color: #eaf9ff;
    color           : #000;
    border          : 1px solid #c6edff;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-2:hover {
    background-color: #c6edff;
    border-color    : #c6edff;
    color           : #000;
    transition      : 0.5s;
}

.btn-3 {
    background-color: #ffebeb;
    color           : #000;
    border          : 1px solid #ffd1d1;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-3:hover {
    background-color: #ffd1d1;
    border-color    : #ffd1d1;
    color           : #000;
    transition      : 0.5s;
}
.btn-4 {
    background-color: #c0ffd3;
    color           : #000;
    border          : 1px solid #8effb0;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-4:hover {
    background-color: #8effb0;
    border-color    : #8effb0;
    color           : #000;
    transition      : 0.5s;
}

.btn-5 {
    background-color: rgba(255, 255, 255, 0.0);
    color           : #fff;
    border          : 1px solid #fff;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-5:hover {
    background-color: rgba(255, 255, 255, 1);
    color           : #333;
    transition      : 0.5s;
}

.btn-6 {
    background-color: #9fabae;
    color           : #000;
    border          : 1px solid #c6edff;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-6:hover {
    background-color: #69777d;
    border-color    : #161b1d;
    color           : #ffffff;
    transition      : 0.5s;
}

.btn-7 {
    background-color: #FFF0DD ;
    display         : inline-block;
    color           : #000;
    border          : 1px solid #ffdbb9 ;
    border-radius   : 7px;
    vertical-align  : top;
    margin          : 1px;
    padding         : 0 3px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-7:hover {
    background-color: #FFDAB9;
    border-color    : #ffdbb9;
    color           : #212529;
    transition      : 0.5s;
}

.btn-process {
    background-color: #1090e0;
    color           : #fff;
    border          : 0;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-process:hover {
    background-color: #004974;
    color           : #fff;
    transition      : 0.5s;
}

.btn-growi {
    background-color: #0c0040;
    color           : #fff;
    border          : 0;
    border-radius   : 7px;
    line-height     : 1em;
    cursor          : pointer;
    text-align      : center;
    text-decoration : none;
    letter-spacing  : 0.6px;
}

.btn-growi:hover {
    background-color: #004974;
    color           : #fff;
    transition      : 0.5s;
}


.btn-accion {
    background-color: #0d7ab8;
    color           : #fff;
    border          : 2px solid #0d7ab8;
    border-radius   : 7px;
    padding         : 15px 40px;
    font-size       : 16px;
    line-height     : 1em;
    font-weight     : 600;
    cursor          : pointer;
    display         : inline-block;
    text-align      : center;
    text-decoration : none;
    margin          : 0 10px;
    letter-spacing  : 0.8px;
}

.btn-accion.type2 {
    background-color: #40cd81;
    border-color    : #40cd81;
}

.btn-accion.type3 {
    background-color: #e01010;
    border-color    : #e01010;
}

.btn-accion.type7 {
    background-color: #FFB74D;
    border-color    : #FFB74D;
}

.btn-accion.typeG {
    background-color: #4d2c95;
    border-color    : #4d2c95;
}

.btn-accion:hover {
    background-color: #0d7ab8;
    border-color    : #0d7ab8;
    color           : #fff;
    transition      : 0.5s;
}
.btn-accion.type2:hover {
    background-color: #1ca05a;
    border-color    : #1ca05a;
}
.btn-accion.type3:hover {
    background-color: #b80d0d;
    border-color    : #b80d0d;
}

.btn-accion.typeG:hover {
    background-color: #0c0040;
    border-color    : #0c0040;
}

.btn-accion.type7:hover {
    background-color: #e4a00c;
    border-color    : #e4a00c
}

.btn-cancelar {
    background-color: transparent;
    color           : #666;
    border          : 2px solid #aaa;
    border-radius   : 7px;
    padding         : 15px 40px;
    font-size       : 16px;
    line-height     : 1em;
    font-weight     : 600;
    cursor          : pointer;
    display         : inline-block;
    text-align      : center;
    text-decoration : none;
    margin          : 0 10px;
    letter-spacing  : 0.8px;
}

.btn-cancelar:hover {
    background-color: #ccc;
    border-color    : #ccc;
    color           : #000;
    transition      : 0.5s;
}

.btn-info {
    background-color: #17a2b8;
    color           : #fff;
    border          : 2px solid #17a2b8;
    border-radius   : 7px;
    padding         : 15px 40px;
    font-size       : 16px;
    line-height     : 1em;
    font-weight     : 600;
    cursor          : pointer;
    display         : inline-block;
    text-align      : center;
    text-decoration : none;
    margin          : 0 10px;
    letter-spacing  : 0.8px;
}

.btn-info:hover {
    background-color: #106b79;
    border-color    : #106b79;
    color           : #fff;
    transition      : 0.5s;
}

.alert .btn-2 {
    background-color: #1090e0;
    color           : #fff;
    border          : 1px solid #1090e0;
}

.alert .btn-2:hover {
    background-color: #0d7ab8;
    border-color    : #0d7ab8;
    color           : #fff;
    transition      : 0.5s;
}

.btn-line {
    color          : #0d7ab8;
    border-bottom  : 1px solid #21a4f0;
    font-weight    : 600;
    cursor         : pointer;
    display        : inline-block;
    text-decoration: none;
    padding        : 0 0 1px 0;
    margin         : 0 10px;
    letter-spacing : 0.3px;
    font-size      : 13px;
}

.btn-line:hover {
    color       : #0c0040;
    border-color: #0c0040;
    transition  : 0.5s;
}

.btn-content {
    position: absolute;
    top: 1px;
    right: -5px;
    background-color: #ffebeb;
    color: #000;
    border: 1px solid #ffd1d1;
    border-radius: 50%;
    line-height: 1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.6px;
    padding        : 5px;
    margin         : 0 10px;
    font-size      : 14px;
}

.btn-content:hover {
    color       : #0c0040;
    border-color: #0c0040;
    transition  : 0.5s;
}

.item.dragging {
    background-color: #d9f1ff; /* Resalta mientras se arrastra */
    opacity: 0.7;
}


@media screen and (max-width: 991px) {



    .btn-cancelar, .btn-accion, .btn-info       { padding : 10px 25px; }

    .btn-1.btn-zm                               { padding: 0 5px; }


    .btn-2.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-2.btn-zs i                       { font-size: 14px; padding: 5px; }
    .btn-2.btn-zs span                    { font-size: 18px; padding: 6px 12px 6px 0; }
    .btn-3.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-3.btn-zs i                       { font-size: 14px; padding: 5px; }
    .btn-3.btn-zs span                    { font-size: 12px; padding: 6px 12px 6px 0; }
    .btn-9.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-9.btn-zs i                       { font-size: 14px; padding: 5px; }
    .btn-9.btn-zs span                    { font-size: 12px; padding: 6px 12px 6px 0; }
    .btn-10.btn-zs                        { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-10.btn-zs i                      { font-size: 14px; padding: 10px; }
    .btn-10.btn-zs span                   { font-size: 12px; padding: 12px 20px 12px 0; }
    .btn-11.btn-zs                        { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-11.btn-zs i                      { font-size: 14px; padding: 11px; }


    .btn-line                             { font-size: 12px; padding : 0 0 1px 0; }


    .modalion .modal-header                     { padding : 30px 20px; }
    .modalion .modal-body                       { padding : 20px 30px; }
    .modalion .modal-footer                     { padding : 20px 10px; }

    .modalion .modal-header .modal-title        { font-size : 18px; }
    .modalion .modal-header .modal-description  { font-size : 14px; }
    .modalion .modal-body .label                { font-size : 14px; }
    .modalion .modal-body .label span           { font-size : 12px; }

    .modalion .input                            { padding : 10px; font-size: 14px; }
    .modalion .textarea                         { padding : 10px; font-size: 14px; }
    .modalion .select                           { padding : 10px 30px 10px 10px; }

    .btn-6.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-6.btn-zs i                       { font-size: 14px; padding: 5px; }
    .btn-6.btn-zs span                    { font-size: 12px; padding: 6px 12px 6px 0; }

    .btn-7.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }
    .btn-7.btn-zs i                       { font-size: 14px; padding: 5px; }
    .btn-7.btn-zs span                    { font-size: 12px; padding: 6px 12px 6px 0; }

    .btn-9.btn-zs                         { font-size: 12px; margin: 0 1px; padding: 0; }

}

/* REG-0143: la X de los modales es un <button> con el aspecto del <div> de antes (el reinicio de cssion.css ya le quita el borde y el
   relleno; falta el fondo del navegador). Los botones del modal muestran el foco: el reinicio heredado apaga el contorno de todo.
   El anillo es el del DS (gds-tokens.css: --gds-color-general-foco-borde, 2 px separado 2 px); head.php aun no carga gds-tokens.css,
   por eso el color lleva su valor de respaldo. */
.modal-boton-cerrar {
    background-color: transparent;
}

.modal [data-dismiss="modal"]:focus-visible,
.modal .btn-cancelar:focus-visible,
.modal .btn-accion:focus-visible,
.modal .btn-info:focus-visible {
    outline       : 2px solid var(--gds-color-general-foco-borde, #0d7ab8);
    outline-offset: 2px;
}
