/*!
 * Custom CSS
 */

 .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%);
 }

/* GENERALS */
html, body {
    height: 100%;
    font-family: 'PT sans', 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;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, strong {
    font-weight: 700;
}


@media only screen and (min-width: 1200px) {
    .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 {
        margin-top: 76px;
    }
    .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 {
        margin-top: 76px;
    }
    .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 {
        margin-top: 76px;
    }
    .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 {
        margin-top: 76px;
    }
    .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.75) 25%, rgba(0,0,0,0) 100%);
}

/* TABLES */
.table-responsive > table {
    table-layout: auto !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.5rem;
}
.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 {
    width: 56px;
    height: 56px;
    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-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: #ffffff;
}

@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);
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    
}

/* 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'); */
}

    #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')
} */

#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 */
@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-nav {
    position: absolute;
    top: calc(50% - 30px);
    left: -50px;
    width: calc(100% + 100px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: -1;
}

.hero-carousel .owl-nav {
    z-index: 1 !important;
}

.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;
    }

#hero-home .hero-carousel .owl-stage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#hero-home .hero-carousel .owl-stage-outer {
  z-index: 2;
}
#hero-home .hero-carousel .owl-stage a {
  margin-top:0!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 .text-nowrap {
        white-space: normal !important;
    }

    #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;
    }
}
