/* ******************************
*****
***** eBidda.com
*****
******************************* */


html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 30px;
}
label {
    display: inline-block;
    margin-bottom: .125rem;
}
main,section,footer{
	padding-top:100px;
	padding-bottom:75px;
}
/* === Bootstrap modal backdrop change === */
.modal-backdrop{
	background-color: #022906 !important;
}
/* === Background Color === */
.bg-light-red{
	background-color:#f9dede !important;
}
.display-5 {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.2;
}
.display-6 {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.2;
}
.top-auto{
	top:auto;
}
.bottom-auto{
	bottom:auto;
}
.right-auto{
	right:auto;
}
.left-auto{
	left:auto;
}
/* === header part ==== */
.c_logo{
	height:60px;
}
ul li.list-inline-item:not(:last-child) {
	margin-right: .7rem;
}
.social_icon ul li a{
	font-size: 1.1em;
	padding:2px;
}
.social_icon .list-inline .list-inline-item:nth-of-type(1) a:hover{
	color: #0056b3;
}
.social_icon .list-inline .list-inline-item:nth-of-type(2) a:hover{
	color: #1da1f2;
}
.social_icon .list-inline .list-inline-item:nth-of-type(3) a:hover{
	color: white;
	background-color:#007bff;
	border-radius:2px;
}
.social_icon .list-inline .list-inline-item:nth-of-type(4) a:hover{
	color: #d40606;
}
.social_icon .list-inline .list-inline-item:nth-of-type(5) a:hover{
	color: red;
}
.social_icon .list-inline .list-inline-item:nth-of-type(6) a:hover{
	color: #4098f7;
}
.search{
	padding: .25rem .75rem;
    font-size: .85rem;
	line-height:1.3;
}

/* ====== Nav Button Part ====== */
#navButton{
	font-size: .9rem;
    background: #cef9ce;
    color: #151414;
    font-weight: 500;
    padding-left: 6px;
}
.user_access a.btn{
	font-size:.7rem;
}
.user_access a.log_in, .user_access a.log_in:hover{
	color:white;
}
a.user_profile_name{
	padding:0;
	max-width: 100px;
	overflow: hidden;
	font-size: .9rem;
	color: rgba(0,0,0,.5);
	cursor: default;
	white-space: nowrap;
}
a.user_profile_name:hover{
	color: rgba(0,0,0,.75);
}
a.user_profile_pic{
	padding:0;
	border:1px solid #e2d0e8;
}
a.user_profile_pic:hover{
	box-shadow: 0px 0px 10px -2px black;
}

/* ====== Overlay Making ====== */
.overlay{
	position:absolute;
	background-color:#0000006b;
	top:0;
	bottom:0;
	right:0;
	left:0;
	color:white;
}
.overlay a{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	
}

/* ====== Login Part ====== */
#login .modal-content{
	max-width:375px;
}
#login .modal-title a{
	font-size:1rem;
	line-height:1.6;
	padding-right:5px;
	color:red;
}
#login .form-group{
	margin-bottom:.5rem;
}
#login label{
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .15rem;
}
#login .form-control{
    padding: .25rem .5rem;
	font-size:.9rem;
	line-height: 1.2;
}


/* --------------------------------- 
======== SideNav Info Part =========
---------------------------------- */
#infoNav {
    position: fixed;
	z-index:1010;
   }
#infoIcon {
	position:absolute;
	top:250px;
    width: 20px;
    text-align: center;
    font-size: 10px;
    padding: 5px;
    background: #012714;
    color: white;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
	cursor:pointer;
}
#info {
	position: absolute;
	top: 70px;
    left: -298px;
    padding: 15px;
    padding-top:40px;
    width: 300px;
    text-decoration: none;
    font-size: 20px;
    color: white;
	background-color:#012714;
    border-radius: 0 5px 5px 0;
	height: calc(100vh - 50px);
    overflow-x: hidden;
    overflow-y: auto;
	-webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
#info.collapse.show{
	left:0;
}
#info a{
	text-decoration:none;
	color:#6c757d!important;
}

#info a:hover{
	color:white!important;
}


/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #888; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #717171; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* === Registration Page Content ==== */
#register .form-group{
	margin-bottom:.5rem;
}
#register label{
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .15rem;
}
#register .form-control{
    padding: .25rem .5rem;
	font-size:.9rem;
	line-height: 1.2;
}
/* === Front Page Content ==== */
.thumb_content{
	margin-bottom:25px;
	margin-top:15px;
}
.thumb_content a.card{
	padding-top:15px;
	text-decoration:none;
	background-color: #eee9fb;
}
.thumb_content .display-1{
	height:150px;
}
.thumb_content i.fas, 
.thumb_content i.fab{
	font-size:1.3em;
	color:green;
	text-shadow: 0px 0px 3px black;
}
.thumb_content .card-body{
	padding:1rem;
}
.thumb_content .card-body p{
	font-weight:500;
	color:red;
	text-shadow: 0px 0px 1px black;
}
.active, .thumb_content:hover{
	padding-right:0px;
	padding-left:0px;
	transition-duration: 1s;
	z-index:999;
}
.active .card, .thumb_content:hover .card{
	z-index:1025;
	margin-bottom:-15px;
	margin-top:-10px;
	border:0;
	background-color:#defbde;
	box-shadow: 0px 0px 20px #02562c;
}
.active .display-1, 
.thumb_content:hover .display-1{
	height:175px;
}
.active>i.fas, .active>i.fab,
.active_toogle.active i.fas, 
.thumb_content:hover i.fas, 
.thumb_content:hover i.fab{
	font-size:1.5em;
	color:red;
	text-shadow: 0px 0px 10px black;
	transition-duration: 0.7s;
} 
.active .card-body p, 
.thumb_content:hover .card-body p{
	font-weight:500;
	color:green;
	text-shadow: 0px 0px 3px black;
}

.source_view .card{
	background-color:#02562c;
	text-decoration:none;
	color:white;
	text-shadow: 0 0 2px #55e40c;
	margin-right:-10px;
	margin-left:-10px;
	margin-bottom:10px;
}
.source_view .card-body{
	padding:.5rem;
}

/* --------------------------------- 
========= Course List Page =========
---------------------------------- */
.program-list li, .previous-program-list li{
	padding: .25rem .125rem !important;
}
.program-list li:hover{
	color: black !important;
}

/* --------------------------------- 
========= Course View Page =========
---------------------------------- */
.card-author{
    width: 100%;
    margin-top: -36px;
    position: relative;
    background-image: linear-gradient(#02020200, #040404ad 50%,#fbfbfa00 50%);
}
.author_pic{
	max-width: 65px;
    margin-bottom: 5px;
    margin-left: 5px;
    border-radius: 100%;
    box-shadow: 0 1px 10px rgba(45, 44, 44, 0.78);
}
.lessonButton a.btn{
	border-radius:50%;
}

/* --------------------------------- 
========== Footer Part =============
---------------------------------- */

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 50px;
  padding:15px;
  background-color: #d0fbd0;
}
.fb_div{
	position:fixed;
	bottom:10px;
	right:20px;
	z-index:1030;
}

#fb_page{
	display:none;
}
#fb_page iframe{
	box-shadow:0 0 3px black;
}
#fb_close{
	font-size:1.5rem;
	cursor:pointer;
	text-align:right;
	transition-duration: 1s;
}
#fb_close:hover{
	font-size:1.75rem;
	color:red;
}
#fb_button{
	font-size:3rem;
	color:blue;
	cursor:pointer;
	text-shadow:0 0 3px black;
	transition-duration: 1s;
	text-align:right;
}
#fb_button:hover{
	font-size:3.2rem;
	color:#007bff;
	text-shadow:0 0 3px blue;
}

.text-muted{
	color: #5e845e!important;
    font-weight: 500;
}
/** === Sidebar ==== **/

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 25px);
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}
.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  cursor:pointer;
}
.sidebar .nav-link.active {
  color: #007bff;
}
.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}
#courseNav,
#dashboard{
	padding-top:10px;
}
#courseNav ul li a:hover, #courseNav ul li a:active, #courseNav ul li a:focus,
#dashboard ul li a:hover, #dashboard ul li a:active, #dashboard ul li a:focus {
	background-color: #ffe5e5;
	transition:ease-in .5s;
}
#courseNav .active,
#dashboard .active{
	padding-right:15px;
	padding-left:15px;
	background-color: #b6f5b2;
    color: red;
}
#courseNav ul li ul li.active,
#dashboard ul li ul li.active{
	background-color: #ffe5e5;
}
#courseNav ul li ul li.active a,
#dashboard ul li ul li.active a{
	color: #01562b;
    font-weight: 500;
    text-shadow: 0px 0px 1px #6a9a6d;
}
#courseNav .active i.fas, 
#courseNav .active i.fab,
#dashboard .active i.fas, 
#dashboard .active i.fab{
	color:inherit;
	text-shadow:none;
}
#courseNav ul li,
#dashboard ul li{
	width:100%;
}
#courseNav .main-categ .nav-link:before,
#dashboard .main-categ .nav-link:before{
	content:'-';
	float:right;
	text-shadow: 0 0 1px;
    font-size: 1.2rem;
    line-height: 1;
}
#courseNav .main-categ .nav-link.collapsed:before,
#dashboard .main-categ .nav-link.collapsed:before{
	content:'+';
	float:right;
	text-shadow: 0 0 1px;
    font-size: 1.2rem;
    line-height: 1;
}
@media (max-width: 576px){
	#courseNav, #dashboard {
		z-index: 1990;
		top: 0;
		max-width:225px;
	}
	.navbar-toggler {
		padding: .125rem .125rem;
	}
	.navbar-toggler-icon {
		height:1em;
	}
	#courseNav, #dashboard{
		display:none;
	}
}
#subMenu{
	position:fixed;
	top: 4.5rem;
	left: 12rem;
	width:200px;
	z-index:1999;
	background:white;
	box-shadow: 0 0 1px #a5a4a4;
	display:none;
}
#subMenu ul{
	display:block;
	position: sticky;
	top: 0;
	min-height:50vh;
	max-height:calc(100vh - 70px);
	overflow-x: hidden;
	overflow-y: auto;
}
#subMenu ul li{
	width:100%;
	border-bottom: 1px solid #f1f0f0;
}
@media (max-width: 425px){
	#subMenu{
		top:3rem;
		left:auto;
		right:0;
		width:175px;
		
	}
}
/* ======== Card Content ========== */
a.card{
	text-decoration:none;
	color:black;
}
.card-columns {
		column-gap: .75rem;
	}
@media (max-width: 972px){
	.card-columns {
		column-count:2;
	}
}
@media (max-width: 550px){
	.card-columns {
		column-count:1;
	}
}

/* ----------------------------------------
=========== Course Details Page ===========
------------------------------------------- */
.breadcrumb_link {
	position:sticky; 
	top:52px; 
	z-index:999;
}
.breadcrumb_link .breadcrumb{
	padding:8px;
	font-size: .75rem;
	background-color: #f7f7f7;
}
.course_name{
	border-bottom: 1px solid #d5ecda;
    padding-bottom: 7px;
    text-shadow: 1px 0px 1px #054601;
}
.course-desc{
	background-color: #f1efef;
    padding: 5px 7px;
    border-radius: 7px;
	font-size: 1rem;
}
#accordion .card-header{
	font-size: 1.25rem;
    font-weight: 200;
	padding: .5rem 1.25rem;
	color: #fff;
    text-shadow: 2px 1px 3px black;
	cursor: pointer;
}
#accordion .card-header:before{
	content:'-';
	float:right;
	text-shadow: 0 0 2px black;
    font-size: 2.7rem;
    line-height: .5;
	color:white;
}
#accordion .card-header.collapsed:before{
	content:'+';
	float:right;
    font-size: 1.7rem;
	line-height:1;
}
#c_outline .card-header{
	font-size: 1rem;
    font-weight: 400;
	padding: .25rem 1.25rem;
	color: black;
	text-shadow:none;
	cursor: pointer;
}
#c_outline .card-header:before{
	content:'-';
	float:right;
    font-size: 2rem;
    line-height: .5;
	color:black;
	text-shadow:none;
}
#c_outline .card-header.collapsed:before{
	content:'+';
	float:right;
    font-size: 1.2rem;
	line-height:1;
}
.author-performance li{
	margin:.3rem auto;
}
.course_confirmation{
	width:100%;
	position: sticky;
	top:95px; 
	z-index: 999;
}
.course-desc.see_more_content{
	max-height:75px;
	overflow:hidden;
}
.see_more_btn{
	position:absolute;
	bottom:0;
	right:0;
	height:25px;
	text-align:right;
	font-weight: 600;
	width:100%;
	background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.95), #FFF);
	cursor: pointer;
}
/* -- Enroll Modal -- */

#enroll label{
	font-size:1rem;
	font-weight:600;
	margin-bottom:0;
}
@media (max-width: 450px){
	#accordion .card-header{
		font-size: 1rem;
		padding: .5rem 1rem;
	}
}
/* ===================================================
=================== Dashboard CSS ====================
====================================================== */
/* -- ==== Create Category Page === -- */

/* ----------------------------------
=========== Study page ============
---------------------------------- */

#enrolledCourse .card{
	min-height:500px;
}
.author_pic{
	max-width: 65px;
    margin-bottom: 5px;
    border-radius: 100%;
    box-shadow: 0 1px 10px rgba(45, 44, 44, 0.78);
}
.waitting{
	background-color: #fddd10a8;
	color: #750871f5;
}
.waitting .list-group-item{
	background-color: transparent;
}
#wishlistedCourse .card{
	background-color:#ffe3c1!important;
}
#wishlistedCourse .card img{
	max-height:200px;
}
/* ----------------------------------
=========== Profile page ============
---------------------------------- */

#profile_pic{
	width:150px;
	float:right;
	position:relative;
}
#profile_pic img{
	height:150px;
	width:100%;
}
#profile_pic .profile_content{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	display:none;
}
#profile_pic span{
	padding:5px 10px;
	font-size:.7rem;
	color:white;
	background-color: #740c86;
	border-radius: 7px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	cursor:pointer;
}
#profile_pic:hover .profile_content{
	display:block;
	background-color:#a01bb738;
}
.profile_table .profile_data{
	background-color: #c5c5c5; 
}
.profile_table .profile_data span{
	font-size: 1.25rem; 
	color: #040404; 
	text-shadow: 0px 0px 5px white;
	
}
.profile_table .profile_data .btn{
	background-color: #dcdcdc;
    color: #676666;
    font-weight: 400;
    text-shadow: 0px 0px 1px #908d8d;
}
.profile_table .profile_data .update{
	background-color: #FFF176;
    color: #c74c10;
}
.profile_table .profile_data .btn:hover{
	background-color: #92ea98;
    color: #037908fa;
    border: 1px solid #03bd03;
    box-shadow: 0 0 20px -2px #737573;
    transition: ease-in .5s;
}

/* ----------------------------------
=========== Lesson page ============
---------------------------------- */
#course_form .form-row, 
.lesson_form .form-row{
padding-top:1rem;
}
#course_form .form-row:nth-child(even),
.lesson_form .form-row:nth-child(even){
background-color:#f3f3f3;
}
#course_form textarea,
.lesson_form textarea,{
height:200px;
}
.large_modal .modal-dialog{
    max-width: 960px;
}

/* ------ Summernote Modal ------ */
#courseAction .modal-dialog, #courseActionReport .modal-dialog{
	max-width:768px;
}
/* ----------------------------------
=========== Device Screen ===========
---------------------------------- */

@media (min-width: 925px){
	.blank_box {
		height:60px;
	}
	.thumb_content .card-body p {
		font-size:2vw;
	}
}

@media (max-width: 925px){
	.blank_box {
		height:60px;
	}
	.thumb_content .card-body p {
		font-size:2.5vw;
	}
	.source_view .card-body p {
		font-size:16px;
	}
}

@media (max-width: 750px){
	.c_logo{
		height:auto;
		max-height:60px;
	}
	
}
@media (max-width: 575px){
	.breadcrumb_link {
		top:88px;
	}
	.enRoll{
		position:inherit;
		top:0px;
		z-index:10;
	}
	.course_confirmation{
		top:168px;
	}
/* --- === Dashboard Start === ----- */
	.thumb_content .card-body p {
		font-size:5vw;
	}
	.blank_box {
		height:105px;
	}
	.welcomeDisplay{
		font-size:4rem !important;
	}
}
