.shepherd-element {
    font-family: Lato, sans-serif;
}
/* Element arrow*/
.shepherd-element.shepherd-has-title[data-popper-placement^='bottom'] > .shepherd-arrow:before {
    background: hsl(var(--background));
}
.shepherd-has-title .shepherd-content .shepherd-header {
    background: hsl(var(--background));
    padding: 0;
    justify-content: space-between;
}

.shepherd-content {
    padding: 20px;
}

.shepherd-content a {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
}
.shepherd-title {
    color: hsl(var(--body));
    font-weight: 800;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    padding-bottom: 5px;
    flex: 1;
}

.shepherd-text {
    padding: 0;
}
.shepherd-text p {
    margin: 14px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
}
.shepherd-text p:first-child{
    margin-top: 0;
}

.shepherd-footer {
    padding: 20px 0 0 0;
    justify-content: space-between;
    align-items: baseline;
}
.shepherd-progress {
    color: hsl(var(--heading));
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
}

.shepherd-button {
    /*1px de moins que figma car la hauteur n'est pas compris dans les calculs*/
    padding: 7px 19px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0;
    margin: 0;

    color: hsl(var(--body));
    background: white;
    border: 1px solid hsl(var(--primary-500));
}
.shepherd-button:hover {
    color: hsl(var(--body)) !important;
    background: hsl(var(--primary-100)) !important;
}

.btn-cross::after {
    display: inline-block;
    font-size: inherit;
    height: 15px;
    width: 15px;
    overflow: visible;
    content: '';
    mask-image: url('./cross.svg');
    mask-type: alpha;
    background-color: currentColor;
    margin-left: 7px;
    vertical-align: -2px;
}

.btn-right-chevron::after {
    display: inline-block;
    font-size: inherit;
    height: 15px;
    width: 15px;
    overflow: visible;
    content: '';
    mask-image: url('./right-chevron.svg');
    mask-type: alpha;
    background-color: currentColor;
    margin-left: 7px;
    vertical-align: -2px;
}

.shepherd-cancel-icon {
    font-size: 1.5rem;
}

dialog.shepherd-element {
    max-width: 600px;
    width: 307px;
}

/*Welcome*/
dialog.shepherd-element.welcome-step {
    width: 600px;
}
.welcome-step .shepherd-title {
    font-size: 32px;
    padding-bottom: 20px;
    width: 100%;
}
.welcome-step .shepherd-content {
    padding: 40px;
}
.welcome-step .btn-start {
    background: hsl(var(--primary-600));
    color: hsl(var(--primary-foreground));
}
.welcome-step .btn-start:hover {
    background: hsl(var(--primary-400)) !important;
}

/*global search*/
[data-shepherd-step-id="global-search-2"] {
    width: 393px !important;
}
