/*depois ao refazer separar isto*/
.sw_rm_left_navbar{
    position: fixed;
    height: calc(100% - 50px);
    width: 55px;
    background-color: white;
    z-index: 100;
}

.sw_rm_left_navbar > div{
    width:100%;
    height: 55px;
    line-height: 55px;
    text-align: left;
    padding-left: 19px;
    cursor: pointer;
}

.sw_rm_left_navbar > div:hover{
    background-color: #67737A;
    color: white;
}

.sw_rm_left_navbar > div.active{
    background-color: #67737A;
    color: white;
}

/*.sw_rm_left_navbar > ul{
    list-style-type: none;
    cursor: pointer;
}

.sw_rm_left_navbar > ul >li{
}

.sw_rm_left_navbar li a{
    color: #647378;
}*/

/*+++++++++++++*/

.sw_rm_dashboard_content{
    position: relative;
    padding: 20px 20px 20px 75px;
}

#home-chart{
    height: 450px;
}

#performanceChartConfig, #monitoringChartConfig1, #monitoringChartConfig2{
    height: 450px;
}

#performanceDeviationChartConfig{
    height: 450px;
}

#gaugeConfig{
    height: 118px;
}

.rm-search-field{
    outline:none;
}

.installations-list{
}

.installations-list-container{
    height: 450px;
}

.installations-list-content{
    height: 416px;
    overflow-y: auto;
    overflow-x: hidden;
}

.selected-installation{
    font-family: GothamBook;
    font-size: 24px;
}

.period-selection-container button{
    outline: none !important;
}

.instalation-data-title{
    font-size: 14px;
}

.installation-row{
    /* padding-right: 10px; */
    /* min-height: 25px; */
    /* line-height: 25px; */
    padding: 4px 2px;
    cursor: pointer;
    background-color: #EFEFEF;
    margin-top: 3px;
}

.installation-row.small-installation-row{
    line-height: 20px !important;
}

.installation-row:nth-child(1){
    border: none;
}

.installation-row:hover{
    background-color: #E2E2E2;
}

.installation-row.selected{
    background-color: #E2E2E2;
}

/*.installation-row > div{
    background-color: #EFEFEF;
    padding-top: 2px;
}*/

.installation-description{
    /*float:left;*/
    font-size: 14px;
    text-align: left;
    /* width: 70%; */
    display: inline-block;
    padding-right: 5px;
    font-family: GothamBold;
    /* font-weight: normal; */
}

.installation-income{
    /* float: right; */
    font-family: GothamBold;
    font-size: 12px;
    /* width: 30%; */
    display: inline-block;
    text-align: right;
    padding-left: 2px;
    padding-right: 17px;
}

.installation-icon {
    font-size: 12px;
    display: inline-block;
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    height: 100%;
}

.installation-last-update{
    /*float:left;*/
    font-size: 11px;
    text-align: left;
    display: inline-block;
    /* font-family: Lucida Console, monospace; */
    padding-left: 36px;
}

.installation-dailyProduction{
    /*float:left;*/
    font-size: 11px;
    text-align: right;
    display: inline-block;
    /* font-family: Lucida Console, monospace; */
    /*padding-left: 35px;*/
}

.green{
    color:#42A734;
}

.red{
    color:#FF0000;
}

.gray{
    color: #67737A;
}

/*indicadores do rm*/
.rm-indicator{
    position: relative;
    color: white;
}

.rm-indicator-content{
    position: relative;
    text-align: right;
    padding: 10px;
    height: 80px;
}

.rm-indicator-content.performance{
    height: 120px;
    border: 1px solid #E1E1E1;
    /* line-height: 120px; */
}

.best-installation{
    color: grey;
    text-align: center;
    padding-top: 20px;
}

.rm-indicator-main-info{

}

.rm-indicator-main-info.performance{
    font-size: 30px;
    color:#67737A;
}

.rm-indicator-secondary-info{
    font-size: 14px;
}

.rm-indicator-secondary-info.performance{
    color:#67737A; 
    font-size:18px;
}

.rm-indicator-title{
    position: relative;
    padding: 2px 10px;
    font-size: 18px;
}

.rm-indicator-title.performance{
    background-color:#67737A; 
    color:white
}


.rm-indicator-icon{
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 60px;
}

.rm-indicator-icon.performance{
    left: 24px;
    top: 29px;
}

.production-days-indicator .rm-indicator-content div{
    text-align: center;
}

/*cores dos indicadores*/
.indicator-red{
    background-color: #C03C2D;
}

.indicator-green{
    background-color: #26A23A;
}

.indicator-blue{
    background-color: #2F3BC7;
}

.indicator-yellow{
    background-color: #ECA309;
}

.indicator-dark-red{
    background-color: #971F1F;
}

.indicator-dark-green{
    background-color: #296A25;
}

.indicator-dark-blue{
    background-color: #281261;
}

.indicator-dark-yellow{
    background-color: #9F6F12;
}



.installation-name-row{
    margin-bottom: 15px;
}

.installation-period-selection{
    margin-bottom: 10px;
}

/*botao de selecao de periodo*/
.btn.btn-default.selected{
    background-color: #67737A; 
    color: white;
}

.period-selection-container > button{

}

.installation-daily-income{
    position: relative;
    display: inline-block;
    font-family: GothamBook;
}

/*clipped tooltip fix?*/
/*.tooltip {
    z-index: 99999;
}*/


/*Animate search list*/
/*.installation-row.ng-enter, .installation-row.ng-leave {
    transition: 500ms ease-in all;
    position: relative;
    display: block;
} 

.installation-row.ng-enter.installation-row.ng-enter-active, .installation-row.ng-leave {
    left: 0;
}

.installation-row.ng-leave.installation-row.ng-leave-active, .installation-row.ng-enter {
    left: 500px;
}*/


/*end animate search list*/


/*override angular-loading-bar color*/


#loading-bar .bar {
    background: #67737A;
}

/* Fancy blur effect */
#loading-bar .peg {
    -moz-box-shadow: #67737A 1px 0 6px 1px;
    -ms-box-shadow: #67737A 1px 0 6px 1px;
    -webkit-box-shadow: #67737A 1px 0 6px 1px;
    box-shadow: #67737A 1px 0 6px 1px;
}

#loading-bar-spinner .spinner-icon {
    border-top-color:  #67737A;
    border-left-color: #67737A;
}
/*end override angular-loading-bar color*/

/*****
BUG DO LOADING
*****/
.ng-hide.ng-hide-animate{
    display: none !important;
}
/*****
FIM DE BUG DO LOADING
*****/


/*dropdown de instalacoes*/
.installations-dropdown{
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.monitoring-installations-dropdown{
    width: 400px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.rm-chart-global{
    /* width: 570px; */
    display: -ms-flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -o-flex;
    display: flex;
}

.rm-chart-global-title{
    font-size: 40px;
    font-family: GothamBold;
    padding-right: 20px;/*TODO: deixar assim?*/
    line-height: 86px;
}

.rm-chart-global-value{
    font-size: 13px;
}

.rm-chart-global-value > span{
    font-family: GothamBold;
}

.rm-chart-title{
    text-align: left;
    font-family: GothamBold;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.rm-chart-global-installation-name{

    position: absolute;right: 30px;font-size: 40px;
}

.rm-chart-global-installation-date{
    font-size: 20px;
    text-align: right;
}

.rm-chart-global-installation-rate{
    font-size: 20px;
    text-align: right;
}

.rm-chart-deviation-container{
    display: -ms-flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items:center;
    -webkit-align-items:center;
    -moz-align-items:center;
    -o-align-items:center;
    align-items: center;
    text-align: left;
}

.rm-chart-deviation-container:first-child{
    margin-bottom: 10px;
}

.rm-chart-deviation-container > div:first-child{
    padding-right: 10px;
}

.sw_app_content .rm-chart-title:first-child{
    margin-top: 0px !important;
}


/* RM MENU ANIMATIONS */
.rm-menu-animation{
    position: relative;
    -webkit-transition: width 300ms ease;
    -moz-transition: width 300ms ease;
    -o-transition: width 300ms ease;
    transition: width 300ms ease;
}

.rm-menu-animation:hover{
    width: 255px !important;
}

.rm-menu-title{
    position: absolute;
    font-family: GothamBook;
    top:0;
    left: 65px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

.rm-menu-animation:hover .rm-menu-title{
    opacity: 1;
    visibility: visible;
}

.rm-menu-animation > #performance-menu{
    position: absolute;
    left:55px;
    height: 0px;
    background-color: #97A7AA;
    /*background-color: red;*/
    -webkit-transition: height 300ms ease 300ms;
    -moz-transition: height 300ms ease 300ms;
    -o-transition: height 300ms ease 300ms;
    transition: height 300ms ease 300ms;
    display: block;
    opacity: 0;
    visibility: hidden;
}

.rm-menu-animation:hover > #performance-menu{
    height : 105px;
    width: 200px;
    opacity: 1;
    visibility: visible;
}

#performance-menu > div{
    font-size: 14px;
    font-family: GothamBook;
    height: 36px;
    line-height: 36px;
    text-align: left;
    padding-left: 20px;
    color: white;
    -webkit-transition: color 300ms ease 300ms;
    -moz-transition: color 300ms ease 300ms;
    -o-transition: color 300ms ease 300ms;
    transition: color 300ms ease 300ms;
}

.rm-menu-animation:hover > #performance-menu > div{
    /*color: #67737A;*/
}

#performance-menu > div:hover{
    background-color: #b7bebf;
}
/* END RM MENU ANIMATIONS */


/*dropdown animation fade tests*/
/*.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 500ms ease, visibility 500ms ease;
    -moz-transition: opacity 500ms ease, visibility 500ms ease;
    -o-transition: opacity 500ms ease, visibility 500ms ease;
    transition: opacity 500ms ease, visibility 500ms ease;
}

.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}*/
/*end dropdown animation fade tests*/


/*dropdown do monitoring*/

.monitoringCustomDatepicker{
    width: 250px;
}

.monitoringCustomDatepicker > div{
    /*    padding-left: 5px;
        padding-right: 5px;*/
}

/*fix datepickers line-height, occurs due to sw_app_header line-height...*/
.uib-datepicker-popup, .uib-datepicker{
    line-height: 20px;
}

.datepicker-fixed-period{
    cursor:pointer;
}

.datepicker-fixed-period:hover{
    background-color: #E2E2E2;
}

.monitoringCustomDatepicker input{
    width: 100px;
    text-align: center;
    padding: 0 !important;
    color: rgb(103, 115, 122);
}

.monitoringCustomDatepicker .glyphicon{
    width: 29px;
    text-align: center;
}

.date-picker-date-time{
    position: absolute !important;
    top: -225px !important;
    border: 1px solid lightgray;
}

/*.datepicker-input-left .date-picker-date-time{
    left:-205px !important;
}

.datepicker-input-right .date-picker-date-time{
    right:-85px !important;
}*/

.datepicker-input-left, .datepicker-input-separator, .datepicker-input-right{
    display: inline-block;
}

.datepicker-input-left{
    margin-left: 5px;
}

.datepickers-container{
    position:relative;
    background-color: #EAEAEA;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*posicao do datepicker esquerdo*/
.datepicker-input-left .uib-datepicker-popup{
    /*    position: absolute !important;
        top: -217px !important;
        left: -310px !important;*/
}

/*posicao do datepicker direito*/
.datepicker-input-right .uib-datepicker-popup{
    /*    position: absolute !important;
        top: -217px !important;
        left: 257px !important;*/
}

.datepicker-input-right > input.ng-dirty.ng-invalid, .datepicker-input-left > input.ng-dirty.ng-invalid{
    background-color:rgb(238, 196, 196);
}
/*fim de dropdown do monitoring*/



/*css da diretiva de lista de instalacoes na monitorizacao*/

.select-all-installations-container{
    padding-top: 5px;
    padding-bottom: 5px;
}

.select-all-installations-container > div{
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 12px;
    background-color: #EFEFEF;
    cursor: pointer;
}

.select-all-installations-container > div:hover{
    background-color: #E2E2E2;
}

.select-all-installations-container > div:first-child{
    padding-right: 0px !important;
}

.select-all-installations-container > div:last-child{
    padding-left: 0px !important;
}

.inverters-container{
    display: inline-block;
    width: 117px;
    text-align: center;
    /* display: flex; */
    /* align-items: flex-start; */
    /* display: inline-block; */
    /* padding: 0px 5px; */
    /* text-align: center; */
}

.panel-group{
    margin-bottom: 0px !important;
}

.panel-heading{
    padding: 0 !important;
}

.panel-heading>.panel-title{
    margin-left: 0px !important;
}

.panel-body{
    padding-top: 0px;
}


.installation-inverters-list{
    position: absolute;
    top: 37px;
    width: 140px;
    height: 350px;
    left: -283px;
    background-color: grey;
    z-index: 100;
    padding: 0 5px;
    overflow-y: auto;
}

.inverter-replaced{
    color: #ECA309;
}

.installation-inverters-list > div:hover{
    background-color: #E2E2E2;
}

.installation-inverters-list > div{
    padding: 0 5px;
    cursor: pointer;
}

/*fim de css da diretiva de lista de instalacoes na monitorizacao*/

/*somatorio dos valores do grafico da monitorizacao*/
.chart-total{
    text-align: left;
}


/********************/
/*   OCORRENCIAS    */
/********************/
#occurrences-datatable{
    width: 100% !important;
}

#occurrences-datatable th{
    background-color: #F0F1F1;
    font-size: 16px;
    text-align: center;
}

#occurrences-datatable td{
    font-size: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
}

table.dataTable tbody{
    border: 1px solid black;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody{
    border: 1px solid #F0F1F1
}

/* Estilos customizados para a paginacao bootstrap */
.pagination{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 12px;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color: #637378 !important;
    border-color: #637378 !important;
}

.pagination>li>a, .pagination>li>span{
    color: #637378;
}

.pagination a{
    outline: none !important;
}

.dataTables_info, .dataTables_length, .dataTables_filter{
    font-size: 14px;
}

.input-error{
    background-color: rgb(238, 196, 196);
    border-color: rgb(238, 196, 196);
    color: #67737a;
}

/*modal da pagina de monitoring*/
.monitoring-modal-header{
    font-size: 16px;
}

.monitoring-modal-header input{
    font-size: 14px;
}


.monitoring-modal-body{
    font-size: 14px;
    max-height: 500px;
    overflow-y: auto;
}
