/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  background: #f5f5f5;
}
.box01 {
  
  display: none; /* Hide all elements by default */
}


.show {
  display: block;
}

.sales-boxes #textbox{
  min-width: 100%;
  border-radius:5px;
  border-color:skyblue;
  padding:10px;

}
 
 .digit_remover .sales-boxes #a1{
  min-width: 100%;
  border-radius:5px;
  border-color:skyblue;
  padding:10px;
}

 .digit_remover .sales-boxes #a2{
  min-width: 100%;
  border-radius:5px;
  border-color:skyblue;
  padding:10px;
}


#copy-btn {
 position: relative;
 
 text-align: center;
 background:transparent;
 
  font-size:25px;
 
 cursor:pointer;
 transition: transform ease .15s;
}
 
 
#copy {
  display: none;

}
#copy:checked + #copy-btn:after {
  content: "Copied!";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: whitesmoke;
  padding: 15px 35px;
  text-align: center;
  border-radius: 10px;
}



/*  */

/* loans css start */
.container{
    width: 400px;
    /* height: 300px; */
    border-radius: 10px;
    overflow: hidden;
   
}

#r{
padding:0;
width:100%;
margin:10px;
background:skyblue;
box-shadow: none;
}
#r1{
 padding:0; 
 width:100%;
 margin:10px;
 background:skyblue;
 box-shadow: none;

}

/* Style for all input containers */
.input-container{
   
   
    align-items: center;
    margin: 10px 30px;
}
.input-container label{
    font-size: larger;
    color:rgb(63, 71, 65);
    font-weight: bold;
}
.input-container input{
    font-size: larger;
    border:none;
    box-shadow: 0px 0px 2px 1px rgb(152, 145, 145);
    padding: 4px 10px;
    border-radius: 5px;
   
    outline: none;
    width: 54.4%;
}

.loan-tenure-container{
  display: flex;
}
.loanTenure_radio{
    display: flex;
  }
/*.input-container input:hover{
    box-shadow: 0px 0px 2px 1px rgb(37, 34, 34);
}*/

/* submit button style */
.submit-container{
    margin: 20px;
    display: flex;
    justify-content: center;
}
#calculate{    
    padding:4px 10px;
    font-size: larger;
    background-color:blue;
    border-radius: 3px;
    color: white;
    border:none;
    outline: none;
 
    transition: 0.4s;
    cursor: pointer;
}
#calculate:active{
    box-shadow: none;
    font-size:large;
}

/* Loan duration style */
#loanTenure{
    width: 58px;
    margin-left: 65px;
    margin-right: 0;        
    /* background-color: aqua; */
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.radio-container{    
    display: flex;
    margin-left: 0;
}
.radio-container input[type="radio"]{
    display: none;
}
.radio-container label{
    background-color: rgb(236, 235, 234);
    padding: 3.9px 5px;        
    box-shadow: 0px 0px 2px 1px rgb(152, 145, 145);
    cursor: pointer;
    transition: all 0.3s;    
    
}
#month + label{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.radio-container label:hover{
    background-color: rgb(116, 101, 101);
    color:white;
} 
.radio-container input[type="radio"]:checked+label{
    background-color:  rgb(116, 101, 101);
    color: white;
} 

/* Output */

.output{
    margin: 10px;    
    /* box-shadow: 0px 0px 5px rgb(51, 48, 48); */
    display: flex;
    flex-direction: column;
    /* display: none; */
text-align: center;
font-size: 25px;
font-weight: bold;
}
.output p{
    font-size: 16px;
    border-radius: 4px;
    padding: 4px;
    margin:4px;    
    width: 100%;
/*    box-shadow: 0px 0px 5px rgb(51, 48, 48);*/
    color:rgb(62, 58, 58);
    font-weight: 550;
    

}
.output p span{
    float: right;
    word-wrap: break-word;
    color: rgb(101, 17, 41);
    font-weight: bolder;
   
}
/* loans css end */

.sidebar{
  position: fixed;
  height: 100%;
  width: 240px;
  background: #0A2558;
  transition: all 0.5s ease;
}
.sidebar.active{
  width: 60px;
}
.sidebar .logo-details{
  height: 80px;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i{
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  min-width: 60px;
  text-align: center
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}
.sidebar .nav-links{
  margin-top: 10px;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  height: 50px;
}
.sidebar .nav-links li a{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li a.active{
  background: #081D45;
}
.sidebar .nav-links li a:hover{
  background: #081D45;
}
.sidebar .nav-links li i{
  min-width: 60px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.sidebar .nav-links li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}
.sidebar .nav-links .log_out{
  position: absolute;
  bottom: 0;
  width: 100%;
}
.home-section{
  position: relative;
  background: #f5f5f5;
  min-height: 100vh;
  width: calc(100% - 240px);
  left: 240px;
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section{
  width: calc(100% - 60px);
  left: 60px;
}
.home-section nav{
  display: flex;
  justify-content: space-between;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  position: fixed;
  width: calc(100% - 240px);
  left: 240px;
  z-index: 100;
  padding: 0 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section nav{
  left: 60px;
  width: calc(100% - 60px);
}
.home-section nav .sidebar-button{
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
}
nav .sidebar-button i{
  font-size: 35px;
  margin-right: 10px;
}
.home-section nav .search-box{
  position: relative;
  height: 50px;
  max-width: 550px;
  width: 100%;
  margin: 0 20px;
}
nav .search-box input{
  height: 100%;
  width: 100%;
  outline: none;
  background: #F5F6FA;
  border: 2px solid #EFEEF1;
  border-radius: 6px;
  font-size: 18px;
  padding: 0 15px;
}
nav .search-box .bx-search{
  position: absolute;
  height: 40px;
  width: 40px;
  background: #2697FF;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  transition: all 0.4 ease;
}
.home-section nav .profile-details{
  display: flex;
  align-items: center;
  background: #F5F6FA;
  border: 2px solid #EFEEF1;
  border-radius: 6px;
  height: 50px;
  min-width: 190px;
  padding: 0 15px 0 2px;
}
nav .profile-details img{
  height: 40px;
  width: 40px;
  border-radius: 6px;
  object-fit: cover;
}
nav .profile-details .admin_name{
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0 10px;
  white-space: nowrap;
}
nav .profile-details i{
  font-size: 25px;
  color: #333;
}
.home-section .home-content{
  position: relative;
  padding-top: 104px;

}
.home-content .overview-boxes{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  margin-bottom: 26px;
  
}
.overview-boxes .box{
 
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% /    3);
  background: #fff;
  padding: 15px 14px;
  border-radius: 12px;
  margin:10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.overview-boxes .box-topic{
  font-size: 20px;
  font-weight: 500;
}
.home-content .box .number{
  display: inline-block;
  font-size: 35px;
  margin-top: -6px;
  font-weight: 500;
}
.home-content .box .indicator{
  display: flex;
  align-items: center;
}
.home-content .box .indicator i{
  height: 20px;
  width: 20px;
  background: #8FDACB;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  margin-right: 5px;
}
.box .indicator i.down{
  background: #e87d88;
}
.home-content .box .indicator .text{
  font-size: 12px;
}
.home-content .box .cart{
  display: inline-block;
  font-size: 32px;
  height: 50px;
  width: 50px;
  background: #cce5ff;
  line-height: 50px;
  text-align: center;
  color: #66b0ff;
  border-radius: 12px;
  margin: -15px 0 0 6px;
}
.home-content .box .cart.two{
   color: #2BD47D;
   background: #C0F2D8;
 }
.home-content .box .cart.three{
   color: #ffc233;
   background: #ffe8b3;
 }
.home-content .box .cart.four{
   color: #e05260;
   background: #f7d4d7;
 }
.home-content .total-order{
  font-size: 20px;
  font-weight: 500;
}
.home-content .sales-boxes{
  display: flex;
  justify-content: space-between;
  /* padding: 0 20px; */
}

/* left box */
.home-content .sales-boxes .recent-sales{
  width: 100%;
  background: #fff;
  padding: 20px 30px;
 margin: 0 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.home-content .sales-boxes .sales-details{
  display: flex;
  align-items: center;

 
}
.sales-boxes .box .title{
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  /* margin-bottom: 10px; */
}
.sales-boxes .sales-details li.topic{
  font-size: 20px;
  font-weight: 500;
}
.sales-boxes .sales-details li{
  list-style: none;
  margin: 8px 0;
}
.sales-boxes .sales-details li a{
  font-size: 18px;
  color: #333;
  font-size: 400;
  text-decoration: none;
}
.sales-boxes .box .button{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.sales-boxes .box .button a{
  color: #fff;
  background: #0A2558;
  padding: 4px 12px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sales-boxes .box .button a:hover{
  background:  #0d3073;
}

/* Right box */
.home-content .sales-boxes .top-sales{
  width: 35%;
  background: #fff;
  padding: 20px 30px;
  margin: 0 20px 0 0;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.sales-boxes .top-sales li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}
.sales-boxes .top-sales li a img{
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 10px;
  background: #333;
}
.sales-boxes .top-sales li a{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sales-boxes .top-sales li .product,
.price{
  font-size: 17px;
  font-weight: 400;
  color: #333;
}


/*  weather start*/

.weatherforms{
 width:100%;
 
  margin:10px;
  padding:10px;
}

 
.weatheroutp{
  width:100%;
 
   margin:10px;
}


.weatheroutp h4{
  color:#000000;
  font-size:22px;
  text-align: center;


}

#weatherwidget {
  min-height: 18rem;
  background: #fff;
  border-radius: 5px;
}
.card {
  width: 100%;
}
.card .card-subtitle {
  font-size: 3rem;
}
.card .cel:after {
  content: "°C";
  position: absolute;
  font-size: 2.5rem;
  margin-top: 0.3rem;
  font-weight: 400;
}
.card .far:after {
  content: "°F";
  position: absolute;
  font-size: 2.5rem;
  margin-top: 0.3rem;
  font-weight: 400;
}
.units a {
  color: #666;
  text-decoration: none;
}
.units a.active {
  color: #ccc;
}

/*  weather end*/





/* Responsive Media Query */
 

@media (max-width: 1240px) {
  .sidebar{
    width: 60px;
  }
  .sidebar.active{
    width: 220px;
  }
  .home-section{
    width: calc(100% - 60px);
    left: 60px;
  }
  .sidebar.active ~ .home-section{
    left: 220px;
    width: calc(100% - 220px);
    overflow: hidden;
  }
  .home-section nav{
    width: calc(100% - 60px);
    left: 60px;
  }
  .sidebar.active ~ .home-section nav{
    width: calc(100% - 220px);
    left: 220px;
  }
}
@media (max-width: 1150px) {
  .home-content .sales-boxes{
    flex-direction: column;
  }
  .home-content .sales-boxes .box{
    width: 100%;
    overflow-x: scroll;
    margin-bottom: 30px;
  }
  .home-content .sales-boxes .top-sales{
    margin: 0;
  }
  .home-content .sales-boxes .recent-sales{
    width:100%;
    margin:10px;
  }

  .sales-boxes #textbox{
 min-width: 0;
 width:100%;
  left: 0;
  right:0;
  }

  .digit_remover .sales-boxes #a1{
 min-width: 0;
  width:100%;
  }

  .digit_remover .sales-boxes #a2{
 min-width: 0;
  width:100%;
  }
}
@media (max-width: 1000px) {
  .overview-boxes .box{
    width: calc(100% / 2 - 15px);
    margin-bottom: 15px;
  }
  .home-content .sales-boxes .sales-details{
  display: flex;
  align-items: center;
  flex-direction: column;
 
}

}
@media (max-width: 700px) {
  nav .sidebar-button .dashboard,
  nav .profile-details .admin_name,
  nav .profile-details i{
    display: none;
  }
  .home-section nav .profile-details{
    height: 50px;
    min-width: 40px;
  }
  .home-content .sales-boxes .sales-details{
    width:90%;
  }
  .input-container input{
    width:100%;
  }
  .loanTenure_radio{
    display: flex;
  }
  .loan-tenure-container{
    display: block;
  }
  #loanTenure{
    margin-left:0px;
  }
  .input-container label {
    font-size: 18px;

}
@media (max-width: 550px) {
  .overview-boxes .box{
    width: 100%;
    margin-bottom: 15px;
  }
  .sidebar.active ~ .home-section nav .profile-details{
    display: none;
  }
}
@media (max-width: 400px) {
  .sidebar{
    width: 0px;
  }
  .sidebar.active{
 

       width: 252px;
    z-index: 99;
  }
  .home-section{
    width: 100%;
    left: 0;
  }
  .sidebar.active ~ .home-section{
    left: 60px;
    width: calc(100% - 60px);
  }
  .home-section nav{
    width: 100%;
    left: 0;
  }
  .sidebar.active ~ .home-section nav{
    left: 60px;
    width: calc(100% - 60px);
  }
}
