﻿/* --------------------------------------
    Grid
*/

/* --------------------------------------
    Grid
*/
.grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 var(--spacing-lg);
    box-sizing: border-box;
}

.grid__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    width: 100%;
}

.grid__column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--spacing-md);
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    word-break: break-word;
    padding: 0;
}

.main-content__products-container {
    min-width: 400px;
}

.main-content__title--start {
    max-width: 300px;
}

.grid__column--header {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#ep-header-navigation__dropdown--user-menu li:nth-child(5), #avatar-dropdown-user-menu__dropdown--internal li:nth-child(5), #prodige-host-popover--header-navigation {
    display: none;
}

.ep-popover {
    width: 400px !important;
}

.ep-button--primary-outline:hover {
    color: white !important;
    background-color: #005ce5 !important;
    border: 1px solid #005ce5 !important;
}

.ep-input__wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 !important;
}

    .ep-input__wrapper .ep-input__field {
        width: 100% !important;
        padding: 0.375rem 0.75rem;
        margin-left: 0;
        border-radius: 0.375rem;
    }

/* --------------------------------------
    Tip
*/
.tip {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--spacing-sm);
    background-color: var(--color-blue-light-55);
    border: var(--border-thickness-xs) solid var(--color-blue-light-20);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-sm);
}

.tip__text-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--spacing-sm);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.tip__text {
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-2xs);
    color: rgba(0, 72, 178, 1); /*TODO: Verificar esta cor, pois não consta no Design Tokens*/
    line-height: var(--line-height-2xs);
}

.tip__button--with-image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.tip__image {
    height: 40px;
    width: auto;
}

/* --------------------------------------
    Elementos escondidos
*/
.page__section--hidden,
.form__fieldset--hidden,
.alert--hidden,
.button--hidden,
.card--hidden,
.popover--hidden,
.card__text--hidden {
    display: none !important;
}

.ep-loading--card {
    z-index: 9999;
}
/* --------------------------------------
    Globalization
*/
#divGlobalTranslation,
#divLocalTranslation {
    display: none;
}

/* --------------------------------------
    Recaptcha
*/
.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    -webkit-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    left: 0 !important;
    bottom: var(--spacing-xl) !important;
}

    .grecaptcha-badge:hover {
        width: 256px !important;
    }

/* --------------------------------------
    Page
*/
.page {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.page--start {
    background-image: url(../images/background-start-full-hd.webp);
}

.page__section--start {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.page--internal {
    background-image: url('../images/background-internal-full-hd.webp');
}

/* --------------------------------------
    Page - Header
*/
.header {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: var(--spacing-lg) 0 0;
}

.header__logo {
    height: var(--shapes-width-sm);
    width: auto;
}

/*TODO: Aguardar decisão de Design sobre esse estilo de botão branco que não existe no Design System*/
#header__button--language {
    color: var(--color-neutral-lightest) !important;
}

    #header__button--language:hover {
        color: var(--color-blue-base) !important;
    }

/* --------------------------------------
    Main content
*/
.main-content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.main-content__title {
    font-family: var(--font-family-primary);
    font-style: normal;
    text-align: left;
    margin: 0;
}

.main-content__title--start {
    color: var(--color-neutral-base);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    font-style: normal;
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-md);
    letter-spacing: var(--letter-spacing-sm);
    margin-top: var(--spacing-md);
}

.main-content__title--highlighted {
    color: var(--color-brand-primary-base);
    font-weight: var(--font-weight-bold);
}

.content__login {
    width: 100%;
}
/* --------------------------------------
    Card body content
*/
.card__text {
    font-style: normal;
}

.card__button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* --------------------------------------
    Form do card
*/
.form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

/*Form group - Basear a estilização abaixo no DS*/
.form__field {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--spacing-2xs);
}

.form__field-label {
    color: var(--color-neutral-dark-35);
    font-family: var(--font-family-secondary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-xs);
}

/* --------------------------------------
    Authenticator
*/
.authenticator__label {
    font-family: var(--font-family-secondary);
    font-style: normal;
    color: var(--color-brand-secondary-light-30);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-2xs);
    margin-bottom: var(--spacing-xs);
}

/* --------------------------------------
    Page - Footer
*/
.footer__button-container {
    position: fixed;
    bottom: var(--spacing-2xl);
    right: var(--spacing-lg);
}

.footer__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-family-primary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    line-height: var(--line-height-xs);
    text-transform: uppercase;
    text-align: right;
    letter-spacing: var(--letter-spacing-lg);
}

.footer__button--help-start {
    color: var(--color-blue-light-light-40);
}

    .footer__button--help-start svg {
        color: var(--color-neutral-lightest);
    }

.footer__button--help-internal,
.footer__button--help-internal svg {
    color: var(--color-blue-light-20);
}

/* --------------------------------------
    Modal de suporte
*/
.modal__body-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.modal__title--hierarchy-one {
    color: var(--color-brand-secondary-light-30);
    font-family: var(--font-family-primary);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-sm);
    letter-spacing: var(--letter-spacing-sm);
    margin: 0 0 var(--spacing-sm);
}

.modal__list--support {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: 0;
    margin: 0;
}

.modal__list-item--support {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .modal__list-item--support svg {
        color: var(--color-blue-base);
        margin: 0 var(--spacing-sm) 0 0;
    }

#cc-main {
    font-family: "Poppins" !important;
    font-weight: 400;
}

    #cc-main .pm__section-title {
        font-weight: 600 !important;
    }

    #cc-main .cm--bar.cm--inline .cm__btns {
        max-width: 28em;
    }

    #cc-main .cm__btn, #cc-main .pm__btn {
        background-color: rgb(0, 92, 229);
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        -webkit-transition: background-color 0.3s ease;
        transition: background-color 0.3s ease;
        font-family: "Poppins";
        font-weight: 400;
    }

        #cc-main .cm__btn:hover, #cc-main .pm__btn:hover {
            background-color: #0056b3;
            color: white;
        }

    #cc-main .cm__btn--secondary {
        background-color: rgb(84, 105, 130);
        font-family: "Poppins";
        font-weight: 400;
    }

        #cc-main .cm__btn--secondary:hover {
            background-color: rgb(51, 74, 102);
        }

    #cc-main .pm__footer {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: end;
        font-family: "Poppins";
        font-weight: 400;
    }

    #cc-main .pm__close-btn {
        background-color: transparent;
        border: none;
    }

        #cc-main .pm__close-btn:hover {
            background-color: transparent;
        }

    #cc-main .pm__title {
        font-family: "Poppins";
        font-size: 20px;
        font-weight: 600;
        color: rgb(38, 55, 76);
        line-height: 24px;
    }

    #cc-main .pm__section--expandable .pm__section-title {
        color: rgb(108, 104, 187);
        line-height: 24px;
    }

    #cc-main .pm__section--toggle.is-expanded .pm__section-title {
        color: rgb(108, 104, 187);
        line-height: 24px;
    }

    #cc-main .pm__section--expandable .pm__section-arrow {
        color: rgb(108, 104, 187);
    }

.ep-button--link-primary {
    text-decoration: underline;
    font-size: 16px;
    line-height: 24px;
    color: rgb(0, 92, 229);
    font-family: Poppins;
    font-weight: 400;
    cursor: pointer;
}

.ep-input__wrapper .ep-input__field {
    width: 100% !important;
    padding: 0.375rem 0.75rem;
    margin-left: 0;
    border-radius: 0.375rem;
}

/* --------------------------------------
    Responsividade - Super Extra Large devices Tablets (≥1400px)
*/

/* --------------------------------------
    Responsividade
*/
@media screen and (max-width: 998px) {
    .page__section--start {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (min-width: 1400px) {
    .page__section--start {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media screen and (min-width: 1980px) {
    .page--start {
        background-image: url("../images/background-start-ultra-wide.webp");
    }

    .page--internal {
        background-image: url("../images/background-internal-ultra-wide.webp");
    }
}

/* --------------------------------------
    Responsividade - Extra Large devices Tablets (≥1200px)
*/
@media (min-width: 1200px) {
    .page__section--start {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/* --------------------------------------
    Responsividade - Large devices Tablets (≥992px)
*/
@media (max-width: 992px) {
    .page__section--start {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .footer__button--help-start, .footer__button--help-start svg {
        color: var(--color-blue-light-20);
    }
}

@media screen and (max-width: 768px) {
    .ep-modal__dialog .ep-modal__content {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .footer__button-container {
        position: static;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: var(--spacing-xl);
    }
}

/* --------------------------------------
    Responsividade - Medium devices Tablets (≥768px)
*/
@media screen and (max-width: 991px) {
    .page--start {
        background-image: none !important;
        background-color: #EFF3F9 !important;
    }

    .page--internal {
        background-image: url("../images/background-internal-mobile.webp") !important;
    }

    .grid__column--md {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #header__button--language {
        color: #546982 !important;
    }

    .page__section--start {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        margin-top: 24px;
    }

    .main-content__title--start {
        display: none;
    }

    .ep-card .ep-button {
        width: 100% !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .page__header {
        margin-bottom: var(--spacing-xl);
    }

    .grid__row {
        gap: 0;
    }
}

/* --------------------------------------
    Responsividade - Extra Small devices Tablets (<567px)
*/

@media screen and (max-width: 575px) {
    .ep-card {
        max-width: 85vw !important;
    }

    .grid__column--header {
        width: 100%;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
    }
}

@media screen and (max-width: 475px) {
    .card__button-group {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 475px) {
    .card__button-group {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

/*----------------------------*/

@media screen and (max-width: 435px) {
    .page--start .grid__column--header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 425px) {
    .ep-card .ep-card__header-title {
        font-size: var(--font-size-sm) !important;
    }

    .page--internal .footer__button-container {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media screen and (max-width: 415px) {
    .ep-card .ep-button .ep-button__text {
        text-align: center;
    }

    .ep-alert-toaster__container {
        -webkit-box-pack: start !important;
        -ms-flex-pack: start !important;
        justify-content: flex-start !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        padding: var(--spacing-2xs);
    }
}


@media screen and (max-width: 768px) {
    .ep-authenticator-group {
        gap: 0;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-around;
        overflow-x: scroll;
    }

    #authenticator__input--app-auth-code-digit-1,
    #authenticator__input--app-auth-code-digit-2,
    #authenticator__input--app-auth-code-digit-3,
    #authenticator__input--app-auth-code-digit-4,
    #authenticator__input--app-auth-code-digit-5,
    #authenticator__input--app-auth-code-digit-6,
    #authenticator__input--email-auth-code-digit-1,
    #authenticator__input--email-auth-code-digit-2,
    #authenticator__input--email-auth-code-digit-3,
    #authenticator__input--email-auth-code-digit-4,
    #authenticator__input--email-auth-code-digit-5,
    #authenticator__input--email-auth-code-digit-6 {
        width: 20px !important;
    }

    .form__field {
        width: initial;
    }

    .authenticator{
        width: 95%;
    }

    .products-section__title{
        padding-left: 20px;
    }
}

