.cookie-consent-banner,
.cookie-consent-modal {
    -webkit-font-smoothing: antialiased;
    font-family: 'Work Sans', sans-serif;
}
.cookie-consent-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    transform: translateY(50px);
    bottom: 0;
    opacity: 0;
    width: 100%;
    min-height: 70px;
    background-color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    transition: transform .4s ease;
}

.cookie-consent-banner.banner-show {
    transform: translateY(0px);
    opacity: 1;
    z-index: 11;
}

.cookie-consent-banner-message {
    text-align: center;
    vertical-align: middle;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 600;
}

.cookie-consent-banner > div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.cookie-consent-banner button,
.cookie-consent-modal button {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.24), 0px 0px 2px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    text-align: center;
    font-style: normal;
    color: #fff;
    text-transform: uppercase;
    border: none;
    margin-left: 0.4rem;
    line-height: 1px;
}

.cookie-consent-banner button {
    font-size: 13px;
    font-weight: 800;
    height: 35px;
    width: 130px;
    margin-left: 20px;
    text-transform: none;
    letter-spacing: 0.0357143em;
}
.cookie-consent-banner button:hover {
    opacity: 1;
}
.cookie-consent-banner-accept-button {
    width: 130px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.cookie-consent-banner-personnalise-button {
    background-color: transparent !important;
    color: #fff;
}
.cookie-consent-banner-personnalise-button:hover {
    text-decoration: underline;
}

@media (max-width: 916px) {
    .cookie-consent-banner {
        justify-content: center;
        box-sizing: border-box;
        padding: 12px;
        flex-wrap: wrap;
    }
    .cookie-consent-banner-message {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .cookie-consent-banner > div {
        margin: 0
    }
    .cookie-consent-banner button {
        margin-left: 0;
        height: 30px;
    }
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 888888;
    background-color: #000;
    opacity: 0.25;
    visibility: hidden;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.cookie-consent-modal {
    z-index: 9999999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background-color: #F3F3F3;
    color: #000;
    border-radius: 3px;
    height: 600px;
    width: 800px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .2s cubic-bezier(.25, .46, .45, .94);;
    -o-transition: all .2s cubic-bezier(.25, .46, .45, .94);;
    transition: all .2s cubic-bezier(.25, .46, .45, .94);;
    overflow-y: hidden;
    box-shadow: 0 7px 8px -4px rgba(0,0,0,.2), 0 13px 19px 2px rgba(0,0,0,.14), 0 5px 24px 4px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
}

.cookie-consent-modal svg {
    stroke: #000;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.9;
    cursor: pointer;
}
.cookie-consent-modal svg:hover {
    opacity: 1;
}

.cookie-consent-modal-show {
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.cookie-consent-modal .cc-title,
.cookie-consent-modal .cc-description {
    margin-bottom: 30px;
}
.cookie-consent-modal .cc-title {
    display: block;
    font-weight: 600;
    font-size: 32px;
}

.cookie-consent-description.scroll-shadow {
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12);
}

.cookie-consent-modal p.cc-description, p.category-description {
    font-weight: 400;
    color: #000;
    font-size: 14px;
}
.cookie-consent-modal .cc-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-buttons button {
    background: linear-gradient(0deg, rgba(79, 79, 79, 0.26), rgba(79, 79, 79, 0.26));
    color: #fff;
    height: 27px;
    min-width: 120px;
    max-width: 150px;
    line-height: 1px;
    opacity: 0.9;
    font-weight: 600;
    font-size: 11px;
}
.cc-buttons button:hover {
    opacity: 1
}

.categories-wrapper {
    overflow: auto;
    padding: 50px;
}

.category-and-services {
    position: absolute;
    text-align: left; 
    padding-top: 10px;
    margin-bottom: 15px;
    display: none;
}

.divider {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin-top: -4px;
    margin-bottom: 12px;
}

.category .category-heading {
    display: block;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
    margin-bottom: 5px;
}

.category-and-services .service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.service-heading > a {
    color: #000;
    text-decoration: none !important;
    border-bottom: 1px solid #000;
    transition: all .3s ease;
}

.service .service-heading {
    font-size: 14px;
    font-weight: 500;
    width: 200px;
}

@media (max-width: 800px) {
  .cookie-consent-modal {
    width: calc(100% - 100px);
    height: calc(100% - 100px);
  }
}

.cc-buttons .cc-allow-all-btn {
    background-color: #5fc591;
}
.cc-buttons .cc-deny-all-btn {
    background-color: #d9534f;
}

.material-toggle {
	display: block;
}
.material-toggle input[type="checkbox"] {
	display: none;
}
.material-toggle label {
	position: relative; 
	cursor: pointer;
	height: 0px;
	width: 40px; 
    background: linear-gradient(0deg, rgba(79, 79, 79, 0.26), rgba(79, 79, 79, 0.26));
    background-color: #5fc591;
}
.material-toggle > label::before {
	position:absolute;
    margin-top: -4px;
    height: 14px;
	width: 40px;
	content: '';
	background: rgb(0, 0, 0);
	box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
	border-radius: 8px;
	opacity: 0.3;
	transition: all 0.3s ease;
}
.material-toggle > label::after {
    position: absolute;
    margin-top: -2px;
    top: -5px;
    left: 0px;
    height: 20px;
    width: 20px;
    content: '';
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}
.material-toggle > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-toggle > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}
