﻿/*
 * Global in the page
 */

body.theme-black {
    padding-right: 0px !important;
}

#Breadcrumb{
    padding:0 !important;
    margin:0 !important;
}

.container-fluid{
    padding-left:0!important;
    padding-right:0px;
}

#ContentSection{
    margin-top:0!important;
}

.dropdown-toggle.material-icons{
    cursor:pointer;
}

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

.nomargin {
    margin: 0px !important;
}

.nopadding {
    padding: 0px !important;
}

.row > .card {
    margin-left: 15px;
    margin-right: 15px;
}

.card {
    min-height: 40px;
    margin-bottom: 0px;
}

.slimScrollBar{
    z-index:9999 !important;
}

.slimScrollDiv{
    height:auto !important;
}

.slimScrollDiv > ul {
    overflow: auto !important;
}

.card .nav-tabs{
    background-color: #eef0f5;
}

.nav-tabs > li.active {
    background-color: #fff !important;
}

.pointer{
    cursor: pointer !important;
}

.small-icon{
    font-size:18px;
}

.TopRightPlaceHolder {
    height: 15px;
}

#UserMessage {
    color: white;
    position: absolute;
    top: 0;
    width: 100%;
}

 a:hover{
    text-decoration: none;
}

 #CurrentProjectDateTime{
     color:#19aa6e;
     margin-right:10px;
     padding:2px;
     font-weight:bolder;
 }

/*
 * Top Menu
 */

.AlstomLogo {
    position: absolute;
    top: 50%;
    left: 45px;
    margin-top: -50px;
    height: 100px;
    width: 200px;
}

#firstHeaderNavBar {
    font-size: x-large;
    position: absolute;
    top: 24px;
    left: 250px;
}

#flagList{
    min-width: 0;
}

#flagList img {
    width: 40px;
}

#flagMenu {
    padding-top: 12px;
}

#mainNavBar{
    width:100%;
    margin-bottom: -6px;
}

#MenuToggle{
    cursor:pointer;
}

#navNotifs{
    color: white;
    margin-right: 10px;
}

#navNotifs a{
    margin-top: 5px;
    padding-left: 0;
    padding-right: 0;
}

#navNotifs li{
    margin-right:4px;
}

#navNotifs span {
    margin-left: 6px;
}

#navTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc((100%) - 250px);
}

@media (min-width: 1170px) {
    #navTitle {
        margin-left: -4px;
        margin-top: -3px;
        margin-bottom: 3px;
    }
}

#navTitle a{
    color:white;
}

#CultureDropdown{
    top:80px !important;
    min-width:0px !important;
    height: auto;
}

#CultureDropdown li{
    margin:0 5px;
}

#CultureDropdown li.header{
    min-width:0;
}

#CultureDropdown li.body div a{
    padding:5px;
}

#CultureDropdown li.body div.list-group{
    margin-bottom:0;
}

li.open a{
    background-color:white !important;
    color:#ff2e1d !important;
}

li a span.caret{
    padding-bottom:10px;
    margin-left:0 !important;
}

.FlagDiv{
    text-align:center;
}

#CultureDropdown li.body div a.active{
    background-color:#607D8B !important;
}

.trainTracerVersion {
    position: absolute;
    bottom: 2px;
    left: 47px;
    color: white;
    font-size: x-small;
}

/*
 * Left Menu
 */

.area_UserSettings{
    height:47px;
}

#leftMenuItem{
    height:auto !important;
}

.sidebar .menu .list > li.active > a > i,
.sidebar .menu .list > li.active > a > span,
.sidebar .menu .list > li.active li.active > a i,
.sidebar .menu .list > li.active li.active > a span {
    color: #ff2e1d !important;
}

#leftsidebar {
    background-color:rgba(253,253,253,0.95);
}

#leftsidebar span.active {
    color:#ff2e1d;
    font-weight:600;
}

#leftsidebar.sidebar .menu .list .menu-toggle:before {
    content: none;
}
#leftsidebar.sidebar .menu .list .menu-toggle:after {
    content: none;
}

#leftsidebar.Decreased{
    display:none;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li a.menu-toggle{
    padding:2px;
    margin-top:15px;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .menu-toggle span{
    display:none;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .menu-toggle:after{
    display:none;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .menu-toggle:before{
    display:none;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .menu-toggle:hover+.ml-menu{
    display:block !important;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .ml-menu{
    position:fixed;
    width:250px;
    left:30px;
    margin-top:-32px;
    background-color:white;
    border: #696969 1px solid;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .ml-menu li:hover{
    background-color:rgba(105, 105, 105, 0.2);
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li .ml-menu:hover{
    display:block !important;
}

section.Increased{
    margin-left:5px;
}

.area_UserSettings a i{
    padding:0 !important;
    width:24px !important;
    height:28px !important;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li.area_UserSettings a{
    padding:2px !important;
}

#leftsidebar.Decreased div.menu div.slimScrollDiv ul li a#legalNotice{
    padding:2px !important;
    margin-top:15px;
}

/*
 * DevExtreme grid
 */

.dx-data-row:hover td{
    background-color:rgba(96, 125, 139, 0.5) !important;
}

.dx-datagrid-checkbox-size .dx-checkbox-icon {
  height: 14px;
  width: 14px;
}

.dx-datagrid-checkbox-size {
    line-height: 0;
}

.dx-header-row{
    font-weight: bold;
    color: #333;
}

.dx-icon-export-excel-button {
    color: #008000 !important;
}

.dx-pivotgrid-horizontal-headers > tr > td > span {
    font-weight: bold;
    color: #333;
}

.dx-pivotgrid-vertical-headers > tr > td > span {
    font-weight: bold;
    color: #333;
}

.dx-selection td{
    background-color:#FF5722 !important;
}

.GridIcon {
    font-size: 16px;
    cursor: pointer;
}

td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.CustomGridButton {
    padding: 3px;
    font-size: 18px !important;
}

.CustomGridButton:hover {
    background-color: #e6e6e6;
}

.dx-header-filter {
    color: #2196f3 !important;
}

.dx-header-filter.dx-header-filter-empty {
    color: rgba(149, 149, 149, 0.5) !important;
}

.MaintenanceDataCountChart .dxc-legend rect, .MaintenanceDataCountChart .dxc-legend text {
    cursor: pointer !important;
}

.GridCellTrue, .dx-row-alt > td.GridCellTrue {
    background-color: #C9FFC9;
}
.GridCellTrue i {
    color: darkgreen;
}

.GridCellFalse, .dx-row-alt > td.GridCellFalse {
    background-color: #FFC9C9;
}
.GridCellFalse i {
    color: darkred;
}

.GridCellWarning, .dx-row-alt > td.GridCellWarning {
    background-color: #FFE6C3;
}

/*
 * Info-box
 */
.info-box-2 > .icon {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

/*
 * Notification
 */

.NotificationRow i{
    font-size:18px;
}

.NotificationRow{
    font-size:18px;
    cursor:pointer;
}

#NotificationText{
    right:0;
    background-color:#00AB5C;
}

/*
 * Sweet Alert
 */

.sweet-alert{
    padding: 5px !important;
}

.sweetalert-md {
    left: 30% !important;
    width: calc(40%) !important;
    margin-left: 0px !important;
}

.sweetalert-lg {
    left: 10% !important;
    width: calc(80%) !important;
    margin-left: 0px !important;
}

.sweetalert-full {
    left: 0% !important;
    width: calc(100%) !important;
    margin-left: 0px !important;
}

.sweetalert-full iframe {
    width: 100%;
}

.swal2-title {
    display: block !important;
    width: 100%;
}

.swal2-content .card {
    margin-top: 10px;
}

.swal2-content .card .header {
    text-align: left;
    padding: 10px 20px;
    background-color: rgba(128,128,128,0.2)
}

/*
 * Load Panel
 */
#DefaultLoadPanelPosition {
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/*
 * Expand / Collapse
 */

.collapsed > .CollapseIcon {
    display: none;
}

.collapsed > .ExpandIcon {
    display: block;
    color: #797979;
    font-size: 30px;
}

.CollapseIcon {
    color: #797979;
    font-size: 30px;
}

.ExpandIcon {
    display: none;
}

/*
 * Tabs
 */
/*
.nav-tabs>li>a {
    padding: 0px 5px 5px 5px;
}
*/

/*
 * How to use:
    <select class="PrettySelect">
        [...] (options)
    </select>
 */
.PrettySelect {
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    box-sizing: border-box;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
}
