/* CSS Document */

.masthead {
	position:fixed;
	width: 100%;
	height:40px;
	align-content:center;
	background-color: #d9230f;
	
	-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
	box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
	z-index:100;
}

.title-header {
	position:fixed;
	top: 40px;
	width: 100%;
	height:auto;
	align-content:center;
	background-color: #fcfcfc;
 
  	-webkit-box-shadow: inset 0 -1px 10px rgba(0,0,0,.1);
	box-shadow: inset 0 -1px 10px rgba(0,0,0,.1); 
	z-index:99;
}

.lesson-title {
  margin-top: 15;
  margin-bottom: 0;
  font-size: 36px;
  font-weight: normal;
}

.lesson-description {
  font-size: 20px;
  color: #999;
  margin-top: 5px;
  margin-bottom: 0;
}

header {
 width: 100%;
 height: 100px;
 border: 2px;
 position: fixed;
 margin-top: 40px;
 background-color: #dddddd;
}

.lesson-header {
  padding-top: 120px;
  padding-bottom: auto;
}

.lesson-main {
  color: #666;
  text-align: justify;
  text-justify: inter-word;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}


/* Override Bootstrap's default container */
@media screen and (max-width: 650px) {
  .hidesmall {
    visibility: hidden;
	display: none;
  }
}

@media screen and (min-width: 651px) {
  .hidelarge {
    visibility: hidden;
	display: none;
  }
}

@media print{
  body{ background-color:#FFFFFF; background-image:none; color:#000000 }
  .contentarea{ width:100%;}
  .lesson-nav{ display:none;}
  .nav{ display:none;}
  .masthead{ display:none;}
  .title-header{ display:none;}
}


/* Nav links */
.lesson-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #eee;
}

.lesson-nav-item:hover,
.lesson-nav-item:focus {
  color: #fff;
  text-decoration: none;
}


/* Active state gets a caret at the bottom */
.lesson-nav .active {
  color: #fff;
}

.lesson-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}

.sidebar-module-inset {
  padding: 15px;
  background-color:transparent;
  border-radius: 4px;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}

.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/* Lesson Posts */
.lesson-post {
  margin-bottom: 60px;
}

.lesson-post-title {
margin-top:500px;
  margin-bottom: 5px;
  font-size: 40px;
}

.lesson-post-meta {
  margin-bottom: 20px;
  color: #999;
}


/*
 * Footer
 */
.lesson-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}

.lesson-footer p:last-child {
  margin-bottom: 0;
}

h3,
.h3,
h4,
.h4 {
  margin-top: 1.5em;
  margin-bottom: 8px;
}

p {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}
img {
  padding: 0px;
  border: solid 1px black;
  margin: 5px;
}

.img-centered {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width: 100%;
	min-width: 100%;
	float: none;
  clear: both;
  padding: 0px;
  border: solid 1px black;
}
		
.img-centered-regular {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width: 100%;
	float: none;
  clear: both;
  padding: 0px;
  border: solid 1px black;
}
		
.img-50percent-left {
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 10px;
	margin-left: 0px;
	max-width: 50%;
	min-width: 50%;
	height: auto; !important;
	float: left;
    clear: both;
    padding: 0px;
    border: solid 1px black;
}

.img-50percent-right {
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 00px;
	margin-left: 10px;
	max-width: 50%;
	min-width: 50%;
	height: auto; !important;
	float: right;
    clear: both;
    padding: 0px;
    border: solid 1px black;
}
		
figcaption {
	font-style: italic;
	font-size: 0.9em;
	text-align: center;
	background-color: #eee;
	margin-top: -5px;
	padding: 5px;
}

.textwrap-left {
	float: left;
	margin-top: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	margin-right: 10px;
}

.textwrap-right {
	float: right;
	margin-top: 0px;
	margin-bottom: 5px;
	margin-left: 10px;
	margin-right: 0px;
}

td-cell-middle { 
  display: table-cell;
  vertical-align: middle; 
}