.custom-header, .custom-footer {
	background: #ffffff;
	margin: 0 0 0 0;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;	
}

.navbar {
    background-color: rgba(2, 42, 59, 1);
    text-transform: uppercase;
}

.nav-item {
    text-transform: capitalize;
}

.navbar .navbar-text {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}

.navbar-light .navbar-nav {
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link:hover, 
.navbar-light .navbar-nav .nav-link:focus {
    color: rgb(248, 193, 2, 1 );
}

#catarti .nav-link, #catarti .list-group .list-group-item {
    background-color: #FEC600;
    color: rgba(2, 42, 59, 1);
}

#catarti .nav-link:hover, #catarti .list-group .list-group-item:hover {
    background-color: rgba(2, 42, 59, 0.35);
    color:rgba(248, 193, 2 , 1);
}

.form-check-input:checked {
    background-color: rgba(2, 42, 59, 0.85);
}

.form-switch input[type=checkbox]:checked, 
.form-switch input[type=checkbox]:active,
.form-switch input[type=checkbox]:focus,
.form-switch input[type=checkbox]:focus-visible  {
    filter: hue-rotate(0deg);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.25);
}

.dropdown-menu.show {
    padding: 0.5rem;
    background-color: #F5F5F5;
}

.dropdown-item {
    padding: 1rem 0.75rem;
    color: rgba(2, 42, 59, 1);
    background-color: #F5F5F5;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: rgba(2, 42, 59, 1);
    background-color: rgba(248,193, 2, 0.6);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(2, 42, 59, 0.45);
}

.card-header.custom-card-header {
    background-color: rgba(2, 42, 59, 1);
    color: #ffffff;
}

.custom-card-body {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.19);
}

.card-login:hover{
    border-radius: 4px;
    box-shadow: 0 6px 10px rgba(241, 237, 237, 0.08), 0 0 6px rgba(0, 0, 0, 0);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    cursor: pointer;
    transform: scale(1.04);
}

.form-control:focus, .form-select:focus {
    border-color: rgba(2, 42, 59, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.25) !important;
}

select:focus > option:checked, select:focus > option:hover { 
    background: rgba(2, 42, 59, 0.5);
}

.btn-outline-primary:hover {
    background-color: rgba(2, 42, 59, 1);
}

.btn-primary.custom-btn-ok {
    background-color: rgba(248,193,2, 1);
    color: rgba(2, 42, 59, 1);
    border-color: rgba(248,193,2, 0.25);
}

.btn-primary.custom-btn-ok:hover, .btn-primary.custom-btn-ok:disabled {
    background-color: rgba(2, 42, 59, 1);
    border-color: rgba(2, 42, 59, 0.25);
    color: #ffffff;
}

.btn-primary.custom-btn-ok:active, .btn-primary.custom-btn-ok:focus {
    background-color: rgba(2, 42, 59, 0.8);
    border-color: rgba(2, 42, 59, 1);
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.55);
}

.btn-outline-dark.custom-btn-outline-ok {
    border-color:#444444;
    color: rgba(2, 42, 59, 1);
}

.btn-outline-dark.custom-btn-outline-ok:hover, .btn-outline-dark.custom-btn-outline-ok:disabled {
    background-color: rgba(2, 42, 59, 0.5);
    border-color: rgba(2, 42, 59, 0.25);
}

.btn-outline-dark.custom-btn-outline-ok:active, .btn-outline-dark.custom-btn-outline-ok:focus {
    background-color: rgba(2, 42, 59, 0.8);
    border-color: rgba(2, 42, 59, 1);
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.55);
}

.border-primary {
    border-color: rgba(2, 42, 59, 1) !important;
}

.custom-label-input {
    color: black;
}

.transparent-button {
    border: 0.1em solid rgba(2, 42, 59, 1);
    border-radius: 8px;
}

.transparent-button:hover, .transparent-button:focus {
    border-radius: 4px;
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.2);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(2, 42, 59, 1);
    transform: scale(1.04);
    background-color: rgba(248,193,2, 0.6);
}

.form-control:focus {
    border-color: rgba(2, 42, 59, 1);
    box-shadow: 0 0 0 0.25rem rgba(2, 42, 59, 0.2);
}

.custom-header {
    background-color: rgba(2, 42, 59, 1);
    color: #F5F5F5;
}

.custom-footer {
    background-color: rgba(2, 42, 59, 1);
    color: #F5F5F5;
}

.carousel-caption {
    right: 10%;
    text-align: right;
    left: auto;
    padding: 5px;
}

.carousel-control-next, .carousel-control-prev {
    width: 8%;
}

.custom-carousel-img-inner {
	height: 350px;
	min-height: 200px;
    width: auto;
    object-fit: cover;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgba(2, 42, 59, 0.2);
}

.table-row{
    cursor: pointer;
}

.table-row:hover{
    background-color: rgba(248, 193, 2 , 0.5);
}

.tabpromo caption {
    color:rgba(255, 255, 255, 1);
    background-color: rgba(2, 42, 59, 1);
}

.tabpromo tr:hover td,
.table-hover tbody tr:hover td{
    background-color:rgba(248, 193, 2, 0.5);
}

* html .ui-autocomplete {
    height: 100px;
}

.ui-autocomplete {
    max-height: 150px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.sidebar li .submenu{ 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	/*padding-left: 1rem; 
	padding-right: 1rem; */
}

.sidebar .nav-link {
    font-weight: 500;
    color: var(--bs-dark);
}
.sidebar .nav-link:hover {
    background-color: rgba(248,193,2, 0.6);
    color: rgba(2, 42, 59, 1);
}

.sidebar .nav-item {
    background-color: #F5F5F5;
}

/* Cards per catalogo */
.product-grid{
    text-align: center;
}

.product-grid .product-image{
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.product-grid .product-image a.image{
    display: block;
    min-width: 237.5px;
    min-height: 185px;
    padding: 1rem 0;
}

.product-grid .product-content .itembody .product-discount-label{
    color: #fff;
    background: rgba(2, 42, 59, 1);
    font-size: 13px;
    font-weight: 600;
    line-height: 25px;
    padding: 0 20px;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 99;
}

.product-grid .product-content .product-discount-red-label{
    color: #fff;
    background: rgba(252, 20, 20, 0.7);
    border-radius: 60%;
    letter-spacing: 0.3rem;
	font-size: 15px;
	top: 30px;
    right: -14px;
    font-weight: 600;
    line-height: 25px;
    padding: 0 35px;
    position: absolute;
    z-index: 99;
    transform: rotate(37.5deg);
}

.product-discount-promoacq {
    color: #fff;
    background: rgba(252, 20, 20, 1);
    padding: 5px;
    font-size: 16px;
    font-weight: 600;
}

.product-discount-promobest {
    color: rgba(252, 20, 20, 1);
    padding: 1px;
    font-size: 16px;
    font-weight: 700;
}

.product-discount-promobest .promobest-notes {
    font-size: 14px;
}

.product-discount-promoacq-notes {
    color: rgba(252, 20, 20, 1);
    padding: 1px;
    font-size: 14px;
    font-weight: 700;
}

.product-price-promo {
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    border-color: rgba(252, 20, 20, 1);
    padding: 3px;
    font-size: 18px;
    font-weight: bold;
}

.product-grid .starImage{
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 0px;
    right: 0;
    transition: all .5s ease 0s;
}

.product-grid .starImage li a{
    color: #333;
    background: transparent;
    font-size: 16px;
    line-height: 32px;
    border-bottom: none;
    display: block;
    transition: all 0.3s;
}

.product-grid .starImage li a:hover{
    transform: scale(1.2);
}

.product-grid .orderProd{
    background: rgba(2, 42, 59, 1);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    padding: 4px 26px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease 0s;
}

.product-grid .orderProd:hover{
    background: rgba(2, 42, 59, 1);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease 0s;
}

.product-grid .delProd{
    background: rgb(236, 130, 9);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    padding: 4px 26px;
    /*position: absolute;*/
    left: 0;
    bottom: 0;
    transition: all 0.3s ease 0s;
}

.product-grid .delProd:hover{
    background:rgb(236, 130, 9);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease 0s;
}
.product-grid .product-content {
    background: #fff;
    padding: 15px;
    font-size: 14px;
}

.product-grid .itemTitle {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 7px;
}

.product-grid .itemTitle a {
    color: #777;
    transition: all 0.3s ease 0s;
    font-size: 16px;
}

.product-grid .itemTitle a:hover {
    color: rgba(2, 42, 59, 1);
}

.product-grid .itemBody {
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 7px;
}

.product-grid .itemBody a {
    color: #777;
    transition: all 0.3s ease 0s;
    font-size: 16px;
}

.product-grid .itemBody a:hover {
    color: rgba(2, 42, 59, 1);
}

.product-grid .product-content .product-price {
    color: #0d0d0d;
}

.product-grid .product-content .product-price .discount{
    color: #888;
    font-size: 16px;
    text-decoration: line-through;
}

.product-grid .product-content .product-price .price{
    color: #0d0d0d;
    font-size: 16px;
    font-weight: 600;
}

.product-grid .product-content .product-qtaimp-ord {
    /*color: #0d0d0d;*/
    color:rgb(236, 130, 9);
}


@media screen and (max-width: 990px){
    .product-grid{ margin-bottom: 30px; }
}

.grid-card {
    padding: 1rem 0.25rem;
}

/* Fine zona cards catalogo */

/* Colorazione breadcrumbs */
.breadcrumb-item a {
     color: rgba(2, 42, 59, 1);
}

/* Colorazione elementi del paginatore */
.page-link {
    color: rgba(2, 42, 59, 1);
}

.page-link:hover {
    color: rgba(2, 42, 59, 1);
}

.page-link:focus {
    color: rgba(2, 42, 59, 1);
    box-shadow: 0 0 0 0.1rem rgba(2, 42, 59, 0.55);
}

.page-item.active .page-link {
    color: rgba(248, 193, 2, 1);
    background-color: rgba(2, 42, 59, 1);
    border-color: rgba(2, 42, 59, 1);
}

/* bottone che appare in fondo ad alcune pagine per tornare
in cima alla medesima */
#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 10px;
    display: none;
    border-radius: 12px;
    cursor: pointer; /* Cambio l'icona del mouse al passaggio del mouse */
    padding: 0.5rem;
    z-index: 99; /* Trucchetto per non sovrapporre il bottone al testo o alle immagini sottostanti */
}

button[data-dselect-text="false"]:hover {
	background: #F5F5F5;
}

/* CSS per gestire la gif di caricamento della pagina card */
#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
}

#loading-image {
    z-index: 100;
}

.bootstrap-select .btn {
    white-space: normal;
    font-size: 14px;
    box-shadow: 0 0 0 0.1rem rgba(2, 42, 59, 0.55);
    color: rgba(2, 42, 59, 0.75);
}

.custom-scrollbar::-webkit-scrollbar-track
 {
     -webkit-box-shadow: inset 0 0 6px rgba(2, 42, 59, 0.3);
     background-color: #F5F5F5;
 }
 
.custom-scrollbar::-webkit-scrollbar
 {
     width: 6px;
     background-color: #F5F5F5;
 }
 
.custom-scrollbar::-webkit-scrollbar-thumb
 {
     background-color: rgba(2, 42, 59, 1);
 }

 .promo-acq
 {
    color: red;
    font-weight: bold;
 }

 .promo-acquisib
 {
    color:rgb(236, 130, 9);
    font-weight: bold;
 }
 
 .carousel-indicators [data-bs-target]
 {
    background-color: rgba(248,193,2,1);
 }

 .form-select.form-select-ordpromo {
    padding: 0.175rem 1.70rem 0.175rem 0.35rem;
 }

 /* CSS per gestire le caratteristiche del bottone creaz nuovo ordine su desktop*/
 .new-roc-btn {
    /* background-color: #FEC600; */
 }

 /* tab modifica preferito i pagina apposita */
 #sdp_preferito td {
    padding: 5px 5px;
 }

 /* div promo in modifica riga */
 #mpod_promo {
    font-weight: bold;
 }

 .msginpromo {
    background-color: red;
    font-weight: bold;
    color: #ffffff;
    padding: 3px 10px 3px 10px;
    white-space: nowrap;
 }

 .msginpromo:hover {
    background-color: rgba(2, 42, 59, 1);
}

.artdisp_ondemand {
    font-weight: bold;
    background-color: rgb(252, 164, 2);
    padding: 3px 10px 3px 10px;
    white-space: nowrap;
}

#cpo_msg_imp_min {
 	color: red;
    font-weight: bold;
    /*padding: 10px 50px 10px 50px;*/
}

#cpo_msg_fast_order {
    font-weight: bold;
    vertical-align: middle;
}

#cpo_msg_tab_fast_order {
    border-width: 4px;
    border-color: rgba(248,193,2,1);
}

#cpo_msg_td_fast_order {
    /*padding: 0px 50px 0px 50px;*/
}
