/******************************/
/*     ESTILOS DO HEADER      */
/******************************/
html{
    height:100%;
    overflow: scroll;
}

body{
    font-family: GothamLight;
    color: #67737A;
    font-size: 20px;
    height: 100%; 
    width: 100%;
    /* min-width:  900px; */
    padding-top: 0 !important;
    background-color: rgb(250, 250, 250);
}

.GothamBook{
    font-family: GothamBook;
}

#page_container, #view_container{
    height:100%;
    position: relative;
}

/* Backdrop cinzenta */
.sw_grey_backdrop{
    position: relative;
    height: 100%;
    background-color: #FAFAFA;
}

/* Header com barra da smartwatt */
.sw_header{
    position: fixed;
    height: 60px;
    line-height: 60px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px; 
    z-index: 100;
    background-color: #FFFFFF;
}

.sw_header_title{
    font-size: 40px;
    /* width: auto; */
    /* float: left; */
}

/*Estilos das dropdowns nos headers*/
.sw_dropdown_header{
    /* position: relative; */
    text-align: center;
    /* position: absolute; */
    height: 26px;
    line-height: 26px;
    font-family: GothamBold;
    /* border-bottom: 1px solid grey; */
}

.sw_dropdown_content{
    height: 26px;
    line-height: 8px;
}


/**********************************/
/* ESTILOS DA PAGINA DASHBOARD   */
/*********************************/

.singular_logo_container{
    position: absolute;
    right: 10px;
    bottom: 5px;
    /*padding: 5px;*/
    height: 60px;
    /* line-height: 60px; */
}

.sw_username{
    line-height: 30px;

    font-size: 18px;
    line-height: 1.4;
    text-align: right;
}

.sw_logout{
    /* line-height: 30px; */

    font-size: 16px;   line-height: 1.4;
    text-align: right;
    cursor: pointer;
}

.sw_mobile_logout{
    display: none !important;
}

.sw_navbar{
    position: fixed;
    width: 100%;
    /* height: 40px; */
    /* display: inline-block; */
    /* margin-top: 60px; */
    margin-bottom: 0px;
    top: 60px;
    border:0px !important;

    background-color: #FFF;

    -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.30); 
    -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.30);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.30); 
}

.sw_navbar .navbar-brand{
    padding-top: 10px;
}

.sw_navbar_logo{
    height: 30px;  
}

/* cor e cor de fundo dos menus quando selecionados */
.sw_navbar .navbar-nav>.active>a{
    background-color: #67737a;
    color:white;
}

/* cor e cor de fundo dos menus on hover */
.sw_navbar ul.nav a:hover { 
    background-color: #67737a !important;
    color:white; }


/* cursor style for anchors with ng-click attribute  */
a[ng-click]{
    cursor: pointer;
}

/* Conteudo dos dashboards que aparecem a seguir a barra de header */
.sw_dashboard_content{
    position: absolute;
    /* height: calc(100% - 115px); */
    width: 100%;
    background-color: #FAFAFA;
    padding: 0px 40px 0px 40px; 
    /* margin-top: 60px; */
    top: 110px;
}


/*animations test for states*/
[ui-view].ng-enter, [ui-view].ng-leave {
    position: absolute;
    left: 0;
    right: 0;
    -webkit-transition:all .5s ease-in-out;
    -moz-transition:all .5s ease-in-out;
    -o-transition:all .5s ease-in-out;
    transition:all .5s ease-in-out;
}

[ui-view].ng-enter {
    opacity: 0;
    -webkit-transform:scale3d(0.5, 0.5, 0.5);
    -moz-transform:scale3d(0.5, 0.5, 0.5);
    transform:scale3d(0.5, 0.5, 0.5);
}

[ui-view].ng-enter-active {
    opacity: 1;
    -webkit-transform:scale3d(1, 1, 1);
    -moz-transform:scale3d(1, 1, 1);
    transform:scale3d(1, 1, 1);
}

[ui-view].ng-leave {
    opacity: 1; 
    -webkit-transform:translate3d(0, 0, 0);
    -moz-transform:translate3d(0, 0, 0);
    transform:translate3d(0, 0, 0);
}

[ui-view].ng-leave-active {
    opacity: 0;
    -webkit-transform:translate3d(100px, 0, 0);
    -moz-transform:translate3d(100px, 0, 0);
    transform:translate3d(100px, 0, 0);
}


/* Other animations */
.loading_rotate{
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.loading_rotate.ng-animate { 
    -webkit-animation: none 0s;
    -moz-animation: none 0s;
    -o-animation: snone 0s;
    animation: snone 0s;
  }

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}
@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}


/* CSS DO CRIS */
.panel-title{
    font-family: GothamLight;
    font-weight: bolder;
}

.panel {
    /*border-radius: 0px !important;*/
    -webkit-transition: box-shadow .1s ease;
    -moz-transition: box-shadow .1s ease;
    -o-transition: box-shadow .1s ease;
    transition: box-shadow .1s ease;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.25);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.25);
    box-shadow: 0 0 3px rgba(0,0,0,0.25);
    border: 0px !important;
}

.panel-title{
    line-height: 20px !important;
    color: #67737A;
}

.panel-heading{
    background-color: #FAFAFA !important;
    border-bottom: 0px dashed #EEEEEE;
    padding: 5px !important;
    border-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}
/* FIM DE CSS DO CRIS */

/* Localizacao atual*/
.current_location{
    margin-top: 20px;
    font-size: 30px;
    /*color: white;*/
}

/*****************************************************************/
/*     ESTILOS DAS APPS (header e container dos graficos)        */
/*****************************************************************/

.sw_app{
    position: relative;
    margin-top: 20px;
    border: 1px solid rgb(224, 224, 224); 
    margin-bottom: 30px;
}

.sw_download_app{
    background-color: white !important;
}

.sw_app_header{
    height: 55px;
    line-height: 52px;
    font-family: GothamLight;
    font-size: 16px;
    /* padding-left: 20px; */
    position: relative;
    background-color: rgb(234, 234, 234);
    border-bottom: 1px solid #e7e7e7;
}

/* Retirar a cor de fundo dos botoes dos headers e customizar estilos default do bootstrap */
.sw_app_header .btn-success{
    color: #555;
    background-color: transparent;
    /* border-color: #4cae4c; */
    border: none;
    padding: 0px 12px 0px 6px;
    margin-bottom: 0px;
}

/* botao de reload */
.sw_app_header .btn-success.reload_btn{
    background-color: #67737a;
    color: white;
    padding: 6px 12px 6px 12px;
}

/* Botao da dropdown */
.dropdown-toggle.btn-success{
    border: 1px solid #67737a;
    border-radius: 4px !important;
}

.dropdown-toggle.btn-success:hover{
    color: #fff;
    background-color: #67737a;
    border-color: #67737a;
    border-radius: 4px;
    outline: none;
}

/* Botao selecionado */
.btn-success.active, .btn-success.focus, .btn-success:active, .btn-success:focus, .open>.dropdown-toggle.btn-success {
    color: #fff;
    background-color: #67737a;
    border-color: #67737a;
    border-radius: 4px;
}


.dropdown_container_left{
    position: absolute;
    top: -2px;
    left: 5px;
    margin-left: 20px;
}

.dropdown_container_right{
    position: absolute;
    top: 0px;
    right: 25px;
}

.reload_btn{
    outline: none !important;
    margin-left: 15px;
}

.company_dropdown_container button{
    font-family:GothamLight;
    outline: 0;
}

.sw_datepicker_container{
    width: 150px;
    float: left;
}


/**********************************/
/*     ESTILOS DO GRAFICO       */
/*********************************/

/*Garantir que o grafico nao faz overflow horizontal por aparecer o scroll*/
.highcharts-container{
    width:100% !important; 
    height:100% !important;
}


/**********************************/
/*     ESTILOS DO DOWNLOAD         */
/*********************************/

.sw_download_section{
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.sw_download_section .btn-success{
    color: #555;
    background-color: transparent;
    /* border-color: #67737A; */ 
    border: 1px solid #67737A;
}

.sw_download_section_btn{
    margin-right: 20px;
    margin-left: 10px;
}

.sw_download_btn{
    font-size: 25px;
    margin-top: 20px;
    /* margin-left: 20px; */
     
    font-family: GothamLight;
    color: white !important;
    /* border-color: white; */
    border: none !important;
    background-color:  #67737A !important;
}

.sw_download_btn:hover{
    color:#67737A !important;
    /*border-color: white;*/
    border:0 !important;
    background-color: white !important;
    outline: 0 !important;
    
}

#loading_download{
    position: absolute;
    left: 180px;
    top: 21px;
    /* margin-left: 20px; */
    /* margin-top: 0px; */
    font-size: 42px;
    /* line-height: 50px; */
}

/**********************************/
/*     ESTILOS DO DATEPICKER     */
/*********************************/

.sw_datepicker th{
    font-family: GothamBold;
}



/* overwrite css dos datepickers para a cor de fundo dos dias */
[date-range] [date-picker] .after.before {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    background-color: #499dcd;
    background-image: -moz-linear-gradient(top,#AEB2B5,#67737A);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#AEB2B5),to(#67737A));
    background-image: -webkit-linear-gradient(top,#AEB2B5,#67737A);
    background-image: -o-linear-gradient(top,#AEB2B5,#67737A);
    background-image: linear-gradient(to bottom,#AEB2B5,#67737A);
    background-repeat: repeat-x;
    border-color: #2f6ab4 #2f6ab4 #1f4677;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f6ab4', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/* overwrite css dos datepickers para os dias desativos, isto e, dias do mes seguinte e do mes anterior que aparecem no mes atual na dropdown */
[date-picker] .disabled{
    color: rgb(192, 192, 192) !important;
}

/* overwrite do css dos dias da semana no picker */
[date-picker] th {
    font-family: GothamBold;   
}

/*

    .ui-datepicker {
        background-color: #fff;
        border: 1px solid #66AFE9;
        border-radius: 4px;
        box-shadow: 0 0 8px rgba(102,175,233,.6);
        display: none;
        margin-top: 4px;
        padding: 10px;
        width: 240px;
    }
    .ui-datepicker a,
    .ui-datepicker a:hover {
        text-decoration: none;
    }
    .ui-datepicker a:hover,
        .ui-datepicker td:hover a {
        color: #2A6496;
        -webkit-transition: color 0.1s ease-in-out;
        -moz-transition: color 0.1s ease-in-out;
        -o-transition: color 0.1s ease-in-out;
        transition: color 0.1s ease-in-out;
    }
    .ui-datepicker .ui-datepicker-header {
        margin-bottom: 4px;
        text-align: center;
    }
    .ui-datepicker .ui-datepicker-title {
        font-weight: 700;
    }
    .ui-datepicker .ui-datepicker-prev,
    .ui-datepicker .ui-datepicker-next {
        cursor: default;
        font-family: 'Glyphicons Halflings';
        -webkit-font-smoothing: antialiased;
        font-style: normal;
        font-weight: normal;
        height: 20px;
        line-height: 1;
        margin-top: 2px;
        width: 30px;
    }
    .ui-datepicker .ui-datepicker-prev {
        float: left;
        text-align: left;
    }
    .ui-datepicker .ui-datepicker-next {
        float: right;
        text-align: right;
    }
    .ui-datepicker .ui-datepicker-prev:before {
        content: "\e079";
    }
    .ui-datepicker .ui-datepicker-next:before {
        content: "\e080";
    }
    .ui-datepicker .ui-icon {
        display: none;
    }
    .ui-datepicker .ui-datepicker-calendar {
        table-layout: fixed;
        width: 100%;
    }
    .ui-datepicker .ui-datepicker-calendar th,
    .ui-datepicker .ui-datepicker-calendar td {
        text-align: center;
        padding: 4px 0;
    }
    .ui-datepicker .ui-datepicker-calendar td {
        border-radius: 4px;
        -webkit-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
        -moz-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
        -o-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
        transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    }
    .ui-datepicker .ui-datepicker-calendar td:hover {
        background-color: #eee;
        cursor: pointer;
    }
    .ui-datepicker .ui-datepicker-calendar td a {
        text-decoration: none;
    }
    .ui-datepicker .ui-datepicker-current-day {
        background-color: #4289cc;
    }
    .ui-datepicker .ui-datepicker-current-day a {
        color: #fff
    }
    .ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover {
        background-color: #fff;
        cursor: default;
    }*/