/* 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;
	
	
}
a {
	text-decoration: none;
	color: #004ed0;
}
a:hover {
	color: #ce0000;
}
hr{
	margin: 20px 0 20px;
	color: #999999;
}
input[type="text"], input[type="password"] {
	font-size: 16px;
	padding: 4px;
	color: #131304;
	width: 100%;
	border: 1px solid #999999;
}
input[type="textarea"] {
	font-size: 16px;
	padding: 4px;
	color: #131304;
	width: 100%;
	border: 1px solid #999999;
}
input[type="file"] {
	border: 1px solid #999999;
	height: auto;
	padding: 0.4rem;
	width: 90%;
}
.content {
    display: flex;
	flex-direction: column;
	background: #f5f5f5;
}
.sidebar{
	top: 80px;
	position: fixed; 
	width: 240px;
	height: calc(100% - 80px);
	background: #0A2558;
	transition: all 0.5s ease;
}
.sidebar.active{
	width: 60px;
	
}
.sidebar .logo-details{
	height: 80px;
	display: flex;
	align-items: center;
	position: fixed;
	background-color: #0A2558;
	padding: 10px;
	z-index: 10;
	width: 240px;
	top: 0;
}
.sidebar .logo-details i{
	font-size: 23px;
	font-weight: 500;
	color: #fff;
	min-width: 48px;
	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 .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: 17px;
	font-weight: 400;
	white-space: nowrap;
}
.sidebar .nav-links .log_out{
	position: absolute;
	bottom: 0;
	width: 100%;
}
.home-section{
	position: relative;
	background: #f5f5f5;
	width: calc(100% - 240px);
	left: 240px;
	transition: all 0.5s ease;
    flex: 1;
}
.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 5px;
	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;
	border-radius: 6px;
	height: 50px;
	min-width: 145px;
	padding: 0 1px 0 2px;
	
}
nav .profile-details img{
	height: 48px;
	width: 48px;
	border-radius: 6px;
	object-fit: cover;
}
nav .profile-details .admin_name{
	text-align: right;
	font-weight: 600;
	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: space-between;
	flex-wrap: wrap;
	padding: 0 20px;
	margin-bottom: 26px;
}
.overview-boxes .box{
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% / 4 - 15px);
	background: #fff;
	padding: 15px 14px;
	border-radius: 12px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.overview-boxes .box-topic{
	font-size: 16px;
	font-weight: 600;
}
.home-content .box .number{
	display: inline-block;
	font-size: 28px;
	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;
}
.ref_boxes{
	text-align: center;
	margin: 10px;
	padding: 10px 0 10px;
}
.ref_box{
	width: calc(100% / 3 - 10px) !important;
}
.home-content .box .indicator .text{
	font-size: 12px;
}
.disabled a {
    pointer-events: none;
    color: grey !important;
}

.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: center;
	padding: 0 0 20px; 
	margin: 0 7px 0 30px;
}

/* left box */
.home-content .sales-boxes .recent-sales{
	width: 75%;
	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;
	justify-content: space-between;
	
}
.home-content .text-boxes .text-details{
	align-items: center;
	justify-content: space-between;
	font-size: 18px;
	font-weight: 500;
	padding: 20px 30px;
	margin: 0 20px;
	border-radius: 12px !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.sales-boxes .box .title{
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 10px;
}
.sales-boxes .sales-details li.topic{
	font-size: 20px;
	font-weight: 600;
}
.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;
}

.button{
	width: 100%;
	margin: 10px 0 10px;
}

.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;
}
.button a:hover{
	background:  #0d3073;
}
.sendButton{
	color: #fff;
	background: #0A2558;
	padding: 8px 12px;
	border: none;
	cursor: pointer;
}
.AvaChange{
	align-items: center;
	margin: 7px;
	font-size: 12px;
}
.AvaChange img{
	margin-right: 5px;
}
/* Right box */
.home-content .sales-boxes .top-sales{
	background: #fff;
	padding: 20px 30px;
	margin: 0 20px;
	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;
	border-bottom: 1px dotted;
	padding-bottom: 5px;
}
.sales-boxes .top-sales li a img{
	height: 40px;
	width: 40px;
	object-fit: cover;
	border-radius: 12px;
	margin-right: 10px;
	background: #333;
}
.img-lite{
height: 28px !important;
  width: 28px !important;
  border-radius: 5px !important;
}
.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;
}
.text-sales{
	font-size: 20px;
	color: #333;	
}
.text-sales li{
	margin: 0 0 0 25px;
}
.ti-logo{
	padding: 0 20px 0 5px;
}

.box {
	padding: 20px;
	width: 50%;
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	
}
.box_title{
	background-color: #0A2558;
	color: white;
	margin-top: 10px; /* for normal view */	
	border-radius: 12px 12px 0 0;
}
.box_radius{
	border-radius: 0 0 12px 12px;
	margin-bottom: 10px;
}

.lead a{
	color: #0A2558;
}
.lead a:hover{
	color: #ff8000;
	text-decoration: underline;
}
.lv{
	text-align: right;	
}
.mess_no{
	font-weight: 600 !important;
	color: #000040 !important;
} 
.alert {
	position: relative;
	top: 10;
	left: 0;
	width: auto;
	height: auto;
	padding: 10px;
	margin: 10px;
	line-height: 1.8;
	border-radius: 5px;
	cursor: hand;
	cursor: pointer;
	font-family: sans-serif;
	font-weight: 400;
}

.alertCheckbox {
	display: none;
}

:checked + .alert {
	display: none;
}

.alertText {
	display: table;
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
}

.alertClose {
	float: right;
	padding-top: 5px;
	font-size: 10px;
}
.alertClose:active + .alert {
  display: none;
}
.clear {
	clear: both;
}


.success {
	background-color: #EFE;
	border: 1px solid #DED;
	color: #9A9;
}


.warning {
	background-color: #FDF7DF;
	border: 1px solid #FEEC6F;
	color: #C9971C;
}

.danger {
	background-color: #FEE;
	border: 1px solid #EDD;
	color: #A66;
}
  .responsive-iframe {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Пропорция 16:9 */
  }
  .responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  .tsk-btn a{
color: #fff;
  background: #0A2558;
  padding: 9px 90px;
  font-size: 24px;
  font-weight: 400;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
text-align: center;
  }
  .rules{
margin-left: 25px;
  }
  .refcolor{
  background: #eee;
  }
/* Responsive Media Query */
@media (max-width: 1240px) {
	.sidebar{
		width: 60px;
	}
	.sidebar.active{
		width: 220px;
		background: #0A2558;
	}
	.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;
	}
	
}
@media (max-width: 1000px) {
	.overview-boxes .box{
		width: calc(100% / 2 - 15px);
		margin-bottom: 15px;
	}
	.img-fluid {
		max-width: 100%;
		height: auto;
	}
	.sidebar{
		position: absolute !important;
	}
}
@media (max-width: 700px) {
	nav .sidebar-button .dashboard,
	
	.home-section nav .profile-details{
		height: 50px;
		min-width: 40px; 
	}
	.home-content .sales-boxes .sales-details{
		width: 560px;
	}
	.box {
		width: 100%;
	}
}

@media (max-width: 550px) {
	.overview-boxes .box{
		width: 100%;
		margin-bottom: 15px;
	}
	
    .home-content.active{
		position: fixed;
		width: 100%;
	}
	/* left box */
	.recent-sales{
		margin: 0 0 20px !important;
	}
	.top-sales{
		margin: 0px !important;
	}	
	.home-content .sales-boxes {
		margin: 0 !important;
	}
}
@media (max-width: 400px) {
	
	.home-section{
		width: 100%;
		left: 0;
		top: 0;
	}
	
	.home-section nav{
		width: 100%;
		left: 0;
		
	}
	.sidebar {
		bottom: 0;
	}
	
}
@media (max-height: 550px) {
    .sidebar {
        
        height: auto;
	}
	.sidebar .logo-details i {		padding-right: 19px;
	}	
	
	
