:root{
	--navbar-bg: #ccc;
	--navbar-bg-2: #aaa;
	--main-blue: #333377;
	--main-blue-hover: #44449f;
	--light-blue: #cde;
	--light-gray: #e5e5e5;
}

body{
	font-size: 12px;
	font-family: "Ubuntu", sans-serif;
}
a{
	text-decoration: none;
	cursor: pointer;
}
a.disabled{
	cursor: default;
}
.navbar{
	background-color: var(--navbar-bg);
	color: var(--main-blue);
}
.page-title{
	align-items: flex-end;
    display: flex;
	font-size: 1.25em;
}
.page-user{
	align-items: center;
    display: flex;
	font-size: 1.25em;
}
.page-user .nav-link{
	font-size: 1.5em;
	margin-left: 5px;
}
.page-user .nav-link:hover{
	color: #fff;
}
.toolbar{
	background-color: var(--navbar-bg-2);
	color: var(--main-blue);
}
.toolbar ul{
	padding: 0;
	margin: 0;
}
.toolbar ul li{
	display: inline-block;
	margin-right: 0px;
}
.toolbar ul li a{
	display: flex;
    padding: 3px 10px;
    color: var(--main-blue);
    align-items: center;
}
.toolbar ul li a.active,
.toolbar ul li a:not(.disabled):hover{
	color: #fff;
	background-color: var(--main-blue);
}
.toolbar ul li a i{
	font-size: 1.25em;
	margin-right: 5px;
}
.panel-filtri {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: .5rem;
}

.main-content{
	min-height: calc(100vh - 127px);
}

.table-pratiche th,
.table-pratiche td,
.table-modifiche th,
.table-modifiche td,
.table-delivery th,
.table-delivery td{
	vertical-align: middle;
	/* background-color: transparent; */
}
.table-pratiche tr,
.table-modifiche tr,
.table-delivery tr{
	cursor:pointer;
}
.table-striped>tbody>tr:nth-of-type(odd){
	background-color: rgb(240 240 240);
	--bs-table-bg-type: rgb(240 240 240);
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
	--bs-table-bg-type: rgb(240 240 240);
}
.table-pratiche tbody tr:hover,
.table-pratiche tbody tr.selected,
.table-pratiche tbody tr:hover>*,
.table-pratiche tbody tr.selected>*,
.table-modifiche tbody tr:hover,
.table-modifiche tr.selected,
.table-delivery tbody tr:hover,
.table-delivery tr.selected{
	background-color: var(--light-blue);
	--bs-table-bg-type: var(--light-blue);
}
/*
tr.rowPratica.colonna {
    background-color: red !important;
}
*/

/* .table-pratiche tbody tr:hover >*,
.table-pratiche tbody tr.selected >*{
	background-color: transparent;
	--bs-table-bg-type: rgba(0,0,0,0) !important;
} */

table .colonna{
	min-width: 150px;
	/*text-wrap: nowrap;*/
	max-width: 600px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
table .colonna.col-35{
	min-width: 35px;
}
table .colonna.col-50{
	min-width: 50px;
}

fieldset.group-data{
	border: 1px solid #c5c5c5;
	padding: 0px 10px 10px;
}

fieldset.group-data > legend{
	float:none;
	width: fit-content;
	padding-left: 5px;
	padding-right: 15px;
	margin-left: 5px;
}

.fixedMaxHeight{
	height: 100%;
}
.scrollabeY{
	overflow-y: auto;
}

.hasError{
	color: #f00;
}

.card.card-desc {
	border-width: 2px;
    text-align: center;
	overflow: hidden;
}
.card.card-desc.no-border{
	border-width: 0;
}
.card.card-desc > label{
	padding: 5px 0px;
}
.row-assegnazioni .card.card-desc > label{
	padding-left: 5px;
	padding-right: 5px;
}
label.statoPratica {
    display: block;
	background-color: var(--main-blue);
    color: #fff;
}
.row-assegnazioni label.statoPratica {
	min-height: 46px;
}
.label-filtri{
	font-size: 0.75rem;
}
.form-ricerca{
	min-height: 25px;
	font-size: 0.75rem;
	padding: 3px 10px;
}
/*
* SCROLLBAR STYE
*/
/* .scrollbar {
	margin-left: 30px;
	float: left;
	height: 300px;
	width: 65px;
	background: #fff;
	overflow-y: scroll;
	margin-bottom: 25px;
} */

.scrollbar-primary::-webkit-scrollbar {
	width: 5px;
	background-color: #e5e5e5;
}

.scrollbar-primary::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
	background-color: #979797;
	/* background-color:var(--bs-dark); */
}

.form-check-input[type=checkbox],
.form-check-input[type=checkbox]+label{
	cursor:pointer;
}

.chkAllField{
	float: left;
	margin: 1px 0 0 3px;
}

input[type=date]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.txt-left{
	text-align: left;
}
.txt-center{
	text-align: center;
}
footer{
	padding-top: 15px;
	padding-bottom: 5px;

	background-color: var(--navbar-bg);
	color: var(--main-blue);
}
.company-logo{
	max-height: 45px;
	margin-right: 15px;
}


.pagination{
	display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.pagination-info,
.pagination-nav{
	display: flex;
}
.pagination-info{
	flex-direction: row;
	align-items: stretch;
}
.pagination-info > div {
	margin-right: 5px;
	padding-left: 5px;
	/* display: flex; */
    flex-direction: row;
    height: fit-content;
    flex-grow: 0;
    align-items: center;
	text-wrap: nowrap;
	border-left: 1px solid #ccc;
}
.pagination-info > div:first-child{
	padding-left: 0;
	border-left: 0px;
}
.pagination-info > *{
	display: block;
	text-wrap: nowrap;
}
.pagination-info select{
	margin-left: 3px;
}
.pagination-info .btn{
	padding: 3px 5px;
}
.rapid-action{
	margin-left: 5px;
	color: var(--main-blue);
	border: 1px solid transparent;
	padding: 3px 5px;
}
.rapid-action:hover{
	border: 1px solid var(--main-blue);
	border-radius: 10px;
}
.select-comandi-rapidi{
	display: inline-block;
	width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
    font-size: .875em;
}
.pages-link {
    display: flex;
    align-items: end;
}
.pages-link span:first-child{
	margin-right: 2px;
}
.pages-link span:last-child{
	margin-left: 2px;
}
/* .pagination-arrow {
	font-size: 20px;
    color: #000;
} */
.pagination-prev{
	margin-right: 2px;
}
.pagination-next{
	margin-left: 2px;
}
.pagination-arrow,
.pagination-link{
	text-decoration: none;
    border: 1px solid var(--main-blue);
    font-size: 18px;
    color: var(--main-blue);
    line-height: 1.5em;
    width: 1.75em;
    display: inline-block;
    text-align: center;
}
.pagination-link.active,
.pagination-link:hover,
.pagination-arrow:hover:not(.disabled)
{
	background-color: var(--main-blue) !important;
	color: #FFF;
}
.pages-link a{
	margin-right: 2px;
}
.pages-link a:last-child{
	margin-right: 0;
}
.pagination-go:not(.disabled){
	cursor: pointer;
}
.pagination-go.disabled{
	cursor: default;
}
.pagination.pagination-foot {
    margin-top: 10px;
}

.btn{
	font-size: 1em;
}

.btn-primary{
	background-color: var(--main-blue);
	border-color: var(--main-blue);
}
.btn-primary:hover{
	background-color: var(--main-blue-hover);
	border-color: var(--main-blue-hover);
}
.btn-primary:disabled{
	background-color: var(--main-blue);
	border-color: var(--main-blue);
	
}
.link-btn{
	color: var(--main-blue);
}
.filters-container{
	padding: 10px 15px;
	background-color: var(--light-blue);
}
.select-additional{
	width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
    font-size: .875em;
	margin-top: 3px;
	display: none;
	/* opacity: 0;
	height: 0px; */
}
.card-filter{
	background-color: var(--light-gray);
}
i.bi.pre{
	margin-right: 5px;
}

.table-allegati td,
.table-allegati th{
	vertical-align: middle;
}

.download-file,
.delete-file,
i.filetype{
	cursor: pointer;
	font-size: 1.5em;
	margin: 0px 5px;
	color: var(--main-blue);
}
i.filetype{
	cursor: default;	
}

.input-has-error{
	border-color: #f00;
}
.container-fluid{
	position: relative;
}

.post-message {
    background-color: var(--main-blue);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 5px 15px;
    text-align: center;
    color: #fff;
    font-weight: 600;
	z-index: 10;
}

.post-message.error-msg{
	background-color: #f00;
}
.post-message.sucess-msg{
	background-color: rgb(0, 151, 0);
}
.post-message.warning-msg{
	background-color: rgb(224, 120, 0);
}

span.status{
	width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: bottom;
	margin-top: -2px;
	margin-right: 3px;
}
.status.green{
	color: green;
}
.status.red{
	color: red;
}
.status.lightblue{
	color: lightskyblue;
}
.status.warning{
	color: orange;
}
.status.exclamation{
	background-image: url(../img/warning.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.status.incompleta{
	background-image: url(../img/alert.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

#stati-esiti{
    max-height: 260px;
}
.btn-chiudi-pratica {
    background-color: #FF9800;
    border-color: #ff9800;
}
.btn-chiudi-pratica:hover {
    background-color: #f5a838;
    border-color: #f5a838;
}

#edit-form{
	display: none;
}
#edit-form.visible{
	display: block;
}
#newUtente{
	height: 100%;
	display: none;
}
#showPwd{
	cursor: pointer;
	padding: 0 10px;
}
#showPwd .hidePwd{
	display: none;;
}

.card .btn-change{
	padding: 0;
	font-size: 1.25em;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.card .btn-change:hover{
	background-color: var(--light-gray);
}
.card .btn-change:disabled{
	border-color: transparent;
}
.btn-card{
	font-size: 0.75em;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.filter-title {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    background-color: var(--light-gray);
}
.filter-title.sezione{
	margin-top: 0;
	background-color: transparent;
	border: 1px solid var(--light-gray);
}
.filter-title.sezione.cliente,
.table-pratiche th.header-cliente{
	background-color: #FFFF00;
}
.filter-title.sezione.tecniche,
.table-pratiche th.header-tecniche{
	background-color: #FFC000;
}
.filter-title.sezione.lavorazione,
.table-pratiche th.header-lavorazione{
	background-color: #00B0F0;
}
.table-pratiche th.header-rete-att{
	background-color: #9999FF;
}
.field-selection{
	max-height: 104px;
	padding-left: 4px;
}


/* STICKY COLUMN*/
/* .table-pratiche thead th{
	position: sticky;
	top: 0;
	z-index: 1;
	background: white;
}

table tbody tr td:nth-child(1),
table tbody tr td:nth-child(2),
table tbody tr td:nth-child(3) {
	position: sticky;
	z-index: 1;
}
table tbody tr td:nth-child(1){
	left: 0;
}
table tbody tr td:nth-child(2){
	left: 29px;
}
table tbody tr td:nth-child(3){
	left: 65px;
} */
/* .table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: rgb(240 240 240);
}
.table-striped>tbody>tr>* {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: rgb(255 255 255);
} */
table tbody tr td.sticky{
	position: sticky;
	z-index: 1;
}
table thead tr th.sticky{
	position: sticky;
	top:0;
	z-index: 20;
}
.table-pratiche-container{
	max-height: calc(100vh - 279.277px);
}
.table-pratiche thead tr th{
	position: sticky;
	top:0;
	z-index: 2;
}
.table-pratiche thead tr th[orderby_val='ASC']::after,
.table-pratiche thead tr th[orderby_val='DESC']::after{
	display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.table-pratiche thead tr th[orderby_val='ASC']::after{content: "\f235";}
.table-pratiche thead tr th[orderby_val='DESC']::after{content: "\f229";}

.jconfirm .jconfirm-box.jconfirm-type-blue{
	border-color: var(--main-blue);
}
.jconfirm .jconfirm-box.jconfirm-type-blue .jconfirm-title-c .jconfirm-icon-c{
	color: var(--main-blue) !important;
}
@-webkit-keyframes type-blue {
    1%,100% {
        border-color: var(--main-blue);
    }

    50% {
        border-color: var(--main-blue-hover);
    }
}

@keyframes type-blue {
    1%,100% {
        border-color: var(--main-blue);;
    }

    50% {
        border-color: var(--main-blue-hover);;
    }
}