
body {
    margin: 0px;
    padding: 0px;
    background-color: #eee;
    font-family: 'Lato', sans-serif;
}

#wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#headbar {
    position: fixed;
    width: 100%;
    height: 50px;
    background-color: #333;
    color: #fff;
    z-index: 666;
    transition: transform 0.5s ease-in-out, width 0.5s ease-in-out;
    display: flex;
    justify-content: space-between;
}

#container {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: #eee;
    overflow: hidden;
    overflow-y: auto;
    transition: transform 0.5s ease-in-out, width 0.5s ease-in-out;
    z-index: 555;
    margin-top: 50px;
    box-sizing: border-box;
}

#sidebar {
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #fff;
    transition: width 0.5s ease-in-out, background-color 2.5s ease-in-out;
    z-index: 555;
}


#content {
    width: 100%;
    //padding: 0px 5px;
    flex-grow: 1;
    overflow-y: visible;
    margin: 0 auto;
}

#widget {
    display: none;
    width: 256px;
    position: fixed;
    top: 50px;
    right: 20px;
    bottom: 50px;
    border: 1px solid blue;
    background-color: #fff;
    z-index:556
}
#footer {
    width: 100%;
    text-align: center;
}



#sidebar-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: none;
    transition: visibility 0.5s ease-out,
                background 0.5s ease-in-out,
                left 0.5s ease-in-out;
    visibility: hidden;
    z-index: 776;
}

@media screen and (max-width: 1314px){
    #wrapper[sidebar] #sidebar-bg {
        visibility: visible;
        background: rgba(0,0,0,0.6);
        left: 300px;
    }
}
@media screen and (min-width: 1314px){
    #wrapper[sidebar] .sidebar-toggle-icon > div {
        background-color: transparent!important;
    }

}


#container::-webkit-scrollbar { width: 10px; }
#container::-webkit-scrollbar-track { background-color: transparent; }
#container::-webkit-scrollbar-thumb { background-color: #888; border-radius: 8px;}
#container::-ms-scrollbar { width: 10px; }
#container::-ms-scrollbar-track { background-color: transparent; }
#container::-ms-scrollbar-thumb { background-color: #888; border-radius: 8px}

#wrapper[sidebar] #container {
    transform: translateX(300px);
}
#wrapper[sidebar] #headbar {
    transform: translateX(300px);
}
#wrapper[sidebar] .sidebar-toggle-icon {
    transform: translateX(-50px);
}
#wrapper[sidebar] #sidebar {
    width: 300px;
}

@media screen and (min-width: 570px){
    #container {
        margin-right: 300px;
        width: calc(100% - 60px);
        transform: translateX(60px);
    }
    #sidebar-bg { left: 60px; }
    #sidebar { width: 60px; }
}

@media screen and (min-width: 875px){
    #content { max-width: 800px; }
}
@media screen and (min-width: 1075px){
    #content { max-width: 1000px; }
}

@media screen and (min-width: 1315px){
    #sidebar-bg { display: none; }
    #wrapper[sidebar] #headbar {
        //transition: none;
        width: calc(100% - 250px);
    }
    #wrapper[sidebar] #sidebar { background-color: #eee; }
    #wrapper[sidebar] #container {
        width: calc(100% - 300px);
        transform: translateX(300px);
    }
}
@media screen and (min-width: 1615px){
    #content { max-width: 1300px; }
}






.dropDownBtn {
    position: relative;
    width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.dropDownBtn svg { pointer-events: none; }
.dropDownBtn[bubble]:not([bubble=""]):not([bubble="0"]):after {
    content: attr(bubble);
    width: 20px!important;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px!important;
    font-weight: bold;
    background: red;
    color: #fff!important;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: 4px;
}

.dropDownList {
    display: none;
    min-width: 200px;
    position: absolute;
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 0px 0px 3px 3px;
    box-shadow: 0 3px 4px 0 rgb(0 0 0 / 20%), 0 3px 3px -2px rgb(0 0 0 / 14%), 0 1px 8px 0 rgb(0 0 0 / 12%);
    color: #000;
    text-align: left;
    cursor: pointer;
    z-index: 100;
}
.dropDownList.active {
    display: block;
}


.dropDownList li {
    list-style: none;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 0px;
}
.dropDownList li:hover {
    background-color: #BEDAFF;
    color: #000;
}
.dropDownList li a ,
.dropDownList li span ,
.dropDownList li label {
    position: relative;
    flex: 1;
    padding: 8px 8px;
    text-decoration: none;
    color: darkblue;
    font-size: 15px;
    cursor: pointer;
}

.dropDownList li .icon {
    flex: 0 0 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 4px;
}
.dropDownList li img {
    max-width: 35px;
    max-height: 35px;
    border-radius: 50%;
}

.dropDownList .info {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    line-height: 40px;
}
.dropDownList .row {
    display: flex;
    gap: 6px;
    
}
.dropDownList .row .picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #aaa;
    position: relative;
    margin: 10px 4px;
    flex: none;
}
.dropDownList .row img {
    max-width: 50px;
    max-height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dropDownList .row .data {
    line-height: 20px;
}
.dropDownList .row .title {
    display: block;
    font-weight: bold !important;
    padding-top: 8px;
    padding-bottom: 4px;
}
.dropDownList .row desc {
    display: block;
    font-size: 13px;
    padding-bottom: 8px;
}













/** headbar style **/
#headbar * {
    -webkit-tap-highlight-color: transparent; /* For iOS */
    -webkit-touch-callout: none; /* Disable callout on iOS */
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
    outline: none;
}
#headbar .header-logo img {
    max-height: 40px;
}
#headbar .title-container {
    display: flex;
    align-items: center;
}
#headbar .icons-container {
    display: flex;
    align-items: center;
    font-weight: bold;
    
}
#headbar .icons-container a:not(:last-child):after {
    content: "";
    border-right: 2px solid #ccc;
    padding-right: 6px;
}
#headbar .icons-container > a {
    float: right;
    text-decoration: none;
    color: #fff;
    padding: 0px 3px;
}
#headbar .icons-container a {
    margin-right: 8px;
}

#headbar .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
}
#headbar .icon.selected {
    background-color: #000;
}
#headbar .icon svg {
    max-width: 20px;
    max-height: 20px;
    fill: #fff;
    pointer-events: none;
}

#headbar .dropDownBtn.active {
    background-color: #fff;
    //transform: translateY(10px);
}
#headbar .dropDownBtn.active svg {
    fill: #000!important;
}


#headbar .dropDownList {
    top: 50px;
    right: 0px;
    max-width: 400px;
    border-top: none;
}

#headbar .dropDownList.msg {
    width: calc(100vw - 60px);
    right: 50px;
}
#headbar .dropDownList.notify {
    width: calc(100vw - 60px);
    right: 100px;
}




#wrapper[sidebar] .sidebar-toggle-icon > div {
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    padding: 8px;
}
.icon-menu-p1,
.icon-menu-p2,
.icon-menu-p3 {
        width: 20px;
        height: 3.5px;
        border-radius: 2px;
        background-color: #fff;
        margin: 2.5px 0;
        transition: 0.8s;
}
#wrapper[sidebar] .icon-menu-p1 {
    transform: translate(0, 6.2px) rotate(-45deg);
}
#wrapper[sidebar] .icon-menu-p2 {opacity: 0;}
#wrapper[sidebar] .icon-menu-p3 {
    transform: translate(0, -6.2px) rotate(45deg);
}
#wrapper[sidebar] .icon-menu-p1,
#wrapper[sidebar] .icon-menu-p2,
#wrapper[sidebar] .icon-menu-p3 {
    background-color: #fff;
}













/****** navSide style *******/
#sidebar {
    -webkit-tap-highlight-color: transparent; /* For iOS */
    -webkit-touch-callout: none; /* Disable callout on iOS */
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
    outline: none;
    display: flex;
    flex-direction: column;
}
#sidebar .sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #4D847F;
    padding: 8px 0px;
}
    #sidebar .sidebar-header .sidebar-head-logo {
        width: 100%;
        height: 50px;
        margin: 0px;
        text-align: center;
        max-height: 200px;
    }
        #sidebar .sidebar-header .sidebar-head-logo img {
            max-height: 50px;
        }
    #sidebar .sidebar-header .sidebar-head-user {
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }
        #sidebar .sidebar-header .sidebar-head-user .photo {
            width: 40px;
            height: 40px;
            margin: 10px;
        }
            #sidebar .sidebar-header .sidebar-head-user img {
                max-width: 40px;
                max-height: 40px;
                border-radius: 50%;
            }
        #sidebar .sidebar-header .sidebar-head-user .data {
            flex: 1;
            padding: 6px;
        }
        #sidebar .sidebar-header .sidebar-head-user .data span {
            width: 100%;
            display: block;
            font-size: 17px;
            font-weight: bold;
            color: #fff;
        }
        #sidebar .sidebar-header .sidebar-head-user .data a {
            text-decoration: none;
            font-size: 14px;
            color: #ccc;
            margin-right: 4px;
        }
        
#sidebar .sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: row;
    
    transition: margin-left 0.3s;
    overflow-x: hidden;
    
}
#sidebar .sidebar-content::-webkit-scrollbar { width: 4px; }
#sidebar .sidebar-content::-webkit-scrollbar-track { background-color: transparent; }
#sidebar .sidebar-content::-webkit-scrollbar-thumb { background-color: #888; border-radius: 4px;}
#sidebar .sidebar-content::-ms-scrollbar { width: 4px; }
#sidebar .sidebar-content::-ms-scrollbar-track { background-color: transparent; }
#sidebar .sidebar-content::-ms-scrollbar-thumb { background-color: #888; border-radius: 4px}

#sidebar .sidebar-list {
    flex-grow: 1;
    overflow-y: auto;
}


#sidebar .sidebar-content section {
  width: 100%;
  flex-shrink: 0;
}

#sidebar .sidebar-list section.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-top: 8px;
    color: #000;
}

#sidebar .sidebar-list .item-row {
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    cursor: pointer;
}
#sidebar .sidebar-list .item-row .item-cell {
    display: flex;
    flex-wrap: nowrap;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 0px 10px;
}
#sidebar .sidebar-list .item-row .item-childs {
    display: flex;
    flex-direction: column;
    border-left: 6px solid darkblue;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}
#sidebar .sidebar-list .item-row .item-childs .item-title a {
    font-size: 15px;
    color: darkblue !important;
    padding-left: 16px;
}


#sidebar .sidebar-list .item-row.selected .item-childs {
    max-height: 500px;
    border-bottom: 1px solid #eee;
}

#sidebar .sidebar-list .item-row .item-icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
    #sidebar .sidebar-list .item-row .item-icon svg {
        width: 20px;
        height: 20px;
        fill: #000;
        pointer-events: none;
    }
#sidebar .sidebar-list .item-row .item-title {
    flex-grow: 1;
    font-weight: bold;
    white-space: nowrap;
}
    #sidebar .sidebar-list .item-row .item-title span ,
    #sidebar .sidebar-list .item-row a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        padding: 10px;
        color: #000;
        box-sizing: border-box;
    }
#sidebar .sidebar-list .item-row .item-expand {
    width: 15px;
    height: 15px;
    position: relative;
}
    #sidebar .sidebar-list .item-row[expandable] .item-expand:after {
        content: "\203A";
        position: absolute;
        right: 0px;
        top: 5px;
        text-align: center;
        font-weight: bold;
        font-size: 23px;
        transition: transform 0.4s;
    }
    #sidebar .sidebar-list .item-row[expandable].selected .item-expand:after {
        transform: rotate(90deg);
        color: blue;
    }


#sidebar .sidebar-list .item-row.selected .item-title span ,
#sidebar .sidebar-list .item-row .item-cell.active .item-title a {
    color: blue !important;
}
#sidebar .sidebar-list .item-row.selected > .item-cell svg ,
#sidebar .sidebar-list .item-row .item-cell.active svg {
    fill: blue
}
#wrapper:not([sidebar]) #sidebar .sidebar-list .item-row.selectd .item-cell.selected .item-icon ,
#wrapper:not([sidebar]) #sidebar .sidebar-list .item-row.selected .item-icon:active {
    background-color: #e9e9e9;
    border: 0.2px solid #ccc;
}
#wrapper[sidebar] #sidebar .sidebar-list .item-row.selected > .item-cell{
    background-color: #e9e9e9;
}

@media screen and (min-width: 570px){
    #wrapper:not([sidebar]) #sidebar .sidebar-head-user .data { display: none; }
    #sidebar .sidebar-header .sidebar-head-logo { visibility: hidden;}
    #wrapper:not([sidebar]) #sidebar .sidebar-list .item-title { display: none; }
    #wrapper:not([sidebar]) #sidebar .sidebar-list .item-expand { display: none; }

}
@media screen and (min-width: px){
    #wrapper #sidebar .sidebar-list .item-row.selected  ,
    #wrapper #sidebar .sidebar-list .item-row:active {
        background-color: #e9e9e9;
    }

}

#sidebar .sidebar-footer {
    margin-bottom: 28px;
}






 







.page-title {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;

}
.page-title span {
    font-size: 17px;
    font-weight: bold;
    padding: 3px;
    box-sizing: border-box;
}
.page-title span a { text-decoration: none; color #000; }
.page-title span svg {
    width: 20px;
    height: 20px;
    fill: #444;
}




@keyframes loader-bar-animation {
   0% {
      transform: translateX(-100%);
   }
   100% {
      transform: translateX(100%);
   }
}

.loader-bar {
   height: 4px;
   width: 100%;
   overflow: hidden;
   position: absolute;
   top: 0px;
   left: 0px;
   right: 0px;
   bottom: initial;
   z-index: 999;

}
.loader-bar.bottom {
    top: initial;
    bottom: -4px;
}

.loader-bar .bar {
   width: 100%;
   height: 4px;
   background-color: blue;
   animation: loader-bar-animation 2s linear infinite;
}




.info-row {
    display: block;
    text-align: center;
    font-weight: bold;
    line-height: 25px;
    padding: 30px 0px;
}


.cb {
    position: relative;
    display: block;
    margin: 8px 6px;
    margin-bottom: 12px;
    border: 1px solid #aaa;
    border-radius: 8px 8px 0 0;
    background-color: #fff;
    clear: both;
    //backdrop-filter: blur(2px);
}
.cb .cb-head {
    display: flex;
    border-bottom: 1px solid #eee;
    line-height: 60px;
}
.cb .cb-head.bar {
    background-color: #483D8B;
    color: #fff;
}
.cb .cb-head h3 {
    flex: 1;
    margin: 0px;
    padding: 0px 12px;
    box-sizing: border-box;
}
.cb .cb-head .icon {
    width: 50px;
    text-align: center;
}


.cb .cb-content {
    display: block;
    position: relative;
}
.cb .cb-content.p {
    padding: 12px;
}
.cb .cb-content:after {
    content: '';
    display: block;
    clear: both;
}
.cb.login {
    width: 95%;
    max-width: 400px;
    margin: 50px auto;
    box-sizing: border-box;
}

.cb.register {
    width: 95%;
    max-width: 500px;
    margin: 10px auto;
}








.tab-box {
    display: flex;
    flex-direction: column;
    //overflow-x: hidden;
    //overflow-y: auto;
    margin: 6px;
    max-width: 100%;
}
.tab-box .tab-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 44px;
}
    .tab-box .tab-options .row {
        font-size: 16px;
        padding: 12px 8px;
        background-color: lightblue;
        border: 1px solid #999;
        cursor: pointer;
        box-sizing: border-box;
    }
    .tab-box .tab-options .row.active {
        background-color: #404160;
        color: #fff;
    }
.tab-box .tab-content {
    flex: 1;
}


@media screen and (max-width: 799px){
    .tab-box .tab-options {
        overflow-y: hidden;
    }
    .tab-box .tab-options.active {
        height: 100%;
        overflow-y: visible;
    }
    .tab-box .tab-content {
        margin-top: 8px;
        border-top: 1px solid #bbb;
        padding-top: 6px;
    }
}
@media screen and (min-width: 800px){
    .tab-box {
        flex-direction: row;
        gap: 8px;
    }
    .tab-box .tab-options {
        width: var(--tab-options-width, 250px);
        height: 100%;
    }
    .tab-box .tab-content {
        flex: 1;
        //flex-grow: 0;
        border-left: 1px solid #bbb;
        padding-left: 6px;
        box-sizing: border-box;
        
    }
}






.inlineBtn1 {
    display: inline-block;
    padding: 6px 8px;
    margin: 0 4px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 8px;
    outline: none;
    font-weight: bold;
    cursor: pointer;
}
.inlineBtn1:not(:disabled):active {
    box-shadow: 1px 1px 1px #aaa;
}

.btn1 {
    position: relative;
    white-space: nowrap;
    height: 40px;
    line-height: 40px;
    padding: 0px 20px;
    font-weight: bold;
    outline: none;
    border: none;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    user-select: none;
    box-sizing: border-box;
}
.btn1 .btn-icon {
    display: inline;
    position: relative;
    width: 40px;
    height: 40px;
    padding-left: 50px;
    box-sizing: border-box;
    transition: all 0.1s;
}
html[lang=ar] .btn1 .btn-icon {
    padding-right: 50px;
    padding-left: 0px;
}
.btn1 .btn-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 30px;
    max-height: 30px;
}

.btn1:hover {
    outline: none;
}
.btn1:active {
    box-shadow: rgba(27, 31, 35, .3) 1px 1px 1px;
    opacity: 0.8;
}
.btn1.white {
    background-color: white;
    color: #000;
    border: 1px solid #ccc;
}
.btn1.green {
    background-color: #2ea44f;
    color: #fff;
}
.btn1.red {
    background-color: #f44336;
    color: #fff;
}
.btn1.blue {
    background-color: #0064bd;
    color: #fff;
}
.btn1.wide {
    width: 90%;
    max-width: 300px;
    margin: 10px auto;
}
.btn1.center {
    display: block;
    margin: 8px auto;
}
.btn1:disabled {
    opacity: 0.5;
    color: #bbb;
    cursor: default;
}




.row-alert {
    flex-basis: 100%;
    margin: 0px;
    padding: 0px;
    list-style:none;
    padding-top: 5px;
}
.row-alert ul {
    margin: 0px;
    padding: 0px 4px;
}
.row-alert li {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 6px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
}

.row-alert .success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #000;
}
.row-alert .success:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    left: 11px;
    height: 12px;
    width: 5px;
    border-bottom: 5px solid #78b13f;
    border-right: 5px solid #78b13f;
}
.row-alert .error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
.row-alert .error:after {
    content: '\00d7';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: red;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
    color: #fff;
}

.row-alert .warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #000;
}
.row-alert .warning:after {
    content: '\26A0';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: transparent;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    color: red;

}
.row-alert .info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}
.row-alert .info:after {
    content: 'i';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    left: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid darkblue;
    text-align: center;
    line-height: 18px;
    font-weight: 900;
    font-size: 14px;
    color: darkblue;
}






.toolbar {
    height: 52px;
    min-height: 52px;
    background-color: #eee;
    border: 1px solid #bbb;
    display: flex;
    justify-content: space-between;
    align-items: center;
            -webkit-tap-highlight-color: transparent; /* For iOS */
        -webkit-touch-callout: none; /* Disable callout on iOS */
          -webkit-user-select: none;
             -moz-user-select: none;
              -ms-user-select: none;
                  user-select: none;
        outline: none;
    font-weight: bold;
    background-color: #f4f4f4;
}
    .toolbar .section {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        padding: 0px 4px;
    }
    .toolbar .caption {
        font-weight: bold;
        line-height: 50px;
    }
    .toolbar button:not(.default) {
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #aaa;
        outline: none;
        cursor: pointer;
        border: none;
        border-radius: 50%;
        border: 1px solid #bbb;
        background-color: transparent;
    }
    .toolbar button:not(.default):hover, 
    .toolbar button:not(.default):active {
        transform: scale(1.1);
    }
    .toolbar button:not(.default) svg {
        width: 20px;
        height: 20px;
        margin: 10px auto;
    }
    .toolbar button:not(.default):hover svg { fill: blue; }
    .toolbar button:not(.default):disabled svg {
        fill: #aaa;
    }
    
    .toolbar .tab {
        padding: 0 12px;
    }
    .toolbar .tab a {
        text-decoration: none;
    }
    .toolbar .tab.active {
        background-color: lightblue;
    }
    .toolbar .dropDownBtn {
        
    }
    .toolbar .dropDownList {
        top: 52px;
        right: 0px;
    }
    .toolbar .dropDownBtn svg {
        width: 20px;
        height: 20px;
        margin: 10px auto;
        fill: #000
    }

.toolbar label.radioBtn {
    height: 40px;
    display: inline;
    margin: 5px 2px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #aaa;
    outline: none;
    cursor: pointer;
    padding: 8px;
}
.toolbar label.radioBtn input {
    display: none;
}
.toolbar label.radioBtn:has(input[type=radio]:checked) {
    background: blue;
    color: #fff;
    //font-weight: bold;
}




.form {
    //position: relative;
    display: flex;
    flex-direction: column;
    //flex-wrap: wrap;
    gap: 0px;
    padding: 8px 0px;
}

.form .form-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-bottom: 16px;
    padding: 0px 16px;
}
    .form .form-row .row-label {
        width: 200px;
        //display: block;
        font-weight: bold;
        line-height: 40px;
        margin: 0px;
        padding: 0px;
    }
    .form .form-row .row-input {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex-wrap: wrap;
    }
    .form .form-row .row-input .input {
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: 6px;
        flex-wrap: wrap;
    }
    .form .form-row .cell.block {
        min-width: 100%;
        flex-grow: 1;
    }
    
.form.nowrap .form-row { flex-direction: column; }
.form.nowrap .form-row label.row-label   { width: 100%; }
.form .form-row.nowrap                   { flex-direction: column; }
.form .form-row.nowrap label.row-label   { width: 100%; }
.form .form-row .row-input.nowrap .input { flex-direction: column; }

.form .form-row .cell {
    flex: 1;
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
}
.form .form-row .cell.center * { text-align: center; }
.form .form-row .cell.bold *   { font-weight: bold; }

.form .form-row .cell .autocomplete {
    position: absolute;
}

.form .form-row .input input[type=text] ,
.form .form-row .input input[type=date] ,
.form .form-row .input input[type=time] ,
.form .form-row .input input[type=datetime-local] ,
.form .form-row .input input[type=password] ,
.form .form-row .input input[type=tel] ,
.form .form-row .input input[type=number] ,
.form .form-row .input input[type=color] ,
.form .form-row .input select ,
.form .form-row .input textarea {
    width: 100%;
    height: 40px;
    margin: 0px;
    outline: none;
    outline: none;
    border: 0.5px solid #b4b4b4;
    border-radius: 6px;
    background-color: #fff;
    padding: 0px 16px;
    box-sizing: border-box;
}



.form .form-row .input select[multiple] {
    width: auto;
    min-width: 250px;
    min-height: 40px;
    height: auto;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
}
    .form .form-row .input select option {
        padding: 5px;
    }
    .form .form-row .input select option:checked {
        background-color: #e0f7fa;
    }
    .form .form-row .input select option:checked::before {
        content: '✓';
        padding-right: 5px;
    }
    @supports (-moz-appearance:none) {
        .form .form-row .input select option:checked {
            //background-image: url('checkmark.png');
            //background-position: right center;
            //background-repeat: no-repeat;
        }
    }



.form .form-row .cell textarea {
    height: 90px;
    resize: none;
}

.form .form-row .input .cell input[type=text][readonly] ,
.form .form-row .input .cell input[type=date][readonly] ,
.form .form-row .input .cell input[type=time][readonly] ,
.form .form-row .input .cell input[type=password][readonly] ,
.form .form-row .input .cell input[type=tel][readonly] ,
.form .form-row .input .cell input[type=number][readonly] ,
.form .form-row .input .cell input[treadcolor][readonly] ,
.form .form-row .input .cell select[readonly] ,
.form .form-row .input .cell textarea[readonly] {
    border: none;
    background: transparent;
    border-bottom: 1px solid #aaa;
    border-radius: 0px;
    appearance: none;
}

.form .form-row .input .cell input[type=text][disabled] ,
.form .form-row .input .cell input[type=date][disabled] ,
.form .form-row .input .cell input[type=time][disabled] ,
.form .form-row .input .cell input[type=password][disabled] ,
.form .form-row .input .cell input[type=tel][disabled] ,
.form .form-row .input .cell input[type=number][disabled] ,
.form .form-row .input .cell select[disabled] {
    background: #f1f1f1;
}
.form input:-webkit-autofill { 
    -webkit-background-clip: text;
}




.form .form-row .input-btn {
    flex: 1;
    //height: 40px;
    border: 1px solid #999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
    border: 0.5px solid #b4b4b4;
    border-radius: 6px;
}
    .form .form-row .input-btn input {
        flex: 1;
        border: none!important;
        background-color: transparent!important;
    }
    .form .form-row .input-btn span ,
    .form .form-row .input-btn button {
        height: 34px;
        width: 34px;
        line-height: 34px;
        background: transparent!important;
        border: none;
        outline: none;
        text-align: center;        
        margin: 3px;
        border-radius: 50%;
        transition: background-color 0.5s linear;
    }
    .form .form-row .input-btn button {
        cursor: pointer;
    }
    .form .form-row .input-btn svg {
        width: 20px;
        height: 20px;
        fill: #777;
        margin: 6px;
    }
    .form .form-row .input-btn button:active {
        background-color: #ccc;
    }
.form .form-row .input-btn[readonly] {
    border: 0px;
    border-bottom: 0.5px solid #b4b4b4;
    border-radius: 0px;
}
.form .form-row .input-btn[readonly] button {
    display: none;
}





.form-row .cell.sel-custom-lbl {
    position: relative;
    border: 0.5px solid #b4b4b4;
    border-radius: 6px;
}
.form-row .cell.sel-custom-lbl select { border: 0px!important; }
.form-row .cell.sel-custom-lbl label.lblSelView {
    position: absolute;
    width: initial;
    top: 1px;
    left: 3px;
    bottom: 1px;
    right: 3px;
    background-color: #fff;
    //margin: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    line-height: 38px;
    pointer-events: none;
}






.radio-toolbar {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap
}
.radio-toolbar label {
    flex: 1;
    background-color: #eee;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 4px;
}
.radio-toolbar input[type="radio"]{
    display: none;
}
.radio-toolbar input[type="radio"]:checked + label {
    background-color: lightblue;
    border-color: #777;
    font-weight: bold;
}
.radio-toolbar input[type="radio"]:focus + label {
    border: 2px dashed #444;
}





.form .form-row.input-grid .input {
    background-color: #F5E8FF;
    padding: 4px;
}
.form .form-row.input-grid .input.caption {
    border-bottom: 1px solid #999;
    border-radius: 4px 4px 0 0;
    background-color: lightblue;
    //margin-bottom: 4px;
}
.form .form-row.input-grid .input.caption span {
    display: block;
    line-height: 40px;
    text-align: center;
}
.form .form-row.input-grid .input button {
    width: 40px;
    height: 34px;
    margin: 3px auto;
}
.form .form-row.input-grid .input button svg {
    max-width: 16px;
    max-height: 16px;
    margin: 6px auto;
}


label.chkbox ,
label.radio {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 20px;
    gap: 6px;
}
label.chkbox input ,
label.radio input {
    margin: 6px 12px;
}






.form .form-row.buttons {
    text-align: center;
}

@media screen and (max-width: 600px){
    .form .form-row:not(.wrap) {
        flex-direction: column;
    }
    
    .form .form-row.wrap label.row-label {
        width: auto !important;
        min-width: 90px;
        margin-right: 20px;
    }
    .form .form-row:not(.wrap) label.row-label {
        width: 100%;
    }
}
.form .form-row .row-alert * {
    background: transparent;
    border: none;
}





.select-editable {
    width: 100% !important;
    height: 40px !important;
    position: relative;
    border: 0.5px solid #b4b4b4;
    border-radius: 6px;
    background-color: #fff;
}
.select-editable select ,
.select-editable input {
    background-color: transparent !important;
    border: none !important;
    outline: none;
    width: initial !important;
    height: 40px !important;
    
    position: absolute !important;
    top:0px;
    left:0px;
}

.select-editable select {
    font-size: 14px;
    border: none;
    right: 0px;
}

.select-editable input {
    right: 30px;
    padding:1px;
    background-color: #fff !important;
}

.select-editable select[readonly] ,
.select-editable select[disabled] ,
.select-editable input[readonly] ,
.select-editable input[disabled] {
    background-color: transparent !important;
    border: none !important;
    outline: none;
}
.select-editable[readonly] ,
.select-editable[disabled] {
    border: none;
    border-radius: 0px;
    border-bottom: 0.5px solid #999;
    color: #999;
}
.select-editable[readonly] select,
.select-editable[disabled] select {
    -moz-appearance:none; -webkit-appearance:none; appearance:none; 

}

.toggle-swich {
    line-height: 60px;
    display: flex;
}
.toggle-swich input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}
.toggle-swich label.switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 8px;
    background: #ccc;
    display: block;
    border-radius: 4px;
    position: relative;
    margin: 25px 6px;
}
.toggle-swich label:not(.switch) {
    font-weight: bold;
}
.toggle-swich label.switch:after {
    content: '';
    position: absolute;
    top: -8px;
    left: 0px;
    width: 22px;
    height: 22px;
    background: #ddd;
    border-radius: 50%;
    box-shadow: 4px 4px 6px #aaa;
    transition: 0.3s;
    display: block;
    clear: both;
}
.toggle-swich input:checked + label.switch:after {
    left: 100%;
    transform: translateX(-100%);
    background: #82A064;
}

.toggle-swich label.switch:active:after {
    width: 30px;
}







.loader-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(0px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s;
    z-index: 500;
}
.loader-wrapper.active {
    backdrop-filter: blur(2px);
}
.inline-loader {
    display: inline;
    position: relative;
    width: 40px;
    height: 40px;
    padding-left: 50px;
    box-sizing: border-box;
    transition: all 0.1s;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--loader-size) * 1px);
    height: calc(var(--loader-size) * 1px);
    transform: translate(-50%, -50%);
}
.spinner .loader ,
.spinner .loader:after {
    width: calc(var(--loader-size) * 1px);
    height: calc(var(--loader-size) * 1px);
    border-radius: 50%;
}
.spinner .loader {
    position: relative;
    font-size: 10px;
    text-indent: -9999em;
    border-top:    calc(var(--loader-size) * 1px /9) solid #ddd;
    border-right:  calc(var(--loader-size) * 1px /9) solid #ddd;
    border-bottom: calc(var(--loader-size) * 1px /9) solid #ddd;
    border-left:   calc(var(--loader-size) * 1px /9) solid #1A73E8;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
    margin: 0 auto;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.loader-wrapper .msg {
    width: 100%;
    //height: 100px;
    position: absolute;
    top: 57%;
    left: 0px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    //-webkit-text-stroke: 1px #999;
    font-family: sans-serif, "Poppins";
    text-shadow: 1.41px 1.41px #777, 2px 0 #777, 1.41px -1.41px #777, 0 -2px #777, -1.41px -1.41px #777, -2px 0 #777, -1.41px 1.41px #777, 0 2px #777;
}








.popup {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 777;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.popup.active {
    opacity: 1;
}


.popup .popup-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    border: 1px solid #aaa;
    border-radius: 6px;
    background: #fff;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
            transform: translate(-50%, -50%) scale(0.1);
         -o-transform: translate(-50%, -50%) scale(0.1);
       -moz-transform: translate(-50%, -50%) scale(0.1);
    -webkit-transform: translate(-50%, -50%) scale(0.1);
    
            transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}



.popup.active .popup-container {
    opacity: 1;
            transform: translate(-50%, -50%) scale(1);
         -o-transform: translate(-50%, -50%) scale(1);
       -moz-transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
}


.popup .popup-container .popup-header {
    position: relative;
    display: flex;
    min-height: 50px;
    flex-wrap: nowrap;
    //line-height: 50px;
    align-items: center;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-weight: bold;
}
    .popup .popup-container .popup-header h3 {
        flex: 1;
        margin: 0px;
        padding: 0px 12px;
    }
    .popup .popup-container .popup-header .icon {
        width: 50px;
        height: 50px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent; /* For iOS */
        -webkit-touch-callout: none; /* Disable callout on iOS */
          -webkit-user-select: none;
             -moz-user-select: none;
              -ms-user-select: none;
                  user-select: none;
        outline: none;
    }
    .popup .popup-container .popup-header .icon .iconClose {
        width: 35px;
        height: 35px;
        font-size: 15px;
        font-weight: bold;
        color: #000;
        box-sizing: border-box;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: green
    }
    .popup .popup-container .popup-header .icon .iconClose:hover {
        border: 1px solid #000;
        background: red;
        color: #fff;
        border-radius: 50%;
        box-sizing: border-box;
    }
    
.popup .popup-container .popup-content {
    position: relative;
    min-height: 100px;
    box-sizing: border-box;
    overflow-y: auto;
            transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.popup .popup-container .popup-content.p {
    padding: 12px;
    box-sizing: border-box;
}
    .popup .popup-container .popup-content .row-info {
        padding: 30px 0px;
        text-align: center;
        font-weight: bold;
    }

.popup .popup-container .popup-footer {
    width: 100%;
    display: block;
    border-top: 1px solid #ddd;
    padding: 10px 12px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
}
    .popup .popup-container .popup-footer button {
        width: 120px;
        height: 40px;
        line-height: 40px;
        margin: 0px 4px;
        box-sizing: border-box;
        border: 1px solid #999;
        cursor: pointer;
    }
    .popup .popup-container .popup-footer button.red {
        background: red;
        color: #fff;
        font-weight: bold;
    }
    .popup .popup-container .popup-footer button.green {
        background-color: #2ea44f;
        color: #fff;
    }
    .popup .popup-container .popup-footer button:disabled {
        opacity: 0.5;
    }




.circle-nav {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: all 3s ease, opacity 0.4s ease;
    z-index: 999;
}
.circle-nav.active {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    backdrop-filter: blur(3px);
}
.circle-nav-inner {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* For iOS */
    -webkit-touch-callout: none; /* Disable callout on iOS */
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
    outline: none;
}

.circle-nav .circle-nav-toggle {
    position: absolute;
    top: 0px;
    left: 0px;
    
    width: 100%;
    height: 100%;
    background-color: #3498db;
    border-radius: 50%;
    z-index: 1;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    transform: rotate(45DEG);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}
.circle-nav.active .circle-nav-toggle {
    background-color: #e74c3c;
    transform: rotate(0DEG);
}
.circle-nav .icons {
    z-index: -1;
}
.circle-nav .icon {
    width: 60px;
    height: 60px;
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #ecf0f1;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle-nav .icon svg {
    width: 30px;
    height: 30px;
    fill: #000;
    pointer-events: none;
}
.circle-nav .icon:hover svg {
    fill: blue;
}



#firebaseui-auth-container .firebaseui-card-content ul {
    display: flex;
    justify-content: center;
    gap: 8px;
}
#firebaseui-auth-container .firebaseui-idp-button {
    padding: 4px; /* Adjust padding to make the buttons smaller */
    width: auto !important; /* Adjust width as needed */
    text-align: center;
}
#firebaseui-auth-container .firebaseui-idp-icon-wrapper {
    display: block;
}
#firebaseui-auth-container .firebaseui-idp-text {
    display: none !important; /* Hide the button text */
}









