.spinner {
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left:6px solid rgba(0,174,239,.15);
    border-right:6px solid rgba(0,174,239,.15);
    border-bottom:6px solid rgba(0,174,239,.15);
    border-top:6px solid rgba(0,174,239,.8);
    border-radius:100%;
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

/* This is the style of our error messages */
.error {
    width  : 100%;
    padding: 0;

    font-size: 80%;
    color: white;
    background-color: #900;
    border-radius: 0 0 5px 5px;

    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.error.active {
    padding: 0.3em;
}

.btn-google {
    color: #545454;
    box-shadow: 0 1px 2px 1px #ddd;
    font-family: 'Roboto';
}


.ballot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ballot + label {
    width: 100%;
}

.ballot:focus-visible + label {
    outline: 4px solid rgba(133, 0, 2, 0.28);
    outline-offset: 4px;
}

.ballot + label .marca
{
    cursor: pointer;
    background: url("/assets/images/papeleta_mark.png") center no-repeat;
    height: 80px;
    width: 68px;
    display:inline-block;
    padding: 0 0 0 0px;
}

.ballot:checked + label .marca
{
    background: url("/assets/images/papeleta_marked.png") center no-repeat;
    height: 80px;
    width: 68px;
    display:inline-block;
    padding: 0 0 0 0px;
}

.ballot + label .marca-square
{
    border: 4px solid black;
    border-radius: 15px;
    height: 60px;
    width: 68px;
    display:inline-block;
    padding: 0 0 0 0px;
}

.ballot:checked + label .marca-square
{
    background: url("/assets/images/papeleta_marked_cr.png") center no-repeat;
    height: 60px;
    width: 68px;
    display:inline-block;
    padding: 0 0 0 0px;
}

.image-option {
    display: table-cell;
    vertical-align: middle;
    height: 80px;
}

.lista {
    /* border-color: black; */
    border: 1px solid black;
    border-radius: 4px;
    margin: 10px;
}

.container {
    font-family: 'Raleway';
}

.container-fluid {
    font-family: 'Raleway';
}

.EvColor{
    background-color: #850002 !important;
    color: #FFF;
}

.EvColorGris{
    background-color: #C6CCD4 !important;
}

.EvColorLightBlue {
    background-color: #212F3D !important;
}

.title_barcode {
    text-transform: uppercase;
    color: #011e40 !important;
    font-weight: bold;
    text-align: center;
}

.EvColorBlue {
    background-color: #850002 !important;
}

.btn.EvColorBlue:hover,
.btn.EvColorBlue:focus,
.btn.EvColorBlue:active {
    background-color: #650001 !important;
    border-color: #650001 !important;
}

.EvColorGrisLight{
    background-color: #E5ECF0 !important;
}

.btn {
    cursor: pointer;
}

.logoEV {
    max-height: 50px;
}

.logo {
    max-height: 150px;
}

.blured{
    filter: blur(100px) !important;
}
.crossOut {
    background: url("/assets/images/sistema_seguro.jpg")  repeat;

}

.mati-hide {
    display: none;
}

.hidden {
    display:none;
}

.cl-claveunica {
    display: inline-block;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    background-color: #0F69C4;
    color: #FFFFFF;
}

.img-autentiz {
    height: 1.5rem;
    width: auto;
}

.btn-wsp .iconVote {
    background: url('/assets/images/logo_whatsapp.svg') no-repeat left center;
    float:left;
    width: 23px;
    height: 23px;
}

.btn-white{
    background-color: #FFF!important;
    margin-left: 1em!important;
    margin-top: 0.3em!important
}

.ccb-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.75rem 0 0.85rem;
}

.ccb-logo {
    max-height: 86px;
    width: auto;
    object-fit: contain;
}

.ccb-org {
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #111827;
}

.ccb-main-title {
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    color: #000000;
}

.ccb-subtitle {
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 1.9vw, 1.45rem);
    color: #000000;
}

.ccb-instructions {
    width: min(860px, 100%);
    border: 2px dotted #9CA3AF;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: #111827;
    background: rgba(255, 255, 255, 0.65);
    font-size: 1.07rem;
    line-height: 1.35;
}

.ccb-warning-label {
    font-weight: 900;
    text-transform: uppercase;
}

.ccb-footer-title {
    width: min(980px, 100%);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #111827;
    margin-top: 0.35rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    text-align: center;
}

.ccb-question-block {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}


.planillas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .planillas-grid {
        grid-template-columns: repeat(2, minmax(420px, 680px));
        gap: 1rem;
    }
}

.planillas-grid--secondary {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.planillas-grid--bq {
    grid-template-columns: 1fr;
    justify-items: stretch;
    align-items: stretch;
}

@media (min-width: 768px) {
    .planillas-grid--bq {
        grid-template-columns: repeat(2, minmax(420px, 680px));
    }
}

.planilla-card {
    cursor: pointer;
    width: 100%;
}

.planilla-card--bq {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "media"
        "writein";
    background: #F9FAFB;
    border: 2px solid #D1D5DB;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    min-height: 180px;
    min-width: 0;
    position: relative;
    height: 100%;
}

.ballot.qoption:active + .planilla-card--bq {
    border-color: #850002;
}

.ballot.qoption:checked + .planilla-card--bq {
    border-color: #850002;
    box-shadow: 0 10px 22px rgba(133, 0, 2, 0.18);
}

.planilla-card--bq .planilla-card__media {
    grid-area: media;
    background: #FFFFFF;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0.75rem;
    min-width: 0;
    overflow: hidden;
}

.planilla-card--bq .planilla-card__media img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.planilla-card--bq .planilla-card__writein {
    grid-area: writein;
    padding: 0.75rem;
    background: #FFFFFF;
    border-top: 2px solid #D1D5DB;
}

.planilla-card--bq .planilla-card__writein input {
    width: 100%;
}

.ballot.qoption:checked + .planilla-card--bq::after,
.ballot.blank_option:checked + .planilla-card--bq::after,
.ballot.null_option:checked + .planilla-card--bq::after {
    content: "";
    position: absolute;
    inset: 18px;
    pointer-events: none;
    z-index: 5;
    opacity: 0.9;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cline%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%27100%27%20y2%3D%27100%27%20stroke%3D%27%23111827%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27square%27/%3E%3Cline%20x1%3D%27100%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%27100%27%20stroke%3D%27%23111827%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27square%27/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.planilla-card--bq-blank {
    grid-template-columns: 1fr;
    grid-template-areas:
        "media"
        "writein";
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.planilla-card--bq-blank .planilla-card__media {
    align-items: center;
    padding: 0.5rem;
}

.planilla-card--bq-blank .planilla-card__media img {
    height: auto;
    max-height: 130px;
}

.planilla-card--bq-blank .planilla-card__media {
    grid-area: media;
}

.ballot.blank_option:checked + .planilla-card--bq-blank::after {
    content: "";
    position: absolute;
    inset: 22px;
    pointer-events: none;
    z-index: 5;
    opacity: 0.85;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cline%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%27100%27%20y2%3D%27100%27%20stroke%3D%27black%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27square%27/%3E%3Cline%20x1%3D%27100%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%27100%27%20stroke%3D%27black%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27square%27/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 575.98px) {
    .planilla-card--bq {
        min-height: 140px;
    }

    .planilla-card--bq-blank {
        max-width: 520px;
    }

    .planilla-card--bq-blank .planilla-card__media img {
        max-height: 120px;
    }
}

.planilla-card--blank,
.planilla-card--null {
    background: #FFFFFF;
    border: 2px solid #D1D5DB;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.ballot.blank_option:checked + .planilla-card--blank,
.ballot.null_option:checked + .planilla-card--null {
    border-color: #111827;
}

.planilla-card__title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #111827;
}
