/* ==========================================================================
   Styling and layout for all media
   ========================================================================== */


/* Abridged version of Normalize.css
   ========================================================================== */
/* original authors: Nicolas Gallagher and Jonathan Neal - http://necolas.github.com/normalize.css/ */

/* corrects block display not defined in IE7-9, Firefox3 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

/* corrects inline-block display not defined in IE7-9, Firefox3 */
audio,
canvas,
video {
  display: inline-block;
  /* display and zoom IE7 fix for display:inline-block */
  *display: inline;
  *zoom: 1;
}

/* prevents modern browsers from displaying 'audio' without controls, remove excess height in iOS5 devices */
audio:not([controls]) {
  display: none;
  height: 0;
}

/* addresses styling for 'hidden' attribute not present in IE7-9, Firefox3, Safari4 */
[hidden] {
  display: none;
}

html {
  /* corrects text resizing oddly in IE7 when body font-size is set using em units -
     http://clagnut.com/blog/348/#c790 */
  font-size: 100%;
  /* always force scrollbar padding so we don't get 'jumping' */
  overflow-y: scroll;
  /* prevents iOS text size adjust after orientation change, without disabling user zoom -
     http://www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
  -webkit-text-size-adjust: 100%;
  /* as above, for Windows Phone */
  -ms-text-size-adjust: 100%;
}

/* Addresses margins set differently in IE7 */
p,
pre {
  margin: 1em 0;
}

/* addresses style set to 'bolder' in Firefox3-4, Safari4-5, Chrome */
b,
strong {
  font-weight: bold;
}

/* addresses CSS quotes not supported in IE7, addresses quote property not supported in Safari4 */
q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

/* prevents sub and sup affecting line-height in all browsers */
sub,
sup {
  /* 12px */
  font-size: .85714285714286em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* removes border when inside 'a' element in IE7-9, Firefox3, improves image quality when scaled in IE7 -
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/* consistent tables */
table {
  margin-bottom: 1em;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* make table cells align top and left by default */
th,
td {
  vertical-align: top;
  text-align: left;
}

/* addresses margins set differently in IE7 */
dl,
menu,
ol,
ul {
  margin: 1em 0;
}
dd {
  margin: 0 0 0 2em;
}

/* remove margins from nested lists */
dl dl,
ul ul,
ol ol {
  margin: 0;
}

/* addresses paddings set differently in IE7 */
menu,
ol,
ul {
  padding: 0 0 0 2em;
}


/* Clearfix
   ========================================================================== */
/* updated to prevent margin-collapsing on child elements in most situations -
   http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix,
header,
nav ul,
.container,
footer,
#paginator,
#monthly-list {
  /* zoom IE7 fix */
  *zoom: 1;
}

.clearfix:before,
.clearfix:after,
header:before,
header:after,
nav ul:before,
nav ul:after,
.container:before,
.container:after,
footer:before,
footer:after,
#paginator:before,
#paginator:after,
#monthly-list:before,
#monthly-list:after {
  content: "";
  display: table;
}

.clearfix:after,
header:after,
nav ul:after,
.container:after,
footer:after,
#paginator:after,
#monthly-list:after {
  clear: both;
}



/* ==========================================================================
   Styling and layout for screen media (mobile first)
   ========================================================================== */


@media screen {


/* Layout
   ========================================================================== */

body {
  margin: 0;
  background: #bfbfbf;
}

header,
footer {
  margin: 0 auto;
  width: 1000px;
}

header {
  overflow: hidden;
  width: 1000px;
  height: 150px;
  margin: 0 auto;
  padding: 0px 0px;
}

header h1 {
  margin: 0;
  line-height: 120px;
}

hgroup {
  float: left;
  width: 350px;	
  margin-top: 10px;
  padding: 0;
}

nav {
  float: right;
  background: #bfbfbf;
  width: 600px;
  height: 90px;
  margin: 0 auto;
  padding: 0;
}

nav ul {
  float: right;
  margin: 0;
  padding: 50px 0px 0px 0px;
  list-style: none;
  line-height: normal;
}

nav li {
  float: left;
  margin: 0;
  padding: 0px 0px 0px 0px;
}

nav a {
  margin-right: 1px;
  padding: 10px 20px 10px 20px;
  text-align: center;
  border: none;
}

.container {
  overflow: hidden;
  background: #FFFFFF;
  width: 1000px;
  border-radius: 15px;
  margin: 0 auto;
}

[role="main"] {
  padding: 30px;
}

[role="article"] {
  margin-bottom: 2em;
}

[role="search"] p {
  margin-top: 0;
}

footer {
  height: 140px;
  margin: 0 auto;
  padding: 50px 0 15px 0;
}


/* Links
   ========================================================================== */

nav a:hover {
  color: #ffffff;
}

nav .active a {
  color: #ffffff;
  background: #ee5058;
  border-radius: 5px;
}

a {
  text-decoration: none;
  color: #114eb1;  
}

[role="main"] a:hover,
[role="main"] a:active,
footer a:hover,
footer a:active {
  text-decoration: underline;
  color: #06f;
}

[role="main"] a:visited,
footer a:visited {
  color: #183082;
}

[role="main"] h1 a {
  color: #000;
}

[role="main"] h1 a:visited {
  color: #000;
}

[role="main"] h1 a:hover,
[role="main"] h1 a:active {
  text-decoration: none;
  color: #000;
}


/* Typography
   ========================================================================== */

body {
  font-family: "PT Sans Narrow", sans-serif, serif;  
  font-size: 18px;
  color: #000000;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  color: #202020;
  font-family: "PT Sans Narrow", sans-serif, serif;
}

hgroup a {
  color: #000000;
}

header h1 {
  text-transform: uppercase;
  font-family: "Voltaire", sans-serif;  
  font-size: 3em;    
  letter-spacing: -1px;  
  font-weight: 200;
}

h1 {
  text-transform: uppercase;
  font-family: "Voltaire", sans-serif;  
  font-size: 2em;    
  letter-spacing: -1px;    
  font-weight: 200;
  margin-bottom: 10px;
}

h2 {
  font-family: Arial, Helvetica, sans-serif;
  /* 21px */
  font-size: 1.5em;
  /* 28px / 21px */
  line-height: 1.33333333333333;
  /* 21px margin top/bottom */
  margin: .75em 0;
}

h3 {
  /* 18px */
  font-size: 1.28571428571429em;
  /* 26px / 18px */
  line-height: 1.44444444444444;
  font-weight: normal;
  font-style: italic;
  /* 16px margin top/bottom */
  margin: .76190476190476em 0;
}

h4 {
  font-size: 16px;
  margin: 0;
}

blockquote {
  /* 16px */
  font-size: 1.14285714285714em;
  font-style: italic;
  margin: .875em 0 .875em 0;
  padding: 1px .875em;
  -moz-border-radius: .35714285714286em;
  border-radius: .35714285714286em;
  background: #fff6d3;
}

address {
  margin: 1em 0;
}

/* addresses styling not present in IE7-9, Safari5, Chrome */
abbr[title],
dfn[title] {
  border-bottom: dotted 1px;
  cursor: help;
}

dfn,
mark,
q,
var {
  padding: 0 .21428571428571em;
  -moz-border-radius: .21428571428571em;
  border-radius: .21428571428571em;
  color: #333;
  background: #fff6d3;
}

dfn,
q {
  font-style: italic;
}

q q {
  padding: 0;
}

var {
  font-weight: bold;
}

pre,
code,
kbd,
samp {
  font-family: Cousine, Consolas, "Lucida Console", Monaco, monospace;
}

code,
kbd,
samp {
  /* 13px */
  font-size: .92857142857143em;
  border: 1px solid #e3e3e3;
  padding: 0 .23076923076923em;
  -moz-border-radius: .23076923076923em;
  border-radius: .23076923076923em;
  background: #f7f7f7;
}

pre {
  /* 13px */
  font-size: .92857142857143em;
  overflow-x: auto;
  border: 1px solid #e3e3e3;
  padding: 1em;
  -moz-border-radius: .35714285714286em;
  border-radius: .35714285714286em;
  background: #f7f7f7;
  tab-size: 4;
}

pre code {
  /* 13px */
  font-size: 1em;
  border: 0;
  background: none;
}

small,
figcaption,
tfoot,
.footnote {
  /* 12px */
  font-size: .85714285714286em;
}

figcaption,
tfoot,
.footnote {
  color: #888;
}

figcaption {
  margin-top: .33333333333333em;
  font-style: italic;
}

footer {
  font-family: 'Cabin', sans-serif;	
}

footer p {
  margin: 0;
  padding-top: 10px;
  letter-spacing: 1px;
  line-height: normal;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  color: #2A2A2A;
}


/* Embedded content
   ========================================================================== */

img {
  border-radius: 15px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

/* image alignemnts */
img.align-left {
  float: left;
  margin-right: 20px;
}

img.align-right {
  float: right;
  margin: 1em 0 1em 1em;
}

img.align-center {
  display: block;
  margin: 1em auto;
}

/* corrects overflow displayed oddly in IE9 */
  svg:not(:root) {
  overflow: hidden;
}


/* Tables
   ========================================================================== */

caption {
  font-style: italic;
  text-align: left;
  margin-bottom: .5em;
}

th,
td {
  border-bottom: solid 1px #ccc;
  padding: .28571428571429em .5em .28571428571429em 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

thead th,
thead td {
  border-bottom: solid 2px #ccc;
}

tfoot th,
tfoot td {
  border-bottom: 0;
  padding: .33333333333333em .58333333333333em .33333333333333em 0;
}

tfoot:last-child {
  padding-right: 0;
}


/* Lists
   ========================================================================== */

dt {
  font-style: italic;
}

[role="main"] #article-list {
  list-style: none;
  margin: 0 0 2em 0;
  padding: 0;
}

#article-list li {
  margin-bottom: 1em;
}


/* Forms
   ========================================================================== */

/* corrects margin displayed oddly in IE6-7 */
form {
  margin: 0;
}

/* remove default fieldset styling across browsers */
fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

/* corrects text not wrapping in FF3, corrects alignment displayed oddly in IE7 */
legend {
  border: 0;
  padding: 0;
  white-space: normal;
  *margin-left: -7px;
}

/* improves appearance and consistency in all browsers */
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  /* improves appearance and consistency in IE7 */
  *vertical-align: middle;
}

/* colour placeholder text (Webkit and Mozilla only, so far) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #888;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #888;
}

/* suppress red glow that Firefox adds to form fields by default, even when user is still typing
   add focus glow on form elements and kill phantom spacing and dotted border that appears in Firefox */
button:invalid,
a.button:invalid,
input:invalid,
input[type="button"]:invalid,
input[type="reset"]:invalid,
input[type="submit"]:invalid,
textarea:invalid {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
button::-moz-focus-inner,
a.button::-moz-focus-inner,
input::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
textarea::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button:focus,
a.button:focus,
input:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
select:focus,
textarea:focus {
  -webkit-box-shadow: 0 0 7px #0066ff;
  -moz-box-shadow: 0 0 7px #0066ff;
  box-shadow: 0 0 7px #0066ff;
  /* Opera */
  z-index: 1;
}

  /* remove inner padding and search cancel button in webkit on OS X */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input[type="file"]:focus,
input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

textarea,
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  /* remove iOS Safari default styling */
  -webkit-appearance: none;
  font-family: Arial, Helvetica, sans-serif;
  /* 12px */
  font-size: .85714285714286em;
  text-align: left;
  border: solid 1px #ccc;
  padding: .5em;
  background: #fff;
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 0;
  border-radius: 0;
}

input[type="color"] {
  padding: 0;
  height: 2.33333333333333em;
}

[role="complementary"] input[type="search"] {
  margin-right: 2px;
  width: 66.666666666667%;
  display: inline-block;
  /* display and zoom IE7 fix for display:inline-block */
  *display: inline;
  *zoom: 1;
}

textarea {
  min-height: 3em;
  /* removes default vertical scrollbar in IE7-9 */
  overflow: auto;
  /* improves readability and alignment in all browsers */
  vertical-align: top;
  resize: vertical;
  width: 100%;
}

select {
  font-family: Arial, Helvetica, sans-serif;
  /* 12px */
  font-size: .85714285714286em;
  text-align: left;
  border: solid 1px #ccc;
  padding: .5em;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

optgroup {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  color: #333;
}

/* kill phantom spacing and dotted border that appears in Firefox */
optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* addresses box sizing set to content-box and excess padding in IE7-9 */
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  *height: 1em;
  *width: 1em;
}

/* make sure disable elements really are disabled */
button[disabled],
input[disabled],
input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
span.disabled {
  opacity: 1;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  user-select: none;
  border: solid 1px #d2d2d2 !important;
  text-shadow: none !important;
  color: #888888 !important;
  background: #eee !important;
  cursor: default !important;
  top: 0 !important;
}

.large input {
  width: 50%;
  min-width: 302px;
}

.large textarea {
  height: 156px;
}

.small input {
  width: 25%;
  min-width: 151px;
}

.small textarea {
  height: 5.5em;
}


/* Buttons
   ========================================================================== */

button,
[role] a.button,
span.disabled,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  /* remove iOS Safari default styling */
  -webkit-appearance: none;
  -webkit-background-clip: padding;
  -khtml-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  width: auto;
  overflow: visible;
  font-family: Cabin, sans-serif;
  /* 12px */
  font-size: .85714285714286em;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: solid 1px #e1a61a;
  -moz-border-radius: .35714285714286em;
  border-radius: .35714285714286em;
  padding: .5em 1em;
  display: inline-block;
  /* display and zoom IE7 fix for display:inline-block */
  *display: inline;
  *zoom: 1;
  color: #333;
  outline: 0;
  background-color: #ee5058;
}

button:hover,
[role] a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  color: #ffffff;
}

button:active,
[role] a.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  position: relative;
  top: 1px;
  color: #1a1a1a;
  background-color: #fabc2b;
}

#paginator {
  margin-bottom: 2em;
}

#paginator .button {
  padding: .25em 1em;
}

#paginator a.button {
  text-decoration: none;
  color: #333;
}

#paginator-l {
  float: left;
}

#paginator-r {
  float: right;
}


/* Comments
   ========================================================================== */

.comments {
  margin-bottom: 1em;
  -moz-border-radius: .35714285714286em;
  border-radius: .35714285714286em;
  padding: 1em 1em 1px;
  background: #f7f7f7;
  word-wrap: break-word;
}

.comments h4 .is-author {
  font-weight: normal;
}

.comments h4 .comment-anchor {
  float: right;
  font-weight: normal;
 }

.comments-author {
  background: #efefef;
}

#cpreview {
  margin-bottom: 2px;
  -moz-border-radius: .35714285714286em;
  border-radius: .35714285714286em;
  padding: 1em;
  background: #fff3d6;
}

.comments_error {
  background: #fff4f4 !important;
}

.required,
.error_message li {
  color: #c00;
}

.required {
	cursor: help;
}


/* addresses select alignment in Safari/Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

select,
select[size="0"],
select[size="1"] {
  height: 2.2em;
}

select:not([size]),
select:not([multiple]) {
  position: relative;
  top: -1px;
}

}

/* ==========================================================================
   Fix for reponsive embedded content in IE8
   ========================================================================== */


@media \0screen {

img,
video {
  width: auto;
}

}