/*!
 * Custom CSS
 */

.other-service-card.disabled img {
    filter: grayscale(100%);
}
@media only screen and (max-width: 575px) {
    .other-service-card h3 {
        font-size: 1rem;
    }
    .other-service-card p {
        font-size: 0.8rem;
    }
}
@media only screen and (min-width: 992px) {
    .other-services-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .other-service-card {
        height: 600px;
    }
}
@media only screen and (max-width: 1199px) {
    .other-service-card {
        height: 200px;
    }
    .product-price-container {
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1000;
        background-color: #ffffff;
        padding: 1.5rem;
        box-shadow: -2px 0 5px rgba(0,0,0,.1);
    }
}

.welfare-benefits-info-btn {
    position: absolute;
    top: -1px;
    right: -1px;
}


.carousel-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
}

 #documentation-page a{
     height: 200px;
 }

.product-card-container {
    position: relative;
}
.product-card-container:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.product-card {
    position: absolute;
    height: 100%;
    width: 100%;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.product-card:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
}
.product-card .card-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (max-width: 1199px) {
    .category-carousel .product-card-container, .category-carousel .product-card {
        width: 200px;
        height: 200px;
        max-width: 200px;
        display: inline-block;
    }
}

@media only screen and (min-width: 992px) {
    .history-purchase-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .history-purchase-container .card-body {
        overflow-y: auto;
    }
}


 /* INPUTS */
.input-group-prepend {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.input-group-append {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}
.input-group-text {
    background-color: transparent !important;
    border: 0 !important;
}
.input-group-lg .input-group-prepend ~ .form-control {
    padding-left: 52px;
}


/* GENERALS */
html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.scroll-x-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.scroll-y-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.overflow-y-auto {
    overflow-y: auto;
}

strong {
    font-weight: 700;
}

.body-content {
    min-height: 100%;
    overflow: hidden;
}
@media only screen and (min-width: 1200px) {
    body {
        padding-top: 81px;
    }
    .body-content {
        margin-left: 300px;
    }
    .page-hero {
        margin: -1.5rem -3rem 2rem;
    }
    .not-logged-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        height: 100%;
        z-index: 9999;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .body-content {
        padding-top: 81px;
    }
    .page-hero {
        margin: -1.5rem -3rem 2rem;
    }
    .not-logged-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background-color: #ffffff;
        box-shadow: 0 1px 2px 2px rgba(0,0,0,.1);
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .body-content {
        padding-top: 81px;
    }
    .page-hero {
        margin: -1.5rem -3rem 2rem;
    }
    .not-logged-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background-color: #ffffff;
        box-shadow: 0 1px 2px 2px rgba(0,0,0,.1);
    }
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
    .body-content {
        padding-top: 81px;
    }
    .page-hero {
        margin: -1.5rem -3rem 2rem;
    }
    .not-logged-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background-color: #ffffff;
        box-shadow: 0 1px 2px 2px rgba(0,0,0,.1);
    }
}
@media only screen and (max-width: 575px) {
    .body-content {
        padding-top: 81px;
    }
    .page-hero {
        margin: -1rem -1rem 2rem;
    }
    .not-logged-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background-color: #ffffff;
        box-shadow: 0 1px 2px 2px rgba(0,0,0,.1);
    }
}
.page-hero {
    /* background-color: #F39200; */
    background-color: #333333;
}
.page-hero ul {
    margin-left: -1rem;
    margin-right: -1rem;
}
.page-hero .active {
    background-color: #ffffff;
    color: #333333;
    font-weight: 700;
}
.page-hero h1, .page-hero a {
    color: #ffffff;
}

/* GRADIENTS */
.w4u-gradient-primary {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,153,0,0.15)),to(rgba(255,78,0,0.05)));
    background: linear-gradient(to bottom, rgba(255,153,0,0.15) 0%,rgba(255,78,0,0.05) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26ff9900', endColorstr='#0dff4e00',GradientType=0 );
}
.linear-btt-black-gradient {
    background: linear-gradient(0deg, rgba(0,0,0,0.7497592787114846) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 100%);
}
.linear-ltr-black-gradient {
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
}

/* TABLES */
.table-responsive > table {
    table-layout: auto !important;
}

/* TS NAVBAR */
@media only screen and (max-width: 1199px) {
    #ts-page-title {font-size: 20px !important;}
}
.ts-navigation a {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.ts-navigation a:hover {
    background-color: rgba(0,0,0,.1);
}
.ts-navigation a.active {
    background-color: #ffffff;
}
.ts-navigation a > * {
    color: #f8f9fa;
}
    .ts-navigation a.active > * {
        color: #F39200 !important;
    }

/* NAVBAR */
.swing-navbar {
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 100%;
}
.swing-nav-single-item > a {
    display: block;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #fafafa;
    border-radius: 0;
}
.swing-nav-single-item > div {
    padding-left: 55px;
}
.swing-navigation > a:hover {
    color: #ffffff;
    text-decoration: none;
}
.swing-navigation > a.active {
    background-color: #F39200;
    color: white;
}
#swing-nav-toggle, #swing-search-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.navbar-v-divider {
    height: 49px;
}

.dropdown-toggle::after {
    border: 0;
    width: 8px;
    height: 4px;
    background-image: url('../../../Images/Platform/images/chevron-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

@media only screen and (max-width: 1199px) {
    body {
        transition: position .3s ease-in-out, -webkit-transform .3s ease-in-out;
        -webkit-transition: position .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, position .3s ease-in-out;
        transition: transform .3s ease-in-out, position .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }
    .swing-navbar {
        width: 300px;
    }
    .swing-nav-visible {
        position: fixed;
        top: 0;
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
    }
    .offcanvas-collapse {
        top: 0;
        bottom: 0;
        left: -300px;
        z-index: 9999;
        visibility: hidden;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        -webkit-transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }

    .offcanvas-collapse.open {
        visibility: visible;
        /* -webkit-transform: translateX(300px);
        transform: translateX(300px); */
    }
}

/* FORM */
form label {
    font-weight: 700;
}

/* BORDERS */
.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

.rounded-30 {
    border-radius: 30px;
}

/* SHADOWS */
.shadow-w4u {
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.16);
            box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

.text-shadow {
    text-shadow: 0 3px 6px rgba(0,0,0,.16);
}

/* BUTTONS */
a[class*="btn-outline-"], button[class*="btn-outline-"] {
    background-color: transparent;
}

@media only screen and (max-width: 576px) {
    .btn-xs-block {
        width: 100%;
    }
}

/* DROPDOWN */
.dropdown-menu {
    border-width: 0 !important;
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.16);
            box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

/* HEADER */
@media only screen and (min-width: 1200px) {
    header {
        left: 300px !important;
    }
}

/* CUSTOM FONTS */
.source-sans-pro {
    font-family: 'Source Sans Pro', sans-serif;
}

/* BACKGROUNDS */
#swing-login {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url('../../../Images/Platform/images/art-close-up-ecology-886521.jpg');
    background-image: url('../../../Images/Platform/images/freedom.jpg'); */
}
#swing-form-container {
    background-color: rgba(0, 0, 0, .5);
}

    #w4u-login + hr + footer, #w4u-login + footer, #w4u-login + hr {
        display: none;
    }

/* #profile-page {
    background-image: url('../../../Images/Platform/images/books-connection-contemporary-1.jpg')
} */

/* #welfare-page {
    background-image: url('../../../Images/Platform/images/desk-home-office-indoors-1.jpg')
} */

#refund-page {
    /*background-image: url('../../../Images/Platform/images/desk-home-office-indoors-1.jpg')*/
    /* background-image: url('../../../Images/Platform/images/Refund.jpg') */
}

/* #family-page {
    background-image: url('../../../Images/Platform/images/adorable-baby-black-and-white-1.jpg')
} */

/* #new-password-page {
    background-image: url('../../../Images/Platform/images/blank-composition-data-373076.jpg')
} */

/* #foresight-page {
    background-image: url('../../../Images/Platform/images/cheerful-colleagues-digital-device-1432942.jpg')
} */
#refund-tbody a:hover, #payments-tbody a:hover {
    background-color: #f2f2f2;
}
@media only screen and (min-width: 992px) {
    #refund-tbody a, #payments-tbody a {
        border: 0 !important;
    }
}

#hero-home {
    /*background-image: url('../../../Images/Platform/images/adult-boy-child-325521.jpg')*/
    /*background-image: url('../../../Images/Platform/Michelin/michelin.png');*/
}

#family-home {
    background-image: url('../../../Images/Platform/images/adult-agriculture-child-1.jpg')
}

/* #pre-footer {
    background-image: url('../../../Images/Platform/images/ts-call-center-new.jpg')
} */

#Training-page {
    background-image: url('../../../Images/Platform/images/Formazione.jpg');
    background-size: cover;
}

#giftcardA-page {
    background-image: url('../../../Images/Platform/images/GiftCard.jpg');
    background-size: cover;
}

#productD-page {
    background-image: url('../../../Images/Platform/images/sfondo-feelC.jpg');
    background-size: cover;
}

/* #productA-page {
    background-image: url('../../../Images/Platform/images/sfondo-feelC.jpg');
    background-size: cover;
} */
/* #suggest-page {
    background-image: url('../../../Images/Platform/images/Suggerisci.jpg');
    background-size: cover;
} */

/* #documentation-page {
    background-image: url('../../../Images/Platform/images/sfondo_archivio.jpg');
    background-size: cover;
} */

/* #supportA-page {
    background-image: url('../../../Images/Platform/images/Assitance.jpg');
    background-size: cover;
} */

/* #usage-page {
    background-image: url('../../../Images/Platform/images/sfondo_desk.jpg');
    background-size: cover;
} */

/* #versamenti-page {
    background-image: url('../../../Images/Platform/images/sfondo-Versamenti.jpg');
    background-size: cover;
} */

#vpersona-page {
    background-image: url('../../../Images/Platform/images/VPersonalizzato.jpg');
    background-size: cover;
}

/* #faq-page {
    background-image: url('../../../Images/Platform/images/faq.jpg');
    background-size: cover;
} */
#faq-page a.text-dark:hover {
  text-decoration: none;
  color: #92BD27 !important;
}

/* CUSTOM ELEMENTS */
.relatives-card {
    height: 225px;
}
.add-relative-card {
    border-style: dashed;
}

@media only screen and (min-width: 992px) {
    .w4u-profile-menu {
        width: 260px;
        top: -35px;
        left: -75px;
    }

    .w4u-profile-card {
        min-height: 500px;
    }
}

.card-badge {
    top: 40px;
    left: 0;
}

.card-img-container {
  position: relative;
  width: 100%;
}
.card-img-container:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.card-img-container > .card-img-content {
  position: absolute;
  width: 100%;
  height: 100%;
}
.card-img-container > .card-img-content > img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

#product-filter-container {
    margin-left: -3rem;
    margin-right: -3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    background-color: rgba(255,78,0,.05);
}

#cart-w4u .badge {
    width: 19px;
    height: 19px;
    top: 0;
    right: 0;
    font-weight: 700;
}

#w4u-my-bill img {
    margin-top: -7px;
}

#w4u-my-bill p {
    line-height: 20px;
}

@media only screen and (min-width: 1600px) {
    .offcontainer-carousel-row {
        width: 120% !important;
        margin-left: -10%;
    }
}

#w4u-profile-nav span {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#w4u-profile-nav a span.job-icon {
    background-image: url('../../../Images/Platform/images/job.svg');
}

#w4u-profile-nav a.active span.job-icon {
    background-image: url('../../../Images/Platform/images/job-active.svg');
}

#w4u-profile-nav a span.profiles-icon {
    background-image: url('../../../Images/Platform/images/profiles.svg');
}

#w4u-profile-nav a.active span.profiles-icon {
    background-image: url('../../../Images/Platform/images/profiles-active.svg');
}

#w4u-profile-nav a span.layers-icon {
    background-image: url('../../../Images/Platform/images/layers.svg');
}

#w4u-profile-nav a.active span.layers-icon {
    background-image: url('../../../Images/Platform/images/layers-active.svg');
}

#w4u-profile-nav a span.wrench-icon {
    background-image: url('../../../Images/Platform/images/wrench.svg');
}

#w4u-profile-nav a.active span.wrench-icon {
    background-image: url('../../../Images/Platform/images/wrench-active.svg');
}

#w4u-profile-nav a span.heart-icon {
    background-image: url('../../../Images/Platform/images/heart.svg');
}

#w4u-profile-nav a.active span.heart-icon {
    background-image: url('../../../Images/Platform/images/heart-active.svg');
}


/* PROGRESS BAR */
.progress-bar-container {
    min-width: 700px;
}
.progress-bar-container .progress-details {
    margin-top: 24px;
}
.progress-bar-container .progress {
    height: 275px;
    width: 100px;
}
.progress-bar-container .progress-bar {
    -webkit-transition: height 0.6s ease;
    -moz-transition: height 0.6s ease;
    -ms-transition: height 0.6s ease;
    transition: height 0.6s ease;
}


/* OWL CAROUSEL */
/*.owl-carousel {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}*/
.owl-dot:focus, .owl-prev:focus, .owl-next:focus {
    outline: none !important;
}
.owl-prev, .owl-next {
    opacity: .5;
}
.owl-prev:hover, .owl-next:hover {
    opacity: 1;
}
.category-carousel > .product-card-container + .product-card-container {
    margin-left: 16px;
}
.hero-carousel .owl-stage-outer {
    overflow: visible !important;
}
.product-carousel .owl-stage-outer {
    border: 1px solid #f8f9fa;
    border-radius: 0;
}
@media only screen and (min-width: 768px) {
    .hero-carousel .bg-image {
        background-position: right center !important;
    }
}
@media only screen and (min-width: 1200px) {
    .category-carousel .owl-stage-outer {
        overflow: visible !important;
    }
}
@media only screen and (min-width: 576px) and (max-width: 1199px) {
    .category-carousel {
        overflow-x: auto;
        margin-left: -3rem;
        margin-right: -3rem;
        width: calc(100% + 6rem) !important;
    }
    .category-carousel > *:first-child {
        margin-left: 3rem;
    }
    .category-carousel > *:last-child {
        margin-right: 3rem;
    }
}
@media only screen and (max-width: 575px) {
    .category-carousel {
        overflow-x: auto;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem) !important;
    }
    .category-carousel > *:first-child {
        margin-left: 1rem;
    }

    .category-carousel > *:last-child {
        margin-right: 1rem;
    }
}

.owl-next, .owl-prev {
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.owl-prev {
    margin-right: 4px;
}

.owl-nav {
    position: absolute;
    top: calc(50% - 30px);
    left: -50px;
    width: calc(100% + 100px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: -1;
}

.owl-nav > .owl-prev {
    margin-right: auto !important;
}

.my-count-carousel .owl-nav > .owl-prev, .my-count-carousel .owl-nav > .owl-next {
    background-color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.15);
            box-shadow: 0 0 10px rgba(0,0,0,.15);
}

    .my-count-carousel .owl-nav > .owl-prev:hover, .my-count-carousel .owl-nav > .owl-next:hover {
        color: #333333 !important;
        background-color: #fafafa !important;
    }

    .my-count-carousel .owl-nav > .owl-prev > span, .my-count-carousel .owl-nav > .owl-next > span {
        display: block;
        width: 50px;
        height: 50px;
        line-height: 42px;
    }

.my-count-carousel .card-body {
    height: 101px;
}

.owl-nav > .owl-prev, .owl-nav > .owl-next {
    font-size: 40px !important;
}

    .owl-nav > .owl-prev:focus, .owl-nav > .owl-next:focus {
        outline: none !important;
    }


@media (max-width: 767px) {
  .dropdown-item {
    white-space: normal!important;
  }
  #w4u-login .container footer {
    margin-top: 20px;
  }
}
@media (min-width: 768px) {
  #payments-page {
    min-height: calc( 100vh - 230px);
  }
  #w4u-login .container footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}
#hero-home .col-lg-6.my-5.text-center{
  padding: 0 50px;
}
#hero-home h1 {
      font-size: 3rem;
}

@media only screen and (max-width: 767px) {
    #hero-home h1 {
        font-size: 1.6rem;
    }
}

@media (max-width:767px) {
  input[value="Conferma la nuova password"] {
    font-size: .8em;
  }
}
@media (min-width:576px) {
  .border-bottom-shrink {
    position: relative;
  }
  .border-bottom-shrink:after {
      content:'';
      position: absolute;
      left: 0;
      width: 25%;
      bottom: -1px;
      height: 1px;
      background: #fff;
  }
}

.voucher-title {
    min-height: 3rem;
}
/*Task#5: Numero del ticket - #426,#350*/
@media(min-width:768px) {
    .img-voucher {
        max-height: 100%;
        -ms-flex-item-align: center;
        object-fit: contain;
    }

    .img-voucher-container {
        min-height: 120px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-height: 120px;
    }
}

@media only screen and (max-width: 767px) {
    #hero-home .card .card-body {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #hero-home .card img {
        height: auto
    }

    #hero-home .card strong {
    }

    #hero-home .d-flex {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #my-count .rounded-pill, #family-home .rounded-pill, #supplier-section .rounded-pill {
        width: 100%;
        margin-top: 1em;
        font-size: .8em;
        margin-left: 0 !important;
    }

    footer ul {
        padding-left: 0;
        font-size: .8em;
    }
}

/* LOGIN */
#swing-login .slick-slider * {
    height: 100%;
}
#swing-login .slick-track {
    width: 100% !important;
}
#swing-login .slick-slide {
    left: 0 !important;
}

@media only screen and (min-width: 1200px) {
    #swing-form-container {
        padding: 2rem 5rem;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #swing-form-container {
        padding: 2rem 4rem;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #swing-form-container {
        padding: 2rem 4rem;
    }
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
    #swing-form-container {
        padding: 2rem 4rem;
    }
}
@media only screen and (max-width: 575px) {
    #swing-form-container {
        padding: 2rem;
    }
}
