@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

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

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

@media (min-width: 1200px) {
    .contLogo {
        padding: 8px;
        text-align: center;
        padding-top: 0;
        margin: 0px auto;
    }

    .main_logo {
        width: 250px !important;
        margin: 0 0 0 -32px;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center;
        object-position: center;
        position: relative;
        z-index: 3;
    }

    .main_logo_hexagone {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .contLogo {
        padding: 8px;
        padding-top: 0;
        text-align: center;
        margin: 0px auto;
    }

    .main_logo {
        width: 190px !important;
        margin: 0 0 0 -32px;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center;
        object-position: center;
        position: relative;
        z-index: 3;
    }

    .main_logo_hexagone {
        width: 99%;
    }
}

@media only screen and (max-width: 600px) {
    .contLogo {
        padding: 8px;
        text-align: center;
        margin: 0px auto;
    }

    .main_logo {
        width: 186px !important;
        margin: 0 0 0 -32px;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center;
        object-position: center;
        position: relative;
        z-index: 3;
        top: 0;
        left: -10px;
    }

    .main_logo_hexagone {
        width: 99%;
    }

    .body-background {
        background: none !important;
    }
}

.container {
    width: 100% !important;
}

.login-box2 {
    border: 2px solid #3e444e;
    background-color: #fff;
    color: #000;
    margin-top: 80px;
    padding: 30px;
    vertical-align: top;
    position: relative;
    top: -115px;
    min-height: 100vh;
    background: rgb(62 68 78 / 90%) url(/img/logo/pattern.svg) no-repeat;
    background-position: top center;
    background-size: 1600px auto;
    /*padding: 75px 30px;*/
    color: #fff
}

.bigintro {
    font-size: 24px;
    line-height: 50px;
    text-align: center;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    /*background-image: url('/img/Enaex-Office-header-ordi.jpg');*/
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.jumbotron {
    padding: 2rem 2rem;
    margin-bottom: 2rem;
    background-color: var(--bs-light);
    border-radius: .3rem;
}

.fa-regular {
    width: 2rem;
    font-size: 2rem !important;
    vertical-align: text-top;
    top: -2px;
    margin-right: .5rem !important;
}

.svg-inline--fa {
    width: 2rem;
    font-size: 2rem !important;
    vertical-align: text-top;
    top: -2px;
    margin-right: .5rem !important;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}
/************/
/**Carousel**/
#carouselExampleCaptions {
    width: 80vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-inner {
    width: 100%;
}

.new {
    /*position: absolute;
    top: 10px;
    right: 10px;
    display: inline;*/
}

/* Controls */
i.fa-arrow-right,
i.fa-arrow-left {
    background: none;
    border: 2px solid #353F48;
    color: black;
    padding: 10px;
    border-radius: 100%;
    /*transition: background .6s ease;*/
}

.control-btn {
    position: relative;
    top: -1em;
    /*right: 5em;*/
}

.carousel-item .card {
    height: 20em;
    height: fit-content;
}

.control-btn i.fa-arrow-left {
    position: absolute;
    right: 6em;
}

i.fa-arrow-right:hover,
i.fa-arrow-left:hover {
    background: #fff;
    color: black;
}

.carousel-control-next {
    margin: 0 3em;
}

/* Indicators */

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid #ffc107;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #ffc107;
}

.carousel-indicators {
    display: none;
}

@media screen and (max-width: 900px) {
    #carouselExampleCaptions {
        width: 70vw;
        height: 70vw;
    }

    .card img {
        width: 100%;
    }

    .card .name {
        margin-top: 1em;
        font-size: 1em;
        font-weight: 700;
    }

    .card .role {
        font-size: 0.8em;
    }

    .card .work-at {
        font-size: 0.6em;
    }
}

@media screen and (max-width: 576px) {
    #carouselExampleCaptions {
        width: 70vw;
        height: 70vh;
    }

    .carousel-item .card .card-body {
        position: absolute;
        bottom: 20px;
        left: 10px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }
}

.custom-tooltip.tooltip > .tooltip-inner {
    background-color: rgba(62, 68, 78, 0.9);
    border: #fff solid 1px;
    color: #d7d7d7;
    min-width: 200px;
    text-align: initial;
}

.custom-tooltip.tooltip > .tooltip-arrow:before {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.close-image {
    position: relative;
    left: 365px;
    top: 37px;
    z-index: 99;
    background-color: white;
    padding: 5px;
}

.inputFile {
    position: relative;
    margin-bottom: 0px;
    top: 0;
    left: 0;
    color: rgba(var(--bs-body-color-rgb), .65);
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

.swal-wide {
    width: 850px !important;
}

.datepicker-days{
    font-size: 14px;
}
/*  
* Rating styles
*/
.rating-group {
    display: inline-flex;
    flex-direction: row-reverse; /* Invertir el orden para que el CSS funcione correctamente */
}

/* make hover effect work properly in IE */
.rating__icon {
    pointer-events: none;
}

/* hide radio inputs */
.rating__input {
    position: absolute !important;
    left: -9999px !important;
}

/* hide 'none' input from screenreaders */
.rating__input--none {
    display: none;
}

/* set icon padding and size */
.rating__label {
    cursor: pointer;
    padding: 0 0.1em;
    font-size: 1.5rem;
    order: 1; /* Esto ayuda a mantener el orden visual correcto */
}

/* set default star color (gris por defecto) */
.rating__icon--star {
    color: #ddd;
}

/* colorear la estrella cuando su input está checked */
.rating__input:checked ~ .rating__label .rating__icon--star {
    color: orange;
}

/* colorear todas las estrellas anteriores cuando una está checked */
.rating__input:checked + .rating__label ~ .rating__label .rating__icon--star {
    color: orange;
}

/* Hover: colorear la estrella sobre la que está el mouse */
.rating__label:hover .rating__icon--star,
.rating__label:hover ~ .rating__label .rating__icon--star {
    color: orange !important;
}

/* Mantener las estrellas checked en naranja incluso durante hover */
.rating__input:checked ~ .rating__label .rating__icon--star {
    color: orange;
}

/* make hovered input's following siblings grey on hover */
.rating__input:hover ~ .rating__label .rating__icon--star {
    color: #ddd;
}