@import url(https://fonts.googleapis.com/css?family=Lato:200,300);
html {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}
body{
    font-family: sans-serif;
    background: url("/images/applicationbg.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
}
body.dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: move;
}
.panel {
    z-index: 1;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-width: 500px;
    min-height: 500px;
    margin: auto;
    background-color: rgb(114 135 146 / 50%);
    border: 1px solid #7f7f7f;
    position: absolute;
    margin: 0;
    display: inline-block;
    transition: box-shadow 0.2s;
    backdrop-filter: blur(3px);
    filter: saturate(1.5);
    border-radius: 5px;
}
.panel.minimized {
  box-shadow: initial !important;
  border-radius: 0;
  font-size: 11px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
     -webkit-animation: move 1s linear;
    -moz-animation: move 1s linear;
    -o-animation: move 1s linear;
    animation: move 1s linear;
    
}
.panel.minimized:hover {
    margin: -5px 0px;
}
.panel.minimized .window-ctrl {
  opacity: 0;
  pointer-events: none;
  width: 1px;
}
.panel.minimized .panel-heading {
  border-radius: 0;
}
.panel.minimized .panel-heading .window-title {
    position: absolute;
    top: 8px;
    left: 7px;
    right: 0px;
    margin-top: 0.4em;
    text-align: start;
    color: #7e7e7e;
    font-size: 12px;
}
span.min.fa.fa-minus:hover {
    color: #4a4a4a;
    cursor:pointer;
}
span.max.fa.fa-window-maximize:hover {
    color: #4a4a4a;
    cursor:pointer;
}
span.dismiss.fa.fa-times:hover {
    color: #4a4a4a;
    cursor:pointer;
}
.panel.focus {
    box-shadow: 0px 0px 20px 1px rgb(3 34 43 / 62%);
}
.panel .panel-body {
  padding: 25px 3px;
}
.panel .inner {
    z-index: 0;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    border-radius: 5px;
}
.panel .panel-heading {
    background-attachment: fixed;
    background-color: #ffffff;
    color: #000000;
    position: absolute;
    width: -webkit-fill-available;
    width: -moz-available;
    z-index: 1;
    border-radius: 5px 5px 0px 0px;
    backdrop-filter: saturate(1.5);
    margin: 0px 0px 0px 0px;
    border: 1px solid #b7b7b7;
}

.panel .panel-heading .window-ctrl .glyphicon {
  font-weight: 100;
  color: #909090;
  padding-left: 10px;
  padding-right: 5px;
  transform: scale(0.8);
}
.panel .panel-heading .window-ctrl .glyphicon:first-child {
  padding-left: 0;
}
.panel .panel-heading .window-ctrl .glyphicon:last-child {
  padding-right: 0;
}
.panel .list-group-item {
  background-color: #fafafa;
  border: #9c9c9c 1px solid;
  color: #333;
  border-radius: 0;
  border-top: 0;
}
.panel .list-group-item:nth-child(even) {
  background-color: #f1f1f1;
}
.panel .list-group-item:first-child {
  border-top: #9c9c9c 1px solid;
}
.panel .frame {
  background-color: rgba(255,255,255,0);
  position: absolute;
}
.panel .frame.t {
  top: -5px;
  cursor: s-resize;
}
.panel .frame.b {
  bottom: -5px;
  cursor: n-resize;
}
.panel .frame.t,
.panel .frame.b {
  width: 100%;
  height: 10px;
  left: -5px;
}
.panel .frame.l {
  left: -5px;
}
.panel .frame.r {
  right: -5px;
}
.panel .frame.l,
.panel .frame.r {
  cursor: w-resize;
  height: 100%;
  width: 10px;
  top: -5px;
}
.panel .frame.tl,
.panel .frame.tr,
.panel .frame.bl,
.panel .frame.br {
  width: 10px;
  height: 10px;
  background-color: rgba(255,255,255,0);
  z-index: 2;
}
.panel .frame.tl {
  top: -5px;
  left: -5px;
  cursor: se-resize;
}
.panel .frame.tr {
  top: -5px;
  right: -5px;
  cursor: sw-resize;
}
.panel .frame.bl {
  bottom: -5px;
  left: -5px;
  cursor: ne-resize;
}
.panel .frame.br {
  bottom: -5px;
  right: -5px;
  cursor: nw-resize;
}
.snap {
  background-color: transparntify(#00f, 2%);
  position: absolute;
}

.tray {
    height: 40px;
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    bottom: 0;
    z-index: 1;
    border-top: 1px solid #9c9c9c;
}

/* 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;
  max-width: 50em;
  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;
}
header {
    width: 100%;
    padding: 10px 0px 10px 0px;
    height: 20px;
    color: #ffffff;
    margin: -15px 0px 0px 0px;
    opacity: 100%;
    border-radius: 0px 0px 5px 5px;
    z-index: 2;
}
.fixed-header {
    position: fixed;
    opacity: 100%;
    filter: saturate(1.5);
    z-index: 1;
    margin-top: -36px;
    width: -webkit-fill-available;
    left: 0;
}
.logo {
    width: 100px;
    margin: -1px 16px 0px 12px;
}

.link {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  padding: 10px;
  font-size: 12px;
  justify-content: center;
}
.link:hover{
    color: #f00;
}
.link i{
    padding: 5px;
}
.logout{
    margin-right: 0px;
}
.hide{
    display:none;
}
.opening{
    display:block
}
span.window-title.opening {
    float: none;
    cursor: default;
}
.window-ctrl{
    padding: 0px;
    color: #9a9a9a;
    font-size: 14px;
}
.small span{
    padding: 5px;
    float: right;
}
span .min .fa .fa-minus span .max .fa .fa-window-maximize span .dismiss .fa .fa-times:hover{
    background-color:#fff;
}

#ghostpane {
	background: #999;
	opacity: 0.2;

	width: 45%;
	height: 45%;
	top: 20%;
	left: 20%;
	
	display:none;
	
	position: absolute;
	margin: 0;
	padding: 0;
	z-index: 98;

	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}
.notification {
    width: 350px;
    background-color: rgb(122 132 137 / 50%);
    transition: box-shadow 0.2s;
    backdrop-filter: blur(20px);
    filter: saturate(1.5);
    border-radius: 5px;
    height: 620px;
    margin-top: 15px;
    border: 1px solid rgb(255 255 255 / 53%);
    position: absolute;
    right: 52px;
    top: 54px;
}
.notytitle {
    color: #fff;
    font-size: 13px;
    font-family: sans-serif;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 545px;
    border-top: 1px solid #ced4e4;
    border-bottom: 1px solid #ced4e4;
}
.notydesc {
    padding: 5px;
    background-color: rgb(241 239 239);
    backdrop-filter: blur(20px);
    height: fit-content;
    border-radius: 5px;
    color: #111119;
    margin-top: 10px;
}
.notydesc:hover {
    background-color: rgb(255 255 255 / 100%);
}
.notifyclose{
    color: #fff;
    font-size: 16px;
    font-family: sans-serif;
    padding: 7px;
}

.notytitle::-webkit-scrollbar {
  width: 7px;               /* width of the entire scrollbar */
}

.notytitle::-webkit-scrollbar-track {
    background: #00000021;
}

.notytitle::-webkit-scrollbar-thumb {
    background-color: #c5c9d0;
    border-radius: 50px;
    border: 1px solid #67696c;
}
.login_form {
    background-color: #fff;
    border: 1px solid #bebebe;
    border-radius: 10px;
    margin-top: 10%;
    margin-left: 45%;
    width: 200px;
    height: 240px;
    text-align: center;
}
.profile_photo {
    font-size: 50px;
    padding-top: 3px;
    color: #e3e3e3;
}
.username{
    background-color: #f0f0f0;
    width: 80%;
    height: 25px;
    border-radius: 5px 5px 0px 0px;
    border: 1px solid #b4b2b2;
    padding-top: 2px;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 7px;
}

.password{
    background-color: #f0f0f0;
    width: 80%;
    height: 25px;
    border-radius: 0px 0px 5px 5px;
    border: 1px solid #b4b2b2;
    padding-top: 2px;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 7px;
}
.username select:focus,
.username input:focus,
.username textarea:focus {
    outline: none;
}

.password select:focus,
.password input:focus,
.password textarea:focus {
    outline: none;
}
.button {
    background-color: #f6f6f6;
    width: -webkit-fill-available;
    height: 20px;
    padding: 10px 5px 10px 5px;
    cursor: pointer;
}
.loginbtn{
    text-decoration: none;
    color: #777777;
    border: 1px solid #afafaf;
    padding: 5px;
    border-radius: 4px;
    background-color: white;
}
.loginbtn:hover{
    border: 1px solid #fff;
}
form .login_form.invalid {
    outline-color: red;
    /* also need animation and -moz-animation */
    -webkit-animation: shake .5s linear;
    border: 2px solid #dc8686;
}
/* also need keyframes and -moz-keyframes */
 @-webkit-keyframes shake {
    8%, 41% {
        -webkit-transform: translateX(-20px);
    }
    25%, 58% {
        -webkit-transform: translateX(20px);
    }
    75% {
        -webkit-transform: translateX(-5px);
    }
    92% {
        -webkit-transform: translateX(5px);
    }
    0%, 100% {
        -webkit-transform: translateX(0);
    }
}
.table_in{
    background-color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #fff !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #6f6f6f;
    font-size: 12px
}
#borlbody{
    overflow-x: hidden;
    overflow-y: scroll;
}
div #req-approved_filter, #from, #to, input {
  outline: none;
  border: 1px solid #c7c7c7;
  border-radius: 10px;
  background-color: #ffffff;
}

.fld{
    width: -webkit-fill-available;
    padding: 5px;
    margin: 0px 5px 0px 5px;
    background-color: #ffffff;
    border: none;
}

#chartdiv {
	width		: 100%;
	height		: 200px;
	font-size	: 10px;
	background-color: white;
    border-radius: 5px;
}	

.amcharts-graph-g1 .amcharts-graph-fill {
  filter: url(#blur);
}

.amcharts-graph-g2 .amcharts-graph-fill {filter: url(#blur);
}

.amcharts-cursor-fill {
  filter: url(#shadow);
}			
.amcharts-chart-div a{
    display:none;
}
.sublist ul>a>li>span{
    color: black;
}
.sublist ul>a>li{
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    color: white;
    transition: 0.3s;
    transition-timing-function: ease;
}
.sublist ul>a>li:hover{
    background-color: #dddddd;
    padding: 8px;
    margin-left: 8px;
    cursor: pointer;
}
.hsbtn{
    background-color: #000;
    color: #fff;
    padding: 5px;
    margin: 5px;
}
/*.win_title{*/
/*    padding: 5px;*/
/*    background-color: #fbfbfb;*/
/*    border: 1px solid #7e7e7e;*/
/*    border-radius: 5px;*/
/*    width: 80px;*/
/*    font-family: sans-serif;*/
/*    font-size: 12px;*/
/*    font-weight: bold;*/
/*    color: #464646; */
/*}*/
.win_title {
    font-family: sans-serif;
    font-weight: bold;
}
.content {
    margin-top: 0px;
    font-family: sans-serif;
    font-weight: 100;
    font-size: 12px;
    color: #fff;
}
.body-widget {
    background-color: #ffffff;
    color: #000000;
    width: 20%;
    border: 2px solid #939393;
    border-radius: 3px;
    padding: 10px;
    margin: 5px 5px 0px 0px;
    opacity: 50%;
    filter: saturate(1.5);
    float: left;
    font-size: 12px;
}
.body-widget-inside {
    background-color: rgb(247 247 247 / 48%);
    color: #000000;
    width: 40%;
    height: 150px;
    border: 1px solid #939393;
    border-radius: 3px;
    padding: 5px;
    margin: 5px 5px 0px 0px;
    opacity: 1;
    filter: saturate(1.5);
    float: left;
    font-size: 11px;
}
.body-widget:hover{
    cursor: pointer;
    border: 2px solid #1bebff;
    opacity: 80%
}
.successnotify{
    display: block;
    background-color: #f1ffee;
    padding: 10px;
    height: fit-content;
    width: -webkit-fill-available;
    color: #4f5e7a;
    border-radius: 5px;
    border: 1px solid #a5a4a4;
}
.errornotify {
    display: block;
    background-color: #edd09b;
    padding: 10px;
    height: fit-content;
    width: -webkit-fill-available;
    color: #222427;
    border-radius: 5px;
    margin-top: 14px;
    font-size: 14px;
    font-family: sans-serif;
}

/* =============Menu editor===============*/
.external_m{
z-index: 100;;
}
nav.tab {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 4rem;
    top: -5px;
  }
  nav.tab.moving .icon {
    pointer-events: none;
  }
  nav.tab .icons {
    position: relative;
    z-index: 2;
    display: flex;
    font-size: 1rem;
    justify-content: center;
    width: calc(100% - 2rem);
    padding: 0 1rem;
    color: black;
}
  nav.tab .icons .icon {
    position: relative;
    top: 0rem;
    width: 4rem;
    line-height: 4rem;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition-delay: 0.25s;
  }
  nav.tab .icons .icon.initialised {
    animation: hide2 0.125s ease-in-out;
  }
  nav.tab .bar {
    z-index: 1;
    position: absolute;
    display: flex;
    align-items: stretch;
    filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.1)) drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.1));
    width: 100%;
    height: 100%;
  }
  nav.tab .bar .cap {
    background: white;
    width: 1rem;
  }
  nav.tab .bar .cap:first-child {
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 0.5rem;
    box-shadow: 0.25rem 0 0 white;
  }
  nav.tab .bar .cap:last-child {
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 0.5rem;
    box-shadow: -0.25rem 0 0 white;
  }
  nav.tab .bar .middle {
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: space-between;
  }
  nav.tab .bar .middle .circle {
    transform: rotate(180deg);
    position: absolute;
    width: 7rem;
    height: 5.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='92' viewBox='0 0 112 92'%3E%3Ccircle cx='56' cy='36' r='36' fill='%23FFF'/%3E%3Cpath d='M104 35.2L104 35.2c0 26.3-20.9 48.3-47.2 48.8C29.9 84.4 8 62.8 8 36v-0.8c0-4-3.2-7.2-7.2-7.2H0v64h112V28h-0.8C107.2 28 104 31.2 104 35.2z' fill='%23FFF'/%3E%3C/svg%3E");
  }
  nav.tab .bar .middle .side {
    flex-grow: 0;
    background: white;
    /* transition: ease-in-out 0.25s; */
  }
  
  @keyframes hide {
    0%, 100% {
      opacity: 1;
    }
    25%, 75% {
      opacity: 0;
    }
  }
  
  @keyframes hide2 {
    0%, 100% {
      opacity: 1;
    }
    15%, 75% {
      opacity: 0;
    }
  }

  .submenu {
        &:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        margin-left: -0.5em;
        right: 0px;
        box-sizing: border-box;
        border: 7px solid black;
        border-color: transparent transparent #ffffff #ffffff;
        transform-origin: 0 0;
        transform: rotate(135deg);
        box-shadow: -3px 3px 3px -3px rgba(214, 214, 214, 0.78);
        }
        display: none;
        position: absolute;
        border-radius: 7px;
        background: #fff;
        box-shadow: 0px 0px 2px rgb(147 147 147 / 78%);
        list-style: none;
        padding: 0 20px;
        width: max-content;
        margin: 0;
        top: 79px;
        right: 10%;
        &.U-open {
        display: block;
        }
        > li {
            padding: 0px;
            line-height: 24px;
            border-bottom: 1px solid rgba(215, 215, 215, 0.17);
            &:last-child {
                border-bottom: 0px;
            }
            > a {
                font-size: 14px;
                padding: 15px 25px 16px 10px;
                text-decoration: none;
                color: #393939;
                transition: all .2s ease-out;
                font-weight: normal;
                font-family: monospace;
            }
        }
        span {
        background: #16d67a;
        padding: 3px 10px;
        color: #fff;
        border-radius: 30px;
        font-size: 13px;
        }
        > li {
            &:before {
                content: '';
                width: 0px;
                height: 24px;
                position: absolute;
                background: #2196F3;
                margin-top: 4px;
                border-radius: 0 1px 1px 0;
                left: 0px;
                transition: all .2s ease;
            }
        }
        &:hover:before {
            width: 5px;
            border-radius:30px;
        }
        a:hover {
            margin-left: 5px;
        }
    }

    .wmenuEditor .customSuggestionsList > div{
        max-height: 300px;
        border: 2px solid pink;
        overflow: auto;
    }


    /*************** Menu editor *****************/
    .wmenuEditor #access {
        width: 200px; 
        padding: 5px; 
        border: 1px solid #ccc; 
        border-radius: 4px;
    }
    .wmenuEditor #menuEditor {
        width: 100%;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        height: 566px;
        bottom: 0;
    }
    .wmenuEditor h2 {
        text-align: center;
    }
    .wmenuEditor #menu {
        list-style-type: none;
        padding: 0;
        margin: 20px 0;
    }
    .wmenuEditor .menuItem, .submenuItem {
        border: 1px solid #ccc;
        padding: 10px;
        margin: 5px 5px;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
        cursor: move;
        background-color: #f9f9f9;
    }
    .wmenuEditor .dragging {
        opacity: 0.5;
        border: 2px dashed #007bff;
        background-color: #ffffff;
    }
    .wmenuEditor .menuItem:hover, .submenuItem:hover {
        background-color: #e0e0e0;
        border: 2px solid #007bff;
    }
    .wmenuEditor .submenu {
        padding-left: 20px;
        display: none;
        background-color: #f4f4f4;
        border-left: 2px solid #ccc;
        margin-top: 5px;
    }
    .wmenuEditor .submenuItem:hover {
        background: #c4e0ff;
    }
    .wmenuEditor div#menuList {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        overflow-y: overlay;
    }
    .wmenuEditor .controls {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 10px;
        flex-direction: row;
    }
    .wmenuEditor button {
        padding: 8px 12px;
        border: none;
        border-radius: 4px;
        background-color: #007bff;
        color: white;
        cursor: pointer;
        transition: background 0.3s;
        margin: 0 5px;
    }
    .wmenuEditor button:hover {
        background-color: #0056b3;
    }
    .wmenuEditor .deleteBtn {
        background-color: #dc3545;
    }
    .wmenuEditor .deleteBtn:hover {
        background-color: #c82333;
    }
    .wmenuEditor .editBtn, .addSubmenuBtn {
        margin-left: auto;
        padding: 6px 10px;
        background-color: #28a745;
    }
    .wmenuEditor .editBtn:hover, .addSubmenuBtn:hover {
        background-color: #218838;
    }
    .wmenuEditor #editorHeader {
        background-color: #007bff;
        color: white;
        padding: 10px;
        text-align: center;
        border-radius: 6px 6px 0 0;
    }
    .wmenuEditor #mainContent {
        flex-grow: 1;
        padding: 20px;
    }
    .wmenuEditor #modal, #submenuModal {
        display: none;
        position: fixed;
        z-index: 2;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
    }
    .wmenuEditor .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        border-radius: 5px;
    }
    .wmenuEditor .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .wmenuEditor .close:hover,
    .wmenuEditor .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    .wmenuEditor input[type="text"] {
        width: 100%;
        padding: 8px;
        margin: 8px 0;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .wmenuEditor .mode-selector {
        display: flex;
        justify-content: space-around;
        margin-bottom: 10px;
    }

    .wmenuEditor .mode-selector button {
        padding: 8px 12px;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        background-color: #eee;
    }

    .wmenuEditor .mode-selector button:hover {
        background-color: #ddd;
    }

    .wmenuEditor #iconSearch {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .wmenuEditor .icon-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }

    .wmenuEditor .icon-grid i {
        font-size: 24px;
        padding: 10px;
        border: 1px solid #ddd;
        cursor: pointer;
        text-align: center;
    }

    .wmenuEditor .icon-grid i:hover {
        background-color: #f0f0f0;
    }

    page {
        background: white;
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5cm;
        box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
        page-break-after: always;
        break-after: page;
    }
    
    page[size="A4"] {  
        width: 21cm;
        height: 29.7cm; 
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
    }
    
    page[size="A4"][layout="landscape"] {
        width: 29.7cm;
        height: 21cm;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
    }
    
    page[size="A3"] {
        width: 29.7cm;
        height: 42cm;
    }
    
    page[size="A3"][layout="landscape"] {
        width: 42cm;
        height: 29.7cm;  
    }
    
    page[size="A5"] {
        width: 14.8cm;
        height: 21cm;
    }
    
    page[size="A5"][layout="landscape"] {
        width: 21cm;
        height: 14.8cm;  
    }
    .page_num {
        width: 100%;
        text-align: right;
        padding-right: 50px;
    }
    
    @media print {
        /* Hide elements not to be printed */
        .no-print {
            display: none;
        }

        /* Page styles for A4, A3, A5 sizes and layouts */
        page {
            background: white;
            display: block;
            margin: 0 auto;
            margin-bottom: 0.5cm;
            box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
            page-break-after: always;
            break-after: page;
        }
        
        page[size="A4"] {  
            width: 21cm;
            height: 29.7cm; 
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            flex-direction: column;
        }
        
        page[size="A4"][layout="landscape"] {
            width: 29.7cm;
            height: 21cm;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            flex-direction: column;
        }
        
        page[size="A3"] {
            width: 29.7cm;
            height: 42cm;
        }
        
        page[size="A3"][layout="landscape"] {
            width: 42cm;
            height: 29.7cm;  
        }
        
        page[size="A5"] {
            width: 14.8cm;
            height: 21cm;
        }
        
        page[size="A5"][layout="landscape"] {
            width: 21cm;
            height: 14.8cm;  
        }

        /* Table styling */
        .tablestyle {
            width: 100%;
            border-collapse: collapse;
        }

        .tablestyle th, .tablestyle td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
        }

        .tablestyle th {
            background-color: #f2f2f2;
        }

        /* Page layout when printing */
        h4 {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
        }

        /* Additional styles for tables and headers */
        .tablefont {
            font-size: 12px;
            font-weight: normal;
        }

        /* Prevent page breaks inside tables */
        table {
            page-break-inside: avoid;
        }

        /* Optional: Center the page content */
        .content-container {
            text-align: center;
            margin-top: 20px;
        }
        .page_num {
            width: 100%;
            text-align: right;
            padding-right: 50px;
        }
    }

/* Container */
.toggle-switch {
  font-family: Arial, sans-serif;
  user-select: none;
}

/* Hidden Checkbox */
.toggle-switch input[type="checkbox"] {
  display: none;
}

/* Switch Label */
.switch-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 30px;
  transition: background-color 0.3s;
}

/* Switch Icon */
.switch-icon {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color:#000;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Checked State */
.toggle-switch input[type="checkbox"]:checked + .switch-label {
  background-color: #000000;
}

.toggle-switch input[type="checkbox"]:checked + .switch-label .switch-icon {
  transform: translateX(30px);
}



/* DICE GAME */
.toggle-switch-dice {
  font-family: Arial, sans-serif;
  user-select: none;
}

/* Hidden Checkbox */
.toggle-switch-dice input[type="checkbox"] {
  display: none;
}

/* Switch Label */
.switch-label-dice {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.switch-icon-dice{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color:#000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-switch-dice input[type="checkbox"]:checked + .switch-label-dice {
  background-color: #42a535;
}

.toggle-switch-dice input[type="checkbox"]:checked + .switch-label-dice .switch-icon-dice {
  transform: translateX(30px);
}
