/* -----------------------------------------
	Table of Contents: 

	Scale
	Tag Resets
	Normalize CSS
	Web Fonts
	Fluid Media
	Custom Styles
	Media Queries

----------------------------------------- */

/* -----------------------------------------

	Scale

----------------------------------------- */

/* 
font-size: 17px target / 16px default = 1.063em
line-height: 20px target / 16px font = 1.25em

Scale: 1.063 x 1.25 = 1.32875, round to 1.3 

3/4 scale = 0.975
1/2 scale = 0.65
1/4 scale = 0.325
*/


/* -----------------------------------------

	Tag Resets

----------------------------------------- */

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	margin: 0;
	padding: 0;
	border: 0;
}


/* -----------------------------------------

	Normalize CSS
	https://necolas.github.com/normalize.css/

----------------------------------------- */

html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	height:100%;
	font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
audio,
canvas,
video {
	display: block;
}

iframe {
	border:none;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

b,
strong {
	font-family:"Gotham-Bold", sans-serif;
}

em {
	font-style: italic;
}

abbr[title] {
	border-bottom: 1px dotted;
}

textarea {
	overflow: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* this is taken from an article about correcting a problem where Apple mobile devices wouldn't play iframe videos: */

a,
object,
input,
a:active,
a:focus,
input:active,
input:focus {
	outline:none;
}


/* -----------------------------------------

	Web Fonts

----------------------------------------- */


@font-face {
	font-family:"Gotham-Light";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-light-webfont.eot");
	src: url("./fonts/gotham-light-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-light-webfont.svg#gotham-light") format("svg"),
	     url("./fonts/gotham-light-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-light-webfont.woff") format("woff"),
	     url("./fonts/gotham-light-webfont.woff2") format("woff2");
}

@font-face {
	font-family:"Gotham-Book";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-book-webfont.eot");
	src: url("./fonts/gotham-book-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-book-webfont.svg#gotham-book") format("svg"),
	     url("./fonts/gotham-book-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-book-webfont.woff") format("woff"),
	     url("./fonts/gotham-book-webfont.woff2") format("woff2");
}

@font-face {
	font-family:"Gotham-Bold";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-bold-webfont.eot");
	src: url("./fonts/gotham-bold-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-bold-webfont.svg#gotham-bold") format("svg"),
	     url("./fonts/gotham-bold-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-bold-webfont.woff") format("woff"),
	     url("./fonts/gotham-bold-webfont.woff2") format("woff2");
}

@font-face {
	font-family:"Gotham-Medium";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-medium-webfont.eot");
	src: url("./fonts/gotham-medium-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-medium-webfont.svg#gotham-medium") format("svg"),
	     url("./fonts/gotham-medium-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-medium-webfont.woff") format("woff"),
	     url("./fonts/gotham-medium-webfont.woff2") format("woff2");
}

@font-face {
	font-family:"Gotham-Book-Italic";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-book-italic-webfont.eot");
	src: url("./fonts/gotham-book-italic-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-book-italic-webfont.svg#gotham-book-italic") format("svg"),
	     url("./fonts/gotham-book-italic-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-book-italic-webfont.woff") format("woff"),
	     url("./fonts/gotham-book-italic-webfont.woff2") format("woff2");
}

@font-face {
	font-family:"Gotham-Light-Italic";
	font-weight:normal;
	font-style:normal;
	src: url("./fonts/gotham-light-italic-webfont.eot");
	src: url("./fonts/gotham-light-italic-webfont.eot?#iefix") format("embedded-opentype"),
	     url("./fonts/gotham-light-italic-webfont.svg#gotham-light-italic") format("svg"),
	     url("./fonts/gotham-light-italic-webfont.ttf") format("truetype"),
	     url("./fonts/gotham-light-italic-webfont.woff") format("woff"),
	     url("./fonts/gotham-light-italic-webfont.woff2") format("woff2");
}




/* -----------------------------------------

	Fluid Media

----------------------------------------- */


figure {
	position: relative;
}

figure img,
figure object,
figure embed,
figure video,
figure iframe {
	display: block;
	max-width: 100%; 
}

/* 
interpolation-mode
https://css-tricks.com/ie-fix-bicubic-scaling-for-images/
 */

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}


/* -----------------------------------------

	Custom Styles

----------------------------------------- */


body {
	font-family:"Gotham-Light", sans-serif;
	font-weight:normal;
 	line-height:1.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#top {
	height: 360px;
	width: 100%;
	position:relative;
	background: url("https://www.topospartnership.com/wp-content/uploads/2016/01/gradient_brown3.png") no-repeat top center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

#wrap {
  width:100%;
  margin:0 auto;
  padding:0 10px;
  background-color: #fff;
}

#outer-wrapper {
  width: 940px;
  margin: 0 auto;
  padding: 2em;
  background-color: #fff;
}

#header-wrapper {
  width: 940px;
  margin: 0 auto .9em;
  border: 1px solid #cccccc;
}

#header {
	margin: 5px;
	border: 1px solid #cccccc;
	text-align: center;
	color: #666666;
}

#header-inner {
  text-align: left;
}

#header-inner nav {
  display:inline;
  float:right;
  font-size:13px;
  text-transform: uppercase;
}

#header-inner nav a,
nav.inner a {
  padding:0 .53em;
  color:blue;
  text-decoration: none;
}

/* Title over the whole report */
h1 {
	font-family:"Gotham-Bold", sans-serif;
	font-size:2.5em;
	font-weight:300;
	line-height: 1.365em;
	padding-right:20px;
	color:#fff;
}

/* Subtitle over the whole report */
h2 {
	font-family:"Gotham-Book", sans-serif;
	font-size: 1.3em;
	text-align:right;
	padding-right:20px;
	color:#fff;
}

h1#maintitle {
	text-align:right;
	padding-top:150px;
}

h2#second_subtitle {
	padding:20px;
}

.bluebanner {
	position: relative;
	width:100%;
	background: url("./images/gradient_blue2.png") no-repeat top center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

.chapterstripe {
	height:40px;
}

.chapter {
	height:150px;
	position: relative;
	background: url("https://www.topospartnership.com/wp-content/uploads/2016/01/gradient_brown3.png") no-repeat top center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

/* All-caps chapter titles */
h3 {
	font-family:"Gotham-Bold", sans-serif;
	text-transform: uppercase;
	font-size:2.965em;
	line-height: 1em;
	position: absolute;
	bottom:.25em;
	right:20px;
	text-align: right;
	color:#fff;
	padding:.25em;	
}

/* blue all-caps intertitles */
h4 {
	font-family:"Gotham-Medium", sans-serif;
	text-transform: uppercase;
	font-size: 1.2em;
	color: #103A60;
	margin: .65em 0;
	clear:both;
}

/* Brown intertitles */
h5 {
	font-family: "Gotham-Book";
	font-size: 1em;
	margin: .65em 0;
}

/* blue all-caps smaller intertitle */
h6 {
	font-family:"Gotham-Bold", sans-serif;
	text-transform: uppercase;
	font-size: 1em;
	color:#103A60;
	margin-top:1em;
}

.textContainer {
	padding:0 3em;
	margin: 1em auto 2em;
	width: 43em;
}

.sectionIntro {
	font-family:"Gotham-Medium", sans-serif;
	padding-bottom: 2em;
}

.special p {
	font-family:"Gotham-Bold", sans-serif;
	font-style: italic;
	line-height: 3;
}

p {
	line-height: 1.65;
	margin-top: .975em;
}

p.indentp {
	margin:.975em 0 2em 2em;
}

p.special_indent_italic {
	font-family: "Gotham-Book-Italic";
	margin:.975em 0 0 2em;
}

a.bluelink {
	color:#F88028;
}

a.bluelink:hover,
a.bluelink:active {
	color:#E87018;
	font-weight: bold;
}

a.note {
	font-family:"Gotham-Book", sans-serif;
	color:#103A60;
	text-decoration: none;
}

.smallblue {
	font-family:"Gotham-Bold", sans-serif;
	color: #103A60;
	font-size: .8em;
	text-align:right;
	margin-right: 3em;
}

#introLogo {
	float:right;
	margin:1.25em 2.5em 0 0;
	width:80px;
	height:112px;
}

ol {
	list-style-position: inside;
}

ul {
	list-style-position: inside;
	margin-left:2em;
}

ul li {
	padding-left: 1em;
	text-indent: -1em;
	margin-top:.65em;
}

.quotes {
	margin-top: .975em;
}

aside {
	width:40%;
	margin-bottom: 2em;
}

aside#ownwords {
	float:right;
	margin:1em 0 2em 2em;
	padding: .5em 1em;
	border:3px solid #103A74;
	background-color: #EDEBE5;
	font-family:"Gotham-Book-Italic";
	font-size:.9em;
	color:#103A74;
}

.leftbox {
	float:left;
	margin:.5em 1em 1em 0;
}

.rightbox {
	float:right;
	margin:1em 0 .75em 2em;
}

section.clearfix:after{
  content:".";
  color:#fff;
}

.footnote {
	width:100%;
}

.footnote a {
	text-decoration: none;
	color:#103A60;
	font-family: "Gotham-Book";
}

.footnotes {
	font-size: .8em;
	margin-bottom: 2em;
}

blockquote {
	font-family: "Gotham-Book-Italic";
	padding:.4em 0;
	color:#7c6a55;
}

blockquote.quotebox {
	border:4px solid #8D91A6;
	padding:1em 1.365em;
	margin:2em auto;
	width:60%;
}

blockquote.indent {
	margin-right:4em;
	margin-left:1.5em;
}

.doublequote {
	margin-top: .975em;
}

.doublequote blockquote {
	width:280px;
	display:inline-block;
	margin-right:40px;
	vertical-align: top;
}

.bluespan {
	color: #103A74;
	font-family:"Gotham-Bold";
}

.brownspan {
	font-family:"Gotham-Book-Italic";
	color:#7c6a55;
}

.blueplain {
	color: #103A60;
	font-family:"Gotham-Light";
}

.blue_callout {
	color: #103A60;
	font-family:"Gotham-Book";
	font-size: 1.1em;
}

.boldspan {
	font-family:"Gotham-Medium";
}

.italicspan {
	font-style: italic;
}

#method {
	color:#7c6a55;
	border-top: 2px solid #9c8a55;
	border-bottom: 2px solid #9c8a55;
	margin-bottom: 2em;
}
#method p:last-child{
	margin-bottom: .975em;
}

.brownbox {
	background-color: rgb(111,99,77);
	border:1px solid rgb(111,99,77);
	height:18em;
	font-family: "Gotham-Light-Italic";
	color:#fff;
	padding:0 1em;
}

.picstack {
	width:300px;
}

.stackingpics {
	float:left; 
	padding:0 2em .25em 0;
}

figure iframe {
	margin:2em auto;
}

figure img {
	margin:0 0 .2em 0;
}

table {
	border-bottom: 2px solid gray;
	color:#103A60;
	margin:1em 0;
	width: 100%;
}

tbody {
}

tr.bordertop {
	border-top:2px solid gray;
}

th {
	font-size: .95em;
}

td, th {
	padding:.3em;
	vertical-align: top;
}

.indent-qa {
	text-indent: -1.5em;
	padding-left: 3em;
}

.underline {
	text-decoration: underline;
}

#endLogo {
	margin:1em 2em 0 0;
	width:80px;
	height:112px;
	display:inline-block;
}

#about {
	font-size: .865em;
	line-height: 1.975;
	border-top: 1px solid #103A60;
	margin-top:3em;
	padding-bottom:2em;
}


/* -----------------------------------------

	Media Queries for smaller than 1187px 74.2em

----------------------------------------- */

@media screen and (max-width: 74.2em) {

	h3.long {
		font-size:2.2em;
	}

}

/* -----------------------------------------

	Media Queries for smaller than 848px or 53em

----------------------------------------- */

@media screen and (max-width: 53em) {

	.textContainer {
		padding:0 2em;
		width: auto;
	}

}

/* -----------------------------------------

 	Media Queries for smaller than 768px or 48em

----------------------------------------- */

@media screen and (max-width: 48em) {

	h2 {
		font-size: 1.5em;
	}

	h3 {
		font-size:2.2em;
		line-height:.9em;
	}
}

/* -----------------------------------------

	Media Queries for smaller than 592px or 37em

----------------------------------------- */

@media screen and (max-width: 37em) {

	h2 {
		bottom:.2em;
		right:0;
		left:.2em;
	}

	aside {
		width:90%;
	}


}
