.cd_memos-widget-container {
    display: none;
}
#product-catalogue-container.loaded .cd_memos-widget-container {
    display: block;
}

.cd_memos-widget-open {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding: 0;
    border: none;
    position: fixed;
    bottom: 50%;
    right: 0;
    z-index: 4;
    transform: translateY(50%);
    transition: background-color .3s ease-in-out;
}
.cd_memos-widget-open:hover {
    background-color: #ffed00;
}
.cd_memos-widget-open svg {
    width: 45px;
    height: 60px;
}
.cd_memos-widget-open svg .to-fill {
    fill: #ffed00;
    transition: fill .3s ease-in-out;
}
.cd_memos-widget-open:hover svg .to-fill {
    fill: #000;
}

.cd_memos-widget {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 320px;
    background-color: #ffed00;
    padding: 15px 35px;
    box-shadow: 4px -4px 6px -1px rgba(0,0,0,0.7);
    z-index: 5;
    transition-property: opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.cd_memos-widget.show {
    opacity: 1;
    visibility: visible;
}
.cd_memos-widget-close {
    font-size: 1rem;
    color: #ffed00;
    background-color: #000;
    border: none;
    width: 1.7em;
    height: 1.7em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    top: 0;
    transform: translate(50%, -50%);
}
.cd_memos-widget-title {
    font-weight: 700;
    font-size: 1.6rem;
}
#cd_memos-widget-textarea {
    background-color: transparent;
    border: none;
    font-size: 1rem;
    line-height: 2;
    width: 100%;
    padding: 0;
    background-image: url(../../images/delimiteur2.png);
    background-size: auto 2em;
    overflow: hidden;
    margin-bottom: 15px;
}
.cd_memos-btn-addto {
    color: #fff;
    border: none;
    background-color: #000;
    padding: 0.3em 0.8em;
}


.cd_memos-header-btn {
    font-size: 1.09rem;
    border: none;
    margin-left: 20px;
    background-color: transparent;
    position: relative;
    padding: 0;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.cd_memos-header-nb {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 10px;
    line-height: 1;
    background-color: #fff;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd_memos-header-btn > span:nth-child(2) {
    height: 30px;
    display: flex;
    align-items: flex-end;
}
.cd_memos-header-btn svg {
    width: 19px;
    height: 24px;
}
.cd_memos-header-btn > span:last-child {
    padding-top: 5px;
    line-height: 1;
    font-weight: 100;
    font-size: 12px;
}
.cd_memos-header-cart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 780px;
    background-color: #ffed00;
    padding: 60px 100px 30px 45px;
    transition-property: max-height, opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - 155px);
    overflow: auto;
}
.cd_memos-header-cart.show {
    opacity: 1;
    visibility: visible;
}
.cd_memos-header-empty.hide,
.cd_memos-header-listing.hide {
    display: none;
}
.cd_memos-header-listing {
    padding: 0 0 0 8px;
}
.cd_memos-header-list {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-left: 2.5em;
    font-size: 1.1em;
    margin-bottom: 2.3em;
}
.cd_memos-header-list::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 2.5em;
  right: 0;
  height: 1px;
  background-color: #aaa;
  opacity: 0.5;
}
.cd_memos-header-key {
    color: #fff;
    background-color: #000;
    height: 1.7em;
    width: 1.7em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1em;
}
.cd_memos-header-list button {
    border: none;
    background-color: #aaa;
    color: #000;
    font-size: 0.6em;
    padding: 0.5em;
}
.cd_memos-header-close {
    border: none;
    background-color: #000;
    color: #ffed00;
    padding: 0;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
}
.cd_memos-header-cart .cd_memos-header-title {
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 700;
    padding-top: 0;
    margin-bottom: 30px;
}
.cd_memos-header-cart .cd_memos-header-empty {
    font-size: 1rem;
    margin-bottom: 30px;
}
.cd_memos-header-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.cd_memos-header-cart .cd_memos-header-footer-contact {
    background-color: #000;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0.5em 1.7em 0.3em;
}
.cd_memos-header-footer-infos-container {
    display: flex;
    font-size: 1.7em;
}
.cd_memos-header-footer-infos {
    margin-left: 10px;
}
.cd_memos-header-footer-infos .cd_memos-header-footer-infos-1 {
    font-size: 0.7em;
    padding-top: 0;
    text-transform: uppercase;
    font-weight: 700;
}
.cd_memos-header-footer-infos .cd_memos-header-footer-infos-2 {
    font-size: 11px;
    padding-top: 3px;
}
.cd_memos-header-footer-infos .cd_memos-header-footer-infos-3 {
    font-size: 0.85em;
    font-weight: 700;
}



@media screen and ( max-width: 1600px ) {
    #product-catalogue-container.loaded .product-catalogue-pdfreader-button {
        font-size: 3.4rem;
    }
}



@media screen and ( max-width: 1280px ) {
    #product-catalogue-container.loaded .product-catalogue-pdfreader-button {
        font-size: 2.4rem;
    }
}



@media screen and ( max-width: 991px ) {
    #product-catalogue-container.loaded .product-catalogue-pdfreader-button {
        display: none;
    }
    .cd_memos-widget-container {
        display: block;
    }
    .cd_memos-widget-open {
        width: 50px;
        height: 50px;
    }
    .cd_memos-widget-open svg {
        width: 20px;
        height: 27px;
    }
    .cd_memos-widget {
        max-width: 270px;
    }
    .cd_memos-widget {
        top: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
        bottom: 15px;
        transform: none;
        z-index: 1000;
        box-shadow: 0px 0px 0px 15px rgba(0,0,0,0.5);
    }
    .cd_memos-header-cart {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none;
        max-height: none;
        z-index: 1001;
        padding: 15px;
        padding: 15px 15px 115px;
    }
    .cd_memos-header-close {
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }
    .cd_memos-header-cart .cd_memos-header-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .cd_memos-header-cart .cd_memos-header-empty {
        font-size: 0.7rem;
        margin-bottom: 20px;
    }
    .cd_memos-header-listing {
        max-height: calc(100vh - 180px);
        overflow: auto;
        margin: 0;
    }
    .cd_memos-header-list {
        font-size: 0.8em;
        margin-bottom: 1.4em;
    }
    .cd_memos-header-footer {
        flex-flow: column-reverse;
        font-size: 16px;
        height: 100px;
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    .cd_memos-header-cart .cd_memos-header-footer-contact {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .cd_memos-header-footer-infos-container {
        font-size: 1.3em;
    }
}