:root{
    --color-primary: #428bca !important;
    --color-primary-light: #428bca !important;
}

.gsec_fe_gadget_myorder_portlet > .gsec_fe_gadget_myorder_page > .gridMyOrderProv_ctrl {
    margin-bottom: 0px !important;
}

/* Basket */
.basketHtml .basket-preview button[id$=_btnCheckOut] {
    margin-bottom: 1.5rem
}

.zp-product-code {
    padding-left: 1rem;
    font-weight: bold;
}

.product .product-prices .end-price {
    color: var(--badge-secondary-background);
    background: unset;
    text-align: left;
    width: 60%;
}

/* Quantità verticale */

.zp-product-price {
    position: absolute;
    bottom: 0rem;
    width: 95%;
}

.zp-product-purchase {
    width: 30%;
    display: flex;
    position: absolute;
    top: 7rem;
    right: 0;
    flex-flow: column wrap;
    gap: .8rem;
    padding-bottom: 1em !important;
    float: right;
    z-index: 99;
}

.productsContainer .gadget .product .product-count, .promo-detail.html .gadget .product .product-count {
    gap: 0rem;
}

.zp-product-quantity {
    width: 30%;
    display: flex;
    position: absolute;
    top: 0rem;
    right: -1rem;
    flex-flow: column wrap;
    gap: .8rem;
    padding-bottom: 1em !important;
    float: right;
    z-index: 9;
}

.zp-products-quantity {
    width: 30%;
    display: flex;
    position: absolute;
    top: -7rem;
    right: 1.5rem;
    flex-flow: column wrap;
    gap: .8rem;
    padding-bottom: 1em !important;
    float: right;
    z-index: 9;
}

.zp-product-quantity-2 {
    width: 30%;
    display: flex;
    position: absolute;
    right: -1rem;
    flex-flow: column wrap;
    gap: .8rem;
    padding-bottom: 1em !important;
    float: right;
    z-index: 9;
}

.zp-products-quantity-2 {
    width: 30%;
    display: flex;
    position: absolute;
    right: 1.5rem;
    bottom: -8rem;
    flex-flow: column wrap;
    gap: .8rem;
    padding-bottom: 1em !important;
    float: right;
    z-index: 9;
}

.zp-number-input button {
    border: 1px solid #acb9c9;
    border-radius: 2rem;
    background-color: white !important;
    /* display: flex; */
    flex-flow: row nowrap;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    width: 2.5rem;
    height: 2.5rem;
	background: transparent;
}

.zp-number-input button:before {
	display: inline-block;
	position: absolute;
	content: "";
	width: .5rem;
	height: .125rem;
	background-color: var(--color-secondary);
	transform: translate(-50%, -50%);
}

.zp-number-input button:after {
	display: inline-block;
	position: absolute;
	content: "";
	width: .5rem;
	height: .125rem;
	background-color: var(--color-secondary);
	transform: translate(-50%, -50%);
}

.zp-number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.zp-unimis {
    margin-left: 17%;
    margin-right: 17%;
}

.zp-unimis2 {
    font-size: smaller;
    margin-left: 18%;
    margin-right: 18%;
}

/* Fine quantità verticale */

.img {
    display: unset !important;
}

.select2-results__option span img {
    display: unset !important;
}

.select2-results__option--highlighted span img {
    display: unset !important;
}

.select2-selection__rendered img {
    width: 2rem !important;
    height: 1.6rem !important;
    margin-right: 0.6rem !important;
    object-fit: cover !important;
    display: unset;
}

.select2-selection__rendered span {
    font-size: 1rem !important;
    display: flex !important;
}

.select2-container .select2-selection--single {
    height: unset;
}

/* ZP */

.product-top {
    padding: 0 !important;
}

.zp-basketHtml {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.zp-pricelist { 
    padding-left: 1.5rem !important;
    background: var(--color-bg-shade-3);

}

.zp-row {
    font-size: .9rem;
    font-weight: 900;
    margin: 0.8rem 0px 0.8rem !important;
    width: 100%;
    float: left;

}

.zp-price {
    flex-direction: column;
    display: flex;
    font-size: 1rem;
    font-weight: 900;
    float: right;
    padding-right: 1.5rem;
}

.zp-label-modify {
    background: var(--btn-background);
    background: var(--btn-link-background);
    border: var(--btn-link-border);
    border-radius: var(--border-radius-btn);
    /* bottom: 1.5rem; */
    color: var(--btn-color);
    color: var(--btn-link-color);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 1.5rem;
    text-align: center;
    text-decoration: none;
}

.zp-notes {
    background: var(--color-bg-shade-3);
    margin-top: 2rem;
    padding: 1.5rem;
}

.gscs_fe_html_user_toolbar_container {
    color: var(--color-black);
}

.product .product-purchase {
    min-height: 3rem;
}

#header-service .box-usertoolbar .gadget .usertoolbar-item .usertoolbar-link-wrapper .text {
    color: var(--color-black);
}

.items-grid-layout {
    gap: 0.5rem !important;
    grid-template-columns: repeat(auto-fill,minmax(12rem,1fr)) !important;
}

.language-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.language-menu li {
  padding: 8px 12px;
}

.language-menu li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}

.language-menu li:hover {
  background-color: #f1f1f1;
}

.zp-group {
    display: inline !important;
}

.login-info-left {
    width: 60%;
    float: left;
    display: inline !important;
}

.login-info-right {
    width: 25%;
    float: right;
    display: inline !important;
}

.zp-product-grid {
    gap: .8rem;
    color: var(--color-gray-shade-4);
    display: flex;
    font-size: .9rem;
    align-items: center;
    display: flex;
    flex-flow: row wrap;
}

.zpav {
    display: block !important;
}

.ppolicy {
    width: 50%;
}

.tos {
    width:49%;
}

#header-nav {
    border-top: 1px solid var(--color-gray-shade-3) !important;
}

#header-service {
    background-color: var(--color-white) !important;
}

.social-links-portlet {
    justify-content: flex-start;
}

.product-availabilities {
    align-self: center;
}

.showQnt {
    width: 1.4rem;
    color: white;
    font-weight: 700;
    padding: 0.5em 0.2em !important;
}

.showQntUM {
    width: 1.5rem;
    color: white;
    font-weight: 700;
    padding: 0.5em 0em !important;
}

.product-image{
    height: 100% !important;
    /*width: 100% !important;*/
    top: 0 !important;
    margin-top: -0.5rem !important;
}

.zp-fav-product-info {
    min-height: 5.5rem !important;
    width: 70%;
}

.zp-product-image {
    margin-top: -2rem !important;
}

.badge-qnt {
    display: flex;
    border-radius: var(--border-radius-btn);
    width: 3rem;
    height: 3rem;
    background-color: var(--badge-secondary-background);
    position: absolute;
    top: -0.6rem;
    left: -0.4rem;
    font-size: 16px;
    box-shadow: 0px 0px 7px 1px rgba(148, 143, 148, 1);
    z-index: 99;
}

.badge-zp {
    align-items: center;
    background: var(--badge-background);
    border: var(--badge-border);
    border-radius: 0;
    color: var(--badge-color);
    display: flex;
    font-size: .8rem;
    font-weight: 600;
    height: 1.5rem;
    justify-content: center;
    line-height: 1rem;
    margin: auto 0;
    padding: 0 .5rem;
    text-align: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.productsContainer.products-favourite .gadget .product {
    margin-bottom: 0rem !important;
}

.badge-info-zp {
    background: var(--color-yellow);
    border: var(--badge-secondary-border);
    border-radius: 67px;
    color: var(--badge-secondary-color);
    display: inline;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1rem;
    margin: auto 0;
    padding-left: 1em;
    padding-right: 1em;
    float: right;
    max-width: 60%;
}

.selectionCustomer {
    max-width: 100% !important;
    min-width: 100% !important;
}

.selectionOffice {
    max-width: 100% !important;
    min-width: 100% !important;
}

.zp_head {
    padding: 2%;
}

.selectionCustomer .form-wrapper, .selectionOffice .form-wrapper {
    max-width: 100% !important;
}

li.zp_menu {
    background-color: var(--color-primary) !important;
}

li.zp_menu>a {
    color: var(--color-white) !important;
}

li.zp_menu div.arrow:before {
    color: var(--color-white) !important;
}

.product-price.end-price {
    min-width: fit-content !important;
}

.zp_buttonCofirm {
    opacity: 1;
    position: fixed;
    display: none;
    left: 3%;
    top: 90%;
    z-index: 999;
}

.zp_btn {
    background: var(--btn-background);
    border-radius: var(--border-radius-btn);
    color: var(--btn-color);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    justify-content: center;
    padding: .9rem 1.6rem;
    text-align: center;
    text-decoration: none;
}

.zp_alertConfirm {
    opacity: 1;
    position: fixed;
    display: none;
    left: 3.5rem;
    top: 80%;
    z-index: 999;
}

.zp_fixed {
    background: url(../images/back-top.png) no-repeat scroll 50% 50% #7f7f7f;
    opacity: 1;
    align-items: center;
    cursor: pointer;
    position: fixed;
    display: block !important;
    height: 0;
    left: 3.5rem;
    top: 90%;
    z-index: 2;
}

.btn {
    font-family: var(--font-family-primary), Helvetica, Arial, sans-serif;
}

.product-variants .product-availabilities{
    width: 100% !important;
}

.zplr_fe_gadget_basket_portlet {
    overflow: visible !important;
    display: inline-grid !important;
}

table {
	th, td {
		padding: 0rem .5rem;
	}
}

.grid_cell .secondCell {
    padding: 0rem .5rem !important;
}

.product .product-availabilities {
    flex-flow: row wrap;
    font-size: .7rem;
    justify-content: center;
}

.product .product-info .product-name {
    display: inline-block;
    padding: 0rem 0.8rem 0rem;
    height: 4rem;
    background-color: #FFFFFF;
}

.product .product-info .product-name h3 {
    font-size: 0.98rem;
    font-weight: 600;
    height: 3rem !important;
    line-height: 1.1rem !important;
    margin: 0;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: wrap;
}

.fixed-button {
    position: fixed;
    bottom: 0em;
    right: 0em;
    padding: 1.1em;
    z-index: 9999;
    display: none;
    image-rendering: auto;
}
  
.fixed-button img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    image-rendering: auto;
}

.gsec_fe_gadget_search_suggester_container {
    border: 1px solid var(--color-gray-shade-3);
}

.product-info {
    /*min-height: 7.5rem !important;*/
    width: 70%;
}

.zp-product-info {
    min-height: 5.5rem !important;
    width: 70%;
}

.product-top {
    min-height: 12rem !important;
}

.product-variants-wrapper {
    padding-top: 1rem !important;
}

.zp_product {
    padding: 0.8rem;
    font-size: 0.7rem;
    height: 2.5rem;
}

.zp_container_pref {
    min-height: 5.7rem !important;
}

.product .product-buttons .goto-sheet a{
    padding: .5rem 1.2rem !important;
}

@media screen and (min-width: 1100px) and (max-width: 1199px) {
    .fixed-button {
        display: block;
        right: 5em !important;
    }
}

@media screen and (min-width: 940px) and (max-width: 1199px) {
    .fixed-button {
        display: block;
        right: 4em !important;
    }
}

@media screen and (min-width: 880) and (max-width: 939px) {
    .fixed-button {
        display: block;
        right: 3.5em !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .zp_fixed {
        display:none !important;
    }
    .fixed-button {
        display: block;
        right: 2.5em;
    }

    #header-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        z-index: 9999;
        width: 100%;
        top: unset !important;
        background-color: white !important;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1439) {
    .fixed-button {
        display: block;
        right: 4em;
    }

    #header-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        z-index: 9999;
        width: 100%;
        top: unset !important;
        background-color: white !important;
    }
}

@media screen and (max-width: 575px) {
    .basketHtml .basket-preview button[id$=_btnCheckOut] {
        bottom:3.75rem;
    }
    
    .product .product-quantity button {
        display:inline-block !important;
    }
}

/* Search */
@media screen and (max-width: 1199) {

    .search .search-input {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .btn-alternative {
        display: block;
    }

    /* BARRA NASCOSTA */
    /*.search .search-input .textbox-container {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: width .25s ease, opacity .2s ease;
        z-index: 2;
    }*/

    /* Quando attiva */
    .search .search-input .textbox-container.active {
        top: 5em !important;
        left: 1em;
        width: 34em;
        pointer-events: auto;
    }

    .search .search-input .search-text {
        width: 100%;
        height: 36px;
        padding: 0 .75rem;
        border-radius: 999px;
    }

    /*.search .search-input .search-button {
        display: none;
        margin-left: -10em;
        margin-right: 1.5em;
    }*/
}


.scroll-to-top-btn {
	display: none;
	visibility: hidden;
}

/* Footer Nav */
#footer-nav {
    background: var(--color-bg-shade-3);
    border-top: 1px solid var(--color-gray-shade-3);
    bottom: 0;
    font-weight: 500;
    position: fixed;
    width: 100%;
    z-index: 9999
}

#footer-nav>div {
    align-items: stretch;
    align-items: center;
    border-right: 1px solid var(--color-gray-shade-3);
    display: flex;
    height: 3.75rem
}

#footer-nav>div:empty {
    display: none
}

#footer-nav-menu .menu-toggle {
    align-items: stretch;
    display: flex;
    font-size: .9rem;
    height: 3.75rem
}

#footer-nav-menu .menu-toggle .menu-icon,#footer-nav-menu .menu-toggle .menu-label {
    align-items: center;
    border-right: 1px solid var(--color-gray-shade-3);
    display: flex;
    padding: 0 1.5rem
}

#footer-nav-menu .menu-toggle .menu-icon:hover,#footer-nav-menu .menu-toggle .menu-label:hover {
    color: var(--color-gray-shade-3)
}

#footer-nav-menu .menu-toggle .menu-icon:after {
    font-family: remixicon;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: inherit;
    text-decoration: none!important;
    text-rendering: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: var(--icon-menu)
}

#footer-nav-menu ul.topmenu {
    display: flex;
    flex-flow: row wrap
}

#footer-nav-menu ul.topmenu li {
    font-size: .9rem;
    margin: 0 0 0 1.2rem
}

#footer-nav-menu ul.topmenu li a {
    color: var(--color-black);
    height: 3.75rem
}

#footer-nav-menu ul.topmenu li a:hover {
    color: var(--color-gray-shade-3)
}

#footer-nav-menu ul.topmenu li:last-child {
    margin-right: 1.2rem
}

#footer-nav-search {
    flex-grow: 2
}

#footer-nav-search>div {
    display: block;
    width: 100%
}

#footer-nav-shortlinks>div {
    align-items: stretch;
    border-right: 1px solid var(--color-gray-shade-3);
    display: flex;
    height: 3.75rem
}

#footer-nav-shortlinks>div:last-child {
    border-right: 0
}

@media screen and (max-width: 1599px) {
    #footer-nav-menu .menu-toggle .menu-label {
        display:none
    }
}

@media screen and (max-width: 1399px) {
    #footer-nav-menu .menu-toggle .menu-label {
        border:none
    }

    #footer-nav-menu .menu-toggle .menu-icon {
        border-left: none
    }

    #footer-nav-menu .menu-toggle .menu-icon:after {
        padding-right: .2rem
    }

    #footer-nav-menu .menu-toggle .menu-icon,#footer-nav-menu .menu-toggle .menu-label {
        border-right: none
    }

    #footer-nav-menu .menu {
        display: none
    }
}

@media screen and (max-width: 1199px) {
    #footer-nav>div {
        flex-grow:1;
        justify-content: center
    }

    #footer-nav>div#header-nav-menu {
        flex-grow: inherit
    }

    #footer-nav>div:empty {
        display: none
    }
}

@media screen and (max-width: 767px) {
    /* ZP */

    .zp-label-modify {
        right: 5rem;
    }

    .zp-confirm-order {
        bottom: 0rem;
        left: 0px;
        margin: 0 !important;
        position: fixed;
        width: 70%;
        z-index: 1000;
    }

    .zp-save-order {
        bottom: 0rem;
        right: 0;
        margin: 0;
        position: fixed;
        width: 30% !important;
        z-index: 1000;
        height: 5.1%;
        background-color: white !important;
    }

    .basketHtml {
        padding: 0rem !important;
    }

    .img-right-container {
        display:none;
    }

    /* header to footer */
    #header-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        z-index: 9999;
        width: 100%;
        top: unset !important;
        background-color: white !important;
    }

    .fixed-button {
        display: block;
        right: 0em !important;
    }

    #footer-nav>div {
        justify-content:center
    }

    .basketHtml .basket-preview button[id$=_btnCheckOut] {
        bottom: 0%;
        left: 0;
        margin: 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .basket-total {
        bottom: 2.5rem;
        left: 0;
        margin: 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .search .search-input span {
        top: -4rem !important;
        pointer-events: auto;
    }

    #footer-nav-access {
        border-top: 1px solid var(--color-gray-shade-3);
        justify-content: center;
        order: 2;
        width: 100%
    }

    .zp_fixed {
        top: 72%;
        display: none !important;
    }

    .box-usertoolbar .gadget .usertoolbar-item {
        font-size: 0.9rem !important;
    }

    .box-usertoolbar .gadget {
        width: 90vw !important;
    }

    .box-usertoolbar .gadget .usertoolbar-item.customer, .box-usertoolbar .gadget .usertoolbar-item.user {
        width: calc(40% - .5rem) !important;
    }

    .box-usertoolbar .gadget .usertoolbar-item .usertoolbar-link-wrapper .text {
        width: calc(90% - 1.5rem) !important;
    }

    .zp_alertConfirm {
        top: 57%;
    }

    .zp_buttonConfirm {
        top: 69%
    }

    .fixed-button {
        display: block;
    }
}

@media screen and (max-width: 460px) {
    .search .search-input .textbox-container.active {
        top: -4rem !important;
        pointer-events: auto;
        align-items: center;
        padding-left: 2em;
        padding-right: 2em;
    }

    .items-grid-layout {
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)) !important;
    }
 
    .fixed-button {
        position: fixed;
        bottom: 0em;
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 0.6em;
        padding-right: 0.6em;
        z-index: 9999;
        image-rendering: auto;
    }
}

@media screen and (max-width: 375px) {
    .items-grid-layout {
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)) !important;
    }

    .fixed-button {
        position: fixed;
        bottom: 0em;
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 0.6em;
        padding-right: 0.2em;
        z-index: 9999;
        image-rendering: auto;
    }
}

@media screen and (max-width: 320px) {
    .items-grid-layout {
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)) !important;
    }

    .fixed-button {
        position: fixed;
        bottom: 0em;
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 0.6em;
        padding-right: 0px;
        z-index: 9999;
        image-rendering: auto;
    }
}

@media screen and (min-width: 768px) and (max-width:1199px) {
    .search .search-input span {
        top: -4rem !important;
        pointer-events: auto;
    }

    .items-grid-layout {
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)) !important;
    }
 
    .fixed-button {
        position: fixed;
        bottom: 0em;
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 0.6em;
        padding-right: 0.6em;
        z-index: 9999;
        image-rendering: auto;
    }
}