/*!
 * Custom CSS for W4U
 */

/* GENERALS */
html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    padding-top: 73px;
    top: 0px !important;
}

.bg-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.scroll-x-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 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 );
}

/* TABLES */
.table-responsive > table {
    table-layout: auto !important;
}

/* NAVBAR */
.navbar {
    text-transform: uppercase;
    border-bottom: 3px solid #FF9000;
    min-height: 76px;
}

.navbar-v-divider {
    height: 49px;
}

.navbar-logo-sm {
    padding-left: 20px;
    object-fit: contain;
    max-height: 50px;
    max-width: 150px;
}

.navbar-logo-md {
    padding-left: 20px;
    object-fit: contain;
    max-height: 50px;
    max-width: 180px;
}

.navbar-logo-lg {
    padding-left: 20px;
    object-fit: contain;
    max-height: 50px;
    max-width: 220px;
}

.dropdown-toggle::after {
    border: 0;
    width: 16px;
    height: 8px;
    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) {
    .offcanvas-collapse {
        position: fixed;
        top: 93px;
        bottom: 0;
        left: 100%;
        width: 300px;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #ffffff;
        border-top: 3px solid #FF9000;
        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;
        -webkit-box-shadow: -5px 0px 10px rgba(0,0,0,.25);
        box-shadow: -5px 0px 10px rgba(0,0,0,.25);
    }

        .offcanvas-collapse.open {
            visibility: visible;
            -webkit-transform: translateX(-300px);
            transform: translateX(-300px);
        }

        .offcanvas-collapse .dropdown-item {
            white-space: normal;
        }
}

/* FORM */
form label {
    font-weight: 700;
}

/* BORDERS */
.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

.rounded-30 {
    border-radius: 30px;
}

.rounded-30-top {
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
}

/* 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);
}

.text-title-custom {
    font-family: 'Open Sans', sans-serif;
    -webkit-text-stroke: 0.6px black;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* BUTTONS */
a[class*="btn-outline-"], button[class*="btn-outline-"] {
    background-color: #ffffff;
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.16);
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

@media only screen and (max-width: 576px) {
    .btn-xs-block {
        width: 100%;
    }
}

/* DROPDOWN */
.dropdown-menu {
    border-width: 3px 0 0 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 {
    text-transform: uppercase;
}

/* CUSTOM FONTS */
.source-sans-pro {
    font-family: 'Source Sans Pro', sans-serif;
}

/* BACKGROUNDS */
#w4u-login {
    /* position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%; */
    background-image: url('../../../Images/Platform/images/art-close-up-ecology-886521.jpg');
    margin-top: -93px;
    min-height: 100vh;
    position: relative;
}

#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?v=1.0')
}

#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');*/
    min-height: 90vh;
}

#family-home {
    background-image: url('../../../Images/Platform/images/adult-agriculture-child-1.jpg')
}

#pre-footer {
    background-image: url('../../../Images/Platform/images/access-adult-bluetooth-1.jpg')
}

#Training-page {
    background-image: url('../../../Images/Platform/images/Formazione.jpg?v=1.0');
    background-size: cover;
}

#single-new {
    background-image: url('../../../Images/Platform/images/sfondo_news.jpg?v=1.0');
    background-size: cover;
}

#shopping-cart-page {
    background-image: url('../../../Images/Platform/images/shopping_cart.jpg?v=1.0');
    background-size: cover;
}

footer {
    padding-top: unset !important;
    margin-top: unset !important;
}

    footer div {
        height: 100%;
        display: flex;
        align-items: center;
    }

        footer div ul {
            margin-top: unset;
            margin-bottom: unset;
        }

#giftcardA-page {
    background-image: url('../../../Images/Platform/images/GiftCard.jpg?v=1.0');
    background-size: cover;
    background-repeat: no-repeat;
    overflow-y: auto;
    background-position: top;
}

#productD-page {
    background-image: url('../../../Images/Platform/images/sfondo-feelC.jpg?v=1.0');
    background-size: cover;
    background-repeat: no-repeat;
    overflow-y: auto;
    background-position: top;
}

#productA-page {
    background-image: url('../../../Images/Platform/images/sfondo-feelC.jpg?v=1.0');
    background-size: cover;
    background-repeat: no-repeat;
    overflow-y: auto;
    background-position: top;
}

#suggest-page {
    background-image: url('../../../Images/Platform/images/Suggerisci.jpg?v=1.0');
    background-size: cover;
}

#documentation-page {
    background-image: url('../../../Images/Platform/images/sfondo_archivio.jpg?v=1.0');
    background-size: cover;
}

#supportA-page {
    background-image: url('../../../Images/Platform/images/Assitance.jpg?v=1.0');
    background-size: cover;
}

#usage-page {
    background-image: url('../../../Images/Platform/images/sfondo_desk.jpg?v=1.0');
    background-size: cover;
}

#versamenti-page {
    background-image: url('../../../Images/Platform/images/sfondo-Versamenti.jpg?v=1.0');
    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?v=1.0');
    background-size: cover;
}

#hero-home:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(255,144,0,.15);
}

/* 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 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    position: absolute !important;
    max-width: 80%;
    top: 15%;
    left: 0;
}

.card-product {
    height: 300px;
    box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1.25rem;
    overflow: hidden
}

.card-product-custom {
    box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1.25rem;
    overflow: hidden
}

.card-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .card-img-container {
        height: 100px;
        min-height: 100px;
        max-height: 100px;
    }
}

@media (min-width: 768px) {
    .card-img-container {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
}

.card-img-container > img {
    max-height: 100%;
    -ms-flex-item-align: center;
    object-fit: contain;
}

#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');
}


/* OWL CAROUSEL NAV */
.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;
    }
}

.modal .modal-content {
    border-radius: 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: 160px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-height: 160px;
    }

    .img-supplier {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .img-supplier-custom {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 210px;
        min-height: 210px;
        max-height: 210px;
        width: 100%;
        overflow: hidden;
    }
}

@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;
    }
}

.doc-button-custom {
    min-height: 90px;
    max-height: 90px;
}

    .doc-button-custom > a {
        height: 100%;
        align-content: center;
    }

.text-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}