/* custom pv */
.azioni{
	min-width: 100px;
}

.sidebar-purple{
	background-color: #725DCF;
}

[class*="sidebar-dark-"] {
  /*background-color: #545454 !important;*/
  background-color: #041133 !important;
}

#datatable{
	font-size:12px !important;	
}

#tbl-import-catalogue-competitions,
#tbl-import-event-competitions{
	font-size:10px !important;	
}

#tbl-import-catalogue-competitions td,
#tbl-import-catalogue-competitions th,
#tbl-import-event-competitions td,
#tbl-import-event-competitions th{
	padding: 0px !important;
}

.modal-content,
.card{
	/*background-color: #d6cdf9 !important;*/
	/*background-color: #e5e5e5 !important;*/
    background-color: #f4f6fb !important;
}

/* fix icheck dynamically inserted */
[class*="icheck-"] > input {
    z-index: 1;
    cursor: pointer;
    width: 22px;
    height: 22px;
}

/* fix non visibile con bg colorato */
[class*="icheck-"] > input:first-child { 
  opacity: 1 !important;
}

/* https://stackoverflow.com/questions/54510043/bootstrap-and-select2-form-validation */
.was-validated select.select2:invalid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-invalid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #fa5c7c;
    padding-right: 2.25rem;
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");*/
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated select.select2:invalid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-invalid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}
.was-validated select.select2:valid + .select2.select2-container.select2-container--default span.select2-selection, select.select2.is-valid + .select2.select2-container.select2-container--default span.select2-selection {
    border-color: #0acf97;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230acf97' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated select.select2:valid + .select2.select2-container.select2-container--default .select2-selection__arrow, select.select2.is-valid + .select2.select2-container.select2-container--default .select2-selection__arrow {
    right: 25px!important;
}


/* debug modal chiusura anomala dopo scroll + click select */
.modal-dialog{
    overflow-y: initial !important;
}
.modal-body{
    /*height: 80vh;*/
    max-height: 80vh;
    overflow-y: auto;
}

h1, h2, h3, h4, h5, h6{
	color: #041133 !important;
}

body{
    color: #626679 !important;
}

table-striped tbody tr:nth-of-type(2n+1) {
    /*background-color: rgba(0,0,0,.05);*/
    background-color: rgba(4,17,51,.05) !important;
}

thead, tfoot,
.tfoot /* non usato ?*/
{
    background-color: #ffe09b !important;
}

@media print {
    /* stampa tabelle footer solo alla fine (no in ogni pag) */
    tfoot { 
        display: table-row-group !important; /* non funziona con ctrl p ma funziona con print datatable */
    }
}
