:root {
    --comego-red: #cc0000;
}

.site-body {
    background-color: #f7f7f7;
    color: #555555;
    display: flex;
    flex-direction: column;
    font-family: 'Work Sans', sans-serif;
    min-height: 100vh;
}

.site-body--auth {
    background-color: #ffffff;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.site-header__logo,
.site-header__logo:hover,
.site-header__logo:focus {
    display: inline-block;
    text-decoration: none;
}

.site-main {
    flex: 1;
    padding-bottom: 2rem;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    margin-top: auto;
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.site-footer__title {
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.site-footer__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 900px;
}

.site-footer__item {
    padding: 0.5rem;
}

.site-footer__label {
    color: red;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.site-footer__item a {
    color: #444444;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.site-footer__item a:hover {
    color: red;
    text-decoration: underline;
}

.site-footer__legal {
    border-top: 1px solid #eeeeee;
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.site-footer__legal a {
    color: #666666;
    font-size: 0.92rem;
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: red;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

h1 {font-weight: 700;}
h1, h2, h3, .title {color: red;}
h2, h3 {font-weight: 600;}
a {color: #555555;}
p {font-size: 1em;margin-bottom: .5rem;color: #555555;}
p.font-size-subtitle {font-size: 1.4em;}
h2 {font-size: 1.8em;margin-bottom: 1.5rem;}
h3 {font-size: 1.2em;margin-bottom: 1rem;}
ion-icon {color: #a9a9a9;font-size: 1.5em;margin-right: .3rem;}

a:hover {color: red;text-decoration: none;}
.red, a:hover i {color: var(--comego-red);}
.em1_2{
	font-size: 1.2em;
}
.em2{
	font-size: 2em;
}

.btn-default,
.btn.btn-default {
	background-color: red;
	border: none;
	border-radius: 999px;
	color: #ffffff;
	font-weight: 600;
	padding: 0.55rem 1.5rem;
	transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn.btn-default:hover,
.btn.btn-default:focus,
.btn.btn-default:active,
a.btn-default:hover,
a.btn-default:focus,
a.btn-default:active {
	background-color: #d90000;
	box-shadow: 0 8px 20px -10px rgba(255, 0, 0, 0.55);
	color: #ffffff;
	outline: none;
	text-decoration: none;
}

.btn-default strong,
.btn-default:hover strong,
.btn-default:focus strong {
	color: inherit;
}

.btn-default--block {
	display: block;
	padding: 0.95rem 1rem;
	width: 100%;
}

.btn-default--large {
	box-shadow: 0 10px 28px -10px rgba(255, 0, 0, 0.55);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	min-width: 300px;
	padding: 1rem 2.75rem;
	text-transform: uppercase;
}

.btn-default--large:hover,
.btn-default--large:focus,
.btn-default--large:active {
	box-shadow: 0 14px 32px -10px rgba(255, 0, 0, 0.65);
	transform: translateY(-2px);
}

.btn-default--outline,
.btn.btn-default--outline {
	background-color: #ffffff;
	border: 2px solid var(--comego-red);
	box-shadow: none;
	color: var(--comego-red);
}

.btn-default--outline:hover,
.btn-default--outline:focus,
.btn-default--outline:active,
.btn.btn-default--outline:hover,
.btn.btn-default--outline:focus,
.btn.btn-default--outline:active,
a.btn-default--outline:hover,
a.btn-default--outline:focus,
a.btn-default--outline:active {
	background-color: #ffffff;
	border-color: #a80000;
	box-shadow: none;
	color: #a80000;
	transform: none;
}

.btn-default:disabled,
.btn-default[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
}

.btn-subtle,
a.btn-subtle {
	background: transparent;
	border: 1px solid #d5d5d5;
	border-radius: 999px;
	color: #666666;
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.65rem 1.25rem;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.btn-subtle:hover,
.btn-subtle:focus,
a.btn-subtle:hover,
a.btn-subtle:focus {
	background: #ffffff;
	border-color: #bbbbbb;
	color: #444444;
	text-decoration: none;
}

.btn-subtle--block {
	display: block;
	width: 100%;
}

.errorlist li{
	color: darkred;
	font-style: italic;
}
@media screen and (max-width:767px) {
	.logo {margin-bottom: 1.5rem;} 
	.text-intro h1, .text-intro p{text-align: center;}
	.mb-mobile {margin-bottom: 1.5rem;}
	.site-header .container,
	.site-main > .container,
	.site-footer .container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
.login input{
	display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.auth-page {
    padding: 2.5rem 1rem 4rem;
}

.auth-panel {
    margin: 0 auto;
    text-align: left;
}

.auth-panel__title {
    color: #222222;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.auth-panel__lead {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auth-panel__lead strong {
    color: #333333;
    font-weight: 600;
}

.auth-field {
    margin-bottom: 1.5rem;
}

.auth-field label {
    background: #ffffff;
    color: #666666;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: -0.55rem;
    margin-left: 0.75rem;
    padding: 0 0.35rem;
    position: relative;
    width: fit-content;
    z-index: 1;
}

.auth-field input,
.auth-field .form-control {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: none;
    color: #333333;
    font-size: 1rem;
    height: auto;
    padding: 0.95rem 1rem;
    width: 100%;
}

.auth-field input:focus,
.auth-field .form-control:focus {
    border-color: #cc0000;
    box-shadow: 0 0 0 0.15rem rgba(204, 0, 0, 0.12);
    outline: none;
}


.auth-panel__link {
    color: #666666;
    display: inline-block;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    text-decoration: none;
}

.auth-panel__link:hover {
    color: #cc0000;
    text-decoration: underline;
}

.auth-panel__helper {
    color: #888888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.auth-panel__error {
    background-color: #fff5f5;
    border: 1px solid #f3cccc;
    border-radius: 8px;
    color: #8a1f1f;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.875rem 1rem;
}

.auth-panel__field-error {
    color: #cc0000;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.auth-panel__video-link {
    color: #cc0000;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.75rem;
    text-decoration: none;
}

.auth-panel__video-link:hover {
    color: #a80000;
    text-decoration: underline;
}

.votacion-periodo {
    border: 1px solid #444444;
    border-radius: 8px;
    display: inline-block;
    margin: 1rem auto 0;
    padding: 0.85rem 1.35rem;
    text-align: center;
    background-color: #ffffff;
}

.votacion-periodo__label {
    color: var(--comego-red);
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.votacion-periodo__dates {
    color: #444444;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.votacion-periodo__timezone {
    color: #888888;
    display: block;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.votacion-countdown {
    background: #fff5f5;
    border: 1px solid #f3cccc;
    border-left: 4px solid #cc0000;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.votacion-countdown--open {
    background: #f3faf6;
    border-color: #cfe7dc;
    border-left-color: #198754;
}

.votacion-countdown__title {
    color: #198754;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.votacion-countdown--open .votacion-countdown__label {
    color: #198754;
}

.votacion-countdown--open .votacion-countdown__number {
    color: #198754;
}

.votacion-countdown__label {
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.votacion-countdown__values {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.votacion-countdown__unit {
    min-width: 64px;
}

.votacion-countdown__number {
    color: #cc0000;
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.votacion-countdown__caption {
    color: #666666;
    display: block;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    text-transform: uppercase;
}

.votacion-countdown__note {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.votacion-back-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 999px;
    color: #333333;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 0.85rem;
    text-decoration: none;
    transition: all 0.18s ease;
}

.votacion-back-link:hover {
    background: red;
    border-color: red;
    color: #ffffff;
    text-decoration: none;
}

.votacion-back-link__icon {
    font-size: 1.1rem;
    line-height: 1;
}

.votacion-pending-notice {
    background: #fff3cd;
    border: 1px solid #ffda6a;
    border-left: 4px solid #cc0000;
    border-radius: 8px;
    color: #664d03;
    margin: 0 auto 2.5rem;
    max-width: 720px;
    padding: 1rem 1.15rem;
    text-align: center;
}

.votacion-pending-notice strong {
    color: #cc0000;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.votacion-pending-notice p {
    color: #664d03;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.votacion-submit-wrap {
    margin: 2rem 0 1rem;
    text-align: center;
}

.voto-confirm {
    align-items: center;
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.72);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: fixed;
    z-index: 2000;
}

.voto-confirm.open {
    display: flex;
}

.voto-confirm__box {
    background: #ffffff;
    border-radius: 6px;
    border-top: 4px solid #cc0000;
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 760px);
    max-width: 560px;
    overflow: hidden;
    width: 100%;
}

.voto-confirm__head {
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.voto-confirm__head h2 {
    color: #333333;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.voto-confirm__close {
    background: transparent;
    border: none;
    color: #666666;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.voto-confirm__close:hover {
    color: #cc0000;
}

.voto-confirm__body {
    overflow: auto;
    padding: 1.25rem 1.5rem 0.5rem;
}

.voto-confirm__lead,
.voto-confirm__note {
    color: #555555;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.voto-confirm__section {
    color: #333333;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.voto-confirm__list {
    margin-bottom: 1.25rem;
}

.voto-confirm__choice {
    margin: 0 0 0.9rem;
}

.voto-confirm__choice strong {
    color: #ff0000;
    display: block;
    font-size: 1rem;
}

.voto-confirm__choice span {
    color: #333333;
    display: block;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.voto-confirm__note {
    color: #664d03;
    font-weight: 600;
}

.voto-confirm__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 1rem 1.25rem 1.35rem;
}

.voto-confirm__actions .btn {
    min-width: 180px;
}

@media screen and (max-width: 575px) {
    .voto-confirm__actions {
        flex-direction: column;
    }

    .voto-confirm__actions .btn {
        min-width: 0;
        width: 100%;
    }
}

#votacion_form .c_label{
    opacity: 0.5;
    filter: grayscale();
}

.rich-content {
    color: #444444;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.rich-content p {
    margin-bottom: 1rem;
}

.rich-content p:last-child {
    margin-bottom: 0;
}

.rich-content ul,
.rich-content ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.rich-content a {
    color: var(--comego-red);
}

.rich-content.gracias-message {
    margin-top: 1.5rem;
    text-align: center;
}

.gracias-ya-voto {
    color: #333333;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0 0;
}

.verificado-panel__content {
    margin-bottom: 1.5rem;
}

.verificado-panel__countdown {
    margin-bottom: 0;
}

.verificado-panel__start {
    color: #333333;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.75rem 0 0;
    text-align: center;
}

.verificado-panel__timezone {
    color: #888888;
    font-size: 0.82rem;
    margin: 0.35rem 0 0;
    text-align: center;
}

.verificado-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0;
    padding-top: 2rem;
}

.verificado-panel__candidatos,
.btn.verificado-panel__candidatos {
    background-color: #4A877A;
    display: inline-block;
    font-size: 1.2rem;
    padding: 0.5rem 1.35rem;
    width: auto;
}

.verificado-panel__candidatos:hover,
.verificado-panel__candidatos:focus,
.verificado-panel__candidatos:active,
.btn.verificado-panel__candidatos:hover,
.btn.verificado-panel__candidatos:focus,
.btn.verificado-panel__candidatos:active,
a.verificado-panel__candidatos:hover,
a.verificado-panel__candidatos:focus,
a.verificado-panel__candidatos:active {
    background-color: #3f7469;
    box-shadow: 0 8px 20px -10px rgba(74, 135, 122, 0.55);
    color: #ffffff;
    transform: none;
}

.landing-page {
    padding: 2.5rem 1rem 3rem;
}

.landing-page__intro {
    margin-bottom: 2rem;
}

.landing-page__lead {
    color: #444444;
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 640px;
}

.landing-page__actions {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 760px;
}

.landing-convocatoria {
    width: 100%;
}

.landing-convocatoria__toggle {
    min-width: 280px;
}

.landing-convocatoria__panel {
    margin-top: 1rem;
    text-align: left;
    width: 100%;
}

.landing-convocatoria__panel.open {
    animation: landing-convocatoria-in 0.2s ease;
}

.landing-convocatoria__content {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--comego-red);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
}

.landing-convocatoria__title {
    color: var(--comego-red);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.landing-convocatoria__subtitle {
    color: #333333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.landing-convocatoria__content p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.landing-convocatoria__agenda {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.landing-convocatoria__agenda li {
    color: #444444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.45rem;
}

.landing-convocatoria__warning {
    background: #fff3cd;
    border: 1px solid #ffda6a;
    border-left: 4px solid var(--comego-red);
    border-radius: 8px;
    color: #664d03;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 0;
    padding: 1rem 1.15rem;
}

.landing-page__cta {
    margin-top: 0.5rem;
}

.landing-page__secondary-cta {
    min-width: 280px;
}

.landing-modalidades {
    margin-top: 3rem;
    text-align: left;
    width: 100%;
}

.landing-modalidades__title {
    color: var(--comego-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    text-align: center;
    text-transform: uppercase;
}

.landing-modalidades__grid {
    margin: 0;
}

.landing-modalidad {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--comego-red);
    border-radius: 8px;
    height: 100%;
    padding: 1.5rem 1.75rem;
}

.landing-modalidad--virtual {
    display: flex;
    flex-direction: column;
}

.landing-modalidad__heading,
.landing-modalidad__subheading {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.landing-modalidad__icon:before {
    color: var(--comego-red);
    font-size: 1.15rem;
}

.landing-modalidad__heading .landing-modalidad__icon:before {
    font-size: 1.35rem;
}

.landing-modalidad__heading {
    color: var(--comego-red);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.landing-modalidad__subheading {
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
}

.landing-modalidad p {
    color: #444444;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.landing-modalidad__item {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.landing-modalidad__item:last-child {
    margin-bottom: 0;
}

.landing-modalidad__label {
    color: var(--comego-red);
    flex-shrink: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.65;
}

.landing-modalidad__item p {
    margin-bottom: 0;
}

.landing-modalidad__cta {
    margin-top: auto;
    padding-top: 1.25rem;
}

.landing-modalidad--virtual .landing-modalidad__cta {
    margin-top: 1.5rem;
}

@media screen and (max-width: 991px) {
    .landing-modalidades__grid > [class*='col-']:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

@keyframes landing-convocatoria-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}