html, body  { height: 100%; max-height: 100%; padding: 0; margin: 0; font-size: 13px; font-family: Arial, sans-serif; }
body    { overflow: hidden; background-color: #ffffff; color: #000000; }

h2 {
    font-size: 150%;
    font-weight:normal;
}
.btn{
    width: 95px;
}

a   { color: #026ab3; }
.pseudo {
    color: #026AB3;
    border-bottom: 1px dashed;
    cursor: pointer;
}
a:hover, .pseudo:hover span.green, .pseudo:hover span.red, .pseudo:hover{
    color: #093481;
}
.with-icon {
    border-bottom:none;
    text-decoration:none;
}
a.with-icon span {
    text-decoration:underline;
}
.pseudo.with-icon span {
    border-bottom:1px dashed;
}

.hidden {
    display:none;
}

strong {
    font-weight: bold;
}

.clear {
    clear: both;
}
.clearfix:after { content: " "; display: block; width: 0; height: 0; clear: both; visibility: hidden; font-size: 0; }
.f-left {
    float: left;
}
.f-right {
    float: right;
}
.ta-left {
    text-align: left;
}
.ta-right {
    text-align: right;
}


ins { text-decoration: none; border-bottom-width: 1px; border-bottom-style: dashed; cursor: pointer; cursor: hand; }
ins:hover   { color: #ff0000; }

.blue   { color: #0264CF; }
.red    { color: #ff0000; }
.red-dark   { color: #B40000; }
.blue *,
.red *  { color: inherit; }
.black { color: #000; }
.green { color: #7AC23A; }
.orange { color: #FF8D02; }
.gray, .gray * { color: #676767; font-size: 11px }
.gray-light, .gray-light * { color: #808080; }
.yellow { color: #FFA500; }


#container  { position: relative; height: 100%; max-height: 100%; min-width: 920px; min-height: 480px;}

#notification {
    background-color:#eff0f1;

    padding: 10px 15px;
    color: #000;
    text-align:center;
    box-shadow: 0 4px 10px #bbb;
    border-bottom: 1px solid #fff;
}


#header {
    height: 60px;/**/
    /*padding: 10px;/**/
    position: relative;
}
#logo {
    position: absolute;
    left: 18px;
    top: 11px;
}

/* Первая строка контента: фильтры и др. */
#content-tools {
    height: 45px;
    border-top: 1px solid #a7ceeb;
    border-bottom: 1px solid #dbdbdb;
    box-shadow: 0 4px 10px #2d5b7d;
    position: relative;
    z-index: 1;
    font-size: 110%;
    text-shadow: 0 1px 2px #000;
    color: #ffffff;

    *background: #2a5371; /* Old browsers */
    background: -moz-linear-gradient(top, #2a5371 0%, #3a5f96 38%, #2d4178 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a5371), color-stop(38%,#3a5f96), color-stop(100%,#2d4178)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* IE10+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a5371', endColorstr='#2d4178',GradientType=0 ); IE6-9 */
    //background: #242566 url('../img/bgs/content-tools-bg.png') left top repeat-x;
    background: linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* W3C */
}
.content-tools-item {
    display: inline-block;
    //display:inline;
    //zoom: 1;
    padding: 0 12px;
    cursor:pointer;
    line-height: 45px;
    height: 45px;
}
.content-tools-item a {
    color:#fff;
}
.content-tools-back {
    font-weight: bold;
    margin-left: 114px;
}
.content-tools-back a {
    text-decoration:none;
}
.content-tools-back a span {
    text-decoration:underline;
}
.content-tools-item:hover {
    text-shadow: none;
}
.content-tools-item-active  {
    background: #225781; /* Old browsers */
    background: -moz-linear-gradient(top, #225781 0%, #3b7fc0 37%, #3b7fc0 54%, #376aa9 79%, #2e4c7d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#225781), color-stop(37%,#3b7fc0), color-stop(54%,#3b7fc0), color-stop(79%,#376aa9), color-stop(100%,#2e4c7d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #225781 0%,#3b7fc0 37%,#3b7fc0 54%,#376aa9 79%,#2e4c7d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #225781 0%,#3b7fc0 37%,#3b7fc0 54%,#376aa9 79%,#2e4c7d 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #225781 0%,#3b7fc0 37%,#3b7fc0 54%,#376aa9 79%,#2e4c7d 100%); /* IE10+ */
    //background: #242566 url('../img/bgs/content-tools-iten-active-bg.png') left top repeat-x;
    background: linear-gradient(top, #225781 0%,#3b7fc0 37%,#3b7fc0 54%,#376aa9 79%,#2e4c7d 100%); /* W3C */
}
#content-tools .last {
    position:relative;
}
.content-tools-separator {
    position:absolute;
    height: 25px;
    width:1px;
    top: 10px;
    right: -4px;
    background: #bbb;
}
.content-tools-role {
    font-weight: bold;
}
.content-tools-item-dropped {
    display: none;/**/

}
#content-tools .content-tools-item-dropped-visible  {
    width: 200px;

    display: block;
    position: absolute;
    top: 27px;
    right: -5px;
    z-index: 1000;
    /*background-color: #ff0000;/**/

    /*border-top: 1px solid #a7ceeb;/**/
    border: 1px solid #dbdbdb;
    border-width: 0 1px 1px;
    box-shadow: 0 4px 10px #2d5b7d;

    white-space:nowrap;

    *background: #2a5371; /* Old browsers */
    background: -moz-linear-gradient(top, #2a5371 0%, #3a5f96 38%, #2d4178 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a5371), color-stop(38%,#3a5f96), color-stop(100%,#2d4178)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* IE10+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a5371', endColorstr='#2d4178',GradientType=0 ); IE6-9 */
    //background: #242566 url('../img/bgs/content-tools-bg.png') left top repeat-x;
    background: linear-gradient(top, #2a5371 0%,#3a5f96 38%,#2d4178 100%); /* W3C */
}
    .content-tools-item-dropped-visible .icon,
    .content-tools-item-dropped-visible .content-tools-separator {
        display: none;
    }

#content-tools-toolbar-more {
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 0;
    margin-right: 0;
    //height: 45px;
}
#content-tools-toolbar-more .icon   {
    //position:absolute;
    //top: 50%;
    //margin-top: -8px;
    //left: 0;
}
#content-tools-toolbar {
    position: relative;
    margin-right: 100px;
    height: 100%;
}
.content-tools-main-group {
    position:absolute;
    left: 262px;
    top: 0;
    bottom:0;
    right: 0;
    overflow:hidden;
}


/* Content actions */
#content-actions {
    position:absolute;
    z-index: 5;
    left: 52px;
    right: 188px;
    top: -50px;
    height: 30px;
    line-height: 30px;
    /*border-radius: 5px;
    box-shadow: 0px 3px 10px #aaa;

    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    /*
    background: #ffffff; /* Old browsers */

/*    background: -moz-linear-gradient(top, #ffffff 0%, #eaeef1 100%); /* FF3.6+ */
/*    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eaeef1)); /* Chrome,Safari4+ */
/*    background: -webkit-linear-gradient(top, #ffffff 0%,#eaeef1 100%); /* Chrome10+,Safari5.1+ */
/*    background: -o-linear-gradient(top, #ffffff 0%,#eaeef1 100%); /* Opera11.10+ */
/*    background: -ms-linear-gradient(top, #ffffff 0%,#eaeef1 100%); /* IE10+ */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeef1',GradientType=0 ); /* IE6-9 */
/*    background: linear-gradient(top, #ffffff 0%,#eaeef1 100%); /* W3C */

}
.content-actions-wide {
    /*left: 20px !important; */
}
#content-actions .right {
    float:right;
}
.content-actions-item   {
    display: inline-block;
    padding: 0 7px;
    margin: 0 5px;
    //display:inline;
    //zoom: 1;
}
#content-actions a, #content-actions .pseudo {
    color:#000;
}
#content-actions a:hover, #content-actions .pseudo:hover {
    color:#f00;
}

/* Переключение между разделами */
#sidebar {
    width: 129px;
    position:relative;
    float:left;
    z-index: 2;
}
#sidebar .gradient {
    position: absolute;
    z-index: 0;
    left: 0;
    width: 106px;
    top: 0;
    bottom: 0;
    border-right: 3px solid #232264;
    background: #8ba4c3; /* Old browsers */
    background: -moz-linear-gradient(top, #8ba4c3 0%, #95b9d9 40%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8ba4c3), color-stop(40%,#95b9d9), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #8ba4c3 0%,#95b9d9 40%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #8ba4c3 0%,#95b9d9 40%,#ffffff 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #8ba4c3 0%,#95b9d9 40%,#ffffff 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8ba4c3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #8ba4c3 0%,#95b9d9 40%,#ffffff 100%); /* W3C */
}
#tasks-wrap {
    position:relative;
    z-index: 1;
    overflow:hidden;
}
#sidebar ul {
    list-style: none;
    position:relative;
    margin: 0;
    padding: 0;
}
#sidebar li {
    list-style: none;
    margin: 0;
    height: 74px;
    padding: 5px;
    text-align: center;
    font-size: 90%;
    font-weight: bold;
}
#sidebar .selected {
    background: transparent url('../img/bgs/sidebar-selected.png') left top no-repeat;
    width:119px;
    position:relative;
    z-index: 2;
}
#sidebar li a {
    position:relative;
    color:#000;
    text-decoration:none;
    display:block;
    width: 106px;
    text-align: center;

}
#sidebar li a:hover {
    color:#444;
}

#sidebar a span {
    display:block;
}
#sidebar a small {
    padding:1px 3px;
    position:absolute;
    top:5px;
    /*left:70px;/**/
    left:20px;

    border-radius:3px;
    font-weight:normal;
    color:#fff;
    text-shadow: 0 1px 1px #000;

    background: #fab665;
        background: -moz-linear-gradient(top, #fab665 0%, #d0751a 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fab665), color-stop(100%,#d0751a));
        background: -webkit-linear-gradient(top, #fab665 0%,#d0751a 100%);
        background: -o-linear-gradient(top, #fab665 0%,#d0751a 100%);
        background: -ms-linear-gradient(top, #fab665 0%,#d0751a 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fab665', endColorstr='#d0751a',GradientType=0 );
        background: linear-gradient(top, #fab665 0%,#d0751a 100%);/**/
/*
    background: #4C93C9;
        background: -moz-linear-gradient(top, #4C93C9 0%, #232464 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4C93C9), color-stop(100%,#232464));
        background: -webkit-linear-gradient(top, #4C93C9 0%,#232464 100%);
        background: -o-linear-gradient(top, #4C93C9 0%,#232464 100%);
        background: -ms-linear-gradient(top, #4C93C9 0%,#232464 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4C93C9', endColorstr='#232464',GradientType=0 );
        background: linear-gradient(top, #4C93C9 0%,#232464 100%);/**/
}


#sidebar li img {
    margin-bottom: -2px;
}
#sidebar .arrs {
    text-align: center;
    display:none;
    width: 106px;
}
#sidebar .arr {
    width: 43px;
    height: 27px;
    display:inline-block;
    cursor:pointer;
    position:relative;
    margin: 0px;
    background-image:url('../icons/icon-sidebar-buttons.png');
    background-repeat: no-repeat;
}
#sidebar .arr:hover {

}
#sidebar .top {
    background-position:0 0;
    margin-left: -20px;
}
#sidebar .bottom {
    background-position:-46px 0;
    margin-right:-20px;
}

#info   { position: absolute; left: 170px; right: 25%; top: 19px; padding-left: 1em; }
#search-form    { white-space: nowrap; }
#search-form label  { display: block; float: left; width: 4em; padding-top: 0.3em; }
#search {
    width: 70%;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    box-shadow: inset 0 1px 2px #ccc;
    border: 1px solid #ccc;
    padding: 1px 3px;

    -webkit-appearance: textfield;
}
#search-options { padding-left: 4em; padding-top: 0.2em; }
#search-options label   { display: inline; float: none; }
#search-extended {
    float: right;
    margin-right: -3.4em;
    padding-right: 30%;
    xwidth: 30%;
}
#search-form button {
    margin:-2px 0 0 10px;
    background: #31a5d8; /* Old browsers */
    background: -moz-linear-gradient(top, #31a5d8 0%, #274792 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#31a5d8), color-stop(100%,#274792)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #31a5d8 0%,#274792 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #31a5d8 0%,#274792 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #31a5d8 0%,#274792 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#31a5d8', endColorstr='#274792',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #31a5d8 0%,#274792 100%); /* W3C */

    box-shadow: 0 1px 3px #666;
    text-shadow: 0 1px 2px #000;

    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;

    border: 2px solid white;
    padding: 3px 10px 4px;
    color:#fff;
    font-weight:bold;
}
#search-form button:hover {
    background: #31a5d8; /* Old browsers */
    background: -moz-linear-gradient(top, #31a5d8 0%, #2a63a6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#31a5d8), color-stop(100%,#2a63a6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #31a5d8 0%,#2a63a6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #31a5d8 0%,#2a63a6 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #31a5d8 0%,#2a63a6 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#31a5d8', endColorstr='#2a63a6',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #31a5d8 0%,#2a63a6 100%); /* W3C */
}
#search-form button:active {
    box-shadow: 0 1px 2px #aaa;
}

#user-info  { position: absolute; top: 11px; right: 0px; width: 22%; padding: 8px 14px; }
#user-info-logout   { float: right; }
#user-info-logout a { color: #000000; }
#user-info-logout a:hover   { color: #f00; }
#user-info-name { font-weight: bold; }
#user-info-position { font-size: 85%; }
#user-info-actions  { list-style: none; margin: 0.5em 0 0 0; padding: 0; }
#user-info-actions li   { list-style: none; display: inline; margin: 0; padding: 0 0.7em 0 0; }

#content-stretched-wrap {
    /*position:absolute;*/
    left: 0;
    right: 0;
    z-index: 0;
    /*padding-left: 109px;*/
}
#content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px;
    right: 0;
    padding: 0;

    background: #4c93c9; /* Old browsers */
    background: -moz-linear-gradient(top, #4c93c9 0%, #3b649a 51%, #232464 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c93c9), color-stop(51%,#3b649a), color-stop(100%,#232464)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4c93c9 0%,#3b649a 51%,#232464 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4c93c9 0%,#3b649a 51%,#232464 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #4c93c9 0%,#3b649a 51%,#232464 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c93c9', endColorstr='#232464',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #4c93c9 0%,#3b649a 51%,#232464 100%); /* W3C */
}
#content-wrapper {
    height: 100%;
}

/* Элементы форм */
form .row {
    clear: both;
    margin: 1.4em 0;
    padding: 0 5px;
    zoom: 1;
}
form .row:after,
form .row:before
 {
    content: '';
    clear:both;
    display:block;
}
form .label {
    float:left;
    width: 10em;
    font-weight: bold;
    font-size: 110%;
    text-shadow: 0 1px 2px #ddd;
}
form .field {
    padding-left:12em;
}
/*
form input[type="text"],
form textarea,
form select {
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #bbb;
    width: 100%;
}/**/
form .employee-picker {
    position:relative;
    top: -0.6em;
    margin: 0 0 0.6em;
}
form select.narrow {
    width: auto;
}
form select {

}
form input.phone,
form input.date {
    width: 100px;
}

form .row textarea {
    height: 7em;
    margin: 0;
    margin-top: -7px;
}

form .row.send {
    background: #f1f5f8;
    padding: 20px 30px;
    margin: 1.2em -30px 0;
}
.slidepanel-container form .row.send {
    margin-left:0;
    margin-right:0;
}
form .row.send .field {
}
form .row.send button {
    margin-right: 2em;
    margin-left: 0;
}
form .remark{
    color: #284C72;
    font-style: italic;
    white-space: nowrap;
}
form .narrow {
    width: auto;
}
form .title {
    font-size:110%;
    font-weight: bold;
}
form textarea.title {
    height: 4em;
}
.hasDatepicker {
    padding-top: 3px;
    padding-bottom: 3px;
/*
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

    box-shadow: 0 3px 10px #a0b6c6;/**/
}
form input.hasDatepicker {
    padding-top: 4px;
}
.hasDatepicker:focus {
    outline: none;
}

span.status {
    font-style: italic;
    color:#666;
    font-size: 85%;
}
#document-make-popup {
    display:none;
}



.comment_block .textarea-wrap {
    display:none;
}



/* НОВАЯ ШАПКА */
#Head {
    background-color: #FFF;
    /*padding: 10px 0;*/
    position: relative;
    z-index: 2;
}
    .HeadTable {
        width: 100%;
    }
        .H_td_logo {
            width: 138px;
            padding: 0 10px;
        }
            .H_td_logo img, .H_td_logo a {
                border: none;
            }

        .H_td_notes {
            width: 100%;
            padding: 0 10px;
        }
        .H_td_user {
            padding: 0px 20px;
            white-space: nowrap;
        }
            .HeadUserName {
                font: bold 14px Arial;
            }
            .HeadUserPost {
                font: 11px Arial;
                color: #454545;
            }

        .H_td_links {
            padding: 0px 20px;
            white-space: nowrap;
            border: 1px solid #e5e5e5;
            border-width: 0 1px;
        }
        .H_td_logout {
            padding: 0px 20px;
            white-space: nowrap;
        }
            .H_td_logout a {
                padding: 3px 0 3px 20px;
                background: url("../img/logout.gif") no-repeat 0 50%;
                font:15px Arial;
                color: #000;
            }


.HeadNotifications {
    width: 100%;
    height: 35px;
    position: relative;
}

    .Hn_Cur {
        height: 15px;
        padding: 9px 55px 9px 35px;
        position: relative;
        background: url("../matugalnik.png") no-repeat 4px 4px #fffdf0;
        border: 1px solid;
        border-color: #fff1ca #ffedbe #ffedbe;
        border-radius: 5px;

    }
        .Hn_CurText {
            width: 100%;/**/
            /*margin: 0 -100% 0 0;/**/
            height: 15px;
            position: relative;
            overflow: hidden;
            font: 13px/15px Arial;
            /*box-shadow: inset -5px 0 5px #000;/**/
        }
            .Hn_CurTextW {
                width: 100%;/**/
                margin: 0 -10000px 0 0;/**/
                white-space: nowrap;
            }

        .Hn_Down {
            width: 28px;
            height: 35px;
            position: absolute;
            right: -1px;
            top:-1px;
            z-index: 1;
            background: url("../notes_down.png") no-repeat 0 0;
            cursor: pointer;
        }

    .Hn_All {
        width: 100%;
        position: absolute;
        left:0;
        top:0;
        z-index: 2;
        background:#fffdf0;
        border-radius: 5px;
        box-shadow: 0 0 10px #ccc;
        overflow: hidden;
    }
        .Hn_AllText {
            height: 15px;
            margin: 0 0 -1px;
            padding: 9px 35px 9px 10px;

            position: relative;
            overflow: hidden;
            border-bottom: 1px solid #f4e9cc;
        }
        .Hn_Up {
            width: 28px;
            height: 35px;
            position: absolute;
            right: 0px;
            top:-1px;
            z-index: 1;
            background: url("../notes_up.png") no-repeat 0 0;
            cursor: pointer;
        }
            .Hn_TextW {
                position: relative;
                overflow: hidden;
            }



#content-tools-toolbar .content_tools_bubble {
    padding: 10px 0;
    font: 13px Arial;

}





#document-info {
    color: #000;
    line-height: 250%;
    margin: 0 0 0 10px;
}
#document-info h2 {
    color: #000;
    font-size: 180%;
    display: block;
    margin: 15px 0 10px 18px;
}
#document-info .document-info-cert {
    color:#000;
}
#document-info .field {
    margin-right: 1.5em;
}
#document-info .icon {
    margin-right: -2px;
}
#document-info .date {
    color:#000;
}
#document-info a {
    color:#000;
}
span.gray,
.gray {
    color: #676767;
}


#document-tabs-labels {
    margin: 1.2em -20px 0;
    padding: 0 20px;
    zoom: 1;
    border-bottom: 1px solid #BECAD6;
}
#document-tabs-labels:after {
    content: '';
    display:block;
    clear:both;
}
#document-tabs-labels ul {
    padding: 0;
    margin:0;
}
#document-tabs-labels ul li {
    padding: 5px 1em;
    margin: 0;
    list-style-type: none;
    float:left;
}
#document-tabs-labels ul li.selected {
    background: #f5f6f8;
}
.document-details .field input[type="text"] {
    width: 486px;
}
.document-details .field .employee-picker input,
.document-details .field input.date {
    width: inherit;
}
.scrollable {
    margin: 0 -20px;
}
.document-tab {
    background: #F5F6F8;
    padding: 1px 20px 0;
    zoom: 1;
    position: relative;
    overflow:hidden;
}
.document-tab:after {
    content: '';
    display:block;
    clear:both;
}
.document-tab h3 span {
    color:#000;
}
.document-tab .expandable {
    overflow:hidden;
}

.document-info-cert {
    position:relative;
}
.document-info-cert .pseudo {
    color: green;
}
.document-info-cert .pseudo:hover {
    color: #f00;
}

.document-info-cert .bubble {
    top: 2em;
    line-height: 140%;
    width: 250px;
    padding-top: 0;
}
.document-info-cert .bubble .close {
    position:absolute;
    right:7px;
    top:7px;
}
.document-info-cert .bubble h4 {
    font-size: 110%;
    color: #23a100;
}
#document-info .document-info-cert .bubble .icon {
    margin-right: 3px;
}
.document-info-cert .bubble strong {
    margin-right: 1em;
}
.document-info-cert .bubble span.l {
    color: #666;
}
.document-info-cert .bubble p {
    margin: 0.6em 0;
}
#document-edit-actions {
    height: 30px;
    margin: 0 -20px;

    background: #fdfffe; /* Old browsers */
    background: -moz-linear-gradient(top, #fdfffe 0%, #e3e5e4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfffe), color-stop(100%,#e3e5e4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fdfffe 0%,#e3e5e4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fdfffe 0%,#e3e5e4 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #fdfffe 0%,#e3e5e4 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfffe', endColorstr='#e3e5e4',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #fdfffe 0%,#e3e5e4 100%); /* W3C */
}
#document-edit-area {
    background: #f5f6f8 url('../img/bgs/edit-area.png') center 10px no-repeat;
    height: 1200px;
}
#template-preview .template-prevew-doc {
    position:relative;
}
#template-preview .template-prevew-doc .remove {
    position:absolute;
    right: 0;
    top: 10px;
}
.template-preview-selected .template-preview-name { color: white; }

/* Реквизиты */
.document-status-row {
    position:relative;
}
.status-wrap {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    margin-top: -0.6em;
}
.document-tab .document-status-bubble {
    margin-top: -14em;
}
.document-status-bubble .close {
    position:absolute;
    right:0;
}


/* Life cycle */
.document-endorsement-init table {
    width: 100%;
}
.life-cycle .left {
    position:absolute;
    width: 15%;
    top:0;
    bottom:0;

    background: #dde4ea;
    padding: 0 20px;
    border-right: 1px solid #becad6;
    margin-left: -20px;
}
.life-cycle .right {
    padding-left: 15%;
    margin-left: 40px;
}

.life-cycle .left ul {
    margin: 1.2em 0;
    padding:0;
    height: 100%;
}
.life-cycle .left li {
    margin: 0 0;
    padding: 0;
    list-style-type:none;
}
.life-cycle .left hr {
    background: #becad6;
    margin: 0.6em 0;
}
.life-cycle table {
    margin-top: 1.2em;
    border-collapse: collapse;
}
.life-cycle th {
    text-align:left;
    background: #e1e6ec;
    font-weight: normal;
}
.life-cycle th, .life-cycle td {
    padding: 5px;
    vertical-align:top;
}
.life-cycle .status {
    font-size: 100%;
    color: #3d5f82;
}

.life-cycle .cycle-group-separator .icon {
    float:left;
}

.life-cycle .expandable {
    display:none;
}
.life-cycle .expandable .expander {
    display:none;
    padding: 10px;
}
.life-cycle h3 {
    display:inline-block;
    margin-right:1.5em;
}
.life-cycle h3 .triangle {
    top: 0px;
}
.life-cycle .cycle-actions {
    display:inline-block;
    padding: 5px 10px 7px 5px;
}
.life-cycle .cycle-actions .pseudo,
.life-cycle .cycle-actions button {
    margin-right: 1.5em;
}
.life-cycle .cycle-info .block {
    display:inline-block;
    margin-right: 1em;
}
.life-cycle .cycle-info .title {
    color:#666;
}
.life-cycle .cycle-group-separator {
    color: #9eaab7;
}
.life-cycle .cycle-group-separator td {
    padding: 0;
}
.life-cycle .cycle-message {
    font-style:italic;
}
.life-cycle .expandable td {
    background: #e9eef2;
}
.life-cycle .expandable .message {
    background: #fdfdfd;
    padding: 6px 12px;
}
.life-cycle .expandable .document-related-item {
    border: 1px solid #9eafbf !important;
    padding: 1px;
    background-color: #f9fafc;
    margin: 1.2em 0;
}
.life-cycle .expandable .document-related-actions {
    display:block;
    margin: 0;
}

.life-cycle th.edit {
    width: 1%;
}

.document-content { padding-top: 0; }
/* блок кнопок темплейтов */
#template-actions   { margin: 13px 8px; min-height: 2em; clear: left; }
#template-actions ul    { margin: 0; padding: 0; }
#template-actions li    { list-style: none; display: inline-block; position: relative; height: 2em; float: left; }
#template-actions li.template-actions-zoom,
#template-actions li.template-actions-pages { margin-left: 10px; padding-left: 10px; border-left: 1px solid #bbc7d3; }
#template-actions input { width: 1.3em; border: 1px solid #ff8e01; }
#template-actions .icon { margin-top: 0.3em; margin-right: 5px; }
#template-actions .icon-right   { margin-right: 0; }
#template-actions button .icon  { margin-top: 0; }
#template-actions .document-button  { border-color: #ff8e01; background: none ! important; margin-top: -0.1em;
    border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
}
/* блок превьюшек документов */
.document-actions   { padding: 10px; background-color: #edf0f5; margin-top: 5px; border-top: 1px solid #9eafbf; }
/*
.document-button    { border: none; background: transparent;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ecf1f4', endColorstr='#d5e0e6');
    background: -webkit-gradient(linear, left top, left bottom, from(#ecf1f4), to(#d5e0e6));
    background: -moz-linear-gradient(top,  #ecf1f4,  #d5e0e6);
    border: 1px solid #9eafbf;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 4px 10px;
    cursor: hand; cursor: pointer;
    margin-right: 10px;
}
/**/
#template-preview-wrap { margin-left: -20px; }
#template-preview   { border-bottom: 1px solid #c5cfd9; background-color: #edf2f5; width: 100%; border-collapse: collapse; border-spacing: 0px; }
#template-preview td { padding: 0; vertical-align:top; }
#template-preview-main  { width: 140px; background: transparent;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf2f5', endColorstr='#d9e2e9');
    background: -webkit-gradient(linear, left top, right top, from(#edf2f5), to(#d9e2e9));
    background: -moz-linear-gradient(left,  #edf2f5,  #d9e2e9);
}
#template-preview-attach    { background-color: #edf2f5; }
.template-preview-header    { padding: 3px 10px 3px 20px; line-height: 22px; }
.template-prevew-doc    { float: left; padding-left: 20px; width: 150px; overflow: hidden; padding-top: 9px; text-align:center; }
.template-preview-img   { margin: 0; text-align: center; padding: 0; }
.template-preview-img img   { border: 2px solid transparent; }
.template-preview-selected .template-preview-img img    { border: 2px solid #ff8e01; margin: 2px 0 -2px; }
.template-preview-name  { padding: 3px 10px; margin: -5px 0 5px 0; overflow: hidden; white-space: nowrap; -o-text-overflow: ellipsis; text-overflow: ellipsis;  }
.template-preview-selected .template-preview-name   { background-color: #ff8e01; display:inline-block; min-width: 80px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}
#template-preview-main .template-preview-name   { text-align: center; margin-top:0px;}
.template-preview-header    { font-size: 90%; color: #444444; }
#template-preview-main .template-preview-header { background-color: #d1dae3; }
#template-preview-attach .template-preview-header   { background-color: #e2e7ed; }

#template-preview-toggle { float:right; }
#template-preview .template-preview-img { display:none; }

#template-content { text-align:center; }
#template-content img { width: 500px; }
/* --блок превьюшек документов */




/* Новые стили */
#content-wrapper {
    overflow:auto;
}

#content-actions {
    padding-left:0px;
}

#left h4 {
    margin: 12px 0 0 0;
}
#left {
    padding: 10px 0 0 0;
}

#content-wrapper1,
#view_patient_info {
    /*background: -moz-linear-gradient(center top , #C2E7F0 0%, #BED1E2 51%, #B4C1D4 100%) repeat scroll 0 0 transparent;/**/
    background: #c2e7f0; /* Old browsers */
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c2e7f0), color-stop(100%,#b4c1d4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* W3C */
    height:100%;
    overflow-y: scroll:
}

.user_info {
    /*background: -moz-linear-gradient(center top , #C2E7F0 0%, #BED1E2 51%, #B4C1D4 100%) repeat scroll 0 0 transparent;/**/
    background: #c2e7f0; /* Old browsers */
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c2e7f0), color-stop(100%,#b4c1d4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* W3C */
}

#document-tabs-labels {
    margin:0px;
    padding:0 10px;
    position:relative;
    z-index:1;
    border:0;
    font-size:110%;
}
    #document-tabs-labels ul {
        padding-left:8px;
    }
    #document-tabs-labels ul li {
        padding:10px 10px 10px;
    }
    #document-tabs-labels  a {
        color:#000;
    }

    #document-tabs-labels ul li.selected {
        padding:0 24px 0 0;
        background:url('i/tabs_selected_r.png') no-repeat 100% 0;
    }
    #document-tabs-labels ul li.selected a {
        padding:10px 0px 10px 10px;
        display:block;
        background:url('i/tabs_selected_l.gif') no-repeat 0 0 #fff;
        font-weight:bold;
        text-decoration:none;
        cursor:default;
    }

.scrollable {
    margin:0;
    font-size:110%;
}
    .document-tab {
        margin:0 10px;
        padding-top:0;
        padding-right:0;
        overflow:visible;
        box-shadow: 0 4px 4px #999;
        background: #fff;
        border-radius: 5px;

    }
    .document-tab,
    #document-info,
    #document-tabs-labels {
        min-width: 800px;
    }

    #document-container {
        /*padding: 30px 10px 10px;*/
    }
    #panels-container .document-tab {
        margin:0px;
    }
    .life-cycle {
        background:none;
    }
    .life-cycle .left {
        padding:0 15px 0 5px;
        border-width:0;
        border-radius: 5px 0px 0px 5px;
        /*background: -moz-linear-gradient(center left , #fff 0%, #ECF1F5 51%, #D4E1E9 100%) repeat scroll 0 0 transparent;/**/

        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(left, #ffffff 0%, #d4e1e9 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(100%,#d4e1e9)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left, #ffffff 0%,#d4e1e9 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left, #ffffff 0%,#d4e1e9 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(left, #ffffff 0%,#d4e1e9 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d4e1e9',GradientType=1 ); /* IE6-9 */
        background: linear-gradient(left, #ffffff 0%,#d4e1e9 100%); /* W3C */
    }
    .life-cycle .right {
        margin-left:15%;
        padding-left:20px;
        position:relative;
        background:#fff;
        border:none;
        border-radius: 5px 5px 5px 5px;
        box-shadow: -2px 0 2px #ccc;
        min-height: 400px;
    }
    .document-subtab {
        min-height: 400px;
    }


    .life-cycle .left li {
        margin:0 0 7px;
        padding:4px 5px 4px 0;
    }
    .life-cycle .left li.first {
        padding-bottom:10px;
        font-weight:bold;
    }
    .life-cycle .left li.last {
        padding-top:10px;
    }
    .life-cycle .left li.icon_1 {
        background:url('i/cycle_menu_icon_1.gif') no-repeat 10px 50%;
    }
    .life-cycle .left li.icon_2 {
        background:url('i/cycle_menu_icon_2.gif') no-repeat 10px 50%;
    }
    .pseudo-radio {
        padding:4px 12px 4px 22px;
        text-decoration:underline;
        cursor:pointer;
    }
    .life-cycle .left .pseudo {
        border:none;
        color:#000;
    }
    .life-cycle .left  span.selected {
        padding-left:19px;
        padding-right:9px;
        border:3px solid #024186;
        border-radius: 14px;
        text-decoration:none;
    }
    .info_sprite {
        position:absolute;
        display:none;
    }
    .life-cycle .left li:hover .info_sprite {
        display:block;
        display:inline;
    }

button, button:hover {
    border-radius: 0px;

    box-shadow: 0 2px 2px #999;
    text-shadow:none;

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e3e4e6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e3e4e6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e3e4e6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#e3e4e6 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#e3e4e6 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3e4e6',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #ffffff 0%,#e3e4e6 100%); /* W3C */

}

button .icon_triangle {
    padding: 5px 0px 5px 15px;
    background:url('i/button_icon.png') no-repeat 0px 50%;

}
button .icon_pause {
    padding: 5px 0px 5px 15px;
    background:url('i/button_icon_pause.gif') no-repeat 0px 50%;
    font-size:15px;
}


button.blue {
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    border-radius: 14px;

    box-shadow: 0 2px 2px #000;
    text-shadow: none;

    /*background: -moz-linear-gradient(top, #54B5DF 0%, #135EA1 50%, #3177B2 51%, #353F86 100%); /* FF3.6+ */
    background: #54b5df; /* Old browsers */
    background: -moz-linear-gradient(top, #54b5df 0%, #135ea1 50%, #3177b2 51%, #353f86 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#54b5df), color-stop(50%,#135ea1), color-stop(51%,#3177b2), color-stop(100%,#353f86)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54b5df', endColorstr='#353f86',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* W3C */

    font-size: 100%;
    font-weight:bold;
    border:none;
    padding: 5px 10px 7px;

    color:#fff;
    margin:8px 0;
}
button.cancel {
    margin-left:15px;

    padding: 5px 10px 7px;
    background:#9CA7BD;
    border-radius:14px;
    font-weight:bold;
    color:#000;
    text-decoration:none;

    box-shadow: none;
    text-shadow: none;
}




.cycle-actions .pseudo {
    color: #000;
}
.icon.comment1 {
    background-image:url('i/icon-comment.png');
    background-position:1px 3px;
}

.icon.cross {
    background:url('i/icon_close.png') no-repeat 0 0;
    cursor:pointer;
}
/**/
    table.agreement_owner,
    .agreement_visitor_wrap {
        margin-left:-20px;
    }
    .agreement_owner th,
    .agreement_owner td,
    .agreement_visitor th,
    .agreement_visitor td {
        padding:7px 8px 7px 0;
    }

    table.document-history th {
        padding:7px 15px 7px 15px;
    }
    table.document-history td {
        padding:7px 15px 20px 15px;
    }

    .agreement_owner th,
    .agreement_visitor th,
    table.document-history th {
        background:#EBF5FE;
    }
    .agreement_owner td {
        border-bottom:2px solid #F2F2F2;
    }
    .agreement_owner .first {
        width:40px;
        padding:0;
        border:0;
        /*padding-left:40px;/**/
    }

    .agreement_owner .person {
        padding:0 0 10px;
    }

    .agreement_visitor .first,
    .agreement_visitor .cycle-group-separator .first,
    .document-history .first {
        padding-left:20px;/**/
    }
    .agreement_visitor td,
    .document-history td {
        font-size:13px;
    }
    .agreement_visitor .status {
        font-style:normal;
        color:#000;
    }
    .agreement_visitor .icon.complete {
        margin-right:-1px;
    }
    .agreement_visitor .icon.pause {
        top:2px;
    }
    .agreement_visitor .show_all {
        margin-left:3px;
        font-size:12px;
    }
    .agreement_visitor .cycle-group-separator .icon {
        top:4px;
        font-size:16px;
    }
    .agreement_visitor .cycle-group-separator hr {
        height:1px;
    }

    .arrow_box {
        position:relative;
    }
    .life-cycle .arrow_box .icon {
        position:absolute;
        top:-3px;
        background:#fff;
        color: #9EAAB7;
    }

hr.grey {
    height:2px;
    background:#F2F2F2;
}

.icon.plus {
    background-image:url('i/icon_plus.gif');
    background-position:0px 0px;
}

.add_cycle {
    padding:15px 20px;
}
    .add_cycle .pseudo {
        color:#000;
    }

    .previous {
        margin:0 0 0 -20px;
        padding:0px 20px;
        background:url("../img/bgs/shadow-top-bg.png") repeat-x left top;
    }
        .previous .pseudo span {
            border:0;
        }

.icon.down {
    background-image:url('i/icon_down.gif');
    background-position:0px 5px;
}



.life-cycle .bubble {
    padding:12px 20px;
    border:3px solid #fff;
    border-radius:3px;
    /*background: -moz-linear-gradient(center top , #356A9E 0%, #1F2B5D 100%) repeat scroll 0 0 transparent;/**/


    background: #356a9e; /* Old browsers */
    background: -moz-linear-gradient(top, #356a9e 0%, #1f2b5d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356a9e), color-stop(100%,#1f2b5d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356a9e', endColorstr='#1f2b5d',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* W3C */

    color:#fff;
}

    .bubble_arrow {
        width:27px;
        height:15px;
        position:absolute;
        left:50px;
        top:-15px;

        background:url("i/bubble_arrow.png") no-repeat 0 0;
    }

    .bubble .white_button {
        padding:7px 12px;
        background:#fff;
        border-radius:14px;
        font-weight:bold;
        color:#000;
        text-decoration:none;
        cursor:pointer;
    }
    .bubble .form-buttons {
        margin-top:25px;
    }



/**********************/
.cycle-actions .stop-cycle span {
    color:#026AB3;
    font-size:13px;
}

    .print_version {
        margin:7px 0 0;
        padding:1px 0 1px 23px;
        position:absolute;
        right:20px;
        background:url("i/icon_print.gif") no-repeat 0 2px;
        font-size:13px;
    }

    .cycle-info {
        font-size:13px;
    }

    .life-cycle .cycle-message {
        margin:1em 0 0 -20px;
        padding:10px 20px 0;
        background:url("../img/bgs/shadow-top-bg.png") repeat-x left top;
        font-style:normal;
    }

    .life-cycle .expandable td {
        background:none;
    }

    .life-cycle .expandable .expander {
        padding:10px 10px 10px 0;
    }

    .expander_bubble {

        padding:12px 20px;
        position:relative;
        border:3px solid #fff;
        border-radius:3px;
        /*background: -moz-linear-gradient(center top , #356A9E 0%, #1F2B5D 100%) repeat scroll 0 0 transparent;/**/


        background: #356a9e; /* Old browsers */
        background: -moz-linear-gradient(top, #356a9e 0%, #1f2b5d 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356a9e), color-stop(100%,#1f2b5d)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356a9e', endColorstr='#1f2b5d',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #356a9e 0%,#1f2b5d 100%); /* W3C */

        color:#fff;

        box-shadow: 0 3px 15px #777;
    }
    .expander_bubble .bubble_arrow {
        margin-left:15%;
    }
    .expander_bubble .document-related-item {
        box-shadow: none;
    }

    .life-cycle .expandable .message {
        padding:0;
        background:none;
    }
    .life-cycle .expandable .document-related-item {
        border:2px solid #9FAFBE;
        box-shadow:none;
    }
    .life-cycle .expandable .document-related-title {
        font-size:14px;
    }
    .life-cycle .expandable .document-related-actions {
        margin-top:5px;
    }
    .life-cycle .expandable .d-date {
        color:#000;
    }
    .document-related-version {
        margin-left:5px;
        font-size:13px;
        font-style:italic;
        font-weight:normal;
        color: #676767;
    }


/******************************/
.document_history_wrap {
    margin:0px 0 0 -20px;/**/
    /*border-radius: 5px;/**/
    position:relative;
    overflow:hidden;
}
table.document-history {
    margin:0;
}


    table.document-history th.sort_col {
        background:#D9ECFB;/**/
    }
    table.document-history td.sort_col {
        /*background:#fafafa;/**/
        background:#ebf5fe;
    }
    .document-history .sort_col .sort_icon {
        font-size:11px;
    }

    .document-history td.first {
        padding-right:30px;
        white-space:nowrap;
    }

    .document-history .complete {
        margin-left:3px;
    }

/*************************************/
#tab2 {
    padding:10px;
    background:#fff;
    font-size:13px;
    border-radius:5px;
}
.document-tab .expandable {
    margin-right:20px;

}

.document_type {
    width:auto;
}


#template-actions {
    display:none;
}


#template-preview-toggle,
.template-preview-img {
    display:none;
}

#template-preview-attach .template-preview-header {
    background:#EBF5FE;
}
#template-preview-main {
    background:#EBF5FE;
}
    #template-preview-main .template-preview-header {
        background:#D9ECFB;
    }


/******************************************************/
#create_doc_bubble,
.bubble_menu {
    padding:0;
    border-radius:3px;
}
    #create_doc_bubble .bubble_arrow,
    .bubble_menu .bubble_arrow {
        left:20px;
    }

    #create_doc_bubble .new_bubble,
    .bubble_menu .new_bubble{
        margin:0;
        padding:0;
        top:-3px;
        left:100%;
        white-space:nowrap;
        /*box-shadow:0 3px 15px #777777;/**/
        border-radius:3px;
    }

    .bubble_menu_el {
        /*padding:8px 12px;/**/
        position:relative;
    }
        .bubble_menu_el a {
            padding:8px 12px;
            display:block;
            color:#fff;
        }
    .bubble_menu_el:hover {
        background:#466EA1;
    }
    .bubble_menu_el:hover .new_bubble {
        display:block;
    }



/******************************************************/
.template_select_box {
    width:100%;
    height:100%;
    min-height:450px;
    position:absolute;
    z-index:100;
    background:url("i/x_shadow.png") repeat 0 0;
}

.template_select {
    width:640px;
    /*margin:100px 0 0 100px;/**/
    top:100px;
    left: 100px;

    overflow:hidden;
}
    .template_select_head {
        padding:10px 30px;
        position:relative;
        z-index:1;
        box-shadow:0 0 10px #294F7C;
    }
        .round_bubble_closer {
            position:absolute;
            right:15px;
            top:12px;
            color:#99B3CE;
        }
            .round_bubble_closer span {color:#99B3CE;}

            .i_close {
                font:26px/18px monospace;
                vertical-align:text-top;/**/
            }

        .template_select_head h3 {
            margin:0;
            font-size:18px;
            font-weight:normal;
        }

    .template_select_body {
        height:215px;
        padding:0px 0px;
        position:relative;
    }
        .template_select_ul {
            height:215px;
            position:relative;
            float:left;
            overflow:auto;
        }
            .template_select_ul_layout {
                min-height:196px;
                padding:10px 0;
            }
            .template_select_li,
            .template_select_expander {
                position: relative;
                padding:0px 15px;
                cursor:pointer;
            }
                .template_select_li:hover {
                    background:#466EA1;
                }

            .template_select_li span,
            .template_select_expander span {
                display:block;
                padding:6px 15px;
            }
                .template_select_li small {
                    display:block;
                    font-size:12px;
                    color:#99B3CE;
                }



        .template_select_li_selected,
        .template_select_li_selected:hover {
            background:none;
        }

        .template_select_li_selected span {
            padding:3px 12px;
            border:3px solid #024186;
            border-radius:12px;
            background:#fff;
            color:#000;
            font-weight:bold;
        }
            .template_select_li_selected small {
                color:#676767;
            }


    .template_select_bottom {
        padding:20px 30px;
        position:relative;
        box-shadow:0 0 10px #1B2D54;
    }


    .template_select_ul_1 {
        width:160px;
    }
    .template_select_ul_2 {
        width:200px;
    }
    .template_select_ul_3 {
        width:280px;
    }

    /*.template_select_ul/**/
    .template_select_li {
        display:none;/**/
    }
    .template_select_ul_1 .template_select_li {
        position: relative;
        display:block;
    }

    .template_select_expander i {
        position: absolute;
        top:0.4em;
    }
    .template_select_group {
        padding:0 0 5px 15px;
        display: none;
    }



#new_doc_template_select {
    display:none;

}

/**/




/* Исполнение */
.implementation_header_wrap {
    margin-left:-20px;
    background:#EBF5FE;
}
    table.implementation_header {
        width: 100%;
        margin: 0;
    }
    .implementation_header th {
        padding:7px 8px 7px 20px;
        background: none;
    }
    .implementation_header th.Im_dt_col,
    .implementation_header th.Im_stat_col {
        padding: 5px;
        vertical-align: middle;
        color: #000;
    }
    .implementation_header th.Im_stat_col {
        padding-right: 26px;
    }
        .implementation_header th div {
            width: 100px;
        }


    .Im_dt_col {
        width: 77px;
        vertical-align: middle;
        color: #608792;
    }
    .Im_stat_col {
        width: 108px;
        vertical-align: middle;
    }
    td.Im_dt_col, td.Im_stat_col {
        vertical-align: middle;
    }

.implementations div{
    font-size: 13px;
}

    .implementations table {
        width: 100%;
        margin: 0;
    }
    .implementations td {

    }

.Im_item {
    /*width: 100%;/**/
    padding: 20px 0 0;
    position: relative;
    overflow: hidden;
}
    .Im_box {

        zoom:1;

        border-radius: 5px;
    }

    .Im_box_1 {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #e0e4e7 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e0e4e7)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e4e7',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* W3C */

        border: 1px solid #e3e3e3;
        border-top-color: #f2f2f2;
        border-bottom-color: #c5c5c5;
        padding: 2px;
    }

    .Im_has_sub.Im_box_1:hover {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #f6f7f8 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f7f8)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f7f8',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* W3C */
    }

    td.Im_info_col {
        vertical-align: top;
    }
    .Im_has_sub td.Im_info_col {
        padding-left: 23px;
    }
    .Im_icon {
        width: 16px;
        height: 16px;
        margin: 0 0 -16px;
        position: relative;
        left: -19px;
        background: url('i/imp_icons.png') no-repeat 0 0;
        display: none;
        cursor: pointer;
    }
    .Im_print_icon {
        width: 16px;
        height: 16px;
        margin: 0 0 -16px;
        position: relative;
        left: -19px;
        background: url('../img/icons/printer.png') no-repeat 0 0;
        cursor: pointer;
    }
    .Im_has_sub .Im_icon {display: block;}

        .Im_box:hover .Im_icon {
            background-position: 0 -16px;
        }

        .Im_box_open .Im_icon {
            background-position: 100% 0;
        }

        .Im_box_open:hover .Im_icon {
            background-position: 100% -16px;
        }

    .Im_fix {
    }

    .Im_name {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
    }
    .Im_box_open .Im_name {
        white-space: normal;
    }
    .Im_name_wrap {
        width: 100%;
        margin: 0 -10000px 0 0;
    }
    .Im_name_shad {
        width: 1px;
        height: 3em;
        position: absolute;
        top:0;
        right: 0;
        background: #fff;
        box-shadow: 0px 0 100px #ffffff;
    }
    .Im_box_open .Im_name_shad {display: none;}

    .Im_info {
        padding: 5px 0 0;
        font-size: 10px;
    }
        .Im_info a {color: #000;}

    .Im_stat_inwork {
        color: #258f36;
    }
    .Im_stat_wait {
        color: #d99012;
    }

    .Im_sub {
        /*padding: 0 0 0 30px;/**/
        position: relative;
        overflow: hidden;
        display: none;

    }

    .Im_dots_show {
        background: url('i/imp_dots.gif') repeat-y 13px 0;
    }
        .Im_sub_open {
            display: block;
        }

        .Im_sub .Im_item {
            padding-left: 25px;
            background: url('i/imp_icon_r.gif') no-repeat 15px 31px;
        }

        .Im_last_bg {
            width: 16px;
            height: 1000;
            min-height: 100%;
            position: absolute;
            left: 0;
            top: 34px;
            background: #fff;
        }


    .Im_box_2 {
        background: #ebf5fe; /* Old browsers */
    }
    .Im_has_sub.Im_box_2:hover {
        background: #f6fbff; /* Old browsers */
    }
        .Im_box_2 .Im_name {
            color: #608792;
        }
        .Im_box_2 .Im_name a {
            color: #000;
        }


    .Im_box_3 {
        background: #f7f9fa; /* Old browsers */
    }
    .Im_has_sub.Im_box_3:hover {
        background: #f7f9fa; /* Old browsers */
    }
    .Im_box_3 table {
        zoom:1;
        background: #35689c; /* Old browsers */
        background: -moz-linear-gradient(top, #35689c 0%, #2c5083 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#35689c), color-stop(100%,#2c5083)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #35689c 0%,#2c5083 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #35689c 0%,#2c5083 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #35689c 0%,#2c5083 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35689c', endColorstr='#2c5083',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #35689c 0%,#2c5083 100%); /* W3C */
        border-radius: 5px;
    }
        .Im_box_3 .Im_dt_col,
        .Im_box_3 .Im_stat_col,
        .Im_box_3 .Im_name,
        .Im_box_3 .Im_stat_inwork,
        .Im_box_3 .Im_name a
        {
            color: #fff;
        }
    .Im_acts {
        padding: 15px 10px;
    }



    .Im_item_expander {
        padding: 20px 10px 20px 40px;
        position: relative;
        display: none;
    }
        .Im_item_expander .expander_bubble {
            box-shadow: 0 3px 10px #777777;
        }

        .Im_item_expander .bubble_arrow {
            margin-left: 242px;
            /*left: auto;
            right: 50px;/**/
        }
        .Im_item_expander .history_bubble_arrow {
            margin-left: 306px;
            /*left: auto;
            right: 50px;/**/
        }
.Im_item_expander .document-executors-expander {
    position: relative;
    display: block;
    box-shadow: 0 3px 10px #777777;
    overflow: visible;
}



/* ДОКУМЕНТЫ */
#doc_template_select_popup {
    display:none;

}

.Ds_bubble {
    width: 720px;
}
.Ds_body {
    height: 450px;
    position: relative;
    background: #f9fafb;
    color: #000;
}


.Ds_content {
    width: 70%;
    height: 100%;
    position: absolute;
    left: 30%;
    top: 0;
    background: #f3f4f6;
}
    .Ds_search_box {
        height: 45px;
        padding: 15px 10px 0;
    }

.Ds_tab_wrap {
    width: 100%;
    height: 415px;
    position: relative;
    overflow: hidden;
}
    .Ds_tab_head {
        width: 100%;
        height: 37px;
        position: absolute;
        left: 0;
        top:0;
        overflow: hidden;
        z-index: 1;


        zoom:1;
        background: #f9fafb; /* Old browsers */
        background: -moz-linear-gradient(top, #f9fafb 0%, #dce1e4 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9fafb), color-stop(100%,#dce1e4)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #f9fafb 0%,#dce1e4 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #f9fafb 0%,#dce1e4 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #f9fafb 0%,#dce1e4 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fafb', endColorstr='#dce1e4',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #f9fafb 0%,#dce1e4 100%); /* W3C */

    }
        .Ds_tab_head_wrap {
            position: relative;
        }

    .Ds_tab_data {

        height: 353px;
        margin: 37px 0 0;
        /*margin: 0 -10000px 0 0;/**/
        position: relative;
        overflow: auto;
    }
        .Ds_tab_data table {
            margin: -37px 0 0;
        }

    .Ds_table {
        width: 100%;
        color: #000;
        border-collapse: collapse;
    }
        .Ds_table th {
            /*height: 48px;/**/
            padding: 9px 10px 0px;
            /*background: #eef0f2;/**/
            border: 1px solid #c7cdd2;
            white-space: nowrap;
            text-align: left;
            vertical-align: top;
            font:normal 12px Arial;
        }
            .Ds_th_wrap {
                /*height: 48px;/**/
            }

            .Ds_th_height {
                height: 18px;
                padding: 0 0 8px;
            }

        .Ds_table td {
            padding: 7px 10px;
            border: 1px solid #e0e4e9;
            border-left: 1px dotted #c7cdd2;
            border-right: 1px dotted #c7cdd2;
            white-space: nowrap;
            font-size: 11px;
        }
        .Ds_table {
            border: 1px solid #e0e4e9;
        }



        .Ds_table tr:hover td {
            zoom:1;
            background: #ffffff; /* Old browsers */
            background: -moz-linear-gradient(top, #ffffff 0%, #ebeff2 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebeff2)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* Opera11.10+ */
            background: -ms-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* IE10+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebeff2',GradientType=0 ); /* IE6-9 */
            background: linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* W3C */
        }
        .Ds_table tr.Ds_tab_tr_selected td {
            zoom:1;
            background: #fef384; /* Old browsers */
            background: -moz-linear-gradient(top, #fef384 0%, #f9dc95 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fef384), color-stop(100%,#f9dc95)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #fef384 0%,#f9dc95 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #fef384 0%,#f9dc95 100%); /* Opera11.10+ */
            background: -ms-linear-gradient(top, #fef384 0%,#f9dc95 100%); /* IE10+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fef384', endColorstr='#f9dc95',GradientType=0 ); /* IE6-9 */
            background: linear-gradient(top, #fef384 0%,#f9dc95 100%); /* W3C */
        }

        .Ds_table td.Ds_td_title {
            font-size: 12px;
        }
        .Ds_table tr:hover td.Ds_td_title {
            color: #026AB3;
        }

        .Ds_table a {
            color: #000;
        }

        .Ds_col_search_box {
            height: 20px;
            margin: 0px 0 0 5px;
            background: #fff;
            border: 1px solid #a0a7b2;
            border-radius: 3px;
            display: inline-block;
            //display: inline;
            zoom:1;
            font-size: 12px;
            position: relative;
            overflow: hidden;
            /*vertical-align: -5px;/**/
            top:-3px;
            vertical-align: top;
            white-space: nowrap;
        }
            .Ds_col_search_box input {
                height: 16px;/**/
                margin: 0;
                padding: 0 5px;
                border: 0;
                line-height: 16px;
                font-size: 12px;
                vertical-align: middle;
                outline: none;
            }

            button.Ds_search_button {
                height: 20px;
                padding: 0 4px;
                margin: 0;
                border: 0;
                border-left: 1px solid #a0a7b2;
                box-shadow: none;
                border-radius: 0;
                font-size: 12px;
                vertical-align: middle;
            }
                button.Ds_search_button img {
                    margin: 3px 0 0;
                }
        .Ds_col_search_box_closed {}
            .Ds_col_search_box_closed input {
                display: none;
            }
            .Ds_col_search_box_closed button.Ds_search_button {
                border: none;
                border-radius: 3px;
            }
        .Ds_col_search_box_open {}

            .Ds_col_search_box_open button.Ds_search_button {
                border:none;
                border-right: 1px solid #a0a7b2;
                background: #ebeff2;
                background: -moz-linear-gradient(top, #ebeff2 0%, #ffffff 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebeff2), color-stop(100%,#ffffff));
                background: -webkit-linear-gradient(top, #ebeff2 0%,#ffffff 100%);
                background: -o-linear-gradient(top, #ebeff2 0%,#ffffff 100%);
                background: -ms-linear-gradient(top, #ebeff2 0%,#ffffff 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebeff2', endColorstr='#ffffff',GradientType=0 );
                background: linear-gradient(top, #ebeff2 0%,#ebeff2 100%);
                border-radius: 3px 0 0 3px;
            }


        .Ds_search_box .Ds_col_search_box {
            height: 25px;
            font-size: 15px;
        }
        .Ds_search_box .Ds_col_search_box input {
            width: 300px;
            height: 20px;
            line-height: 20px;
            font-size: 15px;
        }
        .Ds_search_box button.Ds_search_button {
            height: 25px;/**/
            padding: 0 15px;
            font: 14px/25px Arial;
            /*color: #026AB3;/**/
            color: #fff;
            background: #2f91c9;
                background: -moz-linear-gradient(top, #2f91c9 0%, #284f97 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2f91c9), color-stop(100%,#284f97));
                background: -webkit-linear-gradient(top, #2f91c9 0%,#284f97 100%);
                background: -o-linear-gradient(top, #2f91c9 0%,#284f97 100%);
                background: -ms-linear-gradient(top, #2f91c9 0%,#284f97 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f91c9', endColorstr='#284f97',GradientType=0 );
                background: linear-gradient(top, #2f91c9 0%,#284f97 100%);
        }


.Ds_tree {
    width: 30%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: auto;
}
    .Ds_tree_layout {
        min-height: 100%;
        padding: 10px 0px 10px 10px;/**/
        position: relative;
        /*overflow: hidden;/**/
    }
        .Ds_tree_layout table,
        .Ds_tree_layout td {
            border-collapse: collapse;
            margin: 0;
            padding: 0;
            border: 0;
        }
        .Ds_tree_layout table {
            width: 100%;
        }
        .Ds_tree_layout td {
            /*padding: 10px;/**/
        }

    .Ds_ul {
        padding: 0 0 5px 15px;
        display: none;
    }

    .Ds_li {
        padding: 0 0 0 15px;
        position: relative;
        color: #026AB3;
        white-space: nowrap;
    }
        .Ds_lw {
            width: 100%;
            margin: 0 0 0 -500px;
            padding: 3px 0px 3px 500px;
        }

    .Ds_li_selected {
        /*color: #000;/**/
        color: #fff;
    }
        .Ds_li_selected1 .Ds_lw {
            padding-top: 2px;
            padding-bottom: 2px;

            zoom:1;
            background: #ffffff; /* Old browsers */
            background: -moz-linear-gradient(top, #ffffff 0%, #ebeff2 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebeff2)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* Opera11.10+ */
            background: -ms-linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* IE10+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebeff2',GradientType=0 ); /* IE6-9 */
            background: linear-gradient(top, #ffffff 0%,#ebeff2 100%); /* W3C */

            border-top: 1px solid #e6e7e8;
            border-bottom: 1px solid #b2b2b3;
        }

        .Ds_li_selected .Ds_lw {
            background: #3c679d;
        }


        .Ds_li i {
            position: absolute;
            left: 2px;
            /*top: 0.4em;/**/
            font: 10px Arial;
            cursor: pointer;
        }
        .Ds_li span {
            margin: 0 3px 0 0;
            cursor: pointer;
        }
        .Ds_li i:hover,
        .Ds_li span:hover {
            color: #ff0000;
        }
        .Ds_li_selected span,
        .Ds_li_selected span:hover {
            /*color: #000;/**/
            color: #fff;
            cursor: default;
        }

        .Ds_li small {
            margin: 0 10px 0 0;
            font: 10px Arial;
            color: #999;
        }
        .Ds_li_selected small {

        }

/**/

.diagnosis_buttons {
    float: right;
    margin-right: 12px;
}
.diagnosis_buttons {
    margin-left: 6px !important;
}

    .diagnosis_buttons img:hover {
        cursor: pointer;
    }

#toolbar_bubble {
    padding:10px 0;
    border-radius:3px;
    top:0;
    left: 0;
    display: none;
}
    .toolbar_bubble a {
        padding: 8px 12px 8px 30px;
        position: relative;
    }

    .toolbar_bubble i {
        width: 18px;
        height: 15px;
        margin: 0;
        display: block;

        position: absolute;
        top: 10px;
        left: 10px;

        /*vertical-align: -3px;/**/
        background: url('i/toolbar_icons.png') no-repeat 0 0;
    }



#edit_toolbar {
    padding: 5px 0 5px 40px;


    zoom:1;
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #f7f7f7 0%, #efefef 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f7f7f7 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f7f7f7 0%,#efefef 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #f7f7f7 0%,#efefef 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #f7f7f7 0%,#efefef 100%); /* W3C */

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #d6d6d6;
}
    #edit_toolbar_table {
        width: 100%;
    }
        #edit_toolbar_table td {
            padding: 0 3px;
        }

    #edit_toolbar button {
        padding: 3px 5px;
        font: 13px Arial;
        color: #6a6a6a;
        border-radius: 5px;
        white-space: nowrap;
        box-shadow: 0 1px 1px #999999;
    }
    #edit_toolbar button:hover {
        /*box-shadow: inset 0 1px 1px #999999;/**/
        background: #fff;

    }
    #edit_toolbar button:active {
        box-shadow: inset 0 1px 1px #999999;
    }
        #edit_toolbar button i,
        .T_include i,
        .T_plus i {
            width: 18px;
            height: 15px;
            display: inline-block;
            //display: inline;
            zoom: 1;
            vertical-align: -3px;
            background: url('i/toolbar_icons.png') no-repeat 0 0;
        }
            .T_save i       {background-position: 0 0;}
            .T_download i   {background-position: 0 -15px;}
            .T_open i       {background-position: 0 -30px;}
            .T_duplicate i  {background-position: 0 -45px;}
            .T_rename i         {background-position: 0 -60px;}
            .T_delete i         {background-position: 0 -75px;}
            .T_include i        {background-position: 0 -90px;}
            .T_edit i       {background-position: 0 -105px;}
            .T_plus i       {background-position: 0 -120px;}

    .T_hidden {
        display: none;
    }
    .T_full .T_hidden {
        display: block;
    }

    #edit_toolbar button.T_save {
        background: #9bd3ec; /* Old browsers */
        background: -moz-linear-gradient(top, #9bd3ec 0%, #426fa5 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9bd3ec), color-stop(100%,#426fa5)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #9bd3ec 0%,#426fa5 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #9bd3ec 0%,#426fa5 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #9bd3ec 0%,#426fa5 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bd3ec', endColorstr='#426fa5',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #9bd3ec 0%,#426fa5 100%); /* W3C */

        border-top: 1px solid #9bd3ec;
        border-bottom: 1px solid #818181;
        color: #fff;
    }
    #edit_toolbar button.T_save:hover {
        background: #50a1cc;
    }


        .edit_toolbar_split div {
            width: 0;
            height: 20px;
            border-left: 1px solid #dfdfdf;
            border-right: 1px solid #ffffff;
        }




/**/
    .template-prevew-doc {
        margin: 5px 10px 5px 0;
        padding: 3px 25px 5px 8px;
        text-align: left;
        cursor: pointer;
    }
        .template-preview-name {
            margin: 0;
            padding: 2px 0;
        }

.template-prevew-doc1:hover {
        background: #ffffff;
        border: 1px solid #ddd;
        /*box-shadow: 0 1px 1px #aaaaaa;/**/
        border-radius: 5px;
    }

    .template_prevew_doc_selected {
        zoom:1;
        background: #2d4a69; /* Old browsers */
        background: -moz-linear-gradient(top, #2d4a69 0%, #5081b4 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2d4a69), color-stop(100%,#5081b4));
        background: -webkit-linear-gradient(top, #2d4a69 0%,#5081b4 100%);
        background: -o-linear-gradient(top, #2d4a69 0%,#5081b4 100%);
        background: -ms-linear-gradient(top, #2d4a69 0%,#5081b4 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d4a69', endColorstr='#5081b4',GradientType=0 );
        background: linear-gradient(top, #2d4a69 0%,#5081b4 100%);
        /**/

        /*border: 1px solid #eee;
        box-shadow: inset 0 2px 2px #aaaaaa;/**/
        border-radius: 5px;
        color: #fff;

    }
        .template_prevew_doc_selected .pseudo {
            color: #fff;
            font-weight: bold;
        }

        .template_prevew_doc_selected .T_include i {
            background-position: -15px -90px;
        }
    #template-preview-main  {
        width: 100px;

        background: #d9dee1;
        background: -moz-linear-gradient(top, #eef2f4 0%, #d8dee0 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eef2f4), color-stop(100%,#d8dee0));
        background: -webkit-linear-gradient(top, #eef2f4 0%,#d8dee0 100%);
        background: -o-linear-gradient(top, #eef2f4 0%,#d8dee0 100%);
        background: -ms-linear-gradient(top, #eef2f4 0%,#d8dee0 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eef2f4', endColorstr='#d8dee0',GradientType=0 );

        border-right: 1px solid #d1d6d8;
    }
    #template-preview #template-preview-attach {
        padding-left: 10px;
        border-left: 1px solid #fff;
    }

    #template-preview-main .template-prevew-doc {
        width: 100px;
        margin-left: 30px;
        padding: 3px 0 0;
    }
        #template-preview-main .template-prevew-doc:hover {
            border: 0;
            background: none;
        }


        #template-preview-main .template-preview-name {
            padding: 1px 10px;
            background: none;
            font: 15px Arial;
        }

.template_menu_exp {
    padding: 1px 4px;
    position: absolute;
    right: 4px;
    top: 6px;
    color: #0264cf;
    cursor: pointer;
    font: 10px Arial;
    /*background: #EDF2F5;/**/

    /*display: block;/**/
    display: inline-block;
    //display: inline;
    zoom:1;

    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #dbdbdb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dbdbdb));
    background: -webkit-linear-gradient(top, #ffffff 0%,#dbdbdb 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#dbdbdb 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#dbdbdb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dbdbdb',GradientType=0 );
    background: linear-gradient(top, #ffffff 0%,#dbdbdb 100%);

    border-radius: 10px;
    box-shadow: 0 1px 1px #ccc;
}
.template_menu_exp:hover {
    color: #d20000;
}

        .template_prevew_doc_selected .template_menu_exp {
            /*background: #ffffff;/**/
            box-shadow: 0 1px 1px #3f668e;
        }




/**/
.content-actions-item .Ds_col_search_box {
    top:3px;
    line-height: 16px;
    /*vertical-align: middle;/**/
}
#content-actions .blue {
    color: #0264CF;
}

#content-actions {
    height: auto;
}
#panels-container {
    top: 0px;
}
.content-actions-item {
    margin-top: 5px;
}
    #content-actions button.Ca_button {
     /*   width: 22px;
        height: 22px;*/
        margin: 8px 5px 0 0;
        padding: 3px;
        border-radius: 5px;
        box-shadow: 0 1px 2px #999;
        font: 16px/16px Arial;

    }

        #content-actions button.Ca_button:hover {
            background: #ffffff;
            background: -moz-linear-gradient(top, #ffffff 0%, #e8eff3 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8eff3));
            background: -webkit-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            background: -o-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            background: -ms-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8eff3',GradientType=0 );
            background: linear-gradient(top, #ffffff 0%,#e8eff3 100%);

        }
        #content-actions button.Ca_button:active {
            /*background: #fff;/**/
            box-shadow: inset 0 1px 2px #999;

            background: #ffffff;
            background: -moz-linear-gradient(top, #ffffff 0%, #d0d6da 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d0d6da));
            background: -webkit-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            background: -o-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            background: -ms-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d0d6da',GradientType=0 );
            background: linear-gradient(top, #ffffff 0%,#d0d6da 100%);
        }


        .Ca_button i {
            width: 16px;
            height: 16px;
            margin: 1px 0 0;

            display: inline-block;
            //display: inline;
            zoom:1;
            position: relative;
            top:0;
            background: url('../img/toolbar_icons.png') no-repeat 0 0;

        }
            .Ca_refresh i       {background-position: 0 0;}
            .Ca_add     i       {background-position: -16px 0;}
            .Ca_send    i       {background-position: -32px 0;}
            .Ca_folder  i       {background-position: -48px 0;}
            .Ca_edit    i       {background-position: -64px 0;}
            .Ca_control i       {background-position: -80px 0;}
            .Ca_save    i       {background-position: -96px 0;}
            .Ca_delete  i       {background-position: -112px 0;}
            .Ca_close   i       {background-position: -128px 0;}
            .Ca_plan    i       {background-position: -144px 0;}
/*
            .T_download i   {background-position: -16px;}
            .T_open i       {background-position: 0 -30px;}
            .T_duplicate i  {background-position: 0 -45px;}
            .T_rename i         {background-position: 0 -60px;}
            .T_delete i         {background-position: 0 -75px;}
            .T_include i        {background-position: 0 -90px;}
            .T_edit i       {background-position: 0 -105px;}
            .T_plus i       {background-position: 0 -120px;}
/**/
.My_button{
    margin: 8px 5px 0 0;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 1px 2px #999;
    font: 16px/16px Arial;
}



/* ВЫБОР АДРЕСАТОВ  */
#R_popup {}


    #R_popup .template_select {
        width: 750px;
    }
    #R_popup .template_select_head {
        box-shadow: none;
    }

    .R_tabs {
        padding: 0 140px 0 7px;
        position: relative;
        top:1px;
        white-space: nowrap;
    }
        .R_tab {
            margin: 0 -13px 0 0;
            padding: 0px 23px 0px 0px;
            display: inline-block;
            //display: inline;
            zoom:1;
            color: #fff;
            white-space: nowrap;
            line-height: 13px;
        }
            .R_tab_w {
                padding: 10px 0px 10px 7px;
            }
            .R_tab ins {
                border: none;
                text-decoration: underline;
            }

        .R_tab_selected {
            background: url("../img/res/menu_bg.png") no-repeat 100% 100%;
            color:#000;
            font-weight: bold;
        }
            .R_tab_selected .R_tab_w {
                background: #f2f4f6;
                background: -moz-linear-gradient(top, #fff 0%, #f2f4f6 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#f2f4f6));
                background: -webkit-linear-gradient(top, #fff 0%,#f2f4f6 100%);
                background: -o-linear-gradient(top, #fff 0%,#f2f4f6 100%);
                background: -ms-linear-gradient(top, #fff 0%,#f2f4f6 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f2f4f6',GradientType=0 );
                zoom:1;
                border-radius: 5px 0 0 0;
            }
            .R_tab_selected ins {

                text-decoration: none;
                color:#000 !important;
            }

        .R_tab_r {
            margin:0;
            padding: 0px 0px 0px 23px;
            position: absolute;
            right: 7px;
        }
            .R_tab_r .R_tab_w {
                padding: 10px 7px 10px 0px;
            }
            .R_tab_selected.R_tab_r {
                background-position: 0 100%;
            }
            .R_tab_selected.R_tab_r .R_tab_w {
                border-radius:0 5px 0 0 ;
            }

    .R_search_box {
        height: auto;
        padding: 10px 10px 10px;

        background: #f2f4f6;
        background: -moz-linear-gradient(top, #f2f4f6 0%, #dee4e8 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f4f6), color-stop(100%,#dee4e8));
        background: -webkit-linear-gradient(top, #f2f4f6 0%,#dee4e8 100%);
        background: -o-linear-gradient(top, #f2f4f6 0%,#dee4e8 100%);
        background: -ms-linear-gradient(top, #f2f4f6 0%,#dee4e8 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f4f6', endColorstr='#dee4e8',GradientType=0 );
        zoom:1;

        border-top: 1px solid #fff;
    }
        .R_search_box .Ds_col_search_box {
            top:0;
        }




    #R_popup .template_select_body {
        height: 700px;
        background: #cfd9df;
    }

    td.R_fav_col {
        width: 28px;
        padding: 8px 7px 0 10px;
        vertical-align: top;
    }

    .R_fav {
        width: 28px;
        height: 26px;
        background: url("../img/res/icon_fav.png") no-repeat 0 0;
        cursor: pointer;
    }
    .R_fav_selected {
        background-position: 0 100%;
    }
        .R_fav:hover {
            background-position: 0 50%;
        }

    .R_descr_trigger {
        margin: 5px 0 0;
        font: 12px/1.3em Arial;
        color: #026AB3;
    }
    .R_descr {
        margin: 5px 0 0;
        font: 12px/1.3em Arial;
        color: #69727c;
    }



/* Исполнение */

    .R_dt_col {
        width: 100px;
        vertical-align: middle;
        color: #608792;
    }
    .R_stat_col {
        width: 100px;
        vertical-align: middle;
    }
    td.R_dt_col, td.R_stat_col {
        vertical-align: middle;
    }


.R_item {
    /*width: 100%;/**/
    padding: 20px 0 0;
    position: relative;
    overflow: hidden;
    color:#000;
}
    .R_box {

        zoom:1;

        border-radius: 5px;
    }

    .R_box_1 {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #e0e4e7 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e0e4e7)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e4e7',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#e0e4e7 100%); /* W3C */

        border: 1px solid #e3e3e3;
        border-top-color: #f2f2f2;
        border-bottom-color: #c5c5c5;
    }

    .R_has_sub.R_box_1:hover {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #f6f7f8 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f7f8)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f7f8',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* W3C */
    }

    td.R_info_col {
        padding: 5px 0;
        vertical-align: top;
        width: 100%;
    }
    td.R_checkbox_col {
        padding: 5px 5px;
        vertical-align: top;
    }


    .R_has_sub td.R_info_col {
        padding-left: 23px;
    }
    .R_icon {
        width: 16px;
        height: 16px;
        margin: 0 0 -16px;
        position: relative;
        left: -19px;
        background: url('i/imp_icons.png') no-repeat 0 0;
        display: none;
        cursor: pointer;
    }
    .R_has_sub .R_icon {display: block;}

        .R_box:hover .R_icon {
            background-position: 0 -16px;
        }

        .R_box_open .R_icon {
            background-position: 100% 0;
        }

        .R_box_open:hover .R_icon {
            background-position: 100% -16px;
        }

    .R_fix {
        width: 100px;
    }

    .R_name {
        margin: 0 10px 0 0;
        display: inline-block;
        //display: inline;
        zoom:1;
        color: #000;
        font:17px Arial;
    }
    .R_post {
        display: inline-block;
        //display: inline;
        zoom:1;
        font:13px Arial;
        color: #69727c;
    }

    .R_box_open .R_name {
        white-space: normal;
    }
    .R_name_wrap {
        width: 100%;
        margin: 0 -10000px 0 0;
    }
    .R_name_shad {
        width: 1px;
        height: 3em;
        position: absolute;
        top:0;
        right: 0;
        background: #fff;
        box-shadow: 0px 0 100px #ffffff;
    }
    .R_box_open .R_name_shad {display: none;}

    .R_info {
        padding: 5px 0 0;
        font-size: 11px;
    }
        .R_info a {color: #000;}

    .R_stat_inwork {
        color: #258f36;
    }
    .R_stat_wait {
        color: #d99012;
    }

    .R_sub {
        /*padding: 0 0 0 30px;/**/
        position: relative;
        overflow: hidden;
        display: none;

    }

    .R_dots_show {
        background: url('i/imp_dots.gif') repeat-y 13px 0;
    }
        .R_sub_open {
            display: block;
        }

        .R_sub .R_item {
            padding-left: 25px;
            background: url('i/imp_icon_r.gif') no-repeat 15px 31px;
        }

        .R_last_bg {
            width: 16px;
            height: 1000;
            min-height: 100%;
            position: absolute;
            left: 0;
            top: 34px;
            background: #CFD9DF;
        }


    .R_box_2 {
        background: #fff; /* Old browsers */
    }
    .R_has_sub.R_box_2:hover {
        background: #f6fbff; /* Old browsers */
    }
        /*
        .R_box_2 .R_name {
            margin: 0 15px 0 0;
            display: inline-block;
            //display: inline;
            zoom:1;
            color: #000;
            font:17px Arial;
        }
        .R_box_2 .R_post {
            display: inline-block;
            //display: inline;
            zoom:1;
            font:13px Arial;
            color: #69727c;
        }
        .R_box_2 .R_name a {
            color: #000;
        }
        /**/

    .R_acts {
        padding: 15px 10px;
    }



    .R_item_expander {
        padding: 20px 10px 20px 40px;
        position: relative;
        display: none;
    }
        .R_item_expander .expander_bubble {
            box-shadow: 0 3px 10px #777777;
        }

        .R_item_expander .bubble_arrow {
            margin-left: 0;
            /*left: auto;
            right: 50px;/**/
        }

.R_item_expander .document-executors-expander {
    position: relative;
    display: block;
    box-shadow: 0 3px 10px #777777;
    overflow: visible;
}





/* Согласование */
#subtab1,
#subtab2,
#subtab3 {
    margin-right: -20px;
    padding-bottom: 20px;
    position: relative;
    left: -20px;
}
h3.Coord_head {
    margin:0;
    padding: 15px 20px;
    display: block;
    border-bottom: 3px solid #d7dbeb;
    line-height: 1em;
}
.Coord_w {
    padding-left: 20px;
    padding-right: 20px;
}
.Coord_comment {
    margin: 0 0 30px;
}
    .Coord_comment h3 {
        font: 15px Arial;
    }
    .Coord_comment_w {
        margin: 0px 0 0;
        padding: 12px;
        position: relative;
        background: #e2f6ff;
        border-radius: 10px;
    }
        .Coord_comment_arr {
            width: 0;
            height: 0;
            position: absolute;
            left:40px;
            top:-20px;
            border: 10px solid;
            border-color: transparent transparent #e2f6ff;
        }
    .Coord_comment textarea {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

.Coord_step {
    margin: 0 0 5px;
    padding: 0 0 20px;
    background: url("i/arr_down.png") no-repeat 40px 100%;
}
.ui-sortable-helper {
    /*background:none;*/
    opacity: .7;
}
.ui-datepicker {
        font-size: 12px;
    }
    .Coord_step_title {

        border-top:1px solid #ececec;
        border-bottom:1px solid #b9bec1;

        background: #ffffff;
        background: -moz-linear-gradient(top, #ffffff 0%, #ebeff2 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebeff2));
        background: -webkit-linear-gradient(top, #ffffff 0%,#ebeff2 100%);
        background: -o-linear-gradient(top, #ffffff 0%,#ebeff2 100%);
        background: -ms-linear-gradient(top, #ffffff 0%,#ebeff2 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebeff2',GradientType=0 );
        zoom:1;
    }
    .Coord_step_title:hover {
        background: #ffffff;
        filter: none;
    }

    .Coord_steps_highlight {
        height: 40px;
        margin: 0 0 25px;
        border-top:1px solid #ececec;
        border-bottom:1px solid #b9bec1;
        background: #e2f6ff;
    }





    table.Coord_step_tab {
        width: 100%;
        height: 40px;
        margin: 0;
    }
        td.Coord_sort_handle {
            width: 20px;
            padding: 0;
            cursor: n-resize;
        }
        .Coord_step_title:hover .Coord_sort_handle {
            background: url("i/drag_dots.png") no-repeat 50% 50%;
        }
        td.Coord_sort_handle1 {
            width: 20px;
            padding: 0;
        }


        td.Coord_step_number_col {
            padding: 0;
            vertical-align: middle;
            font:bold 15px Arial;
        }

        td.Coord_step_period_col {
            padding: 0;
            vertical-align: middle;
            text-align: right;
        }

        td.Coord_step_del_col {
            width: 24px;
            padding: 0 10px;
            vertical-align: middle;
        }
            .Coord_step_del {
                width: 24px;
                height: 24px;
                cursor: pointer;
            }


            .Coord_step_title:hover .Coord_step_del {
                background: url("i/del_step.png") no-repeat 0 0;
            }
            .Coord_step_title:hover .Coord_step_del:hover {
                background: url("i/del_step.png") no-repeat 0 100%;
            }


    .Coord_step_deleted .Coord_step_title {
        position: relative;
        background: #fdec89;
        filter: none;
    }
        td.Coord_step_number_col_deleted {
            padding: 0 0 0 30px;
            background: url("i/step_trash.png") no-repeat 0px 50%;
            vertical-align: middle;
            font:15px Arial;
            color: #726727;
        }



    .Coord_step_content {
        padding: 20px;
        position: relative;
        overflow: hidden;
        background: #eff5f9;
    }
        .Coord_step_doc {
            margin: 0 0 20px;
            padding: 0 0 20px;

            border-bottom: 1px solid #bfcdd7;
        }
            .Coord_step_doc_trigger {
            }
            .Coord_step_doc_trigger img {
                vertical-align: -4px;
            }

        .Coord_step_doc_exp {
            padding: 20px 0 0;

        }

        .Coord_doc_changes_trigger {
            font: 9px Arial;
        }
            .Coord_doc_changes_trigger .pseudo {
                font: 13px Arial;
                color:#fff;
            }
        .Coord_doc_changes {
            margin: 10px 0 0;
        }
        .Coord_doc_change {
            padding: 10px 0;
            border-top: 1px solid #fff;
        }
            .Coord_doc_change_title {
                padding: 0 0 10px;
            }
            .Coord_doc_change_content {
                margin: 0 0 10px;
                padding: 7px 10px;
                font: 13px Times New Roman;
                color:#000;
                background: #e0edf1;
                border-radius: 5px;
            }


    table.Coord_experts_header {
        width: 100%;
        margin: 0;
        background: #d7dbeb;
        color:#4e6681;
    }

    .Coord_experts {
        padding:0 0 20px;
    }
        .Coord_experts .Im_last_bg {
            background: #EFF5F9;
        }

    div.Coord_td_fix {
        width: 150px;
    }





    .Coord_step_content button.As_button {
        padding: 3px 5px;
        font: 13px Arial;
        color: #000;
        border-radius: 5px;
        white-space: nowrap;
        box-shadow: 0 1px 2px #999;
        /*box-shadow: none;/**/
        /*border:1px solid #E3E3E3;
        border-top-color: #F2F2F2;
        border-bottom-color: #C5C5C5;/**/
        /*border-top:1px solid #F2F2F2;
        border-bottom:1px solid #C5C5C5;/**/
    }
        .Coord_step_content button:hover {
            background: #ffffff;
            background: -moz-linear-gradient(top, #ffffff 0%, #e8eff3 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8eff3));
            background: -webkit-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            background: -o-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            background: -ms-linear-gradient(top, #ffffff 0%,#e8eff3 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8eff3',GradientType=0 );
            background: linear-gradient(top, #ffffff 0%,#e8eff3 100%);

        }
        .Coord_step_content button:active {
            /*background: #fff;/**/
            box-shadow: inset 0 1px 2px #999;

            background: #ffffff;
            background: -moz-linear-gradient(top, #ffffff 0%, #d0d6da 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d0d6da));
            background: -webkit-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            background: -o-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            background: -ms-linear-gradient(top, #ffffff 0%,#d0d6da 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d0d6da',GradientType=0 );
            background: linear-gradient(top, #ffffff 0%,#d0d6da 100%);
        }
    .As_button i {
        width: 18px;
        height: 15px;
        margin: 0 0 0 -3px;
        display: inline-block;
        //display: inline;
        zoom: 1;
        vertical-align: -3px;
        background: url('i/toolbar_icons.png') no-repeat 0 -120px;
    }


    td.Coord_step_add_col {
        padding: 0 0 0 20px;
        vertical-align: middle;
        font:15px Arial;
    }
        .Coord_step_add_col img {
            margin: 0 5px 0 0;
            vertical-align: -3px;
        }

    .Coord_step_content .Im_box {
        position: relative;
    }

    .As_li_closer {
            width: 17px;
            height: 17px;
            margin: -8px 0 0;
            position: absolute;
            top: 50%;
            right: 6px;
            background: url('../search/i/closer.png') no-repeat 0 0;
            cursor: pointer;
        }
            .As_li_closer:hover {
                background-position: 0 100%;
            }

    .Coord_step_content .Im_name {
        padding-bottom: 1px;
    }



    .Coord_step_content .Im_box_2 {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #dce9f1 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dce9f1)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#dce9f1 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#dce9f1 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#dce9f1 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dce9f1',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#dce9f1 100%); /* W3C */

        border: 1px solid #e3e3e3;
        border-top-color: #f2f2f2;
        border-bottom-color: #c5c5c5;
    }

    .Coord_step_content .Im_box_2:hover {
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #f6f7f8 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f7f8)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f7f8',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #ffffff 0%,#f6f7f8 100%); /* W3C */
    }

    .Coord_start {
        margin: 30px 0 0;
        padding: 15px 20px;
        border-top: 3px solid #d7dbeb;


        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #eff5f9 0%, #ffffff 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eff5f9), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #eff5f9 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #eff5f9 0%,#ffffff 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #eff5f9 0%,#ffffff 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eff5f9', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #eff5f9 0%,#ffffff 100%); /* W3C */
    }

    .Coord_step_period_end {
        font: 12px Arial;
        color: #8d91a2;
    }

    .Coord_step_ready .Coord_step_number_col {
        padding-left: 30px;
        background: url('i/icon_done.png') no-repeat 0px 50%;
    }
        .Coord_step_ready .Coord_step_number_col .pseudo {
            color:#626262;
        }


    .Coord_ps {
        position: relative;
    }
        .Coord_ps i {
            width: 18px;
            height: 17px;
            margin: 0 -18px 0 0;
            position: relative;
            left: -24px;
            top: 3px;
            display: inline-block;
            //display: inline;
            zoom:1;
            background: url("") no-repeat 100% 50%;
            /*vertical-align: middle;/**/
        }
    .Coord_ps_wait {
        color: #989898;
    }
        .Coord_ps_wait i {
            background-image: url('i/icon_stat_wait.png');
        }
    .Coord_ps_agree {
        color: #4f8d26;
    }
        .Coord_ps_agree i {
            background: url('i/icon_stat_agree.png')  no-repeat 100% 50%;
        }
    .Coord_ps_not_agree {
        color: #d40000;
    }
        .Coord_ps_not_agree i {
            background: url('i/icon_stat_not_agree.png') no-repeat 100% 50%;
        }
    .Coord_ps_edit {
        color: #d47800;
    }
        .Coord_ps_edit i {
            background: url('i/icon_stat_edit.png') no-repeat 100% 50%;
        }

    .Coord_ps_skip {

    }
        .Coord_ps_skip i {
            background-image: url('i/arr_down.png');
        }
    .Coord_ps_wait1 {
    }
        .Coord_ps_wait1 i {
            background-image: url('i/icon_stat_wait1.png');
        }



    .Coord_viewer_acts button.As_button {
        margin-right: 20px;
        /*font-weight: bold;/**/
    }
        .Coord_viewer_acts button.As_button i {
            margin-right: 3px;
        }

    .Coord_step_content .Im_box_3 .Im_info {
        color: #ccc;
    }
    .Coord_step_content .Im_box_3 .Im_stat_col .Coord_ps_wait {
        color: #fff;
    }




/* Дерево папок и меток заданий */
#sp-switch-content-tree { position: absolute; margin: 0; padding: 0; top: 7px; left: 215px; width: 29px; height: 23px; }
#sp-expand-tree {
    border: none;
    cursor: pointer;
    width: 34px;
    height: 29px;
    background: url('../img/icons/show_hide_btn.png') 0 100% no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    box-shadow:none;
}

#sp-expand-tree { background-position: 0 0; }
#sp-expand-tree:hover { background-position: 50% 0; }
#sp-expand-tree:active { background-position: 100% 0; }

#sp-expand-tree.expanded { background-position: 0 100%; }
#sp-expand-tree.expanded:hover { background-position: 50% 100%; }
#sp-expand-tree.expanded:active { background-position: 100% 100%; }




/* Дерево папок в левой колонке */
#content-tree {
    position: absolute; 
    top: 0px;
    bottom: 0;
    overflow: auto;
}
#content-tree-wrapper   {
    position: absolute;   
    top: 0;
    left: 0px;
    right: 0;
    bottom: 0;
    overflow: auto;
}
#content-tree.hidden {
    display: none;

}
#content-tree a {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
#content-tree a.dep_type_1{
    color: yellow;
    cursor: pointer;
}
#content-tree a:hover {
    color: #eee;
    text-decoration: underline;
}
#content-tree .fl-selected a {
    color: #fff;
}
#content-tree .fl-selected a:hover {
    color: #72ccff;
}

.folder-list, .folder-list *    { font-size: 9pt; }

.folder-list {
    margin: 10px 5px 10px 5px;
    padding: 0 0 10px 0;
}
.folder-list li { margin: 0; padding: 0 0 0 0px; list-style: none; position: relative; font-weight: bold; }
.folder-list li li { font-weight: normal; }
.folder-list ul { margin: 0 0 0 16px; padding: 0; }
.folder-list ul li  { margin: 0; padding: 0; }
.folder-list ul li.active a { font-weight: bold; }

.folder-list-inner { margin: 0 0 0 -24px !important; }

.fl-item {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    padding: 1px 6px 1px 20px;
    margin: 4px 0;
    border-radius: 5px;

    //line-height: 15px;
}

.fl-icon {
    position: absolute;
    left: 5px;
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    top: 0.5em;
    //top: 0.5em;
}
.fl-icon-color  { width: 8px; height: 8px; top: 0.3em; left: 6px; }
.fl-setup   { margin: 0; padding: 6px 7px ! important; width: 14px; height: 14px; background-image: url('../img/icons/ico-setup.gif'); background-repeat: no-repeat; background-position: 50% 50%; }
.fl-expand {
    cursor: hand;
    cursor: pointer;
    color: #fff;
    top: 0.1em;
}
.fl-expand:hover { color: #aaa; }

.fl-counter {
    display:inline-block;
    font-size: 85%;
    margin-left: 0.4em;
    color: #fff;
    position:relative;
    top: -3px;

    //position:absolute;
    //display:inline;
    //zoom: 1;
    //top:2px;
}
.fl-selected .fl-counter { margin-bottom: 12px; }

.fl-open ul { display: block; }
.fl-closed ul   { display: none; }

.fl-selected a  { position: relative; display:inline-block; background-repeat: repeat-x; background-position: 15px 0; }
.fl-selected .fl-icon   { background-image: none; }
.fl-arrow-left, .fl-arrow-right {
    display: none;
    padding: 0;
    margin: 0;
    top: -5px;
}
.folder-list .fl-selected .fl-arrow-left {
    display: block;
    position: absolute;
    height: 25px;
    background: url('../img/bgs/folder-list-selected-bg.png') left top no-repeat;
    left: -10px;
    right: 0;
}
.folder-list ul .fl-selected .fl-arrow-left {
    display: block;
    position: absolute;
    height: 25px;
    background: url('../img/bgs/folder-list-selected-bg.png') left top no-repeat;
    left: -16px;
    right: 0;
}
.fl-selected .fl-arrow-right {
    display: block;
    position: absolute;
    width: 27px;
    height: 25px;
    background: url('../img/bgs/folder-list-selected-bg.png') right top no-repeat;
    right: -27px;
}

.fl-bordered    { border-bottom: 1px solid #9eafbf; }

.fl-color-grey, .fl-color-grey *    { color: #b2b2b2 ! important; }
.fl-color-grey .fl-icon-color   { background-color: #b2b2b2; }
.fl-color-red, .fl-color-red *  { color: #ef4140 ! important; }
.fl-color-red .fl-icon-color    { background-color: #ef4140; }
.fl-color-blue, .fl-color-blue *    { color: #272a71 ! important; }
.fl-color-blue .fl-icon-color   { background-color: #272a71; }
.fl-color-green, .fl-color-green *  { color: #5ba100 ! important; }
.fl-color-green .fl-icon-color  { background-color: #5ba100; }
.fl-color-magenta, .fl-color-magenta *  { color: #ff00fe ! important; }
.fl-color-magenta .fl-icon-color    { background-color: #ff00fe; }
.fl-color-orange, .fl-color-orange *    { color: #ff8e01 ! important; }
.fl-color-orange .fl-icon-color { background-color: #ff8e01; }

.roles li { padding: 7px 6px 7px 20px; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis;}
.roles .selected {
    border: 2px solid #297FBA;
    background: #E2EAED;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: inset 0px -5px 21px #bbb;
    font-weight:bold;
    margin-right: -10px;
    padding-right: 10px;
}
.roles .selected a {
    color: #1260A0 !important;
    text-decoration:none;
}

.fl-group .add {
    position:relative;
    top:auto;
    left:auto;
    top: 4px;
    left: 5px;
    //top: 1px;
}


.edit_bttn{
    display: inline-block;
    background-image: url(../img/sprite/core_icons_16.png);
    background-position:0px 0px ;
    background-repeat:no-repeat;
}

._25 {
    width: 21%;
    display: inline;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
}
._50 {
    width: 46%;
    display: inline;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
}
._75 {
    width: 71%;
    display: inline;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
}
._100 {
    width: 96%;
    display: inline;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
}
._100_no {
    width: 100%;
    display: inline;
    float: left;
}
._50_no {
    width: 50%;
    display: inline;
    float: left;
}

._header{
    border-bottom: 2px solid #b3d4fc;
}
.btn_span{
    font-size: 12px;
    vertical-align: top;
    margin-left: 5px;
}
.main_text{
    color: #272F96;
    font-size: 13px;
    font-weight: 700;
}

.fio_text{
    color: #FF2222;
    font-size: 15px;
    font-weight: 700;
}
.text-head{
    color: #0E4488;
}
.text-heading{
    text-align: center;
    color: #740714;
}
.bold{
    font-weight: bold;
}

.label{
    text-decoration: underline;
}

.list_select{
    list-style-type: none;
}
.list_select li{
    padding: 6px;
    margin: 6px 0;
}
.list_select li:hover{
    padding: 4px;
    cursor: pointer;
    border: 2px solid #4489F0;
    border-radius: 8px;
}
.list_select li.active{
    padding: 4px;
    border: 2px solid #EB9C27;
    border-radius: 8px;
    background: #FDF8D7;
}
img.tree_avatar{
    float: left;
    margin-top: 2px;
    border: 1px solid #7A87BB;
    border-radius: 3px;
    margin: 0 5px;
}
.login-container{
    border-radius: 5px;
    padding: 30px 15px;
    position: absolute;
    left: 38%;
    top: 20%;
    box-sizing: border-box;
}
.bg{
    background: #333d8d;
    /*#008BD0 url(../img/bg_main.png) top repeat-x;  */
}

.login-block{
    padding: 5px;
    position: absolute;
    left: 44%;
    margin-top: 250px;
}
.shadow{
}
.login-btn{
    margin-left: 147px;
}
.hr{
    background: #47A3F8;
    box-shadow: 0 0 9px #4CA8E5;
}
.large-avatar{
    border: 2px solid #CCC;
    border-radius: 4px;
}
.service{
    padding: 5px;
    display: block;
    background: #c2e7f0;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#b4c1d4));
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 );
}

.service:hover{
    padding: 5px;
    display: block;
    background: #c2e7f0;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #9FB2CE 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#8B9FBE));
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 );

}
.medication{
    padding: 5px;
    display: block;
    background: #c2e7f0;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#b4c1d4));
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 );
}

.medication:hover{
    padding: 5px;
    display: block;
    background: #c2e7f0;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #9FB2CE 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#8B9FBE));
    background: -webkit-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#9FB2CE 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 );

}
.service_div{
    border: 1px solid white;
    border-radius: 2px 0px;
}
.div_container{
     border: 1px solid white;
}
.service_head{
    padding: 5px;
    margin: 0px;
    text-align: center;
    display: block;
    border-radius: 4px 4px 0 0;
    background: #1676CE;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#1957B2));
    background: -webkit-linear-gradient(top, #82BBE9 0%,#2F6BC4 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    color:white;
    border: 1px white solid;
}
.table_service_head{
    padding: 5px;
    margin: 0px;
    text-align: center;
    border-radius: 4px 4px 0 0;
    background: #1676CE;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#1957B2));
    background: -webkit-linear-gradient(top, #82BBE9 0%,#2F6BC4 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    color:white;
}
.no_margin{
    margin: 0px;
}
.week_day{
    width: 100px;
}
.table_name{
    background: #1676CE;
    background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194, 231, 240, 0.11)), color-stop(100%,#1957B2));
    background: -webkit-linear-gradient(top, #82BBE9 0%,#2F6BC4 100%);
    background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%);
    color:white;
}
.blocks{
    margin-right: 15px;
    vertical-align: top !important;
    /*margin: 3.5px 10px 0 0;*/
}
.blocks input{
    display: none;
}
.blocks div {
    line-height: 15px;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px 10px 3px 7px;
    display: inline-block;
    border: 1px solid #B6B4B4;
    margin-right: 1px;
}
.blocks .icon{
    margin-right: 5px;
}
.blocks label{
    vertical-align: text-bottom;
}
.blocks div:hover{
    cursor: pointer;
}
.active-filter0{
    background: -webkit-linear-gradient(top, #FEFFFD 8%,#CFD1CD 100%);
}
.active-filter1{
    background: -webkit-linear-gradient(top, #FEFFFD 8%,#CFD1CD 100%);
}
.active-filter2{
    background: -webkit-linear-gradient(top, #DCFFC0 8%,#A0E479 100%);
}
.search_wrapper{
    float: right;
    margin: 3px 9px;
}
.search_wrapper div{
    vertical-align: middle;
    display: inline-block;
}
.search_wrapper input{
    vertical-align: top;
}
.search_wrapper button{
    height: 31px;
    margin-top: -10;
}
.search_wrapper button:hover{
    /*padding: 7px 15px;*/
    background: -webkit-linear-gradient(top, #DCFFC0 8%,#A0E479 100%);
}
.long-input{
    width: 100% !important;
}
.short-input{
    width: 40% !important;
}
.table-info th{
    width: 130px;
}
.date-style{
    font-size: 80%;
    color: #5F5F5F;
    font-style: italic;
}
#new_service{
    background: #FDFDB8;
}
.new_service{
    background: #FDFDB8; 
}
.control-label{
    display: inherit;
    font-weight: 700;
    margin-top:10px;
    color: rgb(31, 92, 184);
}
.tbl_left th{
    width: 60px;
}
.tbl_right th{
    width: 160px;
}
.service_list tr:hover .btnDeleteService{
    display: block;
}
.Im_item .service_element:hover .btnDeleteService, .Im_item .service_element:hover .btnEditService{
    display: block;
}
.btnDeleteService, .btnEditService{
    float:right;
    display: none;
}
.files_list{
    float: right;
    text-align: right;
}
.files_list .file_wrapper div{
    display: inline-block;
    vertical-align: top;
}
.files_list .file_wrapper:hover a{
    color: #ccc;
}
.files_list .file_wrapper:hover img{
    display: block;
}
.files_list img{
    display: none;
}

.repeat_logo{
    width: 100%;
    height: 42px;
}
.repeat_logo div{
    display: inline;
}
.dep_type_1{
    color: yellow;
}
.black_cash{
    background-color: #ECD4D4 !important;
    display: none;
}



.panels-container-report { /*top: 40px !important;*/ }
/*#right { overflow: auto; }*/


.patientButtonsCell { padding: 0; white-space: nowrap; }
.patientButtonsCell .icon-green { top: 5px; }
.patientButtonsCell a { padding: 2px 4px 5px; }
.patientButtonsCell a:hover { background-color: #808FFF; border-radius: 5px; }

.btn_add_abbr { padding: 0px 2px 1px; margin-bottom: 4px; font-size: 11px; }

.report_d th { text-align: center; }
.report_s th { text-align:center;}

.form_style{
    font-size: 13px;
    width:100%;
}
.form_style td{
    padding-top: 5px;
}
.form_style input{
    border-top:none;
    border-left:none;
    border-right:none;
    border-bottom:1px solid black;
    border-radius:0;
    overflow:hidden;
    line-height: 18px;
}
#patient_forms{
    margin: 10px 10px 10px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 4px #999;
    border-top: 1px solid #D3D3D3;
}
.table_inner, .weekly_form {
    width:95%;
    border-collapse:collapse;
    margin-right: auto;
    margin-left: auto;
    margin: 0 auto;
}
.table_inner td{
    border:1px solid black;
}
.table_inner input {
    height: 22px;
}
.weekly_form td{
    border:1px solid black;
}
.weekly_form textarea{
    width:100%;
}
.weekly_form tr:nth-child(1){
     width:250px;
}
.Im_date{
    font-size:13px;
    color:#608792;
    width:71px !important;
}

#right
{
    overflow-y: scroll;
}

#patient_forms .printLogoHuman
{
    display: none;
}
/*#document-content, .implementations, .document-content-tab
{
    min-height: 200px;
}*/

.editServiceTable td
{
padding: 8px;
font-size: 12px;
}



.print_form { cursor: pointer; }
.close_form { cursor: pointer; }

.result_view{
    border: 1px solid silver;
    text-align: center;
    font-size: 16px;
    /* margin-left: 100px; */
    /* width: 250; */
    /* height: 100px; */
    /* margin-top: 50px; */
    border-radius: 8px;
}