/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

@font-face {
	font-family: sans-serif;
}	

@font-face{ 
        font-family: sans-serif;
}

.cf:before,
.cf:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.cf:after {
	clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.content {
  padding: 0 15px;
  width: calc(100% - 200px);
}
.content h1 {
  margin-top: 0;
}

.content{
  float: left;
  
}


/* The sticky */

.lessonBarHolder {
	position: -webkit-sticky;
	position: sticky;
	top: 15px;
	float: left;
	width: 190px;
	background-color: #00d6fb;
	border-radius: 25px;
}

.lessonBarHolder > img{
	display:block;
	margin: 0 auto;
	width: 90%;
	margin-top: 20px;
}

.lessonBarHolder > h1{
	padding-top: 0;
	margin-top: 0;
	text-align: center;
        font-family: sans-serif;
	color: white;
}

.lessonBarGroup {
	display: table;
	width: 90%;
	height: 30px;
	border-radius: 15px;
	text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
	text-decoration: none;
	white-space: nowrap;
	margin-left: 10px;  
	margin-right: 15px;
	padding: 0px;
	
	margin-bottom: 10px;
}

.lessonBarGroup:hover{
	box-shadow: 5px 5px 5px #888888;
}

.lessonBarGroup > img {
	display: inline-block; 
	margin-left: 5px;
	width: 25px;
	padding: 3px;
	padding-top: 0px;
	margin-right: 0px;
	margin-top: 8px;
}

.lessonBarGroup > span {
	display: inline-block;
        font-family: sans-serif;
	padding: 5px;
	padding-top: 0px;
	margin-top: 5px;
	margin-left: 0px;
	color: white;
	font-weight: bold;
	vertical-align: middle;
	font-size: 20px;
	line-height: 30%;
	height: 100%;
}
/*
Main Content
*/


#lesson-container{
	top: 0px;
	bottom: 0px;
	float: left;
	vertical-align: top;
        font-family: sans-serif;
}

#lesson-title-bar{
	display: flex; 
	flex-wrap: wrap; 
	flex-direction: row; 
	justify-content: flex-start; 
	background-color: #00d6fb; 
	color: white; 
	margin-bottom: 20px;
}

#lesson-title-image
{
	flex-grow: 1;
	text-align: center;
	padding: 20px;
}

#lesson-title-image > img
{
	width: 100%;
	min-width: 150px;
	max-width: 250px; 
}			

#lesson-title-holder
{
	flex-grow: 3;
	text-align: center;
}

#lesson-title
{
	padding: 20px;
}

#lesson-title > h1
{
	margin-top: 10px;
}

#lesson-title-types
{
	margin: 0 auto;
	display: table;
	width: 100%;
}

#lesson-title-type-sparkiduino
{
	display: inline-block;
	text-align: center;
	height: 50px;
	width: 40%;
	max-width: 300px;
	min-width: 200px;
	border-radius: 25px;
	font-size: 150%;
	font-weight: bold;
	line-height: 50px;
	background-color: #5ae7ff;
	margin-right: 10px;
}	

#lesson-title-type-easy
{
	display: inline-block;
	vertical-align: top;
	text-align: center;
	height: 50px;
	width: 40%;
	max-width: 300px;
	min-width: 200px;
	border-radius: 25px;
	font-size: 150%;
	font-weight: bold;
	line-height: 50px;
	background-color: #94df8a;
}

#lessons-you-should-know
{
	display: block;
	background-color: #66e8ff;
	border-radius: 20px;
	padding: 5px;
	margin: 20px;
}

#lessons-you-should-know > h2
{
	margin: 0;
	padding: 0;
}
#lessons-you-should-know > div
{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}			

#lesson-title-bar > h1{
	text-align: center;
	padding-top: 20px;
	font-size: 300%;
}
#lesson-title-bar > h2{
	text-align: center;
	padding-bottom: 20px;
	font-size: 150%;
}
#lesson-main-content {
}

#lesson-main-content > h2{
	margin-top: 50px;
	color: orange;
}

#lesson-main-content > p{
	font-size: 100%;
}	

#lesson-main-content > pre{
	display: block;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin: 10px;
	padding: 9.5px;
	font-size: 13px;
	word-breakL break-all;
	word-wrap: break-word;
}	

.lesson-warning {
  display: table;
  vertical-align: middle;
  background-color: #feff85;    
  border-radius: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
}
.lesson-warning > p {
  display: table-cell;
  position: relative;
  padding-left: 10px;
  padding-right: 20px;
  vertical-align: middle;
  font-weight: bold;
  line-height: 1.2em;
}

.lesson-warning::before {
  content: url(https://arcbotics.com/wp-content/uploads/2016/06/Warning_Triangle2.png);
}		

.iconBox{
	text-align: center;
	background-color: #00d6fb;
	color: white;
	border-radius: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.lesson-section-number-icon {
	display: inline-block; 
	min-width: 30px; 
	border-color: white; 
	background-color: white; 
	color: #00d6fb; 
	border-style: solid; 
	border-radius: 30px;
	text-align: center;
}

.lesson-section-title {
	border-bottom-left-radius: 0px; 
	border-bottom-right-radius: 0px; 
	margin-top: 0px; 
	font-size: 150%
}

.lesson-section {
	border-style: solid; 
	border-color: #00d6fb; 
	border-radius: 30px; 
	margin-bottom: 50px;    
}			

.no-show-link{
	text-decoration: none;
	color: black;
}

.lesson-guide-icon-image
{
	width: 100px;
	border-radius: 20px;
	margin: 8px;
	text-align: center;
}

.lesson-guide-icon-image > .software-type
{
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	width: 100%;
	margin: 0;
	padding: 0px;
	height: 30px;
	background-size: 25px;
	background-position: center; 
	background-repeat: no-repeat;
}

.sparkiduino-lesson > .software-type
{
	background-color: #00d6fb;
	background-image: url("SparkiDuino.png");
}

.codebender-lesson > .software-type
{
	background-color: #a8b1b8;
	background-image: url("codebender_icon_300x300-200x200.png");
}

.ardublock-lesson > .software-type
{
	background-color: #00d6fb;
	background-image: url("ardublock.png");
}

.minibloq-lesson  > .software-type
{
	background-color: #199a4d;
	background-image: url("miniBloq_icon_300x300-200x200.png");
}

.lesson-guide-icon-image > img
{
	padding: 5px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	width: 80%;
}

.lesson-guide-icon-image > p
{
	font-weight: bold;
	font-size: 100%;
        font-family: sans-serif;
	padding: 5px;
	padding-bottom: 8px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.lesson-guide-icon-image:hover{
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2), 3px 3px 3px 3px rgba(0, 0, 0, 0.19);
}

.lesson-select-button{
	display: inline-block; 
	vertical-align: top;
	width: 75px;
	height: 75px;
	margin: 5px;
	border-radius: 20px;
	text-align: center;
}

.lesson-select-button > img{
	width: 70%;
	max-height: 70%;
	margin-top: 15%;
}

#arduino-toggle-button{
	display: inline-block;
	height: 75px; 
	width: 75px;
	border-radius: 20px;
	margin: 5px;
}


#arduino-toggle-button:hover {
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2), 3px 3px 3px 3px rgba(0, 0, 0, 0.19);
}


.lesson-select-button:hover{
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2), 3px 3px 3px 3px rgba(0, 0, 0, 0.19);
}


.fadded {
	opacity: 0.3;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.19);
}

.easy-lesson{
	background-color: lightgreen;
}

.medium-lesson{
	background-color: khaki;
}

.hard-lesson{
	background-color: salmon;
}

.hidden{
	display:none;
}

.unhidden{
	display:block;
}
