@font-face {
    font-family: 'Archivo';
    src: local('Archivo-Regular'), url("/jax-web/javax.faces.resource/fonts/Archivo-Regular.ttf.jsf") format('truetype');
}

@font-face {
    font-family: 'Archivo-Bold';
    src: local('Archivo-Bold'), url("/jax-web/javax.faces.resource/fonts/Archivo-Bold.ttf.jsf") format('truetype');
}

@font-face {
    font-family: 'DMSerifDisplay-Regular';
    src: local('DMSerifDisplay-Regular'), url("/jax-web/javax.faces.resource/fonts/DMSerifDisplay-Regular.ttf.jsf") format('truetype');
}

@font-face {
    font-family: 'NunitoSans-VariableFont';
    src: local('NunitoSans-VariableFont'), url("/jax-web/javax.faces.resource/fonts/NunitoSans-VariableFont.ttf.jsf") format('truetype');
}

html {
    font-family: Archivo; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* ---------- Main UI Colours---------- */
.color_deep_green {
    background-color: #3f6636;
}

.color_green {
    background-color: #619756;
}

.color_light_green {
    background-color: #8cbe82;
}

.color_desaturated_green {
    background-color: #d6e8ba;
}

/* ---------- Secondary Colours ---------- */
.color_grey_1 {
    background-color: #dedee0;
}

.color_grey_2 {
    background-color: #bebdb9;
}

.color_grey_3 {
    background-color: #999999;
}

.color_grey_4 {
    background-color: #cbc3b9;
}

.color_grey_5 {
    background-color: #767072;
}

.color_grey_6 {
    background-color: #36373c;
}

.color_blu {
    background-color: #4066b2;
}

.color_yellow {
    background-color: #eba902;
}

.color_red {
    background-color: #d6312e;
}


/* ---------- FONT ---------- */
.output-label-h1 {
    font-family: Archivo, sans-serif !Important;
    font-size: 33px !Important;
    font-weight: normal !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 36px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.output-label-h2 {
    font-family: Archivo, sans-serif !Important;
    font-size: 30px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 32px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.output-label-h3 {
    font-family: Archivo, sans-serif !Important;
    font-size: 21px !Important;
    font-weight: bold !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 22px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .output-label-pagamento, .output-label-h4 {
    font-family: Archivo, sans-serif !Important;
    font-size: 18px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 20px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .ui-inputfield, .body_text .ui-selectonemenu-label {
    font-family: Archivo, sans-serif !Important;
    font-size: 14px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .output-label, .body_text .ui-outputlabel, .body_text .output-label-free {
    font-family: Archivo, sans-serif !Important;
    font-size: 14px !Important;
    font-weight: 600 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .ui-chkbox-label {
    font-family: Archivo, sans-serif !Important;
    font-size: 14px !Important;
    font-weight: 600 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
    height: 23px;
    vertical-align: bottom;
}

.body_text .output-label-header, .body_text .output-label-importo {
    font-family: Archivo, sans-serif !Important;
    font-size: 30px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 32px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .ui-datatable-even, .body_text .ui-datatable-odd {
    font-family: Archivo, sans-serif;
    font-size: 14px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text p, .body_text ol li {
    font-family: Archivo, sans-serif;
    font-size: 14px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: 20px !Important;
    letter-spacing: normal !Important;
    color: #6d6d6d !Important;
}

.body_text .ui-column-title {
    font-family: Archivo, sans-serif;
    font-size: 14px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    color: #ffffff !Important;
}

.body-2 {
    height: 14px;
    font-family: Archivo, sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #6d6d6d;
}

/* ---------- BUTTON ---------- */
.small_button {
    width: 165px !Important;
    height: 40px !Important;
    border: solid 1px #8cbe82 !Important;
    background-color: #8cbe82 !Important;
    font-family: Archivo !Important;
    font-size: 15px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    text-align: center !Important;
    color: #e5e5e5 !Important;
}

.small_button:hover {
    border: solid 1px #619756 !Important;
    background-color: white !Important;
    color: #619756 !Important;

    width: 165px !Important;
    height: 40px !Important;
    font-family: Archivo !Important;
    font-size: 15px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    text-align: center !Important;

}

.small_button:focus {
    background-color: #3f6636 !Important;
}

.big_button {
    width: 285px !Important;
    height: 60px !Important;
    border-radius: 10px !Important;
    background-color: #8cbe82 !Important;
    font-family: Archivo !Important;
    font-size: 20px !Important;
    font-weight: 500 !Important;
    font-style: normal !Important;
    font-stretch: normal !Important;
    line-height: normal !Important;
    letter-spacing: normal !Important;
    text-align: center !Important;
    color: #fcfcfc !Important;
}

.big_button:hover {
    border: solid 1px #619756 !Important;
    background-color: white !Important;
    color: #619756 !Important;
}

.big_button:focus {
    background-color: #3f6636 !Important;
}

/* ---------- MENU BUTTON ---------- */
.menu_buttons .ui-panelgrid-cell {
    background-color: #ffffff !Important
}

.menu_buttons .ui-button {
    width: 100% !Important;
    height: 84px !Important;
    border-radius: 14px !Important;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.05) !Important;
    background-color: #ffffff !Important;
}

.menu_buttons .ui-button .ui-button-text {
    font-family: Archivo;
    font-size: 1.5em !important;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.63px;
    color: #36373c;
    padding-left: 90px;
}

.menu_buttons #menu_form\:profilo_jaw span.ui-icon {
    background: url("images/registrati48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:paga_pedaggio span.ui-icon {
    background: url("images/pedaggio48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:paga_sollecito span.ui-icon {
    background: url("images/sollecito48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:logout span.ui-icon {
    background: url("images/logout48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:cronologia_pagamenti span.ui-icon {
    background: url("images/cronologia_pagamenti48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:ricaricabile_free_flow span.ui-icon {
    background: url("images/cronologia_pagamenti48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

.menu_buttons #menu_form\:registrazione span.ui-icon {
    background: url("images/registrati48x48.png") no-repeat center center;
    top: 25%;
    margin-top: 0px;
    width: 48px;
    height: 48px;
}

/* region Home Page */
#container .home_text p, #container .home_text ol li {
    text-align: justify !Important;
    color: #555555 !important;
    font-size: 16px !important;
    font-family: 'Lato', Arial, sans-serif !important;
}

/* endregion */
/* region Registrazione Full */
.domicilePanelContent {
    width: 100%;
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.3em;
    row-gap: 20px;
}

.section-header {
    margin: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-items: flex-start;
    align-items: center;
    gap: 1rem;
    font-size: 28px;
    color: #6d6d6d;
}

.plate-table-td {
    margin: 0 1rem;
}

#registrationForm\:plates .ui-datatable-tablewrapper {
    margin-top: 0;
}

#registrationForm\:borninitaly {
    display: block;
}

.vertical-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

/* endregion */
/*region Modifica Targhe*/
#modifica_profilo_targhe_form\:countryWarningMsg {
    font-style: italic;
    margin-bottom: 20px;
}

/*endregion*/
/* region Spaziature */
.small-sp-bottom {
    margin-bottom: 1rem;
}

.checkbox-caption {
    margin-left: 35px;
}

/* endregion */
/* region Button Row */
.centered-button-row {
    display: flex;
    gap: 2rem;
    flex-grow: 0;
    flex-shrink: 1;
    justify-content: center;
}

.spaced-button-row {
    display: flex;
    flex-direction: row;
    justify-items: flex-start;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

/* endregion */
/* region Messaggi */
.output-label-error-bold-fit {
    font-weight: bold !important;
    font-size: 14px !important;
    color: #AA2727 !important;
    text-align: center !important;
}

/* endregion */

#modifica_profilo_account_form\:profilo_mail {
    display: inline-block;
    font-family: Archivo !important;
    font-size: 14px !important;
    padding: 2px 2rem;
    border: 1px solid rgba(118, 118, 118, 0.3);
    border-radius: 5px;
    background-color: rgba(239, 239, 239, 0.3);
}

.option-row-container {
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-row {
    height: 32px;
    display: inline-flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 2rem;
    align-items: center;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}

body .option-row .ui-chkbox .ui-chkbox-box {
    margin-top: 0;
}

/* region Privacy */
.privacy {
    margin: 3rem auto;
    text-align: left;
    background-color: #ffffff;
    max-width: 700px;
    font-family: 'Open Sans', sans-serif;
}

.privacy p {
    font-family: 'Open Sans', sans-serif;
}

.privacy h2 {
    margin: 0 auto;
    text-align: center;
}

.privacy h2.subtitle {
    font-style: italic;
    font-weight: normal;
}

.privacy li {
    color: #6d6d6d;
}

/* endregion */

/* Fix column toggler con foundation */
.ui-columntoggler.ui-widget .ui-columntoggler-items .ui-columntoggler-item:last-child {
    float: none;
}

/*region Tasto toggler colonne per transiti */
#pedaggio_targhe_transiti_form\:transitiTable\:toggler {
    width: 24px;
}

#pedaggio_targhe_transiti_form\:transitiTable\:toggler .ui-button-text {
    height: 24px;
}
/*endregion*/