/* ======================================================== Webforms ==============================================================*/
.webform { font: normal normal normal 12px/normal Verdana, sans-serif;}

.webform-corners-top, .webform-corners-bottom { height:4px; position:relative; overflow:hidden; }
.webform-left-corner, .webform-right-corner {width: 4px; height: 16px;  overflow: hidden; position: relative; }
.webform-right-corner {position: absolute;  top: -4px; right:0; }
.webform-corners-bottom .webform-left-corner, .webform-corners-bottom .webform-right-corner { margin-top: -8px; }
.webform-content { padding: 7px 20px 15px 16px; }

.webform-main-fields { background-color: #f4f0d2; margin: 0 0 3px 0;}
.webform-main-fields .webform-round-corners { background-color: #ebe6c2; }
.webform-main-fields .webform-left-corner, .webform-main-fields .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 0; }
.webform-main-fields .webform-content .webform-left-corner, .webform-main-fields .webform-content .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -17px; }
.webform-main-fields .webform-content .webform-content { padding: 5px 10px; border-right: 1px solid #e5e1c5;}
.webform-main-fields .webform-field-round-corners .webform-corners-bottom { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -161px; }

.webform-additional-fields { background-color: #eeeeee; }
.webform-additional-fields .webform-round-corners { background-color: #e5e5e5; }
.webform-additional-fields .webform-left-corner, .webform-additional-fields .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -34px; }
.webform-additional-fields .webform-content .webform-left-corner, .webform-additional-fields .webform-content .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -5px 0; }
.webform-additional-fields-content { margin: 15px 0 0 0;  }
.webform-additional-fields .webform-content .webform-content { padding: 7px 10px; border-right: 1px solid #dfdfdf; }
.webform-additional-fields .webform-field-round-corners .webform-corners-bottom { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -165px; }


.webform-main-block { background-color:#f8f6e4; }
.webform-main-block .webform-content { border-left:1px solid #e8e6d6; border-right:1px solid #e8e6d6; padding: 14px 20px 11px 15px; }
.webform-main-block .webform-corners-top { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -386px; }
.webform-main-block .webform-corners-bottom { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -383px; }
.webform-main-block .webform-left-corner, .webform-main-block .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -5px -17px; }
.webform-main-content { overflow:hidden;}
.webform-main-title { white-space: nowrap; float:left; margin-right:0.5em; color:#4c431f;}
.webform-main-text { overflow: hidden; color:#000;}
.webform-main-block-topless .webform-corners-top, .webform-main-block-bottomless .webform-corners-bottom { display:none;}
.webform-main-block-topless .webform-content { border-top:1px solid #e8e6d6; }
.webform-main-block-bottomless .webform-content { border-bottom:1px solid #e8e6d6; }

.webform-additional-block { background-color:#f3f3f3; }
.webform-additional-block .webform-content { border-left:1px solid #e1e1e1; border-right:1px solid #e1e1e1; padding: 11px 20px 7px 16px; }
.webform-additional-block .webform-corners-top { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -160px; }
.webform-additional-block .webform-corners-bottom { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -157px; }
.webform-additional-block .webform-left-corner, .webform-additional-block .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -5px -34px; }
.webform-additional-content { overflow:hidden;}
.webform-additional-title { white-space: nowrap; float:left; margin-right:0.5em; color:#4c431f;}
.webform-additional-text { overflow: hidden; color:#000;}
.webform-additional-block-topless .webform-corners-top, .webform-additional-block-bottomless .webform-corners-bottom { display:none;}
.webform-additional-block-topless .webform-content { border-top:1px solid #e1e1e1; }
.webform-additional-block-bottomless .webform-content { border-bottom:1px solid #e1e1e1; }

.webform-warning-block { background-color:#ffe168; }
.webform-warning-block .webform-content { border-left:1px solid #ebd165; border-right:1px solid #ebd165; padding: 11px 20px 11px 16px; }
.webform-warning-block .webform-corners-top { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -172px; }
.webform-warning-block .webform-corners-bottom { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -169px; }
.webform-warning-block .webform-left-corner, .webform-warning-block .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -10px -34px; }
.webform-warning-content { overflow:hidden;}
.webform-warning-title { white-space: nowrap; float:left; margin-right:0.5em; color:#4c431f;}
.webform-warning-text { overflow: hidden; color:#000;}
.webform-warning-block-topless .webform-corners-top, .webform-warning-block-bottomless .webform-corners-bottom { display:none;}
.webform-warning-block-topless .webform-content { border-top:1px solid #ebd165; }
.webform-warning-block-bottomless .webform-content { border-bottom:1px solid #ebd165; }


.webform-error-block { background-color:#ffebeb; margin-bottom:17px; }
.webform-error-block .webform-content { border-left:1px solid #ffa7a7; border-right:1px solid #ffa7a7; padding: 6px 18px 6px 10px; color:#d10000;}
.webform-error-block .webform-corners-top { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -152px; }
.webform-error-block .webform-corners-bottom { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -149px; }
.webform-error-block .webform-left-corner, .webform-error-block .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -15px -34px; }
.webform-error-block-topless .webform-corners-top, .webform-error-block-bottomless .webform-corners-bottom { display:none;}
.webform-error-block-topless .webform-content { border-top:1px solid #ffa7a7; }
.webform-error-block-bottomless .webform-content { border-bottom:1px solid #ffa7a7; }
.webform-error-list {padding:0.3em 0 0.3em 2em; margin:0;}
.webform-error-list li {margin:0; padding:0;}

.webform-additional-select-block { background-color:#fff !important; }
.webform-additional-select-block .webform-content { border-left:1px solid #dedede; border-right:1px solid #dedede; padding: 5px !important; }
.webform-additional-select-block .webform-corners-top { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -156px; }
.webform-additional-select-block .webform-corners-bottom { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -153px; }
.webform-additional-select-block .webform-left-corner, .webform-additional-select-block .webform-right-corner { background: scroll transparent url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -10px 0 !important; }
.webform-additional-select-block-topless .webform-corners-top, .webform-additional-select-block-bottomless .webform-corners-bottom { display:none;}
.webform-additional-select-block-topless .webform-content { border-top:1px solid #dedede; }
.webform-additional-select-block-bottomless .webform-content { border-bottom:1px solid #dedede; }

.webform-row { margin: 0 0 11px 0;}

/* Webforms controls */
.webform-field { margin: 0; color: #171717;}
.webform-field-label { margin: 0 0 2px 4px; color: #7a7869;}

.webform-field-textbox { border: none;  background-color:#fff;}
.webform-field-textbox-double { border: 1px solid #f9f7e8; background-color:#fff;}
.webform-field-textbox-inner { border: 1px solid #d9d9d9; padding:3px 6px 4px;}

span.webform-field-textbox, span.webform-field-textbox-double { display:inline-block; }
span.webform-field-textbox-inner { display: inline-block; }

.webform-field-textbox input, .webform-field-textbox-double input { font: normal normal normal 13px/normal Arial, Helvetica, sans-serif; border:0; padding:0; color: #000; background-color:#fff; margin:0; }
.webform-field-textbox input[type="text"], .webform-field-textbox-double input[type="text"]  { outline:none;}
.webform-field-textbox input.inactive, .webform-field-textbox-double input.inactive { color: #999; }
.webform-field-textbox-clearable { position: relative; }
.webform-field-textbox-clearable .webform-field-textbox-inner { padding-right: 20px; }
.webform-field-textbox-clear { width:20px; outline: none;  height:24px; display: block; position:absolute; right:0; top:0; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -17px 10px;  cursor:pointer;}
.webform-field-textbox-empty .webform-field-textbox-clear { display: none; cursor:default; }

.webform-field-combobox { border: 1px solid #f9f7e8;  background-color:#fff;  display:inline-block; white-space:nowrap;}
.webform-field-combobox-inner { border: 1px solid #d9d9d9; padding:5px 0 5px 8px; }
.webform-additional-fields .webform-field-combobox { border: 1px solid #f6f6f6;  }
.webform-field-combobox input { width:238px;  border:0; padding:0; color: #000;  background-color:#fff;  vertical-align: top;}
.webform-field-combobox input[type="text"] { outline:none;}
.webform-field-combobox-arrow { display:inline-block; width:25px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -15px -14px;  vertical-align: top; text-decoration: none !important; outline: none;}
.webform-field-combobox input, .webform-field-combobox-arrow { font: normal normal normal 15px/normal Arial, Helvetica, sans-serif; }
.webform-field-combobox-disabled .webform-field-combobox-arrow { display: none; }
.webform-field-combobox-disabled input { color: #999999;}

.webform-field-date { border: 1px solid #d9d9d9;  background-color:#fff; display:inline-block;  vertical-align: top; padding: 3px 6px 4px 6px;}
.webform-field-date input { width:140px;  border:0; padding:0; color: #191919;  background-color:#fff;  vertical-align: top; font: normal normal normal 13px/normal Arial, Helvetica, sans-serif;}
.webform-field-date input[type="text"] { outline:none;}


.webform-field-textarea { border: 1px solid #f9f7e8;  background-color:#fff;}
.webform-field-textarea-inner { border: 1px solid #d9d9d9; padding:8px;}
.webform-additional-fields .webform-field-textarea { border: 1px solid #f6f6f6;  }
.webform-field-textarea textarea { width:99%; height: 100px; font: normal normal normal 14px/normal Arial, Helvetica, sans-serif; border:0; padding:0; color: #000; outline:none; background-color:#fff; resize: none; }
.webform-field-textarea textarea.inactive { color: #999; }

.webform-field-checkbox-options .webform-field-checkbox-option { margin: 0; height:19px;}
.webform-field-checkbox-option input, .webform-field-checkbox-option label { vertical-align: middle; }
.webform-field-checkbox-option input { margin:0; padding: 0; width:14px;  }
.webform-field-checkbox-option label { margin: 0 0 0 5px; }
.webform-field-checkbox-option-disabled label { color: #A9A792; }

.webform-field-upload-list { margin:0 0 11px 2.8em; padding:0;}
.webform-field-upload-list a.upload-file-name { margin: 0 0 0 -4px; color: #0069c4; text-decoration: underline;}
.webform-field-upload-list a.upload-file-name:hover { color: #1c91e7; }
.webform-field-upload-list li { margin: 0 0 3px -5px; white-space: nowrap; color: #888;}
.webform-field-upload-list li.uploading { color: #bbbbbb; }
.webform-field-upload-list li.uploading a.upload-file-name { cursor: default; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }
.webform-field-upload-list a.delete-file { vertical-align:top; display: inline-block; width:15px; height: 16px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -280px; margin: 0 0 0 6px; outline: none;}
.webform-field-upload-list a.delete-file:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -17px -280px; }
.webform-field-upload-list i { vertical-align:top; display: none; width:15px; height: 15px; background: url(/bitrix/js/main/core/images/popup/upload-waiting.gif) no-repeat 0 2px; margin: 0 0 0 8px; }
.webform-field-upload-list li.uploading i {  display: inline-block; }

.webform-field-upload { overflow: hidden; width: 200px; height: 27px; }
.webform-field-upload:hover .webform-button-text { color: #000; cursor:pointer !important;}
.webform-field-upload input { margin-top: -50px; margin-left:-410px; -moz-opacity: 0; filter: alpha(opacity=0); opacity: 0; font-size: 150px; height: 100px; }

.webform-field-action-link,
.webform-field-action-link:link,
.webform-field-action-link:visited,
.webform-field-action-link:hover,
.webform-field-action-link:active { border-bottom: 1px dashed #938f79; text-decoration:none; color: #757361; outline:none; font-size: 13px; display: inline-block; cursor:pointer; }
.webform-field-action-link.selected { border: 0; color: #2f2e27 !important; padding-bottom: 1px; cursor:default;}
.webform-field-additional-link {  text-decoration:none; outline:none; cursor:pointer;}
.webform-field-additional-link i {background:url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -177px; width: 15px; height: 15px; display:inline-block; vertical-align:middle;}
.webform-field-additional-link.selected i {background:url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -193px; }
.webform-field-additional-link span { vertical-align:middle; border-bottom: 1px dashed #4d4d4d; color: #171717; margin:0 0 0 5px;  -moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; user-select: none;}

/* Webforms buttons */
.webform-buttons { margin: 15px 0 0 0; text-align: center; }
.webform-button, .webform-button-left, .webform-button-right, .webform-button-text {
	display: inline-block; vertical-align: top !important; height:35px; line-height:35px; cursor:pointer; text-decoration:none !important; outline:none;
}

.webform-button { margin: 0 10px 0 0; background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -1110px;}
.webform-button-left { width:4px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -1075px;}
.webform-button-text { font: normal normal normal 17px/33px Arial, Helvetica, sans-serif; padding:0 8px; color: #4f4f4f; }
.webform-button-right { width:6px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -1075px;}

.webform-button:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -1147px; }
.webform-button:hover .webform-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -20px -1075px; }
.webform-button:hover .webform-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -24px -1075px; }

.webform-button-accept, .webform-button-create { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -86px; }
.webform-button-accept .webform-button-left, .webform-button-create .webform-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -51px; }
.webform-button-accept .webform-button-text, .webform-button-create .webform-button-text { color: #fff; text-shadow: #20ad0f -1px -1px 0, #55c747 1px 1px 0; }
.webform-button-accept .webform-button-right, .webform-button-create .webform-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -51px; }
.webform-button-accept:hover, .webform-button-create:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -818px; }
.webform-button-accept:hover .webform-button-left, .webform-button-create:hover .webform-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -783px; }
.webform-button-accept:hover .webform-button-right, .webform-button-create:hover .webform-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -783px; }

.webform-button-decline { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -1218px; }
.webform-button-decline .webform-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -1183px; }
.webform-button-decline .webform-button-text { text-shadow: #e15252 -1px -1px 0; color: #fff;}
.webform-button-decline .webform-button-right {  background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -1183px; }
.webform-button-decline:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -890px; }
.webform-button-decline:hover .webform-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -855px; }
.webform-button-decline:hover .webform-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -855px; }

.webform-button-link { display: inline-block; margin: 8px 15px 0 0; text-decoration: underline !important; font: normal 15px Arial, Helvetica, sans-serif;}
.webform-button-link-cancel  { color: #d83e3e !important; }

.webform-small-button, .webform-small-button-left, .webform-small-button-icon, .webform-small-button-right, .webform-small-button-text {
	display: inline-block; vertical-align: middle; height:27px;
	cursor:pointer; text-decoration:none !important; outline:none;
}

.webform-small-button { margin: 0 12px 0 0; background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -551px;}
.webform-small-button-left { width:4px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -15px -493px; margin-right: 8px; }
.webform-small-button-text { font: normal normal normal 13px/24px Arial, Helvetica, sans-serif; color: #4f4f4f;}
.webform-small-button-right { width:6px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -22px -493px; margin-left: 8px;}

.webform-small-button:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -985px; }
.webform-small-button:hover .webform-small-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -15px -927px; }
.webform-small-button:hover .webform-small-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -22px -927px; }

.webform-small-button-accept { margin: 0 12px 0 0; background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -356px;}
.webform-small-button-accept .webform-small-button-left { width:4px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -328px; margin-right: 6px; }
.webform-small-button-accept .webform-small-button-text { font: normal normal normal 13px/24px Arial, Helvetica, sans-serif; color: #fff; text-shadow: #75ab6f -1px -1px 0/*, #72c868 1px 1px 0*/;}
.webform-small-button-accept .webform-small-button-right { width:6px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -6px -328px; margin-left: 6px;}

.webform-small-button-accept:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -1044px; }
.webform-small-button-accept:hover .webform-small-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -1016px; }
.webform-small-button-accept:hover .webform-small-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -6px -1016px; }

.webform-small-button-decline  { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -522px;  }
.webform-small-button-decline .webform-small-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -493px; }
.webform-small-button-decline .webform-small-button-text { text-shadow: #e15252 -1px -1px 0; color: #fff;}
.webform-small-button-decline .webform-small-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -6px -493px;}

.webform-small-button-decline:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -956px; }
.webform-small-button-decline:hover .webform-small-button-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -927px; }
.webform-small-button-decline:hover .webform-small-button-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -6px -927px; }

.webform-small-button-link { display: inline-block; vertical-align: middle; margin: 0 15px 0 0; text-decoration: underline !important;}

.webform-button-upload, .webform-button-upload .webform-button-left, .webform-button-upload .webform-button-right, .webform-button-upload .webform-button-text { display: inline-block; vertical-align: top; height:27px; line-height:27px; cursor:pointer;}
.webform-button-upload .webform-button-left { width:15px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -222px;}
.webform-button-upload .webform-button-text { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -251px; font: normal normal normal 14px/26px Arial, Helvetica, sans-serif; padding:0 8px; color: #5b5b5b; text-shadow: none;}
.webform-button-upload .webform-button-right { width:6px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat right -222px;}


/*===========================================Users popups======================================================================*/
.finder-box {
	padding: 2px 6px 6px 6px;
	background:#fff;
	font: normal normal normal 12px/normal Arial, Helvetica, sans-serif;
	overflow: hidden;
	width: 395px;
}
.finder-box-multiple {  width: 595px; }

.finder-box-layout { width: 100%; }
.finder-box-left-column {  vertical-align:top; padding: 0; }
.finder-box-multiple .finder-box-left-column { padding: 0 15px 0 0;}
.finder-box-right-column { vertical-align:top; width: 200px; background: #f5f5f5; border: 1px solid #e2e2e2; }
/*.finder-box-right-column { display: none; }
.finder-box-multiple .finder-box-right-column { display:table-cell;}*/


.finder-box-search { margin: 0 0 7px 0;}
.finder-box-search-textbox { width: 100%; border:1px solid; border-color: #b0b0b0 #e2e2e2 #e2e2e2 #b0b0b0; font-size:15px; }

.finder-box-tabs { margin: 0 0 7px 0; white-space: nowrap; }
.finder-box-tab, .finder-box-tab-left, .finder-box-tab-right, .finder-box-tab-text { display:inline-block; height:21px; vertical-align:top; cursor:pointer; }
.finder-box-tab-left, .finder-box-tab-right { width: 4px; }

.finder-box-tab { margin: 0 3px 0 0;}
.finder-box-tab-left {}
.finder-box-tab-right {}
.finder-box-tab-text { line-height: 21px; padding: 0 5px; font-weight:bold; color:#333; }

.finder-box-tab:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -621px; }
.finder-box-tab:hover .finder-box-tab-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -599px; }
.finder-box-tab:hover .finder-box-tab-right {background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -4px -599px; }

.finder-box .finder-box-tab-selected { background: url(/bitrix/js/main/core/images/controls-sprite.png) repeat-x 0 -643px; }
.finder-box .finder-box-tab-selected .finder-box-tab-left { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -8px -599px; }
.finder-box .finder-box-tab-selected .finder-box-tab-right { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -12px -599px; }

.finder-box-tabs-content { margin: 7px 0 0 0; max-height: 200px; min-height: 150px; overflow:auto; position:relative;}
.finder-box-tab-content { display: none; }
.finder-box-tab-content-selected { display: block; }

.finder-box .finder-box-item { display: block; cursor: pointer; position: relative; color: #000; margin: 0 5px 2px 0; text-decoration:none; overflow: hidden; }
.finder-box-item-text { padding:3px 5px; }
.finder-box-item-icon { width: 17px; height:21px; position: absolute; right: 0; top: 0; background: #fff;}
.finder-box-item-left { margin: 0 3px 0 0;}

.finder-box-item:hover { background: #f0f0f0; }

.finder-box-item:hover .finder-box-item-icon { background: #f0f0f0 url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -19px -469px; }
.finder-box-item-selected:hover .finder-box-item-icon { background: #f0f0f0 url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -20px -577px; }
.finder-box-item-selected .finder-box-item-text { color: #666666; }



.finder-box-tab-columns { width: 100%; table-layout:fixed;}
.finder-box-tab-columns td { width: 50%; padding:0; vertical-align: top; }

.finder-box-selected-items { max-height: 235px; overflow-x: hidden; overflow-y:auto;}
.finder-box-selected-title {  color: #6e6e6e; height: 32px;   line-height: 32px; margin:0 8px;}
.finder-box-selected-item {  overflow: hidden; margin: 0 5px 10px 5px; }
.finder-box-selected-item-icon { float: left; cursor: pointer; width: 13px; height:15px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -282px;}
.finder-box-selected-item-icon:hover { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -17px -282px;}
.finder-box-selected-item .finder-box-selected-item-text { text-decoration: none; overflow: hidden; padding: 0 0 0 4px; display: block; color: #000;}
.finder-box-selected-item .finder-box-selected-item-text:hover { text-decoration: underline;}

.finder-box-tab-note { font-style: italic; display:inline-block; margin: 0 0 0 5px;}

.company-structure { padding: 0 0 0 3px; }
.company-department {  padding: 10px 0 0; }
.company-department-first { padding: 3px 0 0 0;}
.company-department-inner { display: inline-block; overflow:hidden; cursor:pointer;  -moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; user-select: none;}

.company-department-arrow { float: left; width:16px; height: 17px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -16px -175px;}
.company-department-opened .company-department-arrow { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -16px -191px;}
.company-department-text { display:inline-block; overflow:hidden; padding: 1px 5px 1px 5px; color: #000; font: normal normal normal 12px/normal Arial, Helvetica, sans-serif;}

.company-department-inner:hover .company-department-text, .company-department-inner:hover .company-department-arrow { background-color:#f0f0f0; }

.company-department-children { display: none; margin-left: 3px; padding: 0 0 0 13px;}
.company-department-children-opened { display: block; border-left: 1px solid #F0F0F0;}


.company-department-employees { margin: 0 0 0 -10px; padding: 5px 0 0 0;}
.company-department-employee { cursor: pointer; position: relative; margin: 5px 10px 0 0;}
.company-department-employee-avatar { width: 24px; height: 24px; background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat 0 -664px; position: absolute; top: 3px; left: 3px; }
.company-department-employee-info { padding: 2px 0; margin: 0 0 0 32px; }
.company-department-employee-name { color:#000; }
.company-department-employee-position { color: #b2b2b2; font-size:11px; line-height:11px; }
.company-department-employee-icon { position:absolute; top:10px; right:5px; width:11px; height:11px;  }
.company-department-employee:hover { background-color: #f0f0f0; }
.company-department-employee:hover .company-department-employee-icon { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -19px -474px; }
.company-department-employee-selected:hover .company-department-employee-icon { background: url(/bitrix/js/main/core/images/controls-sprite.png) no-repeat -19px -584px; }
.company-department-employees-loading { font-style: italic; }

/*intranet structure*/
.structure-department-head { background: url("/bitrix/js/main/core/images/controls-sprite.png") no-repeat 0 -281px; visibility:hidden; height: 16px; position: absolute; width: 15px; cursor: pointer; margin-right:15px; }
.structure-department-head:hover { background-position: -17px -281px !important; }

/******************************* titlebar buttons *****************************************/

.intranet-title-buttons {
	position: absolute;
	right: 0;
	top: 5px;
	white-space: nowrap;
}


.intranet-title-button {
	cursor: pointer;
	display: inline-block;
	height: 19px;
	margin-left: 5px;
	outline: medium none;
	text-decoration: none !important;
	vertical-align: top;
}

.intranet-title-link {
	color: #0069C4;
	cursor: pointer;
	display: inline-block;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 12px;
	height: 19px;
	line-height: 19px;
	margin: 0 0 0 5px;
	text-decoration: underline;
	vertical-align: top;
}

.intranet-title-button-create-icon {
	background: url("/bitrix/js/main/core/images/controls-sprite.png") no-repeat scroll -19px -470px transparent;
	display: inline-block;
	height: 19px;
	vertical-align: top;
	width: 11px;
}
