.error_input,
.form-control.error_input, .bootstrap-tagsinput.error_input,
.form-control.error_input + .select2 > .selection > .select2-selection {
    border: 1px solid red !important;
}

.has-float-label .select2-container--bootstrap .select2-selection--single {
    padding: 0.75rem 0.75rem 0.5rem 0.75rem !important;
    height: 41px !important;
}

.dashboard-filled-line-chart {
    height: auto !important;
}

.custom-menu-icon {
    height: 35px;
}

.device-card-holder {
    transition: height 1s;
}

.now-value {
    margin-bottom: 0 !important;
    padding-bottom: .5rem;
    /*text-shadow: 4px 7px 11px #d1d1d1;*/

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

@keyframes now-value-fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
    }
}

.big-value {
    color: #145388;
    /*font-size: 3rem;*/
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2rem;
}

.big-value .unit-smaller {
    white-space: nowrap;
    font-size: 1.2rem;
}

.big-value .unit-normal {
    white-space: nowrap;
    font-weight: 200;
}

.ratio-16-9 {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.big-chart {
    width: 100%;
}

/*
.input-daterange input {
    background-color: pink;
    margin-bottom: 10px;
}
*/

/*
.select-from-library .modal-content {
    height: auto !important;
    min-height: 100%;
}
*/

.comm-indicator {
    transition: opacity 1s;
}


.user-icon, .location-icon {
    padding-right: -5px !important;
}

.user-name, .location-name {
    padding-left: 0 !important;
    vertical-align: top !important;
    margin-top: -2px;
}

.header-icon {
    margin-right: 0 !important;
}

.navbar .navbar-right .user-name, .navbar .navbar-left .location-name {
    margin-left: -7px;
}
.navbar .navbar-left .location-name {
    max-width: 130px;
}
.navbar .navbar-right .user-name {
    padding-right: 40px;
}
@media (max-width: 767px) {
    .navbar .navbar-right .user-name
    {
        padding-right: 5px;
    }
    .navbar .navbar-left .location-icon
    {
        margin-left: 20px;
    }
}

.user-name span, .location-name span {
    font-size: 12.8px !important;
    line-height: 16px;
    color: rgb(33, 33, 33);
}

.menu-button, .menu-button-mobile {
    margin-top: 4px;
}

.dropdown-menu-left {
    left: auto !important;
}

.dropdown-title {
    font-weight: bold;
    padding: 0.75rem 1.5rem;
}

.button-group {
    display: inline;
}
.button-group:hover .header-icon {
    color: #145388;
}

/*
.dropdown-menu {
    / *transform: translate(-12px, 26px) !important* /;
    transform: none !important;
    left: -12px !important;
    top: 26px !important;
}
*/

.btn {
    margin-right: 3px;
}

.dropdown-item.arrow:after {
    position: absolute;
    right: 0;
    margin-right: 10px;
    font-family: 'simple-line-icons';
    content: "\e606";
}

.overflow-hidden {
    overflow: hidden;
}

.location-selector {
    width: 600px;
    max-width: 100%;
    max-height: calc(100vh - 94px);
}

.location-selector .scroll {
    margin-right: 0;
    padding-right: 0;
    max-height: calc(100vh - 140px);
}

.location-selector-small {
    width: 200px !important;
}

@media (max-width: 437px) {
    .location-selector {
        left: 0 !important;
    }
}

.dropdown-item-empty {
    padding: 0.75rem 1.5rem;
    color: #8f8f8f;
}

.dropdown-menu {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal-backdrop.show {
    opacity: .2 !important;
}

.popup_bottom { /*color picker*/
    height: 329px;
    z-index: 10000 !important;
    margin-top: -2px !important;
}

.color-picker-wrapper {
    margin-top: 2px;
}

.color-picker-wrapper:after {
    content: "";
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    background: #fff;
    position: absolute;
    border-top: 1px solid rgb(187, 187, 187);
    border-right: 1px solid rgb(187, 187, 187);
    top: -5px;
    left: 12px;
    z-index: 20000;
    bottom: -10px;
}

.chart-type {
    transition: .5s !important;
}

.selected-card {
    background-color: #145388;
    /*
    background-image: linear-gradient(to right top,#104978,#3582b2,#3693ce);
    background-size: cover;
    background-size: 100% auto;
    */
    cursor: default;
}

.chart-type .card-body i > svg {
    color: #145388;
    fill: #145388;
}

.chart-type .card-body i,
.chart-type .card-body i > svg,
.chart-type .card-body p {
    transition: color .5s;
}

.selected-card .card-body i,
.selected-card .card-body p {
    color: white;
}
.selected-card .card-body i > svg {
    color: white;
    fill: white;
}

.lead-smaller {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #145388;
}

.iconminds-custom {
    font-size: 38px !important;
    speak: none;
    display: inline-block;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    line-height: 1em;
    margin-left: .2em;
}

.x-axis:before {
    content: 'x-axis';
    background-color: #2a93d5!important;
    color: #fff;
    padding: .6em .75em;
    font-size: 82%;
    margin-right: .6em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.line-height-26 {
    line-height: 26px;
}

.gray-text {
    color: gray;
}

.device-icon {
    margin-right: 3px;
}

.device-icon,
.device-icon > svg {
    width: 1.0em;
    color: #8f8f8f;
    fill: #8f8f8f;
}

.vis-timeline {
    border: none !important;
}

.vis-foreground .vis-group {
    border-bottom: #f3f3f3 1px solid !important;
}

.vis-labelset .vis-label {
    border-bottom: #f3f3f3 1px solid !important;
}

.vis-current-time {
    border: 1px !important;
}

.vis-labelset .vis-label .vis-inner {
    color: #666666;
}

.vis-time-axis .vis-text {
    color: #666666 !important;
}

.vis-item.vis-box {
    text-align: center;
    /*border: none !important;*/
    border: 1.5px #135388 solid;
    border-radius: 0 !important;
}

.vis-item {
    cursor: pointer;
    background-color: rgba(19, 83, 136, 0.1) !important;
    background-color: #e7edf3 !important;
    font-weight: bold;
    color: #135388 !important;
    border-color: #135388 !important;
    border-width: 1.5px !important;
}

.vis-item.vis-dot {
    border-color: #135388 !important;
    border-width: 4px !important;
    border-style: solid;
    border-radius: 4px !important;
}

.vis-current-time {
    background-color: #2b92d3 !important;
    width: 1.5px !important;
}

.bootstrap-tagsinput .tag [data-role="remove"]:after {
    content: "×";
    padding: 0 0 0 6px;
}

.bootstrap-tagsinput .tag {
    margin-right: 2px;
    color: white;
}

.bootstrap-tagsinput input {
    color: #212121;
}

.bootstrap-tagsinput input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    max-width: inherit;
}


.tt-hint {
    color: rgba(33, 33, 33, 0.5) !important;
}

.tt-menu {
    width: 400px;
    margin-top: 3px;
    background-color: #fff;
    border: 1px solid #6f8fc1;
}

.tt-suggestion {
    padding-left: 5px;
    padding-right: 5px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #1e90ff;
}

.tt-suggestion p {
    margin: 0;
    font-size: 18px;
    text-align: left;
}

.alarm svg {
    width: 13px;
    height: 13px;
    fill: #dc3545;
    animation: flickerAnimation 1s infinite;
}

.warning svg {
    width: 13px;
    height: 13px;
    fill: #b69329;
    animation: flickerAnimation 1s infinite;
}

@keyframes flickerAnimation {
    10% {opacity:1;}
    50% {opacity:0;}
    90% {opacity:1;}
}

.before-red:before {
    color: red;
}

.chart_preset_input,
.chart_preset_input span {
    width: 100%;
}

.chart_preset_input .tt-menu {
    width: 444px !important;
    margin-top: -1px;
}

.chart_preset_input .tt-suggestion {
    padding: 10px;
}

.dashboard_alarm_icon {
    position: absolute;
    margin-top: 2px;
}

.dashboard_alarm_details {
    padding-left: 17px;
}


.select2-hidden-accessible {
    display: none;
}

.event_list tr {
    cursor: pointer;
}

.filter-title {
    line-height: 22px;
    display: inline-block;
    font-size: 0.9rem;
    color: #8f8f8f;
}

.hover-link:hover {
    color: #145388;
    text-decoration: underline;
    cursor: pointer;
}

.fixed-background {
    background-size: cover !important;
    background-position: center !important;
}

span.modal_file {
    width: 100%;
    display: block;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 0px 10px 0px;
}

.modal-files {
    max-height: 150px;
    overflow-y: auto;
}