.range-slideshow.hidden-button .swiper-container .swiper-scrollbar
{
    display: none!important;
    pointer-events: none!important;
}

.range-slideshow.documentation-rangeslideshow .swiper-slide {
    justify-content: flex-start;
}

.range-slideshow.documentation-rangeslideshow .swiper-slide card-img-range{
    width: 100%;
}

/* AGENCIES */
.agencies container-wrapper ul li button {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 100%;
    margin: 0 1rem;
    border-bottom: .5rem solid transparent;
    padding-bottom: 1rem;
    cursor: pointer;
    font-family: var(--helveticacondensed);
    color: var(--grey-3);
    font-size: 2rem;
    line-height: 1.2;
}
.agencies container-wrapper agencies-map map-place, .sales-rep agencies-map map-place
{
    display: block;
    width: 100%;
    height: 300px;
    margin-top: 2.7rem;
}

.agencies container-wrapper ul li.is-active button {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    min-height: 5rem;
    color: var(--black);
    border-bottom: .5rem solid var(--green);
}
@media (min-width: 1140px){
    .agencies container-wrapper ul li button {
        font-size: 2.6rem;
        line-height: 1;
    }
}

@media (min-width: 768px) {
    .agencies {
        padding-bottom: 2rem;
    }

    .agencies container-wrapper {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        flex-direction: row;
        display: flex;
        margin-top: 50px;
    }

    .agencies container-wrapper agencies-map {
        width: 50%;
        padding-right: 1.5rem;
    }

    .agencies container-wrapper agencies-details {
        width: 50%;
        padding-left: 1.5rem;
    }

    agencies-map ul.tab-countries {
        top: 5rem;
        left: 0;
        right: 0;
        z-index: 1;
        background-color: #fff;
        -webkit-transition: opacity .5s ease-out;
        transition: opacity .5s ease-out;
        border-bottom: .1rem solid var(--grey-3);
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
    }

    agencies-map ul.tab-countries li {
        margin: 0 1rem;
    }
    .form-bloc{
        margin:5rem 0 5rem 0;
    }

    /*----------- PAGE PRODUCT ----------*/

}

tab-container.agenceies-result tab-content{
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .agencies
    {
        margin-top: 1.5rem;
    }
    .agencies container-wrapper ul
    {
        display: inline-flex;
    }
    .agencies container-wrapper ul li.is-active button
    {
        min-height: 3rem;
    }
    .agencies container-wrapper agencies-map map-place, .sales-rep agencies-map map-place
    {
        margin:2rem 0;
    }
    agencies-details .wysiwyg
    {
        margin-bottom: 3rem;
    }
    tab-container.agenceies-result
    {
        display: block;
        height: 100%;
        margin-bottom: 2rem;
    }
}
/* "show more" green button in the corner */

result-card
{
	padding-right: 0!important;
}
result-category,
result-select,
result-list
{
	flex: 0 0 auto;
}
result-list
{
	margin-left: 0!important;
	padding-left: 4rem;
}
button.guide-show-all-machines
{
	cursor: pointer;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 5rem;
	height: 5rem;
	border-top-left-radius: 1.6rem;
	border-bottom-right-radius: 1.6rem;
	background-color: var(--green);
	background-image: url("/bundles/rbc/build/static/images/icons/slim-plus.svg");
	background-repeat: no-repeat;
	background-size: 2rem;
	background-position: center;
}
button.guide-show-all-machines.active
{
	background-image: url("/bundles/rbc/build/static/images/icons/minus.svg");
}
button.guide-show-all-machines + ul
{
	max-height: 150px;
	overflow-y: hidden;
	transition: max-height 0.2s ease-in;
}
button.guide-show-all-machines.active + ul
{
	max-height: 300px;
	overflow-y: auto;
}

beautiful-option:hover
{
	background-color: #EEE;
}

.listing-recipe card-overlay card-image
{
    height: 100%;
}

/*--------- CORRECTION -----------*/
breadcrumb-block span br
{
    display: none;
}

modal-searchmenu
{
    transition: opacity 300ms ease-in
}
beautiful-option:empty
{
    display: none!important;
}


/*------------------- HEADER --------------*/
@media (max-width: 767px)
{
    header.expanded .megamenu
    {
        display: none;
    }
    .expanded menu-toggle {
        display: block;
    }
    .expanded .burger
    {
        opacity: 1;
        width: 3rem;
    }
    header.expanded .logo
    {
        width: 21rem;
    }
    header.expanded search-container
    {
        width: initial;
    }
    header.expanded input-group
    {
        margin-right: 4.5rem;
        background: none;
    }
}
/*----------------- SCROLL -----------*/
@media (max-width: 479px) {
    sav-container
    {
        padding-bottom: 4rem;
    }
}

background-wrapper button.btn
{
    min-width: 150px;
}

.detail-product ul.anchor-list[hidden] ~ documentation-wrapper
{
    margin-top: 9rem;
}

/*------------ FORM -----------*/
label.form-bloc sup
{
    font-size: 1.6rem;
}

.formbuilder label.form-bloc.col-left
{
    width: 50%;
    display: inline-block;
    float: left;
    padding-right: 2%;
    margin-bottom: 0;
    margin-top: 0;
}

.formbuilder label.form-bloc.col-right
{
    width: 50%;
    display: inline-block;
    padding-left: 2%;
    margin-bottom: 0;
    margin-top: 0;
}
.formbuilder label.form-bloc.col-right:after
{
    content: '';
    clear: both;
}
main.cms-template form.contact
{
    max-width: 1140px;
    padding: 0 1.5rem;
    margin: 0 auto;
    position: relative;
}

form.contact fieldset.form-fieldset
{
    border: 0.5px solid #CCCCCC;
    padding: 2.5rem;
    border-radius: 5px;
    margin: 5rem 0 5rem 0;
}

form.contact fieldset.form-fieldset legend
{
    margin-left: 35px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--grey);
    font-size: 1.6rem;
    font-family: var(--helveticabold);
}

.clear_float
{
    clear: both;
}

.distributor form-text {
    max-width: 73rem;
    display: block;
    font-size: 2.2rem;
    font-family: var(--helveticabold);
    line-height: 1.2;
    color: var(--green);
    margin-bottom: 4.5rem;
    margin: auto;
}

@media (min-width: 768px)
{
    .contact .container{
        width: 50%;
    }
    .contact container-wrapper form
    {
        width: 100%;
        padding-right: 1.5rem;
    }

    .distributor form-text {
        font-size: 2.6rem;
    }
}

modal-background[id^=qrcode] a.btn,
modal-background[id^=qrcode] a.btn-3
{
    color:#fff!important;
    -webkit-text-fill-color:#fff !important;
}

/* Add to erase color */
/*  -webkit-text-fill-color:#fff !important; */

modal-background[id^=qrcode] a.btn,
modal-background[id^=qrcode] a.btn:hover,
modal-background[id^=qrcode] a.btn:focus,
modal-background[id^=qrcode] a.btn:active,
modal-background[id^=qrcode] a.btn:visited
{
    color: #fff !important;
    -webkit-text-fill-color:#fff !important;
    background-color: var(--green) !important;
}

modal-background[id^=qrcode] a.btn-3,
modal-background[id^=qrcode] a.btn-3:hover,
modal-background[id^=qrcode] a.btn-3:focus,
modal-background[id^=qrcode] a.btn-3:active,
modal-background[id^=qrcode] a.btn-3:visited
{
    color: #fff !important;
    -webkit-text-fill-color:#fff !important;
    background-color:var(--black) !important;
}

header-top tab-content tab-item:not(.open)
{
    display: none;
}

template,
modal-wrapper:not(.is-open)
{
    display: none;
}

/*********************/
/* RBC-489 */
/*********************/
@media (min-width: 768px) {
    header tab-item[data-tab="countries"] .links-column .link-field a {
        -webkit-column-break-inside: avoid; /* Chrome, Safari */
        page-break-inside: avoid; /* Firefox */
        break-inside: avoid; /* IE 10 */
        margin-bottom: 0;
        padding-bottom: .8rem;
        display: flex;
        justify-content: space-between;
    }
}
/*********************/
/* RBC-496 */
/*********************/
background-wrapper.black .wrapper .btn {
    min-width: auto !important;
}

/*********************/
/* RBC-497 */
/*********************/
@media (min-width: 992px) {
    header.expanded nav-header ul li:last-child {
        margin-right: 1rem;
    }
}

@media (min-width: 768px) {
    header.expanded nav-header ul li:last-child {
        margin-right: 2.5rem;
    }

    header .btn.enregistre-produit {
        margin: 5px 0;
    }
}


/*********************/
/* TMARBC-8 */
/*********************/
.bold-text
{
    font-weight: bold;
    margin-bottom: 5px;
}
tab-container.agenceies-result tab-content.selected card-country
{
    background: #E2E3E1;
    box-shadow: -10px 10px 10px 5px #5AA039;
}

@media (min-width: 768px) {
    .demonstration .wrapper > .wysiwyg {
        margin-top: 6.5rem;
    }
}

/*********************/
/* TMARBC-78 */
/*********************/
.detail-documentation-title-container {
    display: flex;
    justify-content: space-between
}

.detail-documentation-title-container a{
    margin-top: 17px;
    font-family: var(--helveticabold);
}

.detail-documentation-title-container a svg {
    height: 17px;
}

@media (max-width: 768px) {
    .detail-documentation-title-container
    {
        flex-direction: column;
        margin-bottom: 28px;
    }
    .detail-documentation-title-container a{
        font-size: 18px;
    }

    .detail-documentation-title-container h2 {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 767px){
    .detail-product documentation-wrapper .btn-small-3 {
        width: max-content;
    }
}

h1.homepage_h1 {
    margin: 0;
}
h1.homepage_h1:after {
    width: 0;
}

footer footer-links ul.social li {
    width: 30px;
}

modal-wrapper.video-iframe modal-container, slide-content.video-slide {
    max-width: 600px;
    max-height: 500px;
    min-height: 400px;
    border-radius: 25px;
    padding: 40px;
}

@media (max-width: 768px) {
    modal-wrapper.video-iframe modal-container, slide-content.video-slide {
        max-width: 370px;
        max-height: 380px;
        min-height: 380px;
    }
}

@media screen and (max-width: 1139px) {
    .video select-wrapper, .video select-wrapper>form {
        justify-content: space-between;
        width: 100%;
    }

    .video select-wrapper form-block, .video select-wrapper>form form-block {
        width: 30%;
    }

    .video select-wrapper beautified-select:first-child, .video select-wrapper>form beautified-select:first-child {
        min-width: initial;
    }
}

@media screen and (max-width: 767px) {
    .video select-wrapper form-block, .video select-wrapper>form form-block {
        width: 100%;
    }

    card-video video-desc {align-items: center;}
    
    [video-content] {
        margin: 2rem 0;    
        overflow: hidden;
    }
}
