@charset "UTF-8";
/* magic */
:root {
	--yell: #0071B8;
	--main: #010101;
	--blue: #0071b8;
	--blue-dark: #015081;
}

.updated {
}

table.ester {
	width: 100%;
	margin: 25px 0;
}

table.ester th {
	border: 1px solid #a3a3a3;
	padding: 5px 15px;
	font-size: 17px;
}

table.ester td {
	border: 1px solid #a3a3a3;
	padding: 5px 15px;
	font-size: 16px;
}
/* --- Баннер cookie --- */
#cookie-notification {
	position: fixed;
	bottom: 15px;
	right: auto;
	left: 15px;
	color: var(--graphite-2);
	padding: 25px;
	text-align: center;
	z-index: 9999;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
	background: rgba(255,255,255,.96);
	-webkit-box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	width: 40%;
	border-radius: 15px;
}

#cookie-notification[hidden] {
	display: none !important;
}

.cpent {
	display: flex;
	justify-content: space-between;
  /* align-items: center; */
	gap: 20px;
	flex-direction: column;
	width: auto;
}

.cpp {
  /* flex: 0 0 75%; */
	text-align: left;
}

.cpp p {
	margin: 0;
	font-size: 14px;
}

.cpp p a {
	font-size: 14px;
	color: var(--blue-dark);
	border-bottom: 1px solid;
	text-decoration: none;
}

.cpp p a:hover {
	border-bottom: 1px dashed;
	color: var(--yell);
}

.cookie-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.cookie-buttons button {
	color: var(--blue);
	border: 1px solid var(--blue);
	padding: 10px 25px 8px;
	cursor: pointer;
	font-size: 11px;
	text-transform: uppercase;
	border-radius: 3px;
	transition: background 0.3s, color 0.3s;
	letter-spacing: 1px;
	font-weight: 600;
	background: #fff;
	flex: 1 0 auto;
}

#cookie-accept-all {
	background: var(--blue);
	color: #fff;
}

#cookie-accept-all:hover {
	background: var(--blue-dark);
}

#cookie-customize {
}

#cookie-customize:hover {
}

#cookie-reject-all {
}

#cookie-reject-all:hover {
}

.cookie-buttons button:hover {
	color: #fff;
	background: var(--blue);
}

#cookie-necessary {
}

#cookie-necessary:hover {
}




/* --- Модальное окно --- */
.cookie-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.cookie-modal.is-open {
	display: flex;
}

body.cookie-modal-open {
	overflow: hidden;
}

.cookie-modal-content {
	background: #fff;
	color: #333;
	max-width: 600px;
	width: 90%;
	padding: 30px;
	border-radius: 8px;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cookie-modal-content h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	color: var(--blue-dark);
}

.cookie-category {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
	border-bottom: none;
}

.cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.cookie-category-name {
	font-weight: 700;
	font-size: 16px;
	color: #222;
}

.cookie-category-badge {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 7px 15px;
	border-radius: 18px;
	font-weight: 600;
}

.cookie-category-badge.always {
	background: var(--blue);
	color: #fff;
	border: 1px solid var(--blue);
}

.cookie-category-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	margin: 0 0 5px 0;
}

.cookie-category-services {
	font-size: 12px;
	color: #888;
	margin: 5px 0 0 0;
	font-style: italic;
}

.cookie-modal-actions {
	text-align: center;
	margin-top: 25px;
}

#cookie-save-preferences {
	background: var(--blue);
	color: #fff;
	border: none;
	padding: 12px 40px;
	cursor: pointer;
	font-size: 11px;
	text-transform: uppercase;
	border-radius: 18px;
	transition: background 0.3s;
	letter-spacing: 1px;
	font-weight: 600;
}

#cookie-save-preferences:hover {
	background: var(--blue-dark);
}

/* --- Toggle switch --- */
.switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.3s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: var(--blue);
}

input:focus + .slider {
	box-shadow: 0 0 1px var(--yell);
}

input:checked + .slider:before {
	transform: translateX(20px);
}

@media (max-width: 1280px) {
	#cookie-notification {
		width: 45%;
	}

@	media (max-width: 1024px) {
		#cookie-notification{
    width: 65%;
	}
}

@media screen and (max-width : 992px) {
	table.ester th {
		border: 1px solid #a3a3a3;
		padding: 5px 5px;
		font-size: 11px;
		line-height: 14px;
	}

	table.ester td {
		border: 1px solid #a3a3a3;
		padding: 5px;
		font-size: 10px;
	}

	#cookie-notification {
		width: auto;
		padding: 15px;
	}

	#cookie-accept {
		font-size: 12px;
		padding: 8px 20px;
	}

	.cpent {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.cookie-buttons {
		justify-content: space-between;
		width: 100%;
	}

	.cpent {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.cpp p {
    /* text-align: center; */
		font-size: 11px;
	}

	.cpp p a {
		font-size: 11px;
	}

	.cookie-buttons button {
		font-size: 10px;
		padding: 10px 10px 8px;
		flex: 1 0 auto;
	}

	.cookie-modal-content {
		padding: 20px;
	}
}