.mainpanel {
    height: auto !important;
}

.help-block{
    margin-bottom: 0;
}

.text-info{
    color: #31708F !important;
    font-style: italic;
}

.help-block-error {
    color: #A94442;
    display: block;
    margin-top: 5px;
}

.help-block-error-wizard {
    color: #A94442;
    display: block;
}

.headerbar{
    height: 58px;
}

body.notfound nav.headerbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
}

body.notfound div.contentpanel {
    padding: 88px 20px 20px 20px
}

.menutoggle{
    height: 58px;
    width: 50px;
}

.menutoggle .fa, .menutoggle .glyphicon {
    margin: 16px 0 0 16px;
}

.headermenu .dropdown-toggle{
    padding: 18px 10px;
}

.modal .panel{
    margin-bottom: 0;
}

.fileupload img{
    max-width: 200px;
}

.pager .finish > button, .pager .finish > span {
    float: right;
    font-size: 14px !important;
}

.form-control:focus{
    box-shadow: none;
    border: 1px solid #0097cf;
}

.has-success .form-control:focus,
.has-warning .form-control:focus,
.has-error .form-control:focus {
    box-shadow: none;
}

.well h2{
    margin-top: 0;
}

.list-tr-canceled {
    background-color: #f2dede;
}

.list-tr-trashed td {
    color: #a40f0f;
    text-decoration: line-through;
}

.list-tr-trashed td.table-action {
    color: #636e7b;
    text-decoration: none;
}

.list_actions{
    padding: 20px;
}

.list_actions:after{
    display: block; clear: both; content:"";
}

.form-inline select.form-control{
    margin: 0;
}

.form-inline select.input-sm{
    height: 40px;
}

#ajax-loader-pagination {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%; 
    top: 50%;
    margin: -15px 0 0 -15px;
    font-size: 52px;
    display: none;
    z-index: 9999;
}

.ajax-loader-background{
    opacity: 0.50;
    filter: alpha(opacity=50);
    background-image: url(../images/loaders/loader10.gif);
    background-repeat:no-repeat;
    background-position:center; 
}


.btn-primary{
    background-color: #00B4FF;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active{
    background-color: #3094BF;
}

.basic-wizard .pager li a{
    background-color: #00B4FF;
}

.basic-wizard .pager li a:hover{
    background-color: #3094BF;
}

.input-group .select-option {
    border-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-appearance: none;
    -moz-border-radius: 0px;
    -moz-border-top-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
}

/*********** ESTILO DEL AUTOCOMPLETADO ***********/

.autocomplete-selected {
    color: #fff;
    background-color: #0097cf;
}

.autocomplete-suggestion {
    cursor: pointer;
    overflow: hidden;
    padding: 3px 20px !important;
    font-size: 13px;
    line-height: 24px;
    margin: 8px 0;
}

.autocomplete-suggestions {
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}


.logout{
    border-left: 1px solid #eee;
    padding: 4px 50px;
    font-size: 15px;
}

.notfound .logopanel{
    border: none;
}

.form-horizontal .error_list {
    margin-top: -20px;
}

.alert .error_list {
    margin: 0;
}

.error_list{
    padding-left: 0px;
}

.error_list li{
    list-style: none;
    display: block;
    color:#a94442 !important;
}

.flot-x-axis .tickLabel 
{    
    transform: rotate(-60deg);
    -ms-transform:rotate(-60deg); /* IE 9 */
    -moz-transform:rotate(-60deg); /* Firefox */
    -webkit-transform:rotate(-60deg); /* Safari and Chrome */
    -o-transform:rotate(-60deg); /* Opera */
    /*rotation-point:50% 50%;*/ /* CSS3 */
    /*rotation:270deg;*/ /* CSS3 */
    max-width: 32px !important;
}

#filter-form .btn{
    padding: 8px 10px;
}

.store-image img{
    max-width: 100%;
}

select.form-control {
    height: 40px;
}

div.form-group > input, div.input-group, div.fileupload.required, textarea.required, select.required {
    margin-bottom: 21px !important;
}

span.help-block-error, span.help-block-error-wizard {    
    margin-top: -21px;
    height:21px;
}

.easy-autocomplete span.help-block-error, #taxes span.help-block-error {
    margin-top: 0;
}

div.fileupload span.help-block-error {
    display: inline;
}

form#contract_form label.error {
    margin-top: -26px;
    margin-bottom: 0 !important;
}

#wizard-autoinvoice{
    margin-bottom: 0px;
}

.grid{
    text-align: center;
    width: 100%;
    padding: 30px 10px;
    background: url(/images/browser.png);
    background-size: 100% 310px;;
    background-repeat: no-repeat;
}
.grid table{
    width: 100%;
}

.grid td{
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    width: 33%;
    height: 90px;
    border: 1px solid #000;
}

.version{
    text-align: center;
    font-size: 11px; 
    margin-top: 10px;
}


.logo-header{
    display: none;
}

.logo-header img{
  height: 58px;  
}

.leftpanel-collapsed .logo-header{
    display: inherit;
}

tr.detail-open {
    background-color: #fcbc55;
}
tr.detail-open:hover > td {
    background-color: #fcbc55 !important;   
}

tr.detail-open-valid {
    background-color: #3ea529;
    color: #fff;
}
tr.detail-open-valid a, tr.detail-open-valid a:hover {
    color: #fff;
}
tr.detail-open-valid:hover > td {
    background-color: #3ea529 !important;
    color: #fff;
}

tr.detail-open-invalid {
    background-color: #ea1c1c;
    color: #fff;
}
tr.detail-open-invalid a, tr.detail-open-invalid a:hover {
    color: #fff;
}
tr.detail-open-invalid:hover > td {
    background-color: #ea1c1c !important;
    color: #fff;
}

#filter-form .input-group{
    margin-bottom: 0 !important;
}

#advanced-filter .form-group{
    margin-bottom: 20px !important;
    margin-right: 0 !important;
}

span.desc .badge {
    float: none !important;
    margin-right: 5px;
}

body.notfound section {
    background-color: #e4e7ea;
    min-height: 100vh;
    /*min-height: 100%;*/
}

body.notfound .logopanel {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    z-index: 100;
    text-align: center;
}

.panel-btns .btn{
    opacity: 1 !important;
    font-weight: normal; 
    margin-top: -8px;
}

span.indicator {
    color: #ed9c28;
    margin-right: 5px;
}

/*.tab-content {
    border-left: none !important;
    border-right: none !important;
}*/

.nav-tabs > li > a {
    border-right: none !important;   
}

.secondary_action {
    margin-right: 5px;
}

.bootstrap-datetimepicker-widget {
  z-index: 100000 !important;
}

.sub-panel-heading{
    padding: 20px; 
    background: #fff;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.panel-body .panel-title{
    font-size: 18px !important;
}

h6.crossed {
    padding-top: 5px;
    color:red;
    font-size:1.2em;
    text-decoration: line-through;
}

p.coupon-info {
    margin: 0;
    color:#428bca;
}

h6.discount {
    padding-top: 5px;
    font-size:1.5em;
}

#incoming-expenses-chart, #cfdi-chart{
    width: 100%; height: 300px; margin-bottom: 20px
}

#top-customer-chart, #validation-percent-chart{
    text-align: center; height: 298px;
}

li.select-link {
    cursor: pointer;
}

li.select-link span.next-icon {
    font-size:20px;
    margin: 15px 10px 0 0;
}

span.li-next-icon {
    font-size:18px;
    margin: 10px 2px 0 0;
}

div.badge-wrapper {
    background-color: #003A5B;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    padding-top: 15px;
    border-radius: 50%;
}

.company-list li:last-child {
    padding: 15px 5px;
    border-bottom: 1px solid #eee;
}

.thumb-badge {
    overflow: hidden;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
}

.thumb-badge img {
    margin: -10px;
    width: auto;
}

ul.checkbox_list {
    list-style-type: none;
    padding-left: 0;
}

table.table .glyphicon:before {
    margin: 2px;
}

/*.fileupload {
    margin-bottom: 26px;
}*/
form .form-group:last-child {
    margin-bottom: 15px;
}
.uneditable-input {
    width: 50%;
}

#modal-form .panel-body {
    max-height: 470px;
    overflow-y: scroll;
}

.current-time {
    font-weight: 600;
    font-size: 18px;
    border: 1px dotted #ccc;
    padding: 10px;
}

.alert-danger > .error_list > li {
    list-style-type: disc !important;            
}

#invoice-form > .error_list {
    border-radius: 3px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    margin-bottom: 20px;
    padding: 15px;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff !important;
    cursor: not-allowed;
}

.pointer-events-none {
    pointer-events: none !important;
}

.has-error .chosen-container{
    border: 1px solid #a94442 !important;
}

.table-responsive {
    min-height: 0.01%;
    overflow-x: auto;
}

.textarea-container {
    margin-bottom: 21px;
}

.g-recaptcha > div {
    margin: 0 auto;
}

.feature-unit {
    border: #FF8100 2px dashed;
    padding-top: 10px;
    margin-bottom: 20px;
}

.btn-feature-action {
    margin: 10px;
}