/* Updated CSS for cookie 3.0 */

#__cookieWrapper a {
    color: var(--secondary-4) !important;
    text-decoration: none !important;
}
#__cookieWrapper.custom-cookie p
{
    font-family: "FFInfraRegular", Brown-regular, Arial, Helvetica, sans-serif;
    color: #2F2F2F !important;
    display: block;
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
    line-height: 28px;
    letter-spacing: -0.18px;
}
#__cookieWrapper .cookie-btn .ccBtn{
    box-shadow: none;
    color: #fff;
    padding: 12px 24px 12px 24px;
    border: 2px solid var(--primary-1);
    background: var(--primary-1);
    cursor: pointer;
    transition: all .5s ease;
    margin: 5px 10px;
    border-radius: 60px;
    font-family: "FFInfraRegular", Brown-regular, Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: none;
    min-width: auto;
    font-size: 1.8rem;
    line-height: 2.5rem;
    letter-spacing: -0.18px;
}
#__cookieWrapper .cookie-btn .ccBtn:hover {
    background: var(--primary-3);
    color: var(--primary-5);
    border-color: var(--primary-2);
}
#__cookieWrapper {
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #2F2F2F;
}

#__cookieWrapper a {
    color: var(--secondary-4);
    text-decoration: none;
}

#__cookieWrapper a:hover {
   
    text-decoration: underline !important;
}

#__cookieWrapper p {
    font-family: "FFInfraRegular", Brown-regular, Arial, Helvetica, sans-serif;
    color: inherit;
    display: block;
    text-align: left;
    margin: 0;
    padding: 0;
    line-height: inherit;
}

#__cookieWrapper .ccBtn, 
.custom-cookie-modal .modal-footer button {
    box-shadow: none;
    color: #fff;
    padding: 12px 24px 12px 24px;
    border: 2px solid var(--primary-1);
    background: var(--primary-1);
    cursor: pointer;
    transition: all .5s ease;
    margin: 5px 10px;
    border-radius: 60px;
    font-family: "FFInfraRegular", Brown-regular, Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: none;
    min-width: 170px;
    font-size: 1.8rem;
    line-height: 2.5rem;
    letter-spacing: -0.18px;
}

#__cookieWrapper .ccBtn:hover,
.custom-cookie-modal .modal-footer button:hover {
    background: var(--primary-3);
    color: var(--primary-5);
    border-color: var(--primary-2);
}

.modal-title {
/*     font-size: 2rem;
    display: block; 
    line-height: 25px;
    font-weight: bold; */
    color: var(--primary-5) !important; 
     
        
        font-family: 'FFInfraMedium';
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: -0.36px;
    margin-top:26px;
}

.custom-cookie-modal .modal-body h4 {
/*     font-weight: 700;
    font-size: 1.8rem; 
    line-height: 2.8rem;
    letter-spacing: -0.18px;
    padding-bottom: 20px;
    color: var(--primary-1) !important; */
    
   font-family: 'FFInfraMedium';
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.36px;
}

.custom-cookie-modal .modal-body p {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

/* Toggle button styles */
.switch input[type=checkbox]+label
{
    height: 25px;
    width: 40px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .2), 5px 5px 10px 0 rgba(0, 0, 0, .19);
}

.switch input[type=checkbox]+label::before {
    right: 0;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: calc(2rem * .8);
    transition: .2s all;
    width: calc(calc(2.5rem * .8) * 2);
    background-color: #dae2e8;
    border-color: #dae2e8;
}

.switch input[type=checkbox]:checked+label::before {
    background-color: #055a60;
    border-color: #055a60;

}

.switch input[type=checkbox]+label::after {
    background-color: #fff;
    top: 5px;
    width: 15px;
    height: 15px;
    margin-right: calc(2.5rem * .8);
}
.switch input[type=checkbox]:checked+label::after {
    margin-left: calc(2.5rem * .8);
    left: 1px;
}

#__cookieWrapper .__cookieNotice .__cookieNoticeBody {
    background: #fff;
    box-shadow: 1px -2px 5px 4px rgba(0, 0, 0, .27);
}

/* Responsive styles */

@media (min-width:280px){
#__cookieWrapper .custom-cookie-in{display:block}
#__cookieWrapper .cookie-btn{margin-top:15px}
}

@media (min-width:768px){
#__cookieWrapper .custom-cookie-in{display:flex}
#__cookieWrapper .cookie-btn{margin-top:0; width: 50%;}
}

@media (min-width:1280px){
#__cookieWrapper .modal{padding-top: 400px !important;}
}