a {
    color: #003D71;
}

.bg-success {
    background-color: #37E69D !important;
}

.progress-bar.widgetprogress {
    background-color: #457B9D;
}
.btn {
   margin:2px
}
.bg-info {
    background-color: #457B9D !important;

}

.homealert h5 {
    font-size: .9em;
    color: #E63946;
    font-weight: bold;
}

/********/
/********/
#mainPowerStatus .progress-bar {
    background-image: url(../../theme/assets/img/arrowbg.svg);
    background-position-y: center;
}

@keyframes progress-bar-stripesr {
    0% {
        background-position-x: 1rem;
    }
}

#mainPowerStatus .progress-bar-animated {
    -webkit-animation: 1s linear infinite progress-bar-stripesr;
    animation: 1s linear infinite progress-bar-stripesr;
    background-position-y: center;
}

#genPowerStatus .progress-bar {
    background-image: url(../../theme/assets/img/arrowbg.svg);
    background-position-y: center;
}

@keyframes progress-bar-stripesl {
    0% {
        background-position-x: -1rem;
    }
}

#genPowerStatus .progress-bar-animated {
    -webkit-animation: 1s linear infinite progress-bar-stripesl;
    animation: 1s linear infinite progress-bar-stripesl;
    background-position-y: center;
}

/********/
/********/

.badge.homealert.bg-danger {
    background-color: transparent !important;
}

.bg-t-warning.ico {
    height: 42px;
    width: 42px;
    display: block;
    background-color: rgb(255 183 19 / 18%);
    line-height: 2.5;
    text-align: center;
    font-size: 1.1rem;
    margin-right: 8px;
    color: #fa9f1b;
}

.bg-t-danger.ico {
    height: 42px;
    width: 42px;
    display: block;
    background-color: rgba(234,84,85,.12);
    line-height: 2.5;
    text-align: center;
    font-size: 1.1rem;
    margin-right: 8px;
    color: #E63946;
}

.bg-t-info.ico {
    width: 42px;
    display: block;
    background-color: rgba(115,103,240,.12);
    line-height: 2.5;
    text-align: center;
    font-size: 1.1rem;
    margin-right: 8px;
    color: #457b9d;
}

h6.bg-t-warning {
    margin-bottom: 0rem;
    margin-top: 0.2rem;
    color: #5e5873;
}

h5.bg-t-warning {
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    color: #6e6b7b;
}

.homealert.alert-warning {
    color: #75868f;
    background-color: #FDF1F2;
    border-color: #FBE2E5;
}

.homealert {
    color: #aab9c1;
}

    .homealert.date {
        font-size: 10px;
    }

    .homealert button.btn-close {
        padding: 10px !important;
    }

    .homealert p {
        padding-bottom: 0;
        margin-bottom: 0;
    }

.active-power {
    height: 8px;
    width: 100%;
    background-color: rgb(23, 214, 23);
}

.inactive-power {
    height: 8px;
    width: 100%;
    background-color: gray;
}

img.Nifty.logo {
    width: 110px;
    height: auto;
    margin-top: 15px;
}

@media(max-width:991.98px) {
    img.Nifty.logo {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}

img.homebrownslogo.fixedtop {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 89px;
}

.welcomesmg {
    opacity: 0.6;
    font-weight: 300;
}

.modal {
    margin-top: 42px;
}

.modal-backdrop {
    z-index: unset;
}

.display-7 {
    font-size: 2rem;
}

.ctrl-hide {
    display: none !important;
}

/*Nave CSS*/

.fa-solid, .fas {
    font-weight: 900;
    font-size: smaller;
}

.header__btn {
    border-radius: inherit;
    box-shadow: none !important;
    color: inherit;
    font-size: .8rem;
    border-left: 1px solid;
    /* border-right: 1px solid; */
}

.header {
    background-color: #162b40;
    color: #dee3e9;
    grid-area: 1/1/2/3;
    height: auto;
    border-bottom: 2px solid rgb(230, 57, 70);
    -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.4);
}

.header__inner {
    align-items: center;
    display: flex;
    height: inherit;
    padding-inline: 1rem;
}

.btn-group-sm > .btn-icon.btn, .btn-icon.btn-sm {
    width: calc(4rem + 1.1rem);
    height: calc(3rem + 1.4em);
}

@media (min-width: 992px) {
    .mn--min .header__inner {
        padding-left: 0;
        height: inherit;
    }
}

/*back button*/
.backbtn {
    cursor: pointer;
    background: #162b40;
    color: #fff;
    position: fixed;
    right: 0;
    top: 130px;
    font-size: 1.2rem;
    padding: 2px 6px 0px;
    z-index: 100;
    -webkit-border-top-left-radius: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-bottomleft: 7px;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

/*Page Msg*/
.page-msg {
    padding: 5px;
    text-align: center;
    font-size: 1.5em;
}

.msg-danger {
    background-color: #ff4b4b;
    color: #fff;
}

.msg-warning {
    background-color: #fb9920;
    color: #fff;
}

.msg-success {
    background-color: #5fab4d;
    color: #fff;
}

.overlay {
    /* background-color: rgba(1, 1, 1, 0.7);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;*/
    pointer-events: none;
    cursor: not-allowed;
}

.selected {
    background-color: #3a444e;
    color: #fff;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(21 21 21 / 90%);
    color: white;
}

.alert {
    padding: 0rem 1rem;
}

/***tHILANKA**/

.navbar-dark.bg-dark {
    background-color: #1D3557 !important;
}

.logo a {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
}

@media (max-width: 768px) {
    .logosec {
        background-color: #000;
    }
}

.brand-wrap:hover {
    transition: none;
    transform: none;
}

.header__btn {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.headerlast {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.hd--expanded .content__header .page-title {
    color: #A8DADC;
}

.hd--expanded .content__header {
    background-color: #457B9D;
}

.headerlink.active {
    background-color: #E63946;
    color: #F1FAEE;
}

table td a {
    text-decoration: none;
}

.dataTable {
}

td .badge {
    display: block;
    max-width: 70px;
    text-align: center;
}

.btn-theme {
    background-color: #A8DADC;
    color: #fff;
}

#DataTables_Table_0 {
    vertical-align: middle;
    width: 100% !important;
    border-spacing: 0 5px;
}

    /** hide column for mobile device **/

    #DataTables_Table_0 td:nth-child(1) {
        font-weight: bold;
        text-transform: uppercase;
    }

    #DataTables_Table_0 td:nth-child(3) {
        text-align: center;
    }

    #DataTables_Table_0 td:first-child {
        border-radius: 10px 0 0 10px;
    }

    #DataTables_Table_0 td:last-child {
        border-radius: 0 10px 10px 0;
    }

    #DataTables_Table_0 tr td {
        background-color: #F1FAEE;
        padding: 0.55rem 0.7rem;
    }

    #DataTables_Table_0 .table thead th {
        color: #1D3557;
    }

    #DataTables_Table_0 .btn {
        line-height: 1;
        padding: 0.25rem 0.35rem;
        font-size: 1rem;
    }

@media (max-width: 991.98px) {
    #DataTables_Table_0 td:nth-child(2), #DataTables_Table_0 th:nth-child(2) {
        display: none;
    }

    #DataTables_Table_0 td:nth-child(3), #DataTables_Table_0 th:nth-child(3) {
        display: none;
    }

    #DataTables_Table_0_wrapper .dataTables_length {
        margin-bottom: 15px;
    }

    #DataTables_Table_0 td:nth-child(4), #DataTables_Table_0 th:nth-child(4) {
        width: auto;
    }
}

/**Dashboard page**/

.dbsection .card-body {
    padding: 0.5rem;
}

.dbsection .card-header {
    padding: 0.5rem;
    min-height: 1rem;
}

.lastupdate {
    background-color: #1D3557;
    color: #A8DADC;
    min-width: 260px;
    padding: 10px;
}

.devicetitle {
    color: #A8DADC !important;
    text-transform: uppercase;
}

.chartcoitainer {
    position: relative;
    height: 150px;
    width: 100%
}

.bg-white {
    background-color: #F1FAEE;
}

.progresstable img {
    opacity: 0.5;
}

.card-icon {
    background: #A8DADC !important;
}

    .card-icon i {
        opacity: 1;
        min-width: 32px;
        text-align: center;
        max-width: 32px;
    }

.h2.text-danger {
    color: #454a4c !important;
    font-size: 1.3rem !important;
}

#txtRuntime {
    font-size: 1.5rem;
}

.phase.bg-dark {
    background-color: #457b9d !important;
}

.phase.bg-pink {
    background-color: #306383 !important;
}

.phase.bg-secondary {
    background-color: #294f71 !important;
}

.phase .display-6 {
    font-size: 1.5rem;
}

#opmap {
    box-shadow: 0 1rem 1rem -0.75rem rgb(105 96 215 / 18%);
}

element.style {
    width: 100%;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.btn-secondary {
    box-shadow: 0 0 0 #26a69a, 0 0 0 rgb(55 60 67 / 25%);
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.switch .btn-secondary {
    color: #fff;
    background: #37E69D;
    border: 0;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(55 60 67 / 8%);
}

.switch .btn-danger {
    color: #fff;
    background: #E63946;
    border: 0;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(55 60 67 / 8%);
}

.slider .pcheckBox-danger {
    background-color: #df5645;
    color: #fff;
    border: 0;
}

.switch.bg-dark {
    background-color: #31587a !important;
}

.progress.inactive-power > div {
    width: 0%
}

.progress.active-power > div {
    width: 100%
}

.progress-bar.bg-success {
    background-color: #37E69D !important;
}

footer {
    background: #fff;
}

table.table.geninfotable tr th:first-child,
table.table.geninfotable tr td:first-child {
    width: 50%;
    min-width: 10em;
    max-width: 10em;
    word-break: break-all;
}

.card.dangercard {
    background-color: #fff;
    animation: dangercardbg 1.5s infinite;
}

@keyframes dangercardbg {
    0% {
        background-color: #fff;
    }

    50% {
        background-color: #FBE2E5;
    }

    100% {
        background-color: #fff;
    }
}

@media screen and (max-width: 720px) {
    .header__content-end, .header__content-start {
        gap: 0rem;
    }

    .btn-group-sm > .btn-icon.btn, .btn-icon.btn-sm {
        width: calc(3rem + 1.1rem);
        height: calc(3rem + 1.4em);
        font-size: 0.7rem;
    }
}

.badge.bg-dark {
    color: #a5a5a5;
}

.widget.online {
    border-bottom: 2px solid #37E69D;
    padding-bottom: 12px !important;
}

.widget.offline {
    border-bottom: 2px solid #E69D37;
    padding-bottom: 12px !important;
}

.widget.total {
    border-bottom: 2px solid #457B9D;
    padding-bottom: 12px !important;
}

.widget.alarm {
    border-bottom: 2px solid #E63946;
    padding-bottom: 12px !important;
}

.content .page-title {
    font-size: 1.5rem;
}

.tableiconitemtype {
    opacity: 0.45;
    width: 40px;
    padding-right: 5px;
    height: auto;
    display: block;
    margin: 0 auto;
}
/******** Login page CSS Start ****************/
/******** Login page CSS Start ****************/
/******** Login page CSS Start ****************/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    background-color: #fff !important;
}

.homebrownslogo {
    width: 100px;
    padding: 20px;
}

.loginpage {
    background: #fff;
}

    .loginpage .btn-primary:active:focus, .loginpage .btn-primary:focus {
        box-shadow: none !important;
    }

.logincol {
    /* background-image: url(../../theme/assets/img/svgbg.svg);*/
}

.loginpage .wave {
    background-image: url(../../theme/assets/img/loginbg.jpg);
    background-size: cover;
    background-position: bottom right;
    opacity: 1;
    background-repeat: no-repeat;
}

.loginpage .login-content {
    padding: 30px;
    background: #fff;
    text-align: center;
    /** old box shadow
        box-shadow: 0 7px 14px 0 rgba(65,69,88,0.1),0 3px 6px 0 rgba(0,0,0,0.07);**/
    /** new  box shadow**/

    max-width: 400px;
    width: 100%;
    min-width: 0;
    word-wrap: break-word;
    border-radius: 0.375rem;
}

.loginpage h1.h3 {
    color: #1D3557;
    font-weight: bold;
}

.loginpage .img img {
    width: 500px;
}

.loginpage .login-content img {
    height: auto;
    width: 250px;
    margin-bottom: 15px;
}

.loginpage .login-content h2 {
    margin: 15px 0;
    color: #333;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.loginpage .login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

    .loginpage .login-content .input-div.one {
        margin-top: 0;
    }

.loginpage .i {
    color: #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .loginpage .i i {
        transition: .3s;
    }

.loginpage .input-div > div {
    position: relative;
    height: 45px;
}

    .loginpage .input-div > div > h5 {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 14px;
        transition: .3s;
    }

.loginpage .input-div:before, .input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #457B9D;
    transition: .4s;
}

.loginpage .input-div:before {
    right: 50%;
}

.loginpage .input-div:after {
    left: 50%;
}

.loginpage .input-div.focus:before, .input-div.focus:after {
    width: 50%;
}

.loginpage .input-div.focus > div > h5 {
    top: -5px;
    font-size: 12px;
}

.loginpage .input-div.focus > .i > i {
    color: #457B9D;
}

.loginpage .input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    color: #555;
    font-family: 'poppins', sans-serif;
    border-radius: 20px;
}

.loginpage .input-div.pass {
    margin-bottom: 4px;
}

.loginpage a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    transition: .3s;
}

    .loginpage a:hover {
        color: #457B9D;
    }

.loginpage .btn {
    display: block;
    width: 100%;
    height: 45px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #00cdff, #0a41b5, #0a41b5);
    background-size: 200%;
    font-size: 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}

    .loginpage .btn:hover {
        background-position: right;
    }

.btn:hover {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 1000px) {
/*    form {
        width: 290px;
    }
*/
    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }

    .img img {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .loginpage .wave {
        display: block;
        min-height: 130px;
    }

    .loginpage .wave {
        background-position: center;
    }

    .loginpage .login-content {
        justify-content: center;
    }
}

.toast-top-right {
    top: 90px;
}

/******** Login page CSS END ****************/
/******** Login page CSS END ****************/

/******** Calender ****************/

@media (min-width: 0px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 100%;
        *width: 100%;
    }
}

@media (min-width: 0px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

@media (min-width: 0px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

.calbody.home .centered {
    height: 28px;
}

.centered {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 16%;
}

#UlMini {
    padding: 0;
    list-style: none;
    font-size: 0;
    margin: 0%;
}

.ulminiline .minutecol:first-child, .ulminiline .minutecolmonth:first-child {
    -webkit-border-top-left-radius: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-bottomleft: 7px;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.ulminiline .minutecol:last-child, .ulminiline .minutecolmonth:last-child {
    -webkit-border-top-right-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -moz-border-radius-topright: 7px;
    -moz-border-radius-bottomright: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* START TOOLTIP STYLES */
[tooltip] {
    position: relative; /* opinion 1 */
}

    /* Applies to all tooltips */
    [tooltip]::before,
    [tooltip]::after {
        text-transform: none; /* opinion 2 */
        font-size: .9em; /* opinion 3 */
        line-height: 1;
        user-select: none;
        pointer-events: none;
        position: absolute;
        display: none;
        opacity: 0;
    }

    [tooltip]::before {
        content: '';
        border: 5px solid transparent; /* opinion 4 */
        z-index: 1001; /* absurdity 1 */
    }

    [tooltip]::after {
        content: attr(tooltip); /* magic! */
        /* most of the rest of this is opinion */
        font-family: Helvetica, sans-serif;
        text-align: center;
        /*
    Let the content set the size of the tooltips
    but this will also keep them from being obnoxious
    */
        min-width: 3em;
        font-size: 16px;
        max-width: 21em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 1ch 1.5ch;
        border-radius: .3ch;
        box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
        background: #333;
        color: #fff;
        z-index: 1000; /* absurdity 2 */
    }

    /* Make the tooltips respond to hover */
    [tooltip]:hover::before,
    [tooltip]:hover::after {
        display: block;
    }

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

/**/

.calbody .col-md-1 a .centered {
    background-color: #f8f8f8;
    border-radius: 5px;
    color: #91acc3;
    font-weight: bold;
}

#contentCalender {
    background-color: #1BAF8B;
    height: 28px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 5px;
}

.stickytop {
    position: sticky;
    z-index: 1020;
    top: 86px;
}

.daybody .col-md-1 {
    color: #fff;
    background: #2980B9;
    border-right: 3px solid #fff;
    border-left: 3px solid #fff;
    border-radius: 11PX;
    font-weight: normal;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/******** END Calender ****************/
/******** timeline t-  ****************/
li.minutecol {
    width: 1.666%;
    height: 40px;
    background: #f8f8f8;
}

li.minutecolmonth {
    width: 0.0694%;
    height: 20px;
    background: #f8f8f8;
    list-style: none;
    margin-top: 2px;
    margin-bottom: 2px;
}
/******** time line END ****************/

.dview {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 5px;
    color: #91acc3;
    font-weight: bold;
}

.dayrow {
    transition: all .5s ease;
    border-bottom: 1px solid #ededed;
}

    .dayrow:hover {
        background: #f3f6f9;
    }

.statusbulb {
    width: 22px;
}

.key {
    font-size: 1.4rem;
}

    .key.keyon {
        background: -webkit-linear-gradient(#d2ff52, #91e842);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1rem;
    }

    .key.keyoff {
        background: -webkit-linear-gradient(#febbbb, #ff5c5c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1rem;
    }

.btn-secondery {
    background-color: #457B9D;
    border-color: #457B9D;
    color: #A8DADC;
}

.card.viewbody {
    min-height: calc(100vh - 100px);
}

#tableActiveGeofence .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    #tableActiveGeofence .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
    #df5645
}

input:checked + .slider .pcheckBoxIsExpired {
        background-color: #df5645
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.tooltip {
    border: thin 1px #eee;
    background-color: #FFFBF0;
    padding: 5px;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(img/loader-64x/Preloader_2.gif) center no-repeat #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide-loader {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch.gen {
        position: relative;
        display: inline-block;
        width: auto;
        height: auto;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* header logo*/

.dbheadlogo {
    height: 40px;
    width: auto;
    max-width: 100px;
    border-radius: 5px;
    background: #fff;
    text-align: right;
}

#image_previewTA
{
    margin-top:5%;
}

#image_preview1 {
    float: left;
    margin-right: 20px;
    height: auto;
    max-width: 100px;
    width: auto;
    max-height: 24px;
}

span.btn.btn-outline-primary.olbtn:hover {
    background-color: #fff;
    color: #000;
}

span.btn.btn-outline-primary.olbtn {
    border-color: #a8dadc;
}

/* new on off switch */

.power-switch {
    --color-invert: #25ff80;
    --width: 100%;
    --height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--width);
    height: var(--height);
}

    .power-switch .button {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

        .power-switch .button:after {
            content: "";
            width: 100%;
            height: auto;
            position: absolute;
            background: radial-gradient(circle closest-side, var(--color-invert), transparent);
            filter: blur(20px);
            opacity: 0;
            transition: opacity 1s ease, transform 1s ease;
            transform: perspective(1px) translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .power-switch .button .power-on,
        .power-switch .button .power-off {
            height: auto;
            width: 100%;
            position: absolute;
            z-index: 1;
            fill: none;
            stroke: var(--color-invert);
            stroke-width: 8px;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .power-switch .button .power-off {
            stroke: #fff !important;
            opacity: 1 !important;
        }

            .power-switch .button .power-on .line,
            .power-switch .button .power-off .line {
                opacity: 0.2;
            }

            .power-switch .button .power-on .circle,
            .power-switch .button .power-off .circle {
                opacity: 0.2;
                transform: rotate(-58deg);
                transform-origin: center 80px;
                stroke-dasharray: 220;
                stroke-dashoffset: 40;
            }

        .power-switch .button .power-on {
            filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.8));
        }

            .power-switch .button .power-on .line {
                opacity: 0;
                transition: opacity 0.3s ease 1s;
            }

            .power-switch .button .power-on .circle {
                opacity: 1;
                stroke-dashoffset: 220;
                transition: transform 0s ease, stroke-dashoffset 1s ease 0s;
            }

    .power-switch input {
        position: absolute;
        height: 100%;
        width: 100%;
        z-index: 2;
        cursor: pointer;
        opacity: 0;
    }

        .power-switch input:checked + .button:after {
            opacity: 0.15;
            transform: scale(2) perspective(1px) translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .power-switch input:checked + .button .power-on,
        .power-switch input:checked + .button .power-off {
            -webkit-animation: click-animation 0.3s ease forwards;
            animation: click-animation 0.3s ease forwards;
            transform: scale(1);
        }

            .power-switch input:checked + .button .power-on .line,
            .power-switch input:checked + .button .power-off .line {
                -webkit-animation: line-animation 0.8s ease-in forwards;
                animation: line-animation 0.8s ease-in forwards;
            }

            .power-switch input:checked + .button .power-on .circle,
            .power-switch input:checked + .button .power-off .circle {
                transform: rotate(302deg);
            }

            .power-switch input:checked + .button .power-on .line {
                opacity: 1;
                transition: opacity 0.05s ease-in 0.55s;
            }

            .power-switch input:checked + .button .power-on .circle {
                transform: rotate(302deg);
                stroke-dashoffset: 40;
                transition: transform 0.4s ease 0.2s, stroke-dashoffset 0.4s ease 0.2s;
            }

@-webkit-keyframes line-animation {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(10px);
    }

    40% {
        transform: translateY(-25px);
    }

    60% {
        transform: translateY(-25px);
    }

    85% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes line-animation {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(10px);
    }

    40% {
        transform: translateY(-25px);
    }

    60% {
        transform: translateY(-25px);
    }

    85% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@-webkit-keyframes click-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes click-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

#some_div_Power {
    font-size: 24px;
    text-align: center;
    color: #fff;
}

#powerSwitch {
    transition: all 0.3s ease-in-out;
}
/** style for model**/
.modal.fade.show {
    background: rgba(0,0,0,0.7);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.row-m {
    -moz-column-width: 18em;
    /* -webkit-column-width: 18em; */
    column-width: 12cm;
    -moz-column-gap: 1em;
    -webkit-column-gap: 1em;
    column-gap: 0em;
}

.item {
    display: inline-block;
    padding: .25rem;
    width: 100%;
}

.well {
    position: relative;
    display: block;
    margin: 2%;
}

.padding-right-26 {
    padding-right: 26px !important;
}


#employeeDetailsList .list-group-numbered > li::before {
    content: counters(section, ".") ". ";
    counter-increment: section;
    margin-right: 11px;
}

.pr-15-px {
    padding-right: 23px !important;
}

.border-red {
    border: 2px solid red;
}

.border-green {
    border: 2px solid green;
}



.calendar {
    margin: .25em 10px 10px 0;
    padding-top: 5px;
    float: left;
    width: 80px;
    background: #ededef;
    background: -webkit-gradient(linear,left top,left bottom,from(#ededef),to(#ccc));
    background: -moz-linear-gradient(top,#ededef,#ccc);
    font: bold 30px/60px Arial Black,Arial,Helvetica,sans-serif;
    text-align: center;
    color: #000;
    text-shadow: #fff 0 1px 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    -moz-box-shadow: 0 2px 2px #888;
    -webkit-box-shadow: 0 2px 2px #888;
    box-shadow: 0 2px 2px #888
}

    .calendar em {
        display: block;
        font: normal bold 11px/30px Arial,Helvetica,sans-serif;
        color: #fff;
        text-shadow: #00365a 0 -1px 0;
        background: #04599a;
        background: -webkit-gradient(linear,left top,left bottom,from(#04599a),to(#00365a));
        background: -moz-linear-gradient(top,#04599a,#00365a);
        -moz-border-radius-bottomright: 3px;
        -webkit-border-bottom-right-radius: 3px;
        border-bottom-right-radius: 3px;
        -moz-border-radius-bottomleft: 3px;
        -webkit-border-bottom-left-radius: 3px;
        border-bottom-left-radius: 3px;
        border-top: 1px solid #00365a
    }

    .calendar:before, .calendar:after {
        content: '';
        float: left;
        position: absolute;
        top: 5px;
        width: 8px;
        height: 8px;
        background: #111;
        z-index: 1;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        -moz-box-shadow: 0 1px 1px #fff;
        -webkit-box-shadow: 0 1px 1px #fff;
        box-shadow: 0 1px 1px #fff
    }

    .calendar:before {
        left: 11px
    }

    .calendar:after {
        right: 11px
    }

    .calendar em:before, .calendar em:after {
        content: '';
        float: left;
        position: absolute;
        top: -5px;
        width: 4px;
        height: 14px;
        background: #dadada;
        background: -webkit-gradient(linear,left top,left bottom,from(#f1f1f1),to(#aaa));
        background: -moz-linear-gradient(top,#f1f1f1,#aaa);
        z-index: 2;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px
    }

    .calendar em:before {
        left: 13px
    }

    .calendar em:after {
        right: 13px
    }

.modal-backdrop {

    z-index: 1 !important;
}

#backToTopBtn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
}

#translate-flyout {
    position: fixed;
    top: 80%;
    right: -304px; /* hidden by default */
    transform: translateY(-50%);
    background: #5fab4d;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    transition: right 0.3s ease;
    z-index: 9999;
    cursor: pointer;
}

    #translate-flyout:hover {
        right: 0;
    }

    #translate-flyout * {
        color: black !important;
        font-size: 14px;
    }

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-combo {
    border: none;
    background: transparent;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
/* Hide the Google Translate top frame */
body > .skiptranslate {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Optional: remove margin caused by the banner */
body {
    top: 0 !important;
    position: static !important;
}


.hd--expanded .content__header.overlapping + .content__boxed {
    z-index: 101 !important;
}

.fa-2xl {
    font-size: 2em !important;
}

.list-group-item-dark.list-group-item-action {
    color: #212428 !important;
}
.list-group-item-dark.list-group-item-action:focus, .list-group-item-dark.list-group-item-action:hover {
    color: #212428 !important;
}

#otp-timer {
    font-size: 2em;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.g-size
{
    min-width:110px;
}

.p-show-btn {
    width: 63px !important;
    margin: 0px !important;
    height: 36px !important;
    border-radius: 0px .4375rem .4375rem 0px !important;
    background-image: linear-gradient(to right, #b0b0b0, #b0b0b0, #b0b0b0) !important;
}


.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .custom-tooltip .tooltip-text {
        visibility: hidden;
        width: 160px;
        background-color: #333;
        color: #fff;
        text-align: center;
        padding: 6px 10px;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        bottom: 125%; /* Position above the button */
        left: 96%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
    }

        .custom-tooltip .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%; /* Arrow on the bottom */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

    .custom-tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }


.d-flex.w-80.justify-content-between {
    color: black !important;
}

