/* --------------------------------------------------------------

   typography.css
   * Sets up some sensible default typography.

-------------------------------------------------------------- */

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body {
  font-size: 75%;
  color: #404040;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; line-height: 1; color: #404040; }

h1 { font-size: 1.8em; margin-bottom: 0.5em; }
h2 { font-size: 1.6em; margin-bottom: 0.75em; }
h3 { font-size: 1.4em; margin-bottom: 1em; }
h4 { font-size: 1.2em; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
/*
	These can be used to pull an image at the start of a paragraph, so
	that the text flows around it (usage: <p><img class="left">Text</p>)
 */
.left  			{ float: left !important; margin:0 10px 10px 0;}
p .left			{ margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.right 			{ float: right !important; margin:0 0 10px 10px; }
p .right 		{ margin: 1.5em 0 1.5em 1.5em; padding: 0; }

a:focus,
a:hover     { text-decoration:underline; }
a           { color: #e2017b; text-decoration: none; }

strong,dfn	{ font-weight: bold; }
em,dfn      { font-style: italic; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre         { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

blockquote {
	background: url("/assets/images/structure/open-quote.gif") left top no-repeat;
	padding: 15px 0 0 0;
	text-indent: 45px;
	display:block;
}
blockquote span {
	background: url("/assets/images/structure/close-quote.gif") right bottom no-repeat;
	padding: 15px 0 30px 0;
	display:block;
}

/* Lists
-------------------------------------------------------------- */

li ul,
li ol       { margin: 0; }
ul, ol      { margin: 0 1.5em 1.5em 0; padding-left: 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

/*
	Because of the need for padding on TH and TD, the vertical rhythm
	on table cells has to be 27px, instead of the standard 18px or 36px
	of other elements.
 */
table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th    { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

/* wysiwyg images
-------------------------------------------------------------- */
.slide-to-the-left, .slide-to-the-right, .criss-cross {
	display:block;
	position:relative;
}
.slide-to-the-left {
	float:left;
	margin:0 20px 10px 0;
}
.slide-to-the-right {
	float:right;
	margin:0 0 10px 20px;
}
.slide-to-the-right img, .slide-to-the-left img {
	float:left;
}
.slide-to-the-right span, .slide-to-the-left span {
	position:absolute;
	left:0px;
	bottom:0px;
	line-height:30px;
	color:#fff;
	text-align:center;
	width:100%;
	background:#333;
}
.slide-to-the-right span p, .slide-to-the-left span p {
	line-height:16px;
	margin:0px;
	padding:5px;
}
.criss-cross, .criss-cross img {
	text-align: center;
	zoom:1;
}
/* Fonts
-------------------------------------------------------------- */
@font-face {
    font-family: 'FrutigerBold';
    src: url('/assets/fonts/frutiger-webfont.eot');
    src: url('/assets/fonts/frutiger-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/frutiger-webfont.woff') format('woff'),
         url('/assets/fonts/frutiger-webfont.ttf') format('truetype'),
         url('/assets/fonts/frutiger-webfont.svg#FrutigerBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
