/*ch_18.tab-pane a.active{
	border:1px solid #ffbc1c;
    background-color: #fff2d4;
    color: #317AE5; dfsdfg2222
}

.tab-pane a{
	display: inline-block;
	margin-top: 10px;
	border: 1px solid #fff;
	padding: 5px;
	margin-right: 5px;
}

.tab-pane a:hover{
	    border:1px solid #ffbc1c;
    background-color: #fff2d4;
    color: #317AE5;
}*/

.green

img {
    cursor: pointer;
}

input.warning {
    background-color: #dd0000;
    color: #fff;
    font-weight: bold;
}

input.sortingok {
    background-color: #ddffdd;
    color: #000;
}

.noruser {
    background-color: #fde8e6;
    background-repeat: no-repeat
}

.ruser {
    background-color: #e7f2ff;
}

.myorder {
    background-color: #e6ffe6;
}

input[readonly="readonly"] {
    background-color: #FFF;
    color: #5f95e5;
}

input.sorting {
    width: 25px;
    text-align: center;
}

tr.td_mark td:first-child {
    border-left: 2px solid #ff0000;
}

tr.tr_mark td:last-child {
    border-right: 1px solid #FF0000;
}

/*.buttons_fixed .btn-toolbar {
	margin-bottom:5px;
	margin-top:5px;
}*/

/*.buttons_fixed{
	position: fixed;
	margin-top: 0px;
	top: 0px;
	left: 0;
	right: 0;	
	z-index: 9000;
	background-color: #FFF;
	padding-top: 0px;
	padding-bottom: 0px;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	-webkit-box-shadow: inset 0 1px 0 white, 0 1px 5px rgba(0, 0, 0, .1);
	-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	box-shadow: inset 0 1px 0 white, 0 1px 5px rgba(0, 0, 0, .1);
}*/

/*.btn-nav-grid{
    margin-top: 0px;
}*/

.top-pagers {
    display: none;
}

.subnav-fixedww {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1020;
    border-color: #D5D5D5;
    border-width: 0 0 1px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 white, 0 1px 5px rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 0 white, 0 1px 5px rgba(0, 0, 0, .1);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/*.btn-nav2{
	background-color: #FFF;
}*/

.subform {
    padding: 10px 10px 1px 10px;
    background-color: #FFF;
    margin-top: 10px;
}

.ch_row {
    width: 18px;
    height: 18px;
    background-image: url('/img/ch_18.gif');
    text-align: center;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.ch_row_chd {
    width: 18px;
    height: 18px;
    background-image: url('/img/chd_18.gif');
    text-align: center;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.ch_row_chg {
    width: 18px;
    height: 18px;
    background-image: url('/img/chdg_18.gif');
    text-align: center;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.ch_th, .checkall {
    width: 18px;
    height: 18px;
    background-image: url('/img/ch_18.gif');
    text-align: center;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.chd {
    background-image: url('/img/chd_18.gif');
}

.chg {
    background-image: url('/img/chdg_18.gif');
}

.row_table {
    display: none;

}

.highlight {
    background-color: yellow;
    color: #000;
}

.actions_menu {
    margin-right: 25px;
    padding: 10px;
    background: #F1F1F1;
    float: left;
}

.actions_menu.inline {
    margin-right: 0px;
    padding: 0px;
    background: #FFF;
}

.actions_menu ul {

    margin: 0px;
    margin-right: 10px;
    float: left;
    padding-left: 0px;
    /*	border-right:1px solid #EEE;*/
}

.actions_menu ul.cl {
    margin-right: 0px;
}

.actions_menu ul li {
    display: block;
    text-decoration: none;
    list-style-type: none;
}

.actions_menu ul li a {
    background-color: #fff;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #F1F1F1;
    border-left: 1px solid #FFF;
    border-right: 1px solid #F1F1F1;
    border-top: 1px solid #FFF;
    padding: 4px 7px 4px 7px;
    cursor: pointer;
    color: #317AE5;

}

.actions_menu ul li ul li {
    display: block;
    text-decoration: none;
    list-style-type: none;
}

.actions_menu ul li ul li a {
    background-color: #fff;
    display: block;
    text-decoration: none;
    border-bottom: 2px solid #F1F1F1;
    border-left: 1px solid #FFF;
    border-right: 1px solid #F1F1F1;
    border-top: 1px solid #FFF;
    padding: 4px 7px 4px 7px;
    cursor: pointer;
    color: #317AE5;
    margin-left: 15px;

}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.nav-groups.list-group .list-group-item {
    padding: 5px 5px 5px 7px;
    border-radius: 0;
    cursor: pointer;
    border: none;
    list-style: none;
    display: block;
    border-left: 2px solid #F5F5F5;
}

.list-group-item-info {
    color: #31708f;
    background-color: #d9edf7;
}

.nav-groups.list-group .list-group-item.active, .nav-groups.list-group .list-group-item:hover {
    /*  border-left: 2px solid #de3431;*/
    background-color: #4da6f2 !important;
    color: #FFF !important;
}

a.list-group-item-info, button.list-group-item-info {
    color: #31708f;
}

a.list-group-item {
    text-decoration: none;
}


.actions_menu ul li {
    margin: 0px;
}

.actions_menu ul li span {
    color: #888;

}

.actions_menu ul li a:hover, .actions_menu ul a li.active {
    border: 1px solid #ffbc1c;
    background-color: #fff2d4;
    color: #317AE5;
}

/*.actions_menu.inline  ul li:hover, .actions_menu ul li.active {
    border:0px solid #ffbc1c;
    background-color: #fff2d4;
    color: #317AE5;
}*/

.inline ul li a {
    display: inline-block;
    border: 1px solid #1CB91D;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    background-color: #D4F7D4;
    color: #127813;
    border-radius: 3px;
    text-align: center;
    padding-top: 4px;
    padding-right: 6px;
    padding-bottom: 4px;
    padding-left: 6px;
    vertical-align: middle;
    height: 20px;
    text-decoration: none;
}

/*.inline ul li a{
 text-decoration: none;
 color: #127813;
}	
.inline ul li a:hover{
 color: #317AE5;
}	*/

.inline ul li a i {
    margin-left: 7px;
    margin-right: 0px;
    display: inline-block;
    width: 7px;
    vertical-align: text-top;
    background: transparent url("/img/close_popup.png") no-repeat scroll right 4px;
    color: #999;
}

.doc-detail-close {

    height: 14px;
    padding-right: 12px;
}

.btn22 {
    display: inline-block;
    padding: 4px 10px 4px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: whiteSmoke;
    background-image: -ms-linear-gradient(top,
    white,
    #E6E6E6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(
            white), to(
            #E6E6E6));
    background-image: -webkit-linear-gradient(top,
    white,
    #E6E6E6);
    background-image: -o-linear-gradient(top,
    white,
    #E6E6E6);
    background-image: linear-gradient(top,
    white,
    #E6E6E6);
    background-image: -moz-linear-gradient(top,
    white,
    #E6E6E6);
    background-repeat: repeat-x;
    border: 1px solid #CCC;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-color: #E6E6E6 #E6E6E6 #BFBFBF;
    border-bottom-color: #B3B3B3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.inlines ul li {
    display: inline-block;
    border: 1px solid #ddd;
    margin-right: 10px;
    margin-bottom: 0px;
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: normal;
    background-color: #f1f1f1;
    padding: 3px;
}

.winline ul {
    background: none;
}

.winline ul li {
    float: left;
    border: 1px solid #ddd;
    margin-right: 10px;
    background-color: #fff;
    color: #317AE5;
}

.rinline {
    float: right;
}

.rinline ul {
    background: none;
    float: right;
}

.rinline ul li {
    float: left;
    border: 1px solid #AAA;
    margin-right: 10px;
    background-color: #fff;
    color: #317AE5;
}

.linline {
    float: left;
}

.linline ul {
    background: none;
    float: left;
}

.linline ul li {
    float: left;
    border: 1px solid #AAA;
    margin-right: 10px;
    background-color: #fff;
    color: #317AE5;
}

.winrow {
    min-width: 600px;
    max-width: 1040px;
}

.vmenu {
    border: 1px solid #aaa;
    position: absolute;
    background: #fff;
    display: none;
    font-size: 0.75em;
}

.vmenu .first_li span {
    width: 100px;
    display: block;
    padding: 5px 10px;
    cursor: pointer
}

.vmenu .inner_li {
    display: none;
    margin-left: 120px;
    position: absolute;
    border: 1px solid #aaa;
    border-left: 1px solid #ccc;
    margin-top: -28px;
    background: #fff;
}

.vmenu .sep_li {
    border-top: 1px ridge #aaa;
    margin: 5px 0
}

.vmenu .fill_title {
    font-size: 11px;
    font-weight: bold;
    height: 15px;
    overflow: hidden;
    word-wrap: break-word;
}

.required span {
    color: #f10000;
}

.labels ul.nav {
    white-space: nowrap;
    display: inline-block;
}

/*textarea{
    height: 60px;
}    */

.buttons {

    /*margin-bottom: 10px;*/
}

.buttons input {
    margin-right: 10px;
}

.buttons ul {
    /*    float:left;*/
    display: inline-block;
}

.buttons li {
    font-size: 1.3em;
    font-weight: bold;
    /*    float:left;*/
    display: inline-block;
    padding: 4px;
    margin-bottom: 0px;
}

/*TODO> изменить totals - .btn-toolbar*/

.totals {
    position: relative;

    padding: 4px 10px 4px 10px;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
}

.totals ul {
    /*    float:left;*/
    display: inline-block;
}

.totals ul li, .totals span {
    font-size: 25px;
    font-weight: bold;
    /*    float:left;*/
    display: inline-block;
    padding-right: 8px;
    /*	margin-bottom: 5px;*/
}

.red {
    color: #f10000;
}

.green {
    color: #008800;
}

.lgrey {
    color: #aaa;
}

.llgrey {
    color: #ccc;
}

.black {
    color: #000;
}

body {
    border: none;
    padding-top: 0px;

}

a.act, a.active { /**/
    text-decoration: none;
    color: #cc0000;
    border: none;
}

.html_table img {
    cursor: pointer;
}

.html_table {
    border: none;
    border-collapse: collapse;
    clear: both;
}

.html_table th a {
    color: #555;
    text-decoration: none;
}

.html_table th a.asc {
    background: url(/up.gif) right center no-repeat;
    padding-right: 10px;
}

.html_table th a.desc {
    background: url(/down.gif) right center no-repeat;
    padding-right: 10px;
}

.html_table td {
    border: none;
}

.html_table td input {
    margin: 0;
}

/*.html_table td a{
    display: inline-block;
    text-align: center;
    padding: 7px;
    background:none;
    line-height: 1.2em;
	
}   */

.html_table td .rblock {
    float: right;
    display: block;
    margin-right: 5px;
    margin-left: 5px;
}

.ablock {
    display: block;
    text-align: center;
    color: #317AE5;
    padding: 4px 7px 4px 7px;
    text-decoration: none;
    line-height: 1.2em;
}

.ablock:hover {
    color: #ff0000;
    background-color: #fff;

}

.winblock {
    display: block;
    text-align: center;
    color: #317AE5;
    padding: 2px 2px 1px 2px;
    text-decoration: none;
    line-height: 1.2em;
    font-weight: bold;
    white-space: nowrap;
}

.winblock:hover {
    color: #ff0000;
    background-color: #fff;

}

.filter_block, .filterblock {
    display: block;
    color: #317AE5;
    padding: 4px 7px 4px 7px;
    text-decoration: none;
}

.filter_block:hover, .filterblock:hover {
    color: #ff0000;
    background-color: #fff;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.html_table, .ctable {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    background-color: #FFFFFF;
    font-size: 0.9em;
    width: 99.9%;

}

.ctable {
    border: none;
}

.html_table td.th {
    border-right: 2px solid #ddd;
    padding: 4px;
    background-color: #ddd;
    font-weight: bold;
    color: #000000;

}

.html_table th {
    background-color: #ddd;
    font-size: 0.9em;
    font-weight: bold;
    color: #444;
    border-right: 1px solid #ddd;

    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-color: #bbb;
    padding: 5px 7px 5px 7px;
}

.html_table td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 7px 7px 7px 7px;
    background: none;

}

table tr.odd {
    background-color: #f5f5f5;
    cursor: pointer;
}

/* even table rows 2,4,6,8,... */
table tr.even {
    background-color: #ffffff;
    cursor: pointer;
}

/* marked tbale rows */
table tr.marked {
    background-color: #FFCC99;
}

/* hovered table rows  */
table tr.odd:hover, table tr.even:hover, table tr.hover {
    background-color: #FFF1D1;
}

/*.row {
    max-width: 1297px; --1326px--
    min-width: 955px;
}*/

ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 32px; /*--Set height of tabs--*/
    border-bottom: 1px solid #999;
    border-left: 1px solid #999;
    width: 100%;
    margin-top: 10px;
}

ul.tabs li {
    float: left;
    margin: 0;
    padding: 0;
    height: 31px; /*--Subtract 1px from the height of the unordered list--*/
    line-height: 31px; /*--Vertically aligns the text within the tab--*/
    border: 1px solid #999;
    border-left: none;
    margin-bottom: -1px; /*--Pull the list item down 1px--*/
    overflow: hidden;
    position: relative;
    background: #e3e3e3;
    font-weight: bold;

}

ul.tabs li a {
    text-decoration: none;
    color: #555;
    display: block;
    font-size: 1.1em;
    padding: 0 15px;
    border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/
    outline: none;
}

ul.tabs li a:hover {
    background: #ccc;
}

html ul.tabs li.active, html ul.tabs li.active a:hover { /*--Makes sure that the active tab does not listen to the hover properties--*/
    background: #fff;
    border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/
}

.tab_container {
    border: 1px solid #999;
    border-top: none;
    overflow: hidden;
    clear: both;
    float: left;
    width: 100%;
    background: #fff;
    margin-right: 2px;
    width: 99%;
}

.tab_container a {
    margin-right: 15px;
    margin-bottom: 10px;
    display: inline-block;
}

/*.tab_content {
    padding: 10px 10px 0px 10px;
    font-size: 1.1em;

}*/

.loading {
    background: #fff065;
    color: black;
    font-weight: bold;
    padding: 3px;
    -moz-border-radius2: 5px;
    -webkit-border-radius2: 5px;
    width: 80px;
    text-align: left;

}

.loading-img, .loading-element {
    background: transparent;
    padding: 0px;
}

.loading-masked2 {
    overflow: hidden;
}

.loading-error {
    color: #FFF;
    background: red;
}

/* ul.yiiPager */

ul.yiiPager {
    margin-bottom: 10px;
    margin-top: 10px;

}

.errorMessage {
    color: #ff0000;
}

/*ul.yiiPager
{
        font-size: 0.9em;

}


ul.yiiPager a:link,
ul.yiiPager a:visited
{

        padding:2px 8px;

}
*/
.grid-view {
    padding-top: 0px;
}

.card {
    padding: 4px;
    color: #555;
    background-color: white;
    border: 1px solid #CCC;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 100%;
}

.table.supercompact > tbody > tr > td {
    padding: 3px 4px 2px 6px !important;
    line-height: 0.9em;
    font-size: 1.1em;
    border-color: #e5e5e5;
    background-color: #ffffff !important;
}

.table.contrast-border > tbody > tr > td {
    border-color: #aaa;
}