/* 
Description: AIC Lesson Pages
Author: Jason King
Version: 1.2 
*/

/* Adjust Container, Navbar, Main, and Footer */
#container {
margin:0 auto;
padding:0;
width:1150px;
}
#head #navbar {
width:1120px;
}
#main {
margin: 0 auto;
padding: 45px 0 0 0;
width: 1110px;
}
#container #footer {
width: 1130px;
padding: 10px;
margin: 10px auto;
border-bottom: thin solid gray;
}

/* Lesson Posts */
#content.lesson {
	width: 950px;	
	font-size:15px;
	line-height:23px;
	float:left;
	overflow: visible;
}
#lesson_banner {
	width:100%;
	height: 121px;
	margin-top:-6px;
	overflow:hidden;
	background-color: #14487E;
}
#content.lesson ol, #content.lesson ul {
	padding-left: 1.7em;
	margin: 0;
	margin-bottom:15px;
}
#content.lesson h2 {
    font-family: Helvetica,Arial,sans-serif;
    font-size: 21px;
margin-top: 2em;
margin-bottom: 0.25em;
font-weight: normal;
}
#content.lesson h2 a {
    font-family: Palatino, 'Palatino Linotype', serif;
    font-color: #14487E;
    font-weight: normal;
	text-decoration: none;
}
#content.lesson h2.framing {
	font-family: Palatino, 'Palatino Linotype', serif !important; 
	font-style:italic;
	font-weight: normal;
	font-size: 24px;
    	line-height: 1.4em;
	padding-right: 125px;
	color: black;
}
#content.lesson div.post h2 {
	margin:0 0 0.25em 0;
}
#content.lesson h4 {
    clear: both;
    font-family: Palatino, 'Palatino Linotype', serif;
    font-size: 18px;
    font-style: italic;
    font-weight: normal;
}
#content.lesson .questions h4 {
	margin-top: -43px;
margin-bottom: 30px;
	}
#content.lesson div.post {
margin-bottom: 3em;
}


#content.lesson div.wp-caption {
background: none;
padding:0;
text-align: right;
}
#content.lesson div.rightcaption {
float:right; 
margin-left:20px; 
margin-top:40px; 
text-align: right;
font-size: 0.7em;
line-height: 1.3em;
}
#content.lesson div.rightcaption img {
margin-top: 1.5em;
}
#content.lesson div.boxgroup {
border: 1px solid #036;
padding: 12px;
width: 52%;
font-size: 0.85em;
margin: 25px 0px;
line-height: 1.5em;
}
#content.lesson div.boxgroup h2 {
font-size: 1.3em;
margin-top: 12px;
}
#content.lesson div.boxgroup h2:first-child {
margin-top:0;
}
#content.lesson div.activity {
width: 95%;
float: left;
padding: 8px;
background-color: #DDD;
margin-bottom: 20px;
}
#content.lesson div.activity img {
margin-left: 10px;
float: right;
width: 100px;
}
div.post-headline {
	margin-bottom: 11px;
	border-bottom: 1px solid #C33;
	width: 82%;
}
div.post-headline h1 {
	font-family: Palatino, 'Palatino Linotype', serif;
	font-weight: normal;
	font-size: 28px;
	line-height: 1.2em;
	margin:0 0 7px 0;
}
p {margin-top:0;}
.post {clear:both;}
.discussion {font-family:Palatino, 'Palatino Linotype', serif; width: 62%; margin-bottom:40px;}
.questions {
    background-color: white;
    border-left: 1px solid grey;
    display: block;
    float: right;
    font-size: 13px;
    line-height: 16px;
    margin: 0px -155px 28px 24px;
    padding: 0 0 0 15px;
    width: 50%;
    clear: right;
}
.questions-below {
	float:none;
	margin-left:0;
	width:95%;
}
.questions ol {
	padding-left:22px;
}
.questions ol li {
	margin-bottom:5px;
}
.define {
	cursor: pointer;
	padding: 1px 2px;
	border-bottom: 1px dotted #036;
	}
.define:hover {
	border-bottom: 1px dotted #C33;
	}
.note {
	font-family: sans-serif;
	font-size: 14px;
	color: #036;
}
/* Sidebar */
#lesson_sidebar {
	float:right;
	font-size:12px;
	line-height: 1.2em;
	width:134px;
	border-left:1px dotted grey;
	padding: 0 0 0 15px;
}
#lesson_sidebar .widget {
	margin-bottom: 0;
}
#lesson_sidebar .gfield_label {
	font-weight: normal;
}
#lesson_sidebar .gform_wrapper .gform_footer {
	margin: 0;
}
#lesson_sidebar h1 {
	line-height: 1em;
	font-weight: normal;
	margin-top: 0;
}
#lesson_sidebar ul {
	padding-left:0em;
	list-style:none;
}
#lesson_sidebar ul li a {
	display:block;
	margin-bottom:0.5em;
	text-decoration:none;
}
#lesson_sidebar input#s {
	width:100%;
	margin-bottom:5px;
}

/* Lesson Categories Dropdown Menu */
div.menu-lessons-container {
	background-color:#14487E;
	border-bottom:4px solid #ccc;
	z-index:100;
	height: 35px;
	margin-top: -21px;
	padding:0;
}
ul#menu-lessons {
	list-style:none;
	font-family: Palatino, 'Palatino Linotype', serif;
	font-size:16px;
	width: 920px;
	height: 35px;
	display: block;
	margin: 20px auto;
	padding: 0;
}
ul#menu-lessons li {
	float: left;
	position:relative;
}
ul#menu-lessons a {
    display: block;
    margin: 0 10px;
    padding: 8px 16px;
color: white !important;
}
ul#menu-lessons a:hover {
	background-color:#ddd;
	color:#14487E !important;
}
ul#menu-lessons :hover > a {
	background-color:#ddd;
	color:#14487e !important;
}
ul#menu-lessons ul.sub-menu {
	list-style:none;
	position:absolute;
	top:35px;
	left:4px;
	width:188px;
	font-size:0.9em;
	line-height: 1.3em;
	padding:0;
	z-index:100;
	visibility:hidden;
}
ul#menu-lessons ul.sub-menu li {
	float:none;
	border-top:4px solid #ccc;
}
ul#menu-lessons ul.sub-menu li a {
	background-color: #ddd;
	margin:0;
	color:#14487E !important;
	transition: background-color 500ms;
transition: color 150ms;
}
ul#menu-lessons ul.sub-menu li a:hover {
	background-color:#14487e;
	color:#fff !important;
}
ul#menu-lessons li:hover ul {
	visibility:visible;
}
#icrl {
	padding: 3px 0;
	text-align: center;
	background-color: #DDD;
	color: #c03;
	font-weight: 600;
	border-bottom: 4px solid #ccc;
	font-size: 1.1em;
	letter-spacing: .03em;}

/* Modal Window */
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 300ms ease-in;
	-moz-transition: opacity 300ms ease-in;
	transition: opacity 300ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}
.modalDialog > div {
	width: 475px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
}
.close {
	background: #036;
	color: #FFFFFF !important;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #c03; }

/* Lesson Table of Contents */
#toc {
	float: right; 
	width: 166px; 
	border: 1px solid #c03; 
	padding: 0; 
	margin: -15px 40px 20px;
box-shadow: 3px 3px 5px #bbb;
}
#toc h5 {
	margin: 0; 
	display: block; 
	background-color: #c03; 
	padding: 3px 0; 
	text-align: center; 
	font-size: 16px; 
	color: white;
}
#toc ul#contents-list {
	list-style-type: none;
	margin-bottom: 0;
	padding: 0;
}
#toc ul#contents-list a {
	display: block;
	background-color: #FFFAEA;
	padding: 5px 20px;
	padding-right: 0;
	width: 146px;
	text-decoration: none;
	color: black;
line-height: 1.3em;
	border-bottom: 1px dotted #036;
	transition: background-color 150ms;
}
#toc ul#contents-list a:hover {
	background-color: #fc9;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
}
#toc ul#contents-list a:hover:before {
	content: "» ";
	transition-duration: 100ms;
}

/* Rate and Review Form */
#wpcr_respond_1 p { display:none!important; }
#wpcr_respond_2 { display:block!important; }
#wpcr_respond_1 .vcard .fn {font-size: 15px !important;}

/* Lesson Home Page */
#content.lesson-home {
	display: flex;
display: -webkit-flex;
display: -ms-flex;
	flex-wrap: wrap;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
width: 1110px;
}
#content.lesson-home div.post {
	width: 46%;
  	float: left;
	clear: none;
	font-size: 10pt;
  	line-height: 13pt;
  	padding: 10px;
  	margin: 10px;
  	border: 1px solid #036;
  	box-shadow: 0 0 8px #bbb;
	background-color: #FFF4EA;
}
#content.lesson-home div.post h2 {
	font-size: 13pt;
	line-height: 15pt;
	background-color: #036;
  	border-bottom: 2px solid #c03;
  	padding: 11px 11px 8px;
  	margin: -11px -11px 12px -11px;
}
#content.lesson-home div.post h2 a {
	color: white;
}
#content.lesson-home div.post img.attachment-thumbnail {
	float:right; 
	margin:0px 0px 10px 10px; 
width: 190px;
height: auto;
}
.sticky img.attachment-thumbnail {
	margin-top: 5px; 
	margin-bottom:0px;
}
#content.lesson-home div#post-650 { /* about aic box */
	width: 533px;
  	float: left;
  	font-size: .91rem;
  	clear: none;
  	line-height: 1.4rem;
  	padding: 0;
	border:0;
background-color: white;
	box-shadow: none;
} 
#content.lesson-home div#post-650:before {
display: none;
}
#content.lesson-home div#post-650 h2 {
	padding:0;
	background: white;	
	border: 0;
margin:0;
}
#content.lesson-home div#post-650 h2 a {
	font-family: Helvetica, Arial, sans-serif !important; 
	font-size: 18px;
	color: #036;
}
#content.lesson img.activity-thumb {
	vertical-align: text-bottom; 
	margin-left: 5px;
	width: 26px;
}
#content.lesson-home div.sticky {
	background-color: #FFE5CC;
	padding: 0.75em;
	padding-bottom: 0;
	border: thin solid #c03;
	width: 510px;
	float:left;
	clear: none;
margin-bottom: 2em;
}
#content.lesson-home div.sticky h2 {border-bottom: none;}
#content.lesson-home div.sticky:before {
  content: "New Lesson";
  font-style: italic;
  color: white;
  display: block;
  margin-top: -33px;
  margin-bottom: 11px;
  background: #c03;
  padding: 3px 12px;
  width: 508px;
  margin-left: -11px;
  box-shadow: 0 0 8px #bbb;
}