body {
  padding-top: 60px;
  padding-bottom: 40px;
}

.logo {
    float: left;
    margin-top: 6px;
    margin-right: 6px;
}

.hierarchy-combo-0 {
    background-color: #d4d4d4;
}

.hierarchy-combo-1 {
    background-color: #e5e5e5;
}

.hierarchy-combo-2 {
    background-color: #f6f6f6;
}

.sidebar-nav {
    padding: 9px 0 !important;
}

.company-logo {
    margin-top: 6px;
    margin-left: 6px;
}

.navbar-inverse .brand {
    color: whitesmoke;
}

.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus {
    background-color: #353434;
}

.navbar .nav > li > a:hover {
    background-color: #353434;
}



.form-horizontal.form-wide .control-label {
    width: 200px;
}

.form-horizontal.form-wide .controls {
    margin-left: 220px;
}

.form-horizontal .form-wide .control-label {
    width: 200px;
}

.form-horizontal .form-wide .controls {
    margin-left: 220px;
}

.control-label {
    font-weight:bold;
}

.sidebar-for-list {
    margin-top: 78px;
}

.form-horizontal .control-hint {
    float: left;
    padding-top: 4px;
}

.spinner {
    width: 1px;
    margin: auto;
}

.table-master > tbody > tr > td {
    background-color: #f9f9f9;
}

small > span > a.disabled {
    color: #999999;
    cursor: default;
    text-decoration: none;
}

small .action-progress-bar {
    top: -2px;
    float: none;
    display: inline-block;
}

.text-align-right {
    text-align: right;
}

div.input-medium,
div.input-large,
div.input-xlarge,
div.input-xxlarge {
    padding: 4px 6px;
}

.modal-search {
    margin-top: -2px;
    padding-bottom: 10px;
}

.table tr.master-row {
    background-color: #f9f9f9;
}

.table tr.master-row-top > td
{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.table tr.master-row-bottom > td
{
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-bottom: 1px solid #ddd;
}

tr.child-row > td 
{
    border: 0;
}

tr.child-row > td > table {
    width: 100%;
}

tr.child-row > td > table > thead > tr > th:first-child, 
tr.child-row > td > table > tbody > tr > td:first-child
{
    padding-left: 30px;
}

tr.child-row > td > table > tbody > tr > td:first-child
{
    border: 0;
}

.table-borderless 
{
    margin-bottom: 16px !important;
}

.table-borderless, 
.table-borderless th,
.table-borderless td 
{
    line-height: 16px !important;
    border-top: 0 !important;
}

.table-details tr td {
    border-top: 0;
}

.table-details tr td:first-child {
    width: 40%;
}

.slave-controller-data {
    display: none;
}

.slave-controller-data > td {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    border-top-width: 0;
}

.slave-controller-data > td > table {
    margin-bottom: 0;
}

.span9 .table-details tr td:first-child {
    width: 34%;
}

.table-events tr td {
    border-top: 0;
}

.table-events tr td:first-child {
    width: 20%;
}

.well-heading {
    margin-bottom: 6px !important;
}

.nav-actions:before,
.nav-actions:after {
    display: table;
    content: "";
}

.nav-actions {
    margin-bottom: 2px !important;
}

.nav-actions:after {
    clear: both;    
}

.nav-actions > li {
    float: left;
}

.nav-actions > li > a {
    padding-left: 12px;
    margin-right: 2px;
    line-height: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.page-header .image {
    margin: 0;
    margin-top: 4px;
}

.page-header .title {
    margin-left: 10px;
}

.page-header .title h2 {
    margin-top: 2px;
}

.page-ext-header .toolbar {
    margin-top: -65px;
}

.nav-actions > li > a:hover {
    text-decoration: underline !important;
    background-color: transparent !important;
}

.form-checkbox {
    margin-bottom: -2px !important;
}

.row .tab-content .tab-pane legend {
    margin-top: -10px;
}

td.checkbox 
{
    width: 18px;
    padding-right: 0;
    padding-top: 8px;
}

td.checkbox input[type="checkbox"] {
    margin: 0;
}

.dropdown-menu .btn-link {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

.dropdown-menu > li > .btn-link:hover,
.dropdown-menu > li > .btn-link:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu .active > .btn-link,
.dropdown-menu .active > .btn-link:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #0088cc;
  background-color: #0081c2;
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-repeat: repeat-x;
  outline: 0;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.nav-list input[type="text"] {
    width: 174px;
}

.nav-list .input-prepend input[type="text"], 
.nav-list .input-append input[type="text"] 
{
    width: 133px;
}

.nav-list select {
    width: 100%;
}

.keyboardTable input, .keyboardTable label.checkbox {
    margin-bottom: 0;
}

.keyboardTable td {
    vertical-align: middle;
}

.keyboardTable .edit {
    display: none;
}

.keyboardTable tr.editing .view {
    display: none;
}

.keyboardTable tr.editing .edit {
    display: inline-block;
}

/* GRID */

.grid {
    max-width: 100%;
    width: 100%;
    margin-bottom: 18px;
}

.row-indicator {
    padding: 2px 3px !important;
    margin-top: 4px; 
    margin-right: 2px;
}

.row-indicator.small {
    padding-top: 0 !important;
    padding-bottom: 1px !important;
    padding-right: 1px !important;
    margin-top: 2px;
}

.grid .grid-row 
{    
    border-top: 1px solid #dddddd;
    padding-top: 3px;
    padding-bottom: 2px;
}

td.expand-collapse {
    width: 14px;
    padding-left: 0;
    padding-right: 0;
}

.grid-row .row-indicator-content {
    width: 206px;
    margin-left: 2px;
}

.grid-row .span8 {
  width: 616px;
  padding-left: 4px;
}

.grid-row .span7 {
  width: 536px;
  padding-left: 4px;
}

.grid-row .span6 {
  width: 456px;
  padding-left: 4px;
}

.grid-row .span5 {
  width: 376px;
  padding-left: 4px;
}

.grid-row .span4 {
    width: 296px;
    padding-left: 4px;
}

.grid-row .span3 {
    width: 216px;
    padding-left: 4px;
}

.grid-row .span2_5 {
    width: 176px;
    padding-left: 4px;
}

.grid-row .span2 {
    width: 136px;
    padding-left: 4px;
}

.grid-row .span1_5 
{
    width: 96px;
    padding-left: 4px;
}

.grid-row .span1 {
    width: 56px;
    padding-left: 4px;
}

.grid-striped .grid-row:nth-child(odd) {
    background-color: #f9f9f9;
}

.grid .grid-row:hover {
    background-color: #f5f5f5;
}

.grid-row .span1.text-align-right,
.grid-row .span1_5.text-align-right,
.grid-row .span2.text-align-right,
.grid-row .span2_5.text-align-right,
.grid-row .span3.text-align-right,
.grid-row .span4.text-align-right,
.grid-row .span5.text-align-right,
.grid-row .span6.text-align-right,
.grid-row .span7.text-align-right,
.grid-row .span8.text-align-right
 {
    padding-left: 0;
    padding-right: 4px;    
}

.checkedListBox 
{
    height: 16em;
    overflow: auto;
    border: 1px solid #DDD;
}

.checkedListBox label.checkbox {
    display: block;
    margin-left: 4px;
}

/* TWITTER BOOTSTRAP OVERRIDE */

.progress 
{
    border: 1px solid #DDD;
    margin: 0 !important;
}

.breadcrumb {
    margin-bottom: 0;
}

.modal {
    font-size: 14px;
    line-height: 20px;
}

.pagination {
    height: 28px !important;
}

.pagination a {
    line-height: 26px !important;
}

.pagination a[disabled="disabled"] {
  color: #999999;
  cursor: default;
  background-color: transparent;
}

textarea[readonly] {
  cursor: default !important;
}

.navbar .nav > li > a[data-toggle="dropdown"] {
    padding-left: 0;
    display: inline-block;
}

.navbar .nav > li.dropdown > a:first-child {
    padding-right: 0 !important;
    display: inline-block !important;
}

footer {
    height: 20px;
    font-size: 11px;
    text-align: center;
}

.page-header 
{
    margin: 0 0 18px 0;
}

.page-header h2 {
    line-height: 1;
}

.table tbody tr td.info {
  background-color: #d9edf7;
}

.tab-content.span9 {
    margin-left: 0;
    overflow: visible;
}

legend .btn-toolbar {
    margin-top: -4px;
}

.table > tbody > tr > td > .label 
{
    margin-top: 1px;
    margin-bottom: 0;
    padding-bottom: 1px;
}

form .control-group ul.nav {
    padding-left: 0;
}

h3 small {
    font-size: 16px;
}

/* Loading bar */

.action-progress-bar {
    width:50px;
    height:4px;
    position:relative;
}

.sidebar .nav .shortcutAction,
.sidebar .nav .changeControllerState {
    display: inline-block;
}

ul.nav-list li .action-progress-bar {
    top: -16px;
}

.progress-ball {
    background-color:#000000;
    position:absolute;
    top:0;
    left:0;
    width:4px;
    height:4px;
    -moz-border-radius:2px;
    -moz-animation-name:progress-ball-bounce;
    -moz-animation-duration:1.3s;
    -moz-animation-iteration-count:infinite;
    -moz-animation-direction:linear;
    -webkit-border-radius:2px;
    -webkit-animation-name:progress-ball-bounce;
    -webkit-animation-duration:1.3s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-direction:linear;
    -ms-border-radius:2px;
    -ms-animation-name:progress-ball-bounce;
    -ms-animation-duration:1.3s;
    -ms-animation-iteration-count:infinite;
    -ms-animation-direction:linear;
    -o-border-radius:2px;
    -o-animation-name:progress-ball-bounce;
    -o-animation-duration:1.3s;
    -o-animation-iteration-count:infinite;
    -o-animation-direction:linear;
    border-radius:2px;
    animation-name:progress-ball-bounce;
    animation-duration:1.3s;
    animation-iteration-count:infinite;
    animation-direction:linear;
}

.progress-ball-1 {
    animation-delay:0s;
    -moz-animation-delay:0s;
    -webkit-animation-delay:0s;
    -ms-animation-delay:0s;
    -o-animation-delay:0s;
}

.progress-ball-2 {
    -moz-animation-delay:0.13s;
    -webkit-animation-delay:0.13s;
    -ms-animation-delay:0.13s;
    -o-animation-delay:0.13s;
    animation-delay:0.13s;
}

.progress-ball-3 {
-moz-animation-delay:0.26s;
-webkit-animation-delay:0.26s;
-ms-animation-delay:0.26s;
-o-animation-delay:0.26s;
animation-delay:0.26s;
}

.progress-ball-4 {
-moz-animation-delay:0.39s;
-webkit-animation-delay:0.39s;
-ms-animation-delay:0.39s;
-o-animation-delay:0.39s;
animation-delay:0.39s;
}

@-moz-keyframes progress-ball-bounce {
    0%{
        left:0px;
        background-color:#000000;
    }
    50%{
        left:47px;
        background-color:#FFFFFF;
    }
    100%{
        left:0px;
        background-color:#000000;
    }
}

@-webkit-keyframes progress-ball-bounce {
    0%{
        left:0px;
        background-color:#000000;
    }
    50%{
        left:47px;
        background-color:#FFFFFF;
    }
    100%{
        left:0px;
        background-color:#000000;
    }
}

@-ms-keyframes progress-ball-bounce {
    0%{
        left:0px;
        background-color:#000000;
    }
    50%{
        left:47px;
        background-color:#FFFFFF;
    }
    100%{
        left:0px;
        background-color:#000000;
    }
}

@-o-keyframes progress-ball-bounce {
    0%{
    left:0px;
    background-color:#000000;
    }

    50%{
    left:47px;
    background-color:#FFFFFF;
    }

    100%{
    left:0px;
    background-color:#000000;
    }
}

@keyframes progress-ball-bounce {
    0%{
    left:0px;
    background-color:#000000;
    }

    50%{
    left:47px;
    background-color:#FFFFFF;
    }

    100%{
    left:0px;
    background-color:#000000;
    }
}
