:root{
    --my-light-grey: #f5f7f9;
    --my-grey: #979393;
    --bs-body-bg:#fff;
    --bs-border-color:#000;
    --bs-primary: #363a40;
    --bs-primary-rgb: 54, 58, 64;
    --bs-secondary: #ff8b1f;
    --bs-secondary-rgb: 255, 139, 31;
    --bs-link-color: var(--bs-secondary);
    --bs-link-hover-color: var(--bs-primary);
}
:focus-visible {
    outline: none;
}
/* BOOTSTRAP REBOOT START */

.page-link:focus,
.btn-close:focus,
.form-select:focus,
.form-check-input:focus,
.form-control:focus{
    outline:none!important;
    box-shadow:none!important;
    border-color:var(--bs-primary);
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate{
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-switch .form-check-input:focus:not(:checked) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ff8b1f'/%3e%3c/svg%3e");
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.pagination {
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
    --bs-pagination-focus-box-shadow: none;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    border-color:transparent;
}
.btn-close{
    width:0.5rem;
    height:0.5rem;
    --bs-btn-close-color:#fff;
    --bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    --bs-btn-close-opacity:0.75;
    --bs-btn-close-hover-opacity:1;
}
.dropdown-item.active, 
.dropdown-item:active{
    color: inherit;
    background-color: inherit;
}

form .row{
    min-height:32px;
}
/* BOOTSTRAP REBOOT END */

body {
    font-size: 12px;
    background-color: #979393;
    font-family: Arial, sans-serif;
    border-radius: 5%;
}

#topImage img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left center;
}

#topImage {
    padding: 1vh;
    padding-left: 3vh;
    height: 10vh;
}

#topfixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 94%;
    background-color: white;
    left: 3%;
    z-index: 1049;
}

.ui-dialog {
    z-index: 99999 !important;
}

#footer_social_web img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left center;
}

#footer_social_others img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left center;
}

#footer_social_web {
    padding-bottom: 1vh;
    height: 5vh;
}

#footer_social_others {
    padding: 1vh;
    height: 4vh;
}

#logo_efax {
    padding: 1vh;
    height: 25vh;
}

#topMenu {
    padding-right: 3vh;
    margin-left: auto;
    height: 10vh;
    width: auto;
    display: flex;
    align-items: center;
}

.dropdown a {
    font-size: 14px !important;
    font-weight: bold !important;
}

.dropdown-menu{
    background-color: #f5f7f9;
}

a {
    color:var(--bs-secondary);
    text-decoration: none;
}
a:hover {
    color:var(--bs-primary);
    text-decoration: underline;
}

.dataTable a {
    color:var(--bs-primary);
}
.dataTable a:hover {
    color:var(--bs-secondary);
    text-decoration: none;
}

img {
    vertical-align: middle;
}

.warning {
    color: red !important;
    font-size: 11px !important;
}

img.actionIcon {
    height: 20px;
}

#tmpDiv {
    visibility: hidden;
    display: none;
}

.tophitcolor {
    font-size: 12px;
    background-color: #FFc42b;
}

.hitcolor {
    font-size: 12px;
    background-color: #FFFFFF;
}

.downhitcolor {
    font-size: 12px;
    background-color: #F1F1F1;
}

td {
    font-size: 12px;
}


#container {
    width: 94%;
    margin: 0 auto;
}


/* MAIN CONTENT: inizio */
#mainContent {
    width: 100%;
    min-height: 76vh;
    overflow-x: hidden;
    padding: 1vh;
    padding-top: 1vh;
    background-color: #f5f7f9;
    margin-top: 10vh;
}

#loginFormContainer {
    width: 300px;
    margin: auto;
    margin-top: 50px;
}

#footer {
    width: 100%;
    height: 14vh;
    background-color: #373c48;
    position: relative;
    float: left;
    color: #FFFFFF;
    line-height: 20px;
    font-size: 12px;
    padding-top: 1vh;
}

#footer a {
    text-decoration: none;
    color: #FFFFFF;
}


#dati {
    width: 100%;
    float: left;
    position: relative;
    padding-top: 20px;
    /*text-align: center;*/
}

#datiOperatori {
    width: 100%;
    float: left;
    position: relative;
    padding-top: 30px;
}

#dati table {
    width: 810px;
    margin-left: auto;
    margin-right: auto;
}

/* grigio alternato delle righe delle tabelle*/
tr.coloredBg {
    background-color: #f1f1f1;
}

/* alcune tabelle*/
.oggi {
    background-color: #EEDCDC;
}

/* naviLinks */
.naviLinks {
    text-decoration: none;
}



.rigaPari {
    background-color: #F2F2F2;
}

.page_title {
    background-color: #FFFFFF;
    color: #999999;
    float: left;
    font-size: 15px;
    height: 30px;
    padding-top: 5px;
    text-align: left;
    text-transform: uppercase;
    /* width: 900px; */
    width: 100%;
}

.page_title_2 {
    background-color: #FFFFFF;
    color: #999999;
    float: left;
    font-size: 15px;
    height: 20px;
    padding-top: 5px;
    text-align: left;
    text-transform: uppercase;
    width: 400px;
}

.header {
    text-align: center;
    background-color: #d6ef4b;
    height: 30px;
    line-height: 30px;
}

.header2 {
    text-align: center;
    background-color: #FFc42b;
}

.header3 {
    text-transform: uppercase;
    text-align: left;
    font-size: 13px;
}

.headerFormLogin {
    text-align: center;
    color: #AAAAAA;
    font-size: 15px;
}

/*FORM VARIE*/
.formRecipient {
    width: 200px;
}

.formSubject {
    width: 200px;
}

.addressbook_name {
    text-align: left;
    padding-left: 5px;
}

textarea {
    resize: none;
    font-size: 12px;
}

.w20 {
    width: 20px;
}

.links a img {
    width: 16px;
    height: 16px;
}


.form_label {
    text-transform: capitalize;
}

/* .form_ricerca{
    width: 100%;
    height: 35px;
    float:left;
    line-height: 26px;
    text-align: left;
} */

/* .form_ricerca .form_label{
    width: 30%;
    height: 26px;
    float:left;
}

.form_ricerca .form_input{
    width: 70%;
    height: 26px;
    float:left;
} */
.elementoForm {
    padding: 0.1%;
    display: flex;
    height: 25px;
    line-height: 25px;
}

.dataTables_length label {
    margin-top: 7px;
    margin-bottom: 0px !important;
}

.dataTables_filter label {
    margin-top: 3px;
    margin-bottom: 0px !important;
}

.dataTable {
    font-size: 12px;
}

table.dataTable thead th {
    padding: 6px 10px;
}

table.dataTable tbody td {
    padding: 4px 10px;
}

.dataTables_info {
    /*background-color: #6c757d;*/
    margin-right: 1em;
    padding-top: 0.8em !important;
    float: left;
    font-size: 12px;
}

.dataTables_top,
.dataTables_bottom {
    display: flex;
    align-items: center;
    gap:8px;
}

.dataTables_top>div.dataTables_info {
    margin-left: auto;
}

.dataTables_bottom>div.dataTables_paginate {
    margin-left: auto;
}

.dataTables_top>div,
.dataTables_bottom>div {
    float: none!important;
    text-align: center;
    padding: 5px 0!important;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.dataTables_opt_filters:empty {
    display: none !important;
}

.dataTables_top>div input,
.dataTables_top>div label,
.dataTables_bottom>div input,
.dataTables_bottom>div label {
    margin-top: 0;
    margin-bottom: 0;
}

.table>thead>tr>th {
    color: white;
    background-color: var(--bs-primary);
}

div.dataTables_wrapper div.dataTables_length select{
    min-width:75px;
}

.dataTables_top>div.dataTables_info, .dataTables_bottom>div.dataTables_paginate {
    margin-left: auto !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_paginate .paginate_button:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    padding: 0;
    margin: 0;
    border: 0 solid transparent;
    background: none;
    background-color: transparent;
}

table.dataTable thead>tr>th.sorting:before, 
table.dataTable thead>tr>th.sorting:after{
    opacity:0.5;
}

table.dataTable thead>tr>th.sorting_asc_disabled:before, 
table.dataTable thead>tr>th.sorting_asc_disabled:after, 
table.dataTable thead>tr>th.sorting_desc_disabled:before, 
table.dataTable thead>tr>th.sorting_desc_disabled:after{
    opacity:0.25;
}

table.dataTable thead>tr>th.sorting_asc:before, 
table.dataTable thead>tr>th.sorting_desc:after, 
table.dataTable thead>tr>td.sorting_asc:before, 
table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 1;
}

thead tr {
    /* background-color: #383838f7; */
    /* color: #ffffff; */
    /* background-color: #eeac60; */
    background-color: #373c48;
    color: white;
}

thead th,
thead td {
    text-transform: uppercase;
}

.tableTitle {
    font-size: 12px;
    font-weight: 600;
    /* color: #ffd485; */
    text-transform: uppercase;
    /* background-color: #000000; */
    width: 100%;
    border-bottom-color: #000000;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin-bottom: 4px;
}

.modal {
    z-index: 99999;
}

.modal-title {
    font-size: 14px;
    font-weight: bold;
}

.modal-footer {
    border: 0px;
    display: none;
}

.modal_btn_close {
    color: white;
}

.modal-body {
    font-size: larger;
    max-height: 90vh;
    overflow-y: auto;
}

img.modal-loading {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 25vh;
    margin: 10vh 0;
}

#loading {
    padding: 45vw;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: absolute;
    display: none;
}

.page-loading {
    position: fixed;
    top: calc(50vh - 5vw);
}

.loading_section {
    background-image: url(../images/loading_new.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 180px;
}

#loading_modal {
    background-image: url(../images/loading_new.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 30vh;
}

.error,
.form-control.error,
#loginForm input.error{
    border:1px solid red;
    margin-bottom:0.5em;
}
.error:focus-visible{
    outline: red auto 1px;
}

label.error{
    display: block;
    color:red;
    border:none;
}

#loginForm  label.error{
    padding:0 10%;
}