@charset "utf-8";
/* CSS Document */

.winwin_editable {
	position: relative;
}

.winwin_editable:has(.admin) {
	border-radius: 6px;
	display: inline-block;
	max-width: 100%;
	outline: 1px dashed transparent;
	outline-offset: 4px;
	transition: background 0.18s ease, outline-color 0.18s ease;
}

.winwin_editable:has(.admin):hover,
.winwin_editable:has(.admin):focus-within {
	background: rgba(255, 255, 255, 0.14);
	outline-color: rgba(255, 255, 255, 0.78);
}

.admin {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(18, 25, 38, 0.16);
	border-radius: 999px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	color: transparent !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 0;
	height: 40px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	text-decoration: none !important;
	width: 40px;
}

.admin::before {
	color: #1c2433;
	content: "\270E";
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.winwin_editable .admin {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 6px;
	top: 6px;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
	z-index: 5000002;
}

.winwin_editable:hover .admin,
.winwin_editable:focus-within .admin,
.winwin_editable .admin:focus {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.winwin_editable .admin:hover,
.winwin_editable .admin:focus {
	background: #e8f1ff;
	outline: none;
}

.winwin_editable .admin:hover::before,
.winwin_editable .admin:focus::before {
	color: #3a3a3a;
}

.admin_fomenu_cont {
	background: #fffff5;
	box-shadow: -14px 0 40px rgba(0, 0, 0, 0.25);
	color: #3a3a3a;
	display: flex;
	flex-direction: column;
	height: 100vh;
	padding: 12px 10px;
	position: fixed;
	right: 0;
	text-align: center;
	top: 0;
	width: 78px;
	z-index: 5000000;
}

.admin_brand {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.admin_brand_mark {
	align-items: center;
	background: #149dd1;
	border-radius: 8px;
	color: #FFFFFF;
	display: inline-flex;
	font-size: 19px;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.admin_brand_name {
	color: #3a3a3a;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.admin_menu_group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.admin_menu_group_bottom {
	margin-top: auto;
}

.admin_menu_button {
	align-items: center;
	background: #92c83e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
	width: 100%;
}

.admin_menu_button:hover,
.admin_menu_button:focus {
	background: #149dd1;
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.admin_ablak_cont {
	background: #fffff5;
	border-left: 1px solid rgba(17, 24, 39, 0.12);
	box-shadow: -18px 0 50px rgba(0, 0, 0, 0.22);
	color: #121826;
	cursor: auto;
	display: none;
	font-size: 13px;
	height: 100vh;
	overflow-y: auto;
	padding: 10px;
	position: fixed;
	right: 78px;
	top: 0;
	width: min(380px, calc(100vw - 78px));
	z-index: 5000001;
}

.admin_ablak_cont.admin_ablak_large {
	font-size: 15px;
	width: min(480px, calc(100vw - 78px));
}

.admin_ablak_headline {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 18px;
	text-align: left;
}

.admin_ablak_grp {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
	margin-bottom: 18px;
	padding: 10px;
}

.admin_ablak_subheadline {
	font-size: 14px;
	font-weight: 700;
	margin: 18px 0 12px;
	text-align: left;
}

.admin_ablak_cont .form-group {
	margin-bottom: 14px;
}

.admin_ablak_cont label {
	color: #263247;
	display: block;
	font-size: 12px;
	margin-bottom: 6px;
}

.admin_ablak_cont .form-control {
	border-color: #c8d1e0;
	border-radius: 8px;
	box-shadow: none;
	color: #121826;
}

.admin_ablak_cont .form-control:focus {
	border-color: #149dd1;
	box-shadow: 0 0 0 3px rgba(44, 107, 237, 0.16);
}

.admin_input,
.admin_input2 {
	font-size: 13px !important;
	white-space: pre-wrap !important;
}

.admin_input[type="color"] {
	cursor: pointer;
	min-height: 42px;
	padding: 4px;
}

.admin-gomb {
	background: #9bc31c !important;
	border: 0;
	border-radius: 8px;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	margin: 0 6px 6px 0;
	padding: 8px 12px;
}

.admin-gomb:hover,
.admin-gomb:focus {
	background: #149dd1 !important;
}

.admin_ablak_cont hr {
	border-bottom: solid 1px #c8d1e0;
	margin-bottom: 15px;
	margin-top: 15px;
}

.admin_editsor {
	border-bottom: solid 1px #d8deea;
	cursor: pointer;
	margin-bottom: 10px;
	padding: 8px 4px;
}

.admin_editsor:hover {
	background: #e7ebf3;
}

@media all and (max-width: 720px) {
	.admin_fomenu_cont {
		bottom: 0;
		flex-direction: row;
		height: 66px;
		left: 0;
		padding: 8px;
		top: auto;
		width: 100vw;
	}

	.admin_brand {
		flex-direction: row;
		gap: 6px;
		margin: 0 10px 0 0;
	}

	.admin_brand_mark {
		height: 40px;
		width: 40px;
	}

	.admin_menu_group {
		flex-direction: row;
		gap: 6px;
	}

	.admin_menu_group_bottom {
		margin-left: auto;
		margin-top: 0;
	}

	.admin_menu_button {
		height: 48px;
		width: 44px;
	}

	.admin_ablak_cont,
	.admin_ablak_cont.admin_ablak_large {
		border-left: 0;
		border-top: 1px solid rgba(17, 24, 39, 0.12);
		bottom: 66px;
		height: min(72vh, calc(100vh - 66px));
		right: 0;
		top: auto;
		width: 100vw;
	}

	.winwin_editable .admin {
		opacity: 1;
		pointer-events: auto;
	}
}
