/* TAG */
b { color: #1c1d1f }
body { background-color: #fff!important; font-family: Lato, sans-serif!important }
input[type="email"], input[type="text"], input[type="password"], select, textarea, input[type="date"], input[type="number"] { background: #f5f5f5; width: 100%; height: 30px; padding: 0px 7px; font-weight: 500; border-radius: 0px; border: 1px solid }
textarea { min-height: 150px; padding-top: 10px; padding-bottom: 10px }
textarea.form-control { min-height:150px !important; font-weight: 500; border-radius: 0px; border: 1px solid }

/* ID */
#credential_edit_users label { margin-left: 5px!important; margin-right: 15px!important }
#credential_new_users label { margin-left: 5px!important; margin-right: 15px!important }

/* CLASS */
.button-border.button-pr { border-color: #F9B711; color: #1c1d1f }
.button.button-border:not(.button-fill):hover.button-pr { background-color: #F9B711 }
.button.button-border.button-pr.button-pr-alt { border-color: #fff; color: #fff }
.button.button-border.button-pr.button-pr-alt:hover { background-color: #fff; color: #1c1d1f}

.b_s_none { box-shadow: none!important }
.b_shadow { box-shadow: 2px 2px 5px rgb(0, 0, 0, 0.6) }
.dashboardIcon {  margin: auto; margin-bottom: 10px; border: 3px solid #F9B711; height: 100px; width:100px; padding: 15px; background: #fff; box-shadow: 5px 5px rgba(0, 0, 0, 0.25) }
.dashboardIcon:hover{ margin-left: 5px; margin-top: 5px;  margin-bottom: 5px; box-shadow: none }
.div_bordered { padding: 0px; border: 1px solid #F9B711; box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25) }
.error input, .error textarea, .error select, .error div.well, .error img, .error video, .error .thumbnail, .error .richText { border-color: #D89E0A!important }
.error td label { color: #D89E0A }
.form-control { height: 30px; font-size: 13px }
.form_body { padding: 20px 30px }
.form_footer .button { width: 130px }
.form_header { padding: 15px 30px; background-color: #F9B711 }
.form_header h5 { color: #1c1d1f; margin: 0px }
.g-recaptcha div { margin: auto!important }
.h1_title, .h2_title, .h4_title { text-transform: uppercase }
.h1_title { margin-bottom: 40px }
.h2_title { margin-bottom: 20px }
.h4_title { margin-bottom: 10px }
.bg_pr .h2_title, .bg_pr h3, .bg_pr p { color: #1c1d1f }
.bg_pr p { color: #333 }
.icon_pr { border: 2px solid #F9B711; padding: 3px }
.icon_amber { border: 2px solid #EB9C4D; padding: 3px }
.icon_red { border: 2px solid #D89E0A; padding: 3px }
.icon_green { border: 2px solid #59ba41; padding: 3px }
.icon_grey { border: 2px solid #777777; padding: 3px }
.icon_directory, .icon_file { width: 20px; height: 20px; margin-right: 10px }
.modal_stripe { border-bottom: 1px solid #D89E0A; background: #F9B711; height: 20px }
.modal-content, .modal-header{ border-radius: 0px }
.modal-content { border: none }
.modal-header { border-bottom: 1px solid #D89E0A; background: #F9B711 }
.modal-header .modal-title { color: #1c1d1f; margin: auto }
.modal-body { padding: 20px }
.modal-footer { border-top: 1px solid #F9B711; display: flow-root; text-align: center }
.notice { width: 400px; position: fixed; z-index: 1050; right: 5px; top: 5px }
.rpg_post a { text-decoration: underline!important }
.table.b_none th, .table.b_none td { border: 0px !important }
.table tr.thead { height: 40px; text-transform: uppercase; font-size: 20px; font-weight: bold; background-color: #F9B711; color: #1c1d1f}
.table_display tr th { text-transform: uppercase; font-size: 14px; font-weight: 500 }
.table_cookies p { margin-bottom: 0px; font-size: 14px }
.table_cookies td { vertical-align:middle!important }
.td_action { min-width: 50px; width: 50px; text-align: center }
.td_action img, .icon_action { min-width: 35px; min-height: 35px; width: 35px; height: 35px; cursor:pointer; background-color: #fff}
.td_action_sm img, .icon_action_sm { min-width: 30px; min-height: 30px; width: 30px; height: 30px; cursor:pointer; background-color: #fff}
#ulDirectories{display: block;position: fixed;background: white; padding:5px; border: 1px solid #999; border-top: none}
#ulDirectories li{color:#555; padding:2px}
#ulDirectories li:hover{color:#1c1d1f; background-color: #F9B711 }

/* ── LOGIN PAGE ── */
.login-page #wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.login-section { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(48px, 6vw, 88px) 20px; background: var(--rpg-bg-off); font-family: var(--rpg-font-body); }
.login-card { width: 100%; max-width: 460px; font-family: var(--rpg-font-body); background: #fff; border: 1px solid var(--rpg-line); border-radius: var(--rpg-radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 12px 40px rgba(20, 22, 26, .08); }
.login-card .card-eyebrow { font-family: var(--rpg-font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rpg-fg-2); display: inline-flex; align-items: center; gap: .5em; margin-bottom: 10px; }
.login-card .card-eyebrow::before { content: "//"; color: var(--rpg-yellow); font-weight: 700; }
.login-card h1, .login-card h2 { font-family: var(--rpg-font-display); font-weight: 700; color: var(--rpg-900); letter-spacing: -.03em; margin: 0 0 8px; }
.login-card h1 { font-size: 28px; }
.login-card h2 { font-size: 24px; }
.login-card .card-sub { font-size: 14px; color: var(--rpg-500); margin: 0 0 28px; line-height: 1.6; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--rpg-700); margin-bottom: 7px; }
.login-page .field .form-control,
.login-page .field input[type="email"],
.login-page .field input[type="password"] { width: 100%!important; height: 46px!important; padding: 0 14px!important; font-size: 14.5px!important; font-family: var(--rpg-font-body)!important; color: var(--rpg-900)!important; background: var(--rpg-50)!important; border: 1.5px solid var(--rpg-theme)!important; border-radius: var(--rpg-radius-sm)!important; box-shadow: none!important; outline: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-page .field .form-control:focus,
.login-page .field input[type="email"]:focus,
.login-page .field input[type="password"]:focus { border-color: var(--rpg-theme)!important; background: #fff!important; box-shadow: 0 0 0 3px rgba(249,183,17,.20)!important; }
.login-page .field input::placeholder { color: var(--rpg-400); }
.field-hint { margin-top: 7px; text-align: right; }
.field-hint a { font-size: 13px; color: var(--rpg-fg-1); text-decoration: none; font-weight: 500; }
.field-hint a:hover { text-decoration: underline; }
.login-submit { width: 100%; height: 48px; font-size: 15px; font-family: var(--rpg-font-display); font-weight: 600; background: var(--rpg-theme); color: #1c1d1f; border: none; border-radius: var(--rpg-radius)!important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: background .2s, transform .2s, box-shadow .2s; }
.login-submit:hover { background: var(--rpg-theme-hover); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,.22); color: #1c1d1f; }
.login-divider { border: none; border-top: 1px solid var(--rpg-100); margin: 24px 0; }
.login-bottom { text-align: center; font-size: 13px; color: var(--rpg-400); }
.login-bottom a { color: var(--rpg-fg-1); font-weight: 600; text-decoration: none; }
.login-bottom a:hover { text-decoration: underline; }
.login-hidden { display: none; }
.recaptcha { margin-bottom: 20px; }
.icon-sm { font-size: .8em; margin-right: 4px; }
@media (max-width: 540px) { .login-card h1 { font-size: 24px; } }

/* MEDIA */
@media (max-width: 575px) {
    .h1_page_title { margin-top: 80px!important; font-size: 40px!important }
}

@media (min-width: 576px) {
    .h1_page_title { margin-top: 100px!important }
}

@media (min-width: 768px) {
    .h1_page_title { margin-top: 140px!important }
}

@media (min-width: 992px) {
    .h1_page_title { margin-top: 160px!important }
}

@media (min-width: 1200px) {
    .h1_page_title { margin-top: 260px!important }
}

/* Modale "xxl" (es. Avvisi in area admin): la classe non esiste in Bootstrap,
   quindi il dialog ripiegava sulla larghezza default ~500px schiacciando tab+tabelle. */
.modal-xxl { max-width: 96%; margin-left: auto; margin-right: auto; }
@media (min-width: 1500px) {
    .modal-xxl { max-width: 1400px; }
}
/* Contenuto lungo (molte tab/tabelle): scroll interno invece di sforare la viewport */
.modal-xxl .modal-body { max-height: 78vh; overflow-y: auto; }

