:root {
    /* Colors */
    --dxp-s-form-element-label-color: #696969;
    --dxp-s-form-element-color-border: #C10230;

    /* Font Sizes */
    --dxp-s-body-font-size: 0.8125rem;
    --dxp-s-button-font-size: 0.8125rem;
    --dxp-s-form-element-text-font-size: 0.8125rem;
    --dxp-s-form-element-label-font-size: 0.75rem;

    /* Menu Items */
    --c-menu-item-font-size: 1rem;

    /* Buttons */
    --dxp-g-brand: #333333;

    /*Toast text color */
    --dxp-g-success-contrast: #fff !important;
    --dxp-g-success: #2E884A !important;
}

/*#region SPINNER*/
.slds-spinner__dot-a::before,
.slds-spinner__dot-a::after,
.slds-spinner__dot-b::before,
.slds-spinner__dot-b::after,
.slds-spinner::after,
.slds-spinner::before {
    background-color: #000000 !important;
}

/* Quick Order Style */
c-quick-order {
    /* Base border color */
    --slds-g-color-border-base-4: #c10230;

    /* Base input border color */
    --sds-c-input-color-border: #c9c9c9;
}

.slds-modal__close,
.slds-modal__close:hover {
    width: var(--lwc-squareIconMediumBoundary, 2rem);
    height: var(--lwc-squareIconMediumBoundary, 2rem);
    margin-left: auto;
    bottom: var(--lwc-spacingXSmall, 0.5rem);
    background-color: var(--slds-g-color-neutral-base-100, var(--lwc-paletteNeutral100, rgb(255, 255, 255)));
}

/* Quick Order Modal Style */
lightning-button-icon.slds-button.slds-button_icon.slds-modal__close {
    position: relative;
}

/* Product Input Style */
c-product-input {
    /* Base border color */
    --slds-g-color-border-base-4: #c10230;

    /* Base input border color */
    --sds-c-input-color-border: #c9c9c9;
}

/* Erp Order Tracking Style */
c-b2b_erp-order-tracking {
    /* Base border color */
    --slds-g-color-border-base-4: #c10230;

    /* Base input border color */
    --sds-c-input-color-border: #c9c9c9;
}

/* Customer Service Request Modal Style */
c-b2b_customer-service-request-form {
    /* Base border color */
    /*--slds-g-color-border-base-4: #c10230;*/

    /* Base input border color */
    --sds-c-input-color-border: #c9c9c9;

    --sds-c-textarea-color-border: #c9c9c9 !important;
    --slds-c-checkbox-color-border: #c9c9c9 !important;
}

/* Product Detail Style*/
c-product-detail a {
    text-decoration: none !important;
}

c-inline-checkbox [type=checkbox]:checked + .slds-checkbox__label .slds-checkbox_faux::after {
    border-color: black !important;
}

.slds-form-element {
     margin-bottom: 0; !important;
}

body {
    background: #fff;
}

.menu-item {
    font-size: var(--c-menu-item-font-size);
}

.comm-content-header {
    padding: 0 0 1rem 0 !important;
}

.cb-section_column {
    padding: 0 0 1rem 0 !important;
}

/*.comm-page-self-register*/ .b2bBodyWrapper {
                                 min-height: 100vh;
                                 max-height: 100vh !important;
                             }

.comm-user-profile-menu__trigger-p[community_user-userProfileMenu_userProfileMenu] {
    color: #fff;
}
.forceCommunityThemeHeaderB2B .cartButton svg {
    fill: rgb(255, 255, 255) !important;
}

.orders-container .actions a {
    color: rgb(193, 2, 48) !important;
}

c-product-search-results .slds-accordion__summary-action {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.forceCommunityThemeHeaderB2B .themeLogo {
    margin: 0 !important;
    line-height: 18px;
}

.forceCommunityThemeLogo .logoImage {
    min-height: 30px;
    width: 190px !important;
}

.lowercase{
    text-transform: lowercase;
}

.themeLogo {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

@media only screen and (max-width: 47.9375em) {
    html{
        overflow-x: hidden !important;
    }

    body{
        overflow-x: hidden !important;
    }

    .forceCommunityThemeHeaderB2B .leftRegion {
        width: auto !important;
        flex: 1 !important;
        justify-content: space-around !important;
    }

    .forceCommunityThemeHeaderB2B .rightRegion{
        width: auto !important;
    }

    .forceCommunityMultiLevelNavigation{
        position: absolute !important;
        top: .6rem !important;
        left: .3rem !important;
    }
}

.siteforceLoadingBalls .loadingBall.third {
    display:none !important;
}

.siteforceLoadingBalls.global {
    margin-left: 0 !important;
    margin-top: 0 !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(90deg);
    padding:0px
}
.siteforceSpinnerManager .mask {
    margin:0 !important;
    position:fixed !important;
    opacity:1;
    transition: opacity .2s ease,visibility 0s;
    transition-delay: 0s,.3s;
    background-color: hsla(0,0%,100%,.75);
}
.siteforceSpinnerManager .loadingCon{
    width: 2rem;
}
.loadingBall.first, .loadingBall.second {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.siteforceLoadingBalls .loadingBall{
    animation:none;
    height: 0rem
}
.siteforceLoadingBalls.global, .loadingBall.first, .loadingBall.second {
    transform-origin: 50% 50%;
    will-change: transform;
}

.siteforceLoadingBalls.global:after, .siteforceLoadingBalls.global:before, .loadingBall.first:after, .loadingBall.first:before, .loadingBall.second:after, .loadingBall.second:before {
    content: "";
    position: absolute;
    background: #b0adab;
    border-radius: 50%;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform: translateZ(0);
    background-color: #181818;
}
.loadingBall.first {
    transform: rotate(60deg);
}
.loadingBall.second {
    transform: rotate(120deg);
}
.siteforceLoadingBalls.global:before, .siteforceLoadingBalls .first:before, .siteforceLoadingBalls .second:before, .siteforceLoadingBalls.global:before, .siteforceLoadingBalls .first:before, .siteforceLoadingBalls .second:before {
    animation-name: dotsBounceBefore-medium;
    top: -.25rem;
    left: -.25rem;
}
.loadingBall.first:before {
    animation-delay: 83.33333ms;
    animation-name: dotsBounceBefore-medium;
    top: -.25rem;
    left: -.25rem;
    width: .5rem;
    height: .5rem;
}
.loadingBall.first:after {
    animation-delay: 583.33333ms;
    animation-name: dotsBounceAfter-medium;
    top: -.25rem;
    right: -.25rem;
    width: .5rem;
    height: .5rem;
}
.loadingBall.second:before {
    animation-delay: .25s;
    animation-name: dotsBounceBefore-medium;
    top: -.25rem;
    left: -.25rem;
    width: .5rem;
    height: .5rem;
}
.loadingBall.second:after {
    animation-delay: .75s;
    animation-name: dotsBounceAfter-medium;
    top: -.25rem;
    right: -.25rem;
    width: .5rem;
    height: .5rem;
}
.siteforceLoadingBalls.global:before {
    animation-delay: -83.33333ms;
    animation-name: dotsBounceBefore-medium;
    top: -.25rem;
    left: -.25rem;
    width: .5rem;
    height: .5rem;
}
.siteforceLoadingBalls.global:after {
    animation-delay:.41666667s;
    animation-name: dotsBounceAfter-medium;
    top: -.25rem;
    right: -.25rem;
    width: .5rem;
    height: .5rem;
}

.box-img-container {
    min-height: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
}

.box-img-container .box-img {
    max-height: 200px;
}

.slds-breadcrumb .slds-list__item>a, .slds-breadcrumb .slds-breadcrumb__item>a {
    color: #000 !important;
}

.order-tracking-container {
    height: calc(100vh - 260px);
}

.order-tracking-container lightning-datatable{
    height: calc(100vh - 260px);
}

[aria-label*="Contestazioni"] a.outputLookupLink {
    /*pointer-events: none;
    cursor: default;
    color:black;*/
}

[data-target-selection-name*="Contestazione__c"], [data-target-selection-name*="FeedItem"] {
    display: none;
}

.filter-exp-section .slds-card {
    border: none;
}

.filter-exp-section h3.slds-section__title {
    display: none;
}

.filter-exp-section .slds-section.slds-is-open .slds-section__content {
    padding: 0;
}

@media (max-width: 1023px){
    .filter-exp-section h3.slds-section__title {
        display: block;
    }
}

.box-detail-img .btn-zoom button {
    border-color: rgb(193, 2, 48);
}

.selected-image-carousel[c-productDetailImage_productDetailImage] {
    border-bottom: 3px solid rgb(193, 2, 48) !important;
    object-fit: contain;
}

.salesforceIdentityCommunityLogo2 .communityLogo {
    width: 80% !important;
}

.panel[c-productSearchItem_productSearchItem] img.box-img[c-productSearchItem_productSearchItem] {
    object-fit: contain;
}

.item-carrello[c-cartItem_baseCartItem] .item-img[c-cartItem_baseCartItem], .item-order[c-quickOrderItem_quickOrderItem] .item-img[c-quickOrderItem_quickOrderItem]{
    max-height: 160px;
    object-fit: contain;
}

c-cart-summary .slds-path__link {
    z-index: 1;
}

/*LOGIN*/
.comm-page-login-home .forceCommunitySection .cb-section_column:last-child, .comm-page-login-home .forceCommunitySection .cb-section_column:first-child {
    padding: 0 !important;
}

.comm-page-login-home [data-region-name="1645b" ] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*min-height: 100%;*/
    min-height: calc(100vh - 235px) !important;
}

.login-img {

}

.forgot-password-section, .check-password {
    min-height: calc(100vh - 200px) !important;
}

[data-region-name="1645b" ] {
    margin: 0 auto;
    max-width: 70%
}

.salesforceIdentityLoginForm2 .inverseTextColor {
    color: #000000 !important;
}

.salesforceIdentityLoginForm2 div:last-of-type {
    text-align: center;
}

@media only screen and (min-width: 1024px) {
    .img-plan, .img-atlas {
        width: 18rem;
    }

    .img-plan {
        height: 3.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    .img-plan, .img-atlas {
        width: 40%;
    }

    .img-plan {
        height: 1.5rem;
    }

    .login-img {
        display: none;
    }
}

.comm-drilldown-navigation__bar[community_navigation-drilldownNavigationBar_drilldownNavigationBar] a[community_navigation-drilldownNavigationBar_drilldownNavigationBar], .comm-drilldown-navigation__bar[community_navigation-drilldownNavigationBar_drilldownNavigationBar] button[community_navigation-drilldownNavigationBar_drilldownNavigationBar]{
    text-transform: uppercase;
}

/* MENU */
.menu-content:not(.slds-m-top_medium) {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.menu-content:not(.slds-m-top_medium)::before {
    content: '';
    width: 100vw;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.menu-content ul li a {
    color: #FFF !important;
}

.menu-content ul li a:hover {
    font-weight: bold;
}

.menu-content p {
    color: #FFF !important;
}

.menu-content svg {
    fill: #FFF;
}

.menu-button {
    font-size: var(--c-menu-item-font-size);
}

.menu-button > button {
    background: transparent !important;
    text-transform: uppercase;
    color: #FFF;
    border: none;
    --dxp-s-button-font-size: var(--c-menu-item-font-size);
}

.menu-button > button:hover {
    color: #FFF;
    font-weight: bold;
}

.menu-button > button:active {
    box-shadow: none !important;
}

.menu-content .menu-item-active[c-customBannerSliderHeader_customBannerSliderHeader] {
    color: #FFF;
}

.custom-menu-bar .slds-dropdown__item a {
    color: #000 !important;
}

.basic-header {
    background-color: #000000;
}

.basic-header .slds-dropdown__item a {
    color: #000 !important;
}

c-price-visibility-switch lightning-icon {
    cursor: pointer;
}

.order-tracking-container {
    height: calc(100vh - 260px);
}

.order-tracking-container lightning-datatable{
    height: calc(100vh - 260px);
}

.filter-exp-section .slds-card {
    border: none;
}

.filter-exp-section h3.slds-section__title {
    display: none;
}

.filter-exp-section .slds-section.slds-is-open .slds-section__content {
    padding: 0;
}

@media (max-width: 1023px){
    .filter-exp-section h3.slds-section__title {
        display: block;
    }
}

.btn-zoom button {
    border-color: #333;
}

.selected-image-carousel[c-productDetailImage_productDetailImage] {
    border-bottom: 3px solid #333 !important;
}

/*c-banner-slider .carousel, c-banner-slider .carousel .carousel-item {
    max-height: 420px;
    height: 420px;
}*/

.list-effetti[c-categoryList_categoryList] .slds-col[c-categoryList_categoryList] .panel[c-categoryList_categoryList] img.box-img[c-categoryList_categoryList] {
    height: 130px;
    object-fit: cover;
}

c-category-list .box-effetti[c-categoryList_categoryList] {
    background: linear-gradient(to bottom, #fff 0%, #fff 30%, #F5F5F5 30%);
    padding-bottom: 30px;
}

.btn-prev .slds-icon, .btn-next .slds-icon {
    cursor: pointer;
}

.salesforceIdentityCommunityLogo2 .communityLogo {
    width: 75% !important;
}

.row-status-evasa {
    border-left: 6px solid transparent;
}
.row-status-scaduta {
    border-left: 6px solid #D64541;
}
.row-status-ascadere {
    border-left: 6px solid #1492E6;
}

.cell-status-evasa {
    color: #333333;
}
.cell-status-scaduta {
    color: #D64541;
}
.cell-status-ascadere {
    color: #1492E6;
}

.general-sale-condition-wrapper a {
    color: rgb(193, 2, 48);
}

.cart-count {
    background: rgb(193, 2, 48) 0 0 no-repeat padding-box !important;
    border: 1px solid rgb(193, 2, 48) !important;
}

/*INIZIO STEP*/
.slds-path__nav .slds-is-active {
    background: #666666;
}
.slds-path__nav .slds-is-active:first-child:before, .slds-path__nav .slds-is-active:first-child:after {
    background: #666666;
}
.slds-path__nav .slds-is-active:before, .slds-path__nav .slds-is-active:after {
    background: #666666;
}

.slds-path__nav .slds-is-current:first-child:hover {
    border-color: #666666;
}

.slds-path__nav .slds-is-active:hover {
    background: #666666;
}

.slds-path__nav .slds-is-current:before, .slds-path__nav .slds-is-current:after {
    background-image: linear-gradient(90deg, #666666, #666666 0.125rem, transparent 0.125rem), linear-gradient(90deg, #666666, #666666 0.125rem, transparent 0.125rem), linear-gradient(#666666, #666666 0.125rem, transparent 0.125rem);
    background-size: 0.125rem 100%, 0.125rem 100%, 100% 0.125rem;
}

.slds-path__nav .slds-is-complete {
    background: #3ba755;
}
.slds-path__nav .slds-is-complete:after, .slds-path__nav .slds-is-complete:before {
    background-image: linear-gradient(90deg,#3ba755,#3ba755 0.125rem,transparent 0);
}

/*TOAST*/
h2.slds-text-heading_small {
    display: none !important;
}

/*Cart Summary*/
.packing-radio-input {
    border: 1px solid #C10230 !important;
}

/* Breadcrumbs Style */
.b2b-breadcrumbs {
    li {
        display: flex;
        align-items: center;
    }

    li > * {
        font: 13px Roboto;
        font-weight: 500;
    }
}

.slds-modal.slds-button.slds-button_icon {
    color: #fff;
}
