/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */


/*

Cores:
Vermelho: #D32525

*/
body {
    background-color: #f8f8f8;
    font-family:'Open Sans',"Helvetica Neue",Helvetica,Arial,sans-serif;
    color:#707478;
    font-size: 12px;
}

#loading-template{
    display: none;
    position: fixed;    
    bottom: 0;
    left: 0;
    background: #E6E8EC url(loading.gif) no-repeat center;
    z-index:1020;
    height: 40px;
    line-height: 40px;
    padding-left: 50px;
    font-size: 1em;
    z-index: 99999;    
    text-align: center;
}

#page-loader{position:fixed;top:0;left:0;bottom:0;right:0;background:#E6E8EC;z-index:1020}
#page-loader.fade{display:none}
#page-loader.fade.in{display:block}@-webkit-keyframes rotation{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes rotation{from{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(359deg)}}@-o-keyframes rotation{from{-o-transform:rotate(0deg)}to{-o-transform:rotate(359deg)}}@keyframes rotation{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}
.spinner,.spinner-small{height:40px;width:40px;position:absolute;top:50%;left:50%;margin:-20px -20px 0 0;border:2px solid #fff;border-top:2px solid #D32525;border-radius:100%}
.fade.in .spinner,.fade.in .spinner-small{-webkit-animation:rotation .6s infinite linear;-moz-animation:rotation .6s infinite linear;-o-animation:rotation .6s infinite linear;animation:rotation .6s infinite linear}
.spinner-small{border:2px solid rgba(0,0,0,.05);border-top:2px solid #24B498;height:30px;width:30px;margin:-15px -15px 0 0}

#wrapper {
    width: 100%;
    background: #2D353C;
}


#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}


.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    /*padding: 15px;*/
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    /*border-bottom: 1px solid #fff;*/
}

.sidebar ul li a.active {
    /*background-color: #fff;*/
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 49px !important;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 51px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}



.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 25px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

/* Custom */

.red{color: #e00;}
.green{color: #5cb85c;}







/* ========================================= TEMPLATE ========================================= */

a{        
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;    
}

.foto-usuario-topo{
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.navbar-header{
    background: #fff;    
    min-width: 250px;
    color: #fff !important;
    text-align: center;
}

.navbar-default{
    background: #fff;   
    border: none !important;    
}

/* Logotipo */
.navbar-brand{
    background: #fff;
    padding: 0;
    text-align: center;    
}
a.navbar-brand:hover{
    background: #f2f2f2 !important;
}

#page-wrapper {    
    /*background-color: #D9E0E7;    */
    background-color: #E9EAED;    
    /*border-top: 1px solid #eee;*/
}

.sidebar{    
    background: none !important;
    /*padding-top: 10px;*/
}

.nav > li{
    /*margin: 5px;*/
}

.sidebar .nav > li > a{
    color: #a8acb1;   
    padding: 8px 20px;
}
.nav > li > a:hover{
    color: #fff;
    background: #232A2F !important;
}
.nav > li > a.active{
    background: #232A2F !important;
}
.nav > li > a:focus{
    background: none !important;
}
.nav > li > a i{
    margin-right: 10px;
}

/* Icone de usuario no canto direito no topo */
.nav > .dropdown > a{
    background: none;
    color: #2D353C;
}
.nav > .dropdown > a:hover{
    background: #f2f2f2 !important;
    color: #999;
}

.page-header{
    margin: 0.7em 0;
    padding: 0.5em 0;
    font-size: 1.5em;
    /*text-transform: uppercase;   */
    color: #333; 
    border: none !important;
}
.page-header small{
    text-transform: none;
}




.panel {
    margin-bottom: 20px;
    background-color: #fff;
    /*border: 1;*/
    /*border-radius: 0;*/
    -webkit-box-shadow: none;
    box-shadow: none;
}


/* NOVAS FORMATACOES */
.vermelho{color: #f00 !important;}
.azul{color: #06f !important;}
.preto{color: #111 !important;}
.branco{color: #fff !important;}
.cinza{color: #ccc !important;}

.clear{clear: both;}

.btn-atalho-topo{
    float: right;
    margin-top: -4px;
}
.btn-atalho-topo-tabela{
    float: right;
    margin-top: -5px;
}

.btn-atalho-aba{
    float: right;
    margin-top: 0;
}

.filtro-data{
    margin-left: -1em !important;
    margin-right: -1em !important;
}


.btn {
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-default.btn-gray {    
    color: #333;    
    background-color: #eee;
}

.btn-default.btn-gray:hover,
.btn-default.btn-gray:focus {    
    outline: 0;
    color: #000;
    background-color: #ccc;
}


/* Abas */
.nav-tabs>li>a{
    color: #333;
    background: #F5F5F5;
    border: 1px solid #ddd;
}


/* Mascaras */
.mask-data{
    /*width: 120px;*/
}


/* Customizacao da Modal */
.modal-header{
    padding: 8px 10px;
    background: #F5F5F5;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-title{
    text-transform: uppercase;
    font-size: 1em;
}
.modal-header .close {
    /*margin-top: 0;*/
}
.modal-body {
    padding: 10px;
}


/* Filtro de pontos */
.filtro-pontos-resultado{
    background: #eee;
    padding: 1em;
    display: none;
}
.filtro-pontos-resultado h3{
    margin: 0;
    margin-bottom: 0.5em;
}

/* Formatacao geral de campos */
fieldset legend{    
    font-size: 1em;
}

.has-error .form-control{
    border: 1px solid #c00;
}

#copyright{
    background: #F8F8F8;
    padding-bottom: 1em;
}


/* Customizacao dos botoes */
.btn {
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-primary {
    border: 1px solid #348fe2;
    color: #fff;    
    background-color: #348fe2;    
}

.btn-primary:hover,
.btn-primary:focus {
    border: 1px solid #2A72B5;
    outline: 0;
    color: #fff;
    /*background-color: transparent;*/
    background-color: #2A72B5;
}


.btn-cancel {
    border: 3px solid #D13E36;
    color: #fff;    
    background-color: #D13E36;
}

.btn-cancel:hover,
.btn-cancel:focus {
    border: 3px solid #D13E36;
    outline: 0;
    color: #D13E36;
    background-color: transparent;
}



/* Botao com borda, sem fundo, pra ser aplicado em cor clara */
.btn-gray {
    border: 1px solid #b6c2c9;    
    color: #fff;
    background-color: #b6c2c9;     
}

.btn-gray:hover,
.btn-gray:focus {
    border: 1px solid #929BA1;    
    color: #fff;
    background-color: #929BA1;
}



/* Botao com borda, sem fundo, pra ser aplicado em cor clara */
.btn-default.btn-default-gray2 {
    border: 3px solid #444;    
    color: #fff;
    background-color: #444; 

}

.btn-default.btn-default-gray2:hover,
.btn-default.btn-default-gray2:focus {
    border: 3px solid #777;
    outline: 0;
    color: #fff;    
    background-color: #777;
}


/* Botao sem borda, com fundo amarelo, pra ser aplicado em cor clara */
.btn-default.btn-default-yellow {
    border: 3px solid #F7BD47;    
    color: #fff;
    background-color: #F7BD47; 

}

.btn-default.btn-default-yellow:hover,
.btn-default.btn-default-yellow:focus {
    border: 3px solid #F7BD47;
    outline: 0;
    color: #444;    
    background-color: transparent;
}


/* Formularios */
label{
    color: #242a30;
    font-weight: 500;
}


/* Notificacoes */
.alert{
    border: none;   
}
.alert.alert-info{
    color: #000;
    background-color: #93CFE5;    
}
.alert.alert-success{
    background-color: #7cdda7;
}
.alert.alert-danger{
    background-color: #f8b2b2;
}
.alert.alert-warning {
    background: #ffead0;
}

/* Painel */
/*.panel {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.panel-heading{
    background: #2D353C !important;
    color: #fff !important;
}
.panel-title{
    color: #fff !important;
}*/

.form-control{
    font-size: 1em;
}

/* Alerta nos campos de formulario */
.has-error .form-control {
  border-color: #a94442;
  background: #f2f2f2;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
