/**
 *  Design is a clean HTML5 theme for LuCI. It is based on luci-theme-material and luci-theme-neobird
 *
 *  luci-theme-material
 *      Copyright 2015 Lutty Yang 
 * 
 *  luci-theme-Neobird
 *      Copyright 2021 2smile 
 *
 *  Licensed to the public under the Apache License 2.0
 */
 :root {
    --bg: #f1f4f5;
    --mainbg: #fff;
    --bgwhite: #fff;
    --activeColor: #5ea69b;
    --activeBottom: #51c291 2px solid;
    --textColor: rgb(132,119,116);
    --borderColor: rgba(0,0,0,.15);
    --navbgColor: rgba(255, 255, 255, .7);
    --navBorder: 1px solid #f2f2f2;
    --sectionbgColor: #fff;
    --sectionbgColor2: #fff;
    --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);
    --sectionBorder: none;
    --sectiontabBorder: none;
    --tabmenuBorderLR: none;
    --tabmenubgColor: none;
    --tabmenuBottom: #e4eaec 1px solid;
    --tabmenuRadius: 0;
    --sectionnodeBorder: #f7f7f7 1px solid;
    --cbilineColor: #f7f7f7 1px solid;
    --tabbgColor: #fff;
    --inputbgColor: #f8f8f8;
    --inputtextColor: #76838f;
    --inputBorder: 1px solid #e4eaec;
    --mainleftbgColor: rgb(255,255,255);
    --bttextColor: #fff;
    --badgebgColor: #f7f7f7;
    --badgeBorder: #e4eaec 1px solid;
    --progressbarColor: #c8c8c8;
    --progressbar: #5ea69b;
    --progressbartxtColor: #fff;
    /* --logo: url('/luci-static/design/images/logo.png');
    --mlogo: url('/luci-static/design/images/mlogo.png'); */
    --logo_color: #222b36;
    --alertColor: #000000;
    --alertBackground: rgb(230 230 230);
    --modelBackground: #d4d4d4;
    --scrollbarColor:#d0d0d0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bgwhite: #000;
    --textColor: #fefefe;
    --activeColor: #5ea69b;
    --activeBottom: #51c291 2px solid;
    --borderColor: #2C2C3A;
    --navbgColor: hsla(0, 0%, 7%, .8);
    --navBorder: 1px solid #1c1c1e;
    --sectionbgColor: #1c1c1e;
    --sectionbgColor2: #1c1c1e;
    --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05);
    --sectionBorder: none;
    --sectiontabBorder: none;
    --sectionnodeBorder: #3d3d41 1px solid;
    --cbilineColor: #2d2d2d 1px solid;
    --tabbgColor: #1c1c1e;
    --tabmenuBorderLR: none;
    --tabmenubgColor: none;
    --tabmenuBottom: #2d2d2d 1px solid;
    --tabmenuRadius: 6px 6px 0 0;
    --inputbgColor: #2f2f2f;
    --inputtextColor: #fefefe;
    --inputBorder: 1px solid #4d4d4d;
    --mainleftbgColor: #000;
    --bttextColor: #fefefe;
    --badgebgColor: #fefefe;
    --badgeBorder: #3d3d40 1px solid;
    --progressbarColor: #6d6d6d;
    --progressbar: #5ea69b;
    --progressbartxtColor: #fefefe;
    /* --logo: url('/luci-static/design/images/logod.png');
    --mlogo: url('/luci-static/design/images/mlogod.png'); */
    --logo_color: #fefefe;
    --alertColor: #ffffff;
    --alertBackground: rgb(30 30 30);
    --modelBackground: #1c1c1e;
    --scrollbarColor:#4a4a4a;
  }
}
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/font.eot');
    src: url('../fonts/font.eot') format('embedded-opentype'),
    url('../fonts/font.ttf') format('truetype'),
    url('../fonts/font.woff') format('woff'),
    url('../fonts/font.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'design';
  src: url('');
  src: url('?#iefix') format('embedded-opentype'),
  url('../fonts/iconfont-Regular.woff2') format('woff2'),
  url('../fonts/iconfont-Regular.woff') format('woff'),
  url('../fonts/iconfont-Regular.ttf') format('truetype'),
  url('#iconfont') format('svg');
}
@font-face{
    font-family: 'Cocon-Regular-Font';
    src : url('../fonts/Cocon-Regular-Font.otf') format('opentype');
}
div{
    font-family: 'HYk2gj';
}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0px rgba(240, 240, 240, .5);
  background-color: rgb(255 255 255 / 0%);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbarColor) ;
    border-radius: 10px;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
a {
    color: var(--textColor);
    text-decoration: none;
}
em {
    font-style:normal !important;
    line-height: 1.5;
    padding-left: 10px;
}
body div {
    line-height:150%;
}
.table {
	position: relative;
	display: table;
}
.thead {
	display: table-header-group;
}
.tbody {
	display: table-row-group;
}
.tfoot {
	display: table-footer-group;
}
.td,
.th {
	line-height: normal;
	display: table-cell;
	padding: .5em;
	text-align: center;
	vertical-align: middle;
    white-space: nowrap;
}
.th {
	font-weight: bold;
    white-space: nowrap;
}
.tr.placeholder {
	height: 4em;
}
.tr.placeholder > .td {
	line-height: 3;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center !important;
	background: inherit;
}
.td[width="33%"], 
.td[width="33%"]~.td {
	padding: 12px;
}
.table[width="33%"],
.th[width="33%"],
.td[width="33%"] {
	width: 33%;
}
.table[width="100%"],
.th[width="100%"],
.td[width="100%"] {
	width: 100%;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, 'Microsoft Yahei';
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
    clear:both;
    text-transform: capitalize;
}
html {
	overflow-y: hidden;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-family: -apple-system, 'Microsoft Yahei' !important;
    font-size: 0.92rem;
    line-height: 150%;
    background-color: var(--bg);
    color:var(--textColor);
}
select {
    overflow: hidden !important;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 25px 0 10px !important;
    background-size: 24px 16px;
    background-repeat: no-repeat;
    background-position: right center;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC');
}
select,
input {
    color: var(--inputtextColor);
    padding: 5px 10px;
    font-size: 0.92rem;
    font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif;
    border: var(--inputBorder);
    background-color: var(--inputbgColor);
    transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    outline-style: none;
    vertical-align: middle;
    border-radius: 8px;
    margin: 3px 3px 3px 0;
    height: 2.8rem;
    line-height: 2.8rem;
    max-width: 550px;
    
}
select:not([multiple="multiple"]):focus,
input:focus {
    border-color: #948FE1;
    box-shadow:0 0 6px #948FE1;
    -webkit-box-shadow:0 0 6px #948FE1;
    -moz-box-shadow:0 0 6px #948FE1;
}
select,
.cbi-dropdown {
	width: inherit;
	cursor: default;
}
select:not([multiple="multiple"]):focus,
input:not(.cbi-button):focus,
.cbi-dropdown:focus {
    border-color: #948FE1;
    box-shadow:0 0 6px #948FE1;
    -webkit-box-shadow:0 0 6px #948FE1;
    -moz-box-shadow:0 0 6px #948FE1;
}
.cbi-dropdown,
select[multiple="multiple"] {
	height: auto;
}
pre {
	overflow: auto;
}
code {
	font-size: 1rem;
	font-size-adjust: .35;
	padding: 1px 3px;
	color: #101010;
	border-radius: 2px;
	background: #ddd;
}
abbr {
	cursor: help;
	text-decoration: underline;
	color: #005470;
}
hr {
	margin: 1rem 0;
	opacity: .1;
	border-color: #eee;
}
header, .main {
    width: 100%;
    position: absolute;
}
header {
    background-color: var(--bgwhite);
    box-shadow: 17rem 2px 4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;
    height: 55px;
    float: left;
    position: fixed;
    z-index: 101;
}
footer {
    text-align: right;
    padding: 1rem;
    color: #aaa;
    font-size: 11px;
    height: 80px;
    visibility:hidden;
    /*text-shadow: 0px 0px 2px #BBB;*/
}
footer > a {
    color: rgb(154,37,143);
    text-decoration: none;
}
small {
	font-size: 90%;
	line-height: 1.42857143;
	white-space: normal;
}
.cbi-button-up,
.cbi-button-down,
.cbi-value-helpicon,
.showSide,
.main > .loading > span {
    /* font-family: 'icomoon' !important; */
    /* font-size:10px; */
    speak: none;
    /* font-style: normal !important; */
    /* font-weight: normal !important; */
    /* font-variant: normal !important; */
    /* text-transform: none !important; */
    /* line-height: 1; */
    /* -webkit-font-smoothing: antialiased; */
    /* -moz-osx-font-smoothing: grayscale; */
}
.main {
    top: 50px;
    bottom: 0rem;
    position: relative;
    height: 100%;
    height: calc(100% - 4rem);
}
.main > .loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: block;
    background-color: var(--bgwhite);
    top: 0;
}
.main > .loading > span {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: var(--textColor);
    font-size: 1rem;
}
.main > .loading > span > .loading-img:before {
    content: "\e603";
}
.main > .loading > span > .loading-img {
    animation: anim-rotate 2s infinite linear;
    margin-right: 0.2rem;
    display: inline-block;
}
@keyframes anim-rotate {
	0% {
		-webkit-transform: rotate(0);
		-ms-transform: rotate(0);
		transform: rotate(0);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
.main-left {
    float: left;
    width: 17rem;
    background-color: var(--mainleftbgColor);
    overflow-x: auto;
    height: calc(100% - 3.5rem);
    position: fixed;
    padding-top: 15px;
    box-shadow: 0 0px 4px rgb(0 0 0 / 8%);
	/* transition: visibility 150ms, width 150ms; */
}
.main-right {
    width: 85%;
    width: calc(100% - 17rem);
    float: right;
    height: 100%;
    border-left: var(--sectionBorder);
}
.main-right > #maincontent {
	position: relative;
    z-index: 50;
}
.pull-right {
	float: right;
}
.pull-left {
	float: left;
}
.nowrap:not(.td) {
	white-space: nowrap;
}
[disabled="disabled"] {
	pointer-events: none;
}
header > .fill > .container {
	/* margin-top: .5rem; */
	/* padding: .5rem 1rem 0 1rem; */
	margin:0;
	padding:0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
header > .fill > .container > #logo {
	margin: 0 3.5rem 0 1.5rem;
}
header > .fill > .container > #logo > img {
	width: calc(0% + 10rem);
	margin-top: -.5rem;
}
header > .fill > .container > .brand {
    font-size: 25px;
    font-family: "Cocon-Regular-Font";
    /*font-weight:bold;*/
    line-height:60px;
    /*color: white;*/
    color: var(--logo_color);
    cursor: default;
    /*background: #51c291;*/
    display:block;
    width:17rem;
    /* padding-left: 30px; */
    height:60px;
    text-align:center;
    float:left;
    font-weight:900;
    letter-spacing:1px;
    margin-left: 10px;
}
header > .fill > .container > a[class="brand"]:after {
    content:"";
    font-size:14px;
    font-family:Tahoma;
    position: absolute;
    top:-10px;
    font-weight:normal !important;
}
header > .fill > .container > .brand-hostname {
    font-size: 14px;
    line-height:60px;
    color: #555555;
    cursor: default;
    display:block;
    width:17rem;
    padding-right: 10px;
    height:60px;
    text-align:left;
    float:left;
    margin-top: 7px;
    font-weight:300;
    margin-left: -15px;
}
header > .fill > .container > .status {
	position: absolute;
	top: 25%;
	right: 1em;
	float: right;
	font-size: 1.5rem;
    font-family: 'design';
	line-height: unset !important;
}
header > .fill > .container > .status > * {
	position: relative;
	top: .2rem;
	float: left;
	margin-left: .3rem;
	cursor: pointer;
}
/* .modemenu-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	color: #fff;
	color: var(--header-color);
	background: #09c;
	background: var(--header-bg);
	padding: .5rem;
	transition: box-shadow .2s;
	box-shadow: 0 2px 5px rgb(0 0 0 / 26%);
} */
/* #modemenu {
	margin: 0.25rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
#modemenu > li > a {
	font-size: .8rem;
	font-weight: bold;
	padding: .3rem .8rem;
	white-space: nowrap;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff !important;
	border-radius: 3px;
	background-color: #bfbfbf;
	text-shadow: none;
}
#modemenu > li > a.active {
	background-color: #002B49 !important;
}
#modemenu > li.divider {
	margin-left: .25rem;
	margin-right: .25rem;
	border: .5rem solid var(--submenu-bg-hover);
	border-left: 1px solid var(--submenu-bg-hover);
	border-right: 1px solid var(--submenu-bg-hover);
	border-radius: 1rem;
} */
#xhr_poll_status {
	display: flex;
}
.danger {
	background-color: #ff7d60 !important;
}
.warning {
    /*background-color: #FF7D60 !important;*/
    color: #FFF;
}
.success {
	background-color: #5cb85c !important;
}
.notice,
[data-indicator]:not([data-style="inactive"]) {
	color: var(--activeColor);
}
.notice,
[data-indicator]:not([data-style="active"]) {
	color: var(--progressbarColor);
}
span[data-indicator="uci-changes"] {
    font-size: .8rem;
	transition: all .3s;
}
.error {
    color: red;
}
.alert,
.alert-message {
	font-weight: bold;
	margin-bottom: 1em;
	padding: 1rem;
	border: 0;
	border-radius: 3px !important;
	color: #ffffff;
	background-color: #5c5c5c;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
	text-shadow: 1px 1px rgba(0, 0, 0, .1);
	background-color: var(--alertBackground);
}
.alert-message > h4 {
	font-size: 110%;
	font-weight: bold;
}
.alert-message > * {
	margin: .5rem 0;
}
/*.alert-message .btn {
	padding: .3rem .6rem;
}*/
.container .alert,
.container .alert-message {
	margin-top: 1rem;
}
.main > .main-left > .nav {
    overflow-y: visible !important;
    font-size: 1rem;
    width: 90%;
    margin: auto;
    margin-bottom: 90px;
}
.main > .main-left > .nav > li {
    cursor: pointer;
    padding-top:6px;
}
.main > .main-left > .nav > li a {
    color: var(--activeColor);
    display: block;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.main > .main-left > .nav > .slide,
.main > .main-left > .nav > li:last-child a
{
    padding: 0;
    padding-top:8px;
}
.main > .main-left > .nav > .slide > ul {
    display: none;
    list-style:dotted;
}
.main > .main-left > .nav > .slide.active > ul {
	display: block;
}
.main > .main-left > .nav > .slide > .slide-menu > li {
    margin-top: 8px;
    border-radius: 6px;
}
.main > .main-left > .nav > .slide > .menu::after {
    right: 0.5rem;
    top: 0.8rem;
    font-family: "design" !important;
    font-style: normal !important;
    font-variant: normal !important;
    content: "\eb03";
    float: right;
    padding-right: 5px;
    line-height: 1.6;
    /* Better Font Rendering =========== */
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.15s ease;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s;
}
.main > .main-left > .nav > .slide > a:before,
.main > .main-left > .nav > li > a:before {
    display: inline-block;
    left:-10px;
    top: 1px;
    position: relative;
    font-family: "design" !important;
    font-weight: bold !important;
    text-transform: none !important;
    speak: none;
    font-size: 1.2rem !important;
    -webkit-font-smoothing: antialiased;
}
.main > .main-left > .nav > .slide > a[data-title="Status"]:before {
    content: "\e6b8";
}
.main > .main-left > .nav > .slide > a[data-title="System"]:before {
    content: "\e645";
}
.main > .main-left > .nav > .slide > a[data-title="Services"]:before {
    content: "\e6cb";
}
.main > .main-left > .nav > .slide > a[data-title="Docker"]:before {
    content: "\44";
}
.main > .main-left > .nav > .slide > a[data-title="NAS"]:before {
    content: "\eb04";
}
.main > .main-left > .nav > .slide > a[data-title="VPN"]:before {
    content: "\56";
}
.main > .main-left > .nav > .slide > a[data-title="Network"]:before {
    content: "\72";
}
.main > .main-left > .nav > .slide > a[data-title="Bandwidth Monitor"]:before {
    content: "\e764";
}
.main .main-left .nav li.slide .menu[data-title="Statistics"]:before {
	content: "\e604";
}
.main .main-left .nav li.slide .menu[data-title="Control"]:before {
  content: "\e67a";
}
.main .main-left .nav li.slide .menu[data-title="Asterisk"]:before {
	content: "\e7dd";
}
.main > .main-left > .nav > li > a[data-title="Inital Setup"]:before {
    content: "\e67e";
}
.main > .main-left > .nav > li > a[href="/cgi-bin/luci//admin/wizard"]:before {
    content: "\e67e";
}
.main > .main-left > .nav > li > a[data-title="iStore"]:before {
    content: "\e676";
}
.main > .main-left > .nav > li > a[data-title="Logout"] {
    padding: 0.675rem 0 0.675rem 2.5rem;
}
.main > .main-left > .nav > li > a[data-title="Logout"]:before {
    content: "\e641";
}
.main > .main-left > .nav > li > a[data-title="Reboot"] {
    padding: 6px 25px;
}
.main > .main-left > .nav > li > a[data-title="Reboot"]:before {
    content: "\e004";
}
.main > .main-left > .nav > .slide > .menu.active::after {
	transform: rotate(90deg);
}
body[class*="node-"] > .main > .main-left > .nav > .slide > .menu::before {
	transition: transform .1s ease-in-out;
}
body[class*="node-"] > .main > .main-left > .nav > .slide > .menu.active::before {
	transition: transform .2s ease-in-out;
}
.main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
	display: none;
}
.main > .main-left > .nav > li:last-child::before {
	position: absolute;
	left: 14px;
	width: 24px;
	height: 24px;
	/* content: url(./icons/logout.svg); */
}
.main > .main-left > .nav > li:last-child a:hover,
.main > .main-left > .nav > .slide > .menu:hover {
    background: var(--activeColor);
    color:white;
}
.main > .main-left > .nav > .slide:hover {
	background: none;
}
.slide-menu {
    overflow:hidden;
}
.main > .main-left > .nav > .slide > .slide-menu > .active {
    background-color: var(--activeColor);
}
.main > .main-left > .nav > .slide > .slide-menu > li > a {
    position: relative;
    display: block;
    color: var(--textColor);
    vertical-align: middle;
    background:none !important;
    border: none !important;
    text-transform: capitalize;
    font-size: 1rem;
    margin: 0.1rem 0.5rem 0.1rem 0.5rem;
    padding: 0.675rem 0 0.675rem 2.5rem;
}
.main > .main-left > .nav > .slide > .slide-menu > .active > a {
    color: white;
}
.main > .main-left > .nav > .slide > .slide-menu > li:hover {
    background: var(--activeColor);
    color:white !important;
    transition: all 0.2s;
}
.main .main-left .nav li.slide .slide-menu .active a {
    color: #000;
}
.main > .main-left > .nav > .slide > .slide-menu > .active:hover {
    background-color: var(--activeColor);
    cursor: pointer;
}
/* ripple effect */
.main > .main-left > .nav > .slide > .menu,
.main > .main-left > .nav > li:last-child a
{
    display: block;
    padding: 0.675rem 0 0.675rem 2.5rem;
    text-decoration: none;
    cursor: pointer;;
}
img[src*="/luci-static/resources/icons/loading.gif"] {
    background-image: url(../images/loading.gif);
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    padding: 0 0 0 20px;
    width: 0;
}
#maincontent > .container {
    margin:30px 30px 50px 30px;
}
li {
	list-style-type: none;
}
h1 {
    color: var(--activeColor);
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
h2 {
    color: var(--activeColor);
    padding: 0 12px 6px 12px;
    text-transform: capitalize;
}
h3 {
    font-size: 1.2rem;
    color: var(--activeColor);
    font-weight:bold;
    padding: 0 12px 10px 12px;
}
h4 {
}
 div.cbi-section{
	 border: var(--sectionBorder);
	 margin-bottom: 20px;
	 border-radius: 8px;
	 margin-top: 5px;
 }
.cbi-section,
.cbi-section-error,
#iptables,
.Firewall form,
#cbi-network > .cbi-section-node,
#cbi-wireless > .cbi-section-node,
#cbi-wireless > #wifi_assoclist_table,
[data-tab-title],
/* [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), */
[data-page="admin-system-opkg"] #maincontent > .container {
   /* margin: 10px 0 0 0; */
   padding: 10px;
   border: 1px;
   font-weight: normal;
   font-style: normal;
   line-height: 1;
   font-family: inherit;
   text-align: left;
   min-width: inherit;
   overflow-x: auto;
   overflow-y: hidden;
   background-color: var(--sectionbgColor);
   border-radius: 8px;
   /* box-shadow: var(--sectionShaddow); */
   -webkit-overflow-scrolling: touch;
}
#maincontent > .container > div:nth-child(1).alert-message.warning > a {
    font: inherit;
    overflow: visible;
    text-transform: none;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    min-width: 6rem;
    padding: 0.5rem 1rem;
    font-size: 14px;
    line-height: 1.42857143;
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    margin-top: 2rem;
    text-decoration: inherit;
}
.cbi-modal .cbi-section,
.cbi-section .cbi-section {
	padding: 0;
	box-shadow: none;
}
.cbi-modal .cbi-tabmenu {
	margin-left: 0;
}
/* desc */
.cbi-section-descr {
    padding: 3px 10px;
}
.cbi-map-descr {
    padding: 5px 5px 5px 12px;
}
.cbi-map-descr h3 {
    font-size: 0.92rem;
    font-weight: normal;
    color: #666;
}
#cbi-vsftpd .cbi-map-descr {
    color: var(--activeColor);
    padding: 0 12px 0px 12px;
    font-size: 1.2rem;
    font-weight: bold;
}
.cbi-map-descr + fieldset {
	margin-top: 1rem;
}
.cbi-section > legend {
	display: none !important;
}
fieldset > fieldset,
.cbi-section > .cbi-section {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}
.cbi-section > h3:first-child,
.panel-title {
    width: 100%;
    display: block;
    padding: 10px;
    font-weight: bold;
    font-size: 1rem;
}
.cbi-section > h4:first-child,
.cbi-section > p:first-child,
[data-tab-title] > h3:first-child,
[data-tab-title] > h4:first-child,
[data-tab-title] > p:first-child {
	padding-top: 1rem;
}
table,
.table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    border: 0px solid #eee;
}
table > tbody > tr > td,
table > tbody > tr > th,
table > tfoot > tr > td,
table > tfoot > tr > th,
table > thead > tr > td,
table > thead > tr > th,
.table > .tbody > .tr > .td,
.table > .tbody > .tr > .th,
.table > .tfoot > .tr > .td,
.table > .tfoot > .tr > .th,
.table > .thead > .tr > .td,
.table > .thead > .tr > .th,
.table > .tr > .td.cbi-value-field,
.table > .tr > .th.cbi-section-table-cell {
    padding: 12px;
    white-space: nowrap;
    line-height:1.5;
    vertical-align: middle !important;
}
.container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
	padding: .6rem;
}
.cbi-section-table-cell {
	line-height: 1.1;
	align-self: flex-end;
	flex: 1 1 auto;
}
table > tr {
    border-bottom: var(--cbilineColor) !important;
}
table > tr:last-child {
    border-bottom: none !important;
}
#cbi-wireless .td,
#cbi-network .tr:first-child > .td,
.table[width="100%"] > .tr:first-child > .td,
[data-page="admin-network-diagnostics"] .tr > .td,
.tr.table-titles > .th,
.tr.cbi-section-table-titles > .th {
	border-top: 0 !important;
}
.table[width="100%"] > .tr:first-child > .td {
	margin: auto 0;
}
.cbi-section-table-row {
    text-align: center;
}
.cbi-section-table-row:last-child {
	margin-bottom: 0;
}
.cbi-section-table-row > .cbi-value-field .cbi-dropdown,
.cbi-section-table-row > .cbi-value-field .cbi-input-select,
.cbi-section-table-row > .cbi-value-field .cbi-input-text,
.cbi-section-table-row > .cbi-value-field .cbi-input-password {
	width: 100%;
}
.cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
.cbi-section-table-row > .cbi-value-field input.cbi-input-password {
	width: calc(100% - 1.5rem);
}
.cbi-section-table-row .td {
	text-align: center !important;
}
/* div > table > tbody > tr:nth-of-type(2n),
div > .table > .tr:nth-of-type(2n) {
	background-color: #f9f9f9;
} */
/* fix multiple table */
table table,
.table .table,
.cbi-value-field table,
.cbi-value-field .table,
td > table > tbody > tr > td,
.td > .table > .tbody > .tr > .td,
.cbi-value-field > table > tbody > tr > td,
.cbi-value-field > .table > .tbody > .tr > .td {
	border: 0;
}
/* button style */
.cbi-button, .btn {
    -webkit-appearance: none;
    text-transform: uppercase;
    color: #fff;
    background-color: #337ab7;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    border: none;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    background-image: none;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: auto !important;
    min-width: 80px;
    padding: 0px 8px 0px 8px;
    /* max-width: 160px; */
    height: 35px;
    line-height: 35px;
    border-radius: 8px;
}
.cbi-button:hover,
.cbi-button:focus,
.cbi-button:active {
    color: #fff;
    outline: 0;
    text-decoration: none;
    background-color: rgb(106,101,214);
}
.cbi-button:hover,
.cbi-button:focus {
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.cbi-button:active {
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.cbi-button:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.60;
    box-shadow: none;
}
form.inline + form.inline,
.cbi-button + .cbi-button {
}
.cbi-button-reset,
.cbi-input-remove {
    color: #fff !important;
    background-color: #617486 !important;
}
.cbi-button-reset:hover,
.cbi-input-remove:hover,
.cbi-button-remove:hover{
    color: #fff !important;
    background-color: rgb(83,100,115) !important;
}
.cbi-button-link,
.cbi-input-find,
.cbi-input-save,
.cbi-button-add,
.cbi-button-save,
.cbi-button-find,
.cbi-input-reload,
.cbi-button-reload {
    color: var(--bttextColor);
    background-color: rgb(0,171,232) !important;
    border-color: rgb(0,171,232) !important;
}
.cbi-button-link:hover,
.cbi-input-find:hover,
.cbi-input-save:hover,
.cbi-button-add:hover,
.cbi-button-save:hover,
.cbi-button-find:hover,
.cbi-input-reload:hover,
.cbi-button-reload:hover{
    color: #fff !important;
    background-color: #337ab7 !important;
    border-color: #337ab7 !important;
}
.cbi-input-apply,
.cbi-button-apply,
.cbi-button-edit {
    color: #fff !important;
    background-color: var(--activeColor);
}
[data-page="admin-status-iptables"] .right {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}
.cbi-button:not(select) {
    -webkit-appearance: none !important;
}
.cbi-input-reset,
.cbi-button-remove,
.cbi-button-neutral.down{
    color: #fff !important;
    background: #617486;
}
.a-to-btn {
    text-decoration: none;
}
.cbi-page-actions .cbi-button-link:first-child {
	float: left;
}
.a-to-btn {
	text-decoration: none;
}
.cbi-value-field .cbi-button-add {
	font-weight: bold;
	margin: 4px 3px;
	padding: 1px 6px;
}
.tabs {
    margin: 15px 0;
    overflow-x: auto;
}
.tabs > li,
.cbi-tabmenu > li {
	display: inline-block;
	padding: .55rem 0;
	cursor: pointer;
}
.tabs > li {
	padding-bottom: .4rem;
	border-bottom: .2rem solid transparent;
}
.tabs > li:hover {
	cursor: pointer;
	border-bottom-color: #c9c9c9;
}
.tabs > li > a {
    text-decoration: none;
    padding: 0 6px 0 6px;
    float: left;
    display: block;
    white-space: nowrap;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 0.92rem;
}
.cbi-tabmenu > li > a {
    text-decoration: none;
    float: left;
    display: block;
    white-space: nowrap;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 0.92rem;
    margin: 0 10px;
}
.cbi-tabmenu > li {
    border-radius: var(--tabmenuRadius);
}
.cbi-tabmenu > li, .tabs > li {
    display: table-cell;
}
.tabs > li[class~="active"] > a {
    color: var(--activeColor) !important;
    padding-bottom: 8px;
    border-bottom: var(--activeColor) 2px solid;
}
.tabs > li[class~="active"],
.tabs > li:hover{
    cursor: pointer;
}
.cbi-tabmenu {
    border-top: var(--sectiontabBorder);
    border-left: var(--tabmenuBorderLR);
    border-right: var(--tabmenuBorderLR);
    border-bottom: var(--tabmenuBottom);
    background-color: var(--tabmenubgColor);
    width: 100%;
    overflow-x: auto;
    margin-top: 5px;
    margin-bottom: 10px;
}
.cbi-tabmenu > li:hover {
    background-color: none;
}
.cbi-tabmenu > li[class~="cbi-tab"] a {
    color: var(--activeColor);
    border-bottom: 2px solid var(--activeColor);
}
.cbi-section .cbi-section-remove:nth-of-type(2n),
.container > .cbi-section .cbi-section-node:nth-of-type(2n) {
	background-color: var(--cbilineColor);
}
[data-tab-title] {
	overflow: hidden;
	height: 0;
	opacity: 0;
	margin: 0;
	padding: 0rem 1rem !important;
}
[data-tab-active="true"] {
    overflow: auto;
    height: auto;
    opacity: 1;
    transition: opacity .25s ease-in;
    margin: inherit !important;
    display: block;
    /* padding: 12px; */
    border-radius: 8px;
    /* box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); */
    /* background-color: var(--bgwhite); */
}
.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
	/* background-color: #f9f9f9; */
}
.cbi-section-node-tabbed {
    margin-top: 0;
    border-bottom: var(--sectiontabBorder);
    border-left: var(--sectiontabBorder);
    border-right: var(--sectiontabBorder);
    border-radius: 0 0;
}
.cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
	/* background-color: #f9f9f9; */
}
.cbi-value-field {
    width: 65%;
}
.cbi-value-field,
.cbi-value-description {
    display: table-cell;
}
.cbi-value-description {
	font-size: small;
	padding-top: .4rem;
	opacity: .5;
}
.cbi-value-title {
    word-wrap: break-word;
    display: table-cell;
    width: 35%;
    float: left; 
    padding: 13px 10px 5px 3px;
}
.cbi-value {
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    min-height: 40px;
    padding: 8px 10px;
    flex-flow:row wrap;
    border-bottom: var(--cbilineColor);
}
.cbi-value:last-child {
    border-bottom: none;
}
.cbi-value ul {
	line-height: 1.25;
}
.cbi-value strong {
    font-weight: normal;
}
.cbi-value-field .cbi-dropdown,
.cbi-value-field .cbi-input-select,
.cbi-value input[type="text"],
.cbi-value input[type="password"] {
	width: 100%;
}
#cbi-firewall-zone .cbi-input-select,
#cbi-network-switch_vlan .cbi-input-select {
	min-width: 11rem;
}
#cbi-network-switch_vlan .cbi-input-text {
	max-width: 3rem;
}
.cbi-input-invalid {
	color: #f00;
	border-bottom-color: #f00;
}
.cbi-section-error {
	font-weight: bold;
	line-height: 1.42857143;
	margin: 18px;
	padding: 6px;
	border: thin solid #f00;
	border-radius: 3px;
	background-color: #fce6e6;
}
.cbi-section-error ul {
	margin: 0 0 0 20px;
}
.cbi-section-error ul li {
	font-weight: bold;
	color: #f00;
}
.td[data-title]::before {
	font-weight: bold;
	display: none;
	padding: .25rem 0;
	content: attr(data-title) ":\20";
	text-align: left;
	white-space: nowrap;
}
.tr.placeholder .td[data-title]::before {
	display: none;
}
.tr[data-title]::before,
.tr.cbi-section-table-titles.named::before {
	font-weight: bold;
	display: table-cell;
	align-self: center;
	flex: 1 1 5%;
	padding: .25rem;
	content: attr(data-title) "\20";
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	word-wrap: break-word;
}
.cbi-rowstyle-2 {
    background-color: var(--sectionbgColor2);
}
.cbi-rowstyle-2 .cbi-button-up,
.cbi-rowstyle-2 .cbi-button-down{
}
.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
	width: auto !important;
}
.td.cbi-section-actions {
	text-align: right !important;
	vertical-align: middle;
}
.td.cbi-section-actions > * {
	/* display: inline-flex; */
}
.td.cbi-section-actions > * > *,
.td.cbi-section-actions > * > form > * {
	margin: 0 5px;
}
.td.cbi-section-actions > * > form {
	display: inline-flex;
	margin: 0;
}
/* lists */
.cbi-dynlist {
	line-height: 1.3;
	flex-direction: column;
	min-height: 30px;
	cursor: text;
}
.cbi-dynlist > .item {
	position: relative;
	max-width: 25rem;
	margin-right: 2em;
	padding: .5em .25em .25em 0;
	pointer-events: none;
	color: #666;
	border-bottom: 2px solid rgba(0, 0, 0, .26);
	outline: 0;
}
.cbi-dynlist[name="sshkeys"] > .item {
	max-width: none;
}
.cbi-dynlist > .item::after {
	font-weight: bold;
	position: absolute;
	right: -2em;
	bottom: 0;
	display: inline-flex;
	min-height: 17px;
	padding: 0 6px;
	content: "\00D7";
	pointer-events: auto;
	color: #fff;
	border: thin solid #d43f3a;
	background-color: #d9534f;
}
.cbi-dynlist > .item > span {
	white-space: normal;
	word-break: break-word;
}
.cbi-dynlist > .add-item {
	display: inline-flex;
	align-items: center;
	width: 100%;
	min-width: 16rem;
}
.cbi-dynlist > .add-item:not([ondrop]) > input {
	overflow: hidden;
	width: 100%;
	min-width: 15rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cbi-dynlist > .add-item[ondrop] > input {
	min-width: 13rem;
}
.cbi-dynlist,
.cbi-dropdown {
	position: relative;
	display: inline-flex;
	padding: 0;
}
.cbi-dropdown[placeholder*="select"] {
	max-width: 25rem;
	height: auto;
	margin-top: -3px;
}
.cbi-dropdown > ul {
	display: flex;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	outline: 0;
}
.cbi-dropdown > ul.preview {
	display: none;
}
.cbi-dropdown > .open {
	flex-basis: 15px;
}
.cbi-dropdown > .open,
.cbi-dropdown > .more {
	font-size: 1rem;
	font-weight: 900;
	line-height: 2;
	display: flex;
	flex-direction: column;
	flex-grow: 0;
	flex-shrink: 0;
	justify-content: center;
	padding: 0 .25em;
	cursor: default;
	text-align: center;
	outline: 0;
}
.cbi-dropdown.btn {
	min-height: 1.8rem;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
}
.cbi-dropdown.btn > .open {
	font-size: 0.8rem;
	padding: 0px;
	margin: 0 5px;
}
.cbi-dropdown.btn > div {
	margin: 0px;
}
.cbi-dropdown > .more,
.cbi-dropdown > ul > li[placeholder] {
	font-weight: bold;
	display: none;
	color: #777;
	text-shadow: 1px 1px 0 #fff;
}
.cbi-dropdown > ul > li {
	display: none;
	overflow: hidden;
	align-items: center;
	align-self: center;
	flex-grow: 1;
	flex-shrink: 1;
	min-height: 20px;
	padding: .25em;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cbi-dropdown > ul > li .hide-open {
	display: initial;
}
.cbi-dropdown > ul > li .hide-close {
	display: none;
}
.cbi-dropdown > ul > li[display]:not([display="0"]) {
	border-left: thin solid #ccc;
}
.cbi-dropdown > ul > li[data-value*="1"] {
	padding-left: 15px !important;
}
.cbi-dropdown[empty] > ul {
	max-width: 1px;
}
.cbi-dropdown > ul > li > form {
	display: none;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
.cbi-dropdown > ul > li img {
	margin-right: .25em;
	vertical-align: middle;
}
.cbi-dropdown > ul > li > form > input[type="checkbox"] {
	height: auto;
	margin: 0;
}
.cbi-dropdown > ul > li input[type="text"] {
	height: 20px;
}
.cbi-dropdown[open] > ul.dropdown {
	position: absolute;
	z-index: 1100;
	display: block;
	width: auto;
	max-height: 200px !important;
	/* border: thin solid #918e8c; */
	background: var(--activeColor);
	/* box-shadow: 0 0 4px #918e8c; */
	/* color: var(--main-menu-color); */
	text-align: center;
}
.cbi-dropdown > ul > li[display],
.cbi-dropdown[open] > ul.preview,
.cbi-dropdown[open] > ul.dropdown > li,
.cbi-dropdown[multiple] > ul > li > label,
.cbi-dropdown[multiple][open] > ul.dropdown > li,
.cbi-dropdown[multiple][more] > .more,
.cbi-dropdown[multiple][empty] > .more {
	display: flex;
	align-items: center;
	flex-grow: 1;
}
.cbi-dropdown[empty] > ul > li,
.cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
.cbi-dropdown[multiple][open] > ul.dropdown > li > form {
	display: block;
}
.cbi-dropdown[open] > ul.dropdown > li .hide-open {
	display: none;
}
.cbi-dropdown[open] > ul.dropdown > li .hide-close {
	display: initial;
}
/* .cbi-dropdown[open] > ul.dropdown > li {
	border-bottom: thin solid #ccc;
} */
.cbi-dropdown[open] > ul.dropdown > li[selected] {
	background: var(--activeColor);
}
.cbi-dropdown[open] > ul.dropdown > li.focus {
	background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
}
.cbi-dropdown[open] > ul.dropdown > li:last-child {
	margin-bottom: 0;
	border-bottom: 0;
    background: #627486;
}
.cbi-dropdown[open] > ul.dropdown > li[unselectable] {
	opacity: .7;
}
.cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
	width: 100%;
}
.cbi-dropdown[disabled] {
	pointer-events: none;
	opacity: .6;
}
.cbi-dropdown .zonebadge {
	width: 100%;
}
.cbi-dropdown[open] .zonebadge {
	width: auto;
}
/* progressbar */
/* progressbar */
.cbi-progressbar {
    position: relative !important;
    min-width: 11rem !important;
    height: 1.5rem !important;
    margin: 0 0 !important;
    /* border-color: var(--progressbarColor) !important; */
    background-color:var(--progressbarColor) !important;
    border-radius: 5px !important;
    overflow: hidden !important;
}
.cbi-progressbar>div {
    width: 0;
    height: 100% !important;
    transition: width .25s ease-in !important;
    color: var(--progressbartxtColor) !important;
    background: var(--progressbar) !important;
}
.cbi-progressbar::after {
    /* font-weight: bold; */
    /* font-family: monospace; */
    font-size: 0.75rem !important;
    font-size-adjust: .38 !important;
    line-height: 1.5rem !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    content: attr(title) !important;
    text-align: center !important;
    white-space: pre !important;
    text-overflow: ellipsis !important;
}
#modal_overlay {
	position: fixed;
	z-index: 900;
	top: 4rem;
	right: 10000px;
	bottom: 0;
	left: -10000px;
	overflow-y: scroll;
	transition: opacity .125s ease-in;
	opacity: 0;
	background: rgba(0, 0, 0, .7);
	-webkit-overflow-scrolling: touch;
}
.modal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    min-width: 270px;
    max-width: 600px;
    min-height: 32px;
    margin: 5em auto;
    padding: 1em;
    border-radius: 5px !important;
    background: var(--modelBackground);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 16%), 0 0 2px 0 rgb(0 0 0 / 12%);
}
.modal > * {
	line-height: normal;
	flex-basis: 100%;
	margin-bottom: .5em;
	max-width: 100%;
}
.modal > pre,
.modal > textarea {
	font-size: 1rem;
	font-size-adjust: .35;
	overflow: auto;
	margin-bottom: .5em;
	padding: 8.5px;
	cursor: auto;
	white-space: pre-wrap;
	color: #eee;
	outline: 0;
	background-color: #101010;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
}
.modal > h4 {
	margin: .5em 0;
}
.modal ul {
	margin-left: 2.2em;
	word-break: break-word;
}
.modal li {
	list-style-type: square;
	color: #808080;
}
.modal p {
	padding-left: .25rem;
	word-break: break-word;
	color: #fff;
}
.modal label.btn {
	display: flex;
	align-items: center;
	white-space: normal;
	text-align: left;
	text-transform: none;
	padding-bottom: 0.2rem;
	padding-top: 0.2rem;
}
.modal label.warning {
	background-color: #f0ad4e !important;
}
.modal.cbi-modal {
	max-width: 90%;
	max-height: none;
}
body.modal-overlay-active {
	overflow: hidden;
	height: 100vh;
}
body.modal-overlay-active #modal_overlay {
	right: 0;
	left: 0;
	opacity: 1;
}
.spinning {
	position: relative;
	padding-left: 32px !important;
}
.spinning::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: .2em;
	width: 32px;
	content: "";
	/* background: url(../resources/icons/loading.gif) no-repeat center; */
	background-size: 16px;
}
/* luci */
.hidden {
	display: none;
}
.left,
.left::before {
	text-align: left !important;
}
.right .cbi-button {
    /* height: 20px; */
    line-height: 20px;
/*     min-width: 100px; */
    margin: 0;
}
.right,
.right::before {
	text-align: right !important;
}
.center,
.center::before {
	text-align: center !important;
}
.top {
	align-self: flex-start !important;
	/* vertical-align: top !important; */
}
.bottom {
	align-self: flex-end !important;
	vertical-align: bottom !important;
}
.inline {
	display: inline;
}
.cbi-page-actions {
    text-align: center;
}
.cbi-page-actions > form[method="post"] {
	display: inline-block;
}
.th[data-type="button"],
.td[data-type="button"],
.th[data-type="fvalue"],
.td[data-type="fvalue"] {
	flex: 1 1 2em;
	text-align: center;
}
.ifacebadge {
	display: inline-flex;
	gap: .2rem;
	padding: .5rem .8rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}
td > .ifacebadge,
.td > .ifacebadge {
	font-size: .8rem;
	background-color: var(--activeColor);
	color: white;
	border-radius: 8px;
}
.ifacebadge > em,
.ifacebadge > img {
	display: inline-block;
	align-self: flex-start;
}
.network-status-table {
	display: flex;
	flex-wrap: wrap;
}
.network-status-table .ifacebox {
	flex-grow: 1;
	margin: .5em;
}
.network-status-table .ifacebox-body {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.network-status-table .ifacebox-body > span {
	flex: 10 10 auto;
	height: 100%;
}
.network-status-table .ifacebox-body > div {
	display: flex;
	flex-wrap: wrap;
}
.network-status-table .ifacebox-body .ifacebadge {
	align-items: center;
	flex: 1 1 auto;
	min-width: 220px;
	margin: .5em .25em 0 .25em;
	padding: .5em;
}
/* textarea */
#content_syslog {
    padding: 5px;
    margin-top:10px;
    border-radius: 8px;
    background-color: var(--sectionbgColor);
    box-shadow: 3px 3px 3px rgb(0 0 0 / 5%);
}
/*textarea*/
.cbi-input-textarea, textarea {
    color: var(--inputtextColor);
    padding: 10px;
    line-height: normal;
    border: var(--sectionBorder);
    background-color: var(--inputbgColor);
    transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    outline-style: none;
    vertical-align: baseline;
    border-radius: 8px;
    font-family: Menlo, Mono;
    font-size: 0.9rem;
    white-space: pre;
    margin-bottom: 5px;
}
/* fix .cbi-input-textarea, textarea { */ 
.node-admin-system-system .cbi-input-textarea {
    max-width: 550px;
}
#syslog {
    width: 100%;
    min-height: 15rem;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 0;
    background-color: var(--sectionbgColor);
    border: none;
}
#syslog:focus {
	outline: 0;
}
/* config changes */
.uci-change-list {
    font-family: monospace;
}
.uci-change-list ins,
.uci-change-legend-label ins {
    text-decoration: none;
    border: 1px solid #00FF00;
    background-color: #CCFFCC;
    display: block;
    padding: 2px;
    color: black;
    /* border-radius: 8px; */
    overflow-x: auto;
}
.uci-change-list del,
.uci-change-legend-label del {
    text-decoration: none;
    border: 1px solid #FF0000;
    background-color: #FFCCCC;
    display: block;
    font-style: normal;
    padding: 2px;
    color:black;
    /* border-radius: 8px; */
    overflow-x: auto;
}
.uci-change-list var,
.uci-change-legend-label var {
    text-decoration: none;
    border: 1px solid #CCCCCC;
    background-color: #EEEEEE;
    display: block;
    font-style: normal;
    padding: 2px;
    color:black;
    /* border-radius: 8px; */
    overflow-x: auto;
}
.uci-change-list var ins,
.uci-change-list var del {
    border: none;
    white-space: pre;
    font-style: normal;
    padding: 0px;
    color:black;
    /* border-radius: 8px; */
    overflow-x: auto;
}
.uci-change-legend {
	padding: 5px;
}
.uci-change-legend-label {
	float: left;
	width: 150px;
}
.uci-change-legend-label > ins,
.uci-change-legend-label > del,
.uci-change-legend-label > var {
	display: block;
	float: left;
	width: 10px;
	height: 10px;
	margin-right: 4px;
}
.uci-change-legend-label var ins,
.uci-change-legend-label var del {
	line-height: .4;
	border: 0;
}
.uci-change-list var,
.uci-change-list del,
.uci-change-list ins {
    padding: 0.5rem;
}
/* other fix */
#iwsvg,
#iwsvg2,
#bwsvg {
	border: thin solid #d4d4d4 !important;
}
#iwsvg,
[data-page="admin-status-realtime-bandwidth"] #bwsvg {
	border-top: 0 !important;
}
.ifacebox {
	line-height: 1.25;
	display: inline-flex;
	flex-direction: column;
	min-width: 100px;
	/* border-bottom: thin solid #666; */
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
}
.ifacebox-head {
	padding: .25em;
	background: #eee;
}
.ifacebox-head.active {
	background: #5bc0de;
	background: var(--bar-bg);
}
.ifacebox-body {
	padding: .25em;
}
.cbi-image-button {
	margin-left: .5rem;
}
.zonebadge {
	display: inline-block;
	padding: .2rem .5rem;
}
.zonebadge .ifacebadge {
	margin: .1rem .2rem;
	padding: .2rem .3rem;
	border: thin solid #6c6c6c;
}
.zonebadge > input[type="text"] {
	min-width: 10rem;
	margin-top: .3rem;
	padding: .16rem 1rem;
}
.zonebadge > em,
.zonebadge > strong {
	display: inline-block;
	margin: 0 .2rem;
}
.cbi-value-field .cbi-input-checkbox,
.cbi-value-field .cbi-input-radio {
	margin-top: .1rem;
}
.cbi-value-field > ul > li {
	display: flex;
}
.cbi-value-field > ul > li > label {
	margin-top: .5rem;
}
.cbi-value-field > ul > li .ifacebadge {
	margin-top: -.5rem;
	margin-left: .4rem;
	background-color: #eee;
}
.cbi-section-table-row > .cbi-value-field .cbi-dropdown {
	min-width: 7rem;
}
.cbi-section-create {
	display: inline-flex;
	align-items: center;
	margin: .5rem -3px;
}
.cbi-section-create > * {
	margin: .5rem;
}
.cbi-section-remove {
	padding: .5rem;
}
div.cbi-value var,
td.cbi-value-field var,
.td.cbi-value-field var {
	font-style: italic;
	color: #0069d6;
}
.cbi-optionals {
	padding: 1rem 1rem 0 1rem;
	border-top: thin solid #ccc;
}
.cbi-dropdown-container {
	position: relative;
}
.cbi-tooltip-container,
span[data-tooltip],
span[data-tooltip] .label {
	cursor: help !important;
}
.cbi-tooltip {
	position: absolute;
	z-index: 1000;
	left: -1000px;
	padding: 2px 5px;
	transition: opacity .25s ease-out;
	white-space: pre;
	pointer-events: none;
	opacity: 0;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 0 2px #444;
}
.cbi-tooltip-container:hover .cbi-tooltip {
	left: auto;
	transition: opacity .25s ease-in;
	opacity: 1;
}
.zonebadge .cbi-tooltip {
	margin: -1.5rem 0 0 -.5rem;
	padding: .25rem;
	background: inherit;
}
.zonebadge-empty {
	color: #404040;
	background: repeating-linear-gradient(45deg, rgba(204, 204, 204, .5), rgba(204, 204, 204, .5) 5px, rgba(255, 255, 255, .5) 5px, rgba(255, 255, 255, .5) 10px);
}
.zone-forwards {
	display: flex;
	min-width: 10rem;
}
.zone-forwards > * {
	flex: 1 1 45%;
}
.zone-forwards > span {
	flex-basis: 10%;
	padding: 0 .25rem;
	text-align: center;
}
.zone-forwards .zone-src,
.zone-forwards .zone-dest {
	display: flex;
	flex-direction: column;
}
.label,
[data-indicator] {
	/* font-size: .8rem; */
	font-weight: bold;
	padding: .3rem .8rem;
	white-space: nowrap;
	text-decoration: none;
	text-transform: uppercase;
	/* color: #fff !important; */
	border-radius: 3px;
    background-color: var(--bgwhite);
	text-shadow: none;
}
label > input[type="checkbox"],
label > input[type="radio"] {
	margin-right: 0.8rem;
}
label[data-index][data-depends] {
	padding-right: 2em;
}
.showSide {
	display: none;
}
.darkMask {
	position: fixed;
	z-index: 99;
	width: 100%;
	height: 100%;
	content: "";
	background-color: rgba(0, 0, 0, .56);
	transition: opacity 400ms, visibility 400ms;
	visibility: hidden;
	opacity: 0;
}
/* diagnostics */
#diag-rc-output > pre,
#command-rc-output > pre,
[data-page="admin-services-wol"] .notice code {
	font-size: 1.2rem;
	font-size-adjust: .35;
	line-height: normal;
	display: block;
	overflow-y: hidden;
	width: 100%;
	padding: 8.5px;
	white-space: pre;
	color: #eee;
	background-color: #101010;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
}
[data-page="admin-network-diagnostics"] .table {
	box-shadow: none;
}
input[name="ping"],
input[name="traceroute"],
input[name="nslookup"] {
	width: 80%;
}
/* fix Main Login */
.node-main-login {
    text-align: center;
    background-color: var(--bgwhite) !important;
}
.node-main-login .cbi-section-node > .cbi-value:nth-of-type(2n) {
    background: none;
}
.node-main-login h2 {
    font-size: 1.5rem;
}
.node-main-login header {
    display: none;
}
.node-main-login .navbar {
    display: none;
}
.node-main-login > .main > .main-left {
    display: none;
}
.node-main-login > .main > .main-right {
    width: 100%;
}
.node-main-login > .main div.cbi-section {
    /* padding: 0px !important; */
    margin-bottom: 1rem;
    display: inline;
    background: none;
    border: none;
    box-shadow: none;
    overflow: hidden;
}
.node-main-login > .main label.cbi-value-title {
    display: none !important;
}
.node-main-login > .main .cbi-section {
    margin-top: 10px !important;
}
.node-main-login > .main .cbi-map {
}
.node-main-login > .main div.cbi-section .cbi-value {
}
.node-main-login > .main div.cbi-section .cbi-value-title {
    padding: 10px 0 10px 5px !important;
}
.node-main-login > .main .cbi-value {
    border: none;
}
.node-main-login > .main .cbi-value-title {
    width: 7rem;
}
.node-main-login > .main #maincontent {
    display: flex;
    height: 100%;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
/* .node-main-login > .main .container {
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-size: 300px auto;
    width: 300px;
    padding: 80px 0 0 0;
} */
.node-main-login > .main form > div:nth-last-child(1) {
}
.node-main-login > .main .cbi-value > * {
    display: inline-block !important;
}
/* .node-main-login > .main .cbi-input-user,
.node-main-login > .main .cbi-input-password {
    min-width: 15rem;
} */
.node-main-login > .main .cbi-input-text {
    min-width: 15rem;
}
.node-main-login footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}
/* fix system reboot */
.node-system-reboot > .main > .main-right p,
.node-system-reboot > .main > .main-right h3 {
    margin-left: 12px;
}
.node-main-login > .main .cbi-section {
    margin-top: 10px !important;
}
.node-main-login > .main .cbi-map {
}
.node-main-login > .main div.cbi-section .cbi-value {
}
.node-main-login > .main div.cbi-section .cbi-value-title {
    padding: 10px 0 10px 5px !important;
}
.node-main-login > .main .cbi-value {
    border: none;
}
.node-main-login > .main .cbi-value-title {
    width: 7rem;
}
.node-main-login > .main #maincontent {
    display: flex;
    height: 100%;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
/* .node-main-login > .main .container {
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-size: 300px auto;
    width: 300px;
    padding: 80px 0 0 0;
} */
.node-main-login > .main form > div:nth-last-child(1) {
}
.node-main-login > .main .cbi-value > * {
    display: inline-block !important;
}
/* .node-main-login > .main .cbi-input-user,
.node-main-login > .main .cbi-input-password {
    min-width: 15rem;
} */
.node-main-login > .main .cbi-input-text {
    min-width: 15rem;
}
.node-main-login footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}
/* fix status */
.node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2),
.node-status-processes > .main .table .tr .td:nth-child(3) {
	white-space: normal;
}
/* fix system reboot */
[data-page="admin-system-reboot"] p {
	padding-left: 2rem;
}
[data-page="admin-system-reboot"] p > span {
	position: relative;
	top: .1rem;
	left: 1rem;
}
/* samba */
#cbi-samba [data-tab="template"] .cbi-value-field {
	display: block;
}
#cbi-samba [data-tab="template"] .cbi-value-title {
	width: auto;
	padding-bottom: .6rem;
}
/* software */
.controls > * > .btn:not([aria-label$="page"]) {
	flex-grow: initial !important;
	margin-top: .1rem;
}
.controls > #pager > .btn[aria-label$="page"] {
	font-size: 1.4rem;
	font-weight: bold;
}
.controls > * > label {
	margin-bottom: .2rem;
}
.control-group {
	/* display: flex; */
	flex-wrap: wrap;
	gap: 8px;
}
[data-page="admin-system-opkg"] div.btn {
	line-height: 3;
	display: inline;
	padding: .3rem .6rem;
}
/* 
[data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
[data-page="admin-system-opkg"] #maincontent > .container {
	margin-top: 2rem;
	padding-top: .1rem;
} */
[data-page="admin-system-opkg"] #maincontent > .container {
	margin: 2rem;
	margin-bottom: 1rem;
    border-radius: 8px;
}
.td.version,
.td.size {
	white-space: normal !important;
	word-break: break-word;
}
.cbi-tabmenu + .cbi-section {
	margin-top: 0;
}
/* wireless overview */
#cbi-wireless > #wifi_assoclist_table > .tr {
	box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
}
#cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
	right: 33px;
	bottom: 33px;
	left: 33px;
	border-top: thin solid #ddd !important;
}
#cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
	box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
}
#cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
	border-bottom: thin solid #ddd;
	box-shadow: 0 -1px 0 0 #ddd;
}
#wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
	width: 23rem;
}
/* firewall */
#iptables {
	margin: 0;
}
.Firewall form {
	margin: 2rem 2rem 0 0;
	padding: 0;
	box-shadow: none;
}
#cbi-firewall-redirect table *,
#cbi-network-switch_vlan table *,
#cbi-firewall-zone table * {
	font-size: small;
}
#cbi-firewall-redirect table input[type="text"],
#cbi-network-switch_vlan table input[type="text"],
#cbi-firewall-zone table input[type="text"] {
	width: 5rem;
}
#cbi-firewall-redirect table select,
#cbi-network-switch_vlan table select,
#cbi-firewall-zone table select {
	min-width: 3.5rem;
}
#cbi-network-switch_vlan .th,
#cbi-network-switch_vlan .td {
	flex-basis: 12%;
}
#cbi-firewall-zone .table,
#cbi-network-switch_vlan .table {
	display: block;
}
#cbi-firewall-zone .td,
#cbi-network-switch_vlan .td {
	width: 100%;
}
/* applyreboot fix */
#applyreboot-container {
	margin: 2rem;
}
#applyreboot-section {
	line-height: 300%;
	margin: 2rem;
}
/* openvpn bug fix */
.OpenVPN a {
	line-height: initial !important;
}
/* custom commands */
.commandbox {
	width: 24% !important;
	margin: 10px 0 0 10px !important;
	padding: .5rem 1rem;
	border-bottom: thin solid #ccc;
	background: #eee;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}
.commandbox h3 {
	line-height: normal !important;
	overflow: hidden;
	margin: 6px 0 !important;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.commandbox div {
	left: auto !important;
}
.commandbox code {
	position: absolute;
	overflow: hidden;
	max-width: 60%;
	margin-left: 4px;
	padding: 2px 3px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.commandbox code:hover {
	overflow-y: auto;
	max-height: 50px;
	white-space: normal;
}
.commandbox p:first-of-type {
	margin-top: -6px;
}
.commandbox p:nth-of-type(2) {
	margin-top: 2px;
}
[data-page^="admin-system-commands"] .panel-title,
[data-page^="command-cfg"] .mobile-hide,
[data-page^="command-cfg"] .showSide {
	display: none;
}
#command-rc-output .alert-message {
	line-height: 1.42857143;
	position: absolute;
	top: 40px;
	right: 32px;
	max-width: 40%;
	margin: 0;
	animation: anim-fade-in 1.5s forwards;
	word-break: break-word;
	opacity: 0;
}
@keyframes anim-fade-in {
	100% {
		opacity: 1;
	}
}
/* IE hacks */
/* @media all and (-ms-high-contrast: none) {
	.main > .main-left > .nav > .slide > .menu::before {
		top: 30.25%;
	}
	.main > .main-left > .nav > li:last-child::before {
		top: 20%;
	}
	.showSide::before {
		top: -12px;
	}
} */
@media screen and (max-width: 1280px) {
    header {
        /*height: 3.5rem;*/
    }
    header > .container {
        /*margin-top: 0.25rem;*/
    }
    .main {
        height: calc(100% - 3.5rem);
    }
    .main-left {
        width: calc(0% + 17rem);
        top: 50px;
    }
    .main-right {
        width: calc(100% - 17rem);
    }
    table {
        font-size: 0.9rem !important;
        width: 100% !important;
    }
    .main > .main-left > .nav > li,
    .main > .main-left > .nav > li a,
    .main > .main-left > .nav > .slide > .menu {
        font-size: 1.1rem;
    }
    .main > .main-left > .nav > .slide > .slide-menu > li > a {
        font-size: 1rem;
        text-transform: capitalize;
    }
    img[src*="/luci-static/resources/cbi/add.gif"] {
        right: 55px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/remove.gif"] {
        right: 55px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/reload.gif"] {
        right: 55px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    /* fix nlbw component */
    #detail-bubble {
        /* left: unset !important; */
        width: unset!important;
    }
    #detail-bubble.in {
        color: #000;
        padding-bottom: calc(60px +  env(safe-area-inset-bottom));
        left: 19rem !important;
        width: calc(100vw - 21.25rem)!important;
    }
    #detail-bubble .head {
        display: block;
        overflow: auto;
    }
    #detail-bubble #bubble-table {
        display: inline-table;
        overflow: auto;
    }
    .node-nlbw-usage table {
        display: block;
        overflow: auto;
    }
}
@media screen and (max-width: 992px) {
    /* img[src*="/images/logo.png"] {
    background-color: var(--mainleftbgColor);
    height: 50px;
    background-image: var(--mlogo);
    background-size: 310px;
    background-repeat: no-repeat;
    padding: 0 0 0 310px;
    width: 0;
    margin: 0;
    background-position: 0;
    } */
    .main-left {
        width: 17rem;
        position: fixed;
        z-index: 100;
    }
    .main-right {
        width: 100%;
    }
    .showSide {
        margin: 0;
        padding: 0;
        display: inline-block;
        position: absolute;
        width: 300px;
        height: 50px;
        padding: 17px 27px;
    }
    .showSide:before {
        content: "\e20e";
        font-size: 1.7rem;
	font-family: 'icomoon';
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    #maincontent > .container {
        margin: 20px 20px;
    }
    .node-main-login .showSide {
        display: none !important;
    }
    .cbi-value-title {
        width:35%;
    }
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div * {
        width: 100% !important;
    }
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="text"] {
    }
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div:nth-child(4) input[type="text"] {
        margin: 0 !important;
    }
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div select,
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div input[type="button"] {
        margin: 1rem 0 0 0;
    }
    .node-network-diagnostics > .main .cbi-map div.cbi-section > div {
        width: 100% !important;
    }
    .node-main-login > .main .cbi-value-title {
        text-align: left;
    }
    img[src*="/luci-static/resources/cbi/add.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/remove.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/reload.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    /*  fix nlbw component */
    #detail-bubble {
        left: unset !important;
        width: unset!important;
    }
    #detail-bubble.in {
        color: #000;
        padding-bottom: calc(60px +  env(safe-area-inset-bottom));
        left: unset !important;
        width: calc(100vw)!important;
    }
    #detail-bubble .head {
        display: block;
        overflow: auto;
        /* text-align: unset !important; */
    }
    #detail-bubble #bubble-table {
        display: inline-table;
        overflow: auto;
    }
}
@media screen and (max-width: 700px) {
    #cbi-vssr-servers .cbi-button-add {
        position: static !important; 
        width: auto !important; 
        height: 2rem !important;
        line-height: 2rem !important;
        color: #fff; 
        display: block; 
        padding: 0 !important;
        font-size: 0.92rem;
        border-radius: 10px !important;
        box-shadow: none ;
        background-image: none;
    }
	#cbi-vssr-servers .cbi-section-table-row {
		margin:10px 0 !important;
	}
    #cbi-vssr-servers .p-in5 {
        padding-bottom: 10px !important;
        margin: 0 !important;
    }
    #cbi-vssr-servers .cbi-page-actions {
        padding-bottom: 10px !important;
    }
    #maincontent > .container {
        margin: 20px 20px;
    }
    /*  fix nlbw component */
    #detail-bubble {
        left: unset !important;
        width: unset!important;
    }
    #detail-bubble.in {
        color: #000;
        padding-bottom: calc(60px +  env(safe-area-inset-bottom));
        left: unset !important;
        width: calc(100vw)!important;
    }
    #detail-bubble .head {
        display: block;
        overflow: auto;
        /* text-align: unset !important; */
    }
    #detail-bubble #bubble-table {
        display: inline-table;
        overflow: auto;
    }
}
@media screen and (max-width: 470px) {
    /*  fix nlbw component */
    #detail-bubble {
        left: unset !important;
        width: unset!important;
    }
    #detail-bubble.in {
        color: #000;
        padding-bottom: calc(60px +  env(safe-area-inset-bottom));
        left: unset !important;
        width: calc(100vw)!important;
    }
    #detail-bubble .head {
        display: block;
        overflow: auto;
        /* text-align: unset !important; */
    }
    #detail-bubble #bubble-table {
        display: block;
        overflow: auto;
    }
    .node-admin-status-routes #view table,
	.node-admin-status-processes #view table,
	.node-admin-status-realtime-connections #view table[id*=connections] {
	    display: block;
        white-space: nowrap;
	}
}
@media screen and (max-width: 400px) {
    .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child {
        width: 40%;
    }
}
@media screen and (max-width: 370px) {
    div.cbi-section {
    /* overflow-x: auto; */
    }
    select {
        width: 100%;
    }
    .label {
        position: absolute;
        right: 5px;
        top: -70px;
    }
    header {
        height: 55px;
    }
    h3 {
        padding: 0 10px 10px 10px;
    }
    /* img[src*="/images/logo.png"]
    {    
    height: 45px;
    background-image: var(--mlogo);
    background-size: 310px;
    background-repeat: no-repeat;
    padding: 0 0 0 310px;
    width: 0;
    margin: 0;
    background-position: 0;
    } */
    .showSide {
        height: 45px;
    }
    #maincontent > .container {
        margin: 20px 20px;
    }
    .main {
        top: 45px;
    }
    .main-left{
        top: 45px;
    }
    .main > .main-left > .nav > .slide > .menu {
    }
    .main > .main-left > .nav > .slide > .slide-menu > li > a {
    }
    .cbi-value {
    margin-bottom: 20px;
    display: table;
    padding: 0px;
    border-bottom: none;
    }
    .cbi-value-title {
        width: 100%;
        font-weight: 700;
        float: left;
        padding: 0;
        margin: 0;
        margin-bottom: .25rem;
    }
    
    .cbi-section-node {
        padding: 10px !important;
    }
	
    .cbi-value-description {
        width: 100%;
        display: block;
    }
    .cbi-value > .cbi-value-field {
        display: block;
        float: left;
        width: 100%;
    }
    img[src*="/luci-static/resources/cbi/add.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/remove.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    img[src*="/luci-static/resources/cbi/reload.gif"] {
        right: 45px;
        display: block;
        position: absolute;
        margin-top: -34px;
    }
    .cbi-section-node > .cbi-value:nth-of-type(2n) {
        background-color: var(--sectionbgColor);
    }
    .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
        background-color: var(--sectionbgColor);
    }
    div > .cbi-value:nth-of-type(2n) {
        background-color: var(--sectionbgColor);
    }
    .node-main-login > .main .cbi-value {
        padding: 0;
    }
    .node-main-login > .main form > div:nth-last-child(1) {
        margin-top: 2rem;
    }
    .node-main-login > .main div.cbi-section {
        margin: 0;
        padding: 0.5rem;
    }
    #container\.network\.lan\.physical .cbi-value-title,
    #cbi-network-1-_ifname .cbi-value-title
    {
        width: 35%;
    }
    #cbi-network-1-_ifname .cbi-value-field
    {
        width: 65%;
    }
    h2 {
        font-size: 1.2rem;
        text-transform: capitalize;
    }
    select,
    input {
        /* max-width: 200px; */
    }
    input[type='checkbox'] {
    height: 1.2rem !important;
    width: 1.2rem !important;
    }
    #swaptotal div div small,
    #swapfree div  div small,
    #swapcache  div div small,
    #memfree div div small,
    #membuff div div small,
    #conns div div small,
    #memcache div div small,
    #memtotal div div small{
    }
    #swaptotal div div,
    #swapfree div  div,
    #swapcache  div div,
    #memfree div div,
    #membuff div div,
    #conns div div,
    #memcache div div,
    #memtotal div div{
    }
   
    .node-status-iptables > .main div > .cbi-map > form input[type="submit"]{
        margin: 0;
    }
    #cbi-samba-cfg010f89-_tmpl .cbi-value-title{
        width: 15%;
    }
     #cbi-samba-cfg010f89-_tmpl .cbi-value-field{
        width: 95%;        
    }
    /*  fix nlbw component */
    #detail-bubble {
        left: unset !important;
        width: unset!important;
    }
    #detail-bubble.in {
        color: #000;
        padding-bottom: calc(60px +  env(safe-area-inset-bottom));
        left: unset !important;
        width: calc(100vw)!important;
    }
    #detail-bubble .head {
        display: block;
        overflow: auto;
        /* text-align: unset !important; */
    }
    #detail-bubble #bubble-table {
        display: block;
        overflow: auto;
    }
    .node-admin-status-routes #view table,
	.node-admin-status-processes #view table,
	.node-admin-status-realtime-connections #view table[id*=connections] {
	    display: block;
	}
    .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child {
        width: 43%;
    }
}
.navbar {
    z-index: 200;
	overflow: hidden;
	position: fixed;
	bottom: 0;
	width: 100%;
	border-top: var(--navBorder);
	text-align: center;
	height:calc(50px + constant(safe-area-inset-bottom));
	height:calc(50px + env(safe-area-inset-bottom));
	background-color: var(--navbgColor);
	  -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
  }
  
  .navbar a {
	  float: left;
	  text-align: center;
	  padding: 8px 0;
	  width: 20%;
	  text-decoration: none;
	  max-width: 100px;
  }
  .navbar a img {
	width: 28px;
  }
  .cbi-input-apply,
  .cbi-button-apply,
  .cbi-button.cbi-button-positive,
  .cbi-button-edit {
	  color: #fff !important;
	  background-color: var(--activeColor);
  }
td.cbi-button, .cbi-button-apply,
.right .cbi-button {
    font-size: 0.92rem;
    font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif;
    border: var(--inputBorder);
    transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
    outline-style: none;
    vertical-align: middle;
    border-radius: 8px;
    max-width: 550px;
}
/* fix iptables */
.node-admin-status-iptables .right {
    padding: 12px;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgb(0 0 0 / 5%);
    /* background-color: var(--bgwhite); */
}
.node-admin-status-iptables h3 {
	padding: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}
/* fix routes */
.node-admin-status-routes #view p {
    padding: 5px 5px 5px 12px;
}
.node-admin-status-routes #view h3 {
	font-size: 1.1rem;
	line-height: 1;
	display: block;
	width: 100%;
	margin: 0;
	margin-bottom: 0;
	padding: 0.8755rem 1.25rem;
	color: var(--gray-dark);
	border-radius: 0.375rem;
    padding-bottom: unset;
	font-weight: bold;
}
/* fix tables */
.node-admin-status-routes #view table,
.node-admin-status-processes #view table,
.node-admin-status-realtime-connections #view table[id*=connections] {
    /* margin: 10px 0 0 0; */
    padding: 10px;
    border: 1px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-family: inherit;
    text-align: left;
    min-width: inherit;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: var(--sectionbgColor);
    /* box-shadow: var(--sectionShaddow); */
    -webkit-overflow-scrolling: touch;
	border: var(--sectionBorder);
    margin-bottom: 20px;
    border-radius: 8px;
    margin-top: 5px;
    /* display: block; */
}
.node-admin-status-realtime-connections #view table[id*=connections] {
    white-space: nowrap; 
}
/* fix node-admin-status-processe */
.node-admin-status-processe button.btn.cbi-button-action {
    color: var(--bttextColor);
    background-color: rgb(0,171,232) !important;
    border-color: rgb(0,171,232) !important;
}
/* fix node-admin-system-opkg cbi-button-positive */
.node-admin-system-opkg button.btn.cbi-button-positive {
    color: var(--bttextColor);
    background-color: var(--activeColor) !important;
    border-color: var(--activeColor) !important;
}
.node-admin-status-processe, button.btn.cbi-button-negative {
    color: #fff !important;
    background-color: #617486 !important;
}
/* fix node-admin-status-realtime-load */
.node-admin-status-realtime-load #view div,
.node-admin-status-realtime-bandwidth #view div,
.node-admin-status-realtime-connections #view div{
    border: var(--sectionBorder) !important;
    font-family: -apple-system;
    background: none !important;
}
/* fix  */
.cbi-dropdown.btn.cbi-button.cbi-button-apply.important,
.cbi-dropdown.btn.cbi-button.cbi-button-negative.important {
    line-height: unset;
    min-width: 105px;
    padding-left: 5px;
}
.cbi-dropdown.btn.cbi-button.cbi-button-action {
	line-height: unset;
    min-width: 110px;
    padding-left: 5px;
}
.node-admin-system-ttyd-ttyd iframe {
    border-radius: 5px !important;
}
/* fix node-admin-status-realtime-load */
.node-admin-status-realtime-load table {
    table-layout: auto !important;
}
.node-admin-status-realtime-load table > tr > td {
    text-align: left !important;
    padding: 10px 3px 10px 3px;
    white-space: nowrap;
}
/* fix node-admin-status-realtime-bandwidth */
.node-admin-status-realtime-bandwidth table {
    table-layout: auto !important;
}
.node-admin-status-realtime-bandwidth table > tr > td {
    text-align: left !important;
    padding: 10px 3px 10px 3px;
    white-space: nowrap;
}
/* fix node-admin-status-overview color */
.node-admin-status-overview h3 {
    color: unset !important;
}
/* fix node-admin-status-overview */
.node-admin-status-overview > .main #view td:nth-child(2) {
    white-space: normal;
}