/*.ui-effects-wrapper{
    position: absolute;
    top: 50px;
} */
@media screen and (max-width: 768px) {
    .button_search_switcher span {
        display: none;
    }
}

input.search_any_param{
    width: 85%;
}
.nav-collapse.collapse.show{
    height: auto;
}
.button_switcher {
    cursor: pointer;
    padding-left: 10px;
}
table.stat {
    background-color: #dddddd;
    font-size: 10pt;
    font-family: Tahoma;
    border-collapse: inherit;
    border-spacing: 1;
}

table.stat td.he {
    background-color: #778899;
    color: #ffffff;
    font-size: 9pt;
    text-align: center;
}

table.stat th.he {
    background-color: #778899;
    color: #ffffff;
    font-size: 9pt;
    text-align: center;
}

table.stat td.cn {
    text-align: center;
    background-color: #ffffff;
}

table.stat td.rt {
    text-align: right;
    font-size: 8pt;
}

table.stat td.rt {
    background-color: #ffffff;
}

table.stat td.lf {
    text-align: left;
}
table.stat td.lf {
    text-align: right;
    background-color: #ffffff;
    font-size: 9pt;
}
.errorMessage {
    color: red;
}

label.inline {
    margin: 5px;
    display: inline-block;

}

div.span-19 > div#content {
    max-width: 1300px;
}

@media screen and (max-width: 1500px) {
    div.span-19 > div#content {
        max-width: 900px;
    }

    div.span-19 div.grid-view {
        max-width: 900px;
    }
}

@media screen and (max-width: 1300px) {
    div.span-19 > div#content {
        max-width: 700px;
    }

    div.span-19 div.grid-view {
        max-width: 700px;
    }
}

.search_switcher {
    height: 30px;
    width: 1000px;
}

.search_switcher.search_by_doc {
    height: 0px;
}

.button_search_switcher {
    margin-top: 5px;
    cursor: pointer;
    display: inline-block;
    display: inline;
    zoom: 1;
}

div.alert-warning {
    padding: 10px;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
div.column2{
    padding-left: 10px;
}
.search_by_doc {
    display: none;
}

div#divContent {
    text-align: center;
}

div.form {
    text-align: left;
    display: inline-block;
}

/*
.hide, .hide + label ~ div {
    display: none;
}

.hide + label,
.hide:checked + label + div {
    display: inline-block;display:inline;zoom: 1;
}
*/

/*
.button_search_switcher .hide1 ~ div#search_any_param {
    display: none;
}

.button_search_switcher .hide1 ~ div#search_by_doc {
    display: inline;
}

.button_search_switcher .hide1:checked ~ div#search_any_param {
    display: inline;
}

.button_search_switcher .hide1:checked ~ div#search_by_doc {
    display: none;
}
*/


.row > div {
    display: inline-block;
    display: inline;
    zoom: 1;
}

.row > div.buttons {
    display: block;
}

.table {
    max-width: 1300px;
}

.errorSummary {
    color: red;
}

body {

    font-size: 12px;
    padding-bottom: 40px;

}

.container-fluid {
    padding-top: 20px;
}

/*Nav bar*/
.navbar .brand {
    display: block;
    float: left;
    font-size: 20px;
    font-weight: 200;
    padding: 10px 20px;
    margin-left: -15px;
}

.navbar .nav > li > a {
    float: none;
    padding: 10px 15px;
    text-decoration: none;
}

.navbar-search .search-query {
    border-radius: 5px;
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width: 1224px) {
    .container-fluid {
        padding-top: 50px;
    }

    .navbar .brand {
    }

    .style-switcher {
        margin-left: -70px;
    }
}

/* Large screens ----------- */
@media only screen
and (min-width: 1824px) {
    .container-fluid {
        padding-top: 50px;
    }

    .navbar .brand {
        margin-left: -90px;
    }

    .style-switcher {
        margin-left: -70px;
    }
}

table.detail-view td {
    font-size: 12px;
}

h1, h2, h3, h4, .portlet > .portlet-decoration, .sidebar-nav > ul > li > a, .navbar a, th {
    font-family: 'Carrois Gothic', sans-serif;
}

.portlet > .portlet-decoration, .sidebar-nav > ul > li > a, .navbar li > a, th {
    font-size: 14px !important;
}

/* Start Portlets*/
.portlet {
    -webkit-box-shadow: #F9F9F9 0 1px 0 inset;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    box-shadow: #F9F9F9 0 1px 0 inset;
    margin-bottom: 20px;
    min-height: 40px;

}

.portlet-decoration {
    border-bottom: 1px solid #DDD;
    background-color: #F1F1F1;
    background-image: -moz-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F1F1F1), to(#DBDBDB));
    background-image: -webkit-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -o-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: linear-gradient(to bottom, #F1F1F1, #DBDBDB);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffF1F1F1', endColorstr='#ffDBDBDB', GradientType=0);
    padding: 10px;
}

.portlet-decoration [class^="icon-"], .portlet-decoration [class*=" icon-"] {

    margin-right: 5px;

}

.portlet-content {
    padding: 5px;
}

/* end Portlets*/
.navbar {
    margin-bottom: 0px;
    overflow: visible;
}

.summary ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.summary ul li {
    height: 52px;
    clear: both;
    margin-bottom: 14px;
}

.summary ul li .summary-icon {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 10px;
    padding: 6px;
    background: white;
    border: #DDD 1px solid;
    -webkit-box-shadow: inset 0 0 3px #EEE;
    -moz-box-shadow: inset 0 0 3px #eee;
    box-shadow: inset 0 0 3px #EEE;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
}

.summary ul li .summary-number {
    font-size: 20px;
    font-weight: bold;
    display: block;
    padding-top: 8px;
}

.summary ul li .summary-title {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    color: #AB4000;
}

.stat-block {
    margin-bottom: 20px;
    padding: 10px;
    min-height: 40px;
    background: #F1F1F1;
    background: -moz-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F1F1F1), color-stop(100%, #DBDBDB));
    background: -webkit-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -o-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -ms-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: linear-gradient(to bottom, #F1F1F1 0%, #DBDBDB 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f1f1', endColorstr='#dbdbdb', GradientType=0);
    border: 1px solid #DDD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 0 #F9F9F9;
    -moz-box-shadow: inset 0 1px 0 #f9f9f9;
    box-shadow: inset 0 1px 0 #F9F9F9;
}

.stat-block ul {
    margin: 0px;
    padding: 0px;
}

.stat-block li {
    list-style: none;
    float: left;
}

.stat-block .stat-graph {
    width: auto;
    background: white;
    padding: 10px 10px 8px 10px;
    border: #D7D7D7 1px solid;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 10px;
}

.stat-block .stat-count {
    width: 90px;
}

.stat-block .stat-count span:last-child {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    padding-top: 3px;
}

.stat-block li span {
    display: block;
}

.stat-block .stat-count span:first-child {
    color: #1D2E7B;
    font-weight: bold;
    font-size: 20px;
}

.stat-block .stat-percent {
    width: 40px;
    float: right !important;
    text-align: center !important;
}

.stat-percent {
    font-size: 20px;
    font-weight: bold;
}

/*Navbar*/
.navbar-fixed-top {
    top: 0;
    left: 0;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
    color: #ffffff;
    text-decoration: none;
    background-color: #848282;
    background-color: #848282;
    background-image: -moz-linear-gradient(top, #848282, #9e9090);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848282), to(#9e9090));
    background-image: -webkit-linear-gradient(top, #848282, #9e9090);
    background-image: -o-linear-gradient(top, #848282, #9e9090);
    background-image: linear-gradient(to bottom, #848282, #9e9090);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#848282', endColorstr='#9e9090', GradientType=0);
}

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #848282;
    background-color: #848282;
    background-image: linear-gradient(to bottom, #848282, #9e9090);
    background-image: -moz-linear-gradient(top, #848282, #9e9090);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848282), to(#9e9090));
    background-image: -webkit-linear-gradient(top, #848282, #9e9090);
    background-image: -o-linear-gradient(top, #848282, #9e9090);
    background-repeat: repeat-x;
    outline: 0;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#848282', endColorstr='#9e9090', GradientType=0);
}

/*Side Nav*/
.sidebar-nav {
    padding: 0 !important;
}

.sidebar-nav ul {
    padding: 0;
    margin: 0;
}

.sidebar-nav ul li {
    list-style: none;
}

.sidebar-nav ul > li > a, .sidebar-nav ul > li > a:hover, .sidebar-nav ul > li > span {
    padding: 9px 15px;
    margin-bottom: 3px;
    display: block;
}

.sidebar-nav ul > li > a, .sidebar-nav ul > li > a:hover {

    background-color: #F1F1F1;
    background-image: -moz-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#DBDBDB), to(#DBDBDB));
    background-image: -webkit-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -o-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: linear-gradient(to bottom, #F1F1F1, #DBDBDB);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffF1F1F1', endColorstr='#ffDBDBDB', GradientType=0);

    -webkit-box-shadow: #F9F9F9 0 1px 0 inset;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    box-shadow: #F9F9F9 0 1px 0 inset;
    text-decoration: none;


}

.sidebar-nav ul > li.active > a, .sidebar-nav ul > li.active > a:hover {

    background-color: #9e9090 !important;
    background-image: -moz-linear-gradient(top, #9e9090, #979898) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9e9090), to(#979898)) !important;
    background-image: -webkit-linear-gradient(top, #9e9090, #979898) !important;
    background-image: -o-linear-gradient(top, #9e9090, #979898) !important;
    background-image: linear-gradient(to bottom, #9e9090, #979898) !important;
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff9e9090', endColorstr='#ff979898', GradientType=0);

    box-shadow: #cccccc 0 1px 0 inset;
    border: 1px solid #9e9090;
    color: #F1F1F1;
}

.subnav.navbar-fixed-top {
    top: 40px;
    z-index: 1;
}

/*Progress bar*/
.progress, .ui-progressbar {
    height: 10px;
}

.ui-progressbar {
    border: 0;
    border-radius: 4px;
    clear: both;
    margin-bottom: 20px;
}

.ui-progressbar.ui-widget-content {
    -webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 0 1px 2px inset;
    background-color: #F7F7F7;
    background-image: -webkit-linear-gradient(top, #F5F5F5, #F9F9F9);
    background-repeat: repeat no-repeat;
    box-shadow: rgba(0, 0, 0, 0.0980392) 0 1px 2px inset;
    overflow: hidden;
}

.ui-progressbar .ui-widget-header {
    background-image: -webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat: repeat no-repeat;
    box-shadow: none;
    box-sizing: border-box;
    color: #FFFFFF;
    float: left;
    height: 100%;
    border: 0; /**/
}

.ui-progressbar .ui-progressbar-value {
    margin: 0px;
}


.ui-progressbar .ui-widget-header {
    -webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    -webkit-transition: width 0.6s ease;
    background-color: #149BDF;
    background-image: -webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat: repeat no-repeat;
    box-shadow: rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    box-sizing: border-box;
    color: #FFFFFF;
    float: left;
    font-size: 12px;
    height: 100%;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.247059) 0 -1px 0;
    width: 0;
}

.progress-info .ui-widget-header, .progress-info.ui-slider.ui-widget-content {
    background-color: #4BB1CF !important;
    background-image: -webkit-linear-gradient(top, #5BC0DE, #339BB9);
    background-repeat: repeat no-repeat;;
}

.progress-success .ui-widget-header, .progress-success.ui-slider.ui-widget-content {
    background-color: #5EB95E !important;
    background-image: -webkit-linear-gradient(top, #62C462, #57A957);
    background-repeat: repeat no-repeat;
}

.progress-warning .ui-widget-header, .progress-warning.ui-slider.ui-widget-content {
    background-color: #FAA732 !important;
    background-image: -webkit-linear-gradient(top, #FBB450, #F89406);
    background-repeat: repeat no-repeat;
}

.progress-danger .ui-widget-header, .progress-danger.ui-slider.ui-widget-content {
    background-color: #DD514C !important;
    background-image: -webkit-linear-gradient(top, #EE5F5B, #C43C35);
    background-repeat: repeat no-repeat;
}

.progress-striped .ui-widget-header, .progress-striped.ui-slider.ui-widget-content {
    -webkit-background-size: 40px;
    background-color: #149BDF;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.14902) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.14902) 50%, rgba(255, 255, 255, 0.14902) 75%, transparent 75%, transparent);
    background-repeat: repeat;
}

.active.ui-progressbar .ui-widget-header {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -moz-animation: progress-bar-stripes 2s linear infinite;
    -ms-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}

/*slider*/
.ui-slider {
    margin-bottom: 20px;
}

.ui-slider.ui-widget-content {
    -webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    -webkit-transition: width 0.6s ease;
    background-color: #149BDF;
    background-image: -webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat: repeat no-repeat;
    box-shadow: rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    box-sizing: border-box;
    border: none;
}

/*Table*/
.table > table {
    width: 100%;
}

/*CGridview*/
.filters select, .filters input, .filters .uneditable-input {
    border-radius: none;
    font-size: 14px;
    height: 20px;
    line-height: 10px;
    margin-bottom: 0;
    padding: 0;
}

/*Pagination*/

.pager {
    margin: 20px 0;
}

.pager ul {
    -webkit-box-shadow: rgba(0, 0, 0, 0.0470588) 0 1px 2px;
    border-radius: 0px;
    box-shadow: rgba(0, 0, 0, 0.0470588) 0 1px 2px;
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
    text-align: center;
}

.pager a, .pager span {

    border-radius: 0px;
    margin-left: 3px;
}

.pager ul > li.last > a, .pager ul > li.last > span {
    border-left-radius: 4px;
}

.pager ul > li > a, .pager ul > li > span {
    background-color: #FFFFFF !important;
    border-color: #DDDDDD !important;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    float: left;
    line-height: 20px;
    padding: 4px 12px !important;
    text-decoration: none;
}

.pager ul > li.first > a, .pager ul > li.first > span {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

ul.yiiPager li.hidden {
    display: none !important;
}

/*CListView*/
.list-view div.view {

    border: solid 1px #DDDDDD;
    padding: 10px;
    margin-bottom: 10px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.0470588) 0 1px 1px inset;
    box-shadow: rgba(0, 0, 0, 0.0470588) 0 1px 1px inset;
    border-radius: 4px;

}

/*Form*/
.filters input, .filters .uneditable-input {
    width: 100% !important;
}

div.form > form .row {
    margin-left: 0px;
}

/*Footer*/
footer {
    margin-top: 10px;
    text-align: center;
}

/*Style switcher*/
.style-switcher {
    padding-top: 13px;
}

.style-switcher span.style {
    width: 16px;
    height: 16px;
    display: block;
    margin-right: 5px;
    float: left;
}

/*Button styles*/
.btn-info {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #49afcd;
    *background-color: #2f96b4;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

label.nf {
    float: none;
    display: inline;
}

.btn {
    vertical-align: top;
}

div.view_object {
    border: 1px solid #ddd;
}

#divUser {
    text-align: left;
    border: 0;
    width: 40%;
    float: left;
    padding: 10px 0;
}

#divEdit {
    text-align: left;
    border: 0px solid #e00;
    width: 58%;
    float: left;
    padding: 5px;
}

div.divView {
    color: #fff;
    background: #3388ff;
    border-radius: 10px;
    padding: 10px;
    margin: 2px;
}

table.search_result {
    background: #999;
    border-spacing: 1px;
    border-collapse: inherit;
    width: 100%;
}

div.container-fluid {
    padding-right: 0px;
}


table.search_result td {
    background: #fff;
    vertical-align: middle;
    text-align: center;
}


table.search_result td.left {
    text-align: left;
}

table.search_result td.right {
    text-align: right;
}

table.search_result th {
    background: #eee;
    font-size: 12px !important;
    font-weight: normal;
}

table.search_result th.client, table.search_result td.client {
    background: #38F;
}

table.search_result th.contract, table.search_result td.contract {
    background: #74B2EF;
}

table.search_result td.contract_cancel {
    background: #4482AF;
}

table.search_result th.account, table.search_result td.account {
    background: #DAD9C2;
}

table.search_result th.object, table.search_result td.object {
    background: #C4CDD7;
}

table.search_result td.object_cancel {
    background: #999;
}

table.search_result td.unactive {
    background: #DDD;
}

.ui-helper-hidden-accessible {
    display: none;
}

.ui-menu-item {
    padding-left: 5px;

}


.homeresults p {
    cursor: pointer;

}

