/*
 ******************************************************* MAIN *******************************************************
*/

/* Forms */

.help-block-error {
    position: absolute;
    top: 48px;
    width: 100%;
    text-align: right;
    padding: 4px 0;
    font-size: 12px;
    color: #F44336;
}

.login-password-change .help-block-error {
    position: relative !important;
    top: 0 !important;
}

.help-block-error-modal-footer {
    font-size: 12px;
    color: #F44336;
}

.textarea-error p.help-block-error {
    top: -9px !important;
}

.select-error p.help-block-error {
    top: 23px !important;
}

.form-check-description{
    padding-bottom: 2px;
}

select.form-control {
    margin-bottom: 1px !important;
    max-width: calc(100%);
    max-width: -webkit-calc(100%);
}

/*
 ******************************************************* HEADER *******************************************************
*/

#toolbar {
    height: 112px;
    min-height: 112px;
    background: #1F1E2D !important;
}

/* Primary Navigation */

.navbar {
    padding: 0px;
    background: #181824 !important;
}

.navbar-header {
    display: none;
}

.navbar-nav .nav-link:hover {
    background-color: #262933;
    border-radius: 4px;
}

.navbar-nav .active,
.navbar-nav .active .nav-link:hover {
    background-color: #374afb;
    border-radius: 4px;
    /* font-weight: 600; */
}

/* Secondary Navigation */

.avatar-wrapper {
    border-radius: 4px;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-hover:hover .dropdown-menu{
    display: block;
}


.flag {
    border-radius: 4px;
}

/* Breadcrumbs */

.breadcrumb {
    margin-bottom: 0 !important;
}

.breadcrumb .active {
   color: rgba(255,255,255,0.5);
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.3);
 }

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-bottom: 2px;
}

/*
 ******************************************************* BODY *******************************************************
*/

/* Login */

#login-v2 {
    background: url("../img/backgrounds/login-molecular.jpg") no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.login-form-footer {
    position: absolute;
    bottom: 48px;
    left: calc(50% - 48px);
}

/* Tabs */

.nav-tabs li.active {
    background: #1F1E2D;
    color: white !important;
    border-radius: 4px 4px 0px 0px;
}

.nav-tabs li.active a {
    color: white !important;
}

/* Data Tables */

table thead th,
table tfoot th {
    font-weight: 600 !important;
}

a.asc:after {
    margin-left: 4px;
    font-family: "fuse-iconfont";
    content: "\ef51";
}

a.desc:after {
    margin-left: 4px;
    font-family: "fuse-iconfont";
    content: "\ef52";
}

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

.table a {
    text-decoration: none;
}

.table thead tr:nth-child(1) th {
    border-bottom: none;
    padding-left: 12px;
}

.table thead tr:nth-child(2) td {
    padding-top: 0;
}

.table thead tr:nth-child(1) th:first-child,
.table thead tr:nth-child(2) td:first-child {
    padding-left: 24px;
    /* padding-right: 24px; */
}

.table thead th {
    vertical-align: middle;
}

.table tbody tr td {
    position: relative;
    padding-left: 12px;
}

.table p {
    margin: 0px;
    padding: 0px;
}

.table-action-column {
    width: 108px;
    text-align: center;
}

/* Datepicker */

.datetimepicker,
.datepicker {
    padding: 8px;
    border-radius: 4px;
}

.datetimepicker td,
.datetimepicker th,
.datepicker td,
.datepicker th {
    padding: 4px 8px;
}

.datepicker td span {
    height: 32px !important;
    line-height: 32px !important;
}

.datetimepicker table tr td.active,
.datetimepicker table tr td.active:hover,
.datetimepicker table tr td.active.disabled,
.datetimepicker table tr td.active.disabled:hover,
.datetimepicker table tr td span.active,
.datetimepicker table tr td span.active:hover,
.datetimepicker table tr td span.active.disabled,
.datetimepicker table tr td span.active.disabled:hover,
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
    background-image: linear-gradient(to bottom, #0088cc, #0088cc);
}

.glyphicon-arrow-left:after,
.glyphicon-arrow-right:after,
/* .glyphicon-remove:after, */
.glyphicon-calendar:after {
    font-family: "fuse-iconfont";
    font-style: normal;
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    color: rgba(0,0,0,0.54);
}

.glyphicon-arrow-left:after {
    content: "\ea93";
    position: relative;
    top: 1px;
}

.glyphicon-arrow-right:after {
    content: "\ea94";
    position: relative;
    top: 1px;
}

/* .glyphicon-remove:after {
    content: "\ea2d";
    position: absolute;
    bottom: 2px;
    right: 16px;
} */

/* .glyphicon-calendar:after {
    content: "\ea30";
    position: absolute;
    bottom: 8px;
    right: 0px;
} */

.input-group .input-group-addon:first-child,
.input-group .input-group-addon {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

/* Date Range Picker */

.kv-drp-container .form-control {
    margin-top: -9px;
    padding: 0 0 8px 0;
    height: auto;
    cursor: pointer;
}

.kv-drp-container .kv-clear {
    display: none;
}

.daterangepicker .ranges {
    margin-top: 8px;
}

.daterangepicker .calendar-time select {
    border: 1px solid #dddddd;
    padding: 4px;
    border-radius: 4px;
    width: 70px;
}

.daterangepicker .drp-selected {
    padding: 6px !important;
}

.daterangepicker .drp-buttons .btn {
    padding: 0 !important;
    border-radius: 4px;
}

/* Pagination and Summary */

 .summary {
    float: left;
    margin: 0px 24px;
    line-height: 78px;
}

.pagination {
    float: right;
    margin: 24px;
    align-items: center;
    -webkit-align-items: center;
    box-shadow: none;
}

.pagination li {
    margin-left: 2px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pagination li:hover {
    border: 1px solid #333333;
}

.pagination li.active {
    border: 1px solid #999999;
}

.pagination li.disabled {
    padding: 4px 12px;
    cursor: default;
    color: #999999;
    border: 1px solid transparent;
}

.pagination li a {
    display: inline-block;
    padding: 4px 12px;
    text-decoration: none;
}

/* Export Menu */

.export-menu-btn-fix .btn-group > .btn {
    position: relative;
    min-height: 0 !important;
}

.export-menu-btn-fix button i {
    position: relative;
    top: 1px;
    left: -1px;
    margin-right: 8px;
}

.export-menu-btn-fix ul li i {
    position: relative;
    top: 3px;
    margin-right: 2px;
}

/*
 ******************************************************* FOOTER *******************************************************
*/

 #footer {
    background: #181824 !important;
}

/*
 ******************************************************* GLOBAL *******************************************************
*/

audio {
    outline: none;
}

.pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

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

.separator {
    width: 1px;
    background: rgba(0,0,0,0.12);
}

.separator-horizontal {
    height: 1px;
    background: rgba(0,0,0,0.12);
}

.ui-pnotify-icon {
    margin-top: 4px;
}

.custom-select2-padding {
    padding-top: 0.2rem !important;
}

.select2-search__field {
    padding: 0 10px 1px 10px !important;
}

.select2-selection__clear {
    top: 2px !important;
}

.select2-selection__choice__remove {
    margin-top: 0px !important;
}

.form-label-text {
    position: relative;
    top: -6px;
    font-size: 12px;
}

.icon-title-alignment {
    position: relative;
    top: 2px;
    margin-right: 4px;
}

.icon-button-text-alignment {
    position: relative;
    top: -1px;
    left: -1px;
    margin-right: 4px;
}

.icon-button-no-text-alignment {
    position: relative;
    top: -2px;
}

.icon-button-outline-no-text-alignment {
    position: relative;
    top: -1px;
}

.button-icon-no-text-alignment {
    min-width: 48px;
    line-height: 34px;
}

.button-outline-text-alignment {
    line-height: 34px;
}

/* Start of new approach of buttons alignment */

.button-alignment {
    min-width: 48px;
    line-height: 34px;
}

.button-alignment span {
    padding-left: 4px;
}

.button-icon-alignment {
    position: relative;
    top: -1px;
}

.button-span-alignment {
    position: relative;
    top: 1px;
}

.button-icon-outline-alignment {
    position: relative;
    top: -1px;
}

/* End of new approach of buttons alignment */

.badge-text-alignment {
    line-height: 16px;
    padding-bottom: 4px;
}

/* Loading Animation */

#loadingAnimation {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.64);
    z-index: 9999;
    animation: loadingAnimationOpacity 0.4s;
}

@keyframes loadingAnimationOpacity {
    0% {
        background: rgba(0,0,0,0.0);
    }
    100% {
        background: rgba(0,0,0,0.64);
    }
}

/* Spinner Animation */

.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: black;
    margin: -3px 0 0 -3px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Spinner Dual Ring Animation */

.lds-dual-ring:after {
    content: " ";
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid;
    animation: lds-dual-ring 1.2s linear infinite;
}

.lds-dual-ring-default:after {
    display: inline-block;
    border-color: #3B4252 transparent #3B4252 transparent;
}

.lds-dual-ring-clock:after {
    display: inline-block;
    border-color: #FF9800 transparent #FF9800 transparent;
}

.lds-dual-ring-calls:after {
    display: block;
    border-color: #ffffff transparent #ffffff transparent;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Ellipsis Animation */

.lds-ellipsis-left {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis-left div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis-left div:nth-child(1) {
    right: 8px;
    animation: lds-ellipsis-left1 0.6s infinite;
}

.lds-ellipsis-left div:nth-child(2) {
    right: 8px;
    animation: lds-ellipsis-left2 0.6s infinite;
}

.lds-ellipsis-left div:nth-child(3) {
    right: 32px;
    animation: lds-ellipsis-left2 0.6s infinite;
}

.lds-ellipsis-left div:nth-child(4) {
    right: 56px;
    animation: lds-ellipsis-left3 0.6s infinite;
}

@keyframes lds-ellipsis-left1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis-left3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis-left2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-24px, 0);
    }
}

.lds-ellipsis-right {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis-right div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis-right div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis-right1 0.6s infinite;
}

.lds-ellipsis-right div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis-right2 0.6s infinite;
}

.lds-ellipsis-right div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis-right2 0.6s infinite;
}

.lds-ellipsis-right div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis-right3 0.6s infinite;
}

@keyframes lds-ellipsis-right1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes lds-ellipsis-right3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
}

@keyframes lds-ellipsis-right2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
}

/* Progress Animation */

.loader {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #666666;
}

.loader:before {
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: rgb(238, 130, 22);
    animation: loading 2s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 10%;}
    50% {width: 30%;}
    70% {width: 40%;}
    80% {width: 60%;}
    95% {width: 80%;}
    to {left: 100%;}
}

/* FadeIn */

.fadein {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*
 ******************************************************* LIVE *******************************************************
*/

#chartContainer {
    display: flex;
    flex-direction: column;
}

#liveChart,
.liveChartContainer {
    flex: 1;
    /* min-height: 256px; */
}

#minuteChart,
.minuteChartContainer {
    height: 84px;
    min-height:84px;
}

#myclock canvas {
    width: 100%;
}

#currentTimeDiv {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.table-live-striped tbody tr:nth-of-type(odd) {
    background: #262933;
}

.table-live-draw tbody tr {
    border-bottom: 1px solid #343A40;
}

.table-live-draw tbody tr:last-child {
    border-bottom: none;
}

.table-live-draw tbody tr:hover,
.table-live-draw-highlight-row {
    background-color: #3C4252;
}

.subtitle-live-alias:first-child::before {
    content: "";
}

.subtitle-live-alias::before {
    font-family: 'fuse-iconfont' !important;
    content: "\ea94";
    line-height: -8px;
    color: #6C757D;
    margin-right: 1px;
}

.live-select {
    display: flex;
    justify-content: center;
}

.live-select .wrapper {
    min-width: 300px;
    text-align: center;
    border: 2px dashed #181824;
    border-radius: 4px;
}

.btn-danger-glowing {
    -webkit-animation: glowing 1000ms infinite;
    -moz-animation: glowing 1000ms infinite;
    -o-animation: glowing 1000ms infinite;
    animation: glowing 1000ms infinite;
}

@-webkit-keyframes glowing {
    0% { -webkit-box-shadow: 0 0 4px transparent; }
    50% { -webkit-box-shadow: 0 0 32px #F44336; }
    100% { -webkit-box-shadow: 0 0 4px transparent; }
}

@-moz-keyframes glowing {
    0% { -moz-box-shadow: 0 0 4px transparent; }
    50% { -moz-box-shadow: 0 0 32px #F44336; }
    100% { -moz-box-shadow: 0 0 4px transparent; }
}

@-o-keyframes glowing {
    0% { box-shadow: 0 0 4px transparent; }
    50% { box-shadow: 0 0 32px #F44336; }
    100% { box-shadow: 0 0 4px transparent; }
}

@keyframes glowing {
    0% { box-shadow: 0 0 4px transparent; }
    50% { box-shadow: 0 0 32px #F44336; }
    100% { box-shadow: 0 0 4px transparent; }
}
