/*
Theme Name: Espace Medwork Theme
Description: This is a custom child theme for Salient
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Link "Boutique en ligne" */

.boutique-link-wrapper {
    display: block;
    box-sizing: border-box;
    width: 360px;
    height: 115px;
    padding: 20px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 10000;
    background-color: #ffffff;
    background-image: url('https://espace-medwork.fr/wp-content/uploads/2023/07/Trace-19936.png');
    background-size: cover;
    animation: slideInFromLeft 0.5s ease-out 1s 1 backwards;
    pointer-events: auto;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.25);
}
.boutique-link-wrapper .label-wrapper {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.1em;
    color: #054845;
    font-weight: bold;
    animation: slideInFromLeft 0.5s ease-out 1s 1 backwards;
}
.boutique-link-wrapper a.boutique-link {
    display: inline-block;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    background-color: #ffc377;
    border-radius: 2px;
    transition: opacity 0.25s;
    animation: slideInFromLeft 0.5s ease-out 1.1s 1 backwards;
}

.boutique-link-wrapper a.boutique-link:hover {
    opacity: 0.75;
}

.boutique-link-wrapper img.picto-boutique {
    width: auto;
    height: calc(100% - 50px) !important;
    position: absolute;
    right: 25px !important;
    top: 25px !important;
    animation: slideInFromLeft 0.5s ease-out 1.25s 1 backwards;
}

.boutique-mobile-button {
    display: none;
    color: #054845;
    font-size: 40px;
    position: fixed;
    left: 20px;
    bottom: 14px;
    z-index: 100000;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 500px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.boutique-mobile-button a {
    display: inline-block;
    width: 38px;
    overflow: hidden;
    /*    color: rgb(133, 115, 84);
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    vertical-align: 3px;
    text-transform: uppercase;
    text-decoration: none !important;
*/
    white-space: nowrap;
    transition: all 0.25s;
    /*    opacity: 0;*/
}

.boutique-mobile-button i::before {
    position: relative;
}

.boutique-mobile-button.active a {
    width: 204px;
    opacity: 1;
}

@media screen and (max-width: 468px) {
    .boutique-mobile-button {
        display: block;
    }

    .boutique-link-wrapper {
        display: none !important;
    }

    .boutique-link-wrapper .label-wrapper {
        font-size: 1.5em;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-1000px);
    }
    100% {
        transform: translateX(0);
    }
}
