body {
    margin: 0;
    font-family: @baseFontFamily;
    font-size: @baseFontSize;
    line-height: @baseLineHeight;
    color: @textColor;
    background-color: @bodyBackground;
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #2D2C4D;
    scrollbar-highlight-color: #7D7E94;
    scrollbar-3dlight-color: #7D7E94;
    scrollbar-darkshadow-color: #2D2C4D;
    scrollbar-track-color: #7D7E94;
    scrollbar-arrow-color: #C1C1D1;
}

body,
.center-div-loading,
.cover {
    background-color: white !important;
    background: white !important;
}

html,
body {
    width: 100%;
    height: auto;
}

.nav-tabs>.active>a,
.nav-tabs a:hover,
.nav-tabs>.active>a:focus {
    color: #000 !important;
    cursor: pointer;
    border: 0px solid #e3e3e3 !important;
    border-bottom: none !important;
    border-bottom-color: transparent;
    border-radius: 4px !important;
    padding: 2px 5px !important;
    background: rgb(191, 191, 191) !important;
    font-size: 14px;
}

legend ul.second-nav-tabs li.active .second-nav-tabs-li,
legend ul.nav a.second-nav-tabs-li:hover {
    border-bottom-color: rgb(191, 191, 191) !important;
    background-color: rgb(191, 191, 191) !important;
}

// Links
// -------------------------
a {
    color: @linkColor;
    text-decoration: none;
}

a:hover,
a:focus {
    color: @linkColorHover;
    text-decoration: underline;
}

// Images
// -------------------------
// Rounded corners
.img-rounded {
    .border-radius(6px);
}

// Add polaroid-esque trim
.img-polaroid {
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    .box-shadow(0 1px 3px rgba(0, 0, 0, .1));
}

// Perfect circle
.img-circle {
    .border-radius(500px); // crank the border-radius so it works with most reasonably sized images
}

.white-bckg {
    background: white;
}

.red-bckg {
    background: #FF7F7F !important;
}

.yellow-bckg {
    background: #ffeb3b !important;
}

.green-bckg {
    background: #7FD7A7 !important;
}

.red-txt {
    color: #FF7F7F;
}

.yellow-txt {
    color: #FDFF7F;
}

.green-txt {
    color: #7FD7A7;
}

#notifications-list {
    margin-top: 10px;
    height: 287px;
    overflow: auto;
    overflow-x: hidden;
}

#notifications-list li {
    background-color: #DEE0DD;
}

#conditions-globales {
    margin-top: 7px;
}

#conditions-globales-footer {
    position: relative;
    top: 20px;
    right: 19px;
    width: 341px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 19px;
    padding-right: 19px;
    border-top: 1px solid #ccc;
}

#side-menu {
    border-right: 2px;
}

.equipments-nav {
    margin-top: 10px;
    padding-left: 40px;
}

.circle {
    border-radius: 10px;
    width: 70px;
    height: 20px;
}

.notification-viewed {
    background: #F5F5F5;
}

.rapport-component {
    /*border-bottom:2px dotted rgba(0,0,0,0.5);
*/
}

#rapport-data {
    margin-top: 10px;
}

.bar-success {
    background-image: none !important;
    background-color: #7FD7A7 !important;
}

.bar-warning {
    background-image: none !important;
    background-color: #FDFF7F !important;
}

.bar-danger {
    background-image: none !important;
    background-color: #FF7F7F !important;
}

.inline {
    display: inline;
}

.actuel-res {
    background-color: #D9EDF7 !important;
}

.nobullet {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.title-profile {
    position: relative;
    bottom: 30px;
    float: right;
    font-size: 30px;
}

#graph-condition-global {
    height: 321px;
}

.weight-normal {
    font-weight: normal;
}

.weight-bold {
    font-weight: bold;
}

.nav-tabs>.tab-pane {
    display: none;
}

.nav-tabs>.active {
    display: block;
}

legend ul.nav a:hover,
legend ul.nav li.active a {
    border-left: none !important;
    border-right: none !important;
    background: white !important;
    color: inherit !important;
    border-radius: 0px !important;
}

legend ul.nav a {
    color: black !important;
}

::-webkit-scrollbar {
    width: 0px;
    height: 9px;
}

::-webkit-scrollbar-button:start:decrement,
#doc ::-webkit-scrollbar-button:end:increment {
    display: block;
    height: 0;
    background-color: transparent;
}

::-webkit-scrollbar-track-piece {
    background-color: #FAFAFA;
    -webkit-border-radius: 0;
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 50px;
    background-color: #999;
    -webkit-border-radius: 8px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 50px;
    background-color: #999;
    -webkit-border-radius: 8px;
}

legend ul.nav a {
    border-color: rgb(138, 138, 138);
    border-width: 1px;
    border-radius: 4px 4px 0 0 !important;
}

legend ul.nav a:hover,
legend ul.nav li.active a {
    border-radius: 4px 4px 0 0 !important;
    border-left: 1px solid !important;
    border-right: 1px solid !important;
    border-top: 1px solid !important;
    border-color: rgb(138, 138, 138) !important;
    border-bottom: 1px solid white !important;
    margin-bottom: -2px;
}

legend {
    border-bottom: none;
}

.nav-tabs>li>a {
    text-align: center;
    border-bottom: none !important;
    margin-right: 6px;
    color: #635e5e;
    border-radius: 4px !important;
    padding: 2px 5px !important;
    background: transparent;
    font-size: 14px;
}

.nav-tabs {
    padding-left: 40px;
}

ul.second-nav-tabs>li>a {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

ul.second-nav-tabs .active {
    text-decoration: underline !important;
}

div.pager {
    text-align: center;
    margin: 1em 0;
}

div.pager span {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8;
    text-align: center;
    cursor: pointer;
    background: #000;
    color: #fff;
    margin-right: 0.5em;
}

div.pager span.active {
    background: #c00;
}

legend.equipments-list-legend ul.nav a:hover {
    margin-bottom: -1px !important;
}

.btn-form-like-a:hover {
    text-decoration: underline;
    color: #005580 !important;
}

.dashboardRound {
    width: 200px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid #DBA52B;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    font-weight: bold;
    font-size: 31px;
    color: gray;
}

.maintenance-part {
    width: 13%;
    padding-left: 10px;
    float: left;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
}

.progressbar-maintenance {
    height: 15px;
    background-color: green;
}

.table-maintenance>tbody>tr>td {
    padding: 8px 0px !important;
}

.table-maintenance th {
    width: 10.4%;
    text-align: left;
    padding-left: 5px;
}

.informal-maintenance {
    width: 100%;
    margin-bottom: 25px;
    margin-top: 15px;
    text-align: left;
}

.informal-maintenance a {
    color: #000000;
    padding: 8px;
    border: 2px solid #DBA52B;
    margin-right: 20px;
    text-transform: lowercase;
    font-weight: lighter;
}

.informal-maintenance a:hover {
    text-decoration: none !important;
}

thead th {
    cursor: pointer;
}

.second-nav-tabs .active a,
.second-nav-tabs .active a:hover,
.second-nav-tabs .active a:focus {
    background-color: transparent !important;
}

#popup-app-container {
    width: 1000px;
    height: 500px;
    background: #f9f9f9;
    position: absolute;
    z-index: 999999999999 !important;
    top: 100px;
    left: calc(50% - 500px);
    border: 3px solid #353535;
    border-radius: 5px;
}

#popup-app-header {
    border-top-left-radius: 4px;
    width: 100%;
    background: #e4e4e4;
    border-top-right-radius: 4px;
    padding-top: 5px;
    padding-bottom: 7px;
}

#popup-app-overlay {
    display: none;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999999999;
    position: absolute;
    top: 0;
    left: 0;
}

#popup-app-header-close-btn {
    display: inline-block;
    float: right;
    position: relative;
    right: 10px;
    font-weight: bold;
    cursor: pointer;
}

#popup-app-header-title {
    display: inline-block;
    padding-left: 5px;
    font-weight: bold;
}

#popup-app-content {
    height: calc(100% - 25px);
    overflow: scroll;
}