body {
    padding-top: 60px;
    padding-bottom: 40px;
    font-size: 12px !important;
}

nav {
    font-size: 14px !important;
}

div.top-info-belt {
    background-color: #fff;
    z-index: 100;
}

.progress-in-table {
    margin-bottom: 0;
}

.progress-in-table > .progress-bar {
    color: #000;
}

.breadcrumb {
    background-color: #fff;
    padding-left: 0px;
}

.zf-green {
    color: #68b604;
}

.alert {
    padding: 5px 10px;
}

.alert-dismissable .close {
    top: 0;
    right: 0;
}

.btn-success {
  background-color: #57a900;
  background-image: -moz-linear-gradient(top, #70d900, #57a900);
  background-image: -ms-linear-gradient(top, #70d900, #57a900);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
  background-image: -webkit-linear-gradient(top, #70d900, #57a900);
  background-image: -o-linear-gradient(top, #70d900, #57a900);
  background-image: linear-gradient(top, #70d900, #57a900);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  background-color: #57a900;
}

.btn-success:active, .btn-success.active {
  background-color: #57a900;
}

.form-group {
    margin-bottom: 10px;
}

.form-control {
    font-size: 12px;
    height: 26px;
    padding: 4px 12px;
    line-height: 1.1;
}

.input-group-addon {
    font-size: 12px;
    padding: 4px 12px;
}

#login-box {
    width: 300px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px 40px;
    margin: 0px auto;
    text-align: center;
}

#login-box h4 {
    margin-bottom: 30px;
}

#login-box label {
    margin-bottom: 10px;
}

#login-box input {
    margin-bottom: 5px;
}

div.container a.brand {
    background: url("../img/zf2-logo.png") no-repeat scroll 0 10px transparent;
    margin-left: 0;
    padding: 8px 20px 12px 40px;
}

ul.ph-main-page-icons-list {
    margin-top: 30px;
}

ul.ph-main-page-icons-list .panel {
    min-width: 200px;
}

ul.ph-main-page-icons-list.list-inline>li:first-child {
    padding-left: 5px;
}

#sms-gateway-recipants-box,
#statistics-filter-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
}

#sms-gateway-recipants-box .ph-list-box .form-group,
#statistics-filter-box .ph-list-box .form-group {
    display: block;
    max-height: 168px;
    overflow-y: auto;
}

#sms-gateway-recipants-box .ph-list-box .form-group label.checkbox-inline,
#statistics-filter-box .ph-list-box .form-group label.checkbox-inline{
    display: block;
    margin: 0;
    width: 50%;
    float: left;
    padding-right: 10px;
}

#sms-gateway-recipants-box .ph-list-box .form-group label.checkbox-inline:nth-child(2n+1) ,
#statistics-filter-box .ph-list-box .form-group label.checkbox-inline:nth-child(2n+1) {
    clear: both;
}

#sms-gateway-recipants-box .ph-list-box-one-col .form-group label.checkbox-inline,
#statistics-filter-box .ph-list-box-one-col .form-group label.checkbox-inline{
    width: 100%;
    float: none;
}

#stats-chart-price, #stats-chart-9lcs {
    min-width: 310px; 
    height: 400px; 
    margin: 40px auto;
}

/* 
    gantts-graph 
*/

.gantts-graph {
    margin: 30px 0px 60px 0px;
    cursor: default;
}

.gantts-graph .col-xs-3,
.gantts-graph .col-xs-9 {
    padding: 0;
}

.gantts-graph > .labels {
    overflow-x: auto;
}

.gantts-graph > .labels table {
    table-layout: fixed;
}

.gantts-graph > .labels table th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gantts-graph > .dates {
    overflow-x: auto;
}

.gantts-graph > .dates th {
    text-align: center;
}

.gantts-graph > .dates .progress {
    margin-bottom: 0;
    height: 17px;
}

.gantts-graph-legend {
    width: 550px;
    margin: 10px auto 0 auto;
    font-size: 10px;
    line-height: 10px;
	font-size: 12px;
}

.gantts-graph-legend > li {
	padding-bottom: 4px;
}

.gantts-graph-legend .legend-color {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

/*
    CRUD table
*/

form.crud-form > div.buttons {
    position: fixed;
    top: 100px;
    left: 0px;
    margin-left: -250px;
    -webkit-transition: margin-left 0.2s;
    transition: margin-left 0.2s;
    z-index: 1100;
}

form.crud-form > div.buttons:hover {
    margin-left: -3px;
}

form.crud-form > div.buttons .show-button {
    position: absolute;
    right: -30px;
    top: 10px;
    
    width: 31px;
    height: 29px;
    
    background-color: #FDFDFD;
    
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: #ccc;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    
    font-size: 21px;
    text-align: center;
    color: #428BCA;
}

form.crud-form > div.buttons .content {
    width: 250px;
    padding: 5px 15px 15px 15px;
    background-color: #FDFDFD;
    border: 1px solid #ccc;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

form.crud-form > div.buttons .content h4 {
    text-align: center;
}

form.crud-form > div.buttons .btn {
    margin-bottom: 10px;
}

form.crud-form > div.buttons .content > .btn,
form.crud-form > div.buttons .content > .btn-group {
    width: 100%;
    display: block;
}

form.crud-form > div.buttons .content > .btn-group > .btn {
    width: 50%;
}

form.crud-form > .crud-table-cover {
    position: absolute;
    width: 100%;
    height: 0px;
    background: red;
}

table.crud-table thead {
    z-index: 100;
}

table.crud-table thead th {
    background-color: #5E5E5E;
    background-image: -webkit-linear-gradient(top, #444444 0%, #5E5E5E 100%);
    background-image: linear-gradient(to bottom, #444444 0%, #5E5E5E 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff5E5E5E', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  
    border-color: #777;
    color: #fff;
    font-weight: normal;
}

table.crud-table thead th a {
    color: #fff;
}

table.crud-table thead td {
    background-color: #666;
    border-color: #777;
}

table.crud-table tr.filters-row td{
    padding: 0px;
}

table.crud-table tr.filters-row input,
table.crud-table tr.filters-row select {
    border-radius: 0px;
    font-size: 11px;
    height: 24px;
    padding: 0px 0px;
    line-height: 1.1;
    margin: 0px;
}

table.crud-table tr.filters-row input {
    padding: 0px 3px;
}

table.crud-table tr.filters-row .datepicker-container {
    width: 88px !important;
}

table.crud-table tr.filters-row .datepicker-container[data-date-format="yyyy-mm"] {
    width: 72px !important;
}

table.crud-table tr.filters-row .input-group-addon {
    font-size: 11px;
    padding: 4px 6px;
}

table.crud-table tbody tr:nth-child(odd).plan-settled > td {
    background-color: rgb(214, 235, 214);
}

table.crud-table tbody tr:nth-child(even).plan-settled > td {
    background-color: rgb(226, 248, 226);
}

/*
    table history
*/

table.history td.changed {
    background-color: #B0C7C7 !important;
}

/*
    deadline plans
*/

#plan-box img {
    max-width: 100%;
    margin: 5px 0px;
}