﻿body {
    font-size: 20px;
}

#logo {
    height: 100%;
    display: block;
    margin: auto;
}

.main-container {
    width: 90%;
}

.logo-div {
    margin-top: 10px;
    height: 100px;
}

.listino-div {
    margin-top: 5px;
    display: flex;
    gap: 10px;
    vertical-align: middle;
    align-items: center;
}

.listino-div label{
    margin: 0;
}

.listino-div select {
    width: 100px;
    box-shadow: 3px 3px 4px;
}

.table {
    user-select: none;
    border-collapse: separate;
    border-spacing: 0;
}

.tabella-capi-div {
    position: relative;
    height: 460px;
    width: 75%;
    border: 3px solid;
    overflow-y: auto;
    box-shadow: 2px 2px 6px;
}

.tabella-capi-wrapper {
    height: calc(100% - 50px);
    overflow: auto;
}

.tabella-capi-div table tr {
    vertical-align: middle;
    border-bottom: 1px solid;
}

.tabella-capi-div td input {
    vertical-align: middle;
}

.tabella-capi-div select {
    width: auto;
}

.tabella-capi-head {
    position: sticky;
    top: 0;
    z-index: 1;
    overflow: hidden;
    background-color: white;
}

.tabella-capi-div table {
    max-height: calc(100% - 50px);
    margin: 0;
}

.totale-div {
    position: absolute;
    bottom: 0;
    height: 50px;
    z-index: 1;
    width: 100%;
    border-top: 2px solid;
    text-align: center;
    vertical-align: middle;
    background-color: palegreen;
    display: flex;
    align-items: center;
}

.tabella-pagamenti-div {
    position: relative;
    height: 460px;
    width: 25%;
    border: 3px solid;
    overflow-y: auto;
    box-shadow: 2px 2px 6px;
}

.tabella-pagamenti-wrapper {
    height: calc(100% - 50px);
    overflow: auto;
}

.tabella-pagamenti-div table {
    max-height: calc(100% - 50px);
    margin: 0;
}

.tabella-pagamenti-div table tr {
    vertical-align: middle;
    border-bottom: 1px solid;
}

.tabella-pagamenti-div table button {
    display: none;
}

.tabella-pagamenti-div table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    overflow: hidden;
    background-color: white;
}

.tabella-pagamenti-div td input {
    vertical-align: middle;
}

.container1 {
    margin-top: 10px;
    display: flex;
    gap: 40px;
}

.aggiungi-pagamento-div {
    position: absolute;
    bottom: 0;
    height: 50px;
    z-index: 1;
    width: 100%;
    border-top: 2px solid;
    text-align: center;
    vertical-align: middle;
    background-color: palegreen;     
    display: flex;
    align-items: center;
}

.aggiungi-pagamento-div td input {
    font-weight: bold;
    padding: 0;
    height: 30px;
    width: 30px;
}

.aggiungi-capo-div {
    height: 50px;
    z-index: 1;
    width: 40%;
    border: 2px solid;
    text-align: center;
    vertical-align: middle;
    background-color: palegreen;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.aggiungi-capo-div td input button {
    font-weight: bold;
    padding: 0;
    height: 30px;
    width: 30px;
}

.aggiungi-capo-div td input text {
    font-weight: bold;
    padding: 0;
    height: 30px;
    width: 150px;
}

.container1-1 {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.note-div {
    width: 40%;
}

.note-div textarea {
    height: 150px;
    resize: none;
    font-size: 24px;
    box-shadow: 2px 2px 6px;
}

.conferma-div {
    display: flex;
    width: 10%;
    align-items: center;
}

.conferma-div input {
    width: 100%;
    height: 50px;
    text-align: center;
    box-shadow: 2px 2px 6px;
}

.messaggio-container-div {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 60, 60, 0.5);
    display: flex;
}

.messaggio-div {
    width: 500px;
    margin: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    border: 1px solid;
    box-shadow: 5px 5px 10px;
    user-select: none;
}

.messaggio-header {
    position: relative;
    height: 20%;
    width: 100%;
    border-bottom: 1px solid;
    background-color: lightgrey;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.messaggio-header input {
    position: absolute;
    right: 0;
}

.messaggio-content {
    height: 100%;
    width: 100%;
    background-color: white;
    padding: 10px;
    white-space: pre-wrap;
}

.form-control:focus {
    box-shadow: none;
    border: black 1px solid;
}

.form-select:focus {
    box-shadow: none;
    border: black 1px solid;
}

.btn-close:focus {
    box-shadow: none;
}