/*----------------------------------------------------------------------------*/
/*                                                                            */
/* Copyright (c) 2018 by Learning Patterns. All Rights Reserved.    	      */
/*                                                                            */
/* CSS        : layout.css    (mobile-first/responsive)                       */
/*                                                                            */
/* Description: Layout rules for learningpatterns.com                         */
/*                                                                            */
/*----------------------------------------------------------------------------*/

/* Resets
---------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General settings
---------------------------------*/
body, td, th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
}
a {
    color: #324d54;
    text-decoration: none;
    -webkit-transition: color 0.35s;
    transition: color 0.35s;
}
a:hover {
    color: #9a0000;
    text-decoration: none;
}
p, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.75em; /* 12px divided by 16px */
}
h1, h2, h3, h4, h5, h6 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.0em;
}
h1 {
    font-size: 1.6em;
}
h2 {
    font-size: 1.4em;
}
h3 {
    font-size: 1.2em;
}
h4 {
    font-size: 1.0em;
}
h5 {
    font-size: 0.9em;
}
h6 {
    font-size: 0.8em;
}
strong, b {
    font-weight: bold;
}
em, i {
    font-style: italic;
}

/* Wrappers
---------------------------------*/
div#page_wrapper {
	position: relative;
	width: 96%;
    margin: 0 2%;
}
div#content_wrapper {
    width: 100%;
    margin: 16px 0 0 0;
}
section {
	width: 98%;
    margin-bottom: 32px;
    font-size: 0.9em;
    line-height: 1.1em;
}

/* Header
---------------------------------*/
header {
    position: relative;
    margin: 0 0 6px 0;
}
header img {
    width: 98%;
    max-width: 475px;
    height: auto;
}
header span { /* top and transform rules perform vertical centering */
    position: absolute;
  	top: 55%;
    -webkit-transform: translateY(-45%);
  	-ms-transform: translateY(-45%);
  	transform: translateY(-45%);
    left: 520px;
    margin-right: 6px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #324d54;
    font-style: italic;
    line-height: 1.4em;
    letter-spacing: -1px
}

/* Page content
---------------------------------*/
section h1 {
    color: #9a0000;
}
section.courseware {
    width: 98%;
    padding: 12px 0 0 0;
}
section.courseware h2 {
	color: #9a0000;
    margin-top: 32px;
}
div.c-info {
    font-size: 0.9em;
    line-height: 1.1em;
}
div.c-info h2 {
    color: #9a0000;
}
div.c-info ul {
	margin-top: 0;
    padding-left: 24px;
    list-style: square;
}
ul.expander {
	position: relative;
}
ul.expander, ul.expander ul {
	list-style: none;
    padding: 0;
}
section.home ul.expander {
    margin-top: 38px;
}
section ul.expander li.l1 {
    margin-bottom: 0.75em;
}
section ul.expander li.l1 div {
    border-bottom: 1px solid #324d54;
    padding-bottom: 3px;
    font-size: 1.2em;
    font-weight: bold;
}
section ul.expander li.l1 ul {
    padding-left: 40px;
    margin-top: 4px;
    line-height: 1.2em;
}
section.courseware ul.expander li.l1 ul {
    list-style: square;
}
section.courseware ul.expander li.l1 ul ul {
    margin-top: 0;
}
section p a {
	font-weight: bold;
}

/* Footer
---------------------------------*/
footer {
    width: 98%;
    padding: 8px 1%;
    font-size: 0.8em;
    line-height: 1.3em;
}