@import url('https://fonts.googleapis.com/css?family=Maven+Pro:400,500,700');

body
{
	background: #f5f7f9;
	color: #282828;
	font-size: 14px;
	line-height: normal;
	font-family: 'Maven Pro', Arial, Verdana, sans-serif;
}

button, input, optgroup, select, textarea
{
	font-family: 'Maven Pro', Arial, Verdana, sans-serif;
}

h1
{
	font-size: 24px;
}

h2
{
	font-size: 20px;
}

h3
{
	font-size: 18px;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

#wrapper
{
    display: flex;
    flex-direction: column;
    min-height: 91vh;
    justify-content: space-between;
}

.page-header h1
{
	font-size: 24px;
	text-transform: uppercase;
	font-weight: bold;
	margin: 0 0 15px 0;
}

.col-lg-11
{
    -ms-flex: 0 0 84%;
    flex: 0 0 84%;
    max-width: 84%;
}

.col-lg-1
{
    -ms-flex: 0 0 16%;
    flex: 0 0 16%;
    max-width: 16%;
    padding: unset;
}

.left_menu {
    width: 100%;
}

.bottom-content-container {
    margin-top: 20px;
}

.footer-container {
    background: #282828;
    padding: 20px 0;
    color: #fff;
	padding: 10px 0;
}
[v-cloak] { display: none; }
.top-header {
    background: #282828;
    color: white;
	padding: 10px 0;
}

.top-0 {
    top: 0;
}

.end-0 {
    right: 0;
}

.end-10 {
    right: 10px;
}

.main-menu {
    background: #fff;
    padding: 0;
	margin: 0;
    box-shadow: 0px 2px 3px #ececec;
}

.main-menu .menu-container
{
	align-items: center;
	justify-content: space-between;
}

.menu-item
{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menu-primary-ul
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.menu-primary-ul li
{
	margin: 0 20px 0 0;
	height: 40px;
	border-bottom: 3px solid #fff;
	display: flex;
	align-items: center;
}

.menu-primary-ul li.active
{
	border-bottom: 3px solid #7a9d41;
}
.form-error {
    color: red;
}
.menu-primary-ul li a, .navbar-logout-a
{
	color: #282828;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	padding: 0 10px;
}
.menu-primary-ul .dropdown-item {
    padding-top: 8px;
    padding-bottom: 8px;
}

.dropdown-menu
{
    padding:0;
}
.menu-primary-ul .dropdown-item:hover {
    background: #7a9d41;
}
.menu-primary-ul li.active a
{
	color: #7a9d41;
}

.main-container {
    height: 100%;
}

.main-container
{
	margin-top:20px ;
}

.main-container .card
{
	border-radius: 2px;
}
.table-id
{
    background: rgb(122, 157, 65);
    border-radius: 3px;
    padding: 2px;
    text-align: center;
    font-weight: bold;
    color: white;
}
.card-header
{
  
	border-bottom: 2px solid gray;
    border-radius: 0!important;
    padding-top: 7px;
    padding-bottom: 7px;
}

.card-header h3 {
    margin-bottom: 0px;
    font-size: 18px;
}

.card-body
{
    padding: 10px;
}

.card-body .alert
{
    margin-top: 0px;
    margin-bottom: 0px;
}

.pointer
{
    cursor: pointer !important;
}

.left-column {
    display: flex;
	flex-direction: column;

}

body .mt-0, body .my-0
{
	margin-top: 0px!important;
}

.btn-group
{
	justify-content: flex-end;
	width: 100%;
}

.btn-disabled {
    background-color: unset !important;
}

.login-box {
    margin: 0 auto;
}

.header-welcome-message-box
{
	font-size: 16px;
	line-height: 28px;
}

a:hover
{
	opacity: 0.5;
	text-decoration: none;
	color: initial;
}

p.field-error {
    color: red;
}
.not-logged-container .card
{
	box-shadow: 0px 0px 9px 0px #929292;
}

.main-container .card
{
	border: 1px solid #cdd3da;
}

/* BOTTONI */

.btn, .card, .form-control, input {
    border-radius: 4px;
}

select.th-input.form-control{
    height: 23px
}

.btn
{
    height: auto;
    text-transform: uppercase;
    font-weight: 600;
	color: #fff;
	border: none;
	width: auto;
    flex: none!important;
}

.btn-default
{
	background-color: #282828;
}

.btn-default:hover
{
	background-color: #282828!important;
	opacity: 0.5;
}

.warring
{
   color: #f0ad4e;
}

.btn-secondary
{
    padding: 6px 10px!important;
	line-height: 10px;
    font-size: 13px;
}


.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .btn-primary:hover
{
    color: #fff;
    background-color: #5f5f5f!important;
    border: none;
}

.btn-primary.disabled, .btn-primary:disabled
{
    background-color: #9a9fa5;
}

/* END */

/* FORM */

.navbar-search-input
{
    width: 30.7777%;
   
    height: 28px;
    padding: 4px;

}
.navbar-search-input input{
    font-size: 13px;
    line-height: 16px;
    margin: 0;
    border: 1px solid #282828;
    height: 100%
}

.navbar-search-input:nth-child(5n)
{
	margin: 0;
}

.navbar-search-container
{
	display: flex;
    justify-content: end;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
}

.bg-dark
{
    background-color: #282828!important;
}

.bg-green-2open
{
    background-color: #c9ffb8!important;
}

.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;}

/* END */

/* LOGIN BOX */

.not-logged-container {
    display: flex;
	width: 100%;
	height: 100vh;
	background: url(../images/login-bg.jpg) no-repeat top center;
	background-size: cover;
}

.not-logged-container .container
{
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.not-logged-container .card
{
	border: none;
	box-shadow: 0px 0px 3px #607e59;
}

.not-logged-container .card-body
{
	padding: 30px;
}

.login-logo
{
	width: 100%;
	height: 35px;
	margin: 0 0 15px 0;
	background: url(../images/logo.png) no-repeat center top;
}

.login-header-icon-box {
    position: relative;
    border-bottom: 2px solid #c5c5c5;
    padding: 0 0 10px 0;
    margin: 0 0 30px 0;
	text-align: center;
}

.login-icon-img {
    background: #fff url(../images/login-people-icon.png) no-repeat center top;
    width: 60px;
    height: 35px;
    display: inline-block;
    position: absolute;
    left: 45%;
    padding: 10px;
    top: -5px;
}

.login-title {
    position: relative;
    z-index: 99;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.form-group.login-username
{
    background: #e7e9eb url(../images/login-user-ico.png) no-repeat 5px center!important;
    border: none;
    padding: 0 0 0 30px;
    border-radius: .25rem;
}

.form-group.login-password
{
	background: #e7e9eb url(../images/login-pass-ico.png) no-repeat 5px center!important;
    border: none;
    padding: 0 0 0 30px;
    border-radius: .25rem;
}

.not-logged-container input[name="username"], .not-logged-container input[name="password"]
{
	background: #e7e9eb;
	border: none;
    padding: 7px;
    line-height: 14px;
    height: auto;
}

/* END */

.notification-ul
{
	display: flex;
    padding: 0;
    margin: 0;
	min-height: 28px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style-type: none;
    width: auto;
}

.notification-ul li a
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	color: #fff;
	text-transform: uppercase;
    padding: 10px 0px 10px 10px;
}

.notification-ul > .contain > a
{
    border-bottom: 0.5px solid #efefef;
    border-top: 0.5px solid #efefef;
}

.notification-ul li a:hover
{
	text-decoration: none;
}

.notification-ul .notification
{
    position: relative;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 12px;
    display: flex;
    align-items: center;
    height: 1.1rem;
    color: #fff!important;
    text-transform: uppercase;
    border-radius: 3px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    margin: 0 15px 0 0;
    cursor: pointer;
    font-weight: 500;
}

/* .notification-ul .notification::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    position: absolute;
    right: -9px;
    top: 0;
    border-left: 9px solid #ff1515;
} */

.header-functions-ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.header-functions-ul li
{
	margin: 0 30px 0 0;
}

.header-function-time .btn-labeled
{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.header-functions-ul li_last-child
{
	margin: 0;
}

.header-functions-ul .btn-label
{
	padding: 0;
    border-radius: 0;
    position: absolute;
    left: -12px;
    top: 3px;
    background: #7a9d41;
    border-radius: 100px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 3px #425a19;
    justify-content: center;
}

.header-functions-ul .btn-label i
{
	padding: 0;
	color: #fff;
	border-radius: 0;
	font-size: 13px;
}

.header-functions-ul .btn-labeled
{
    background-color: #7a9d41;
    border-color: #7a9d41;
	position: relative;
	height: 28px;
}

.header-functions-ul
{
	border: none;
	height: 26px;
	width: 40px;
}

.top-header .col-md-3, .top-header .col-md-6
{
    flex-direction: column;
    justify-content: center;
    display: flex;
}

.top-header .col-md-6
{
    justify-content: space-between;
}

.header-function-time
{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.header-function-time input[type="text"]
{
    font-size: 13px;
    line-height: 16px;
    padding: 4px;
    margin: 00;
    border: none;
    height: 28px;
    border-radius: 2px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 50px;
}

.logo-2open-credentials {
    display: inline-block;
    width: 49px;
    height: 10px;
    margin: 0 0 0 5px;
    background: url(../images/2open-footer.png) no-repeat center center;
}

.footer-add-favorites-link, .footer-add-favorites-link:hover {
    color: #7a9d41;
    font-weight: 500;
    font-style: italic;
}

.footer-add-favorites-link i
{
	color: #fff;
	margin: 0 0 0 5px;
}

/* tabelle */

.table tbody tr:hover td {

    background: #e3fdd9;
}

.table tbody tr:hover td.no-hover {

    background: transparent;
}

.table tbody tr:hover td a
{
	opacity: 1;
}

.table a
{
	color: #000;
}


.table a:hover {
    color: rgb(53, 53, 53);
}


.table th a
{
    color:white !important;
}
.th-input {
    width: 100%;
    max-width: 100%;
}

.table .thead-dark th, tfoot td {
    color: #fff;
    background-color: #282828;
    border-color: #ffffff;
	border-bottom-width: 1px;
    font-weight: 500;
}

.table-striped tbody tr:nth-of-type(odd)
{
    background-color: #eff1f4;
}

.table-sm th
{
    padding: .5rem;
}

.table-sm td
{
    padding: .3rem;
}

.table-striped tbody tr {
    background: #f9fafb;
}

.table .table-filters th {
    background: #c7c7c7;
}

.table-filters .form-control
{
    font-size: 12px;
    height: 100%;
	padding: 3px 5px;
}
.table tbody td, .table th
{
	border-top: 0px solid e7e7e7;
    font-weight: 500;
	font-size: 14px;
}

.table .btn:not(.btn-large) {
    font-size: 12px;
    font-weight: bold;
    padding: .2rem .4rem;
    line-height: 12px;
	border: none;
}

table .fa {
    color: #808080;
}

table .btn.fa 
{
    color:white;
}
table .btn
{
    color:white;
}
.table th
{
	font-weight: 500;
}

.table tbody td
{
    color: #000;
}

.table .table-nowrap
{
	white-space: nowrap;
}

 /* Stile per righe pari */
tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Cambia il colore come desideri */
}

/* Stile per righe dispari */
tbody tr:nth-child(odd) {
    background-color: #ffffff; /* Cambia il colore come desideri */
}
.project-icon
{
  font-size: 3rem;
}
.ag-left
{
	text-align: left;
}

.ag-right
{
	text-align: right;
}

.ag-center
{
	text-align: center;
}

table
{
       margin-bottom: 20px;
}

.pagination {
    margin: 15px 0 0 0;
    justify-content: center;
}

.page-item.active .page-link {
    background-color: #7a9d41;
    border-color: #7a9d41;
}

.page-link {
    padding: .4rem .7rem;
    font-weight: 500;
    color: #333333;
    font-size: 13px;
    margin: 0 2px;
    background: #eeeff1;
    border-radius: 2px;
    border: 1px solid #dee2e6;
    border: none;
}
.monoline
{
    white-space: nowrap;
}
.table-action-td
{
    text-align: center;
}
.table .fa.sdi-idle
{
    color: gray;
}
.table .fa.sdi-sent
{
    color: rgb(253, 225, 99);
}
.table .fa.sdi-received
{
    color: rgb(66, 175, 51);
}
.table .fa.sdi-rejected
{
    color: rgb(211, 60, 60);
}
.page-link:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #7a9d41;
    border-color: #bdcea0;
}

h1
{
	font-weight: bold;
}

.left_menu .box {
	background: #282828;
    color: white;
    margin: 5px 0;
    padding: 10px 10px 10px 30px;
    font-weight: 500;
    font-size: 16px;
}

.left-column .main-item
{
    display: block;
    float: none;
    width: 100%;
}

.left-column .nav-pills .nav-link {
    background: #282828;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 2px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.left-column .nav-pills .nav-link:hover
{
	color: #fff!important;
}

.left-column .nav-pills .sub-item .nav-link:hover
{
	color: #333!important;
}

.left-column .nav-pills .sub-item
{
	background: #fff;
	border: 1px solid #cdd3da;
	border-top: none;
}

.left-column .nav-pills .sub-item a
{
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 0px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
	text-transform: uppercase;
}

.subtitle {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px 0;
}

.status-aperto {
    color: #4CAF50;
}
.status-chiuso {
    color: grey;
}
.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: table;
  transition: opacity .3s ease;
}

.modal-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.modal-container {
  margin: 0px auto;
  padding: 25px;
  position: relative;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
  transition: all .3s ease;
  display: inline-block;
  min-width: 400px;
}

.modal-container-xl {
    min-width: 1000px !important;
}

.btn-modal-close, .btn-modal-close:hover {
    position: absolute;
    top: 0;
    right: 0;
	background: transparent!important;
    color: #333!important;
    min-width: 30px;
    min-height: 30px;
    padding: 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
    z-index: 99999999;
}

.form-bordered {
    background: #f5f7f9;
    padding: 20px;
    border-left: none;
    border-right: none;
	border: 1px solid #e2e9f0;
}

form label
{
	margin: 0 0 3px 0;
}

label
{
	color: #000;
	font-weight: 500;
	margin-bottom: 0;
}

.top-header form
{
	padding: 0;
	background: transparent;
	border: none;
}

.table td, .table th
{
	border-top: 0px solid #e6e6e6;
}

.table td.custom
{
	border-top: 1px solid #e6e6e6;
}

.table-complex
{
	font-weight: 500;
}

.table-sm td, .table-sm th
{
    padding: .4rem;
}

.modal-header h3 {
  margin-top: 0;
  color: #42b983;
}

.modal-body {
  margin: 20px 0;
}

.modal-default-button {
  float: right;
}

.btn-login
{
	display: block;
	width: 100%;
}

.btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn:not(:last-child):not(.dropdown-toggle)
{
	border-radius: 2px!important;
}

.left-column .nav-pills .nav-link.box.left-m-customer-card
{
	background: #282828 url(../images/ico-col-scheda.png) no-repeat 15px center;
	padding-left: 40px;
}

.left-column .nav-pills .nav-link.box.left-m-commercial
{
	background: #282828 url(../images/ico-col-commerciale.png) no-repeat 15px center;
	padding-left: 40px;
}

.left-column .nav-pills .nav-link.box.left-m-accounting
{
	background: #282828 url(../images/ico-col-contabilita.png) no-repeat 15px center;
	padding-left: 40px;
}

.left-column .nav-pills .nav-link.box.left-m-ticket
{
	background: #282828 url(../images/ico-col-ticket.png) no-repeat 15px center;
	padding-left: 40px;
}

.left-column .nav-pills .nav-link.box.left-m-domains-hosting
{
	background: #282828 url(../images/ico-col-domini.png) no-repeat 15px center;
	padding-left: 40px;
}

.left-column .nav-pills .nav-link.box.left-m-attachment
{
	background: #282828 url(../images/ico-col-allegati.png) no-repeat 15px center;
	padding-left: 40px;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

@media (min-width: 978px){
    .modal-xl{
        width: 1140px !important;
        max-width: 1140px;
    }

    .modal-xxl{
        width: 1280px !important;
        max-width: 1280px !important;
    }
}

.modal-3xl{
    width: 90vw !important;
    max-width: 90vw;
}
/* END */

/* DATEPICKER */

.ui-widget.ui-widget-content {
    border: 1px solid #cdd3da;
    box-shadow: 0px 2px 3px #ececec;
}

.ui-widget-header {
    border: none;
    background: #e9ecef;
    color: #333;
    font-weight: normal;
    font-size: 13px;
	border-radius: 0;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 1px solid #cdd3da;
    background: #ffffff;
    font-weight: normal;
    color: #333;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #7a9d41;
    background: #7a9d41;
    color: #fff;
}

/* END */

.invoices-to-send-list 
{
    list-style-type: none;
    margin: 0;
    padding: 20px 0px;
}

.custom-switch
{
    padding-right: 1em;
}



td.gridcol-inv-tot
{
    width: 120px;
}

.invalid-feedback.show{
    display:block
}


#allegati .fas, #allegati .far{
    font-size: 24px
}
#allegati td{
    vertical-align:middle
}

@media (min-width: 1200px){
.container {
    max-width: 100%;
}
}


.fa-circle.closed{
    color: #c5c5c5 !important;
}
.fa-circle.sleeping{
    color: #f0ad4e !important;
}
.fa-circle.open{
    color: green !important;
}
.fa-circle.error{
    color: red !important;
}
.bk-sleeping{
    background: #f0ad4e;
}
.bk-error{
    background: red;
}
.alert-rounded{
    width: 91px;
    height: 20px;
    padding: 5px;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-letter {
    color: black;
    font-size: 10px; /* Dimensione del testo */
}

.table-action-td{
    text-align:center
}

.warning{
    background: #c7c7c7;
    padding: 10px;
    line-height:16px;
    border-radius: 2px;
}

.form-check-input{
    margin-top: 0.2rem !important;
}
.loading-box-overlay{
    background: rgba(255,255,255,0.8);
    width:100%;
    height:100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99998;
  }
  .loading-absolute{
    left: 0;
    top: 0;
    margin: auto;
    bottom: 0;
    right: 0;
    z-index:99999;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .relative{
    position: relative;
  }
  .action-todo{
    width: 20px !important;
    height: 20px !important;
    padding: 14px !important;
 
  }
  .action-todo.cat{
    background: url(../images/ico-categorie.svg) no-repeat center center !important;
    background-size: 20px 20px !important;
  }
  .action-todo.emp{
    background: url(../images/ico-dipendenti.svg) no-repeat center center !important;
    background-size: 20px 20px !important;
  }
  .action-todo.div{
    background: url(../images/ico-divisioni.svg) no-repeat center center !important;
    background-size: 20px 20px !important;
  }
  .action-todo.sys{
    background: url(../images/ico-sistemi.svg) no-repeat center center !important;
    background-size: 20px 20px !important;
  } 
  .action-todo.pro{
    background: url(../images/ico-progetti.svg) no-repeat center center !important;
    background-size: 20px 20px !important;
  }
  .action-todo.save{
    background: url(../images/ico-invio.svg) no-repeat center center !important;
	background-size: cover !important;
  
  }
  .action-todo:hover, .action-todo.selected{
    background-color: #c5c5c5 !important;
    color: #282828 !important
  }

.ml-10{
    margin-left: 10%;
}

.min-w-25{
    min-width: 25%;
}

.min-h-25{
    min-height: 25%;
}

.h-fit-content{
    height: fit-content;
}

.w-90{
    width: 90%;
}

.w-85{
    width: 85%;
}

.w-80{
    width: 80%;
}

.w-70{
    width: 70%;
}

.w-65{
    width: 65%;
}

.w-55{
    width: 55%;
}

.w-45{
    width: 45%;
}

.w-40{
    width: 40%;
}

.w-35{
    width: 35%;
}

.w-33{
    width: 33.33%;
}

.w-30{
    width: 30%;
}

.w-20{
    width: 20%;
}

.w-15{
    width: 15%;
}

.w-13{
    width: 13%;
}

.w-10{
    width: 10%;
}

.h-vh-90 {
	height: 90vh;
}

.h-vh-80 {
    height: 80vh;
}

.h-vh-75 {
    height: 75vh;
}

.gap-2{
    gap: .5rem
}

.height-input{
    height: 25px !important;
}

.border-right-2{
    border-right: 2px solid #FFF !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

input.show-spin::-webkit-outer-spin-button,
input.show-spin::-webkit-inner-spin-button {
  -webkit-appearance: auto !important;
  margin: 0;
}

/* Firefox */
input[type=number]:not(.show-spin) {
  -moz-appearance: textfield;
}

.custom-file-input:lang(it) ~ .custom-file-label::after {
    content: 'Seleziona';
  }

.alert-danger {
    color: white;
    font-weight: bold;
    background-color: #d45757;
    border-color: #d45757;
}

.contain {
    margin-top: 1rem;
    width: 100%;
}
.contain:first-child {
    margin-top: 0px;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
}

.ellipsis-2{
    -webkit-line-clamp: 2; 
}

.vuecal__event {
    background-color: transparent !important;
    padding: 5px;
}

ul#ulDellaChat  {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

    
}

ul#ulDellaChat::-webkit-scrollbar {
    width: .25rem;
    height: .25rem;
}

ul#ulDellaChat::-webkit-scrollbar-thumb {
    background: #4b4b4b;
}

#ulDellaChat::-webkit-scrollbar-track {
    opacity: 0.2;
    background: #262626;
}

.grid-sub-div > div {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 1rem;
}

.IN_MIGRAZIONE {
    background-color: yellow;
}

.vuecal__flex.vuecal__title {
    position: static !important;
}

.vuecal__title-bar {
    position: relative;
}

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    right: 0;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 30px;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.5rem;
    outline: none;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
  }
  .option-input:hover {
    background: #9faab7;
  }
  .option-input:checked {
    background: #28a745;
  }
  .option-input:checked::before {
    width: 30px;
    height: 30px;
    display:flex;
    content: '\f00c';
    font-size: 20px;
    font-weight:bold;
    position: absolute;
    align-items:center;
    justify-content:center;
    font-family:'Font Awesome 5 Free';
    flex-shrink: 0;
  }
  .option-input:checked::after {
    background: #28a745;
    content: '';
    display: block;
    position: relative;
    z-index: 100;
  }
.test {
    min-width: 300px;
}
.vertical-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1; /* Troncamento su due righe */
    line-height: 1.5; /* Altezza della riga */
    max-height: calc(1.5em * 1); /* Calcolato in base a line-height e numero di righe */
}
.btn-splash
{
	background-color: #282828;
}

.btn-splash:hover
{
	background-color: #282828!important;
    color: white;
	opacity: 0.5;
}

.ck.ck-balloon-panel {
    z-index: 99999 !important;
}

.explorer{
    height: calc(100vh - 170px) !important;
}

.explorer .card-header{
    height: 38px !important;
}

.explorer .card-body{
    overflow-y: auto;
    max-height: calc(100vh - 208px ) !important;
    padding-left: 20px;
    padding-right: 20px;
}

.custom-height .ck-content {
    min-height: 740px;
}

.supplier-crm-height .ck-content {
    min-height: 450px;
}

i.onhover {
    opacity: 0;
    pointer-events: none;
}

td:hover i.onhover{
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

/* Responsive widths per Bootstrap 4 */
@media (min-width: 576px) {
    .w-sm-25 { width: 25% !important; }
    .w-sm-50 { width: 50% !important; }
    .w-sm-75 { width: 75% !important; }
    .w-sm-100 { width: 100% !important; }
  }
  
  @media (min-width: 768px) {
    .w-md-25 { width: 25% !important; }
    .w-md-50 { width: 50% !important; }
    .w-md-75 { width: 75% !important; }
    .w-md-100 { width: 100% !important; }
  }
  
  @media (min-width: 992px) {
    .w-lg-25 { width: 25% !important; }
    .w-lg-50 { width: 50% !important; }
    .w-lg-75 { width: 75% !important; }
    .w-lg-100 { width: 100% !important; }
  }
  
  @media (min-width: 1200px) {
    .w-xl-25 { width: 25% !important; }
    .w-xl-50 { width: 50% !important; }
    .w-xl-75 { width: 75% !important; }
    .w-xl-100 { width: 100% !important; }
  }

.dropdown-menu {
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
}

.actions-wrapper {
	gap: 0.5rem;
}

.select-wrapper {
	flex-shrink: 0;
}

/* Mobile */
@media (max-width: 840px) {
	.actions-wrapper {
		flex-direction: column;
		align-items: stretch;
	}
	.select-wrapper,
	.buttons-wrapper {
		width: 100%;
	}
	.buttons-wrapper {
		flex-direction: column;
	}
	.buttons-wrapper a,
	.buttons-wrapper button {
		width: 100%;
		margin-right: 0 !important;
	}

    .menu-primary-ul {
        display: initial;
        height: auto;
        margin: 0 auto;
    }

    .menu-primary-ul li {
        display: initial;
        height: auto !important;
        margin: 5px auto;
        width: 50%;
        border-bottom: none;
        min-height: 20px;
    }

    .menu-primary-ul li a {
        width: 100%;
        display: block;
    }

    .menu-primary-ul .dropdown-menu {
        position: relative;
        float: none;
        box-shadow: none;
        width: 100%;
    }

    .menu-primary-ul .dropdown-item {
        padding-left: 20px;
    }

    .mobile-scroll{
        overflow-x: auto;
        margin-right: 10px;
    }

    .mobile-filter{
        flex-wrap: wrap !important;
    }

    .mobile-balance{
        width: 380px;
    }
}

.min-vh-60{
    min-height:60vh!important
}

.mobile-filter{
    flex-wrap: nowrap;
}

.gap-5{
    gap: 1.8rem
}

.hide-on-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.btn-save {
    height:35px; 
    width:100px;
}

.card-footer {
    border-top: 2px solid grey;
    padding-top: 7px;
    padding-bottom: 7px;
}

.hide-col {
    display:none;
}
.option-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    right: 0;
    bottom: 0;
    left: 0;
    height: 25px;
    width: 25px;
    transition: all 0.15s ease-out 0s;
    background: #fff;
    border: 1px solid #ced4da;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.5rem;
    outline: none;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
  }
  .option-checkbox:hover {
    background: #fff;
  }
  .option-checkbox:checked {
    background: #007bff;
  }
  .option-checkbox:checked::before {
    width: 25px;
    height: 25px;
    display:flex;
    content: '\f00c';
    font-size: 15px;
    font-weight:bold;
    position: absolute;
    align-items:center;
    justify-content:center;
    font-family:'Font Awesome 5 Free';
    flex-shrink: 0;
  }
  .option-checkbox:checked::after {
    background: #28a745;
    content: '';
    display: block;
    position: relative;
    z-index: 100;
  }