/* @import url("/bitrix/js/grain.menu/icons/css/grain-menu.css"); causes error with bitrix css auto-merge */

/* icons/css/grain-menu.css */

@font-face {
  font-family: 'grain-menu';
  src: url('/bitrix/js/grain.menu/icons/font/grain-menu.eot?68749024');
  src: url('/bitrix/js/grain.menu/icons/font/grain-menu.eot?68749024#iefix') format('embedded-opentype'),
       url('/bitrix/js/grain.menu/icons/font/grain-menu.woff2?68749024') format('woff2'),
       url('/bitrix/js/grain.menu/icons/font/grain-menu.woff?68749024') format('woff'),
       url('/bitrix/js/grain.menu/icons/font/grain-menu.ttf?68749024') format('truetype'),
       url('/bitrix/js/grain.menu/icons/font/grain-menu.svg?68749024#grain-menu') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'grain-menu';
    src: url('../font/grain-menu.svg?68749024#grain-menu') format('svg');
  }
}
*/
 
 [class^="grain-menu-icon-"]:before, [class*=" grain-menu-icon-"]:before {
  font-family: "grain-menu";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: inherit;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.grain-menu-icon-cancel-circled2:before { content: '\e800'; } /* '' */
.grain-menu-icon-pencil:before { content: '\e801'; } /* '' */
.grain-menu-icon-minus:before { content: '\e802'; } /* '' */
.grain-menu-icon-plus-circled:before { content: '\e803'; } /* '' */
.grain-menu-icon-plus:before { content: '\e804'; } /* '' */
.grain-menu-icon-minus-circled:before { content: '\e805'; } /* '' */
.grain-menu-icon-cancel:before { content: '\e806'; } /* '' */
.grain-menu-icon-cancel-circled:before { content: '\e807'; } /* '' */
.grain-menu-icon-folder-open:before { content: '\e808'; } /* '' */
.grain-menu-icon-folder:before { content: '\e809'; } /* '' */
.grain-menu-icon-info-circled:before { content: '\e80a'; } /* '' */
.grain-menu-icon-help-circled:before { content: '\e80b'; } /* '' */
.grain-menu-icon-edit:before { content: '\e80c'; } /* '' */
.grain-menu-icon-trash-empty:before { content: '\e80d'; } /* '' */
.grain-menu-icon-doc:before { content: '\e80e'; } /* '' */
.grain-menu-icon-resize-vertical:before { content: '\e80f'; } /* '' */
.grain-menu-icon-up-hand:before { content: '\e810'; } /* '' */
.grain-menu-icon-docs:before { content: '\f0c5'; } /* '' */
.grain-menu-icon-doc-text:before { content: '\f0f6'; } /* '' */
.grain-menu-icon-plus-squared:before { content: '\f0fe'; } /* '' */
.grain-menu-icon-folder-empty:before { content: '\f114'; } /* '' */
.grain-menu-icon-folder-open-empty:before { content: '\f115'; } /* '' */
.grain-menu-icon-help:before { content: '\f128'; } /* '' */
.grain-menu-icon-info:before { content: '\f129'; } /* '' */
.grain-menu-icon-minus-squared:before { content: '\f146'; } /* '' */
.grain-menu-icon-minus-squared-alt:before { content: '\f147'; } /* '' */
.grain-menu-icon-pencil-squared:before { content: '\f14b'; } /* '' */
.grain-menu-icon-doc-inv:before { content: '\f15b'; } /* '' */
.grain-menu-icon-doc-text-inv:before { content: '\f15c'; } /* '' */
.grain-menu-icon-plus-squared-alt:before { content: '\f196'; } /* '' */
.grain-menu-icon-trash:before { content: '\f1f8'; } /* '' */

/* / icons/css/grain-menu.css */

.grain-menu-head-path {
	color: #3a7f47 !important;
}
.grain-menu-head-icon {
	position: relative;
}
.grain-menu-head-icon::before {
	position: absolute;
	right: 11px;
	top: 50%;
	margin-top: -11px;
	font-size: 24px;
	line-height: 24px;
	color: #747b7e;
}

ul#grain_menu_tree {
	margin: -20px 0 0 0;
	padding: 0;
	}	
	
	ul#grain_menu_tree ul {
		margin: 0 0 0 20px;
		padding: 0;
	}
	
	ul#grain_menu_tree li {
		position: relative;
		list-style-type: none;
		user-select: none;
		-moz-user-select: -moz-none;	
		margin: 3px 0;
		padding: 0 0 4px 0;
	}

	ul#grain_menu_tree li:nth-child(2) {
		margin-top: 2px;
	}
		
	ul#grain_menu_tree > li {
		border-bottom: 2px solid transparent;
	}
	ul#grain_menu_tree > li:first-child {
		height: 10px;
		margin-top: 2px;
		padding: 0;
	}
	ul#grain_menu_tree > li li:first-child {
		height: 5px;
		margin-top: 2px;
		padding: 0;
	}
	
	ul#grain_menu_tree > li li {
		border-bottom: 2px solid transparent;
	}
	
	ul#grain_menu_tree .grain-menu-tree-item-wrapper {
		display: flex;
		align-items: center;
	}
	
	ul#grain_menu_tree .grain-menu-tree-item-wrapper .grain-menu-tree-item-name {
		flex-grow: 1;
		line-height: 1.25;
	}
	
	ul#grain_menu_tree .grain-menu-tree-item-wrapper .grain-menu-tree-item-buttons {
		text-align: right;
		flex: 0 0 95px;
	}
	
	ul#grain_menu_tree.grain-menu-tree-dragging [data-grain-menu-item-add],
	ul#grain_menu_tree.grain-menu-tree-dragging ~ .grain-menu-panel [data-grain-menu-trash] {
		color: green;
	}
	ul#grain_menu_tree.grain-menu-tree-dragging .grain-menu-tree-dragging-item [data-grain-menu-item-add] {
		color: #747b7e;
	}
	
	ul#grain_menu_tree li.grain-menu-tree-drag-marker {
		border-bottom: 2px solid black;
	}
	ul#grain_menu_tree li.grain-menu-tree-dragging-item-insert {
		background: #dee3e4;
	}

.grain-menu-panel {
	display: flex;
	margin-top: 17px;
	}
	.grain-menu-panel-left {
		margin-right: auto;
	}
	.grain-menu-panel-right {
		
	}

.grain-menu-btn {
	background: none;
	border: none;
	width: 18px;
	height: 18px;
	text-align: center;
	font-size: 18px;
	line-height: 18px;
	color: #747b7e;
	/* cursor: default; */
	overflow: visible;
	padding: 0;
	-webkit-appearance: button; /* for input */
	user-select: none;
	-moz-user-select: -moz-none;	
	-ms-user-select: none;
	-webkit-user-select: none;
	box-sizing: border-box;
	outline: none;
}

.grain-menu-btn-big {
	background: none;
	border: none;
	width: 29px;
	height: 29px;
	text-align: center;
	font-size: 29px;
	line-height: 29px;
	color: #747b7e;
	/* cursor: default; */
	overflow: visible;
	padding: 0;
	-webkit-appearance: button; /* for input */
	box-sizing: border-box;
	outline: none;
	user-select: none;
	-moz-user-select: -moz-none;	
	-ms-user-select: none;
	-webkit-user-select: none;
}

.grain-menu-btn-big-circled {
	background: none;
	border: 2px solid #747b7e !important;
	border-radius: 50%;
	width: 29px;
	height: 29px;
	text-align: center;
	font-size: 16px;
	line-height: 25px;
	color: #747b7e;
	/* cursor: default; */
	overflow: visible;
	padding: 0;
	-webkit-appearance: button; /* for input */
	-moz-user-select: -moz-none;	
	-ms-user-select: none;
	box-sizing: border-box;
	outline: none;
	user-select: none;
	-moz-user-select: -moz-none;	
	-ms-user-select: none;
	-webkit-user-select: none;
}
.grain-menu-btn-big-circled.grain-menu-icon-plus {
	font-size: 14px;
	line-height: 26px;
}
.grain-menu-btn::-moz-focus-inner,
.grain-menu-btn-big::-moz-focus-inner,
.grain-menu-btn-big-circled::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.grain-menu-btn:hover,
.grain-menu-btn-big:hover,
.grain-menu-btn-big-circled:hover {
	opacity: 0.85;
}

.grain-menu-btn.grain-menu-btn-active,
.grain-menu-btn-big.grain-menu-btn-active,
.grain-menu-btn-big-circled.grain-menu-btn-active {
	background: #dee3e4;
}

form.grain-menu-item-form {
	
	}
	form.grain-menu-item-form > label {
		padding-bottom: 10px;
		display: block;
	}
	form.grain-menu-item-form > label > div {
		font-weight: bold;
		padding-bottom: 3px;
	}
	form.grain-menu-item-form > label > input[type=text],
	form.grain-menu-item-form > label > input[type=email],
	form.grain-menu-item-form > label > input[type=password],
	form.grain-menu-item-form > label > select,
	form.grain-menu-item-form > label > textarea {
		width: 100%;
		box-sizing: border-box;
	}
	