
body {
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;	
	
}

#id_editor_win {
	background-color:#f0f0f0;
	sborder:1px solid #888;
	margin-top:0px;
	text-align:center;
	position:relative;
	width:100%;
	height:400px;
}


.ctrl_move {
	cursor:move;
}
.ctrl_rem {
	cursor:pointer;
	cursor:hand;
}
.ctrl_scale {
	cursor:ew-resize;
}
.ctrl_rot {
	cursor:ew-resize;
}

.ctrl_rem:hover circle, .ctrl_scale:hover circle, .ctrl_rot:hover circle {
	stroke: #e6007e;
}


.controls-container {
	dopacity:0.0;
	dvisibility:hidden;
}

.controls-container-active {
	dvisibility:visible;
	dopacity:1 !important;
}


#ed_left_vert_menu {
	z-index:10;
	position:relative;
	width:100px;
	padding-top:15px;
	border-right:2px solid #e0e0e0;
	float:left;
	background-color:#fff;
	min-height:100%;
}
#ed_left_vert_menu .b_v_sep {
	background-color:#ddd;
	margin:15px 0 20px 0;
	height:2px;
}

#ed_top_horiz_menu {
	z-index:5;
	position:relative;
	width:calc(100% - 100px);
	float:left;
	background-color:#eee;
	text-align:left;
	height:84px;
	padding-left:20px;
	padding-right:20px;
	padding-top:15px;
	padding-bottom:25px;
	border-bottom:2px solid #ddd;
	background-color:#fff;
}
#ed_top_project_menu {
	z-index:6;
	position:absolute;
	left:100px;
	width:calc(100% - 100px);
	background-color:#eee;
	text-align:left;
	height:84px;
	padding-left:20px;
	padding-right:20px;
	padding-top:15px;
	padding-bottom:25px;
	border-bottom:2px solid #ddd;
	background-color:#fff;
}

.pr-item {
	display:inline-block;
	margin-right:30px;
	cursor:pointer;
	cursor:hand;
	margin-top:13px;
}
.pr-item:hover {
	color:#e6007e;
}
.pr-item:active {
	color:#00aae4;
}


#ed_main_space {
	float:left;
	background-color:#f0f0f0;
	smin-height:500px;
	width:calc(100% - 100px);
	padding-top:60px;
	padding-bottom:60px;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.watermark {
	background-image:url('../../assets/img/p24-watermark.png');
}



.ed_action_button {
	cursor:pointer;
	cursor:hand;
	display:inline-block;
	margin-top:7px;
	margin-right:20px;
}
.ed_action_button i {
	font-size:15pt;
}
.ed_action_button:hover {
	cccolor:#e6007e;
}

.ed_action_button-edits {
	opacity:0.4;
}

.ed_car_view_button img {
	position:relative;
	top:-3px;
	height:30px;
	width:auto;
}
.ed_car_view_button {
	border-bottom:1px solid none;
}
.ed_car_view_button:hover {
	border-bottom:1px solid #e6007e;
}


.ed_horiz_sep {
	margin-right:20px;
	opacity:0.5;
}




.ed_v_button {
	cursor:pointer;
	cursor:hand;
	display:block;
	margin-bottom:30px;
}
.ed_v_button i {
	font-size:15pt;
}

.ed_v_button .b_title {
	display:block;
	text-align:center;
}
.ed_v_button:hover {
	color:#e6007e;
}
.ed_v_button:active {
	color:#00aae4;
}

.ed_action_button-active {
	opacity:1.0 !important;
}
.ed_action_button-active:active {
	color:#00aae4 !important;
}
.ed_action_button-active:hover {
	color:#e6007e;
}



.left_side_panel {
	
	position:absolute;
	left:-500px;
	background-color:#fff;
	border:1px solid #888;
	padding:20px;
	width:500px;
	min-height:300px;
	max-height:600px;
	overflow-y: auto;       /* zobrazí scroll jen když je potřeba */
	z-index:7;	
	
}

#left_side_panel1 {

	position:absolute;
	left:-500px;
	dvisibility:hidden;
	background-color:#fff;
	border:1px solid #888;
	padding:20px;
	width:500px;
	min-height:300px;
	max-height:600px;
	overflow-y: auto;       /* zobrazí scroll jen když je potřeba */
	overscroll-behavior: contain; /* neproscrolluje stránku za box */
	scrollbar-gutter: stable;     /* (podpora novějších prohlížečů) zabrání poskakování šířkou */	
	z-index:7;
	
}



.ed-input-class {
	border:1px solid #555;
	border-radius:4px;
}

.ed-button-class {
	border:1px solid #555;
	background-color:#eee;
	border-radius:25px;
	padding:10px 20px;
}
.ed-button-class:hover {
	border:1px solid #e6007e;
	background-color:#e6007e;
	color:#fff;
	border-radius:25px;
	padding:10px 20px;
}


/*
TIPY --------------------
*/

#tip-rotator {
	position:relative;
	top:20px;
	max-width: 600px;
	margin: 30px auto;
	text-align: center;
	font-family: Arial, sans-serif;
}

.tip {
  display: none;
  transition: opacity 0.5s ease;
}

.tip.active {
  display: block;
}

#tip-indicators {
  margin-top: 15px;
}

#tip-indicators span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

#tip-indicators span.active {
  background-color: #333;
}


/*

EDITOR COLOR PICKER

*/

.color-picker-wrapper {
	display:inline-block;
	position:relative;
	top:4px;
}
.color-picker-wrapper input {
	cursor:pointer;
	cursor:hand;
	margin-top:4px;
	height:25px;
	width:30px;
	padding:2px;
	background-color:#212529;
	border:none;
	border-radius:3px;
}



/*
.color-picker-container {
  display: inline-block;
  position: relative;
  margin: 10px;
}

.color-picker {
  width: 30px;
  height: 30px;
  border: 2px solid #999;
  cursor: pointer;
}

.color-picker-panel {
  position: absolute;
  top: 40px;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  display: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  z-index: 100;
}

.color-picker-panel input {
  display: block;
  margin-bottom: 6px;
}
*/



.ico-thumb {
	display:inline-block;
	margin-right:10px;
	margin-bottom:10px;
	border:1px solid #ddd;
	cursor:pointer;
	cursor:hand;
	padding:10px;
}

.ico-thumb:hover {
	border:1px solid #000;
}




#id_top_button_save {
	display:none;
}

.top_button_active {
	display:inline-block !important;
}

#id_top_price {
	color:#fff;
	display:inline-block;
	margin-top:4px;
}


/* Výška „skluzu“ a rychlost – klidně si uprav */
:root {
  --proj-menu-shift: 100px;
  --proj-menu-time: 200ms;
}

#ed_top_project_menu {
  position: absolute;                /* předpokládám, že už máš; pokud ne, doplň */
  transform: translateY(calc(var(--proj-menu-shift) * -1)); /* výchozí: nad tlačítkem */
  opacity: 0;
  pointer-events: none;              /* aby nešlo klikat do „neviditelného“ stavu */
  transition:
    transform var(--proj-menu-time) ease,
    opacity   calc(var(--proj-menu-time) - 50ms) ease;
  will-change: transform, opacity;
}

/* Otevřený stav – sjeď dolů na 0 */
#ed_top_project_menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Pojistka pro přístupnost */
#ed_top_project_menu[aria-hidden="true"] { /* nic navíc – jen dokumentuje úmysl */ }

/*#ed_top_project_menu[aria-hidden="true"] { display: none; }*/




#id-status-bar {
	display:none;
	z-index:111;
	position:fixed;
	left:0;
	bottom:0;
	width:100%;
	padding:5px;
	height:30px;
	color:#fff;
	background-color:rgba(0, 170, 228, 0.8);
	text-align:center;
}

.status-bar-error {
	color:#ffff80 !important;
	background-color:rgba(200, 0, 8, 1.0) !important;
}



/* použij: class="p24-flash" */
.p24-flash{
  border-radius: 5px;
  background-color: transparent;
  animation: p24FlashSequence 3.2s ease forwards;
}

@keyframes p24FlashSequence {
  /* start – bez barvy */
  0%   { background-color: transparent; }

  /* 1. bliknutí */
  10%  { background-color: #ffed00; }
  20%  { background-color: transparent; }

  /* 2. bliknutí */
  30%  { background-color: #ffed00; }
  40%  { background-color: transparent; }

  /* plynulé zvýraznění a zmizení */
  55%  { background-color: #ffed00; }
  100% { background-color: transparent; }
}


.cart-remove {
	cursor:pointer;
	font-size:14pt;
	font-weight:700;
	color:#e00000;
	text-decoration:none !important;
}
.cart-remove:hover {
	color:#ff0000;
}




#final_svg_1,
#final_svg_1 * {
  touch-action: none; /* zásadní */
}

.controls-container,
.ctrl_move,
.ctrl_rot,
.ctrl_scale,
.ctrl_rem {
  pointer-events: all;
}



.p24-email-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.p24-email-modal {
    background: #fff;
    width: 320px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.p24-email-header {
    background: #e5007e;
    color: #fff;
    padding: 10px 14px;
    font-weight: 600;
}

.p24-email-body {
    padding: 14px;
	text-align:left;
}

.p24-email-body input {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
}

.p24-email-footer {
    padding: 12px 14px;
    text-align: right;
    gap: 8px;
}

.p24-btn {
    padding: 6px 12px;
    cursor: pointer;
	border:none;
	border-radius:5px;
}

.p24-btn-ok {
    background: #e5007e;
    color: #fff;
}
.p24-btn-ok:hover {
    background: #00aae4;
    color: #fff;
}

.p24-btn-cancel {
    background: #ccc;
}
.p24-btn-cancel:hover {
    background: #eee;
}

.p24-email-input.is-invalid {
    border: 2px solid #c0392b;
    background: #fff5f5;
}
