/*====== Consent Window =========*/
.ccb-modal {
	width: 95%;
	max-width: 720px;
	padding: 20px 40px 20px 40px;
	position: fixed;
	background: #ffffff;
	top: -5000px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;
	box-shadow: 0 0 8px 2px rgba(0, 0, 0, .2);
	transition: all 1s ease-in-out;
	border-radius: 8px;
	--ccb-primary-color: #00852D;
	font-size: 16px;
}

.ccb-modal .container {
	position: relative;
}

.ccb-settings-link-inline {
	color: var(--ccb-primary-color, #00852D);
	text-decoration: underline;
	font-size: 14px;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	display: inline-block;
	vertical-align: middle;
	line-height: 1.5;
	white-space: nowrap;
	font-weight: normal;
}

.ccb-settings-link-inline:hover {
	text-decoration: none;
	opacity: 0.8;
	color: var(--ccb-primary-color, #00852D);
}

.ccb-modal.active {
	top: 50%;
	transform: translate(-50%, -50%);
}

.ccb-modal .container {
	width: 100%;
}

.ccb-modal .ccb-modal-body {
	padding: 0;
	position: relative;
	background: #ffffff;
	width: 100%;
}

.ccb-modal-preview {
	display: block;
	width: 100%;
}

.ccb-modal-preview h2 {
	color: var(--ccb-primary-color, #00852D);
	margin-top: 0;
	margin-bottom: 15px;
}

.ccb-modal-preview p {
	margin-bottom: 20px;
	line-height: 1.6;
	font-size: 16px;
}

.ccb-modal .ccb-modal-body.sets .ccb-modal-preview {
	display: none;
}

.ccb-modal .ccb-modal-btns {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 20px;
}

@media (max-width: 767px) {
	.ccb-modal {
		width: 90%;
		padding: 20px 25px;
	}
}

@media (max-width: 480px) {
	.ccb-modal {
		width: 95%;
		padding: 15px 20px;
	}
	
	.ccb-modal .ccb-modal-btns {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.ccb-settings-link-inline {
		margin-left: 0;
	}
}

.ccb-modal .ccb-btn {
	background: var(--ccb-primary-color, #00852D);
	border: 1px solid var(--ccb-primary-color, #00852D);
	padding: 6px 20px;
	color: #ffffff;
	margin: 0 5px;
	transition: all .3s ease-in-out;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
}

@media (max-width: 480px) {
	.ccb-modal .ccb-btn {
		margin-bottom: 5px;
		margin-left: 0;
	}
}

.ccb-modal .ccb-btn:first-child {
	margin-left: 0;
}

.ccb-modal .ccb-btn:last-child {
	margin-right: 0;
}

.ccb-modal .ccb-btn:hover {
	text-decoration: none;
	background: #ffffff;
	color: var(--ccb-primary-color, #00852D);
}

.ccb-modal .ccb-btn-primary {
	background: var(--ccb-primary-color, #00852D);
	border: 1px solid var(--ccb-primary-color, #00852D);
	color: #ffffff;
}

.ccb-modal .ccb-btn-primary:hover {
	background: #ffffff;
	color: var(--ccb-primary-color, #00852D);
}

.ccb-modal .ccb-btn-deny {
	background: #ffffff;
	color: var(--ccb-primary-color, #00852D);
	margin-left: auto;
}

@media (max-width: 480px) {
	.ccb-modal .ccb-btn-deny {
		margin-bottom: 5px;
		margin-left: 0;
	}
}

.ccb-modal .ccb-btn-deny:hover {
	background: var(--ccb-primary-color, #00852D);
	color: #ffffff;
}

.ccb-modal .ccb-modal-settings {
	width: 100%;
	display: none;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0;
	background: #ffffff;
}

.ccb-modal .ccb-modal-body.sets .ccb-modal-settings {
	display: flex;
}

.ccb-modal .ccb-modal-settings .ccb-modal-settings_block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	margin: 0 -10px;
	background: #ffffff;
}

.ccb-modal .ccb-modal-settings .ccb-modal-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 15px;
	width: calc(50% - 20px);
	flex: 0 0 calc(50% - 20px);
	margin-left: 10px;
	margin-right: 10px;
	box-sizing: border-box;
	gap: 8px;
}

.ccb-modal .ccb-modal-settings .ccb-modal-row span {
	margin-left: 8px;
	font-size: 16px;
}

@media (max-width: 767px) {
	.ccb-modal .ccb-modal-settings .ccb-modal-row {
		width: 100%;
		flex: 0 0 100%;
		margin-bottom: 15px;
	}
}

@media (max-width: 480px) {
	.ccb-modal .ccb-modal-settings .ccb-modal-row {
		width: 100%;
	}
}

.ccb-modal .ccb-modal-settings .ccb-modal-settings_btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	background: #ffffff;
	width: 100%;
}

@media (max-width: 480px) {
	.ccb-modal .ccb-modal-settings .ccb-modal-settings_btns {
		justify-content: space-between;
	}
}

.setting_check {
	display: none;
}

.setting_label {
	position: relative;
	cursor: pointer;
	width: 45px;
	height: 25px;
	max-width: none;
	margin-right: 5px;
	margin-bottom: 0;
	font-weight: 400;
}

.setting_label::before {
	content: '';
	width: 45px;
	height: 25px;
	border-radius: 18px;
	border: 2px solid var(--ccb-primary-color, #00852D);
	background-color: #ffffff;
	box-shadow: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.setting_check:checked + label::before {
	background-color: var(--ccb-primary-color, #00852D);
}

.setting_label::after {
	content: '';
	width: 21px;
	height: 21px;
	border-radius: 50%;
	border: 1px solid var(--ccb-primary-color, #00852D);
	background: #ffffff;
	font-size: 16px;
	color: #ffffff;
	position: absolute;
	top: 2px;
	left: 1px;
	z-index: 2;
	box-shadow: none;
}

.setting_check:checked + label::after {
	right: 1px;
	left: auto;
}

.setting_check:disabled:checked + label::after,
.setting_check:disabled:checked + label::before {
	opacity: .5;
	cursor: not-allowed;
}

.ccb-overlay {
	display: none;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, .6);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99990;
}

