/*CSS*/
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #7e8289;
    background: #ebebeb;
    font-size: 12px;
}
#wrapper {
    min-height: 100%;
    position: relative;
}
#header {
    padding: 0px;
    background: #ebebeb;
}
#content {
    padding: 10px;
    padding-bottom: 50px;   /* Height of the footer element */
}
#content_admin {
    margin-top: 40px;
    padding: 10px;
    padding-bottom: 50px;   /* Height of the footer element */
}
#footer {
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000000;
}
.navbar-brand {
    padding-top: 5px;
}
.footer_div {
    width: 100%;
    text-align: center;
    line-height: 30px;
    color: #ffffff;
}
.logo_div {
    margin: 20px auto 15px auto;
    text-align: center;
    padding-bottom: 10px;
}
.page_title {
    font-size: 26px;
    font-weight: 500;
    line-height: 33px;
    color: #3b3e42;
    width: 50%;
    margin: 20px auto 15px auto;
    text-align: center;
    padding-bottom: 10px;
}
.align_center {
    text-align: center;
}
.align_right {
    text-align: right;
}
.align_left {
    text-align: left;
}
.align_justify {
    text-align: justify;
}
.bold_text {
    font-weight: bold;
}
.asterisco {
    color: #b94a48;
}
.header_block {
    height: 50px;
    color: #999;
    margin-left: 30px;
    float: left;
}
.img_menu {
    padding-right: 5px;
}

/* ajax loading */
.modal-backdrop {
    z-index: 999999998;
    height: 100vh;
}
#ajax_loader {
    position: fixed; 
    left: 50%; 
    top: 50%;
    z-index: 999999999; 
    height: 100px; 
    width: 200px;
    margin-left: -100px; 
    margin-top: -50px; 
    text-align: center;
}
.text-loading {
    margin-top: 40px;
    color: #3b3e42;
    font-weight: 500;
}

.dataTable tbody tr td {
    line-height: 30px;
}

/* login */
#login_box {
    width: auto;
    max-width: 550px;
    height: auto;
    min-height: 200px;
    margin: 0 auto 30px auto;
}
#login_box .input-group-addon {
    width: 40px;
}
#logout {
    height: 50px;
    color: #999;
    margin-right: 15px;
}
.logout_span {
    cursor: pointer;
    text-align: right;
    line-height: 30px;
}
.logout_span:hover {
    color: #fff;
}
.logout_span span {
    padding-left: 5px;
}

/* bootstrapp correccoes */
.form-control {
    height: 30px;
}

.form-control, .input-group-addon, .panel-title, .btn {
    font-size: 12px;
}

.has-feedback .form-control-feedback {
    top: 0px;
    z-index: 10;
    height: 30px;
    line-height: 30px;
}

.input_form {
    border-radius: 4px !important;
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    -webkit-border-radius:  4px !important;
    -webkit-border-bottom-left-radius: 0 !important;
    -webkit-border-top-left-radius: 0 !important;
    -moz-border-top-left-radius: 0 !important;
    -moz-border-radius-bottomleft: 0 !important;
}

@media (min-width: 768px) {
    .container {
        width: auto;
    }
}

.tabs_admin {
    border-bottom: none;
    width: 90%;
}

.tab-content {
    border: 1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    min-height: 300px;
    height: auto;
    padding: 15px;
    background-color: #fff;
    float: left;
}
.tab_full_content {
    width: 100%;
}

.header_block .form-group {
    margin-bottom: 0px;
    padding-top: 8px;
}

.input-group {
    width: 100%;
}

/* chosen correcoes */
.chosen-container {
    width: 150px;
    font-size: 12px;
}
.chosen-container-active .chosen-single {
    border: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
}
.chosen-container-single .chosen-single {
    -webkit-border-top-left-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    height: 30px;
    line-height: 30px;
}
.select_responsive_mode {
    position: absolute;
}
/**/
.modal {
    z-index: 999999999;
}

.modal-content {
    overflow: hidden;
}

.modal-body {
    font-size: 13px;
}

.modal-danger .modal-header {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.modal-danger .close {
    color: #a94442;
}

.modal-danger .modal-content {
    border-color: #ebccd1;
}

.modal-danger .modal-footer {
    border-top: 1px solid #ebccd1;
}

.modal-warning .modal-header {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.modal-warning .close {
    color: #8a6d3b;
}

.modal-warning .modal-content {
    border-color: #faebcc;
}

.modal-warning .modal-footer {
    border-top: 1px solid #faebcc;
}

.modal-info .modal-header {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.modal-info .close {
    color: #31708f;
}

.modal-info .modal-content {
    border-color: #bce8f1;
}

.modal-info .modal-footer {
    border-top: 1px solid #bce8f1;
}

.modal-success .modal-header {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.modal-success .close {
    color: #3c763d;
}

.modal-success .modal-content {
    border-color: #d6e9c6;
}

.modal-success .modal-footer {
    border-top: 1px solid #d6e9c6;
}

.modal-primary .modal-header {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.modal-primary .close {
    color: #fff;
}

.modal-primary .modal-content {
    border-color: #428bca;
}

.modal-primary .modal-footer {
    border-top: 1px solid #428bca;
}


/* outros elementos */

.button_list {
    margin-right: 10px;
}

.error_messages {
    color: #ff0000;
    font-size: 14px;
    text-align: center;
}

.div_edit_elem, .div_notificacao_elem {
    height: auto;
    min-height: 34px;
    line-height: 20px;
}

.div_notificacao_elem {
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
}

.chosen-container {
    cursor: pointer;
}

.label_text {
    width: 150px;
}

.check_span {
    cursor: pointer;
}

.nav-tabs>li {
    margin-bottom: -2px;
}

.chosen-container-active .chosen-single {
    border: 1px solid #ccc;
}

.row_comentario {
    cursor: pointer;
}

.files_tarefa .btn-default:active, .files_tarefa .btn-default.active {
    color: #fff;
    background-color: #428bca;
}


/* botoes novos bootstrap */

.btn-orange {
    background-color: #e0440e;
    border-color: #e0440e;
    color: #ffffff;
}
.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active {
    background-color: #c83d0d;
    border-color: #b0350b;
    color: #ffffff;
}
.btn-orange.disabled:hover,
.btn-orange.disabled:focus,
.btn-orange.disabled:active,
.btn-orange.disabled.active,
.btn-orange[disabled]:hover,
.btn-orange[disabled]:focus,
.btn-orange[disabled]:active,
.btn-orange[disabled].active,
fieldset[disabled] .btn-orange:hover,
fieldset[disabled] .btn-orange:focus,
fieldset[disabled] .btn-orange:active,
fieldset[disabled] .btn-orange.active {
    background-color: #e0440e;
    border-color: #e0440e;
    color: #ffffff;
}

.btn-purple {
    background-color: #990099;
    border-color: #990099;
    color: #ffffff;
}
.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active,
.btn-purple.active {
    background-color: #800080;
    border-color: #660066;
    color: #ffffff;
}
.btn-purple.disabled:hover,
.btn-purple.disabled:focus,
.btn-purple.disabled:active,
.btn-purple.disabled.active,
.btn-purple[disabled]:hover,
.btn-purple[disabled]:focus,
.btn-purple[disabled]:active,
.btn-purple[disabled].active,
fieldset[disabled] .btn-purple:hover,
fieldset[disabled] .btn-purple:focus,
fieldset[disabled] .btn-purple:active,
fieldset[disabled] .btn-purple.active {
    background-color: #990099;
    border-color: #990099;
    color: #ffffff;
}

.btn-pink {
    background-color: #DD4477;
    border-color: #DD4477;
    color: #ffffff;
}
.btn-pink:hover,
.btn-pink:focus,
.btn-pink:active,
.btn-pink.active {
    background-color: #d92e67;
    border-color: #c9255c;
    color: #ffffff;
}
.btn-pink.disabled:hover,
.btn-pink.disabled:focus,
.btn-pink.disabled:active,
.btn-pink.disabled.active,
.btn-pink[disabled]:hover,
.btn-pink[disabled]:focus,
.btn-pink[disabled]:active,
.btn-pink[disabled].active,
fieldset[disabled] .btn-pink:hover,
fieldset[disabled] .btn-pink:focus,
fieldset[disabled] .btn-pink:active,
fieldset[disabled] .btn-pink.active {
    background-color: #DD4477;
    border-color: #DD4477;
    color: #ffffff;
}

.btn-darkblue {
    background-color: #316395;
    border-color: #316395;
    color: #ffffff;
}
.btn-darkblue:hover,
.btn-darkblue:focus,
.btn-darkblue:active,
.btn-darkblue.active {
    background-color: #2b5682;
    border-color: #244a6f;
    color: #ffffff;
}
.btn-darkblue.disabled:hover,
.btn-darkblue.disabled:focus,
.btn-darkblue.disabled:active,
.btn-darkblue.disabled.active,
.btn-darkblue[disabled]:hover,
.btn-darkblue[disabled]:focus,
.btn-darkblue[disabled]:active,
.btn-darkblue[disabled].active,
fieldset[disabled] .btn-darkblue:hover,
fieldset[disabled] .btn-darkblue:focus,
fieldset[disabled] .btn-darkblue:active,
fieldset[disabled] .btn-darkblue.active {
    background-color: #316395;
    border-color: #316395;
    color: #ffffff;
}

.btn-darkred {
    background-color: #B82E2E;
    border-color: #B82E2E;
    color: #ffffff;
}
.btn-darkred:hover,
.btn-darkred:focus,
.btn-darkred:active,
.btn-darkred.active {
    background-color: #a42929;
    border-color: #8f2424;
    color: #ffffff;
}
.btn-darkred.disabled:hover,
.btn-darkred.disabled:focus,
.btn-darkred.disabled:active,
.btn-darkred.disabled.active,
.btn-darkred[disabled]:hover,
.btn-darkred[disabled]:focus,
.btn-darkred[disabled]:active,
.btn-darkred[disabled].active,
fieldset[disabled] .btn-darkred:hover,
fieldset[disabled] .btn-darkred:focus,
fieldset[disabled] .btn-darkred:active,
fieldset[disabled] .btn-darkred.active {
    background-color: #B82E2E;
    border-color: #B82E2E;
    color: #ffffff;
}

.btn-lightgreen {
    background-color: #66AA00;
    border-color: #66AA00;
    color: #ffffff;
}
.btn-lightgreen:hover,
.btn-lightgreen:focus,
.btn-lightgreen:active,
.btn-lightgreen.active {
    background-color: #579100;
    border-color: #477700;
    color: #ffffff;
}
.btn-lightgreen.disabled:hover,
.btn-lightgreen.disabled:focus,
.btn-lightgreen.disabled:active,
.btn-lightgreen.disabled.active,
.btn-lightgreen[disabled]:hover,
.btn-lightgreen[disabled]:focus,
.btn-lightgreen[disabled]:active,
.btn-lightgreen[disabled].active,
fieldset[disabled] .btn-lightgreen:hover,
fieldset[disabled] .btn-lightgreen:focus,
fieldset[disabled] .btn-lightgreen:active,
fieldset[disabled] .btn-lightgreen.active {
    background-color: #66AA00;
    border-color: #66AA00;
    color: #ffffff;
}

.btn-turquese {
    background-color: #22AA99;
    border-color: #22AA99;
    color: #ffffff;
}
.btn-turquese:hover,
.btn-turquese:focus,
.btn-turquese:active,
.btn-turquese.active {
    background-color: #1e9586;
    border-color: #1a8073;
    color: #ffffff;
}
.btn-turquese.disabled:hover,
.btn-turquese.disabled:focus,
.btn-turquese.disabled:active,
.btn-turquese.disabled.active,
.btn-turquese[disabled]:hover,
.btn-turquese[disabled]:focus,
.btn-turquese[disabled]:active,
.btn-turquese[disabled].active,
fieldset[disabled] .btn-turquese:hover,
fieldset[disabled] .btn-turquese:focus,
fieldset[disabled] .btn-turquese:active,
fieldset[disabled] .btn-turquese.active {
    background-color: #22AA99;
    border-color: #22AA99;
    color: #ffffff;
}


.div_tab_content, #tab_content {
    float: left;
    width: 100%;
}

.form_bo .input-group-addon {
    width: 150px;
}

/* graficos */
.content_graficos {
    min-height: 300px;
    height: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20PX;
}

.dashboard_table td, .dashboard_table th {
    height: 40px;
}

.dashboard_table thead {
    background-color: #ededed;
    color: #000000;
}

/* frota */
.veiculo_btn {
    width: 170px;
    height: 170px;
    padding-left: 10px;
    padding-right: 10px;
}
.div_img_veiculo, .img_despesa {
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    width: 150px;
    height: 100px;
}
.caracteristicas_veiculo div, .label_despesa {
    font-weight: bold;
    line-height: 25px;
    height: 25px;
}
.main_div_veiculos, .div_despesa {
    margin-top: 10px;
    margin-bottom: 10px;
}
.modal_veiculos .modal-header, .modal_veiculos .modal-content, .modal_veiculos .modal-body, .modal_veiculos .modal-footer {
    float: left;
    width: 100%;
}
.title_last_consumos {
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
    color: #000;
}
.dados_last_consumos {
    margin-top: 10px;
}
.dados_last_consumos b {
    color: #000;
}



/* configuracoes */
#menu_config_header .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
}
#menu_config_header a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.menu_config_header {
    height: 37px;
    line-height: 37px;
    text-align: center;
    font-weight: bold;
    color: #555;
}
#logo_empresa {
    overflow: hidden;
    padding: 0px;
    border: 1px solid #ddd;
    width: 150px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.icon_tree, .tab_left {
    padding-left: 5px;
    padding-right: 5px;
}
.tab_left .col-xs-12 {
    padding-left: 0px;
    padding-right: 0px;
}
.form_bo .input-group-addon {
    width: 150px;
}
.form_bo .checkbox {
    padding-top: 0px;
    padding-left: 30px;
}
.form_bo .checkbox_form {
    margin-top: 0px;
    box-shadow: none;
}
.form_bo .textarea_form {
    width: 100%;
    height: 70px;
}
.form_bo .btn_guardar {
    margin-bottom: 20px;
}
.form_bo .btn_voltar {
    margin-right: 20px;
}
.form_bo .form-group {
    margin-left: 0px;
    margin-right: 0px;
    float: left;
    width: 100%;
}
.form_bo .has-feedback .form-control-feedback {
    right: 0px;
}
.div_col_left {
    margin-bottom: 10px;
}
.color_danger {
    color: #a94442;
}
.color_warning {
    color: #eb9316;
}
.color_success {
    color: #3c763d;
}
.color_default {
    color: #000000;
}
.modal-float {
    float: left;
    width: 100%;
}
.msg_arvore_right {
    text-align: center;
    margin-top: 50px;
}
.mandatory_label {
    padding-right: 20px;
    font-weight: bold;
    color: #000000;
}
.mandatory_field {
    font-weight: bold;
}
.div_add {
    margin-bottom: 20px;
    margin-top: 20px;
}
.div_tab_content, #tab_content {
    float: left;
    width: 100%;
}
.bootstrap-datetimepicker-widget {
    border: 1px solid rgba(0,0,0,.15);
    background-color: #fff;
    color: #7e8289;
}
.input-group-addon.datepicker {
    width: 37px;
}
.class_promocao {
    display: none;
}
.add_element {
    text-align: center;
    width: 100%;
}
.add_elements_opt {
    width: auto;
    margin: 0 auto;
    max-width: 400px;
}
.select_elements {
    width: 100%;
    max-width: 200px;
    float: left;
}
.checkbox_validator {
    font-size: 20px;
    float: none !important;
}
.text_validator {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 200px;
    margin-bottom: 0;
    height: 30px;
    padding: 6px 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    display: table-cell;
    margin-left: 10px;
}
.checkbox_validator_div {
    height: 40px;
    line-height: 40px;
    margin-bottom: 5px !important;
}
.text_length {
    margin-left: 0px;
}
.elements_validators {
    border: 1px solid #ccc;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.confs_right .tab-content {
    float: left;
    width: 100%;
}
.form_bo, #content_configs, .form_bo, #content_marcas, .form_bo, #content_modelos {
    float:left;
    width: 100%;
}
.form_bo {
    width: 100%;
    margin-top: 20px;
}
.label_categoria {
    float: left;
    padding-right: 10px;
    padding-left: 5px;
    display: block;
    width: 40px;
}
#elements_seguros {
    border: 1px solid #ccc;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.no_despesas_form {
    text-align: center;
    padding-top: 50px;
    font-weight: bold;
}
.form_despesas {
    width: 100%;
}
.label_categoria, .label_utilizadores {
    line-height: 30px;
}
.check_categoria, .check_utilizador {
    margin-top: 10px !important;
    float: left !important;
    width: 20px;
    position: relative !important;
}
#elements_escala .table-responsive {
    overflow: inherit;
}

#search_frota {
    max-width: 350px;
}

@media (max-width: 500px) {
    .main_div_veiculos {
        width: 50%;
        float: left;
    }
}

@media (max-width: 400px) {
    #accordion_conta .panel-body, .confs_right {
        padding-left: 0px;
        padding-right: 0px;
    }
    #accordion_conta .label_text {
        width: 70px;
    }
    #accordion_conta .table>thead>tr>th,
    #accordion_conta .table>tbody>tr>th,
    #accordion_conta .table>tfoot>tr>th,
    #accordion_conta .table>thead>tr>td,
    #accordion_conta .table>tbody>tr>td,
    #accordion_conta .table>tfoot>tr>td {
        padding: 5px;
    }

    .main_div_veiculos {
        width: 100%;
        float: left;
    }
}