body {
    padding-bottom: 40px;
    background: #eee;
    font-size: 0.875rem;
}

/* per evitare l'effetto di shifting del body quando si aprono le modali */
body.modal-open {
  overflow: auto;
}

/*Tab Articoli Xs*/


.infoArticoloXs{
margin-bottom: 10px;
border-bottom: 1px solid #dddddd;
padding-bottom: 10px;
}

.logoMacrolibrarsi{
    margin-top: 5px;
}

.btn-margin-bottom{
 margin-bottom: 2px;
}

input[type=number] {-moz-appearance: textfield; -webkit-appearance: textfield;}
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}

.cartTitle{width: 40%;}
.cartPrice{width: 30%;}
.cartQta{
    text-align: center;
    width: 12%;
    min-width: 100px;
}
.cartAmount{
    text-align: center;
    width: 18%;
}


td.cartQta .qty-changer {padding: 6px;}

/*Box Totali*/
#midCol{
  position: relative;
}

.cartTotalPriceAction{
	width: 100px;
}
.action-btn{
	margin-bottom: 20px;
  margin-left: 10%;
}

.action-btn a.btn{
  width: 90%
}

#cartTotal {
margin-bottom: 0px!important;
}

/*
 * [NTS#21952] Login Modale, portare l'implementazione fatta nel carrello nelle altre pagine bootstrap
 */

#loginModal .modal-dialog .modal-content{
  overflow: auto;
  display: none;
}

/*Step2 Rubrica indirizzi*/
.indirizzoInfo{
	line-height: 20px;
	min-height: 100px;
}


/*Step3 Pagamenti e spedizioni*/
.checkbox.pag_sped{
padding-left:0px;
}
.table.pag_sped{
  border: 0px solid #dddddd;
  font-weight: normal;
  margin-bottom: 0;
}
.radioSelectCell{
width: 15px;
}
.priceSelectCell{
width: 20px;
}
.myicon{
max-width: 60px;
margin-bottom: 10px;
}

.inline {
display: inline-block!important;
}

/* wizard new */
.wizard-steps {
  list-style: none;
  display: table;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}
.wizard-steps li {
  display: table-cell;
  text-align: center;
  width: 1%;
}
.wizard-steps li .step {
  border: 5px solid #CED1D7;
  color: #546474;
  font-size: 20px;
  border-radius: 100%;
  background-color: #FFF;
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 50px;
  text-align: center;
}
.wizard-steps li:before {
  /* the line running through each step*/

  display: block;
  content: "";
  width: 100%;
  height: 1px;
  font-size: 0;
  overflow: hidden;
  border-top: 4px solid #CED1D7;
  position: relative;
  top: 30px;
  z-index: 1;
}
.wizard-steps li:last-child:before {
  max-width: 50%;
  width: 50%;
}
.wizard-steps li:first-child:before {
  max-width: 51%;
  left: 50%;
}
.wizard-steps li.active:before,
.wizard-steps li.complete:before,
.wizard-steps li.active .step,
.wizard-steps li.complete .step {
  border-color: #008e2b;
}
.wizard-steps li.complete .step {
  cursor: default;
  color: #FFF;
  -webkit-transition: transform ease 0.1s;
  transition: transform ease 0.1s;
}
.wizard-steps li.complete .step:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  line-height: 50px;
  text-align: center;
  border-radius: 100%;
  content: "\f00c";
  background-color: #FFF;
  z-index: 3;
  font-family: Font Awesome\ 5 Free;
  font-size: 30px;
  color: #87ba21;
  font-weight: 900;
}
.wizard-steps li.complete:hover .step {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  border-color: #87ba21;
}
.wizard-steps li.complete:hover:before {
  border-color: #43a426;
}
.wizard-steps li .title {
  display: block;
  margin-top: 4px;
  max-width: 100%;
  color: #949ea7;
  font-size: 14px;
  z-index: 104;
  text-align: center;
  table-layout: fixed;
  word-wrap: break-word;
}
.wizard-steps li.complete .title,
.wizard-steps li.active .title {
  color: #2b3d53;
}
.step-content .step-pane {
  display: none;
  min-height: 200px;
  padding: 4px 8px 12px;
}
.step-content .active {
  display: block;
}
.wizard-actions {
  text-align: right;
}
.eco-choice-disclaimer {font-size: .9em;}
    .eco-choice-disclaimer .fa,
    .eco-choice-disclaimer .far,
    .eco-choice-disclaimer .fab,
    .eco-choice-disclaimer .fas {float: left; font-size: 1.8em; margin-left: -20px; margin-top: 5px;}

@media only screen and (max-width: 767px) {
  .wizard-steps li .step {
    width: 30px;
    height: 30px;
    line-height: 24px;
    border-width: 3px;
	font-size: 16px;
  }
  .wizard-steps li:before,
  .wizard-steps li:after {
    border-width: 3px;
  }
  .wizard-steps li.complete .step:before {
    line-height: 24px;
    font-size: 16px;
  }
  .wizard-steps li:before {
    top: 16px;
  }
  .step-content .step-pane {
    padding: 4px 4px 6px;
  }
  .eco-choice-disclaimer {margin-top: 2px;}
    .eco-choice-disclaimer .fa,
    .eco-choice-disclaimer .far,
    .eco-choice-disclaimer .fab,
    .eco-choice-disclaimer .fas {margin-right: 3px; margin-left:0; margin-top:-2px;}
}

.cartQta .dropdown-menu{
  min-width:66px
}

.qta{
    text-align: center;
    width: 60px;
    padding-left: 0;
    padding-right: 0;
}

.copArticolo{
	float: left;
	width: 65px;
	margin: 5px 15px 15px 0;
	height: 85px;
	text-align: center;
}


.infoXSvisble{
	float:left;
}

ul.priceDetails {margin-top: 0; padding: 0; list-style-type:none; clear: both;}

@media only screen and (max-width: 760px) {

	/* Force table to not be like tables anymore
	.tableArticoli table, thead, tbody, th, td, tr {
		display: block;
	}*/

	/* Hide table headers (but not display: none;, for accessibility) */
	.tableArticoli thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.tableArticoli tr {
	border: 1px solid #dddddd;
	margin-bottom: 5px;
	}

	.tableArticoli td {
		/* Behave  like a "row" */
		border: none!important;
		border-bottom: 1px solid #eee;
		position: relative;
	}

	.tableArticoli td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 100%;
		padding-right: 10px;
		white-space: nowrap;
	}

	.cartTitle{
	width: auto;
	display: block;
	}
	.cartPrice{
	width: auto;
	display: block;
	}
	.cartQta{
            display: block;
            text-align: left;
            width: auto;
 }
 	.cartAmount{
            display: block;
            text-align: left;
            width: auto;
            }

            td.cartQta .input-group {max-width: 130px;}
                td.cartQta .qty-changer {padding: 6px 12px;}

	.copArticolo{
	margin: 5px 5px 5px 0;
}



}

@media (max-width: 991px) and (min-width: 768px) {

	.span6.span6TabletVertical{
		width: 100%;
		margin-left: 0px;
	}
	.indirizzoNuovo{
		min-height: 248px;
	}

}

@media (min-width: 992px){
	.indirizzoNuovo{
		min-height: 248px;
	}

  #midCol{
    position:sticky;
    top: 30px;
  }
}

@media (min-width: 1200px)  {
	.indirizzoNuovo{
		min-height: 248px;
	}
}


.pacco-carta{
  width: 130px;
  height: 90px;
  border: 1px solid #606060;
  cursor: pointer;
}

.pacco-carta-selected{
  border: 1px dashed #FFF6DA;
  filter: alpha(opacity=40);
  opacity: .4;
}

.cookie-disclaimer {
	background-color:rgba(0, 85, 136, 0.75);
	position:fixed;
	bottom:0px;
	width:100%;
	padding:5px 0px;
	text-align:center;
	color:#fff;
	z-index:9999;
}

.cookie-disclaimer p {
	margin-bottom:0px;
}

.cookie-disclaimer a {
	color:#fff;
	font-weight:700;
}

.cookie-disclaimer .btn-info {
	background-color:#09f;
	border-color:#09f;
	color:#fff;
}

.cookie-disclaimer .float-right {
	margin-right:15px;
	margin-top:5px;
}

.modal-body.modal-cart {
    padding-right: 30px;
    padding-left: 30px;
}

#inputCodiceFiscale {
  text-transform: uppercase;
}

#elenco-dispositivi-medici {
  max-height: 200px;
  overflow-y: auto;
}

::-webkit-input-placeholder {
   text-transform: initial;
}

:-moz-placeholder {
   text-transform: initial;
}

::-moz-placeholder {
   text-transform: initial;
}

:-ms-input-placeholder {
   text-transform: initial;
}



#form-group-codice-fiscale.has-error .form-text{
  display: inline;
}

#form-group-codice-fiscale.has-error input{
  border-color: #dc3545;
}

#form-group-codice-fiscale.has-error label{
  color: #dc3545;
}

.carousel-loader {
  text-align: center
}

.macrolibrarsi-loading {
    max-width: 40px !important;
}

.with-loader .promo-slider {opacity: 0 !important; height: 223px;}

/* OVERRIDE BOOTSTRAP */

.modal-header .close {
    margin:0;
    padding: 6px 12px;
}

.btn-address-chooser {margin-bottom: 0.5rem; padding-bottom: 0.5rem; padding-top: 0.5rem;}

@media(max-width: 575px){
    table.pag_sped .radioSelectCell .fa-2x{font-size: 1.2em !important;}
}

#js-campagne .product-title {overflow-y: hidden;}

.btn, .dropdown-menu, .form-control {font-size: .875rem;}
.btn-sm, .btn-group-sm > .btn {font-size: .765625rem; padding: 0 .357rem; line-height: 1.5;}
.btn-lg, .btn-group-lg > .btn {font-size: 1.09375rem; padding: .5rem 1rem;}
.btn {font-weight: normal !important;}

/* Replicato nel main css */
.cart-messages-icon {
  min-width: 16px;
}