html {
    height: 100%;
}

body {
    margin: 0px;
    background-color: #FAFAFA;
    color: #010046;
    height: 100%;
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h3 {
    font-size: 17px;
    font-weight: 400;  
}

h5 {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

a {
font-size:12px;
color:#010046;
}

.mobile-container {
  max-width: 480px;
  margin: auto;
  background-color:#d3d3d3;
  color: #010046;
  border-radius: 10px;
  display:none;
}

.topnav {
  overflow: hidden;
  background-color: #f0f0f0;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
    display: none;
    padding:5% 0;
}

/* Style navigation menu links */
.topnav a {
  color: #010046;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: #f0f0f0;
  display: block;
  position: absolute;
  right: 0;
  top: 10px;
  display: inline-block; 
  cursor: pointer;   
}

/* Add a grey background color on mouse-over */


.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}


/* Style the active link (or home/logo) */
.active {
  background-color: #f0f0f0;
  color: white;
}
/*HEADER*/
.header-desktop {
    height: 70px;
    width: 100%;
    margin-bottom: 0px;
    background-color:#ebeaea;
    color:#010046;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.header-logo span {
    /*width: calc(100% - 280px);*/
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0px;
    align-self:center;
}

.header-desktop a {
    font-size: 14px;
    margin-right: 2em;
    text-decoration: none;
    color: #010046;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .2s;
}

.header-desktop a:hover{
    text-decoration-line: underline;
    text-underline-offset: 5px;
}

.header-desktop a:active{
    text-decoration-line: underline;
    text-underline-offset: 5px;
}

.header-center, .header-right{
    display: flex;
    align-items: center;
    width:fit-content;
}
.header-right {
    justify-content: space-between;
    gap: 2%;
    padding-right:2%;
    width:fit-content;
}

.header-button {
    font-family: "IBM Plex Sans", sans-serif;
    cursor: pointer;
    border-radius: 10px;
    border: 0px;
    background-color: #0E2C8F;
    color: #FFFFFF;
    transition:.2s;
    text-transform:uppercase;
    padding: 8px 12px !important;
    font-size: 14px;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
}
.header-button svg{
    margin-right:10px;    
}

.header-button span {
    width:max-content;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    width:30%;
    padding-left:2%;
}

.header-logo img {
    width:20%;
    height:auto;
    margin-right: 5%;    
}
/*HEADER*/



/*FOOTER*/
.footer {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    float: left;
    height: 35px;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    background-color: #E5E7EB;
    color: #4A5565;
    font-size: 11px;;
    font-weight:300;
}
/*FOOTER*/



/*BOTTONI*/

button {
    cursor: pointer;
    border-radius: 10px;
    border: 0px;
    background-color: #0E2C8F;
    color: #FFFFFF;
    padding: 3px 7px;
    transition: .2s;
    text-transform:uppercase;
}

.table-form-action2, #generic_form submit{
    cursor: pointer;
    border-radius: 10px;
    border: 0px;
    background-color: #0E2C8F;
    color: #FFFFFF;
    padding: 3px 7px;
    transition: .2s;
    text-transform:uppercase;
}

button:hover, .table-form-action2:hover, #generic_form submit:hover {
    background-color: #3277B9 !important;
    color: #FFF !important;
}

.message-continue-button, .table-form-action2 {
    padding: 8px 12px;
    font-size: 15px;
    display: inline-flex;
    font-weight: 500;
    align-items:center;
}

input[type="submit"], .message-continue-button {
    background-color:#d3d3d3;
    color: #010046 !important;
    text-transform:uppercase;
    border:none !important;
    transition: .2s;
    letter-spacing: .5px;
    padding: 10px;
    font-weight:500 !important;
    font-size: 15px !important;
}

input[type="submit"]:hover , .message-continue-button:hover {
    background-color:#5494cf;
}

.close-button {
    background-color: unset !important;
    
}

.close-button:hover{
    background-color: #f0f0f0 !important;
}

.message-continue {
    width:15% !important;
}

.table-form-action2 {
    float: right;
    font-weight: 400;
}

.edit-button {
    stroke:#010046;
    cursor: pointer;
    transition: .2s;
}

.edit-button:hover{
    stroke:#3277B9;

}


/*BOTTONI*/


.content {
    width: 100%;
    height: calc(100% - 72px);
}



.main {
    float: left;
    height: calc(100% - 115px);
    /*height: -webkit-fill-available;*/
    width: calc(100% - 60px);
    padding: 30px;
    overflow-y: auto;
}




.box {
    width: calc(100% - 40px) !important;
    padding: 20px !important;
    display: inline-table !important;
   /* margin-bottom: 20px; */
    float:unset !important;
}

.box-title {
    border-bottom: 1px solid #ccc;
    padding: 0px !important;
    height: 50px !important;
    font-weight: 500;
    width: 100%;
    font-size: 26px;
    display: inline-block;
    color: #1E2939;
    margin-bottom: 40px;
}

.row {
    flex-direction: row;
    display: flex;
    justify-content: center;
    gap: 2em;
}

/*FORM*/
.table-form {
    padding: 20px;
}

.table-form .form-title {
    position: relative;
    top: -2px;
    color: #1E2939;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    
}

.reset-filter  {
    border: 1px solid #C2466D;
    color: #C2466D;
    background-color: #ffe5ec;
   /* color: #fff; */
    font-size: 12px;
    font-weight:400;
    text-transform: uppercase;
    display: inline-flex;
    height: 22px;
    width: 63px;
    border-radius: 10px;
    line-height: 22px;
    cursor: pointer;
    text-align: center;
    margin-left: 9%;
    transition:.2s;
    justify-content:center;
    align-items: center;
    fill: #C2466D;
    padding: 0 .5%;
}

.reset-filter svg  {   
    margin-left: 5%; 
}

.reset-filter:hover {
    background-color:#86304C !important;
    color: #ffe5ec;
    fill: #ffe5ec !important;
}
.table-form input{
    border-radius: 10px;
    border: 1px solid #99A1AF;
}

.table-form input, .table-form select {
    margin: 5px auto 15px 0px;
    padding: 10px;
    height: auto;
    font-family: "IBM Plex Sans", sans-serif;
    line-height:10px;
    font-weight: 500;
}

.table-form select {
    height: 40px;
}

.table-form .message-continue-button {
    height: 41px;
   /* line-height:30px; */
    padding: 5px 10px;
    cursor:pointer;
}

.table-form .table-form-action2 {
    height: 30px;
   /* line-height:30px; */
    padding: 5px 10px;
}

.table-form-action2 svg {
  fill:white; 
  margin:auto 0 auto 10px; 
}

.table-form-action3 {
   /* margin-top:10% !important; */
    cursor:pointer;
    text-transform: uppercase;
    line-height:10px; 
    align-items: center;
    justify-content: center; 
    display: flex;
    max-width: fit-content;
    margin: 0 0;
    background-color:#d3d3d3 !important;
    padding:2% 3% !important;
    transition: .2s;
    border-radius: 10px;
    font-weight:500;
    text-decoration: none;
    color:#010046 !important;
}

.table-form-action3 svg {
margin-left: 8px;
}

.table-form-action3:hover {
    background-color:#5494cf !important;
    color: #FFF !important;
    fill: #FFF !important;
}


#generic_form div {
    width: -webkit-fill-available;
    padding: 10px 15px;
    /*display: inline-block;*/
    height: auto;
    float: left;
}

#generic_form .form-group div {
    width: 100%;
    padding: 10px 0px;
    display: inline-block;
    height: 85px;
}

#generic_form div label {
    font-size: 14px;
    margin: 10px 0;
    font-weight: 400;
    display: block;
}


#generic_form div label > span {
    width: 16px;
    height: 16px;
    font-size: 16px;
    float: right;
    margin-right: -19px;
    cursor: pointer;
    border: 1px solid #777;
    border-radius: 9px;
    padding: 0px 0 0 0px;
    text-align: center;
}

#generic_form div input, #generic_form div select, #generic_form div span, #generic_form div textarea, select {
    width: -webkit-fill-available;
    height: 30px;
    padding: 6px 10px;
    font-size: 13px;
    display: flex;
    border-radius: 10px;
    border: 1px solid #99A1AF;
}

#generic_form div textarea {
    height: 85px;
}

#generic_form div input[type='checkbox'] {
    width: 30px;
    padding-left: 0px;
    margin-left: 0px;
}

#generic_form div select {
    height: 45px;
    width: calc(100% + 23px);
}

#generic_form div select.parts {
    width: calc(88%);
    margin-bottom: 6px;
    float: left;
}

#generic_form div input.quantity {
    width: 22px;
    margin-bottom: 5px;
    float: right;
    margin-right: -20px;
}

#generic_form submit {
    padding: 8px 12px;
    font-size: 16px;
    margin-top: 30px;
    width: fit-content;
    display: inline-flex;
    clear: both;
}

#generic_form .form_time {
    width: 50%;
    float:left;
    position: relative;
}

#generic_form .form_time:first-child {
    left: 0px
}
#generic_form .form_time:last-child {
    right: -23px
}

#generic_form .form_time:first-child::after {
    content: " : ";
}

#generic_form .file-container {
    margin: 0px;
    padding:0px 10px 5px 0;
    height: 45px;
    width: calc(33% - 10px);
    overflow: hidden;
}

#generic_form #uploaded-files .file-container div {
    border: 1px solid #ccc;
    text-wrap-mode: nowrap;
    padding: 3px 5px;
    height: fit-content;
    margin: 10px 0px 10px 0;
    border-radius: 2px;
    width: calc(100% - 15px);
    overflow: hidden;
}

#generic_form #uploaded-files .file-container span {
    padding: 0px 3px;
    position: relative;
    top: -45px;
    right: -94%;
    background-color: #fff;
    color: red;
    display: inline;
    border: 1px solid red;
    border-radius: 8px;
    cursor: pointer;
}

#generic_form div.buttons-container {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
}

#generic_form div.buttons-container submit {
    display: inline-block;
    margin: 20px auto 0px auto;
}
/*FORM*/



/*TABLES*/
.total-found {
    margin-top: 50px;
    font-size: 13px;
    color: #AAA;
    font-style: italic;
}

table {
    width: calc(100% - 40px);
    margin: 15px 20px 0 20px;
    border-collapse: collapse;
    
}


table thead th {
    color:#010046;
    text-align: left;
    height: 50px;
    font-weight:400;
    font-size: 15px;
    text-transform: uppercase;
    border-bottom:1px solid #3277B9;
}

table tbody tr {
    border-top: 1px solid #E5E7EB;
    height: 50px;
    font-weight:300;
    text-align: left;
    color:#1E2939;
    font-size: 14px;
}

table tbody tr:hover {
    background-color: #ebf2f8;
}

table tbody tr td {
    margin: 0px;
}

table tbody tr td img:hover {
    cursor:pointer;
}

table tfoot th {
    height: 50px;
    text-align: left;
}

.prorogato {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 5px;
    background-color: #C44601;
    margin-left: 10px;
}
/*TABLES*/

/*PAGER*/
.pager {
    text-align: center;
    margin: 20px 0 10px 0;

}

.pager > span {
    position: relative;
    display: inline-block;
    height: 27px;
    width: 27px;
    background-color: #C44601;
    transform: rotate(45deg);
    cursor: pointer;
    z-index: 1;
    top: 7px;
    
}

.pager > span:hover {
    box-shadow: 0px 1px 2px 2px #ccc;
}

.pager > span.disabled {
    cursor: auto;
    background-color: #ccc;
}

.pager > span.disabled:hover {
    box-shadow: none;
}

.pager > span:first-child {
    left: 13px;
}

.pager > span:last-child {
    left: -13px;
}

.pager > span:first-child > span {
    display: inline-block;
    height: 40px;
    width: 19px;
    background-color: #FFF;
    transform: rotate(-45deg);
    margin: -14px 0px 0px 10px;
}

.pager > span:last-child > span {
    display: inline-block;
    height: 39px;
    width: 20px;
    background-color: #FFF;
    transform: rotate(-45deg);
    margin: 0px 6px -14px -12px;
}

.pager > select {
    position: relative;
    height: 40px;
    z-index: 2;
    width: 105px;
}

.dialog-container {
    position: fixed;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background-color: rgb(0, 0, 0, 0.4);
    display: none;
}

.dialog {
    position:relative;
    z-index: 99991;
    height: 70%;
    width: fit-content;
    background-color: #fff;
    margin:70px auto 0 auto;
}


.dialog-title {
    padding: 10px 30px;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 1px solid #cfcfcf;
    margin-bottom: 30px;
    display:flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
 
.dialog-title button {
    float:right;
    cursor:pointer;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.container-user-data{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.user-info {
    display: flex;
    flex-direction: column; 
    align-self: center;
    width: 100%; 
    justify-content: center; 
    align-items: center;
    background: #fff;
    border-radius: 6px;
    padding:3% 2%;
    align-self: flex-start;
}

.doc-list {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px 15px;
    width:30%;
}

.doc-list h4 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.doc-list ul {
    margin: 0;
    padding: 1%;
    list-style: none;
}

.doc-list li {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: var(--primary-color);
    cursor: pointer;
}


input[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #d1d5db;
}

.doc-list .table-form-action {
    background-color:#ececec;
    padding:1% 3%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 3%;
    transition:.2s;
    margin-top:1%;
    justify-content: space-between;
}

.doc-list .table-form-action:hover {
    background-color:#e2e2e2;
}

.form-group {
    display:flex;
    flex-direction: row;
    width: max-content;
    column-gap: 10%; 
}

.container-new-user{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.forms-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap:5%;
    justify-content:center;

}
.save-pw  {
    justify-content: center;
}


.doc-import{
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Sans", sans-serif;
    gap:2em;
}

.doc-import div {
    width: -webkit-fill-available;
    /*display: inline-block;*/
    float: left;
    padding: 10px 10px;
}

.doc-import div label {
    font-size: 14px;
    margin: 10px 0;
    font-weight: 400;
    display: block;
}

.doc-import div input, .doc-import div select, .doc-import div span, .doc-import div textarea, .hasDatepicker {
    width: -webkit-fill-available;
    height: 30px;
    padding: 6px 10px;
    font-size: 13px;
    display: inline-block;
    border-radius: 10px;
    border: 1px solid #99A1AF;
}

.doc-import div textarea {
    height: 85px;
}

.doc-import div select {
    height: 45px;
    width: -webkit-fill-available;
}

.doc-import  div input[type='file'] {
    padding-left: 0px;
    margin-left: 0px;
    margin-top:5%;
    border: unset !important;
}

.doc-import .table-form-action3 {
    align-self: center;
}

.registration-message {
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top:5%;
}

.registration-message div {
    padding:2% 3%;
    background-color: #FFFFFF;
    border-radius:10px;
}

.registration-message h2 {
    font-size:46px;
    margin:0% 0%;
    text-align: center;
}

.registration-message p {
    text-align:center;
}

.container-new-user .user-info {
    align-self:center !important;
    margin-top:5%;
}

.modal-content {
    border-radius: 10px;
    padding:15px 15px;
}

.login {
    width: 30%;
    height: 60%;
    margin: 10% auto;
}

.login img {
    margin: 0 auto 30px auto;
    display: block;
}

.login form {
    width: 350px;
    margin: 0 auto 30px auto;
    display: flex;
    padding:15px 15px; 
}

.login button {
    padding: 13px 16px !important;
    margin:8% 0;
    font-size: 15px;
    display: inline-flex;
    font-weight: 500;
    width:100%;
    cursor: pointer;
    border-radius: 10px;
    border: 0px;
    background-color: #0E2C8F;
    color: #FFFFFF;
    transition: .2s;
    text-transform:uppercase;
    font-family: "IBM Plex Sans", sans-serif;
    justify-content:center;
}

.login input {
    width: -webkit-fill-available;
    height: 30px;
    padding: 6px 10px;
    font-size: 13px;
    display: flex;
    border-radius: 10px;
    border: 1px solid #99A1AF;
    margin: 3% 0%;
}

.crea-account {
    width: auto;
    height: 60%;
    margin: 5% auto;
    justify-content: center;
    align-items: flex-start;
    display: flex;
}
/*PAGER*/

/*LAYOUT*/

.col-column {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 3em;
}

.col-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 4em;
}

.rinnovo-snackbar {
    background-color: white;
    border-radius:10px;
    justify-items: flex-end;
    padding: 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	width: 100%;
}

@media screen and (max-width: 480px) {
    .header-desktop{
    display: none;
}

.mobile-container{
  display:block;  
}
.header-button {
    margin-top: 4%;
    margin-left:2%;
}

.header-logo img {
    width:-webkit-fill-available;  
}
.forms-container {
    flex-direction: column;
    gap:3em;
}
.user-info {
   width: -webkit-fill-available;
   padding:2% 3%;
}

.topnav #myLinks{
    text-align: center;
}

.topnav a.icon {
    top: 0; 
}

.table-responsive {
    overflow-x:auto !important;
    width: 80vw;
}

#generic_form div {
    padding: 10px 0px;
}

.table-form {
    padding: 20px 0; 
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;  
}

.table-form input, .table-form select {
    margin: 5px 0 15px 0px;
    width: -webkit-fill-available !important;  
}

.table-form .table-form-action2 {
    justify-content: center;
}

.form-group {
    flex-direction: column;
}

.doc-list {
    width:100%;
}

.box {
    width:unset !important;
    display: block;
    padding:20px 0 !important;
}

table {
      border-collapse: collapse;
  border-spacing: 0;
  width: max-content;
}

.col-column {
    flex-direction: column;
    width: 100%;
    gap: 3em;
}

.col-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 4em;
}

.rinnovo-snackbar {
    padding: 1% 0 5% 0;
    flex-direction: column;
    align-items: center;
}
}