html,body {
	overflow:auto;
	min-height:100%;
}
input,textarea,select{
	font:14px 'Calibri', Arial, Sans-self, sans-serif;
}
p, div, form, body{
	margin:0;
	padding:0;
}
body{
	border:none;
	font:14px 'Calibri', Arial, Sans-self, sans-serif;
	color:#333;
	background:#0190a0 url('../images/bg.jpg') left top repeat-x;
	background-size:100% 100%;
}
body.wait,
body.wait *{
	cursor:wait !important;
}

h1,h2,h3,h4,h5{
	padding:0;
	margin:0;
	font-weight:normal;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
a {
	color: #999999;
}
a:hover {
	text-decoration: none;
}
img {
	border: none;
}
	
	#mainBoxPlace{
		position:absolute;
		left:0;
		top:0;
		width:100%;
		height:100%;
	}
		
		.mainBoxMenu{
			
		}
		
		.mainBoxMessage,
		.mainBoxLoading,
		.mainBoxLogin,
		.mainBoxPassword{
			
		}
			
			.mainBox{
				position:absolute;
				width:440px;
				height:220px;
				margin:-170px 0 0 -220px;
				background:rgba(0,0,0,0.6);
				position:absolute;
				left:50%;
				top:50%;
				visibility:hidden;
				opacity:0;
			}
				
				.mainBoxMessage .mainBox,
				.mainBoxLoading .mainBox,
				.mainBoxLogin .mainBox,
				.mainBoxPassword .mainBox,
				.mainBoxNewPassword .mainBox{
					opacity:1;
					visibility:visible;
				}
				
				.mainBoxError .mainBox{
					animation: errorBorder 0.8s 1 ease-out;
				}	
					
					@keyframes errorBorder {
						0% {
							box-shadow:0 0 0 0 transparent;
						}
						50% {
							box-shadow:0 0 15px 5px #ff001e;
						}
						100% {
							box-shadow:0 0 0 0 transparent;
						}
					}
					
				
				.mainBox label{
					position:absolute;
					margin:-30px 0 0 15px;
					font-size:21px;
					font-weight:bold;
					color:#fff;
					opacity:0;
					visibility:hidden;
				}
				
				.mainBox .icon{
					position:absolute;
					width:56px;
					height:51px;
					margin:-23px 0 0 192px;
					background:url('../images/lock.png');
					opacity:0;
					visibility:hidden;
				}
				
				.mainBox .bugwin{
					position:absolute;
					margin:230px 0 0 383px;
					opacity:0;
					visibility:hidden;
				}
				
				.mainBox .inputPlace{
					position:absolute;
					color:#fff;
				}
					
					.mainBox .inputPlace p{
						padding:3px 10px;
					}
					
					.mainBox .inputPlace .input{
						padding:0 16px;
						height:39px;
						background:#fff;
						border:none;
						border-left:8px solid #008f9f;
						border-radius:2px;
					}
						
						.mainBox .inputPlace .input input{
							background:transparent;
							border:none;
							width:100%;
							height:39px;
							line-height:37px;
							padding:0;
							margin:0;
							font-size:16px;
							color:#8a8a8a;
						}
						
					
					.mainBox .button{
						position:absolute;
						height:39px;
						padding:0;
						color:#fff;
						background:#00b24b;
						border:none;
						text-align:center;
						font-size:18px;
						border-radius:2px;
						cursor:pointer;
					}
						
						.mainBox .button:hover{
							background:#00c453;
						}
						
					
					.mainBox .link{
						display:block;
						white-space:nowrap;
						position:absolute;
						text-decoration:none;
						font-size:13px;
					}
						
						.mainBox .link:hover{
							color:#dedede;
						}
						
					
				
				
				.mainBox .loginForm .email{
					width:324px;
					margin:35px 0 0 54px;
				}
				
				.mainBox .loginForm .password{
					width:205px;
					margin:105px 0 0 54px;
				}
				
				.mainBox .loginForm .button{
					width:108px;
					margin:129px 0 0 270px;
				}
				
				.mainBox .loginForm .link{
					margin:172px 0 0 70px;
				}
				
				
				.mainBox .lostPasswordForm .email{
					width:324px;
					margin:45px 0 0 54px;
				}
				
				.mainBox .lostPasswordForm .button{
					width:148px;
					margin:125px 0 0 230px;
				}
				
				.mainBox .lostPasswordForm .link{
					margin:135px 0 0 70px;
				}
				
				
				
				.mainBox .newPasswordForm .email{
					width:324px;
					margin:50px 0 0 54px;
				}
					
					.mainBox .newPasswordForm .email p{
						text-align:center;
					}
					
				
				.mainBox .newPasswordForm .button{
					width:148px;
					margin:125px 0 0 146px;
				}
				
				.mainBox .newPasswordForm .link{
					margin:135px 0 0 70px;
				}
				
				
				
				.mainBox .loginForm{
					position:absolute;
					opacity:0;
					visibility:hidden;
					margin-left:40px;
				}
					
					.mainBoxLogin .mainBox{
						border-radius:2px;
						margin:-110px 0 0 -220px;
					}
					
					.mainBoxLogin .mainBox .loginForm{
						margin-left:0;
						border-radius:2px;
					}
					
					.mainBoxLogin .mainBox .loginForm,
					.mainBoxLogin .mainBox label,
					.mainBoxLogin .mainBox .icon,
					.mainBoxLogin .mainBox .bugwin{
						opacity:1;
						visibility:visible;
					}
					
				
				.mainBox .lostPasswordForm{
					position:absolute;
					opacity:0;
					visibility:hidden;
					margin-left:-40px;
				}
					
					.mainBoxPassword .mainBox{
						border-radius:2px;
						margin:-110px 0 0 -220px;
					}
					
					.mainBoxPassword .mainBox .lostPasswordForm{
						margin-left:0;
						
					}
					
					.mainBoxPassword .mainBox .lostPasswordForm,
					.mainBoxPassword .mainBox label,
					.mainBoxPassword .mainBox .icon,
					.mainBoxPassword .mainBox .bugwin{
						opacity:1;
						visibility:visible;
					}
					
				
				
				.mainBox .newPasswordForm{
					position:absolute;
					opacity:0;
					visibility:hidden;
					margin-left:-40px;
				}
					
					.mainBoxNewPassword .mainBox{
						border-radius:100px;
						margin:-110px 0 0 -220px;
					}
					
					.mainBoxNewPassword .mainBox .newPasswordForm{
						margin-left:0;
					}
					
					.mainBoxNewPassword .mainBox .newPasswordForm,
					.mainBoxNewPassword .mainBox .icon{
						opacity:1;
						visibility:visible;
					}
					
				
			
			.mainBox .loadingPlace{
				position:absolute;
				margin:75px 0 0 185px;
				opacity:0;
				visibility:hidden;
			}
				
				.mainBoxLoading .mainBox{
					border-radius:100px;
					margin:-110px 0 0 -220px;
				}
				
				.mainBoxLoading .mainBox .loadingPlace{
					opacity:1;
					visibility:visible;
				}
				
				.mainBoxLoading .mainBox label,
				.mainBoxLoading .mainBox .icon,
				.mainBoxLoading .mainBox .bugwin{
					opacity:0;
					visibility:hidden;
				}
				
			
			.mainBox .message{
				opacity:0;
				visibility:hidden;
				text-align:center;
				color:#fff;
				font-size:30px;
				margin:45px 0 0;
			}
				
				.mainBox .message span{
					display:block;
					font-size:40px;
				}
				
			
			.mainBoxMessage .mainBox{
				border-radius:50px;
				background:rgba(0,0,0,0.3);
			}
				
				.mainBoxMessage .mainBox{
					margin:-110px 0 0 -220px;
				}
				
				.mainBoxMessage .mainBox .message{
					opacity:1;
					visibility:visible;
					margin:65px 0 0;
				}
				
				.mainBoxMessage .mainBox label,
				.mainBoxMessage .mainBox .icon,
				.mainBoxMessage .mainBox .bugwin{
					opacity:0;
					visibility:hidden;
				}
				
			
			
			.mainMenu{
				width:100%;
				height:60px;
				margin:0;
				position:absolute;
				z-index:100;
				left:0;
				top:-100px;
				background:rgba(0,0,0,0.6);
				opacity:0;
				visibility:hidden;
			}
			
			.mainBoxMenu .mainMenu{
				top:0;
				opacity:1;
				visibility:visible;
			}
				
				.mainMenu .logout{
					display:block;
					float:right;
					line-height:60px;
					padding:0;
					margin:0 30px 0 0;
					color:rgba(255,255,255,0.5);
					text-decoration:none;
					font-size:14px;
				}
					
					.mainMenu .logout:hover{
						color:rgba(255,255,255,1);
					}
					
				
				.mainMenu .user{
					float:left;
					width:110px;
					height:60px;
					background:rgba(0,0,0,0.3) url('../images/user.png') 30px center no-repeat;
					margin:0;
					padding:0 40px 0 80px;
					color:#fff;
					line-height:1;
					cursor:default;
				}
					
					.mainMenu .user strong{
						display:block;
						font-size:18px;
						margin:13px 0 0;
					}
					
					.mainMenu .user small{
						display:block;
						font-size:14px;
					}
					
				
				.mainMenu .modules{
					float:left;
					height:60px;
				}
					
					.mainMenu .module{
						float:left;
						overflow:auto;
						cursor:pointer;
					}
						
						.mainMenu .module a.m{
							display:block;
							float:left;
							line-height:60px;
							height:60px;
							overflow:hidden;
							color:#fff;
							text-decoration:none;
							font-size:18px;
							font-weight:1;
							padding:0 30px 0 15px;
						}
							
							.mainMenu .module a.mOn,
							.mainMenu .module a.m:hover{
								background:#008f9f;
							}
							
						
						.mainMenu .module img.p{
							float:left;
							margin:19px 15px;
						}
						
						
						.mainMenu .module .subModules{
							position:absolute;
							margin:75px 0 0;
							background:rgba(0,0,0,0.6);
							padding:5px;
							min-width:250px;
							opacity:0;
							visibility:hidden;
						}
							
							.mainMenu .module:hover .subModules{
								opacity:1;
								visibility:visible;
								margin:60px 0 0;
							}
							
							.mainMenu .module .subModules .sm{
								display:block;
								padding:5px 10px;
								text-decoration:none;
								color:#fff;
								font-size:16px;
							}
							
							.mainMenu .module .subModules .sOn,
							.mainMenu .module .subModules .sm:hover{
								background:#008f9f;
							}
							
						
					
				
			
			.popUp{
				position:absolute;
				left:50%;
				z-index:201;
				opacity:1;
				visibility:visible;
				margin:0;
				top:50%;
			}	
				
				.popUpBg{
					background:rgba(255,255,255,0.8);
					position:absolute;
					width:100%;
					height:100%;
					z-index:200;
				}
					
					.popUpBgHidden{
						opacity:0;
						visibility:hidden;
					}
					
				
				.popUpHidden{
					opacity:0;
					visibility:hidden;
				}
					
					.popUpHidden .popUpBox{
						margin-top:-350px;
					}
					
				
				.popUp .popUpBox{
					position:absolute;
					overflow:auto;
					min-width:500px;
					margin:-300px 0 0 -250px;
					background:#fff;
					box-shadow:2px 2px 10px rgba(0,0,0,0.3);
				}
					
					.popUp .popUpBox .popUpTitlePlace{
						overflow:auto;
						padding:10px;
						background:#008f9f;
						color:#fff;
						font-size:16px;
					}
						
						.popUp .popUpBox .popUpTitlePlace a.popUpClose{
							display:block;
							float:right;
							padding:0 5px;
							color:#fff;
							text-decoration:none;
						}
						
					
					.popUp .popUpBox .popUpContent{
						min-height:50px;
						padding:20px;
						font-size:17px;
					}
						
						.popUpContent textarea,
						.popUpContent input.input{
							border:1px solid #ccc;
							padding:3px 5px;
						}
						
						.popUpContent textarea{
							resize:none;
							padding:5px;
							overflow:auto;
						}
						
						.popUpContent .formTable{
							width:100%;
						}
							
							.popUpContent .formTable .name{
								width:30%;
							}
							
						
					
					.popUp .popUpBox .popUpButtons{
						overflow:auto;
						padding:20px;
					}
						
						.popUp .popUpBox .popUpButton{
							display:block;
							float:right;
							background:#e9e9e9;
							line-height:40px;
							height:40px;
							padding:0 20px;
							margin:0 0 0 10px;
							text-decoration:none;
							color:#333;
							font-size:17px;
							border-radius:5px;
						}
							
							.popUp .popUpBox .popUpButton:hover{
								background-color:#c8c8c8;
							}
							
							.popUp .popUpBox .green{
								background:#43b739;
								color:#fff;
							}
								
								.popUp .popUpBox .green:hover{
									background-color:#2ba421;
								}
								
							
							.popUp .popUpBox .red{
								background:#ed4300;
								color:#fff;
							}
								
								.popUp .popUpBox .red:hover{
									background-color:#c33700;
								}
								
							
						
					
				
			
			.contentPlace{
				visibility:hidden;
				opacity:0;
				overflow:auto;
			}
				
				.contentPlaceVisible{
					visibility:visible;
					opacity:1;
				}
				
				.contentBox{
					position:relative;
					margin:150px 20px 20px;
					width:calc(100% - 40px);
				}
					
					.contentBox .debug{
						background:#fff;
						overflow:auto;
						padding:10px;
						margin:15px 0 0;
					}
						
						.contentBox .debug span.title{
							position:absolute;
							display:block;
							padding:2px 5px;
							margin:-22px 0 0 10px;
							background:#fff;
							color:#999;
							border-radius:5px;
						}
						
						.contentBox .debug span.date{
							font-size:13px;
							color:#999;
						}
						
						.contentBox .debug .bug{
							overflow:auto;
							padding:5px 10px;
							margin:5px 0;
							background:#f9f9f9;
							border-radius:5px;
						}
							
							.contentBox .debug .bug pre{
								padding:5px 0 0;
								margin:0;
							}
							
						
						
					
					.contentBox .loadingPlace{
						overflow:auto;
						padding:30px 0;
					}
						
						.contentBox .loadingPlace .loadingBox{
							margin:0 auto;
							width:70px;
							height:70px;
						}
						
					
					.titleBox{
						height:70px;
						background:rgba(0,0,0,0.3);
						line-height:70px;
						color:rgba(255, 255, 255, 0.3);
						font-size:24px;
						padding:0 30px;
						margin-top:-70px;
						border-bottom:4px solid #00b24b;
					}
						
						.titleBox a{
							color:#fff;
							text-decoration:none;
						}
							
							.titleBox a:hover{
								text-decoration:underline;
							}
							
						
						.titleBox img{
							margin-right:10px;
							vertical-align:middle;
						}
						
					
				
				.moduleContent{
					min-height:200px;
					padding:20px;
					background:#fff;
				}
					
					.searchForm{
						display:block;
						overflow:none;
						margin:0 0 30px;
						padding:10px;
						background:#f4f4f4;
					}
						
						.searchForm .sbtn{
							position:absolute;
							margin:7px 0 0 -30px;
						}
						
						.searchForm .sbtn2{
							position:absolute;
							margin:0 0 0 6px;
							padding:6px 13px;
						}
						
						.searchForm .longText{
							width:98%;
							padding:5px 1%;
							margin:0;
							font-size:18px;
							border:none;
						}
						
						.searchForm .date{
							width:7%;
							padding:5px 10px;
							margin:0 0 0 6px;
							font-size:18px;
							border:none;
						}
						
						.searchForm .longText2{
							width:68%;
							padding:5px 1%;
							margin:0;
							font-size:18px;
							border:none;
						}
						
						.searchForm .groupSelector{
							width:10%;
							padding:4px 10px;
							margin:0 0 0 6px;
							font-size:18px;
							border:none;
						}
						
					
					.searchFilters{
						padding:10px 0 0;
						overflow:auto;
					}
						
						.searchFilter{
							width:16%;
							overflow:auto;
							float:left;
						}
							
							.searchFilter p{
								font-size:13px;
								padding:0 3px;
								margin:0 0 3px;
							}
							
							.searchFilter select{
								width:95%;
								font-size:14px;
								padding:3px 5px;
								border:1px solid #ccc;
							}
							
						
						
					
					
					
					p.centerMessage{
						text-align:center;
					}
					
					p.onPage{
						text-align:right;
						padding:0 0 15px;
						cursor:default;
						color:#ccc;
					}
						
						p.onPage .addButton{
							display:block;
							float:left;
							text-decoration:none;
							padding:0 12px 0 5px;
							margin:-5px 0 0;
							background:#f8f8f8;
							color:#333;
							border-radius:3px;
							line-height:27px;
							height:27px;
						}
							
							p.onPage .addButton b{
								display:block;
								width:4px;
								height:12px;
								background:#00b24b;
								float:left;
								margin:8px 11px 6px 8px;
							}
								
								p.onPage .addButton i{
									position:absolute;
									display:block;
									width:12px;
									height:4px;
									background:#00b24b;
									margin:4px 0 0 -4px;
								}
								
							
							p.onPage .addButton:hover{
								background:#1a9ece;
								color:#fff;
							}
								
								p.onPage .addButton:hover i,
								p.onPage .addButton:hover b{
									background:#fff;
								}
								
							
						
						p.onPage span{
							color:#333;
							padding-right:10px;
						}
						
						p.onPage a{
							color:#00576a;
						}
						
						p.onPage a.on{
							text-decoration:none;
							color:#000;
							font-weight:bold;
						}
						
					
					.dataTable{
						width:100%;
						border-spacing: 1px;
					}
						
						.dataTable td{
							padding:5px 10px;
						}
						
						.dataTable thead td{
							background:#00b24b;
							color:#fff;
							font-size:16px;
							padding:7px 10px;
						}
							
							.dataTable thead td.asc{
								font-weight:bold;
							}
								
								.dataTable thead td.asc i{
									position:absolute;
									margin:7px 0 0 5px;
									width:0;
									height:0;
									border:5px solid transparent;
									border-top:5px solid #fff;
								}
								
							
							.dataTable thead td.desc{
								font-weight:bold;
							}
								
								.dataTable thead td.desc i{
									position:absolute;
									margin:2px 0 0 5px;
									width:0;
									height:0;
									border:5px solid transparent;
									border-bottom:5px solid #fff;
								}
								
							
							.dataTable thead td a{
								color:#fff;
								text-decoration:none;
							}
							
						
						.dataTable tbody td{
							padding:6px 10px;
							background:#f9f9f9;
							color:#000;
						}
							
							.dataTable tbody .opaque td{
								background-color:#f7f7f7;
								opacity:0.5;
							}
							
							.dataTable tbody a{
								color:#00576a;
							}
							
							.dataTable tbody tr:nth-child(even) td{
								background-color:#f4f4f4;
							}
							
							.dataTable tbody tr:hover td{
								background-color:#fff9e0;
							}
							
							.dataTable tbody .i{
								background-position:10px center;
								background-repeat:no-repeat;
								padding:6px 10px 6px 35px;
							}
							
						
						
						.dataTable tbody .buttons a{
							padding:0 10px;
						}
							
							.dataTable tbody .buttons a.green{
								color:#00b24b;
							}
							
							.dataTable tbody textarea{
								width:100%;
								height:40px;
								padding:4px;
								margin:0;
								border:1px solid #b7b7b7;
								overflow:auto;
								resize:vertical;
							}
							
						
						
						.dataTable .prevPic{
							display:block;
							float:left;
							width:16px;
							height:16px;
							background:url('../images/i.png');
							margin:0 4px 0 0;
						}
							
							.dataTable .prevPic img{
								position:absolute;
								z-index:4;
								background:#fff;
								border:3px solid #fff;
								margin:12px 0 0 10px;
								border-radius:5px;
								box-shadow:1px 1px 3px rgba(0,0,0,0.3);
								visibility:hidden;
								opacity:0;
							}
								
								.dataTable .prevPic:hover img{
									visibility:visible;
									opacity:1;
								}
								
							
						
						
						.dataTable input.decline,
						.dataTable input.approve{
							font-size:12px;
							background:#16a300;
							color:#FFF;
							text-decoration:none;
							padding:3px 5px;
							margin:0 3px;
							border:none;
							border-radius:5px;
							cursor:pointer;
						}
						
						.dataTable input.decline{
							background:#d10808;
						}
						
						
						.dataTable a.status{
							float:right;
						}
						
						.dataTable a.delete{
							display:block;
							float:right;
							width:40px;
							height:33px;
							background:url('../images/delete.png') center center no-repeat;
							margin:0 auto;
						}
						
						
						.dataTable tfoot td{
							text-align:center;
							padding:10px 15px;
							font-size:15px;
						}
							
							.dataTable tfoot td a{
								padding:0 3px;
							}
								
								.dataTable tfoot td a{
									color:#00576a;
								}
								
								.dataTable tfoot td a.on{
									font-weight:bold;
									text-decoration:none;
									color:#000;
								}
								
							
						
					
				
			
			
		
	
	a.status{
		display:block;
		float:left;
		height:20px;
		margin:0 20px;
		width:50px;
		padding:2px;
		background:#15b200;
		border-radius:20px;
		box-shadow:inset 1px 1px 3px rgba(0,0,0,0.1);
		text-decoration:none;
	}
		
		a.status i{
			display:block;
			position:absolute;
			z-index:3;
			width:20px;
			height:20px;
			border-radius:20px;
			background:#fff;
			margin-left:30px;
		}
		
		a.status b.on{
			display:block;
			position:absolute;
			z-index:2;
			color:#fff;
			line-height:20px;
			margin:1px 0 0 8px;
			text-transform:uppercase;
			font-weight:normal;
			font-size:12px;
			visibility:visible;
			opacity:1;
		}
		
		a.status b.off{
			display:block;
			position:absolute;
			z-index:2;
			color:#999;
			line-height:20px;
			margin:1px 0 0 24px;
			text-transform:uppercase;
			font-weight:normal;
			font-size:12px;
			visibility:hidden;
			opacity:0;
		}
		
		a.status_disabled{
			background:#dfdfdf;
		}
			
			a.status_disabled i{
				margin-left:0;
			}
			
			a.status_disabled b.on{
				visibility:hidden;
				opacity:0;
			}
			
			a.status_disabled b.off{
				visibility:visible;
				opacity:1;
			}
			
		
		a.status b.off{
			
		}
		
		a.status input.chkbox{
			display:none;
		}
		
	
	
	p.lists{
		text-align:center;
		padding:15px 0 15px;
		font-size:15px;
	}
		p.lists a{
			padding:0 3px;
		}
			
			p.lists a{
				color:#00576a;
			}
			
			p.lists a.on{
				font-weight:bold;
				text-decoration:none;
				color:#000;
			}
			
		
	
	
	
	
	.objectsContainer{
		overflow:auto;
		padding:20px 0 0;
	}
		
		.objectsContainer .object{
			float:left;
			width:18%;
			margin:0 1% 30px;
			overflow:auto;
		}
			
			.objectsContainer .object a{
				display:block;
				text-decoration:none;
				color:#333;
				font-size:17px;
			}
			
			.objectsContainer .object u{
				float:right;
				text-decoration:none;
				font-size:15px;
				color:#999;
			}
			
			.objectsContainer .object p{
				font-size:15px;
				color:#666;
			}
				
				.objectsContainer .object p.b{
					padding:3px 0 0;
				}
				
			
			.objectsContainer .object .image{
				overflow:auto;
				min-height:200px;
				background:#f9f9f9 url('../images/no_image.png') center center no-repeat;
				cursor:pointer;
			}
			
			.objectsContainer .object .reservations{
				overflow:auto;
				cursor:default;
			}
				
				.objectsContainer .object .reservations .calendar{
					position:absolute;
					visibility:hidden;
					background:rgba(255,255,255,0.9);
					color:#333;
				}
				
				.objectsContainer .object .reservations span{
					display:block;
					float:left;
					width:20%;
					height:20px;
					background:#f9f9f9;
					color:#999;
					text-align:center;
				}
					
					.objectsContainer .object .reservations span:hover .calendar{
						visibility:visible;
					}
					
					.objectsContainer .object .reservations span.free{
						background:#e9f8df;
					}
					
					.objectsContainer .object .reservations span.reserved{
						background:#dfeff8;
					}
					
					.objectsContainer .object .reservations span.in_use{
						background:#f8e5df;
					}
					
				
			
		
		td.in_use{
			background:#f8e5df !important;
		}
		
		td.reserved{
			background:#dfeff8 !important;
		}
		
	
	.productDetails .longInput{
		display:block;
		overflow:none;
		margin:15px 0 5px;
		padding:10px;
		background:#f4f4f4;
	}
		
		.productDetails .longInput input{
			width:calc(100% - 20px);
			padding:5px 10px;
			margin:0;
			font-size:18px;
			border:none;
		}
		
	
	.fieldInputs{
		overflow:auto;
		padding:0;
		margin:0 0 20px;
	}
		
		.fieldInputs p.fieldName{
			font-size:14px;
			margin-bottom:5px;
		}
		
		
		.fieldInputs p.title{
			border-bottom:1px solid #f4f4f4;
			font-size:22px;
			padding:20px 20px 10px;
		}
		
		.fieldInputs div{
			width:calc(20% - 25px);
			margin:0 5px 5px 0;
			padding:10px 10px;
			background:#f4f4f4;
			float:left;
		}
		
		/*
		.productDetails .fieldInputs div:last-of-type{
			margin:0;
			width:calc(20% - 20px);
		}
		*/
		
		.fieldInputs .txt{
			width:94%;
			padding:5px 3%;
			margin:0;
			font-size:18px;
			border:none;
		}
		
		.fieldInputs .cb{
			
		}
		
		.saveBox{
			text-align:right;
		}
			
			.fieldInputs .button,
			.saveBox .button{
				height:35px;
				padding:0 15px;
				color:#fff;
				background:#00b24b;
				border:none;
				text-align:center;
				font-size:18px;
				border-radius:2px;
				cursor:pointer;
			}
			
		
	
	.reservationForm{
		overflow:auto;
	}
		
		.reservationForm p.title{
			margin:0;
			padding:0 0 0 20px;
			font-size:18px;
			font-weight:bold;
		}
		
	
	.reservations{
		overflow:auto;
		margin:0 0 40px;
	}
		
		.reservations p.title{
			border-bottom:1px solid #f4f4f4;
			font-size:22px;
			padding:20px 20px 10px;
		}
		
		.reservationsTable{
			width:100%;
		}
		
		.reservationsTable thead td{
			background:#00b24b;
			background:#666;
			color:#fff;
			font-size:16px;
			padding:7px 10px;
		}
		
		.reservationsTable tbody td{
			padding:6px 10px;
			background:#f9f9f9;
			color:#000;
		}
			
			.reservationsTable tbody a{
				color:#00576a;
			}
			
			.reservationsTable tbody tr:nth-child(even) td{
				background-color:#f4f4f4;
			}
			
			.reservationsTable tbody tr:hover td{
				background-color:#fff9e0;
			}
			
			.reservationsTable tbody .i{
				background-position:10px center;
				background-repeat:no-repeat;
				padding:6px 10px 6px 35px;
			}
			
		
	
	.paramsTable{
		width:100%;
		border-collapse:separate;
		margin:20px 0;
	}
		
		.paramsTable .fName{
			width:150px;
			background:#f1f1f1;
			padding:4px 5px;
		}
		
		.paramsTable .fValue{
			background:#f9f9f9;
			padding:4px 5px;
			width:20%;
		}
		
	
	
	
	.productDetails .groups{
		width:calc(18% - 25px);
		height:150px;
		overflow:auto;
		float:right;
	}
	
	.productDetails .params{
		width:calc(22% - 25px);
		height:150px;
		float:right;
	}
	
	.productImages,
	.productFiles,
	.productVideos,
	.productDetails .images{
		overflow:auto;
		padding:10px;
		margin:10px 0 10px;
		border-radius:5px;
		border:1px dotted #f4f4f4;
	}
		
		.productImages .image,
		.productFiles .file,
		.productVideos .video,
		.productDetails .images .image{
			width:170px;
			height:150px;
			float:left;
			margin:0 10px 10px 0;
			background:#f9f9f9 url('../images/no_image.png') center center no-repeat;
		}
			
			.productImages .image .delete,
			.productFiles .file .delete,
			.productVideos .video .delete,
			.productDetails .images .image .delete{
				position:absolute;
				margin:0 0 0 132px;
				display:block;
				float:right;
				width:38px;
				height:38px;
				background:url('../images/delete.png') center center no-repeat;
				opacity:0;
				visibility:hidden;
			}
			
			.productImages .image:hover .delete,
			.productFiles .file:hover .delete,
			.productVideos .video:hover .delete,
			.productDetails .images .image:hover .delete{
				opacity:1;
				visibility:visible;
			}
			
			.productImages .image span,
			.productFiles .file span,
			.productVideos .video span,
			.productDetails .image span{
				position:absolute;
				border-radius:7px;
				display:block;
				width:150px;
				min-height:15px;
				padding:1px;
				border:1px solid #999;
				line-height:0;
				cursor:default;
				margin:65px 0 0 8px;
				background:#fff;
			}
				
				.productImages .image span.image_name,
				.productFiles .file span.file_name,
				.productVideos .video span.video_name,
				.productDetails .image span.image_name{
					display:block;
					background:none;
					border:none;
					margin-top:30px;
					cursor:pointer;
					text-align:center;
					padding:100px 0 0px;
					line-height:10px;
					overflow:hidden;
					color:#fff;
					font-size:11px;
					text-shadow:2px 0 1px rgba(0,0,0,0.4),
								-2px 0 1px rgba(0,0,0,0.4),
								0 2px 1px rgba(0,0,0,0.4),
								0 -2px 1px rgba(0,0,0,0.4),
								1px 1px 1px rgba(0,0,0,0.4),
								-1px -1px 1px rgba(0,0,0,0.4),
								1px -1px 1px rgba(0,0,0,0.4),
								-1px 1px 1px rgba(0,0,0,0.4);
					
				}
				
				.productImages .image span.image_number,
				.productFiles .file span.file_number,
				.productVideos .video span.video_number,
				.productDetails .image span.image_number{
					display:block;
					background:none;
					border:none;
					position:absolute;
					font-size:25px;
					font-weight:bold;
					margin:20px 0 0 10px;
					color:rgba(255,255,255, 0.8);
					text-align:left;
				}
				
				.productImages .image span.image_colors{
					position:absolute;
					display:block;
					line-height:16px;
					background:none;
					border:none;
					margin:160px 0 0 0;
					width:170px;
				}
					
					.productImages .image span.image_colors s{
						display:block;
						float:left;
						width:26px;
						height:20px;
						margin:0 0 0 2px;
					}
						
						.productImages .image span.image_colors s:first-child{
							margin-left:1px;
						}
						
					
				
				.productImages .image span.image_labels{
					position:absolute;
					display:block;
					line-height:16px;
					background:none;
					border:none;
					margin:190px 0 0 0;
					width:170px;
				}
					
					.productImages .image span.image_labels s{
						display:block;
						text-decoration:none;
						white-space:nowrap;
						overflow:hidden;
						text-overflow:ellipsis;
					}
						
						.productImages .image span.image_labels s:hover{
							background:#fff;
						}
						
					
					.productImages .image span.image_labels sup{
						position:inline;
						display:block;
						float:right;
						line-height:16px;
						margin:0;
						padding:0;
					}
					
				
				.productImages .image b,
				.productFiles .file b,
				.productVideos .video b,
				.productDetails .image b{
					display:block;
					height:15px;
					background:#00b24b;
					border-radius:5px;
					padding:0;
					margin:0;
				}
				
				.productImages .image u,
				.productFiles .file u,
				.productVideos .video u,
				.productDetails .image u{
					display:block;
					width:150px;
					position:absolute;
					color:#333;
					text-decoration:none;
					text-align:center;
					font-size:13px;
					line-height:15px;
				}
				
				.productImages .image i,
				.productFiles .file i,
				.productVideos .video i,
				.productDetails .image i{
					display:block;
					width:150px;
					position:absolute;
					color:#333;
					text-decoration:none;
					font-size:13px;
					line-height:15px;
					margin:-18px 0 0;
				}
				
			
		
		.productImages .add,
		.productFiles .add,
		.productVideos .add,
		.productDetails .images .add{
			width:150px;
			height:150px;
			float:left;
			margin:0 10px 10px 0;
			line-height:150px;
			text-align:center;
		}
			
			.productImages .add .fileSelector,
			.productFiles .add .fileSelector,
			.productVideos .add .videoSelector,
			.productDetails .images .add .fileSelector{
				position:absolute;
				display:block;
				z-index:2;
				width:42px;
				height:42px;
				border:0;
				padding:0;
				margin:0;
				background:#ccc;
				cursor:pointer;
				opacity:0;
			}
			
			.productImages .addButton,
			.productFiles .addButton,
			.productVideos .addButton,
			.productDetails .images .addButton{
				display:block;
				position:absolute;
				background:#dcf5cb;
				width:42px;
				height:42px;
				margin:54px 0 0 25px;
				border-radius:40px;
			}
				
				.productImages .addButton b,
				.productFiles .addButton b,
				.productVideos .addButton b,
				.productDetails .images .addButton b{
					display:block;
					position:absolute;
					width:6px;
					height:24px;
					background:#fff;
					position:absolute;
					margin:9px 0 0 18px;
				}
					
					.productImages .addButton i,
					.productFiles .addButton i,
					.productVideos .addButton i,
					.productDetails .images .addButton i{
						position:absolute;
						display:block;
						width:24px;
						height:6px;
						background:#fff;
						margin:9px 0 0 -9px;
					}
					
				
				.productImages .addButton:hover,
				.productFiles .addButton:hover,
				.productVideos .addButton:hover,
				.productDetails .images .addButton:hover{
					background:#00b24b;
				}
				
			
		
	

	.productImages .image{
		margin-right:0;
	}
		
		.productImages .imagePlace{
			float:left;
			width:20px;
			height:150px;
			padding:0;
			margin:0;
			background:rgba(255,255,255,0);
		}
			
			.productImages .imagePlaceWide{
				width:170px;
				padding:0 20px;
				background:#dcf5cb;
			}
			
		

	.productFiles .file{
		margin-right:0;
	}
		
		.productFiles .filePlace{
			float:left;
			width:20px;
			height:150px;
			padding:0;
			margin:0;
			background:rgba(255,255,255,0);
		}
			
			.productFiles .filePlaceWide{
				width:170px;
				padding:0 20px;
				background:#dcf5cb;
			}
			
		
	
	.productVideos .video{
		margin-right:0;
		background:url('/admin/templates/default/images/play_video.png') center center no-repeat;
	}
		
		.productVideos .videoPlace{
			float:left;
			width:20px;
			height:150px;
			padding:0;
			margin:0;
			background:rgba(255,255,255,0);
		}
			
			.productVideos .videoPlaceWide{
				width:170px;
				padding:0 20px;
				background:#dcf5cb;
			}
			
		
	
	
	.boxButtons{
		width:100%;
		overflow:auto;
		margin:20px 0 0;
	}
		
		.boxButtons .boxButton,
		.boxButtons .boxButtonOn{
			float:left;
			height:40px;
			line-height:40px;
			background:#f9f9f9;
			color:#999;
			padding:0 20px;
			margin-right:2px;
			cursor:pointer;
		}
		
		.boxButtons .boxButtonOn{
			background:#f2f2f2;
			color:#333;
		}
		
	
	
	.boxDatas{
		width:100%;
		overflow:auto;
		margin:0 0 30px;
	}
		
		.boxDatas a{
			color:#2a82a0;
		}
		
		.boxDatas .boxData,
		.boxDatas .boxDataOn{
			padding:20px;
			background:#f2f2f2;
			overflow:auto;
		}
			
			.boxDatas .boxData{
				float:left;
				width:calc(100% - 40px);
			}
			
		
		.boxData input.txt,
		.boxData select.sel{
			font-size:14px;
			padding:3px 5px;
			border:1px solid #ccc;
		}
		
		.boxData .checkBox{
			float:left;
		}
		
		.boxData .calendarsFieldset{
			margin:20px 0 20px;
			border:1px solid #d3d3d3;
			background:#f9f9f9;
		}
		
		.boxData .fieldset1{
			float:left;
			width:calc(100% - 40px);
			border:1px solid #d3d3d3;
			border:1px solid #f7f7f7;
			border-radius:8px;
			background:#f7f7f7;
			margin:0 5px 20px;
			overflow:auto;
		}
			
			.boxData .fieldset1 .checkBox{
				width:50%;
			}
			
		
		.boxData .fieldset23{
			float:left;
			width:65%;
			border:1px solid #d3d3d3;
			border:1px solid #f7f7f7;
			border-radius:8px;
			background:#f7f7f7;
			margin:0 0 20px;
			overflow:auto;
		}
			
			.boxData .fieldset23 .checkBox{
				width:25%;
			}
			
		
		.boxData .fieldset3{
			float:left;
			width:calc(33% - 30px);
			border:1px solid #d3d3d3;
			border:1px solid #f7f7f7;
			border-radius:8px;
			background:#f7f7f7;
			padding:10px;
			margin:0 5px 20px;
			overflow:auto;
		}
			
			.boxData .fieldset3 .checkBox{
				width:50%;
			}
			
			.boxData .calendarsFieldset legend,
			.boxData .fieldset1 legend,
			.boxData .fieldset3 legend{
				font-size:14px;
				background:#fff;
				padding:0 5px;
				border-radius:4px;
				color:#898989;
			}
			
			.boxData .paramBox{
				float:left;
				width:50%;
				min-height:50px;
			}
				
				.boxData .paramBox input{
					width:calc(100% - 20px);
				}
				
				.boxData .paramBox p{
					font-size:14px;
					padding:0 0 2px;
				}
				
			
			.boxData .paramBox3{
				float:left;
				width:33%;
				height:50px;
			}
				
				.boxData .paramBox3 input{
					width:calc(100% - 20px);
				}
				
				.boxData .paramBox3 p{
					font-size:14px;
					padding:0 0 2px;
				}
				
			
			.boxData .paramBox4{
				float:left;
				width:25%;
				height:50px;
			}
				
				.boxData .paramBox4 input{
					width:calc(100% - 20px);
				}
				
				.boxData .paramBox4 p{
					font-size:14px;
					padding:0 0 2px;
				}
				
			
			.boxData .paramBox5{
				float:left;
				width:20%;
				height:50px;
			}
				
				.boxData .paramBox5 input{
					width:calc(100% - 20px);
				}
				
				.boxData .paramBox5 p{
					font-size:14px;
					padding:0 0 2px;
				}
				
			
			.boxData .paramBox6{
				float:left;
				width:calc(17% - 5px);
				height:50px;
			}
				
				.boxData .paramBox6 input{
					width:calc(100% - 20px);
				}
				
				.boxData .paramBox6 p{
					font-size:14px;
					padding:0 0 2px;
				}
				
			
			
		
		.boxData .searchForm{
			background:#f9f9f9;
		}
		
	
	.servicesList{
		width:100%;
		border-collapse:collapse;
	}
		
		.servicesList .serviceTitles td{
			font-weight:bold;
		}
		
		.servicesList td{
			padding:7px;
		}
			
			.servicesList tr:nth-child(even) td{
				background-color:#f9f9f9;
			}
			
		
		.servicesList select{
			width:100%;
		}
		
	
	
	
	.calendars{
		overflow:auto;
		padding:0 0 20px;
	}
		
		.calendars .calendarsBack,
		.calendars .calendarsForward{
			width:40px;
			height:250px;
			float:left;
		}
			
			.calendars .calendarsBack a,
			.calendars .calendarsForward a{
				position:absolute;
				margin:110px 0 0 -5px;
				display:block;
				float:left;
				width:0;
				height:0;
				border:15px solid transparent;
				border-right:15px solid #ccc;
				cursor:pointer;
			}
				
				.calendars .calendarsBack a:hover{
					border-right:15px solid #a0a0a0;
				}
				
			
			
			.calendars .calendarsForward a{
				margin:110px 0 0 15px;
				border:15px solid transparent;
				border-left:15px solid #ccc;
			}
				
				.calendars .calendarsForward u:hover{
					border-left:15px solid #a0a0a0;
				}
				
			
		
	
	.calendar{
		float:left;
		margin:0 1% 0;
		width:calc((100% - 60px) / 7);
		cursor:default;
	}
		
		.calendar td,
		.calendar td{
			width:14.28%;
			height:30px;
			text-align:center;
			padding:0;
			margin:0;
		}
		
		.calendar .title td{
			font-weight:bold;
		}
		
		.calendar .monthNames td{
			padding:0;
			font-size:12px;
		}
		
		.calendar td.day{
			background:#f9f9f9;
			cursor:pointer;
		}
			
			.calendar td.day:hover{
				background:#00b24b;
				color:#fff;
			}
			
		
		.calendar td.today{
			background:#666;
			color:#fff;
			cursor:pointer;
		}
			
			.calendar td.today:hover{
				background:#00b24b;
			}
			
		
		
		.calendar td.old{
			background:#fff;
			color:#f1f1f1;
		}
		
		td.in_use,
		td.reserved{
			color:#999;
		}
		
	
	
	.datePickerCalendar{
		cursor:default;
		position:absolute;
		z-index:5;
		background:#fff;
		min-width:220px;
		box-shadow:1px 1px 3px rgba(0,0,0,0.3);
	}
		
		.datePickerCalendar td,
		.datePickerCalendar td{
			width:14.28%;
			height:30px;
			text-align:center;
			padding:0;
			margin:0;
		}
		
		.datePickerCalendar .title td{
			font-weight:bold;
		}
		
		.datePickerCalendar .monthNames td{
			padding:0;
			font-size:12px;
		}
		
		.datePickerCalendar td.day{
			background:#f9f9f9;
			cursor:pointer;
		}
			
			.datePickerCalendar td.day:hover{
				background:#00b24b;
				color:#fff;
			}
			
		
		.datePickerCalendar td.today{
			background:#666;
			color:#fff;
			cursor:pointer;
		}
			
			.datePickerCalendar td.today:hover{
				background:#00b24b;
			}
			
		
		.datePickerCalendar td.old{
			background:#fff;
			color:#f1f1f1;
		}
		
	
	
	
	
	
	
[draggable] {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  /* Required to make elements draggable in old WebKit */
  -khtml-user-drag: element;
  -webkit-user-drag: element;
}
	
	.groupsStructure{
		padding:0;
	}
		
		.groupsStructure .dropPlace,
		.groupsStructure .dropPlace *{
			-webkit-transition: all 0.2s ease-in-out;
			-moz-transition: all 0.2s ease-in-out;
			-o-transition: all 0.2s ease-in-out;
			-ms-transition: all 0.2s ease-in-out;
			transition: all 0.2s ease-in-out;
		}
		
		.groupsStructure .dropPlace{
			margin-top:-10px;
			/*
			background:rgba(0,0,0,0.1);
			*/
		}	
			
			.groupsStructure .dropPlace .dropZone{
				position:relative;
				padding:0;
				height:12px;
				z-index:5;
			}	
				
				.groupsStructure .dropPlace .dropArea{
					margin-top:0;
					height:0;
					background:transparent;
					border:1px dashed transparent;
					z-index:1;
				}
				
			
			.groupsStructure .showDropZone{
				
			}
				
				.groupsStructure .showDropZone .dropZone{
					height:50px;
				}
				
				.groupsStructure .showDropZone .dropArea{
					border:1px dashed #C9C9C9;
					background:#fff;
					height:30px;
					margin-top:-40px;
				}
				
			
		
		.groupsStructure .users_in_group{
			float:right;
			width:20%;
			height:38px;
			line-height:38px;
			display:block;
			background:transparent;
		}
			
			.groupsStructure .users_in_group small{
				color:#666666;
			}
			
			.groupsStructure .users_in_group span{
				display:none;
			}
				
				.groupsStructure .users_in_group:hover span{
					display:block;
					position:absolute;
					padding:10px;
					margin:30px 0 0 -100px;
					width:200px;
					background:#ffffff;
					line-height:1.1;
					z-index:10;
					box-shadow:2px 2px 10px rgba(0,0,0,0.3);
					border-radius:10px;
				}
				
				.groupsStructure .users_in_group a{
					line-height:1.1;
					font-size:14px;
				}
					
					.groupsStructure .users_in_group a:hover{
						color:#000000;
					}
					
				
			
		
		.groupsStructure .group{
			height:40px;
			line-height:40px;
			cursor:move;
			background:#fafafa;
			font-size:16px;
		}
			
			.groupsStructure .opaque{
				background:#f7f7f7;
				opacity:0.5;
			}
			
			.groupsStructure .subGroups{
				padding-left:50px;
			}
			
			.groupsStructure .group:nth-child(4n){
				background:#f7f7f7;
			}
			
			.groupsStructure .group:hover{
				background:#fff7e6;
			}
				
				.groupsStructure .group a.name{
					display:block;
					float:left;
					padding:0 0 0 40px;
					color:#333;
					background:url('../images/page.png') 10px center no-repeat;
				}
					
					.groupsStructure .subGroups .group a.name{
						background:url('../images/subpage.png') 10px center no-repeat;
					}
					
				
				.groupsStructure .group a.delete{
					display:block;
					float:right;
					width:38px;
					height:38px;
					background:url('../images/delete.png') center center no-repeat;
				}
				
				.groupsStructure .group a.status{
					float:right;
					height:20px;
					margin:9px 10px 0 0;
					width:50px;
					padding:2px;
					background:#00d55a;
					border-radius:20px;
					box-shadow:inset 1px 1px 3px rgba(0,0,0,0.1);
					text-decoration:none;
				}
					
					.groupsStructure .group a.status i{
						display:block;
						position:absolute;
						z-index:3;
						width:20px;
						height:20px;
						border-radius:20px;
						background:#fff;
						margin-left:30px;
					}
					
					.groupsStructure .group a.status b.on{
						display:block;
						position:absolute;
						z-index:2;
						color:#fff;
						line-height:20px;
						margin:1px 0 0 8px;
						text-transform:uppercase;
						font-weight:normal;
						font-size:12px;
						visibility:visible;
						opacity:1;
					}
					
					.groupsStructure .group a.status b.off{
						display:block;
						position:absolute;
						z-index:2;
						color:#999;
						line-height:20px;
						margin:1px 0 0 24px;
						text-transform:uppercase;
						font-weight:normal;
						font-size:12px;
						visibility:hidden;
						opacity:0;
					}
					
					
					.groupsStructure .group a.disabled{
						background:#dfdfdf;
					}
						
						.groupsStructure .group a.disabled i{
							margin-left:0;
						}
						
						.groupsStructure .page a.disabled b.on{
							visibility:hidden;
							opacity:0;
						}
						
						.groupsStructure .group a.disabled b.off{
							visibility:visible;
							opacity:1;
						}
						
					
				
			
		
	
	.msgsBox{
		
	}
		
		.msgBox{
			background:#f9f9f9;
			padding:10px;
			margin-bottom:2px;
		}
			
			.msgBox:hover{
				background:#f4f4f4;
			}
			
			.msgBox .msgAnswer{
				
			}
			
			.msgBox .msgAuthor{
				font-weight:bold;
			}
			
			.msgBox .msgDate{
				font-size:12px;
				margin:0 0 5px;
			}
			
			.msgBox .msgText{
				margin:0 0 5px;
				font-size:16px;
			}
				
				.msgBox .msgFiles{
					overflow:auto;
					
				}
					
					.msgBox .msgFile{
						float:left;
						width:150px;
						height:115px;
						margin:0 10px 10px 0;
						background:#f9f9f9 url('../icons/default.gif') center 35px no-repeat;
						cursor:pointer;
					}
						
						.msgBox .msgFile .file_name{
							margin:0;
							padding:70px 0 0;
							position:absolute;
							display:block;
							width:150px;
							overflow:hidden;
							text-align:center;
							font-size:12px;
							line-height:1;
							background:none;
							border:none;
							cursor:pointer;
						}
						
					
				
			
			.answerBox{
				background:#f4f4f4;
				padding:5px;
				overflow:auto;
			}
				
				.answerBox textarea{
					width:calc(100% - 14px);
					padding:7px;
					margin:0 0 10px;
					resize:none;
					border:none;
				}
				
				.answerBox .btn{
					margin:0;
					float:right;
				}
				
				.answerFiles{
					overflow:auto;
					padding:0;
					margin:0;
					min-height:28px;
				}
					
					.answerFilesBox{
						overflow:auto;
						padding:0;
						margin:0 10px 0 0;
						min-height:28px;
						float:left;
					}
						
						.answerFilesBox .answerFile{
							float:left;
							margin:0 10px 10px 0;
							width:80px;
							height:80px;
							background:#f9f9f9 url('../icons/default.gif') center 20px no-repeat;
						}
							
							.answerFilesBox .answerFile .delete{
								display:block;
								position:absolute;
								width:38px;
								height:28px;
								margin:0 0 0 48px;
								background:url('../images/delete.png') center center no-repeat;
								opacity:0;
								visibility:hidden;
							}
								
								.answerFilesBox .answerFile:hover .delete{
									opacity:1;
									visibility:visible;
								}
								
							
							.answerFilesBox .answerFile .file_name{
								margin:0;
								padding:60px 0 0;
								position:absolute;
								display:block;
								width:80px;
								overflow:hidden;
								text-align:center;
								font-size:12px;
								line-height:1;
								background:none;
								border:none;
								cursor:pointer;
							}
							
							
							.answerFilesBox .answerFile .answerFileLoadingBar{
								display:block;
								position:absolute;
								width:60px;
								min-height:15px;
								padding:1px;
								line-height:0;
								cursor:default;
								margin:55px 0 0 8px;
								background:#fff;
								border:1px solid #999;
								border-radius:7px;
							}
							
							.answerFilesBox .answerFile span.image_name{
								display:block;
								background:none;
								border:none;
								height:100px;
								margin-top:30px;
								cursor:pointer;
							}
							
							.answerFilesBox .answerFile b{
								display:block;
								height:15px;
								background:#00b24b;
								border-radius:5px;
								padding:0;
								margin:0;
							}
							
							.answerFilesBox .answerFile u{
								display:block;
								width:60px;
								position:absolute;
								color:#333;
								text-decoration:none;
								text-align:center;
								font-size:10px;
								line-height:15px;
							}
							
							.answerFilesBox .answerFile i{
								display:block;
								width:60px;
								position:absolute;
								color:#333;
								text-decoration:none;
								font-size:10px;
								line-height:15px;
								margin:-18px 0 0;
							}
							
						
					
				
				
				
				.answerFiles .addFileButton{
					float:left;
					display:block;
					background:#333333;
					width:28px;
					height:28px;
					border-radius:40px;
					cursor:pointer;
				}
					
					.answerFiles .addFileButton:hover{
						background:#00b24b;
					}
					
					.answerFiles .addFileButton b{
						display:block;
						position:absolute;
						width:6px;
						height:18px;
						background:#fff;
						position:absolute;
						margin:5px 0 0 11px;
					}
					
					.answerFiles .addFileButton i{
						position:absolute;
						display:block;
						width:18px;
						height:6px;
						background:#fff;
						margin:6px 0 0 -6px;
					}
					
					.answerFiles .fileSelector{
						position:absolute;
						width:28px;
						height:28px;
						padding:0;
						margin:0;
						background:#ccc;
						z-index:2;
						cursor:pointer;
						opacity:0;
					}
					
				
			
			
			
		
	
	/*

						.dataTable tbody td{
							padding:6px 10px;
							
							color:#000;
						}
							
							.dataTable tbody .opaque td{
								background-color:#f7f7f7;
								opacity:0.5;
							}
							
							.dataTable tbody a{
								color:#00576a;
							}
							
							.dataTable tbody tr:nth-child(even) td{
								background-color:#f4f4f4;
							}
							
							.dataTable tbody tr:hover td{
								
							}
	*/
	
	.ticketRights{
		
	}
		
		.ticketRights{
			list-style-type: none;
		}
		
		.ticketRights li{
			padding:4px 10px;
			background-color:#f9f9f9;
			margin-bottom:1px;
			overflow:auto;
		}
			
			.ticketRights li:nth-child(even){
				background-color:#f4f4f4;
			}
			
			.ticketRights li:hover{
				background-color:#fff9e0;
			}
			
		
		.ticketRights li.title{
			background:#00b24b;
			color:#fff;
			font-size:16px;
			padding:7px 10px;
		}
		
		.ticketRights li.gName{
			font-size:16px;
		}
			
			.ticketRights li.gName input{
				margin-right:5px;
			}
			
		
		.ticketRights li span{
			display:block;
			float:right;
			width:200px;
		}
		
		.ticketRights .gUser{
			font-size:16px;
		}
			
			.ticketRights .gUser u.ico{
				display:block;
				float:left;
				background:#333;
				width:10px;
				height:6px;
				border-radius:10px 10px 0 0;
				margin:9px 10px 0 0;
			}
			
			.ticketRights .gUser u.ico i{
				display:block;
				width:6px;
				height:6px;
				background:#333;
				position:absolute;
				margin:-6px 0 0 2px;
				border-radius:8px;
			}
			
		
	
	.paramReference{
		float:right;
		overflow:auto;
		margin:0;
		padding:0;
	}
		
		.paramReference p{
			font-size:12px;
			color:#999;
			margin:0;
			padding:0;
		}
		
		.paramReference input{
			padding:1px 6px;
			
			border:1px solid #999;
			color:#898989;
			margin:0;
		}
		
		
	
	
	.productStatsPlace{
		overflow:auto;
	}
		
		.productStatsGraphPlace{
			background:#f5f5f5;
			padding:10px;
			margin:10px 0 0;
			overflow:auto;
		}
			
			.productStatsGraphPlace h3{
				margin:0 0 15px;
			}
			
		
		.productStatsGraph{
			overflow:auto;
		}
		
		.productStatsGraphDay{
			width:15px;
			float:left;
			background:#29bbff;
		}
			
			.productStatsGraphDaySpan{
				background:#f0f0f0;
				width:15px;
			}
			
			.productStatsGraphDay:hover{
				background:#f79143;
			}
				
				.productStatsGraphDay:hover .productStatsGraphDaySpan{
					background:#f5f5f5;
				}
				
			
			.productStatsGraphDayValue{
				width:15px;
				font-size:9px;
				text-align:center;
				position:absolute;
				margin-top:-14px;
				letter-spacing:0;
			}
			
		
		
	
	
	.groupWhDisplay{
		
		
		
	}
		
		.groupWhDisplayTitle{
			background:#f9f9f9;
			padding:5px 5px 5px 20px;
			margin:0 0 5px;
			font-weight:bold;
		}
			
			.groupWhDisplayTitle:hover{
				background:#cce3e8;
			}
			
			.groupWhDisplayTitle input.txt{
				float:right;
				width:35px;
				text-align:center;
				line-height:19px;
				padding:0;
			}
			
			.groupWhDisplayTitle u{
				position:absolute;
				display:block;
				width:0;
				height:0;
				margin:7px 0 0 -12px;
				border:5px solid transparent;
				border-left:5px solid #333;
			}
			
			.groupWhDisplayTitle i{
				float:right;
				border:none;
				display:block;
				line-height:21px;
				font-size:13px;
				font-weight:normal;
				margin:0;
				padding:0 5px 0 0;
				font-style:normal;
			}
			
			.groupWhDisplayTitle a{
				display:block;
				line-height:20px;
			}
			
			.groupWhDisplay .whInputDiv{
				display:block;
				float:right;
				overflow:auto;
				text-align:center;
				font-weight:normal;
				font-size:11px;
				line-height:24px;
				margin-left:5px;
				padding-left:5px;
			}
			
			.groupWhDisplayProducts{
				display:none;
			}
				
				.groupWhDisplayProducts .groupWhDisplayProductsLoading{
					padding:5px 10px;
				}
				
				.groupWhDisplayOn .groupWhDisplayProducts{
					display:block;
				}
					
					.groupWhDisplayOn u{
						margin:9px 0 0 -14px;
						border:5px solid transparent;
						border-top:5px solid #333;
					}
					
				
			
			
		
		.groupWhDisplayProduct{
			overflow:auto;
			padding:0 5px;
			margin-left:100px;
			margin:0 24px 2px 50px;
			background:#fafafa;
			line-height:24px;
		}
			
			.groupWhDisplayProduct:hover{
				background:#cce3e8;
			}
			
			.groupWhDisplayProduct i{
				float:right;
				border:none;
				display:block;
				line-height:24px;
				font-size:11px;
				margin:0;
				padding:0 5px 0 0;
				font-style:normal;
			}
			
			.groupWhDisplayProduct input.txt{
				float:right;
				width:40px;
				text-align:center;
				padding:0;
				margin:1px 0;
				line-height:19px;
			}
			
		
	
	.variantRow{
		padding:3px;
		overflow:auto;
	}
		
		.variantRow .vRemove{
			float:right;
			width:30px;
		}
			
			.variantRow .vRemove a{
				display:block;
				float:right;
				width:25px;
				height:25px;
				background:url('../images/delete.png') center center no-repeat;
				background-size:50%;
				margin:0 auto;
			}
			
		
		.variantRow .vArrows{
			float:right;
			width:40px;
			padding-right:10px;
		}
			
			.variantRow .vArrows a{
				display:block;
				float:left;
				border:10px solid transparent;
				margin-top:7px;
			}
			
			.variantRow .vArrows .upArr{
				border-top:none;
				border-bottom:10px solid #0487b3;
			}
				
				.variantRow .vArrows .upArr:hover{
					border-bottom:10px solid #21c400;
				}
				
			
			.variantRow .vArrows .dwnArr{
				border-top:10px solid #0487b3;
				border-bottom:none;
			}
				
				.variantRow .vArrows .dwnArr:hover{
					border-top:10px solid #21c400;
				}
				
			
		
		.variantRow .vInput{
			float:left;
			width:calc(100% - 100px);
		}
			
			.variantRow .vInput input{
				width:calc(100% - 20px);
			}
		
		
	
	
	
	.batchDataTable{
		width:100%;
	}
		
		.batchDataTable .titlesRow{
			
		}
			
			.batchDataTable .titlesRow select{
				font-size:12px;
				width:95%;
			}
			
		
		.batchDataTable .dataRow{
			font-size:12px;
			background:#f7f7f7;
			line-height:1;
		}
			
			.batchDataTable .dataRow:nth-child(even){
				background:#f4f4f4;
			}
			
			.batchDataTable .dataRow td{
				padding:3px;
			}
			
		
	
	
	
	.modifiedDetails{
		max-height:400px;
		overflow:auto;
	}
		
		.modifiedDetailsTable{
			width:100%;
			border-collapse:separate;
		}
			
			.modifiedDetailsTable td{
				padding:2px 4px;
			}
			
			.modifiedDetailsTable tr:first-child{
				font-weight:bold;
				background:#ccc;
			}
			
			.modifiedDetailsTable tr{
				background:#f1f1f1;
			}
			
			.modifiedDetailsTable tr:nth-child(even){
				background:#f9f9f9;
			}
			
			
		
		
	
	
	
	
	

	*{
		-webkit-transition: all 0.6s ease-in-out;
		-moz-transition: all 0.6s ease-in-out;
		-o-transition: all 0.6s ease-in-out;
		-ms-transition: all 0.6s ease-in-out;
		transition: all 0.6s ease-in-out;
	}
	
	.moduleContent,
	.moduleContentVisible{
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		-o-transition: all 0.4s ease-in-out;
		-ms-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}
	
	.popUp,
	.popUp *,
	p.onPage .addButton,
	p.onPage .addButton *,
	.contentBox .productDetails,
	.contentBox .productDetails *,
	a.status *,
	.mainMenu *{
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		-ms-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}
	
	.productDetails .calendar,
	.productDetails .calendar *,
	.popUpContent *,
	.contentBox *{
		-webkit-transition: none;
		-moz-transition: none;
		-o-transition: none;
		-ms-transition: none;
		transition: none;
	}
	
	textarea{
		-webkit-transition: none !important;
		-moz-transition: none !important;
		-o-transition: none !important;
		-ms-transition: none !important;
		transition: none !important;
	}
	
	.skc {
	  width: 70px;
	  height: 70px;
	  position: relative;
	}
	
	.skc .skch {
	  width: 100%;
	  height: 100%;
	  position: absolute;
	  left: 0;
	  top: 0;
	}
	
	.skc .skch:before {
	  content: '';
	  display: block;
	  margin: 0 auto;
	  width: 15%;
	  height: 15%;
	  background-color: #fff;
	  border-radius: 100%;
	  -webkit-animation: skcBounceDelay 1.2s infinite ease-in-out both;
			  animation: skcBounceDelay 1.2s infinite ease-in-out both;
	}
		
		.contentBox .skc .skch:before {
			background-color: #666;
		}
		
	
	.skc .skc2 {
	  -webkit-transform: rotate(30deg);
		  -ms-transform: rotate(30deg);
			  transform: rotate(30deg); }
	.skc .skc3 {
	  -webkit-transform: rotate(60deg);
		  -ms-transform: rotate(60deg);
			  transform: rotate(60deg); }
	.skc .skc4 {
	  -webkit-transform: rotate(90deg);
		  -ms-transform: rotate(90deg);
			  transform: rotate(90deg); }
	.skc .skc5 {
	  -webkit-transform: rotate(120deg);
		  -ms-transform: rotate(120deg);
			  transform: rotate(120deg); }
	.skc .skc6 {
	  -webkit-transform: rotate(150deg);
		  -ms-transform: rotate(150deg);
			  transform: rotate(150deg); }
	.skc .skc7 {
	  -webkit-transform: rotate(180deg);
		  -ms-transform: rotate(180deg);
			  transform: rotate(180deg); }
	.skc .skc8 {
	  -webkit-transform: rotate(210deg);
		  -ms-transform: rotate(210deg);
			  transform: rotate(210deg); }
	.skc .skc9 {
	  -webkit-transform: rotate(240deg);
		  -ms-transform: rotate(240deg);
			  transform: rotate(240deg); }
	.skc .skc10 {
	  -webkit-transform: rotate(270deg);
		  -ms-transform: rotate(270deg);
			  transform: rotate(270deg); }
	.skc .skc11 {
	  -webkit-transform: rotate(300deg);
		  -ms-transform: rotate(300deg);
			  transform: rotate(300deg); }
	.skc .skc12 {
	  -webkit-transform: rotate(330deg);
		  -ms-transform: rotate(330deg);
			  transform: rotate(330deg); }
	.skc .skc2:before {
	  -webkit-animation-delay: -1.1s;
			  animation-delay: -1.1s; }
	.skc .skc3:before {
	  -webkit-animation-delay: -1s;
			  animation-delay: -1s; }
	.skc .skc4:before {
	  -webkit-animation-delay: -0.9s;
			  animation-delay: -0.9s; }
	.skc .skc5:before {
	  -webkit-animation-delay: -0.8s;
			  animation-delay: -0.8s; }
	.skc .skc6:before {
	  -webkit-animation-delay: -0.7s;
			  animation-delay: -0.7s; }
	.skc .skc7:before {
	  -webkit-animation-delay: -0.6s;
			  animation-delay: -0.6s; }
	.skc .skc8:before {
	  -webkit-animation-delay: -0.5s;
			  animation-delay: -0.5s; }
	.skc .skc9:before {
	  -webkit-animation-delay: -0.4s;
			  animation-delay: -0.4s; }
	.skc .skc10:before {
	  -webkit-animation-delay: -0.3s;
			  animation-delay: -0.3s; }
	.skc .skc11:before {
	  -webkit-animation-delay: -0.2s;
			  animation-delay: -0.2s; }
	.skc .skc12:before {
	  -webkit-animation-delay: -0.1s;
			  animation-delay: -0.1s; }

	@-webkit-keyframes skcBounceDelay {
	  0%, 80%, 100% {
		-webkit-transform: scale(0);
				transform: scale(0);
	  } 40% {
		-webkit-transform: scale(1);
				transform: scale(1);
	  }
	}

	@keyframes skcBounceDelay {
	  0%, 80%, 100% {
		-webkit-transform: scale(0);
				transform: scale(0);
	  } 40% {
		-webkit-transform: scale(1);
				transform: scale(1);
	  }
	}
		
	
/* ====================================================
   Charlot Tasks — в стиле системы
   ==================================================== */

/* ── Верхняя панель: вкладки ─────────────────────── */
.tasksBar {
    overflow: auto;
    margin: 0 0 15px;
}
.tasksTabs {
    float: left;
    overflow: auto;
}
.taskTab {
    display: block;
    float: left;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    background: #f4f4f4;
    color: #999;
    text-decoration: none;
    font-size: 15px;
    margin-right: 2px;
    border-radius: 3px 3px 0 0;
}
.taskTab:hover {
    background: #eaeaea;
    color: #555;
}
.taskTab.active {
    background: #008f9f;
    color: #fff;
}
.taskChips {
    float: right;
    overflow: auto;
    line-height: 35px;
}
.chip {
    display: block;
    float: left;
    padding: 0 12px;
    height: 25px;
    line-height: 25px;
    margin: 5px 0 0 4px;
    background: #f4f4f4;
    color: #999;
    text-decoration: none;
    font-size: 13px;
    border-radius: 12px;
}
.chip:hover {
    background: #e0e0e0;
    color: #555;
}
.chipOn {
    background: #555;
    color: #fff;
}

/* ── Поле ввода ─────────────────────────────────── */
.taskInputWrap {
    background: #f4f4f4;
    padding: 10px;
    margin-bottom: 15px;
    overflow: auto;
}
.taskTa {
    width: 98%;
    padding: 5px 1%;
    font-size: 15px;
    font-family: inherit;
    border: none;
    background: #fff;
    color: #333;
    resize: none;
    outline: none;
    min-height: 36px;
    line-height: 1.4;
}
.taskTa::placeholder {
    color: #bbb;
}
.taskTagBar {
    overflow: auto;
    min-height: 4px;
    margin: 6px 0 4px;
}
.taskTag {
    display: block;
    float: left;
    margin: 2px 4px 2px 0;
    padding: 2px 8px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 12px;
    background: #fff;
    color: #555;
}
.tagX {
    cursor: pointer;
    opacity: .5;
    margin-left: 4px;
}
.tagX:hover {
    opacity: 1;
}
.taskQuick {
    overflow: auto;
    margin: 6px 0 4px;
}
.qBtn {
    display: block;
    float: left;
    padding: 2px 10px;
    margin: 0 4px 0 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    color: #555;
}
.qBtn:hover {
    background: #f0f0f0;
}
.taskSend {
    display: block;
    float: left;
    margin-top: 8px;
    padding: 0 18px;
    height: 32px;
    line-height: 32px;
    background: #00b24b;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}
.taskSend:hover {
    background: #009940;
}

/* ── Dropdown ───────────────────────────────────── */
.taskDd {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 8px rgba(0,0,0,.15);
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
    min-width: 200px;
}
.ddItem {
    padding: 7px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.ddItem:hover,
.ddItem.ddOn {
    background: #e8f5e9;
    color: #000;
}

/* ── Список тасков ──────────────────────────────── */
.tasksList {
    margin: 0;
}
.tasksSpinner {
    text-align: center;
    padding: 40px;
    color: #aaa;
    font-size: 14px;
}
.tasksEmpty {
    text-align: center;
    padding: 40px;
    color: #bbb;
    font-size: 15px;
}

/* ── Карточка таска ─────────────────────────────── */
.taskCard {
    overflow: auto;
    background: #f9f9f9;
    padding: 7px 10px;
    margin-bottom: 1px;
    border-left: 3px solid transparent;
}
.taskCard:hover {
    background: #fff9e0;
}
.tDone {
    opacity: .5;
    background: #f7f7f7;
}
.tOver {
    border-left-color: #e53935;
}
.tHigh {
    border-left-color: #e08800;
}
.tUrgent {
    border-left-color: #c0392b;
    background: #fef9f9;
}

/* Чекбокс */
.taskChk {
    display: block;
    float: left;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    margin: 2px 10px 0 0;
    position: relative;
}
.taskChk:hover {
    border-color: #008f9f;
}
.chkOn {
    background: #00b24b;
    border-color: #00b24b;
}
.chkOn::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 1px;
}

/* Тело карточки */
.taskBody {
    overflow: auto;
}
.taskTxt {
    font-size: 15px;
    color: #222;
    line-height: 1.4;
    word-break: break-word;
    padding: 1px 0;
}
.tDone .taskTxt {
    text-decoration: line-through;
    color: #aaa;
}

/* Мета-строка */
.taskMeta {
    overflow: auto;
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}
.taskMeta > * {
    float: left;
    margin-right: 10px;
}
.tPrio {
    font-weight: bold;
    font-size: 13px;
}
.tDl {
    color: #2e7d32;
}
.tDlOver {
    color: #e53935 !important;
    font-weight: 600;
}
.tClient a {
    color: #00576a;
    text-decoration: none;
}
.tClient a:hover {
    text-decoration: underline;
}
.tSrc {
    font-style: italic;
    color: #bbb;
}
.tBy {
    color: #ccc;
}

/* Completions */
.tComps {
    margin-top: 5px;
    overflow: auto;
}
.tComp {
    overflow: auto;
    font-size: 12px;
    background: #f0f8f0;
    padding: 3px 7px;
    margin-bottom: 1px;
    border-radius: 2px;
}
.tCU {
    float: left;
    color: #2e7d32;
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap;
}
.tCC {
    float: left;
    color: #555;
}
.tCT {
    float: right;
    color: #bbb;
    white-space: nowrap;
}

/* Кнопка удалить */
.tDel {
    display: block;
    float: right;
    width: 32px;
    height: 32px;
    background: url('../images/delete.png') center center no-repeat;
    opacity: 0;
    border: none;
    cursor: pointer;
    font-size: 0;
    margin-left: 8px;
}
.taskCard:hover .tDel {
    opacity: .3;
}
.tDel:hover {
    opacity: 1 !important;
}

/* Пагинация */
.tasksPager {
    text-align: center;
    padding: 14px 0;
    font-size: 14px;
}
.tasksPager a {
    padding: 0 5px;
    color: #00576a;
}
.pgOn {
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

/* ── Отчёт ──────────────────────────────────────── */
.rPeriod {
    overflow: auto;
    padding: 10px;
    background: #f4f4f4;
    margin-bottom: 15px;
    font-size: 14px;
}
.rPeriod input {
    padding: 4px 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin: 0 6px;
    font-family: inherit;
}
.rPeriod .taskSend {
    margin: 0;
    float: none;
    display: inline-block;
}
.rSum {
    overflow: auto;
    margin-bottom: 15px;
}
.rSum span {
    display: block;
    float: left;
    padding: 6px 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-right: 8px;
    font-size: 14px;
    border-radius: 2px;
}
.rOver {
    color: #e53935;
}
.rTitle {
    font-size: 16px;
    color: #333;
    margin: 16px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f0f0f0;
}
/* ═══════════════════════════════════════════════════════════
   KANBAN BOARD + CALENDAR  — добавить в конец css.css
   Путь: admin/templates/default/css/css.css
   ═══════════════════════════════════════════════════════════ */

/* ── Kanban: доска ─────────────────────────────────────── */
.kanbanBoard {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0 16px;
    align-items: flex-start;
    min-height: 400px;
}
.kanbanCol {
    flex: 0 0 220px;
    background: #f7f8fa;
    border-radius: 8px;
    border-top: 3px solid #ccc;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 220px);
}
.kanbanHdr {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #555;
}
.kanbanDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.kanbanHdrLabel { flex: 1; }
.kanbanCount {
    background: rgba(0,0,0,.08);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 600;
}
.kanbanList {
    flex: 1;
    overflow-y: auto;
    padding: 4px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 60px;
}
.kanbanLoading {
    color: #aaa;
    font-size: 12px;
    padding: 8px;
    text-align: center;
}

/* ── Kanban: карточка ──────────────────────────────────── */
.kCard {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.10);
    padding: 8px 10px;
    position: relative;
    cursor: grab;
    transition: box-shadow .15s, opacity .15s;
    border-left: 3px solid transparent;
}
.kCard:hover { box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.kCard.kDragging { opacity: .45; cursor: grabbing; }
.kCard.kDone { opacity: .6; }
.kCard.kOver { border-left-color: #e53935; }

.kPrioBar {
    height: 3px;
    border-radius: 2px;
    margin: -8px -10px 8px;
}
.kTxt {
    font-size: 13px;
    line-height: 1.4;
    color: #222;
    word-break: break-word;
    margin-bottom: 6px;
}
.kMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}
.kDl     { color: #2e7d32; }
.kDlOver { color: #c62828; font-weight: bold; }
.kClient { color: #e65100; }
.kBy     { color: #999; font-style: italic; }

.kComps { display: flex; gap: 3px; margin-bottom: 4px; }
.kAv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1565c0;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.kActs { display: flex; gap: 4px; justify-content: flex-end; }
.kChk {
    background: none;
    border: 1.5px solid #bbb;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.kChk:hover          { border-color: #43a047; color: #43a047; }
.kChk.kChkOn         { background: #43a047; border-color: #43a047; color: #fff; }
.kDel {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
}
.kDel:hover { color: #e53935; }

.kPlaceholder {
    height: 60px;
    border: 2px dashed #bbb;
    border-radius: 6px;
    background: #f0f4ff;
    flex-shrink: 0;
}

/* ── Calendar ──────────────────────────────────────────── */
.calNav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.calNavBtn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 14px;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    transition: background .1s;
}
.calNavBtn:hover {
    background: #f0f4ff;
    border-color: #1565c0;
    color: #1565c0;
}
.calTitle {
    font-size: 16px;
    font-weight: 700;
    min-width: 170px;
    text-align: center;
    color: #333;
}
.calGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.calDow {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    padding: 4px 0;
    font-weight: 700;
    text-transform: uppercase;
}
.calCell {
    min-height: 90px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    transition: background .1s;
}
.calCell:hover        { background: #f8f9ff; }
.calCell.calEmpty     { background: transparent; border-color: transparent; }
.calCell.calToday     { background: #e8f4fd; border-color: #1565c0; }
.calDayNum {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 3px;
    font-weight: 600;
}
.calToday .calDayNum  { color: #1565c0; }

.calTask {
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-bottom: 2px;
    background: #e3f2fd;
    border-left: 3px solid #1565c0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    transition: opacity .1s;
}
.calTask:hover               { opacity: .8; }
.calTask.calTaskDone         { background: #f1f8e9; border-color: #43a047; color: #999; text-decoration: line-through; }
.calTask.calTaskHigh         { background: #fff8e6; border-color: #e08800; }
.calTask.calTaskUrgent       { background: #fdecea; border-color: #c0392b; font-weight: bold; }

/* ═══════════════════════════════════════════════════════════
   TASK DETAIL PANEL + NOTES
   ═══════════════════════════════════════════════════════════ */

/* Оверлей */
.taskPanelOverlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1000;
    backdrop-filter: blur(2px);
    overflow: hidden;
}
.taskPanelOverlay.tpOpen { display: flex; justify-content: flex-end; }

/* Сама панель */
.taskPanel {
    height: 100%;
    width: 440px;
    max-width: 100vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: tpSlideIn .2s ease;
    flex-shrink: 0;
}
@keyframes tpSlideIn {
    from { transform: translateX(40px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* Шапка */
.tpHdr {
    display: flex;
    align-items: center;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
    flex-shrink: 0;
}
.tpPrio { font-size: 12px; font-weight: 700; flex: 1; }
.tpClose {
    background: none; border: none; font-size: 22px; color: #aaa;
    cursor: pointer; padding: 0 4px; line-height: 1;
    transition: color .1s;
}
.tpClose:hover { color: #333; }

/* Заголовок задачи */
.tpTitle {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 12px 16px 8px;
    line-height: 1.4;
    flex-shrink: 0;
}

/* Мета строка */
.tpMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
    flex-shrink: 0;
}
.tpMetaItem {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 3px 9px;
}
.tpStatus {
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid;
    border-radius: 12px;
    padding: 2px 9px;
}

/* Секция смены статуса */
.tpStatusWrap {
    padding: 4px 16px 12px;
    flex-shrink: 0;
}
.tpSectionLabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #aaa;
    margin-bottom: 7px;
}
.tpStatusBtns {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tpStBtn {
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
    color: #555;
}
.tpStBtn:hover    { border-color: #1565c0; color: #1565c0; }
.tpStBtnOn        { font-weight: 700; }

/* Разделитель */
.tpDivider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
    flex-shrink: 0;
}

/* Секция заметок */
.tpNotes {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 12px 16px 0;
}
.tpNotesList {
    flex: 1;
    overflow-y: auto;
    overflow-x: visible;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 28px 0 2px;
    margin-bottom: 12px;
}
.tpNotesEmpty {
    color: #bbb;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}

/* Одна заметка */
.tpNote {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 10px;
    border-left: 3px solid #ddd;
    position: relative;
}
.tpNote.tpNoteMine {
    background: #eef4ff;
    border-left-color: #1565c0;
}
.tpNoteHdr {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    overflow: visible;
}
.tpNoteName {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    flex: 1;
}
.tpNoteTime {
    font-size: 11px;
    color: #bbb;
}
.tpNoteDel {
    background: none; border: none; color: #bbb;
    cursor: pointer; font-size: 16px; padding: 0 4px; line-height: 1;
    transition: color .1s;
    flex-shrink: 0;
    margin-left: auto;
}
.tpNoteDel:hover { color: #e53935; }
.tpNoteTxt {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Форма добавления заметки */
.tpNoteForm {
    flex-shrink: 0;
    padding-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tpNoteTa {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
    transition: border-color .15s;
    box-sizing: border-box;
}
.tpNoteTa:focus {
    outline: none;
    border-color: #1565c0;
}
.tpNoteBtn {
    align-self: flex-end;
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.tpNoteBtn:hover    { background: #0d47a1; }
.tpNoteBtn:disabled { background: #90a4ae; cursor: default; }
.tpLoading { padding: 40px; text-align: center; color: #aaa; font-size: 14px; }

/* Календарь — drag & drop */
.calTask { cursor: pointer; }
.calTask.calDragging { opacity: .4; }
.calCell.calDropOver { background: #e3f2fd; border-color: #1565c0; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── Глобальный layout ──────────────────────────────────────── */

    /* Меню — уменьшаем высоту */
    .mainMenu {
        height: 50px !important;
    }
    .mainMenu .logout {
        line-height: 50px !important;
        margin: 0 12px 0 0 !important;
        font-size: 12px !important;
    }

    /* Пользователь — компактно */
    .mainMenu .user {
        width: auto !important;
        height: 50px !important;
        padding: 0 8px 0 52px !important;
        background-size: 22px !important;
        background-position: 14px center !important;
    }
    .mainMenu .user strong {
        font-size: 14px !important;
        margin: 10px 0 0 !important;
    }
    .mainMenu .user small {
        font-size: 11px !important;
    }

    /* Модули навигации — горизонтальный скролл */
    .mainMenu .modules {
        height: 50px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        max-width: calc(100vw - 160px) !important;
    }
    .mainMenu .module {
        float: none !important;
        display: inline-block !important;
    }
    .mainMenu .module a.m {
        line-height: 50px !important;
        height: 50px !important;
        font-size: 14px !important;
        padding: 0 14px !important;
    }

    /* Подменю — на мобильном открывается вниз */
    .mainMenu .module .subModules {
        margin: 65px 0 0 !important;
        min-width: 180px !important;
    }
    .mainMenu .module:hover .subModules {
        margin: 50px 0 0 !important;
    }

    /* Контент — убираем большой отступ сверху */
    .contentBox {
        margin: 60px 8px 12px !important;
        width: calc(100% - 16px) !important;
    }

    /* Заголовок страницы */
    .titleBox {
        height: 50px !important;
        line-height: 50px !important;
        font-size: 18px !important;
        padding: 0 14px !important;
        margin-top: -50px !important;
    }

    /* Контент модуля */
    .moduleContent {
        padding: 10px !important;
    }

    /* ── Фильтр-вкладки (Kanban / Nimekiri / Kalender) ─────────── */
    .filterBar {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        padding-bottom: 4px !important;
        margin-bottom: 8px !important;
    }
    .filterBar a, .filterBar button {
        display: inline-block !important;
        float: none !important;
    }

    /* ── Input добавления задачи ────────────────────────────────── */
    .taskInputWrap {
        padding: 10px 8px 8px !important;
    }
    .taskTa {
        font-size: 15px !important;
        min-height: 44px !important;
    }
    .taskTagBar {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    .taskQuick {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    .taskSend {
        width: 100% !important;
        padding: 11px !important;
        font-size: 15px !important;
        margin-top: 4px !important;
    }

    /* ── Kanban — горизонтальный скролл ────────────────────────── */
    .kanbanBoard {
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        padding: 4px 4px 14px !important;
    }
    .kanbanCol {
        min-width: 80vw !important;
        max-width: 84vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }
    .kCard {
        padding: 10px 10px 8px !important;
    }
    .kTxt {
        font-size: 14px !important;
    }
    .kChk, .kDel {
        width: 30px !important;
        height: 30px !important;
        font-size: 15px !important;
    }

    /* ── Календарь ──────────────────────────────────────────────── */
    .calGrid {
        gap: 1px !important;
    }
    .calCell {
        min-height: 56px !important;
        padding: 2px !important;
    }
    .calDayNum {
        font-size: 10px !important;
        margin-bottom: 1px !important;
    }
    .calDow {
        font-size: 10px !important;
        padding: 3px 0 !important;
    }
    .calTask {
        font-size: 9px !important;
        padding: 1px 3px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .calNav {
        padding: 4px 0 10px !important;
    }
    .calTitle {
        font-size: 16px !important;
    }
    .calNavBtn {
        padding: 4px 14px !important;
        font-size: 18px !important;
    }

    /* ── Панель деталей задачи — на весь экран ──────────────────── */
    .taskPanelOverlay.tpOpen {
        display: block !important;
    }
    .taskPanel {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        right: 0 !important; bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }
    .tpHead {
        padding: 10px 14px !important;
    }
    .tpTitle {
        font-size: 16px !important;
    }
    .tpMeta {
        padding: 0 14px 8px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .tpSection {
        padding: 8px 14px 0 !important;
    }
    .tpStatusBtns {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    .tpStBtn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    .tpNoteForm {
        padding: 8px 14px 10px !important;
    }
    .tpNoteTa {
        font-size: 14px !important;
    }
    .tpNoteBtn {
        padding: 10px !important;
        font-size: 14px !important;
        width: 100% !important;
    }

    /* ── Автодополнение ─────────────────────────────────────────── */
    #taskDd {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        min-width: unset !important;
    }

    /* ── Список задач (Nimekiri) ────────────────────────────────── */
    .taskRow {
        flex-wrap: wrap !important;
        padding: 8px !important;
    }
    .taskRowText {
        flex: 1 1 100% !important;
        margin-bottom: 4px !important;
    }

    /* ── PopUp ──────────────────────────────────────────────────── */
    .popUp {
        left: 50% !important;
        width: 94vw !important;
        margin-left: -47vw !important;
    }
    .popUpBox {
        padding: 14px !important;
    }
}

/* ── Совсем маленькие (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
    .kanbanCol   { min-width: 88vw !important; }
    .calCell     { min-height: 46px !important; }
    .calTask     { font-size: 8px !important; }
    .contentBox  { margin: 56px 4px 8px !important; width: calc(100% - 8px) !important; }
    .mainMenu .modules { max-width: calc(100vw - 130px) !important; }
}
