@font-face {
    font-family: 'Patria';
    src: url(../fonts/Patria_Regular.otf);
    font-weight: normal;
    font-style: normal;
}
}

/*Eliminar el mensaje "Intentando reconectarse al servidor" */
/*#components-reconnect-modal {
    display: none !important;
}*/

html, body {
    font-family: Montserrat, serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #404041 !important;
    font-size: 18px !important;
    line-height: 1.428 !important;
}

/*Separador*/
hr.hrSeparador {
    margin: 10px 0 30px;
    border-top-color: #dce0e0;
    opacity: 1;
}

    hr.hrSeparador:before {
        content: " ";
        width: 35px;
        height: 5px;
        background-color: #a57f2c;
        display: block;
        position: absolute
    }

.small-link {
    background: #611232;
    margin: 1rem auto;
    border-radius: 50px;
    width: auto;
    padding: 8px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    text-align: center;
    font-size: 0.75em;
    text-decoration: none !important;
    color: white !important;
    float: right
}

/*Blazor*/
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yN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g3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/*Imagen Principal de Salud */
@media only screen and (max-width: 320px) and (min-width: 0px) {
    .flag-banner-principal {
        min-height: 300px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}
/* Small devices such as large phones (640px and up) */
@media only screen and (max-width: 640px) and (min-width: 321px) {
    .flag-banner-principal {
        min-height: 300px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Medium devices such as tablets (768px and up) */
@media only screen and (max-width: 768px) and (min-width: 641px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (max-width: 320px) and (min-width: 0px) {
    .flag-banner-principal {
        min-height: 300px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}
/* Small devices such as large phones (640px and up) */
@media only screen and (max-width: 640px) and (min-width: 321px) {
    .flag-banner-principal {
        min-height: 300px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Medium devices such as tablets (768px and up) */
@media only screen and (max-width: 768px) and (min-width: 641px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        top: 0;
        margin-bottom: 30px !important;
    }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (max-width: 1440px) and (min-width: 1025px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        margin-bottom: 30px !important;
    }
}
/* Largest devices such as desktops (1280px and up) */
@media only screen and (max-width: 4500px) and (min-width: 1441px) {
    .flag-banner-principal {
        min-height: 350px;
        background: transparent url('https://www.gob.mx/cms/uploads/identity/image/45915/background_2SECRETARI_AS_Banner_institucional_Secretari_as.jpg') no-repeat center top;
        background-size: cover;
        margin-bottom: 30px !important;
    }
}

/*Intentanto Conectar*/
#components-reconnect-modal {
    display: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        text-align: center;
        box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
        margin: 50px 50px;
        position: fixed;
        top: 0;
        z-index: 10001;
    }
