.occ-banner,
.occ-overlay,
.occ-banner *,
.occ-overlay * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.occ-banner {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 10010;
	width: 560px;
	max-width: calc(100% - 40px);
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e7e8ea;
	border-radius: 6px;
	-webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	font: normal normal 14px/20px "roboto_ltregular", arial, sans-serif;
	color: #333333;
	text-align: left;
}

.occ-banner__text,
.occ-modal__text,
.occ-cat__desc {
	margin: 0 0 14px;
	padding: 0;
	font: inherit;
	color: inherit;
}

.occ-link,
.occ-link:visited {
	color: #3498db;
	text-decoration: underline;
}

.occ-link:hover {
	color: #1f7ab5;
}

.occ-actions {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -4px;
}

.occ-btn {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 0px;
	flex: 1 1 0px;
	min-width: 0;
	margin: 4px;
	padding: 10px 8px;
	border: 1px solid #3498db;
	border-radius: 4px;
	background: #ffffff;
	color: #3498db;
	font: normal normal 14px/18px "robotomedium", "roboto_ltregular", arial, sans-serif;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.occ-btn:hover {
	background: #3498db;
	color: #ffffff;
}

.occ-btn:focus-visible,
.occ-close:focus-visible,
.occ-switch:focus-visible,
.occ-link:focus-visible {
	outline: 2px solid #1f7ab5;
	outline-offset: 2px;
}

.occ-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10020;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 12px;
	background: rgba(0, 0, 0, 0.5);
	font: normal normal 14px/20px "roboto_ltregular", arial, sans-serif;
	color: #333333;
	text-align: left;
}

.occ-overlay[hidden] {
	display: none;
}

html.occ-modal-open,
html.occ-modal-open body {
	overflow: hidden;
}

.occ-modal {
	position: relative;
	width: 560px;
	max-width: 100%;
	max-height: 100%;
	overflow-y: auto;
	padding: 24px;
	background: #ffffff;
	border-radius: 6px;
	-webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.occ-modal:focus {
	outline: none;
}

.occ-modal__title {
	margin: 0 32px 12px 0;
	padding: 0;
	font: normal normal 20px/26px "robotomedium", "roboto_ltregular", arial, sans-serif;
	color: #333333;
}

.occ-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #666666;
	font: normal normal 26px/32px arial, sans-serif;
	cursor: pointer;
}

.occ-close:hover {
	background: #f0f1f3;
	color: #333333;
}

.occ-cat {
	margin: 0 0 12px;
	padding: 14px 0 0;
	border-top: 1px solid #e7e8ea;
}

.occ-cat__head {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 0 0 6px;
	cursor: pointer;
}

.occ-cat__name {
	font-family: "robotomedium", "roboto_ltregular", arial, sans-serif;
	font-size: 15px;
}

.occ-cat__state {
	margin-left: auto;
	padding-left: 8px;
	font-size: 13px;
	color: #777777;
}

.occ-cat__desc {
	margin-bottom: 4px;
	font-size: 13px;
	line-height: 19px;
	color: #555555;
}

.occ-switch {
	position: relative;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	display: inline-block;
	width: 40px;
	height: 22px;
	margin: 0 10px 0 0;
	border-radius: 11px;
	background: #c7cbd1;
	vertical-align: middle;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

.occ-switch:before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-transition: left 0.2s;
	transition: left 0.2s;
}

.occ-switch:checked {
	background: #3498db;
}

.occ-switch:checked:before {
	left: 20px;
}

.occ-switch:disabled {
	cursor: default;
	opacity: 0.6;
}

.occ-modal .occ-actions {
	margin-top: 8px;
}

.occ-footer-links {
	clear: both;
	margin: 0;
	padding: 12px 0 16px;
	font-size: 13px;
	line-height: 22px;
}

.occ-footer-links a {
	display: inline-block;
	margin-right: 20px;
	color: #999999;
	text-decoration: underline;
}

.occ-footer-links a:hover {
	color: #3498db;
}

.occ-reg {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 18px;
	color: #555555;
	text-align: left;
}

.occ-reg__docs {
	margin: 0 0 10px;
}

.occ-reg a {
	color: #3498db;
	text-decoration: underline;
}

.occ-reg__adv {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	cursor: pointer;
}

.occ-reg__adv input {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 1px 8px 0 0;
}

@media (max-width: 767px) {
	.occ-banner {
		left: 8px;
		right: 8px;
		bottom: 8px;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		max-height: calc(100% - 72px);
		overflow-y: auto;
		padding: 14px;
		font-size: 13px;
		line-height: 18px;
	}

	body.mtb-ready.mtb-has-tabbar .occ-banner {
		bottom: 64px;
		bottom: calc(56px + 8px + env(safe-area-inset-bottom, 0px));
		max-height: calc(100% - 128px);
	}

	.occ-banner__text {
		margin-bottom: 10px;
	}

	.occ-btn {
		padding: 9px 4px;
		font-size: 13px;
	}

	.occ-modal {
		padding: 18px 16px;
	}

	.occ-modal__title {
		font-size: 18px;
		line-height: 24px;
	}
}
