@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
:root{
    /* --rms-main-color: #0078CF;
    --rms-secndary-color: rgb(19 51 74 / 70%);
    --left-menu-color: #F0ECEC;
    --lefe-sidebar-border-bottom: #F6F2F2; */
   /* /atc--------------------- */
    --rms-main-color: #212529;
    --rms-secndary-color: #da0e45;
    --left-menu-color: #ffffff;
    --left-menu-hover-color: #ffffff;
    --left-submenu-hover-color: #ffffff;
    --left-submenu-i-color: #ffffff;
    --lefe-sidebar-border-bottom: #F6F2F2;
    --rms-text-color: #010101;
   /* /edotco--------------------- */
    /* --rms-main-color: #15602A;
    --rms-secndary-color: #32990F;
    --left-menu-color: #F0ECEC;
    --lefe-sidebar-border-bottom: #F6F2F2;
    --rms-text-color: #010101; 
    --left-menu-hover-color: #ffffff;
    --left-submenu-hover-color: #ffffff;
    --left-submenu-i-color: #ffffff;
    */

    /* /summit--------------------- */
    /* --rms-main-color: #010101;
    --rms-secndary-color: #0077c0;
    --left-menu-color: #F0ECEC;
    --lefe-sidebar-border-bottom: #F6F2F2;
    --rms-text-color: #010101; 
    --left-menu-hover-color: #ffffff;
    --left-submenu-hover-color: #ffffff;
    --left-submenu-i-color: #ffffff;
    */
}

body{
    font-family: 'Inter', sans-serif;
}
html {
    height: -webkit-fill-available;
}

main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}
.dropdown-toggle { outline: 0; }

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
}

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
    color: var(--left-menu-color);
}
.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

.scrollarea {
    overflow-y: auto;
}

/*basic css*/
.left-sidebar-font-color{
    color: var(--left-menu-color);
}

/*menu css*/
.dropdown-menu li{ position: relative; 	}
.nav-item .submenu{
    display: none;
    position: absolute;
    right:100%;
    top:-7px;
}
.nav-item .submenu-left{
    right:100%;
    left:auto;
}
.dropdown-menu > li:hover{ background-color: #f1f1f1 }
.dropdown-menu > li:hover > .submenu{ display: block; }


/*top menu*/
.main_content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100%
}
#left-sidebar {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    width: 240px;
    background-color: var(--rms-main-color);
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    height: 100vh;
}
.app-search .form-control {
    height: 55px;
    padding: 14px 40px 14px 20px;
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid var(--rms-main-color);
    border-radius: 0;
    color: #C6C5C5;
    font-size: 14px;
    font-weight: 500;
}
.app-search span.search-widget-icon {
    position: absolute;
    z-index: 10;
    font-size: 20px;
    line-height: 55px;
    right: 13px;
    top: 0;
    color: #878a99;
}
.left-sidebar-menu {
    padding: 12px 0;
}

.left-sidebar-menu .btn-toggle:hover,
.left-sidebar-menu .btn-toggle:focus {
    color: var(--left-menu-hover-color);;
    background-color: transparent;
}

.page {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    left: 240px;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: calc(100% - 240px);
    position: relative;
    height: 100vh;
    overflow: hidden;
    overflow-y: scroll;
}
.page .section-white {
    background: #fff;
}
.page-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #E8E9E9;
}
.page-header .left {
    display: flex;
    align-items: center;
}
.page-header .menu_toggle {
    width: 30px;
    height: 30px;
    background: var(--rms-main-color);
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    color: #fff;
}
.page-title {
    font-size: 16px;
    margin-bottom: 0;
    margin-left: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-weight: 600;
}
.page-title i {
    font-size: 18px;
}
.page-title {
    color: var(--rms-text-color) !important;
}
.page-header .right {
    display: flex;
    align-items: center;
}
.page-header .right .nav-link {
    background: transparent;
    border: 0;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
}

.page-header .right .dropdown-menu {
    box-shadow: 0 2px 20px 0 rgba(0,0,0,0.25);
    border: 0;
    min-width: 12rem;
    font-size: 14px;
}
.page-header .right .dropdown-menu .dropdown-item {
    color: #333537;
    font-size: 14px;
    padding: 5px 10px;
    margin: 0 10px;
    width: auto;
}
/*notification*/
.page-header .right .notification {
    position: relative;
}
.icon i {
    vertical-align: -1px;
}
.page-header .right .notification .nav-unread {
    position: absolute;
    top: 0;
    right: 5px;
    min-height: 8px;
    display: inline-block;
    min-width: 5px;
    box-shadow: 0 0 0 rgba(67,74,84,0.9);
    animation: pulse 2s infinite;
    padding: .2rem .25rem;
}
@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(67, 74, 84, .9)
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px transparent
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 transparent
    }
}

.notification .dropdown-toggle::after {
    display: none;
}
.tree-menu .dropdown-toggle::after {
    display: none;
}

.page-header .dropdown-menu.dropdown-menu-arrow:after {
    display: inline-block;
    content: '';
    position: absolute;
    top: -10px;
    right: 12px;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
}
.page-header .dropdown-menu.dropdown-menu-arrow.dropdown-menu-right:before,
.page-header .dropdown-menu.dropdown-menu-arrow.dropdown-menu-right:after {
    left: auto;
    right: 12px;
}
.feeds_widget {
    margin-bottom: 0px;
    width: 300px;
    height: 350px;
    overflow: hidden;
    overflow-y: scroll;
}
.feeds_widget li {
    padding: 12px 15px;
    border-bottom: 1px solid #E8E9E9;
    display: flex;
    justify-content: flex-start;
}
.feeds_widget li .feeds-left {
    font-size: 16px;
    width: 10%;
}
.feeds_widget li .feeds-body {
    width: 90%;
}
.feeds_widget li .feeds-body .title {
    font-size: 14px;
}
.feeds_widget li .feeds-body .title {
    margin: 0 !important;
}
.feeds_widget li .feeds-body>small {
    display: block;
    font-size: 12px;
    color: #4D5052;
    font-weight: 400;
    text-transform: capitalize;
}
.feeds_widget li .feeds-body>small {
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}
.feeds_widget li:last-child {
    border: none;
}
.page-header .dropdown-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.dropdown-item.active, .dropdown-item:active {
    background-color:#00c057;
    color: #fff !important;
}
.page-header .avatar {
    color: #4d5052;
    font-weight: 600;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    display: inline-block;
    background: #808488 no-repeat center/cover;
    position: relative;
    vertical-align: bottom;
    font-size: .875rem;
    user-select: none;
}
.page-header .user-setting span {
    line-height: 2rem;
    font-size: 14px;
    font-weight: 500;
}
.left-sidebar-menu .btn-toggle {
    font-size: 14px;
}
.left-sidebar-menu .btn-toggle:hover {
    color: var(--left-menu-hover-color);
}
.left-sidebar-menu li ul.btn-toggle-nav {
    background: var(--rms-secndary-color);
}
.left-sidebar-menu li ul.btn-toggle-nav a{
    color: #E7E7E7;
    font-size: 12px;
    line-height: 14px;
    padding: 0 0 8px 0;
    margin-top: 0;
    letter-spacing: 0.8px;
}
.left-sidebar-menu li ul.btn-toggle-nav li:first-child{
    padding-top: 8px;
}
.left-sidebar-menu li ul.btn-toggle-nav a i{
    color: var(--left-submenu-i-color);
}
.left-sidebar-menu li ul.btn-toggle-nav a:hover{
    color: var(--left-submenu-hover-color);
}
.offcanvas-active #left-sidebar {
    left: -280px;
}
.offcanvas-active .page {
    left: 0;
    width: 100%;
}




/*footer*/
.page .footer-wrap {
    background: #f4f6f9;
    padding: 0 20px;
}
.page .footer-wrap .footer {
    font-size: .875rem;
    padding: 10px 0;
    color: #9aa0ac;
}
.page .footer-wrap .footer a{
    color: #6e7687;
}



/*main section*/
.section-body {
    /* height: calc(100vh - 96px);
    overflow: hidden;
    overflow-y: scroll; */
    min-height: 300px;
}
.section-body{
    padding: 0 12px;
}
.custom-tab .nav-tabs .nav-link {
    border-radius: 0;
    border-top: 3px solid transparent;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    border-bottom: 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
}
.custom-tab .nav-tabs .nav-link.active {
    color: #15602A;
    border-radius: 0;
    border-bottom: 0;
    border-top: 3px solid #F26522;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.custom-tab .nav-tabs .nav-link.active:first-child {
    border-left: 0;
}
.left-sidebar-menu .btn-toggle.active {
    color: #32990f;
}
.left-sidebar-menu li ul.btn-toggle-nav a.active {
    color:#88CF9C;
}



/*card design*/
.custom-card{
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    box-shadow: 0 3px 9px #a9b8c826;
    border: none;
}
.custom-card .number-font {
    font-size: 18px;
    font-weight: 800;
}
.custom-card p {
    font-size: 12px;
    font-weight: 400;
}
.fs-24{
    font-size: 24px;
}
.img-card:before {
    content: "";
    position: absolute;
    background: url(../image/circle-shap.svg);
    background-position: right;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: .5;
}
.alarm-list .list-group-item{
    border-bottom: 1px solid var(--rms-main-color);
}

.alarm-list .list-group-item:last-child{
    border-bottom: 1px solid #dee2e6;
}

.alarm-list .list-group-item.title{
    background: var(--rms-main-color);
    color: #ffffff;
    font-size: 16px;
    font-width: 600;
    border: 1px solid var(--rms-main-color);
}

.right-list-group .fs-12 {
    font-size: 12px;
    margin: 0;
    padding: 0;
    line-height: 12px;
}

/*timeline css*/
.timeline {
    position: relative;
    padding: 21px 0 10px;
    margin-top: 4px;
    margin-bottom: 30px;
}

.timeline .line {
    position: absolute;
    width: 2px;
    display: block;
    background: #f4f6f9;
    top: 0;
    bottom: 0;
    margin-left: 20px;
}


.timeline .line::before { top: -4px; }
.timeline .line::after { bottom: -4px; }
.timeline .line::before, .timeline .line::after {
    content: '';
    position: absolute;
    left: -4px;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: #f4f4f4;
}

.timeline .card {
    position: relative;
    margin: 10px 0 20px 45px;
    clear: both;
}

.timeline .card::before {
    position: absolute;
    display: block;
    top: 8px;
    left: -24px;
    content: '';
    width: 0px;
    height: 0px;
    border: inherit;
    border-width: 12px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}


.timeline .card .card-heading.icon {
    position: absolute;
    left: -35px;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
}
.timeline .card .card-heading.icon i{
    vertical-align: 0;
}

.timeline .card .card-body {
    padding: 10px 0px;
}


/*alarmHistory*/

.custom-table thead tr, .custom-table thead th {
    border-top: none;
    border-bottom: none !important;
}

.custom-table tbody th, .custom-table tbody td {
    color: #777;
    padding-bottom: 8px;
    padding-top: 8px;
    font-weight: 300;
}

.custom-table tbody th small, .custom-table tbody td small {
    color: #b3b3b3;
    font-weight: 300;
}

.custom-table tbody tr:not(.spacer) {
    border-radius: 7px;
    overflow: hidden;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.custom-table tbody tr:not(.spacer):hover {
    -webkit-box-shadow: 0 2px 10px -5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px -5px rgba(0, 0, 0, 0.1);
}

.custom-table tbody tr th, .custom-table tbody tr td {
    border: none;
}

.custom-table tbody tr th:first-child, .custom-table tbody tr td:first-child {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.custom-table tbody tr th:last-child, .custom-table tbody tr td:last-child {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.custom-table tbody tr.spacer td {
    padding: 0 !important;
    height: 10px;
    border-radius: 0 !important;
    background: transparent !important;
}
.tr-header {
    color: #bfc6c2;
    padding: 0;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tr-header-sub {
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: black;
    font-weight: 600;
}

.tr-header-date {
    padding: 0;
    margin: 0;
    font-size: 11px;
    color: black;
    font-weight: 500;
    line-height: 12px;
}


/*search box*/
.search-box{
    width: 250px;
}
.search-box .form-control {
    padding: 0.5rem 0.9rem;
    padding-left: 40px;
    border-radius: 0.25rem;
}
.search-box .form-control:focus {
    box-shadow: none;
    border: 1px solid var(--rms-main-color);
}
.search-box .search-icon {
    font-size: 14px;
    position: absolute;
    left: 24px;
    top: 0;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #878a99;
}

.filter {
    height: 42px;
    width: 42px;
    line-height: 42px;
    background: rgb(248,249,250);
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
}
.filter .dropdown-toggle::after {
    display: none;
}
.filter .w-220px {
    width: 220px;
}
.filter .dropdown-item {
    line-height: 20px;
}
.filter  .form-check-input:focus {
    box-shadow: none;
}
.filter .form-check-input:checked {
    background-color: var(--rms-main-color);
    border-color: var(--rms-main-color);
}

