@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu',sans-serif;
}
:root{
  --blue: #00a3ff;
  --white: #fff;
  --grey: #F1F5F9;
  --black: #000000;
  --black1: #222;
  --black2: #999;
  --Influx_black: #181820;
  --Influx_grey: #383846;
  --Dashboard_DarkGrey: #343a40; 
  --Dashboard_Grey: #D1DFEB; /* Dashboard_Grey  #C2C7D0*/
  --Dashboard_LightGrey: #F1F5F9;
}
body{
  min-height: 100vh;
  overflow-x: hidden;
}
.container{
  position: relative;
  width: 100%;
}
.navigation{
  position: fixed;
  width: 73px;
  height: 100%;
  background: var(--Dashboard_LightGrey);
  border-left: 10px solid var(--Dashboard_LightGrey);
  transition: 0.25s;
  overflow:hidden;
}
/*
  .navigation.active{
    width: 73px;
  }
*/


.navigation ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.navigation ul li{
  position: relative;
  width: 100%;
  list-style: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.navigation ul li:hover,
.navigation ul li.hovered{
  background: var(--Dashboard_Grey);
}

.navigation ul li:nth-child(1){
  margin-bottom: 30px;
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  pointer-events: none;
  padding-top: 10px;
  padding-left: 53px;
}

.navigation ul li a{
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  text-decoration: none;
  color: var(--Dashboard_DarkGrey);
}
.navigation ul li:hover a,
.navigation ul li.hovered a{
  color: var(--Dashboard_DarkGrey);
}
.navigation ul li a .icon{
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 70px;
  text-align: center;
}
.navigation ul li a .icon ion-icon{
  font-size: 1.75em;
}
.navigation ul li a .title{
  position: relative;
  display: block;
  padding: 0 10px;
  padding-left:70px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;
}

/* curve outside */

.navigation ul li:hover a::before,
.navigation ul li.hovered a::before{
  content: '';
  position: absolute;
  top: -50px;
  right: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 5px;
  box-shadow: 35px 35px 0 5px var(--Dashboard_Grey);
  pointer-events: none;
}

.navigation ul li:hover a::after,
.navigation ul li.hovered a::after{
  content: '';
  position: absolute;
  bottom: -50px;
  right: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 5px;
  box-shadow: 35px -35px 0 3px var(--Dashboard_Grey);
  pointer-events: none;
}

/* main */
.main{
  position: absolute;
  width: calc(100% - 73px);
  left: 73px;
  min-height: 100vh;
  background: var(--Dashboard_Grey);
  transition: 0.25s;
}
/*
  .main.active{
    width: calc(100% - 73px);
    left: 73px;
  }
*/


.topbar{
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0 10px;
}

.toggle{
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  color: var(--grey);
}

.search{
  position: relative;
  width: 400px;
  margin: 0 10px;
}

.search label{
  position: relative;
  width: 100%;
}

.search label input {
  width: 100%;
  height: 40px;
  border-radius: 40px;
  padding: 5px 20px;
  font-size: 18px;
  padding-left: 35px;
  outline: none;
  border: 1px solid var(--black2);
}

.search label ion-icon {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 1.2em;
}

.user{
  position: relative;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.user img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.cardBox{
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 30px;
}

.cardBox .card{
  position: relative;
  background: var(--Dashboard_LightGrey);
  padding: 30px;
  border-radius: 10px;
  display:flex;
  justify-content: space-between;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  cursor:pointer;
}

.cardBox .card .numbers {
  position: relative;
  font-weight: 500;
  font-size: 1.6em;
  color: var(--Dashboard_DarkGrey);
}

.cardBox .card .cardName {
  color: var(--Dashboard_DarkGrey);
  font-size: 1.1em;
  margin-top: 5px;
}

.cardBox .card .iconBx {
  font-size: 3.5em;
  color: var(--Dashboard_DarkGrey);
}

.cardBox .card:hover {
  background: var(--Dashboard_LightGrey);
}

.cardBox .card:hover .numbers,
.cardBox .card:hover .cardName,
.cardBox .card:hover .iconBx{
  color: var(--Dashboard_DarkGrey);
}

/*  topRowButtons*/

.topRowButton{
  position: relative;
  padding: 20px;
  padding-bottom: 5px;
  display: grid;
  grid-template-columns: repeat(10,1fr);
  grid-gap: 15px;
}
.topRowButton .title .DryerCharts{
  position: relative;
  font-size: 2em;
  display:flex;
  justify-content: center;
  align-items: center;
}

.topRowButton .title .OrderInProgress{
  position: relative;
  font-size: 1.4em;
  display:flex;
  width: 200px;
  justify-content: center;
  align-items: center;
}

.topRowButton .button{
  position: relative;
  font-size: 1.2em;
  width: 150px;
  height: 30px;
  background: var(--Dashboard_LightGrey);
  padding: 5px;
  border-radius: 5px;
  display:flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  cursor:pointer;
}
.topRowButton .button:hover{
  background: #dce6ef;
}

/* blueprints */
.blueprint{
  position: relative;
  width: 100%;
  padding: 20px;
  display: flex;
}
.blueprint .drawing{
  position: relative;
  background: var(--Dashboard_LightGrey);
  padding: 20px;
  width: 100%;
  height: 930px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
}
/* charts */
.graphBox{
  position: relative;
  width: 100%;
  padding: 20px;
  display: flex;
  grid-template-columns: 1fr;
  grid-gap: 30px;
  min-height: 200px;
}

.graphBox .box{
  position: relative;
  background: var(--Dashboard_LightGrey);
  padding: 20px;
  width: 100%;
  height: 700px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
}

.graphBox .box.orderInProgress{
  height: 900px;
}

.graphBox .box.DHT{
  height: 500px;
}


/* screenshoot */
.screenshot{
  position: relative;
  width: 100%;
  padding: 20px;
  display: flex;
}
.screenshot .picture{

  /*
    width:1886;
    height:944
  */
  width:1508px;
  height:755px
}

.details{
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 30px;
  margin-top: 10px;
}

.details .recentOrders{
  position: relative;
  display: grid;
  min-height: 500px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.cardHeader{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cardHeader h2{
  font-weight: 600;
  color: var(--blue);
}

.btn{
  position: relative;
  padding: 5px 10px;
  background: var(--blue);
  text-decoration: none;
  color: var(--white);
  border-radius: 6px;
}

.details table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.details table thead td {
  font-weight: 600;
}

.details .recentOrders table tr{
  color: var(--black1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.details .recentOrders table tr:hover{
  background: var(--blue);
  color: var(--white);
}

.details .recentOrders table tr td {
  padding: 10px;
}

.details .recentOrders table tr td:last-child{
  text-align: end;
}

.details .recentOrders table tr td:nth-child(2){
  text-align: end;
}

.details .recentOrders table tr td:nth-child(3){
  text-align: center;
}

.status.delivered{
  padding: 2px 4px;
  background: #8de02c;
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.status.pending{
  padding: 2px 4px;
  background: #f9ca3f;
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.status.return{
  padding: 2px 4px;
  background: #f00;
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.status.inProgress{
  padding: 2px 4px;
  background: #1795ce;
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.recentCustomers{
  position: relative;
  display: grid;
  min-height: 500px;
  padding: 20px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.recentCustomers .imgBx{
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.recentCustomers .imgBx img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2;
  object-fit: cover;
}



.recentCustomers table tr td{
  padding: 12px 10px;
}

.recentCustomers table tr td h4{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2em;
}

.recentCustomers table tr td h4 span{
  font-size: 14px;
  color: var(--black2);
}

.recentCustomers table tr:hover{
  background: var(--blue);
  color: var(--white);
}

.recentCustomers table tr:hover td h4 span{
  color: var(--white);
}

/*     responsive design    */

@media (max-width: 991px){
  .graphBox{
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .navigation{
    left: 0;
  }
/*
  .navigation.active{
    width: 300px;
    left: 0;
  }
*/
  .main{
    width:100%;
    left: 73px;
  }
/*
  .main.active{
    left: 300px;
  }
*/
  .cardBox{
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 768px){
  .details{
    grid-template-columns: repeat(1,1fr);
  }
  .recentOrders{
    overflow-x: auto;
  }
  .status.inProgress{
    white-space: nowrap;
  }
}

@media (max-width: 480px){
  .cardBox{
    grid-template-columns: repeat(1,1fr);
  }
  .cardHeader h2{
    font-size: 20px;
  }
  .user{
    min-width: 40px;
  }

  .navigation{
    width: 73px;
    left: 0;
    z-index: 1000;
  }
  /*
  .navigation.active{
    width: 100%;
    left: 0;
  }
*/
  .toggle{
    z-index: 10001;
  }

  .main.active.toggle{
    position: fixed;
    right: 73px;
    left: initial;
    color: var(--white);
  }
}