/* 
--------------------
General edit
--------------------
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Flex", sans-serif;
  background-color: #f0f2f5;
}

.main {
  margin-left: 216px;
  margin-top: 40px;
  padding: 30px;
}

@media (max-width: 992px) {
  .main {
    margin-left: 0;

  }
}
/* 
--------------------
Start edit bootstrap
--------------------
*/

/*
-------------------
Sidebar section
-------------------
*/

.navbar {
  background-color: #1d2327;
}
.navbar .fa-bars{
  cursor: pointer;
  color: #fff;
  display: none;
}

/*
-------------------
Sidebar section
-------------------
*/

.sidebar {
  background-color: #1d2327;
  width: 210px;
  height: 100%;
  position: fixed;
  z-index: 9999;
}

.sidebar .avatar {
  display: flex;
  justify-content: center;
}

.sidebar .avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.sidebar .list-item {
  padding: 15px 0;
  margin-top: 10px;
}

.sidebar ul li {
  margin: 20px 0;
  padding: 5px 15px;
  position: relative;
}

.sidebar ul li a {
  text-decoration: none;
  font-size: 17px;
  color: #fff;
}

.sidebar ul li:hover {
  background-color: #b22727;
}

.sidebar ul li:hover ul {
  display: block;
}

.sidebar ul li ul {
  display: none;
  position: absolute;
  left: 210px;
  top: -9px;
  overflow: visible;
  background-color: #2c3338;
  box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
}

.sidebar ul li ul li {
  min-width: 180px;
  width: auto;
  padding: 5px 15px;
  margin: 0;
}

.sidebar ul li ul:after {
  left: -20px;
  border: 10px solid;
  border-color: transparent #2c3338 transparent transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  top: 17px;
  z-index: 10000;
}


/* Sidebar media Query */

@media (max-width: 992px) { 

  .sidebar{
    position: absolute;
    left: -210px;
  }
  .show-sidebar{
    position: fixed;
    left: 0px;
    
  }
  .navbar .fa-bars{
    display: block;
  }
}


/*
-------------------
Installer page
-------------------
*/

.installer {
  background-color: #fff;
  padding: 20px;
  width: 600px;
  margin: 75px auto;
}

/*
-------------------
Login form page
-------------------
*/

.login {
  width: 400px;
  margin: 175px auto;
  background-color: #fff;
}


/*
------------------
Dashboard page
------------------
*/
.dashboard-stat i {
  font-size: 65px;
}

.dashboard-stat .stat-item {
  border-radius: 5px;
}

.dashboard-stat .item-1 {
  background-color: #ff8d29;
}
.dashboard-stat .item-2 {
  background-color: #3bacb6;
}
.dashboard-stat .item-3 {
  background-color: #eb5353;
}

.dashboard-stat .item-4 {
  background-color: #8e44ad;
}

.dashboard-stat .stat-item {
  color: #fff;
}

.dashboard-stat .stat-item div a {
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 992px) { 
  .dashboard-stat .stat-item{
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) { 
  .dashboard-stat .stat-item div {
    font-size: 13px;
  }
  .dashboard-stat i {
    font-size: 60px;
  }
  .dashboard-stat .stat-item{
    margin-bottom: 10px;
  }
}

/*
--- To Do List
*/

.toDolist {
  max-height: 700px;
  background-color: #fff;
}

.toast {
  opacity: 1 !important;
  width: 600px;
}

/*
--- Online users
*/
.online-users {
  min-height: 200px;
  background-color: #fff;
}

/*
--------------------
Yal page
---------------------
*/
/*
.yal-total-income {
  background-color: #d1d0d0;
  font-weight: bold;
  box-shadow: 0 5px 7px rgb(56 56 56 / 20%);
}

.yal-total-income div {
  border-left-width: 1px;
  border-left-style: solid;
  border-color: #c1c1c1;
  padding: 10px;
}

.yal-total-income div:last-child {
  color: #00b75a;
  padding-left: 30px;
}
*/
/*
--------------------
Yal traking page
---
*/

.traking-pull {
  bottom: 81px;
  left: 99px;
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  background-color: #f96300;
  color: #fff;
}

.traking-pull i {
  padding: 7px;
}

/*
---------------
 404 page
---------------
*/

.page-404 {
  overflow: hidden;
  height: 100vh;
}
.page-404 .number {
  position: relative;
  text-align: center;
  animation: mymove 2s forwards;
}
.page-404 .number::before {
  content: "";
  display: block;
  position: absolute;
  left: 0%;
  right: 0%;
  margin: auto;
  width: 210px;
  height: 100px;
  background: #bf360c;
  clip-path: polygon(
    0% 97%,
    0% 90%,
    25% 80%,
    30% 10%,
    40% 0%,
    50% 5%,
    60% 0%,
    70% 10%,
    75% 80%,
    100% 90%,
    100% 97%,
    50% 100%
  );
  border-radius: 30px;
}
.page-404 .number::after {
  /*content: "You came to the wrong page, boy.";*/
  display: block;
  font-size: 10%;
}
.page-404 .msg{
  position: relative;
  text-align: center;
  animation: mymove-msg 2s forwards;
}
.page-404 .msg::after {
  display: block;
  font-size: 10%;
}

.page-404 .btn {
  position: relative;
  top: 150px;
  display: block;
  margin: 0 auto;
  width: 100px;
  border: 2px solid #bf360c;
  border-radius: 5px;
}

.page-404 .tumble {
  position: absolute;
  bottom: 0;
  width: 350px;
  height: 350px;
  left: -120px;
  background: url("../../uploads/box.png") no-repeat center;
  background-size: contain;
  animation: tumbleRoll 7.5s infinite forwards;
}

/* Standard syntax */
@keyframes mymove {
  0% {
    top: 0px;
    font-size: initial;
  }
  100% {
    top: 100px;
    font-size: 200px;
  }
}

@keyframes mymove-msg {
  0% {
    top: 0px;
    font-size: initial;
  }
  100% {
    top: 100px;
    font-size: 30px;
  }
}

@keyframes tumbleRoll {
  0% {
    left: -120px;
  }
  10% {
    bottom: 30px;
  }
  15% {
    bottom: 0px;
  }
  40% {
    bottom: 30px;
  }
  55% {
    bottom: 0px;
  }
  70% {
    bottom: 30px;
  }
  75% {
    bottom: 0px;
  }
  100% {
    left: 100vw;
    transform: rotate(600deg);
  }
}
