/*reset*/
html, body, div, applet, object, iframe, img, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font,ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, center, i, div, header, section, footer {border:0;outline:0; box-sizing: border-box; line-height: 0; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 400; text-decoration: none; line-height: 1.2em;}

html {scroll-behavior: smooth; background-color: #f5f4f4;}
body{overflow-x: hidden;}
*{margin:0;padding:0}
:focus{outline:0}
ol, ul{list-style:none}
table{border-collapse:collapse;border-spacing:0;}
blockquote, q{quotes:"" ""}
em {font-weight: 400; font-style: normal;}
hr{border:0;color:#FFFFFF;}
blockquote:before, blockquote:after, q:before, q:after{content:""}
.cky-consent-container{visibility: visible!important;}
.cky-btn-revisit-wrapper{display: none!important}

.textocentro{text-align: center;}
.textoderecha{text-align: right;}

.menumobil {position: absolute;top: 28px;right: 25px;display: none;cursor: pointer;padding: 0;transition: opacity 0.5s ease-in-out;transition: background 0.1s ease-in-out;order: 3;min-height: 30px;}
.menumobil>.bar1,.menumobil>.bar2,.menumobil>.bar3 {width: 25px;height: 2px;background-color: rgba(255, 255, 255, 1);margin: 6px 0;transition: 0.4s;}
.change.bar1 {-webkit-transform: rotate(-45deg) translate(-4px, 7px); transform: rotate(-45deg) translate(-4px, 7px);}
.change.bar2 {-webkit-transform: rotate(45deg) translate(1px, -2px); transform: rotate(45deg) translate(1px, -2px);}
.change.bar3 {display: none !important}

.masdocs{cursor: pointer}

.flexat {display: inline-flex;width: 100%;flex-wrap: wrap;}
.flexat.dalt {align-items: flex-start}
.flexat.abaix {align-items: flex-end}
.flexat.centre {align-items: center}
.flexat.mismaaltura {align-items: stretch;}
.flexat.inici {justify-content: flex-start}
.flexat.final {justify-content: flex-end}
.flexat.centrat {justify-content: center}
.flexat.total {justify-content: space-between}

.flexat2 {width: 49%}
.flexat3 {width: 31%}
.flexat4 {width: 23.7%;margin-right: 1.6%;}
.flexat4:nth-child(4n+0) {margin-right: 0%;}
.flexat5 {width: 18.2%;margin-right: 1.6%;}
.flexat5:nth-child(5n+0) {margin-right: 0%;}

.marginbottom5{margin-bottom: 5px;}
.marginbottom10{margin-bottom: 10px;}
.marginbottom20{margin-bottom: 20px;}
.marginbottom40{margin-bottom: 40px;}
.margintop40{margin-top: 40px;}
.margintop20{margin-top: 20px;}
.margintop10{margin-top: 10px;}

.comobotonv2 {cursor: pointer;font-weight: bold;font-size: 16px !important;line-height: 1;}

.formulario {width: 100%;margin-top: 0px;text-align: left;display: inline-flex;justify-content: flex-start;align-items: flex-start;flex-wrap: wrap;position: relative; margin-bottom: 20px}
.formulario>div {font-size: 13px; line-height: 1em;}
.formulario.confondo > div {padding: 8px; background-color: rgba(62, 83, 102, 0.1); border-radius: 10px;}
.formulario.sinmargen {margin-top: 0;margin-bottom: 0}
.formulario .col20 {width: 18%;margin-right: 2%}
.formulario .col15 {width: 13%;margin-right: 2%}
.formulario .col10 {width: 8%;margin-right: 2%}
.formulario .col5 {width: 3%;margin-right: 2%}
.formulario .col8 {width: 6%;margin-right: 2%}
.formulario .col7 {width: 5%;margin-right: 2%}
.formulario .col25 {width: 23%;margin-right: 2%}
.formulario .col30 {width: 28%;margin-right: 2%}
.formulario .col35 {width: 33%;margin-right: 2%}
.formulario .col40 {width: 38%;margin-right: 2%}
.formulario .col45 {width: 43%;margin-right: 2%}
.formulario .col50 {width: 48%;margin-right: 2%}
.formulario .col55 {width: 53%;margin-right: 2%}
.formulario .col60 {width: 58%;margin-right: 2%}
.formulario .col70 {width: 68%;margin-right: 2%}
.formulario .col80 {width: 78%;margin-right: 2%}
.formulario .col90 {width: 88%;margin-right: 2%}
.formulario .col95 {width: 93%;margin-right: 2%}
.formulario .col100 {width: 100%;margin-right: 2%}
.formulario label {
    color: rgba(0, 22, 66, 1);
    font-size: 13px;
    font-weight: 700;
    display: block;
    padding-bottom: 5px;
}
.formulario .separadora{height: 1px; width: 100%;background-color: rgba(0, 22, 66, 0.2);margin-top:8px;margin-bottom: 12px; margin-right: 0px}
.formulario.cabecera{margin-bottom: 10px; border-bottom: 1px solid rgba(0, 22, 66, 0.5); padding-bottom: 5px;}
.formulario .titular{font-weight: bold; font-size: 12px;}
.formulario select{
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    height: 28px;
    padding: 0 10px;
    line-height: 28px;
}

.formulario.listado {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: 30px;
    border-bottom: 1px solid rgba(0, 22, 66, 0.2);
    align-items: center;
}

.formulario.listado > div {
    padding: 7px 0;
    line-height: 1.2em;
}

.detalleproducto{padding: 20px 10px 0px 10px; background-color: rgba(62, 83, 102, 0.1); border-radius: 10px; margin-top: 10px;}

.oculto{display: none}
.opedoc{width: 18px; height: 18px; cursor: pointer;}
#detallef2docs{display: none;}

a, .comoboton {-moz-transition: all 0.5s ease-in-out;-webkit-transition: all 0.5s ease-in-out;transition: all 0.5s ease-in-out;}
.cienalto{min-height: 100vh; padding: 20px}

.ultimo{margin-right: 0!important}
/*homepage*/

.headerv2 {width: 960px;position: absolute;top: 40px;left: 50%;margin-left: -480px;z-index: 1;}
.headleft {width: 100px;}
.headright {text-align: right;}
.headright a{color: white; border-radius: 20px; padding: 10px 20px 10px 20px; background-color: rgba(62, 83, 102, 1); font-size:12px; font-weight: bold; text-decoration: none;}

.homepagev2 .espacioform {z-index: 1;position: absolute;top: 50%;left: 50%;margin-top: -125px;margin-left: -150px;background-color: rgba(62, 83, 102, 0.85);border-radius: 20px;padding: 30px 20px 30px 20px;width: 300px;height: 250px;-webkit-box-shadow: 0px 3px 15px 4px rgba(0, 0, 0, 0.47);box-shadow: 0px 3px 15px 4px rgba(0, 0, 0, 0.47);}
.homepagev2 .espacioform h2 {color: white;font-weight: bold;text-align: center;font-size: 18px;margin-bottom: 20px}
.homepagev2 .espacioform input {text-align: center;padding: 10px !important;border-radius: 15px;border: 0px solid white;margin-bottom: 10px;}
.homepagev2 .logov2 img {margin-right: 0 !important;width: 70px}
.homepagev2 .logov2 {text-align: center;margin-bottom: 20px;}
.homepagev2 .comoboton {border-radius: 20px;padding: 10px!important;background-color: rgba(255, 255, 255, 1);border: 1px solid white;color: rgba(62, 83, 102, 1);font-weight: bold}
.homepagev2 .comoboton:hover {background-color: rgba(62, 83, 102, 1);color: rgba(255, 255, 255, 1);}
#myVideo { object-fit: cover; width: 100%; height: 100%; position: absolute; top: 0; left: 0;}
.headright #login-form p {color: white;font-weight: bold;margin-bottom: 20px}
#login-form label {color: rgba(46, 81, 102, 1);font-size: 12px;display: block;text-align: left}
.errorTxt {margin-top: 10px;color: white;font-size: 12px;display: block !important;}
#login-form input,.comoboton {width: 100%;padding: 5px;box-sizing: border-box}
#login-form .enviar,.comoboton {margin-top: 5px;background-color: rgba(46, 81, 102, 1);font-family: 'Montserrat', sans-serif;text-align: center;border: 1px solid white;font-size: 12px;color: white;cursor: pointer;padding: 8px 20px 8px 20px}
#login-form .enviar:hover,.comoboton:hover {color: rgba(255, 255, 255, 0.5)}
#login-form>div {display: block;margin-top: 5px}
.homepagev2 .comoboton:hover {background-color: rgba(62, 83, 102, 1);color: rgba(255, 255, 255, 1);}


.loading{font-size: 12px; font-weight: bold; color: rgba(62, 83, 102, 1); animation: blink 1s linear infinite;}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/*detalle*/
.izqv2{width: 220px;background-color: rgba(62, 83, 102, 1);border-radius: 20px;padding: 30px 20px 20px 20px; min-height: calc(100% - 60px);position: fixed;top: 20px;left: 20px;}
.logo img {width: 100px;}
.menu{margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.4); padding-top: 15px}
.menu li{margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 15px}
.menu li.conespacio{margin-top: calc(100vh - 545px); border-top: 1px solid rgba(255,255,255,0.4); padding-top: 15px; margin-bottom: 0px;}
.menu li a{color: white; font-size: 15px; font-weight: bold; }
.menu li a:hover, .menu li a.apretat{padding-left: 5px; transition: all 0.5s ease-in-out; color: rgba(247, 147, 26, 1);}
.izqv2 p{color: white; font-size: 12px; font-weight: 400; margin-top: 20px;}

.derv2{width: 100%; padding-left: 240px}
.bloque{border-radius: 20px;padding: 20px 20px 20px 20px; background-color: rgba(255, 255, 255, 0.95);margin-bottom: 20px; border: 1px solid rgba(62, 83, 102, 1);}
.bienvenida{margin-bottom: 15px; margin-top: 10px;}
.bienvenida .texteintro{border-left: 5px solid rgba(62, 83, 102, 1); padding: 10px 0px 15px 15px}
.bienvenida .texteintro h2{color: rgba(62, 83, 102, 1); font-size: 26px; font-weight: bold;}
.bienvenida .texteintro h3{color: rgba(62, 83, 102, 1); font-size: 14px; font-weight: 400;}
.bienvenida .detallenombre{background-color: rgba(62, 83, 102, 1); color: white; padding: 8px 17px 6px 32px;border-radius: 20px;font-size: 13px;font-weight: 700;text-align: right; }
.bienvenida .detallenombre span{color: rgba(62, 83, 102, 1); color: white; font-size: 11px; font-weight: 400; text-align: right; display: block;}

.datosinicio h2{color: rgba(62, 83, 102, 1); font-size: 14px; font-weight: bold;}
.datosinicio h3{color: rgba(62, 83, 102, 1); font-size: 60px; font-weight: 400; line-height: 1.2em;}
.datosinicio h4{color: rgba(62, 83, 102, 1); font-size: 12px; font-weight: 400; line-height: 1.2em}

.filtro, .filtro2, .filtro3{border-radius: 20px;padding: 10px 30px 8px 30px; background-color: rgba(62, 83, 102, 0.1);margin-left: 20px; border: 1px solid rgba(62, 83, 102, 1); display: inline-block; color: rgba(62, 83, 102, 1); font-size: 12px; font-weight: bold; cursor: pointer;}
.filtro:hover, .filtro.activo, .filtro2:hover, .filtro2.activo{background-color: rgba(62, 83, 102, 1); color: white; transition: all 0.5s ease-in-out;}

.alertabloque{position: relative;}
.alertabloque span{position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

footer { padding: 10px 0px 10px 0px;box-sizing: border-box; margin-top: 40px }
footer .flexat3 { font-size: 12px; text-align: left;line-height: 1.6em;}
footer .footerfinal {margin-top: 10px;padding-top: 10px;border-top: 1px solid rgba(46, 81, 102, 1);}
footer .footerfinal li,footer .footerfinal li a {font-size: 11px; color: black; margin-right: 20px}
footer .footerfinal li:nth-child(1){margin-right: 60px; font-weight: bold; color: rgba(62, 83, 102, 1);}


h2.introtext{color: rgba(62, 83, 102, 1); font-size: 18px; font-weight: bold;}
h3.introtext{color: rgba(62, 83, 102, 1); font-size: 12px; font-weight: 400; margin-bottom: 20px}

.formulario .new::after{display: inline-block; content: "Nuevo"; color: rgba(247, 147, 26, 1); font-size: 10px; font-weight: bold; margin-left: 5px;}

@media screen 
and (max-width : 1600px) 
and (min-width : 1301px)
{
    .izqv2 {width: 170px;}
    .derv2 {padding-left: 190px;}
    .ocultonivel1 {display: none}

}


@media screen 
and (max-width : 1300px) 
and (min-width : 1024px)
{

    .ocultonivel1, .ocultonivel2 {display: none}
    .emailusuario{width: 28%!important;}
    .operacionesproducto{width: 28%!important;}
}


@media screen 
and (max-width : 1023px) 
and (min-width : 782px)
{
    .ocultonivel1, .ocultonivel2, .ocultonivel3 {display: none}
    .derv2 { padding-left: 0px; padding-top: 90px;}
    .izqv2{position: fixed; width: calc(100% - 40px); margin-bottom: 10px; min-height: auto;}
    .menu{display: none}
    .menumobil{display: block}
    .menu li.conespacio{margin-top: 0;border-top: 0px solid rgba(255, 255, 255, 0.4);padding-top: 0;}
}

@media screen 
and (max-width : 781px) 
{
    .ocultonivel1, .ocultonivel2, .ocultonivel3, .ocultonivel4 {display: none}
}

/* Tabla de Documentación: filas más compactas */
.fila-documento {
    margin-top: 0;
    margin-bottom: 0 !important;
    min-height: 0;
    height: auto;
    align-items: center;
}

.fila-documento > div:not(.separadora) {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1.1em;
}

/* La línea divisoria no debe aportar altura ni márgenes */
.fila-documento > .separadora {
    margin-top: 0;
    margin-bottom: 0;
}