.layout-builder {
	position: fixed;
	width: 400px;
	background: white;
	z-index: 1000;
	right: -400px;
	top: 0;
	bottom: 0;
	box-shadow: 8px 0 10px 3px rgba(0, 0, 0, 0.50);
	overflow: auto;
	transition: right .2s;
}

.layout-builder.show {
	right: 0;
}
.form-control-lg{
	background:red !important;
}



.layout-builder .layout-builder-toggle.shw i {
	-webkit-animation: spin 2s linear infinite;
	-moz-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@-moz-keyframes spin {
	100% {
		-moz-transform: rotate(360deg);
	}
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

.layout-builder .layout-builder-toggle.hdn {
	display: none;
}

.layout-builder.show .layout-builder-toggle.hdn {
	display: flex;
}

.layout-builder .layout-builder-toggle {
	cursor: pointer;
	width: 50px;
	height: 50px;
	color: white;
	background: black;
	position: fixed;
	top: 50%;
	margin-left: -50px;
	display: flex;
	font-size: 23px;
	justify-content: center;
	align-items: center;
	margin-top: -25px;
}

.layout-builder .layout-builder-body {
	padding: 30px;
}

.layout-builder .layout-builder-body .custom-control input[type="checkbox"]:checked+label {
	color: black;
}

.layout-builder .layout-colors {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
}

.layout-builder .layout-colors .layout-color-item {
	width: 40px;
	height: 40px;
	background: red;
	margin: 10px;
	border-radius: 3px;
	overflow: hidden;
	border: 5px solid transparent;
	cursor: pointer;
}

.layout-builder .layout-colors .layout-color-item.active {
	box-shadow: 0px 0px 0px 1px black
}

.layout-builder .layout-colors .layout-color-item span {
	display: block;
	height: 45%;
}

.layout-builder .layout-colors .layout-color-item span:first-child {
	background: black;
	transform: rotate(15deg);
	width: 110%;
	height: 70%;
	margin-top: -5px;
}

.layout-alert {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 5px 10px;
}

@media (max-width: 992px) {
	.layout-builder {
		display: none;
	}
}

.switch {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 20px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 1px;
	bottom: 1px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: var(--bg-red);
}

input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

.table{
	color:var(--white-text) !important;
}

.dropdown-menu{
	background-color: var(--bg-white);
}

label{
	color:var(--white-text) !important;
}

.form-control{
	color:var(--white-text) !important;
}

.table-striped tbody tr:nth-of-type(odd){
	background:var(--bg-white) !important;
}
input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

.btn.btn-dark{
	background:var(--bg-red) !important;
	border:1px solid var(--border-red);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.d-set {
	display: flex;
}

.i-set {
	float: left;
	width: 92%;
	margin-right: 10px
}

.c-img {
	margin-top: 5px
}

.div-set {

	display: block;
	line-height: 26px;
	padding: 10px 0px;
	margin-top: 15px;
	margin-bottom: 13px;
}

.div-set a img {
	margin-top: 5px;
}


.dd-item a {
	margin-top: 7px;
	padding-left: 5px;
}

.dd-handle {
	width: 94%;
}

.set {
	background-color: #ef0606;
	/*border: 3px solid #28980c;*/
	height: 15px;
	width: 15px;
	border-radius: 50%;
}

.set1 {
	background-color: #28980c;
	/*border: 3px solid #ef0606;*/
	height: 15px;
	width: 15px;
	border-radius: 50%;
}

.error {
	color: red;
}

.table-set {
	width: 20%;
}

.mr-10 {
	margin-right: 10px;
}


.form-control{
	background: red !important;;
	background:none !important;
	outline:none !important;
}


:root{
	--bg-white:white;
	--white-text:black;
	--secondary-bg:white !important;
	--border-white:#D8D8D8;
	--bg-red:#ff0000;
	--border-red:#ff0000;


}

.dark-mode{
	--bg-white:black !important;
	--white-text:white;
	--secondary-bg:#1F1F1F !important;
	--border-white:#F0F0F0;
	--bg-red:#ff0000;
	--border-red:#ff0000;


}



.btn.btn-outline-secondary{
    background: var(--bg-white) !important;
    border-color: var(--border-white) !important;
    color: var(--white-text);
}

.side-menu>.container-fluid.side-menu>.side-menu-body>ul>li.open>a, .side-menu>.container-fluid>.side-menu-body>ul>li.open>a, .side-menu>.container-fluid>.side-menu-body>ul>li>a.active, .side-menu>.container.side-menu>.side-menu-body>ul>li.open>a, .side-menu>.container>.side-menu-body>ul>li.open>a, .side-menu>.container>.side-menu-body>ul>li>a.active, .side-menu>.side-menu-body>ul>li.open>a, .side-menu>.side-menu-body>ul>li>a.active {
    background: var(--bg-red) !important;
}

.line{
	position: absolute;
}


.card text{
	fill: var(--white-text) !important;
}

#chart {
  max-width: 650px;
  margin: 35px auto;
}
/* #bar-chart::before, #line-chart::before {
  content: "";
  position: absolute;
  display: block;
  width: 240px;
  height: 30px;
  left: 155px;
  top: 254px;
  background: #FAFAFA;
  box-shadow: 1px 1px 0 0 #DDD;
} */


.side-menu>.container-fluid>.side-menu-body>ul .side-menu>.container>.side-menu-body>ul li.open>a, .side-menu>.container-fluid>.side-menu-body>ul .side-menu>.side-menu-body>ul li.open>a, .side-menu>.container-fluid>.side-menu-body>ul li a.active, .side-menu>.container-fluid>.side-menu-body>ul li.open>a, .side-menu>.container>.side-menu-body>ul .side-menu>.container-fluid>.side-menu-body>ul li.open>a, .side-menu>.container>.side-menu-body>ul .side-menu>.side-menu-body>ul li.open>a, .side-menu>.container>.side-menu-body>ul li a.active, .side-menu>.container>.side-menu-body>ul li.open>a, .side-menu>.side-menu-body>ul .side-menu>.container-fluid>.side-menu-body>ul li.open>a, .side-menu>.side-menu-body>ul .side-menu>.container>.side-menu-body>ul li.open>a, .side-menu>.side-menu-body>ul li a.active, .side-menu>.side-menu-body>ul li.open>a{
	color:white;
}

.side-menu>.container-fluid>.side-menu-body>ul li a, .side-menu>.container>.side-menu-body>ul li a, .side-menu>.side-menu-body>ul li a{
	color: var(--white-text);
}

.side-menu>.container-fluid>.side-menu-body>ul li.side-menu-divider, .side-menu>.container>.side-menu-body>ul li.side-menu-divider, .side-menu>.side-menu-body>ul li.side-menu-divider{
	color:var(--white-text)
}

.side-menu>.container-fluid>.side-menu-body>ul li a:focus, .side-menu>.container-fluid>.side-menu-body>ul li a:hover, .side-menu>.container>.side-menu-body>ul li a:focus, .side-menu>.container>.side-menu-body>ul li a:hover, .side-menu>.side-menu-body>ul li a:focus, .side-menu>.side-menu-body>ul li a:hover{
	color: var(--white-text);
}

.side-menu>.container-fluid>.side-menu-body>ul li a:hover, .side-menu>.container>.side-menu-body>ul li a:hover, .side-menu>.side-menu-body>ul li a:hover{
	background:var(--bg-red);

}
.badge-info {
    color: #fff;
    background-color: var(--bg-red) !important;
}

.text-black{
	color:var(--white-text)
}
.login-box{
	background-color: var(--secondary-bg);
	border:1px solid var(--border-white)

}

body{
	background-color: var(--bg-white);
}



/* Dark Mode Button  */

.mode {position:fixed;right:0;color: hsl(0, 0%, 30%);font-weight: 900;font-size: 6rem;padding: 10px;display: flex;background:var(--bg-white);/* border:1px solid var(--border-white); */border-radius:4px 0px 0px 4px;padding: 6px;/* border-left: 1px solid navajowhite; */z-index: 10000;top:40%;border: 1px 1px 0px 0px solid red;border-top: 1px solid var(--border-white);border-bottom: 1px solid var(--border-white);border-left: 1px solid var(--border-white);}
.toggle {
  width: 27px;
  height: 69px;
  background-color: hsl(0, 0%, 80%);
  border-radius: 1.7rem;
  padding: .25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  transition: background-color 300ms 300ms;
}

.toggle__circle {
  width: 30px;
  height: 30px;
  background-color: hsl(0, 0%, 95%);
  border-radius: 50%;
  margin-top: calc(94px - (.28rem * 2) - 50px);
  transition: margin 500ms ease-in-out;
}

.toggle-text {
  display: flex;
  flex-direction: column;
  line-height: .8;
}

.bg-white{
	background:var(--bg-white) !important;
}

p{
	color:var(--white-text)
}

#check:checked + .toggle > .toggle__circle {
  margin-top: -5px;;
}

#check:checked + .toggle {
  background-color: var(--bg-white);
  border:1px solid var(--border-white);
}

.login-header{
	padding:10px;
	background:var(--bg-white);
	border-bottom:1px solid var(--border-white)
}

.header-mode{
	width:40px;
	height:40px;
	background:red;
	display:flex;
	border-radius:4px;
	align-items: center;
	cursor: pointer;
	justify-content: center;
}

.header-mode i{
	font-size: 20px;;
	color:white;
}

.man-popup {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
	  z-index: 100000;
    }

    .popup {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      width: 350px;
      text-align: center;
      position: relative;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .popup img.logo {
      width: 160px;
      margin-bottom: 15px;
    }

    .popup h2 {
      margin: 10px 0;
      font-size: 20px;
    }

    .popup p {
      margin-bottom: 20px;
      color: black;
    }

    .popup input,
    .popup textarea {
      width: 95%;
      /* padding: 10px; */
      margin: 8px 0;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      height: 42px;
      /* padding-left: 15px; */
      padding-inline-start: 13px;
      outline:none;
    }

    .popup button {
      width: 100%;
      padding: 15px;
      margin-top: 15px;
      border: none;
      border-radius: 6px;
      background-color: #e50d18;
      color: #fff;
      font-size: 17px;
      cursor: pointer;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      cursor: pointer;
      color: #aaa;
    }

    .close-btn:hover {
      color: #000;
    }

	main.main-content {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    margin-top: 54px !important;
    -webkit-transition: margin-left .2s;
    -o-transition: margin-left .2s;
    -moz-transition: margin-left .2s;
    transition: margin-left .2s;
}



nav.navbar {
    background: var(--bg-white);
    height: 55px;
    -webkit-box-pack: inherit;
    -webkit-justify-content: inherit;
    -moz-box-pack: inherit;
    -ms-flex-pack: inherit;
    justify-content: inherit;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    border-bottom: 1px solid #e1e1e1;
    padding: 0 18px;
}

.side-menu {
    position: fixed;
    left: 0;
    height: -webkit-calc(100% - 55px);
    height: -moz-calc(100% - 55px);
    height: calc(100% - 55px);
    top: 55px;
    width: 250px;
    background: var(--bg-white);
    border-right: 1px solid var(--border-white);
}


a:not(.active.list-group-item), a:not(.btn):active, a:not(.btn):focus, a:not(.btn):hover {
    text-decoration: none !important;
    color: var(--white-text);
	;
    outline: 0;
}

.btn.btn-outline-primary {
    background: 0 0;
    border-color: var(--border-white);
    color:var(--white-text);
    border-width: 1px;
}