/* Google Font 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;
}

:root {
  --primary-color: #263238;
  --body-bg-color: #f4f0eb;
  --dynamic-text-color: #263238;
  --dynamic-bg-color: #263238;
}

body{
 	color: var(--primary-color);
 	background: var(--body-bg-color) url('icon-learngorilla.png') no-repeat right 25px bottom 25px;
 	background-size: 140px 140px;
 	transition: background-color .2s, color 0.2s;
}

body.darkmode{
  --body-bg-color: #263238;
  --dynamic-text-color: #fff;
  --dynamic-bg-color: #171e22;
  background: var(--body-bg-color);
}

h3{
	margin: 10px 0;
}
input {
  filter: none;
}

a{
	text-decoration: none;
	transition: 0.3s all;
	color: var(--primary-color);
}
a.white-button{
	display: inline-block;
	margin: 10px 0 0;
	padding: 10px 15px;
	border-radius: 12px;
	font-size: 14px;
	color: #848C91;
	background: #fff;
}
	a.white-button:hover{
		box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25);
	}
	
	body.darkmode a.white-button{
		color: #fff;
		background: none;
		border: 2px solid #fff;
	}
	
.sidebar{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 70px;
  background: var(--primary-color);
  padding: 6px 10px;
  z-index: 99;
  transition: all 0.5s ease;
}
	body.darkmode .sidebar{
		background: var(--dynamic-bg-color);
	}
.sidebar.open{
  width: 250px;
}
.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name, .logo-icon{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name, .sidebar.open .logo-icon{
  opacity: 1;
}
.logo_name img{
	max-width: 60%;
	margin: 15px 0 0;
}
.logo-icon{
	float: left;
	float: left;
	margin: 0 5px 0 10px;
}
.sidebar .logo-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details #btn{
  text-align: right;
}
.sidebar i{
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 10px;
  height: 100%;
}
.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  left: calc(100% + 25px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}
	body.darkmode .sidebar li .tooltip{
		color: #fff;
		background: var(--dynamic-bg-color);
	}
.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip{
  display: none;
}
.sidebar input{
  font-size: 15px;
  color: #FFF;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: var(--primary-color);
}
body.darkmode .sidebar input{
	background: var(--dynamic-bg-color);
}
.sidebar.open input{
  padding: 0 20px 0 50px;
  width: 100%;
}
.sidebar .bx-search{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: var(--primary-color);
  color: #FFF;
}
	body.darkmode .sidebar .bx-search{
		background: var(--dynamic-bg-color);
	}
.sidebar.open .bx-search:hover{
  background: #1d1b31;
  color: #FFF;
}
.sidebar .bx-search:hover{
  background: #FFF;
  color: var(--primary-color);
}
.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: var(--primary-color);
}
	body.darkmode .sidebar li a{
		background: var(--dynamic-bg-color);
	}
.sidebar li a:hover, .sidebar li.current a,
body.darkmode .sidebar li a:hover, body.darkmode .sidebar li.current a{
  color: var(--primary-color);
  background: #FFF;
}
.sidebar li.current a i, .sidebar li.current a .links_name{
  color: var(--primary-color);
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color: var(--primary-color);
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile{
  margin-top: 25px;
  padding: 10px;
  background: var(--primary-color);
  transition: all 0.5s ease;
  overflow: hidden;
  border-radius: 12px;
}

	body.darkmode .sidebar li.profile{
		background: var(--dynamic-bg-color);
	}
	
.sidebar.open li.profile{
  padding: 10px;
}
.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 100%;
  margin-right: 10px;
}
.sidebar li.profile .name,
.sidebar li.profile .job{
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
   background: -webkit-linear-gradient(45deg, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidebar li.profile .job{
  font-size: 12px;
}
.sidebar .profile #log_out{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--primary-color);
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}

	body.darkmode .sidebar .profile #log_out{
		background: var(--dynamic-bg-color);
	}

.sidebar.open .profile #log_out{
  width: 50px;
  background: none;
}
.home-section{
  position: relative;
  min-height: 100vh;
  top: 0;
  left: 70px;
  padding: 15px;
  width: calc(100% - 70px);
  transition: all 0.5s ease;
  z-index: 2;
}
.sidebar.open ~ .home-section{
  left: 262px;
  width: calc(100% - 262px);
}
.home-section .text{
  display: inline-block;
  color: var(--primary-color);
  font-size: 16px;
  margin: 18px;
}
.home-section .text p{
	margin: 10px 0;
}

.heading{
	float: left;
	width: 100%;
}

	.animation{
		float: left;
		height: auto !important;
	}
	
		#animation{
			
		}

	.heading .user-nav, .heading .lang-nav{
		float: right;
		padding: 5px;
		background: #fff;
		border-radius: 100px;
		border: 1px solid transparent;
	}
	
		body.darkmode .heading .user-nav, body.darkmode .heading .lang-nav{
			color: #fff;
			background: none;
			border: 1px solid #848C91;
		}
	
		.heading a.darkmode-toggle{
			float: right;
			padding: 7px;
			font-size: 22px;
			color: #848C91;
			border-radius: 100px;
		}
	
		.heading .lang-nav{
			margin-right: 10px;
		}
	
		.heading .user-nav img{
			float: left;
			max-width: 35px;
			border-radius: 100%;
		}
		
		.heading .lang-nav img{
			float: left;
			max-width: 25px;
			margin: 5px;
			border-radius: 100%;
		}
		
		.heading .user-nav .name{
			float: left;
			padding: 7px 9px 7px 12px;
			font-size: 14px;
			font-weight: bold;
		}
		
		.heading .user-nav .bx, .heading .lang-nav .bx{
			padding: 8px 4px 0 0;
			font-size: 20px;
		}

.column{
	float: left;
	width: 100%;
}

.box{
	float: left;
	width: 92%;
	margin: 15px 0;
	padding: 5px 0px 0 10px;
	border-radius: 12px;
	color: #fff;
	background: var(--dynamic-bg-color);
}

	.box h3{
		margin-left: 10px;
		font-size: 16px;
	}
	
	.box .column-inner .column-badge{
		float: left;
		width: 50%;
		padding: 10px 0;
		text-align: center;
	}
	
		.box .column-inner .column-badge img{
			height: auto;
			width: 70%;
			border-radius: 100%;
			border-bottom: 2px solid #fff;
		}
		
			.box .column-inner .column-badge img.achieved-badge{
				box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25);
				border-bottom: 2px solid #0097A7;
			}

	.box ul, .box .column-inner{
		float: left;
		width: 110%;
		padding: 10px 0 10px 10px;
		font-size: 14px;
		color: var(--primary-color);
		background: #fff;
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 40px 100px rgba(0,0,0,0.15),0 25px 80px rgba(0,0,0,0.1);
		list-style-type: none;
	}
	
		body.darkmode .box ul, body.darkmode .box .column-inner{
			box-shadow: none;
		}
	
		.box ul li{
			
		}
	
			.box ul li:nth-child(odd) a{
				background: #fff;
			}
			
				.box ul li:nth-child(odd) .bx-play{
					background: #F4F4F4;
				}
			
			.box ul li:nth-child(even) a{
			    background: #EDEEEF;
			}
			
				.box ul li:nth-child(even) .bx-play{
					background: #fff;
				}

		.box ul li a{
			display: block;
			padding: 15px 20px 15px 12px;
			color: var(--primary-color);
			font-size: 13px;
			border-radius: 12px 0 0 12px;
		}
		
			.box ul li.green a{
				color: #26A69A;
			}
			
		.bx{
			transition: 0.3s all;
		}
		
		.box ul li .bx{
			margin: 0 5px 0 0;
			padding: 3px 2px 3px 4px;
			font-size: 16px;
			color: #26A69A;
			border-radius: 100%;
		}
		
			.box ul li .bx-play{
				font-size: 20px;				
			}
			
				.box ul li a:hover > .bx-play{
					
				}
		
			.box ul li .bxs-hot{
				color: #EF5350;
			}
		
			.box ul li .bx.bx-crown{
				padding: 0;
				font-size: 18px;
				color: #FFB300;
			}
			
			.box ul li .bx.bx-medal.second{
				color: #A5A5A5;
			}
			
			.box ul li .bx.bx-medal.third{
				color: #B58348;
			}
		
			.box ul li a:hover > .bx{
				color: #fff;
				background: #26A69A;
			}
			
		.box ul li span{
			float: right;
			margin: 4px 0 0;
			font-weight: bold;
		}
		
		.box ul li a .course-progress-red{
			float: left;
			height: 4px;
			width: 100%;
			margin: 6px 0 0 0;
			border-radius: 10px;
			background: #FFCDD2;
		}
		
			.box ul li a .course-progress-red .progress-red{
				float: left;
				height: 4px;
				width: 10%;
				border-radius: 10px;
				background: #EF5350;
			}
			
		.box ul li a .course-progress-yellow{
			float: left;
			height: 4px;
			width: 100%;
			margin: 6px 0 0 0;
			border-radius: 10px;
			background: #FFECB3;
		}
		
			.box ul li a .course-progress-yellow .progress-yellow{
				float: left;
				height: 4px;
				width: 44%;
				border-radius: 10px;
				background: #FFB300;
			}
			
		.box ul li a .course-progress-green{
			float: left;
			height: 4px;
			width: 100%;
			margin: 6px 0 0 0;
			border-radius: 10px;
			background: #B2DFDB;
		}
		
			.box ul li a .course-progress-green .progress-green{
				float: left;
				height: 4px;
				width: 86%;
				border-radius: 10px;
				background: #26A69A;
			}

	.box a.view-more{
		opacity: 0.5;
		float: right;
		padding: 10px 10px;
		font-size: 12px;
		color: #fff;
		border-radius: 12px;
	}
	
		.box a.view-more .bx{
			float: right;
			font-size: 22px;
		}
	
		.box a.view-more:hover{
			opacity: 1;
		}
		
	.box.news ul li strong{
		font-size: 10px;
	}

.pink{

}

.yellow{
	color: #FFB300;
}

	.box.ranking{
		background: #FFB300;
	}
	
		.box.ranking h3{
			color: #926908;
		}

h2{
	float: left;
	width: 100%;
	margin: 15px 0;
	color: var(--dynamic-text-color);
}

.progress-container{
	display: none;
	float: left;
	width: 100%;
}

.progress-bar{
	position: relative;
	float: left;
	height: 45px;
	width: 100%;
	margin: 0;
	font-weight: bold;
	color: #fff;
	background: #B2DFDB;
	border-radius: 100px;
}

	.fill{
		position: relative;
		overflow: hidden;
		float: left;
		width: 73%;
		padding: 12px 15px;
		font-size: 14px;
		letter-spacing: 1px;
		color: #fff;
		background: #26A69A;
	background: repeating-linear-gradient(
	  45deg,
	  #229388,
	  #229388 10px,
	  #19857b 10px,
	  #19857b 20px
	);
		border-radius: 100px;
		white-space: nowrap;
		overflow: hidden;
	}
	
		.fill i{
			position: absolute;
			margin-left: 5px;
			font-size: 22px;
		}
	
	.progress-bar::after{
		float: right;
		content: '73%';
		padding: 10px 15px;
		letter-spacing: 1px;
		font-weight: lighter;
		color: var(--primary-color);
	}

.searchbar{
	float: left;
	width: 100%;
	margin: 10px 0 0;
}
	
	.searchbar input{
		position: relative;
		float: left;
		width: 100%;
		margin: 0 0 20px;
		padding: 12px 20px;
		font-weight: bold;
		letter-spacing: 1px;
		color: var(--primary-color);
		background: #fff;
		border-radius: 12px;
		border: 2px solid transparent;
	}
	
		body.darkmode .searchbar input{
			color: #fff;
			background: none;
			border: 2px solid #fff;
		}
	
.box .course-image img{
	float: left;
	max-width: 110%;
	border-radius: 12px;
}

	.box .course-image{
		position: relative;
	}

	a.floating-playbutton{
		position: absolute;
		right: -15px;
		top: 10px;
		padding: 5px 2px 5px 8px;
		border-radius: 200px;
		font-size: 32px;
		line-height: 0;
		z-index: 999;
		color: #fff;
		background: #26A69A;
		border-bottom: 1px solid #186057;
		box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25);
	}

footer{
	float: left;
	width: 100%;
	margin: 35px 0 0;
	padding: 15px 0;
	text-align: center;
	font-size: 12px;
	color: var(--dynamic-text-color);
}

.progress-container .tooltip {
	float: right;
    display:inline-block;
    position:relative;
    margin: 12px;
    border-bottom:1px dotted #666;
    text-align:left;
    font-size: 11px;
    color: var(--dynamic-text-color);
}

.tooltip .bottom {
    min-width:200px; 
    top:40px;
    left:50%;
    transform:translate(-50%, 0);
    padding:10px 20px;
    color:var(--primary-color);
    background-color:#fff;
    font-weight:normal;
    font-size:13px;
    border-radius:8px;
    position:absolute;
    z-index:99999999;
    box-sizing:border-box;
    visibility:hidden; opacity:0; transition:opacity 0.8s;
}

.tooltip:hover .bottom {
    visibility:visible; opacity:1;
}

.tooltip .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tooltip .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#fff;
}

@media (max-width: 420px) {
  .sidebar li .tooltip{
    display: none;
  }
}

@media (min-width: 768px) {
  .sidebar{
    left: 15px;
    top: 15px;
    height: 96%;
    width: 80px;
    padding: 6px 15px;
    border-radius: 15px;
  }
  
  	.sidebar.open{
	  	border-radius: 15px;
  	}
  
  	.sidebar li.profile{
	  	
  	}
  	
  	.progress-container{
	  	width: 65%;
	  	margin-right: 2%;	  	
  	}
  	
	  	.progress-bar{
	  		width: 100%;
	  	}
  	
  	.searchbar{
	  	width: 30%;
  	}
  	
  .home-section{
	  left: 90px;
	  width: calc(100% - 90px);
	  max-width: 1400px;
	  padding: 25px;
  }
  .box .column-inner .column-badge{
	  width: 33.33%;
  }
  
	a.floating-playbutton{
		right: -25px;
	}
  
  .column{
  	float: left;
  	width: 100%;
  }
  
  	.box{
	  	float: left;
	  	width: 45%;
		margin: 15px 5% 15px 0;
	}
}

@media (min-width: 1280px) {
	
  	.box{
	  	float: left;
	  	width: 28.33%;
		margin: 15px 5% 15px 0;
	}	
	
}