#nwn_ccm-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); z-index: 999; display: none; } #nwn_ccm-cookie-banner {
position: fixed;
bottom: 50%;
left: 50%;
transform: translate(-50%, 50%);
max-width: 800px;
width: 90%;
max-height: 80vh;
background-color: #ffffff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
z-index: 1000;
font-family: Lato, sans-serif;
letter-spacing: 0.4px;
padding: 20px;
display: none;
border-radius: 10px;
overflow: hidden;
} .nwn_ccm-logo {
max-width: 150px;
margin: 10px auto;
display: block;
max-height: 75px;
} .nwn_ccm-tabs {
display: flex;
justify-content: space-around;
list-style: none;
padding: 0;
border-bottom: 2px solid #ddd;
margin-bottom: 20px;
}
.nwn_ccm-tab {
padding: 10px;
cursor: pointer;
font-weight: bold;
flex-basis: 33.3%;
text-align: center;
}
.nwn_ccm-tab.active {
border-bottom: 3px solid var(--nawnet-nwn_ccm-primary-color, #28a745);
color: var(--nawnet-nwn_ccm-primary-color, #28a745);
} .nwn_ccm-tab-content {
display: none;
padding: 15px 10px;
font-size: 14px;
max-height: 40vh;
overflow-y: auto;
}
.nwn_ccm-tab-content a{
text-decoration: underline;
font-weight: 600;
color: var(--nawnet-nwn_ccm-primary-color, #28a745);
transition: all .3s;
}
.nwn_ccm-tab-content a:hover{
color: #333;
}
.nwn_ccm-tab-content.active {
display: block; } .nwn_ccm-consent-item {
background-color: #f9f9f9;
border-radius: 8px;
padding: 15px;
margin-bottom: 10px;
border: 1px solid #ddd;
} .nwn_ccm-consent-header {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
color: #333;
cursor: pointer;
}
.chevron {
display: inline-block;
margin-right: 10px;
transition: transform 0.3s ease;
}
.rotated {
transform: rotate(90deg);
} .nwn_ccm-toggle {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
margin-left: auto;
}
.nwn_ccm-toggle input {
opacity: 0!important;
width: 0;
height: 0;
}
.nwn_ccm-consent-item .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 34px;
}
.nwn_ccm-consent-item .slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked+.slider {
background-color: var(--nawnet-nwn_ccm-primary-color, #28a745);
}
input:checked+.slider:before {
transform: translateX(20px);
}
.cmm-consent-item-title{
font-size: 16px;
} .nwn_ccm-consent-description {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease; } .nwn_ccm-consent-item.expanded .nwn_ccm-consent-description {
max-height: 200px; } .nwn_ccm-banner-footer {
display: flex;
justify-content: space-between; padding-top: 20px; border-top: 1px solid #ddd;
}
.nwn_ccm-button {
padding: 10px 20px;
border: 1px solid #adadad;
cursor: pointer;
font-size: 15px;
font-weight: 600;
border-radius: 5px;
transition: all 0.3s;
color: #fff!important; text-transform: uppercase;
letter-spacing: 1.2px;
}
.nwn_ccm-button.primary {
background-color: var(--nawnet-nwn_ccm-primary-color, #28a745)!important;
color: #ffffff!important;
opacity: 1;
border-color: var(--nawnet-nwn_ccm-primary-color, #28a745)!important;
}
.nwn_ccm-button.primary:hover {
background-color: var(--nawnet-nwn_ccm-primary-color, #28a745)!important;
opacity: .9;
}
.nwn_ccm-button:hover {
background-color: #7e7e7e!important;
} #nwn_ccm-cookie-icon {
position: fixed;
bottom: 20px;
left: 20px;
width: 50px;
height: 50px;
background-color: var(--nawnet-nwn_ccm-primary-color, #28a745);
color: #ffffff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
cursor: pointer;
z-index: 1001;
padding: 5px;
}
#nwn_ccm-cookie-icon.hidden{
display: none;
}
.icon-chevron svg {
width: 14px;
height: 14px;
display: flex; margin-right: 15px;
transform: rotate(180deg);
}
.icon-chevron svg path {
fill: #757575
}
.icon-chevron svg.rotated {
transform: rotate(0deg); }
.nwn_ccm-consent-item.required .nwn_ccm-toggle {
opacity: 0.5;
cursor: not-allowed;
position: relative;
} .nwn_ccm-consent-item.required .nwn_ccm-toggle:hover, .nwn_ccm-consent-item.required .slider:hover {
cursor: not-allowed!important;
}
.nwn_ccm-consent-description p{
margin-block-start: 1rem;
margin-block-end: .3rem;
} .nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]:hover::after {
content: attr(data-tooltip);
position: absolute;
top: -30px; right: 0%;
transform: translateX(-0%);
background-color: #333;
color: #fff;
padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
z-index: 10;
opacity: 1;
transition: opacity 0.3s ease;
} .nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]::after,
.nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]::before {
opacity: 0;
pointer-events: none;
} .nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]:hover::after,
.nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]:hover::before {
opacity: 1;
} #nwn_ccm-cookie-icon[data-tooltip]::after {
content: attr(data-tooltip); position: absolute;
top: -35px; left: 0%;
background-color: rgba(0, 0, 0, 0.75); color: #fff; padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
opacity: 0;
transition: opacity 0.2s;
pointer-events: none; z-index: 1001;
} #nwn_ccm-cookie-icon:hover[data-tooltip]::after,
#nwn_ccm-cookie-icon:hover[data-tooltip]::before {
opacity: 1;
}
.nawnet-nwn_ccm-copyright, .nawnet-nwn_ccm-copyright a{
text-align: center;
font-weight: 300;
font-size: 12px;
margin-top: 15px;
}
@media (max-width: 768px) {
.nwn_ccm-banner-footer{
flex-direction: column;
row-gap: 10px;
}
.nwn_ccm-tab-content{
max-height: 40vh;
}
.nwn_ccm-logo {
margin: 0px auto 10px auto;
max-height: 50px;
}
.nwn_ccm-consent-item.required .nwn_ccm-toggle[data-tooltip]:hover::after{
width: 185px;
text-wrap: auto;
word-break: normal;
overflow-wrap: normal;
white-space: normal;
}
#nwn_ccm-cookie-banner{
max-height: 90vh;
}
li.nwn_ccm-tab{
font-size: 16px;
}
}