/*Cargamos los tipos de leta*/

/*OPENSANS*/
@font-face {
    font-family: "OpenSans";
    src: url("../fonts/Open_Sans/static/OpenSans-Regular.ttf");
    font-weight: 300;
}

/*MEDIUM*/
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/static/Montserrat-Medium.ttf");
    font-weight: 600;
}

/*BOLD*/
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/static/Montserrat-Bold.ttf");
    font-weight: bold;
}

/*SEMIBOLD*/
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/static/Montserrat-SemiBold.ttf");
    font-weight: 800;
}

/*BLACK*/
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/static/Montserrat-Black.ttf");
    font-weight: 900;
}


/*VARIABLES GLOBALES*/
:root {
    --waitBg: rgba(242, 245, 247, .85);
    --waitColor: #0035AA;
    --fotColor: #333333;
    --firstBtnBg: #0035AA;
    --firstBtnColor: #FFFFFF;
    --firstBtnDisBg: #B7BEC2;
    --disabledOption: #B7BEC2;
    --secondBtnBg: #FFFFFF;
    --secondBtnColor: #0035AA;
    --errColor: #FE0303;
    --pageCntBg:#F8F8FA;
    --addBtnBg:#0035AA;
    --addBtnColor:#FFFFFF;
    --titSctColor:#0035AA;
    --srchBorderColor:#D3D2D2;
    --srchBg:#FFFFFF;
    --pageTblHeaderBg:#0035AA;
    --pageTblHeaderColor: #FFFFFF;
    --pageTblBg: #FFFFFF;
    --pageTblRowBgAlt: #F8F8FA;
    --pageTblBgHov: #d5d5dd;
    --pageTblColor:#4A4A4A;
    --pageTblColorSel: #4A4A4A;
    --popupInptBg: #FFFFFF;
    --popupBg: rgba(0, 0, 0, .60);
    --popupBoxBg: #FFFFFF;
    --popupInptColor: #333333;
    --popupTitColor: #0035AD;
    --popupFrmLblColor: #0035AD;
    --popupTxtColor: #4A4A4A;
    --popupDateLblColor: #A5A5A5;
    --popupHeadColor: #4A4A4A;
    --popupHeadColorActv: #0035AA;
    --popupHeadColorActvBg: #F0F0F4;
    --popupHeadColorDis: rgba(0, 53, 170,.50);
    --popopIcClose:#C7BEBE;
    --switchBg: #B7BEC2;
    --switchActvBg: #0035AD;
    --switchColor: #FFFFFF;
    --buttonAddBg:#0035AD;
    --buttonAddColor: #FFFFFF;
    --statusDis: #e8e8e8;
    --bgInptDisabled: #e8e8e8;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-size: 16.5px;
    background-color: var(--loginBgBox);
}

/*Manejo de vista con el menu lateral*/
.pageBody {
    display: flex;
    flex-direction: row;
}

.pageCnt {
    width: 82vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--pageCntBg);
}

/*FOOTER GLOBAL CSS*/
footer {
    width: 100%;
    height: 40px;
    text-align: center;
    color: var(--fotColor);
    font-family: 'OpenSans';
    font-weight: 300;
    font-size: .75rem;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitScreen {
    z-index: 200;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--waitBg);
    color: var(--waitColor);
    display: flex;
    align-items: center;
    transition: all .3s;
    opacity: 0;
    justify-content: center;
}

.errMsgLbl {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 75%;
    text-align: left;
    font-weight: 600;
    font-family: 'Montserrat';
    width: calc(100% - 5px);
    padding-left: 5px;
    color: var(--errColor);
    outline: none;
}

.tblMsgErr {
    position: relative;
    height: auto;
    padding-bottom: 10px;
}

.tblMsgErr .errMsgLbl {
    top: 0;
    left: 0;
    width: max-content;
    position: relative;
}

/*Virtual select - hook */
.vscomp-ele .popInpt {
    min-height: 40px;
}

.vscomp-wrapper {
    font-family: 'Montserrat';
    font-size: .8125rem;
}

.vscomp-toggle-button {
    border: none;
}

.vscomp-wrapper.show-value-as-tags .vscomp-toggle-button {
    box-shadow: none;
    padding: 4px 22px 0 5px;
    border-radius: 12px;
}

.vscomp-wrapper.focused .vscomp-toggle-button,
.vscomp-wrapper:focus .vscomp-toggle-button {
    box-shadow: none;
    padding: 4px 22px 0 5px;
}

.vscomp-wrapper.show-value-as-tags .vscomp-value-tag {
    background-color: #E2E2E2;
}

/*ESTILO PARA BOTONES GLOBAL*/
/*REF "fm" para firstmodel */
.fmBtn {
    cursor: pointer;
    display: flex;
    color: var(--firstBtnColor);
    background-color: var(--firstBtnBg);
    border-radius: 12px;
    width: calc(100% - 1.6px);
    border: 1px solid var(--firstBtnBg);
    height: 40px;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 85%;
}

/*REF "sm" para secondmodel */
.smBtn {
    cursor: pointer;
    display: flex;
    color: var(--secondBtnColor);
    background-color: var(--secondBtnBg);
    border-radius: 12px;
    width: calc(100% - 1.6px);
    border: 1px solid var(--secondBtnColor);
    height: 40px;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 85%;
    outline: none;
}

/*Popups*/
.popup {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    background-color: var(--popupBg);
    transition: all .3s;
    opacity: 0;
    align-items: center;
    justify-content: center;
    display: none;
    left: 0;
    top: 0;
}

.popupScroll::-webkit-scrollbar,
.popupSctScroll::-webkit-scrollbar {
    width: 7px;
    background: var(--menuBg);
}

.popupScroll::-webkit-scrollbar-track,
.popupSctScroll::-webkit-scrollbar-track {
    border-radius: 10px;
}

.popupScroll::-webkit-scrollbar-thumb,
.popupSctScroll::-webkit-scrollbar-thumb {
    background: var(--menuScrollBar);
    border-radius: 10px;
}

.popupScroll::-webkit-scrollbar-thumb:hover,
.popupSctScroll::-webkit-scrollbar-thumb:hover {
    background: var(--menuScrollBar);
}

.popupBox {
    width: 90%;
    max-width: 420px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.5);
    background-color: var(--popupBoxBg);
    padding: 4.5vh 30px;
    display: flex;
    flex-direction: column;
}

.popupHdCnt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}

.popupHeadMenu {
    position: relative;
    margin-right: auto;
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 2vh;
}

.popupHMenuTbl {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    column-gap: 15px;
}

.popupHMenuOpt {
    padding: 10px 10px;
    font-weight: bold;
    font-size: 85%;
    font-family: 'Montserrat';
    cursor: pointer;
    color: var(--popupHeadColorDis);
    background-color: transparent;
    border-radius: 12px;
}

.popupHMenuOpt[selected="1"] {
    cursor: auto;
    color: var(--popupHeadColorActv);
    background-color: var(--popupHeadColorActvBg);
    /*border-color: var(--popupHeadColorActv);*/
}

.popupHideVw {
    max-width: 100%;
    overflow: hidden;
    display: block;
    position: relative;
}

.popupFullCnt {
    left: 0%;
    flex-direction: row;
    display: flex;
    position: relative;
    transition: all .3s;
}

.popupw200 {
    width: 200%;
}

.popupw300 {
    width: 300%;
}

.popupw400 {
    width: 400%;
}

.popupFrmCnt {
    margin-right: 5px;
    margin-left: 5px;
}

.popupw200 .popupFrmCnt {
    width: calc(50% - 10px);
}

.closePopup {
    position: absolute;
    right: -25px;
    top: -2.5vh;
    cursor: pointer;
    color:var(--popopIcClose);
}

.popupTit {
    font-weight: bold;
    font-family: 'Montserrat';
    text-align: left;
    font-size: 120%;
    color: var(--popupTitColor);
}

.popupDateLblCnt {
    text-align: right;
}

.popupDateLbl {
    color: var(--popupDateLblColor);
    font-family: 'Lato';
    font-size: .75rem;
}

.popupSubHdCnt {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 15px;
    margin-bottom: 10px;
}

.popupMsgSct {
    margin-top: 1vh;
    min-height: 4vh;
    margin-bottom: 1vh;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 85%;
    width: 100%;
    color: var(--popupTxtColor);
}

.popupMsgSctB {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 85%;
    width: 100%;
    color: var(--popupTxtColor);
    font-weight: bold;
    min-height: auto;
    margin-top: 0;
    width: auto;
}

.popupBtnSct {
    display: none;
    flex-direction: row;
    column-gap: 15px;
    width: 100%;
    justify-content: flex-start;
}

.popupBtnSct button {
    max-width: 190px;
}

.popMidCnt {
    /*Tamaño de estilos simliar a los botones*/
    display: flex;
    flex-direction: row;
    column-gap: 15px;
    width: 100%;
    align-items: flex-start;
}

.popInptFrm {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 15px;
}

.popInptLbl {
    font-family: 'Montserrat';
    font-weight: bold;
    color: var(--popupFrmLblColor);
    font-size: 70%;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 15px;
    width: calc(100% - 10px);
}

.popInptCnt {
    border: 1px solid #D7D7D7;
    border-radius: 11px;
    height: 40px;
    width: 100%;
    position: relative;
}

.popInptCnt:has(.statusBox) input[type="checkbox"]{
    opacity: 0;
    width: 100%;
    height: 70%;
    position: absolute;
    top: 10%;
    left: 0;
    cursor: pointer;
}

.popInptCnt input[type="checkbox"]+.statusBox {
    background-color: #FFFFFF;
    border: 1px solid #DAD9D9;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.popInptCnt input[type="checkbox"]:checked+.statusBox {
    background-color: #0035AA;
}
.popInptCnt input[type="checkbox"]:checked+.statusBox::after{
    color: #FFFFFF;
    content: "\f00c";
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
}
.popInptCnt.popDaterange {
    display: flex;
    justify-content: space-around;
    column-gap: 5px;
}

.popDaterange input[type="date"] {
    border: none;
    width: 100%;
    outline: none;
    text-align: center;
    background:transparent;
    color: var(--popupInptColor);
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 85%;
}

.popDaterange span {
    background-color: #F8F8FA;
    border-left: 1px solid #D3D2D2;
    border-right: 1px solid #D3D2D2;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 80%;
    padding-left: 5px;
    padding-right: 5px;
}

.popDaterange.dateDisabled{
    background-color: #F8F8FA;
}

.popDaterange.dateDisabled input[type="date"][disabled] {
    background-color: #F8F8FA;
}

.popDaterange.dateDisabled input[type="date"][disabled] {
    color: #A5B7CF;
}

.popDaterange.dateDisabled span {
    opacity: 45%;
}

.popInptCnt>input[readonly], 
.popInptCnt>input[disabled], 
.popInptCnt>select[disabled], 
.popInptCnt>textarea[disabled] {
    border-color: transparent;
}

.popInptCnt:has(.listMltCnt){
    height: auto;
}

.popInptCnt:has(.textarea) {
    margin: 0;
    height: auto;
    width: calc(100% - 2px);
}

.popInptCnt select.popInpt {
    padding: 0px 10px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.popInptCnt:has(select)::after {
    content: "\f0d7";
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    font-size: 75%;
    pointer-events: none;
    position: absolute;
    right: 15px;
    bottom: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
}

.popInptFrm:has(.errMsgLbl) .popInptCnt {
    border-color: var(--errColor);
}

.popInptCnt:has(.popLblLeft) {
    display: flex;
    flex-direction: row;
}

.popInptCnt:has(.loadImgBox) {
    margin: 0;
    border: none;
    width: calc(100% - 2px);
}

.loadImgBox{
    height: 140px;
    background-color: #FFFFFF;
    border: 1px solid #D3D2D2;
    border-radius: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.loadImgBox input[type="file"]{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.loadImgBox[active] .imgIc{
    display: none;
}

.loadImgBox[active] .imgLbl {
    display: none;
}

.imgIc{
    background-image: url('../img/cameraic.png');
    width: 100px;
    height: 35px;
    margin-bottom: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.imgLbl{
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 85%;
    color:#A5B7CF;
}

.poupDelItemLbl:has(.errMsgLbl) {
    border-color: var(--errColor);
}

.popInpt {
    resize: none;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 100%;
    padding: 0;
    border: none;
    color: var(--popupInptColor);
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 85%;
    outline: none;
    border-radius: inherit;
    background-color: var(--popupInptBg);
}

.popInpt::placeholder {
    color: #D7D7D7;
}

.popInpt.textarea {
    display: block;
    resize: none;
    height: 20px;
    width: calc(100% - 20px);
    padding: 9px 10px;
}


.popInpt[type="text"],
.popInpt[type="password"] {
    padding: 0px 10px;
    width: calc(100% - 20px);
}

.popInpt[type="date"], .popInpt[type="datetime-local"] {
    text-indent: 5px;
}


.popInpt[type="number"]::-webkit-outer-spin-button,
.popInpt[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Firefox */
.popInpt[type="number"] {
    padding: 0px 10px;
    width: calc(100% - 20px);
    -moz-appearance: textfield;
    appearance: textfield;
    /*-webkit-appearance: none;*/
}

.popInpt[readonly],
.popInpt[disabled] {
    background-color: var(--bgInptDisabled);
    color: var(--colorInptDis);
    opacity: 1;
}

.popLblLeft {
    background-color: #D7D7D7;
    width: 50%;
    height: 100%;
    font-family: 'Montserrat';
    font-weight: bold;
    color: var(--popupInptColor);
    font-size: 75%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    position: relative;
}

.popLblLeft+input[type="number"],
.popLblLeft+input[type="text"] {
    width: calc(50% - 20px);
}

.popSwitchFrm {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.popSwitchFrm:has(.statusBox){
    margin-bottom: 5px;
}

.popSwitchFrm .popInptLbl {
    padding-bottom: 2px;
    width: auto;
}

.popSwitchFrm .popInptCnt {
    border: none;
    padding-left: 5px;
    display: flex;
    align-items: center;
    width: auto;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 18px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--switchBg);
    -webkit-transition: transform .4s;
    transition: transform .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 15px;
    left: 2px;
    bottom: 2px;
    background-color: var(--switchColor);
    -webkit-transition: transform .4s;
    transition: transform .4s;
}

input:checked+.slider {
    background-color: var(--switchActvBg);
}


input:checked+.slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 33px;
}

.slider.round:before {
    border-radius: 50%;
}

input[type="checkbox"][disabled]+.slider {
    cursor: auto;
    background-color: var(--bgInptDisabled);
}

input[type="checkbox"][disabled]+.slider:before {
    background-color: #FFF;
}

.poupDelItemLbl {
    width: 100%;
    color: var(--popupTxtColor);
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F4F7F8;
    border-color: #D7D7D7;
    margin-bottom: 4vh;
    border: 1px solid #D7D7D7;
    border-radius: 6px;
    height: 38px;
    position: relative;
    text-align: center;
}

/*Box general para error en INPT*/
.errmsgSct {
    display: none;
    flex-direction: row;
    color: var(--errColor);
    margin-bottom: 10px;
    margin-top: -5px;
    align-items: center;
}

.errmsgSct i {
    font-size: 70%;
}

.errmsgSct:has(.errMsgLbl) {
    display: flex;
}

.errmsgSct .errMsgLbl {
    position: relative;
    width: auto;
}

.errMsgLbl {
    /*top: 100%;
    left: 5px;*/
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 70%;
    text-align: left;
    font-weight: 600;
    font-family: 'Montserrat';
    width: calc(100% - 5px);
    padding-left: 5px;
    color: var(--errColor);
    outline: none;
}

/*Lista de select multiple*/
.listMltCnt {
    display: block;
    height: auto;
    max-height: 120px;
    overflow-y: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.optMltCnt {
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.lblOptMlt {
    font-size: 85%;
    font-weight: 600;
    font-family: 'Montserrat';
    text-align: left;
    min-height: 100%;
    display: flex;
    align-items: center;
}

.cntCheckMlt input[type="checkbox"] {
    margin: 0;
    width: 15px;
    height: 15px;
    z-index: 2;
}

.cntCheckMlt {
    min-width: 30px;
    height: 100%;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cntCheckMlt span.midBox {
    margin: 0;
    width: 12.5px;
    height: 12.5px;
    border-radius: 3px;
    position: absolute;
    left:7.5px;
    top:calc(50% - 7.5px);
    background-color: #0075ff;
    border: 1.5px solid #767676;
    z-index: 1;
    /* For browsers that do not support gradients */
    background: linear-gradient(135deg, #0075ff 50%, #ffffff 50%);
}

.listMltCnt::-webkit-scrollbar {
    width: 7px;
    background: var(--menuBg);
}

.listMltCnt::-webkit-scrollbar-track {
    border-radius: 10px;
}

.listMltCnt::-webkit-scrollbar-thumb {
    background: #979797;
    border-radius: 10px;
}

.listMltCnt::-webkit-scrollbar-thumb:hover {
    background: var(--menuScrollBar);
}

.optList {
    position: absolute;
    overflow-y: auto;
    max-height: 18vh;
    max-width: 20vw;
    z-index: 3;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 5px 12px 0px rgb(65 65 65 / 28%);
}

.optList option {
    min-height: 25px;
    font-size: .75rem;
    font-family: 'Montserrat';
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    word-break: break-all;
    width: calc(100% - 20px);
    white-space: break-spaces;
    border-bottom: 1px solid var(--colorInptDis);
    cursor: pointer;
}

.optList option:hover {
    background-color: var(--pageTblRowBgAlt);
}

.optList option[disabled] {
    color: var(--disabledOption);
    opacity: .8;
    pointer-events: none;
}

.optList::-webkit-scrollbar {
    width: 7px;
    background: var(--menuBg);
}

.optList::-webkit-scrollbar-track {
    border-radius: 10px;
}

.optList::-webkit-scrollbar-thumb {
    background: #979797;
    border-radius: 10px;
}

.optList::-webkit-scrollbar-thumb:hover {
    background: var(--menuScrollBar);
}
/***hasta aquí popups****/

/*Seccion de tabla en mantenimientos*/
.pageSect {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    height: calc(100% - 40px);
}

.pgSctTit {
    font-family: 'Montserrat';
    font-weight: bold;
    color: var(--titSctColor);
    font-size: 125%;
    margin-top: 4vh;
    height: 4vh;
    display: flex;
    align-items: center;
}

.pgSctHead {
    display: flex;
    align-items: center;
    width: 100%;
    height: 10VH;
    margin-bottom: 2vh;
    flex-direction: row;
    justify-content: space-between;
}

.filterCnt {
    width: 100%;
    display: flex;
    column-gap: 1.5%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
}

.searchSct {
    display: flex;
    width: 25%;
    height: 38px;
    border: 1px solid var(--srchBorderColor);
    background-color: var(--srchBg);
    border-radius: 13px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.03);
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.searchStatus {
    width: 20%;
}

.searchSct:has(select)::after {
    content: "\f0d7";
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    font-size: 75%;
    pointer-events: none;
    position: absolute;
    right: 15px;
    bottom: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
}

.searchDaterange span {
    background-color: #D7D7D7;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Montserrat';
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
}

.searchSct input[type="date"], .searchSct input[type="datetime-local"] {
    border: none;
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 85%;
    outline: none;
}

.searchDaterange input[type="datetime-local"] {
    width: calc(50% - 45px);
}

.searchSct input[type="time"] {
    border: none;
    font-family: 'Lato';
    font-weight: 600;
    font-size: 85%;
    outline: none;
    text-align: center;
}

.searchSct select {
    width: 100%;
    height: 80%;
    border: none;
    outline: none;
    padding-left: 10px;
    font-size: 85%;
    font-family: 'Montserrat';
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--searchBg);
}

.searchInpt {
    font-size: 85%;
    font-family: 'Montserrat';
    font-weight: 600;
    outline: none;
    border: none;
    padding-left: 10px;
    width: calc(100% - 45px);
}

.searchInpt::placeholder {
    color: #D7D7D7;
}

.searchIc {
    color: var(--searchIc);
    padding-right: 5px;
    padding-left: 5px;
    font-size: 70%;
    width: 25px;
    text-align: center;
    cursor: pointer;
}

.addBtn, .icBtn {
    width: 100px;
    height: 40px;
    display: flex;
    flex-direction: row;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    color: var(--addBtnColor);
    background-color: var(--addBtnBg);
    border-radius: 13px;
    text-align: center;
    cursor: pointer;
}

.addBtn span, .icBtn span{
    font-size: 80%;
    font-family: 'Montserrat';
    font-weight: bold;
    border-radius: 13px;
}

.addBtn[disabled],.icBtn>[disabled],.addBtn>[disabled], .addBtn:has([disabled]) {
    background-color: var(--firstBtnDisBg);
    border-color: var(--firstBtnDisBg);
    cursor: auto;
    pointer-events: none;
}

.saveBtn[disabled],.delBtn[disabled]{
    background-color: var(--firstBtnDisBg);
    border-color: var(--firstBtnDisBg);
    color: #FFFFFF;
    cursor: auto;
    pointer-events: none;
}

.pgSctTbl {
    padding: 15px;
    height: calc(100% - 20vh - 40px);
    width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
    background-color: var(--pageTblBg);
    border-radius: 8px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.03);
}

.orderCol[colval] {
    cursor: pointer;
}

.orderCol[colval] i{
    padding-left: 5px;
}

.orderColMult {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 3px;
}

.orderColMult span {
    font-size: .670rem;
}

.tblSct {
    width: 100%;
    height: 87%;
    padding-bottom: 0;
    overflow: auto;
}

.tblSct>table,
.tblSct>.table {
    width: 100%;
    border-spacing: 0;
    height: 100%;
}

.tblSct>table>thead,
.tblSct>.table>.thead {
    display: table;
    /*Se resta el scrollbar del header*/
    width: 100%;
}

.tblSct>table>thead tr,
.tblSct>.table>.thead .tr {
    display: table;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--pageTblHeaderBg);
    color: var(--pageTblHeaderColor);
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 80%;
    height: 38px;
    border-radius: 3px;
}

.tblSct>.table>.thead>.tr>div,
.tblSct>.table>.tbody>.tr>div{
    display: table-cell;
    vertical-align: middle;
}

.tblSct>table>tbody,
.tblSct>.table>.tbody {
    /* to enable vertical scrolling */
    display: block;
    height: calc(100% - 40px);
    overflow-y: auto;
    /* keeps the scrollbar even if it doesn't need it; display purpose */
}

.tblSct>table>tbody::-webkit-scrollbar,
.tblSct>.table>.tbody::-webkit-scrollbar {
    width: 7px;
    background: var(--menuBg);
}

.tblSct>table>tbody::-webkit-scrollbar-track,
.tblSct>.table>.tbody::-webkit-scrollbar-track {
    border-radius: 10px;
}

.tblSct>table>tbody::-webkit-scrollbar-thumb,
.tblSct>.table>.tbody::-webkit-scrollbar-thumb {
    background: var(--menuScrollBar);
    border-radius: 10px;
}

.tblSct>table>tbody::-webkit-scrollbar-thumb:hover,
.tblSct>.table>.tbody::-webkit-scrollbar-thumb:hover {
    background: var(--menuScrollBar);
}

.tblSct>table>tbody>tr,
.tblSct>.table>.tbody>.tr  {
    color: var(--pageTblColor);
    background-color: var(--pageTblBg);
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 80%;
    height: 37px;
    display: table;
    width: 100%;
    box-sizing: border-box;
}

.tblSct>.table>.tbody>div {
    background-color: var(--pageTblBg);
}

.tblSct>table>tbody>tr:nth-child(2n),
.tblSct>.table>.tbody>div:nth-child(2n) {
    background-color: var(--pageTblRowBgAlt);
}

.tblSct>table>tbody>tr:hover,
.tblSct>.table>.tbody>div:hover {
    background-color: var(--pageTblBgHov);
    cursor: pointer;
}

.tblSct>table>tbody>.tr>div,
.tblSct>table>thead>.tr>div {
    vertical-align: middle;
    text-align: center;
    word-break: break-all;
    display: table-cell;
}

.tblSct>table>thead>tr>th,
.tblSct>table>tbody>tr>td {
    vertical-align: middle;
    text-align: center;
    word-break: break-all;
    border-right: 1px solid #ECECEC;
}

.tblSct>table>thead>tr>th:last-child,
.tblSct>table>tbody>tr>td:last-child{
    border-right: none;
}

.statusBox{
    background-color: #FFFFFF;
    border: 1px solid #DAD9D9;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.statusBox[active]{
    background-color: #0035AA;
    color: #FFFFFF;
}

.imgBox{
    width:40px;
    height: 40px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
}

/*Controll de tamaño de celdas para las tablas*/
.cell8{
    width:8%;
}

.cell9 {
    width: 9%;
}

.cell10{
    width: 10%;
}

.cell12 {
    width: 12%;
}

.cell12Mid{
    width:12.5%;
}

.cell15 {
    width: 15%;
}

.cell17Mid {
    width: 17.5%;
}

.cell18 {
    width: 18%;
}

.cell20{
    width: 20%;
}

.cell22 {
    width: 22%;
}

.cell22Mid{
    width: 22.5%;
}

.cell23{
    width: 23%;
}

.cell24 {
    width: 24%;
}

.cell25 {
    width: 25%;
}

.cell27Mid {
    width: 27.5%;
}

.cell30 {
    width: 30%;
}

.cell35 {
    width: 35%;
}

.cell37Mid {
    width: 37.5%;
}

.cell40 {
    width: 40%;
}

.cell45{
    width:45%;
}

.cell50{
    width: 50%;
}

.cell60{
    width: 60%;
}

.cell70{
    width: 70%;
}

.cell75{
    width: 75%;
}

.cell80{
    width: 80%;
}

.cell90 {
    width: 90%;
}

.cell100{
    width: 100%;
}

/****/

/*PAGINADO de la TABLA*/
/*Seccion de paginado dentro de la seccion de la tabla*/
.pagSct {
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.pagNumofrec {
    display: none;
    color: var(--pageTblColor);
    font-size: .72rem;
    font-family: 'Lato';
    font-weight: 400;
    padding-bottom: 3px;
}

.pagBox {
    height: 35px;
    display: flex;
    justify-content: space-between;
    border-radius: 4px;
    flex-direction: row;
    align-items: center;
    background-color: var(--pageTblRowBgAlt);
}

.pagBoxNums {
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--pageTblColor);
}

span.pagArrow {
    width: 20px;
    display: inline-block;
    text-align: center;
    font-size: .74rem;
    padding: 0px 10px;
    color: var(--pageTblColorSel);
    cursor: pointer;
}

.arrowDis span.pagArrow {
    color: rgb(24 25 25 / 30%);
    cursor: auto;
}

span.pagNum {
    width: 20px;
    display: inline-block;
    text-align: center;
    font-size: 75%;
    padding: 7px 5px;
    font-family: 'Montserrat';
    border-radius: 6px;
    font-weight: 400;
    cursor: pointer;
}

.pagBoxPrev span.pagArrow:first-child {
    padding-right: 0px;
}

.pagBoxNext span.pagArrow:last-child {
    padding-left: 0px;
}

span.pagNum[selected="1"] {
    /*
    background-color: var(--pageTblSel);
    color: var(--pageTblColorSel);*/
    font-weight: bold;
    /*Evitamos que pulse el que esta seleccionado*/
    pointer-events: none;
}
/**/

/**Alineamienot del texto dentro de las celldas**/
.tblSct>table>thead>tr>th.aLeft,
.tblSct>table>tbody>tr>td.aLeft,
.tblSct>table>thead>tr>th>div.aLeft,
.tblSct>.table>.thead>.tr .th.aLeft,
.tblSct>.table>.tbody>.tr .td.aLeft,
.tblSct>.table>.thead>.tr .th>div.aLeft{
    text-align: left;
    padding-left: 20px;
}

.tblSct>table>thead>tr>th.aRight,
.tblSct>table>tbody>tr>td.aRight,
.tblSct>table>thead>tr>th>div.aRight{
    text-align: right;
    padding-right: 20px;
}

.tblSct>table>thead>tr>th.aCenter,
.tblSct>table>tbody>tr>td.aCenter,
.tblSct>table>thead>tr>th>div.aCenter,
.tblSct>.table>.thead>.tr>.th.aCenter,
.tblSct>.table>.tbody>.tr>.td.aCenter,
.tblSct>.table>.thead>.tr>.th>div.aCenter{
    text-align: center;
}

