body {
    position: relative
}

.logo-renew-grid {
    max-width: 140px;
}

.text-right {
    text-align: right !important;
}

.dark-skin .main-header .navbar {
    background-color: #000;
}

.light-skin .main-header .navbar {
    background-color: #f1f1f1;
}

body.light-skin,
.light-skin .box,
body.light-skin .main-header div.logo-box {
    background: #f1f1f1
}

.cursor-pointer {
    cursor: pointer
}

.dropdown-menu {
    z-index: 1000;
}

.dropdown-item .buttons-columnVisibility {
    background: transparent;
    display: block;
}

.plant-title {
    max-width: 220px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.c-bg-red {
    background: #ff0000 !important;
}

.c-bg-orange {
    background: #ffa800 !important;
}

.c-bg-yellow {
    background: #ffff00 !important;
}

.c-bg-grey {
    background: #999 !important;
}

.c-bg-green {
    background: #1bc5bd !important;
}

.c-bg-violet {
    background: #8950fc !important;
}

.c-bg-dark {
    background: #ffa800 !important;
    color: #000 !important
}

.c-bg-light {
    background: #6999EE !important;
    color: #fff !important
}

.c-bg-dark.c-alert,
.c-bg-light.c-alert {
    background: #dc0000 !important;
    color: #fff !important;
    animation: blinker 1s linear infinite;
}

.c-alert {
    animation: blinker 1s linear infinite;
}

.c-bg-silver * {
    color: #000 !important
}

.low-prod h1,
.low-prod h2,
.low-prod h3,
.low-prod h4,
.low-prod h5,
.low-prod h6,
.low-prod p {
    color: #000 !important
}

.img-device {
    height: auto !important;
    max-width: 80px !important;
    min-width: 80px !important
}

.img-issues {
    height: auto !important;
    max-width: 80px !important;
    min-width: 80px !important
}

td.dt-control {
    background: url(../images/details_open.png) no-repeat center center;
    cursor: pointer;
}

tr.shown td.dt-control {
    background: url(../images/details_close.png) no-repeat center center;
}

table.dataTable td.dt-control:before {
    display: none !important
}

.status {
    position: absolute;
    right: 20px;
    top: 63px;
    background: #fff;
    padding: 2px 5px 0px 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
}

.c-online {
    color: #3cd000 !important
}

.c-no-comm {
    color: #ffa800 !important
}

.c-no-prod {
    color: #dc0000 !important
}

.c-low-pref {
    color: #eee600 !important
}

.c-no-data-trans {
    color: #7367f0 !important
}

.c-offline {
    color: #ffa800 !important
}

.c-data-quality {
    color: #8c1bab !important
}


body.theme-warning .c-bg-online {
    background: #3cd000 !important
}

body.theme-warning .c-bg-no-comm {
    background: #ffa800 !important
}

body.theme-warning .c-bg-no-prod {
    background: #dc0000 !important
}

body.theme-warning .c-bg-low-pref {
    background: #eee600 !important
}

body.theme-warning .c-bg-no-data-trans {
    background: #7367f0 !important
}

body.theme-warning .c-bg-offline {
    background: #ffa800 !important
}

body.theme-warning .c-bg-data-quality {
    background: #8c1bab !important
}

body.theme-warning .box-body {
    padding: 1em !important
}

body.theme-warning .box-body.form-block {
    padding: 2em !important
}

.dark-skin .form-control,
.dark-skin .form-select {
    border-color: rgba(255, 255, 255, 0.5)
}

.status-img {
    position: absolute;
    right: 20px;
    top: 65px;
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
}

.status-img img {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
}


@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}

body {
    perspective: 1000px;
}

body #loader {
    background: rgba(0, 0, 0, 0.8) !important
}

#loader:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 170px;
    margin-left: -75px;
    margin-top: -85px;
    background: url(../images/logo-letter.png) no-repeat center center;

    animation: shake 1s linear infinite;
}

@keyframes shake {
    50% {
        transform: rotateY(180deg);
    }
}

@media (min-width: 768px) {

    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 100%;
        *width: 100%;
    }
}

@media (min-width: 992px) {

    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

/**
 *  The following is not really needed in this case
 *  Only to demonstrate the usage of @media for large screens
 */
@media (min-width: 1200px) {

    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

#fileexport button {
    border-radius: 0 !important;
    width: 100% !important;
    text-align: left;
    background: transparent !important;
    border: 0px solid !important;
    color: #fff !important
}

#fileexport button:hover {
    background: #ffa800 !important
}

.custom-border {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important
}

.custom-show-hide {
    width: 220px !important
}

.custom-show-hide a {
    position: relative;
    padding-left: 35px;
    white-space: break-spaces;
}

.custom-show-hide a:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s;
}

.custom-show-hide a:after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s;
}

.custom-show-hide a.selected:before {
    top: 7px;
    left: 6px;
    width: 9px;
    height: 16px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #26a69a;
    border-bottom: 2px solid #26a69a;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    border-right: 2px solid #ffa800;
    border-bottom: 2px solid #ffa800;
}

.custom-show-hide a.selected:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s;
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.dark-skin .btn.btn-light:focus,
.dark-skin .btn.btn-light:hover {
    color: #000 !important
}

#heatmap {
    width: 100%;
    height: 500px;
}

.dark-skin .bg-hexagons-white {
    /*background-image: url('../images/bg-tile1.png') !important*/
    background: #111 !important
}

.scroll {
    font-size: 30px;
    font-size: bold;
    color: red;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.scroll:hover {
    color: gray;
    cursor: pointer;
}

.left-scroll {
    position: absolute;
    z-index: 10;
    left: 225px;
    top: 70px;

    z-index: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    transition: border-color 0.3s;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}

.right-scroll {
    position: absolute;
    z-index: 10;
    left: 280px;
    top: 70px;

    z-index: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    transition: border-color 0.3s;
}

.left-scroll:after {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(../images/cd-arrow.svg) no-repeat 0 0;
    background-position: 0 -16px;
}

.right-scroll:after {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(../images/cd-arrow.svg) no-repeat 0 0;
    background-position: 0 -16px;
}

.portfolio-top-block {
    min-height: 580px
}

.forecast h6 {
    transform-origin: 0% 0%;
    transform: rotate(90deg);
    position: absolute;
    left: 0;
    top: 5px;
}