/*
 * Здесь расположены наши классы
 * (не связанные с версткой от sitesoft - dms-css-part-1.css).
 */
html {
    height: 100%;
    font-size: 100.01%;
    background: none repeat scroll 0 0 #FFFFFF;
}

body {
    font-size: 13px;
    color: #000;
    font-family: Arial,Helvetica,sans-serif;
}

body.basic {
    min-height: 100%;
    position: relative;
    min-width: 987px;
    _height: 100%;
    overflow: hidden;
    background-color: #FFFFFF;
}

body.form {
    margin: 0;
    background-color: white;
}

a:link,
a:visited,
a:active, 
a:hover {
    color: #24549D;
    text-decoration: none;
}

/*
a:link,
a:visited,
a:active, 
a:hover {
    color: #24549D;
    text-decoration: underline;
}

a.inactive:link, 
a.inactive:visited, 
a.inactive:active, 
a.inactive:hover {
    color: #b1b3b5;
}

a:hover, 
.pseudo:hover {
    border-color: #F84E00;
    color: #F84E00;
}
*/
/*
a:link {
    color: #000000;
    text-decoration: none;
}
*/

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

/* Попытаемся обойтись без :collapse по дефолту */
/*
table {
    border-spacing: 0;
    border-collapse: collapse;
}
*/

ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

tbody, thead {
    margin: 0;
    padding: 0;
}

/*
section_header - временный стиль для заголовков списков
.section_header,
.custom_frame_header,
.sh-right,
.cfh-right {
    background: url('$gpms/images/css/custom_frame_headers.png') 100% 0 no-repeat;
}

.section_header, .custom_frame_header {
    position: relative;
    margin-left: 40px;
    padding-top: 8px;
    height: 28px;
    margin-right: 8px;
    line-height: 18px;
    z-index: 0;
    max-width: 1900px;
}

.section_header {
    margin-top:12px;
    padding-right: 32px;
    text-align:center;
}

.section_header .sh-help,
.custom_frame_header .cfh-help {
    position: absolute;
    right: 10px;
    top: 9px;
}

.sh-title, .cfh-title {
    font-size: 16px;
    font-weight: bold;
}
*/

/**
 * customframe
 */ 
.custom_frame {
    margin-bottom: 24px;
}

.custom_frame_header{
    cursor: pointer;
}

.sh-right, .cfh-right {
    height: 36px;
    display: block;
    position: absolute;
    background-position: 0 0;
    left: -32px;
    width: 32px;
    top: 0;
}

.cfh-progress {
    background: url('$guic/images/treelist_loading.gif') 0 0 no-repeat;
    vertical-align: middle;
    display: none;
    width: 17px;
    height: 17px;
    margin-left: 5px;
}

.sh-help, .cfh-help {
    vertical-align: middle;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('$gpms/images/css/help.png') no-repeat;
}

.sh-help:hover, .cfh-help:hover {
    background-position: 0 -16px;
}

.cfh-comment-closed {
    color: #7A7C7F;
    font-size: 12px;
}

.cfh_expanded .cfh-comment-closed
{
    display: none;
}

.cfh-comment-open {
    color: #7a7c7f;
    font-size: 12px;
    display: none;
}

.cfh_expanded .cfh-comment-open {
    display: inline;
}

.sh-expand, .cfh-expand {
    vertical-align: middle;
    display: inline-block;
    width: 17px;
    height: 17px;
    background: url('$gpms/images/css/custom_frame_expand.png') no-repeat;
    position: absolute;
    left: -20px;
    top: 10px;
    z-index: 1;
}

.sh_active .sh-expand,
.cfh_active .cfh-expand {
    top: 11px;
}

.cfh_expanding .cfh-progress {
    display: inline-block;
}

.sh-num_lines
{
    color: #7A7C7F;
    font-size: 12px;
}

.sh_expanded .sh-num_lines
{
    display: none;
}

.cfh_expanded .cfh_cbebfb .cfh-expand {
    background-position: 0 0;
}

.cfh_expanded .cfh_cbebfb.cfh_active .cfh-expand {
    background-position: -38px 0;
}

.cfh_cbebfb .cfh-expand {
    background-position: -19px 0;
}

.cfh_active.cfh_cbebfb .cfh-expand {
    background-position: -57px 0;
}

/* 
TODO пока убрали
.custom_frame .mt-wrap {
    display: none;
    margin-bottom: 0;
}
*/

.main_table_container.doc_properties {
    margin-bottom: 0;
    margin-top: 15px;
}

.cfh_expanded .mt-wrap {
    display: block;
}

/* greenframe */
 .cfh_cee9cc {
    background-position: 100% -36px;
}

.cfh_cee9cc .cfh-right {
    background-position: 0 -36px;
}

.cfh_expanded .cfh_cee9cc .cfh-expand {
    background-position: 0 -19px;
}

.cfh_expanded .cfh_cee9cc.cfh_active .cfh-expand {
    background-position: -38px -19px;
}

.cfh_cee9cc .cfh-expand {
    background-position: -19px -19px;
}

.cfh_active.cfh_cee9cc .cfh-expand {
    background-position: -57px -19px;
}

/**/
.cfh_00c081 {
    background-position: 100% -72px;
}

.cfh_00c081 .cfh-right {
    background-position: 0 -72px;
}

.cfh_expanded .cfh_00c081 .cfh-expand {
    background-position: 0 -38px;
}

.cfh_expanded .cfh_00c081.cfh_active .cfh-expand {
    background-position: -38px -38px;
}

.cfh_00c081 .cfh-expand {
    background-position: -19px -38px;
}

.cfh_active.cfh_00c081 .cfh-expand {
    background-position: -57px -38px;
}

.cfh_da3b25 {
    background-position: 100% -108px;
}

.cfh_da3b25 .cfh-right {
    background-position: 0 -108px;
}

.cfh_expanded .cfh_da3b25 .cfh-expand {
    background-position: 0 -57px;
}

.cfh_expanded .cfh_da3b25.cfh_active .cfh-expand {
    background-position: -38px -57px;
}

.cfh_da3b25 .cfh-expand {
    background-position: -19px -57px;
}

.cfh_active.cfh_da3b25 .cfh-expand {
    background-position: -57px -57px;
}

/**/
.cfh_474488 {
    background-position: 100% -144px;
}

.cfh_474488 .cfh-right {
    background-position: 0 -144px;
}

.cfh_expanded .cfh_474488 .cfh-expand {
    background-position: 0 -76px;
}

.cfh_expanded .cfh_474488.cfh_active .cfh-expand {
    background-position: -38px -76px;
}

.cfh_474488 .cfh-expand {
    background-position: -19px -76px;
}

.cfh_active.cfh_474488 .cfh-expand  {
    background-position: -57px -76px;
}

/**/
.cfh_e4ae0f {
    background-position: 100% -252px;
}

.cfh_e4ae0f .cfh-right {
    background-position: 0 -252px;
}

.cfh_expanded .cfh_e4ae0f .cfh-expand {
    background-position: 0 -133px;
}

.cfh_expanded .cfh_e4ae0f.cfh_active .cfh-expand {
    background-position: -38px -133px;
}

.cfh_e4ae0f .cfh-expand {
    background-position: -19px -133px;
}

.cfh_active.cfh_e4ae0f .cfh-expand {
    background-position: -57px -133px;
}

/**/
.cfh_9b499a {
    background-position: 100% -216px;
}

.cfh_9b499a .cfh-right {
    background-position: 0 -216px;
}

.cfh_expanded .cfh_9b499a .cfh-expand {
    background-position: 0 -114px;
}

.cfh_expanded .cfh_9b499a.cfh_active .cfh-expand {
    background-position: -38px -114px;
}

.cfh_9b499a .cfh-expand {
    background-position: -19px -114px;
}

.cfh_active.cfh_9b499a .cfh-expand {
    background-position: -57px -114px;
}

.cfh_ff7701 {
    background-position: 100% -180px;
}

.cfh_ff7701 .cfh-right {
    background-position: 0 -180px;
}

.cfh_expanded .cfh_ff7701 .cfh-expand {
    background-position: 0 -95px;
}

.cfh_expanded .cfh_ff7701.cfh_active .cfh-expand {
    background-position: -38px -95px;
}

.cfh_ff7701 .cfh-expand {
    background-position: -19px -95px;
}

.cfh_active.cfh_ff7701 .cfh-expand {
    background-position: -57px -95px;
}

.custom_frame_buttons {
    zoom: 1;
    display: block;
}

.list-buttons,
.custom_frame_buttons {
    padding-left: 20px;
    padding-top: 2px;
    margin-bottom: 15px;
}

.custom_frame_buttons:after {
    content: none;
    display: block;
    height: 0;
    clear: both;
}

#rs-content {
    position: absolute;
    overflow: auto;
    z-index: 0;
    right: 0;
    left: 0;
    top: 32px;
    bottom:0;
}

.tm-container {
    padding-left: 14px;
    margin-bottom: 8px;
}

.tm-container-gray {
    background: rgb(248,248,248); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(248,248,248,1) 0%, rgba(224,225,226,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,248,248,1)), color-stop(100%,rgba(224,225,226,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(224,225,226,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(224,225,226,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(224,225,226,1) 100%); /* IE10+ */
    background: linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(224,225,226,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e0e1e2',GradientType=0 ); /* IE6-9 */
    padding: 8px 0 4px 14px;
    margin-bottom: 11px;
}

/**
 * Оверлей со справкой
 */
.help-content {
    padding: 10px;
    width: 100%;
}

/**
 * textareafield
 */
.fckeditor-readonly-container {
    padding: 10px 21px 0 11px;
}

.fckeditor-readonly-content {
    border: 1px solid #B1B3B5;
    margin-bottom: 5px;
    padding: 5px;
}

.doc_content .fckeditor-readonly-content {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.fckeditor-readonly-container_collapsed .fckeditor-readonly-content {
    overflow: hidden;
    height: 600px;
}

.fckeditor-readonly-container .content-show {
    display: none;  
}

.fckeditor-readonly-container_collapsed .content-show {
    display: inline;    
}

.fckeditor-readonly-container .content-hide {
    display: inline;    
}

.fckeditor-readonly-container_collapsed .content-hide {
    display: none;  
}

.tab-buttons {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 2px;
    min-height: 25px;
}

.tm-container .tab-buttons {
    padding-left: 6px;
}

/**
 * label в блоке свойств документа
 */
.doc-properties-label {
    display: block;
    float: left;
    padding-left: 9px;
    height: 28px;
    line-height: 26px;
    color: #FF00FF;
    font-family: Verdana;
    font-size: 11px;
}

/*
 * see DMSDocumentChooserForm.part.xml
 */
.doc-chooser-list th {
    text-align: center;
}
 
.doc-chooser-pages {
    float: left;
}

.doc-chooser-pages td {
    border: none;
}

.doc-chooser-count-per-page {
    float: right;
}

.doc-chooser-count-per-page td {
    border: none;
}

.doc-chooser-form {
    min-width: 800px;
}

table.startprocess {
    border-collapse: collapse;
}

table.startprocess td {
    text-align: left;
    vertical-align: middle;
    border: none;
    padding: 3px;
}

table.startprocess tr {
    border: 1px solid #ffffff;
}

table.startprocess_inner td {
    vertical-align: middle;
}

.button-as-link {
    border: none;
    cursor: pointer;
}

.button-as-link:hover {
    text-decoration: underline;
}

.contentprintform {
    background-color: #ffffff;
}

.contentprintform table {
    border-collapse: collapse;
}

.contentprintform td {
    background-color: #ffffff;
    border: none;
}

.contentprintform th {
    background-color: #ffffff;
    border: none;
}

a.error {
    color: red;
    font-weight: bold;
}

a:hover.as-text{
    text-decoration:none;
    cursor:default;
    color:#000000;
}

a.wi-folder {
    display: block;
    text-decoration: underline;
    margin-left: 1px;
    padding-left: 18px;
    background: url($gpms/images/dmsfolder.gif) no-repeat;
    height: 18px;
}

/*
 * see navigator.jsp
 */
a:link.wi-folder-top {
    color: #000080;
    font-weight: bold;
}

a:visited.wi-folder-top {
    color: #000080;
    font-weight: bold;
}

.wi-folder-mark {
    font-weight: bold;
}

a:link.wi-folder-gray {
    color: #999999;
}

a:visited.wi-folder-gray {
    color: #999999;
}

div.fullHeightContainer {
    height: 100%;
}

.fullWidthTableHeader th {
    width: 100%;
}

.normalFontWeight th {
    font-weight: normal;
}

.normalFontWeight th.big {
    font-weight: bold;
}

.favoritesTreeRoot {
    font-weight: bold;
}

.navigatorLink a, img {
    vertical-align: middle;
}

.verticalMiddle td {
    vertical-align: middle;
}

.noborder {
    border: 0 none;
}

.table-noborder {
    border: 0 none;
}

.table-noborder td {
    border: none;
}

.table-noborder th {
    border: none;
}

.notificationsGroupLink {
    margin-left: 16px;
    margin-top: 5px;
    text-decoration: underline;
}

/* Класс длля ссылок, которые не должны отличаться то текста */
a.as-text:link, 
a.as-text:visited, 
a.as-text:active, 
a.as-text:hover {
    text-decoration: none;
    color: inherit;
}

/* есть класс inactive, возможно удастся их совместить */
a.disabled:link, 
a.disabled:visited, 
a.disabled:active, 
a.disabled:hover {
    cursor:default;
    text-decoration: none;
    color: #B1B3B5;
}

/* Для фиолетового цвета заголовков { */
.sh_474488
{
    background-position: 100% -144px;
}
.sh_474488 .sh-right
{
    background-position: 0 -144px;
}
.sh_expanded .sh_474488 .sh-expand
{
    background-position: 0 -76px;
}
.sh_expanded .sh_474488.sh_active .sh-expand
{
    background-position: -38px -76px;
}
.sh_474488 .sh-expand
{
    background-position: -19px -76px;
}
.sh_active.sh_474488 .sh-expand
{
    background-position: -57px -76px;
}
/* } */

/**
 * Оверлей, см. window.js
 */
.overlay_dialog_window {
    background-color: #000;
    filter: alpha(opacity = 35);
    -moz-opacity: 0.35;
    opacity: 0.35;
}

.overlay___invisible__ {
    background-color: #000;
    filter: alpha(opacity = 0);
    -moz-opacity: 0;
    opacity: 0;
}

.dialog_window {
    display: block;
    position: absolute;
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    overflow:hidden;
}

.dialog_window .title_window {
    -moz-user-select: none;
}

.dialog_window_title {
    padding: 12px 30px;
    border-bottom: 1px solid #B1B3B6;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #000;
}

.dialog_window_ctrl {
    position: absolute;
    z-index: 2000;
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    width: 20px;
    vertical-align: middle;
    text-align: center;
}

.dialog_window_ctrl:hover {
    cursor: pointer;
    text-decoration: none;
    color: #EEEEEE;
    background-position: 0 -14px;
}

.dialog_window_close {
    top: 9px;
    right: 9px;
    background: url("$gpms/images/css/close.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: inline-block;
    height: 14px;
    overflow: hidden;
    vertical-align: middle;
    width: 14px;
    font-size: 0;
    color: #EEEEEE;
}

.dialog_window_minimize {
    top: 5px;
    right: 45px;
}

.dialog_window_maximize {
    top: 5px;
    right: 25px;
}

.dialog_window_content_loading {
    background: url('$gpms/images/progress.gif') no-repeat center center transparent;
}

/* Подобное решение плохо для инт18ции */
.dialog_window_content_loading:before{
	content: "Идёт загрузка...";
	display: block;
	position:absolute;
	width:120px;
	margin:32px 0 0 -50px;
	left:50%;
	font-size: larger;
}

.dialog_window_frame {
}

.top_draggable,
.bottom_draggable {
    cursor: move;
}

.wired_frame {
    display: block;
    position: absolute;
    border: 1px #000 dashed;
}

.dialog_window_sizer {
    width: 9px;
    height: 9px;
    cursor: se-resize;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Контейнер tooltip'а (jq-ui-tooltip)*/
.ui-tooltip{
	max-width:50%;
	min-width:200px;
	overflow:hidden;
}

.aleft
{
    text-align: left !important;
}
.aright
{
    text-align: right !important;
}
.acenter
{
    text-align: center !important;
}
.vatop, .vatop td
{
    vertical-align: top !important;
}
.vamiddle, .vamiddle td
{
    vertical-align: middle !important;
}
.vabottom, .vabottom td
{
    vertical-align: bottom !important;
}
.bold
{
	font-weight: bold;
}