﻿#dashboardSidenav md-ink-bar{
    color: #fff !important;
    background-color: #fff !important;
}

#dashboardSidenav md-tab-item{
    color: rgba(255,255,255, 0.6) !important;
}

#dashboardSidenav md-tab-item.md-active{
    color: rgba(255,255,255, 1) !important;
}


.adf-iframe {
    border-style: none;
    border:none !important;
    width: calc(100% + 30px) !important;
    margin: -15px -15px -15px -15px !important;
}

.widget-first-line {
    position: relative;
    bottom: 4px;
    left: 2px;
    font-size: 1.1em;
}

.widget-second-line {
    position: relative;
    font-size: 0.85em;
    color: #121212;
    line-height: 1.4em;
}

.dashboard-container ng-md-icon {
    padding: 5px;
}

.md-virtual-repeat-container, .md-autocomplete-suggestions-container, .md-select-menu-container {
    z-index:1051 !important;
}

.input_tableWidget {
    height: 34px;
    position: relative;
    top: 10px;
}

.datalistRows_container_tableWidget {
    width: 100%;
    height: 30px;
}

.tableView_TableWidget_div {
    width: 100% !important;
    overflow: hidden;
    display: table;
    border-collapse: collapse;
}

.tableWidgetRow {
    display: table-row;
}

.tableWidgetRow div {
    padding: 0 2px;
    display: table-cell;
}

.tableWidgetRow div{
    vertical-align: middle;
}

.tableView_TableWidget_div div.tableWidgetRow:first-child {
    border-bottom: 1px solid #5F5F5F;
    font-weight: bold;
}

.tableView_TableWidget_div div.tableWidgetRow:nth-child(odd) {
    background-color: #f2f2f2;
}


.deleteRow_tableWidget {
    width: 10%;
}

.deleteRow_crTable_tableWidget {
    position: relative;
    top: -5px;
    width: 10%;
}

.addRowBtn_tableWidget.modal-footer.ng-scope{
    border-top: 0px !important;
}

#dsSearchInput_tableWidget md-input-container {
    height: 34px;
    width:100% !important;
    padding: 0px;
}

#trendSelector_tableWidget md-input-container{
    padding: 2px !important;
    margin-bottom: 0px !important;
}

#createTableSection_tableWidget tr td md-input-container {
    margin: 3px !important;
}

#errMsgToast {
    position: fixed;
    top: -3px;
    right: 40px;
    width: 90%;
    z-index: 10000;
}

#errMsgToast .md-toast-content {
    background-color: #890B0F;
}

#errDiv {
    position: fixed;
    top: 630px;
    right: 100px;
    padding: 10px;
    z-index: 10000;
}

#errDiv.ng-hide {
  opacity: 0;
}

#errDiv.ng-hide-remove,
.fade.ng-hide-add {
  display: block !important;
}

#errDiv.ng-hide-remove {
  transition: all linear 1000ms;
}

#errDiv.ng-hide-add {
  transition: all linear 500ms;
}

.legend_svg {
    width: 10px !important;
    height: 35px !important;
    padding-top: 10px;
}

.legend_svg path.actualPath {
    stroke: steelblue;
    stroke-width: 1;
    fill: none;
}

.legend_svg path.targetPath {
    stroke: red;
    stroke-width: 0.75px;
    stroke-dasharray: 3,3;
    fill: none;
}

#templatingeditor.ace_editor {
    min-height: 400px;
    height: calc(100vh - 500px) !important ;
}

#datasource-editor.ace_editor {
    height: calc(100vh - 325px) !important;
}

.ace-eclipse .ace_print-margin {
    left: calc(100% - 1px) !important;
}

.ace_editor.ace_autocomplete {
    width: 350px !important;
    z-index: 200000;
    background: #fbfbfb;
    color: #444;
    border: 1px lightgray solid;
    position: fixed;
    box-shadow: 2px 3px 5px rgba(0,0,0,.2);
    line-height: 1.4;
}

mops-chart {
    margin-bottom: 5px;
}



#dashboardMainContainer {
        height: 100%;
    }

/*********************************************************************************************   SIZEDEPENDEND CSS-STYLES   **********************************************************************************************/
@media screen and (min-width:1280px) {
    #limit-dialog {
        width: 640px !important;
        height: calc(100vh - 150px) !important;
        min-height: 565px !important;
    }


    .limit-dialog {
        height: calc(100vh - 335px) !important;
    }
}


/*************************************   Mobile devices in portrait mode   *************************************/

/*Overall*/
@media screen and (max-width: 959px) and (orientation: portrait) {
    #dashboardMainContainer {
        overflow-x: hidden;
    }    
    #mainview {
        background-color:#fff !important;
    }

    #dashboardHeader {
        padding-bottom: 10px;
        padding-top: 5px;
        font-size: 18px !important;
    }


    /*#dashboardMainContainer navigation {
        position: fixed;
        bottom: -10px;
        left: 0px;
        width: 100vw;
        z-index: 50;
    }*/

    /*#dashboardMainContainer md-card, #dashboardMainContainer md-card-content {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }*/

}


/*************************************   Mobile devices in landscape mode   *************************************/



@media screen and (min-width: 960px)  and (max-width: 1279px) and (orientation:landscape) {
    #dashboardMainContainer {
        overflow-x: hidden;
    }

        /*#dashboardMainContainer navigation {
            position: fixed;
            bottom: 0px;
            left: 0px;
            width: 100vw;
        }*/
}

@media screen and (max-width: 959px) and (orientation: landscape) {
    #mainview {
        background-color:#fff !important;
    }

    #dashboardHeader {
        padding-bottom: 10px;
        padding-top: 5px;
        font-size: 18px !important;
    }

    /*#dashboardMainContainer navigation {
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100vw;
        z-index:50;
    }*/
}