.top_actions {
	list-style: none;
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid #E5E5E5;
}
.top_actions > li {
	display: inline-block;
	margin: 0 15px;
}
.top_actions li > a {
	color: #666;
	font-size: 14px;
}
.top_actions li .dropdown-menu li a {
	font-size: 13px;
}
.btn_right {
	float: right;
	position: relative;
	top: -50px;
}

.bdc {
	/*centering*/
	display: inline-block;
	box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	margin-bottom: 20px;
}

.bdc a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 36px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 10px 0 40px;
	background: #666;
	background: linear-gradient(#666, #333);
	position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.bdc a:first-child {
	padding-left: 20px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.bdc a:first-child:before {
	left: 14px;
}
.bdc a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*hover/active styles*/
.bdc a.active, .bdc a:hover{
	background: #333;
	background: linear-gradient(#333, #000);
}
.bdc a.active:after, .bdc a:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the bdcs using rotated pseudo elements*/
.bdc a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .bdc a */
	width: 36px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}
/*we dont need an arrow after the last link*/
.bdc a:last-child:after {
	content: none;
}
.flat a, .flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
}
.flat a:before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.flat a.active,
.flat a.active:hover, 
.flat a.active:after,
.flat a.active:hover:after{
	background: #2396f3;
	color: #fff;
	font-weight: bold;
	cursor: initial;
}
.flat a:hover,
.flat a:hover:after {
	background: #ccc;
	color: #000;
	font-weight: normal;
}
.listing_filter img.img-responsive {
	height: auto;
}
#seasons_teacher_switcher {
    width: 200px;
    position: absolute;
    right: 10px;
    top: 3px;
    z-index: 99;
}
#books .fake_image {
	max-width: 70px;
}

p.skills_title {
    margin: 20px 0 0px;
}
#games_block p {
	color: #000;
}
.end_blue_box p {
	color: #fff !important;
}
#app_container {
	height: 570px !important;
}
#joker li a {
	font-size: 12px !important;
}
.mejs__container {
    background: #2296f3 !important;
}
#media1 .mejs__container, #media2 .mejs__container {
	width: 60% !important;
}
#finish_popup .btn_menu, #finish_popup .btn_restart {
	box-shadow: none;
}
#finish_popup .btn_restart {
	margin-top: -10px;	
	line-height: 120px;
}
#answers .answer p, .media > div.active {
	color: #000;
    font-size: 14px;	
}
.good_wrong_wrapper h1, .good_wrong_wrapper h3 {
	color: #fff !important;
}
p.skills_list {
    margin-top: 20px;
}
#finish_popup .btn_menu {
	line-height: 120px !important;
}
#answers .answer.correction, #answers .answer.correction p {
	color: #fff !important;
}
#pause_popup p button {
	margin: 0 auto !important;
}
.grid-container {
	max-width: 970px;
	margin: 0 auto;
	position: relative;
}
.breadcrumb {
	border-bottom: none !important;
}
.breadcrumb li.active {
    font-size: 18px;
}
.greycard {
	background: #f6f6f6 !important;
}
h2.main_top_title {
	color: #666 !important;
	margin-bottom: 20px !important;
	font-size: 27px !important;
}
body.sw-toggled .breadcrumb {
	margin-left: 0 !important;
}
.card-transparent, .card-transparent .card-header, .card-transparent .card-body {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.learn_more_groove {
    background: #fcfafa;
    padding: 20px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 30px;
    color: #666;
    margin: 0 auto;
	display: block;
	width: 250px;
	text-align: center;
	line-height: 26px;
}
.learn_more_groove i {
	color: #00d38b;
	font-size: 20px;
	position: relative;
	top: 2.5px;
	margin: 0 10px 0 0;
}
.learn_more_groove strong {
    color: #45a6f9;
    font-weight: normal;
}
.learn_more_groove:hover {
	background: #f3f3f3;
	color: #666;
}
.nav-tabs > li a {
	background: #f3f6f8 !important;
}
.nav-tabs > li.active > a {
	background: #fff !important;
}