/* Identidad CIEG. Estilos de presentacion; sin cambios al calendario ni sus datos. */
:root{--cieg:#59527b;--cieg-deep:#39344f;--cieg-soft:#f0edf6;--cieg-line:#e4e0ec;--cieg-muted:#716d80;--cieg-magenta:#9e216c}
body.cieg-modern{margin:0;background:#f7f6fa;color:#302d3b;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cieg-modern *{box-sizing:border-box}
.cieg-modern #header_container{height:128px;background-color:var(--cieg);background-image:url('../img/header.png');background-blend-mode:luminosity;border-bottom:4px solid #c6b7d8;background-size:auto 125px}
.cieg-modern .cieg-topline{max-width:1280px;margin:0 auto;padding:18px 32px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--cieg-muted);font-size:12px;letter-spacing:.04em}
.cieg-modern .cieg-topline strong{color:var(--cieg);font-weight:650}
.cieg-modern #usuario_wrapp{max-width:1280px;margin:0 auto;padding:20px 32px;min-height:76px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600}
.cieg-modern #logo{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid var(--cieg-line)}
.cieg-modern #colors_recintos{margin:0 0 0 auto;float:none;font-size:11px;line-height:2.1;text-align:right}
.cieg-modern #colors_recintos span{display:inline-block;padding:0 9px;border-radius:5px;margin:2px;font-weight:600}
.cieg-modern #colors_recintos br{display:none}
.cieg-modern #sing_out_button{border:1px solid var(--cieg-line);border-radius:6px;padding:6px 12px;margin:0 32px 12px auto;cursor:pointer;font:inherit;color:var(--cieg);background:#fff}
.cieg-modern #sing_out_button:empty::after{content:'Cerrar sesión'}
.cieg-modern #non_logged_warning{max-width:640px;margin:42px auto 18px;padding:24px;text-align:center;font-size:18px;color:var(--cieg-deep)}
.cieg-modern #g-signin2{width:fit-content;margin:0 auto 32px}
.cieg-modern #cieg_login_message{text-align:center;color:var(--cieg-muted)}
.cieg-modern #menu_tabs{max-width:1216px;margin:0 auto 40px;padding:0;border:1px solid var(--cieg-line);border-radius:12px;background:#fff;box-shadow:0 6px 24px #2e234b06;overflow:visible}
.cieg-modern #menu_tabs>.ui-tabs-nav{display:flex;gap:8px;padding:9px 20px 0;background:#fff;border:0;border-bottom:1px solid var(--cieg-line);border-radius:12px 12px 0 0}
.cieg-modern #menu_tabs>.ui-tabs-nav>li{margin:0;border:0;background:none;border-radius:0;top:0;float:none;white-space:nowrap}
.cieg-modern #menu_tabs>.ui-tabs-nav>li>a{padding:17px 16px;color:var(--cieg-muted);font-size:14px;font-weight:600;border-bottom:3px solid transparent}
.cieg-modern #menu_tabs>.ui-tabs-nav>li.ui-tabs-active>a{color:var(--cieg);border-bottom-color:var(--cieg)}
.cieg-modern #menu_tabs>.ui-tabs-nav>li>a:hover{color:var(--cieg);background:#f8f6fb}
.cieg-modern #menu_tabs>.ui-tabs-panel{padding:30px;background:#fff;border-radius:0 0 12px 12px;color:#302d3b}
.cieg-modern .cieg-hero{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;padding:36px 40px;background:var(--cieg-soft);border:1px solid #e6e0ef;border-radius:9px;margin-bottom:34px;position:relative;overflow:hidden}
.cieg-modern .cieg-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--cieg);margin-bottom:14px;text-transform:uppercase}
.cieg-modern .cieg-hero h1{text-align:left;font-size:clamp(26px,3vw,38px);font-weight:650;line-height:1.18;letter-spacing:-.035em;margin:0 0 14px;color:var(--cieg-deep)}
.cieg-modern .cieg-hero p{max-width:540px;text-align:left;color:#6e687e;font-size:14px;line-height:1.7;margin:0}
.cieg-modern .cieg-hero-aside{padding:20px;border-left:1px solid #d6cde2;max-width:220px;font-size:12px;color:var(--cieg-muted)}
.cieg-modern .cieg-hero-aside strong{display:block;color:var(--cieg);font-size:14px;margin-bottom:6px}
.cieg-modern .cieg-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.cieg-modern a{color:var(--cieg);text-decoration:none}
.cieg-modern a:hover{text-decoration:underline}
.cieg-modern .cieg-action{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:6px;background:var(--cieg);border:1px solid var(--cieg);color:#fff!important;font-size:13px;font-weight:650;text-decoration:none!important}
.cieg-modern .cieg-action.secondary{background:#fff;color:var(--cieg)!important;border-color:#d4cce0}
.cieg-modern .cieg-action:hover{background:var(--cieg-deep)}
.cieg-modern .cieg-action.secondary:hover{background:#f8f6fc}
.cieg-modern .cieg-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}
.cieg-modern .cieg-section-heading h2{font-size:18px;font-weight:650;letter-spacing:-.02em;color:var(--cieg-deep);margin:0}
.cieg-modern .cieg-section-heading span{font-size:11px;color:var(--cieg-muted)}
.cieg-modern .cieg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:34px}
.cieg-modern .cieg-card{border:1px solid var(--cieg-line);border-radius:8px;padding:22px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;transition:border-color .15s,box-shadow .15s}
.cieg-modern .cieg-card:hover{border-color:#b6a5cb;box-shadow:0 5px 18px #49365d09}
.cieg-modern .cieg-card-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--cieg-soft);border-radius:8px;color:var(--cieg);margin-bottom:18px}
.cieg-modern .cieg-card-icon svg{width:19px;height:19px}
.cieg-modern .cieg-card>a{font-size:15px;font-weight:650;color:var(--cieg-deep);line-height:1.4}
.cieg-modern .cieg-card p{font-size:12px;line-height:1.65;text-align:left;color:var(--cieg-muted);margin:10px 0 14px}
.cieg-modern .cieg-card .cieg-card-contact{font-size:11px;margin-top:auto;padding-top:12px;border-top:1px solid #f0edf4;width:100%;overflow-wrap:anywhere}
.cieg-modern .cieg-resource-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;margin-bottom:30px}
.cieg-modern .cieg-panel{border:1px solid var(--cieg-line);border-radius:8px;overflow:hidden}
.cieg-modern .cieg-panel h2{font-size:16px;margin:0;padding:20px 22px;border-bottom:1px solid var(--cieg-line);color:var(--cieg-deep);font-weight:650;background:#fcfbfe}
.cieg-modern .cieg-doc{display:flex;align-items:center;gap:12px;padding:15px 22px;border-bottom:1px solid #f0edf4;font-size:13px;color:#4c465b}
.cieg-modern .cieg-doc:last-child{border-bottom:0}
.cieg-modern .cieg-doc:hover{background:#f8f6fb;text-decoration:none}
.cieg-modern .cieg-doc small{margin-left:auto;flex-shrink:0;font-size:9px;letter-spacing:.06em;color:#93879f;border:1px solid var(--cieg-line);border-radius:3px;padding:2px 5px}
.cieg-modern .cieg-note{font-size:11px;line-height:1.65;padding:14px 22px;margin:0;background:#fcfbfe;color:var(--cieg-muted);text-align:left;overflow-wrap:anywhere}
.cieg-modern .cieg-catalog{border-top:1px solid var(--cieg-line);padding-top:26px}
.cieg-modern .cieg-quality{font-size:11px;color:var(--cieg-muted);margin:20px 0 0;text-align:center}
.cieg-modern .ui-widget{font-family:inherit;font-size:14px}
.cieg-modern .ui-widget-header{background:#f0edf6;color:var(--cieg-deep);border-color:var(--cieg-line);font-weight:600}
.cieg-modern .ui-state-default,.cieg-modern .ui-widget-content .ui-state-default{background:#faf9fc;border-color:#d9d3e4;color:var(--cieg);font-weight:500}
.cieg-modern .ui-state-active,.cieg-modern .ui-widget-content .ui-state-active{background:var(--cieg-soft);border-color:#b4a6c8;color:var(--cieg-deep)}
.cieg-modern .ui-button{border-radius:5px;font-size:13px}
.cieg-modern .ui-button:hover{background:#e9e2f2;color:var(--cieg-deep)}
.cieg-modern .ui-accordion .ui-accordion-header{padding:13px 18px 13px 32px;border-radius:5px;margin-top:6px}
.cieg-modern .ui-accordion .ui-accordion-content{border-color:var(--cieg-line)}
.cieg-modern #cat_servicios_accordion .ui-accordion-content{height:auto!important;max-height:500px;overflow:auto}
.cieg-modern .img_servs img{max-width:100%;height:auto}
.cieg-modern #calendar_container{overflow-x:auto;padding-bottom:5px}
.cieg-modern .fc-toolbar{margin-bottom:24px}
.cieg-modern .fc-toolbar h2{font-size:20px;font-weight:650;letter-spacing:-.02em;color:var(--cieg-deep)}
.cieg-modern .fc th{padding:10px 0;font-size:12px;font-weight:600;background:#f7f5fa;border-color:var(--cieg-line)}
.cieg-modern .fc td{border-color:#e8e4ef}
.cieg-modern .fc .fc-today{background:#f0ebf7}
.cieg-modern .fc-event{border-radius:4px;font-size:11px;box-shadow:none}
.cieg-modern .fc-event .fc-title{font-weight:550}
.cieg-modern .fc-axis{font-size:11px;color:#8a8198}
.cieg-modern .fc button{height:33px;padding:0 12px;background:#fff;border:1px solid #dcd5e5;color:var(--cieg);font:12px system-ui}
.cieg-modern .fc button.ui-state-active{background:var(--cieg);color:#fff}
.cieg-modern #mis_solicitudes_screen{overflow-x:auto;min-height:180px}
.cieg-modern table.dataTable{font-size:12px}
.cieg-modern table.dataTable thead th{background:#f5f2f8;color:var(--cieg-deep);padding:14px 10px}
.cieg-modern table.dataTable tbody td{padding:12px 10px}
.cieg-modern .ui-dialog{border:1px solid var(--cieg-line);border-radius:10px;box-shadow:0 20px 70px #2c1d4d30;padding:0;max-width:calc(100vw - 24px)}
.cieg-modern .ui-dialog-titlebar{border:0;border-radius:10px 10px 0 0;padding:16px 20px;background:var(--cieg);color:#fff}
.cieg-modern .ui-dialog .ui-dialog-content{padding:20px;max-height:72vh!important;overflow:auto}
.cieg-modern .ui-dialog .ui-dialog-buttonpane{border-color:var(--cieg-line);padding:10px 16px;background:#faf9fc}
.cieg-modern .ui-widget-overlay{background:#2c233e;opacity:.35}
.cieg-modern input[type=text],.cieg-modern input[type=number],.cieg-modern input[type=email],.cieg-modern textarea,.cieg-modern select{max-width:100%;border:1px solid #d8d1e2;border-radius:5px;padding:8px;background:#fff;color:#40394f;font:13px system-ui}
.cieg-modern input:disabled{background:#f7f5fa;color:#716c7b}
.cieg-modern .ui-datepicker-trigger{width:24px;height:24px;margin:6px 8px;object-fit:contain;vertical-align:middle}
.cieg-modern #footer{height:auto;min-height:90px;border:0;border-top:1px solid var(--cieg-line);border-radius:0;background:#f0edf5;color:#7a7189;padding:24px 20px;text-align:center;font-size:11px;line-height:1.9}
.cieg-modern :focus-visible{outline:3px solid #b89fd2;outline-offset:3px}
@media(min-width:1400px){.cieg-modern #menu_tabs{max-width:1280px}}
@media(max-width:900px){.cieg-modern #menu_tabs{margin:0 16px 28px}.cieg-modern .cieg-topline,.cieg-modern #usuario_wrapp{padding-left:20px;padding-right:20px}.cieg-modern .cieg-hero{padding:28px}.cieg-modern .cieg-hero-aside{display:none}.cieg-modern .cieg-cards{gap:10px}.cieg-modern .cieg-card{padding:16px}.cieg-modern #calendar{min-width:760px}}
@media(max-width:600px){.cieg-modern #header_container{height:94px;background-size:auto 82px}.cieg-modern .cieg-topline{padding-top:12px;font-size:10px}.cieg-modern .cieg-topline span{display:none}.cieg-modern #usuario_wrapp{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;font-size:12px}.cieg-modern #colors_recintos{width:100%;text-align:left}.cieg-modern #menu_tabs{margin:0 10px 20px}.cieg-modern #menu_tabs>.ui-tabs-nav{padding:3px 6px 0;gap:0;overflow-x:auto}.cieg-modern #menu_tabs>.ui-tabs-nav>li>a{font-size:11px;padding:14px 10px}.cieg-modern #menu_tabs>.ui-tabs-panel{padding:18px 14px}.cieg-modern .cieg-hero{padding:24px 20px;margin-bottom:24px;display:block}.cieg-modern .cieg-hero h1{font-size:29px}.cieg-modern .cieg-hero p{font-size:12px}.cieg-modern .cieg-cards,.cieg-modern .cieg-resource-grid{grid-template-columns:1fr;gap:12px}.cieg-modern .cieg-card{display:grid;grid-template-columns:36px 1fr;column-gap:14px;padding:18px}.cieg-modern .cieg-card-icon{grid-row:1/3;margin:0}.cieg-modern .cieg-card>a{font-size:14px}.cieg-modern .cieg-card p{margin:5px 0 10px}.cieg-modern .cieg-card-contact{grid-column:2}.cieg-modern .cieg-section-heading span{display:none}.cieg-modern .cieg-doc{padding:14px 16px}.cieg-modern .cieg-note{padding:14px 16px}.cieg-modern #footer{font-size:10px}.cieg-modern .ui-dialog .ui-dialog-content{padding:12px}.cieg-modern .ui-selectmenu-button{max-width:100%}}
@media print{body.cieg-modern{background:#fff}.cieg-modern #header_container,.cieg-modern .cieg-topline,.cieg-modern #usuario_wrapp,.cieg-modern #footer{display:none}.cieg-modern #menu_tabs{border:0;box-shadow:none;max-width:none}.cieg-modern #calendar{min-width:0}}

/* Ajustes verificados de identidad y dimensiones del calendario. */
.cieg-modern #colors_recintos span{width:auto;height:auto;min-height:22px;line-height:22px;white-space:nowrap}
.cieg-modern #usuario_wrapp>#sing_out_button{margin:0 0 0 12px;white-space:nowrap;flex-shrink:0;font-size:11px;padding:6px 10px}
.cieg-modern .fc-view-container *,.cieg-modern .fc-view-container *::before,.cieg-modern .fc-view-container *::after{box-sizing:content-box}
@media(max-width:600px){.cieg-modern #header_container{background-size:contain;background-repeat:no-repeat}.cieg-modern #usuario_wrapp>#sing_out_button{margin:0 0 0 auto}.cieg-modern #colors_recintos{order:3}.cieg-modern #colors_recintos span{font-size:10px}}

/* Pestanas destacadas, a peticion de la comunidad. */
.cieg-modern #menu_tabs>.ui-tabs-nav{background:#eee8f5;padding-top:10px;padding-bottom:10px;gap:8px}
.cieg-modern #menu_tabs>.ui-tabs-nav>li>a{background:#77688f;color:#fff;border:1px solid transparent;border-radius:6px;padding:11px 20px;font-weight:650}
.cieg-modern #menu_tabs>.ui-tabs-nav>li>a:hover{background:#65547e;color:#fff}
.cieg-modern #menu_tabs>.ui-tabs-nav>li.ui-tabs-active>a{background:#47385f;color:#fff;border-bottom-color:transparent;box-shadow:0 2px 5px #30203e20}
@media(max-width:600px){.cieg-modern #menu_tabs>.ui-tabs-nav{padding:8px 6px;gap:5px}.cieg-modern #menu_tabs>.ui-tabs-nav>li>a{font-size:11px;padding:11px 10px}}

/* Mantener titulo y controles del calendario a la vista en movil. */
@media(max-width:900px){
.cieg-modern #calendar .fc-toolbar{position:sticky;left:0;width:calc(100vw - 100px);min-width:240px;max-width:100%;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.cieg-modern #calendar .fc-toolbar .fc-center{order:0;flex:0 0 100%;display:block;text-align:left}
.cieg-modern #calendar .fc-toolbar .fc-center h2{float:none;font-size:16px;line-height:1.4}
.cieg-modern #calendar .fc-toolbar .fc-left{order:1;float:none}
.cieg-modern #calendar .fc-toolbar .fc-right{order:2;float:none}
.cieg-modern #calendar .fc-toolbar .fc-clear{display:none}
.cieg-modern #calendar .fc-toolbar button{padding:0 8px;height:31px;font-size:11px}
}
@media(max-width:600px){.cieg-modern #calendar .fc-toolbar{width:calc(100vw - 76px)}}
