.select2-container--krajee-bs4 .select2-selection {
    box-shadow: none;
    background-color: #eeeef8;
    color: #eeeef8;
    border: none;
}
.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__choice {
    background: white;
    border: none;
}
.select2-dropdown {
    border-color: #80bdff;
    background-color: #eeeef8;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container--krajee-bs4:not(.select2-container--disabled) .select2-dropdown {
    background-color: #eeeef8;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.bootstrap-switch {
    word-wrap: normal;
}

.modal-dialog .modal-content {
    border-radius: 4px;
}

.modal-content {
    border: none;
}

.gauge-label {
    font-size: 20px;
    font-weight: bold;
}

.data_row {
    padding: 0;
    margin: 0 -5px;

}
.data_row .board-text {
    border-top: 1px solid #bcbcbc;
}
.data_row .data_value {
    font-size: 15px;
    font-weight: 600;
    padding: 5px 0;
}
#data_board {
    font-family: Lato, sans-serif;
    padding: 0 10px;
}
#data_board    .switch-button {
    margin: 5px 0;
    margin-left: 15px;
}

#data_board    .bottom-message {
    margin-top: 20px;
    font-size: 125%;

}

.switch-button-control {
       display: flex;
       flex-direction: row;
       align-items: center;
}
.switch-button-control .switch-button {

    height: 29px;
    width: 55px;
    border: 2px solid #253db9;
    box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.33);
    border-radius: 1.6em;

    transition: all 0.3s ease-in-out;

    cursor: pointer;
}
.switch-button-control .button {
    height: 25px;
    width: 25px;
    border: 2px solid #253db9;
    box-shadow: inset 0px 0px 2px 0px rgb(0, 0, 0, 33%);
    border-radius: 1.6em;
    transition: all 0.3s ease-in-out;
    background: #253db9;
    cursor: pointer;
}

.switch-button-control .enabled  {
    background-color: #253db9;
    box-shadow: none;
}
.switch-button-control .enabled .button {
    background: white;
    transform: translateX(calc(calc( 1.6em - (2 * 2px) ) + (2 *2px)));
}

.switch-button-control .switch-button-label {
    margin-left: 10px;
}

.spanner{
    position:absolute;
    top: 30%;
    left: 0;
    background: #2a2a2a55;
    width: 100%;
    display:block;
    text-align:center;
    height: 300px;
    color: #FFF;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
}

.spanner p{
    color: #fff;
}

.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.show{
    visibility: visible;
}

.spanner, .overlay{
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.spanner.show, .overlay.show {
    opacity: 1
}


.power-ajax-button{
    position:relative;
    display:inline-block;
    text-align:center;
    padding: 7px 0;
}
.power-submit{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width:90px;
    height:34px;
    padding: 1px;
    background-color: #b34242;
    border:2px solid #882c2c;
    border-radius:10px;
    color:#FFFFFF;
    font-size:17px;
    cursor:pointer !important;
    outline:none;
}

.power-submit:hover{
    background-color:#00840a;
}
.power-loading{
    font-size:0;
    width:30px;
    height:30px;
    margin-top:5px;
    border-radius:15px;
    padding:0;
    border:3px solid #4f4f4f;
    border-bottom:3px solid rgba(255,255,255,0.0);
    border-left:3px solid rgba(255,255,255,0.0);
    background-color:transparent !important;
    animation-name: rotateAnimation;
    -webkit-animation-name: wk-rotateAnimation;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@keyframes rotateAnimation {
    0%   {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
@-webkit-keyframes wk-rotateAnimation {
    0%   {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(360deg);}
}

.power-fa{
    color: #800000;
    font-size:18px !important;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-9px;
    margin-top:-9px;
    -webkit-transform:scaleX(0) !important;
    transform:scaleX(0) !important;
}

.power-finish{
    -webkit-transform:scaleX(1) !important;
    transform:scaleX(1) !important;
}
.power-hide-loading{
    opacity:0;
    -webkit-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
    -webkit-transform:scale(0) !important;
    transform:scale(0) !important;
}

#power_board {
    padding: 0;
}
.fax-fm-body, #camera_board {
    padding: 0 10px;
}
.fax-fm-body .stats-card-two, #power_board .stats-card-two {
    padding: 0 10px;
}
.pvalue-item {
    width: 100%;
}
.fax-fm-body .stats-card-two {
    margin-bottom: 15px;
}
.fax-fm-body .stats-card-two p {
    margin-bottom: 5px;
}
.device_ext_values {
    border-left: 1px solid #e0e0e0;
    border-top: none;
}
.exciter_device {
    border-top: 1px solid #e0e0e0;
}
.board-button {
    margin-bottom: 8px;
}
.board-button button{
    font-size: 12px;
}
.fax-timer {
    margin: 0!important;
}
.camera_frame {
    max-width: 100%;
}

    /*-----------------------
        Audio Player - AP
    ------------------------*/


.ap {

    width: 100%;

    user-select: none;
    border-radius: 15px;
    padding: 10px;
    background: #f1f3f4;
}
.ap__inner {
    display: flex;
    margin: auto;
}
.ap__item {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}
.ap__item--playback > .ap__controls,
.ap__item--settings > .ap__controls {
    flex: 0 25%;
}
@keyframes fs {
    0% {
        opacity: 0;
        transform: scale(.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.track {
    position: relative;
    width: 100%;
    align-self: flex-start;
    padding: 5px 0 0;
    line-height: 40px;
}
.track__title {
    width: 100%;

    overflow: hidden;

    padding-right: 80px;

    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.track__time {
    position: absolute;
    top: 5px;
    right: 0;

}

.ap__controls,
.ap button {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;

    position: relative;
    display: block;
    height: 50px;
    text-align: center;
    cursor: pointer;
    transition: background .3s ease;
&:active {
     background: rgba(0,0,0,.1);
 }
&:hover {
     opacity: 1;
 }
}
.icon-play > path {
    transition: all .3s ease;
}
.is-playing {
.icon-play {
    fill: steelblue;
}
}

.volume-btn {
    display: block;
    text-align: center;
    width: 100%;
}

.icon-volume-off {
    display: none;
}
.has-muted {
.icon-volume-on {
    display: none;
}
.icon-volume-off {
    display: inline;
    opacity: .7;
}
}
.ap__controls.is-active {
> svg {
    fill: steelblue;
    filter: drop-shadow(0 0 3px rgba(70, 130, 180, .4));
}
}
@media(max-width:1024px) {
    .ap__item > .ap__controls {
        flex: 1;
    }
}
@media(max-width:580px) {
    .ap {
        min-width: 250px;
    }
    .ap, .ap__inner {
        height: auto;
    }
    .ap__inner {
        flex-wrap: wrap;
    }
    .ap__item--playback,
    .ap__item--settings {
        flex: 1 1 50%;
        order: 2;
    }
    .device_ext_values {
        border-top: 1px solid #e0e0e0;
        border-left: none;
        padding-top: 10px;
    }
}


.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 5px!important;
    padding-right: 5px!important;
}

.noti_item {
    padding: 8px;
    margin-bottom: 8px;
}
.noti_item .noti_time, .noti_item .noti_user  {
    font-style: italic;
}

/* Tooltip */
.tooltip-custom {
    @include tooltip-custom(#f2653c, #ffffff);
}

.tooltip-custom-alt {
    @include tooltip-custom(#5b2da3, #ffffff);
}


/* Loading Absolute Center Spinner */
.loading-action {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}

.loading-action.show {
    display: block;
}

/* Transparent Overlay */
.loading-action:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0, .6));

    background: -webkit-radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0,.6));
}

/* :not(:required) hides these rules from IE9 and below */
.loading-action:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading-action:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}