/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, body { margin:0; height:100%; }

body { font-size: 14px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #black; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #7cd6cf; color: #000; text-shadow: none; }
::selection { background: #7cd6cf; color: #000; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: grey; }
a:visited { color: #949396; }
a:focus { outline: none; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

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

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
ul { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve 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; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form, h1, h2, h3, h4, h5, h6 { margin: 0; padding:0; font-weight:normal; }
fieldset { border: 0; margin: 0; padding: 0; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

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


/* =============================================================================
   Primary styles
   ========================================================================== */

.no-js #container {
	display:block;	
}

.js #container {
	display:none;	
}

body {
	font-family:Arial, Helvetica, sans-serif;
	background:#fff;
}

.home-background {
	background:#fff;
}

#container {
	min-height:100%;
}

/* =============================================================================
   Top bar styles
   ========================================================================== */

#header-container {
	position:absolute;
	height:85px;
	width:100%;
	background:url(../images/bg-top-navi.png) repeat-x;
	z-index:2;
}

#header-container header {
	margin:0 auto;
	position:relative;
	left:70px;
	top:0px;
	width:1100px;
}

#slogan {
	float:left;
	margin-top:19px;
	width:228px;
	height:30px;
	background:url(../images/miki.png) no-repeat;	
}

#slogan a {
	display:block;
	width:228px;
	height:30px;	
}

nav {
	float:left;
	width:512px;
 	margin-top: 4px;
    width: 512px;
	margin-left:-120px;
}

nav ul {
	color:#949396;
	padding-left:16px;
}

nav li {
	float:left;
	padding:14px 16px 0 16px;
	line-height:52px;
	position:relative;
	margin-left:-10px;
}

nav a {
	font: 18px 'Times';
	text-transform:uppercase;
	text-decoration:none;
	color:#949396;
}

nav a:hover, nav a.active {
	color:#363636;
}

#search-socialbar {
    float: left;
    height: 40px;
    padding-left: 249px;
    padding-top: 16px;
    width: 220px;
}

#wp-search {
	float:left;
	padding:15px 15px 5px 15px;
	font:italic 14px 'Droid Serif', sans-serif;
	color:#777;
	width:140px;
	height:20px;
	background:#000;
	border:0;
	outline:none;
	letter-spacing: 1px;
}

#wp-submit {
	float:left;
	padding:0;
	border:0;
	height:40px;
}

#search-socialbar ul {
	float:left;
}

#search-socialbar li {
	float:left;
	padding-left:5px;
	width:41px;
	height:40px;
	position:relative;
}

#facebook, #twitter, #feeds {
	display:block;
	overflow:hidden;
	width:41px;
	height:40px;
}

#facebook {
	background:url(../images/sheet-social.png) 0 0 no-repeat;	
}

#facebook:hover {
	background:url(../images/sheet-social.png) 41px 0;
}

#twitter {
	background:url(../images/sheet-social.png)  0 -40px no-repeat;
}

#twitter:hover {
	background:url(../images/sheet-social.png) 41px -40px;
}

#feeds {
	background:url(../images/sheet-social.png) 0 -80px no-repeat;
}

#feeds:hover {
	background:url(../images/sheet-social.png) 41px -80px;
}

/* =============================================================================
   Content styles
   Specials
   ========================================================================== */

#content-container {
	position:relative;
	width:100%;
	min-height:100%;
	top:66px;
	left:0;
	z-index:1;
}

#content {
	margin:0 auto;
	width:1000px;
	min-height:100%;
	position:relative;
}



#special {
	height:450px;
}

#excerpt {
	width:960px;
	height:810px;
	position:relative;
	left:20px;
	overflow:hidden;
	margin-bottom:300px;
}

#excerpt .image {
	position:absolute;
	top:0;
	left:1px;
}

.special {
	position:absolute;
	top:240px;
	left:0;	
}

.categories {
	font:16px 'Droid Sans', sans-serif;
	color:#fff;
}

.category, .date {
	height:26px;
	padding:8px 20px 0 20px;
}

.sport { background:#2bbaec; }
.music { background:#e83933; }
.style { background:#e9428e; }
.art { background:#4bb160; }
.tech { background:#9e5ca1; }
.date {
  background: none repeat scroll 0 0 #7CD6CF;
    color: #000000;
    font: italic 12px 'georgia', serif;
    width: 110px;
	top:-300px;

}

.categories li {
	float:left;
	position:relative;
	top:-300px;
}

#excerpt h3 {
 background: none repeat scroll 0 0 #7CD6CF;
    color: #000000;
    font: italic 14px/26px 'georgia',Times;
    height: 26px;
    left: 0;
    padding: 5px 15px;
    position: absolute;
    top: 464px;
}

#excerpt h1 {
	  color: #000000;
    font: 39px/38px 'Times New Roman',Times;
    left: 0;
    padding: 0;
    position: absolute;
    top: 520px;
}

#excerpt h2 {
	  left: 0;
    position: absolute;
    top: 665px;
}

#excerpt p {
	font: 12px/17px 'arial';
	left: 0;
	position: absolute;
	top: 560px;
	width:863px;
	color:#707070;
}




#excerpt h2 a {
    color: #000000;
    font: 14px/32px 'georgia',sans-serif;
    height: 32px;
    padding: 0 0;
    text-decoration: none;
    text-transform: uppercase;
}



#excerpt h2 a:hover {
	color:#959595;
}

/* =============================================================================
   Blog posts
   ========================================================================== */

#sub-posts > li {
	float:left;
	
}

.w470 {
	width:305px;	
	margin:350px 0 0 20px;
}
.w470a {
	width:305px;	
	margin:380px 0 0 20px;
}

.w300 {
	width:300px;	
}

.w639 {
	width:639px;	
}

#sub-posts .post-image {
	float:left;
}

.excerpt {
  background: none repeat scroll 0 0 #FFFFFF;
    clear: both;	
	margin-bottom:150px;
}

#sub-posts h1 {
	clear:both;
	font:25px 'georgia', serif;
	font-style:	normal;
	color:#000;
	padding:4px 0 0 0;
}




#sub-posts p {
	margin-top:-10px;
	padding:28px 25px 15px 0;
	font: 12px/17px arial, sans-serif;
	color:#707070;
}

#sub-posts h2 {
	float:left;
	margin-top:-10px;
}

#sub-posts h2 a {
	font:14px 'georgia', sans-serif;
	text-decoration:none;
	color:#000;
	text-transform:uppercase;
}

#sub-posts h2 a:hover {
	color:#959595;
	text-transform:uppercase;
}

#sub-posts h3 {
	clear:both;
	font:19px 'georgia', serif;
	font-style:	normal;
	color:#000;
	padding:30px 0 0 0;
	text-transform:uppercase;
}

#sub-posts h4 {
	background: none repeat scroll 0 0 #7CD6CF;
    color: #000000;
    font: italic 14px/26px 'georgia',Times;
    height: 26px;
    left: 0;
    padding: 5px 15px;
    position: absolute;
	margin-top:-300px;
}


.social-icons {
	float:right;
	padding-top:7px;
}



/* =============================================================================
   Pagination
   ========================================================================== */
   
#pagenavi {
	margin:0 auto;
	width:960px;
	padding:10px 20px;
	height:50px;
}

#pagenavi li {
	float:left;
}

#pagenavi li a {
	display:block;
	font:12px Arial, Helvetica, sans-serif;
	text-align:center;
	text-decoration:none;
	padding:0 10px;
	line-height:25px;
	color:#636164;
}

#pagenavi li a:hover {
	background:#262423;
}

#footer-container {
	height:100px;
	background:#eaeaea;
}

#category-nav {
	float:left;
	padding:20px 0 0 21px;
}

#category-nav li {
	float:left;
	padding:14px 6px 0 16px;
}

#category-nav a {
	font: 13px 'georgia', serif;
	text-transform:uppercase;
	text-decoration:none;
	color:#000;
}

#category-nav a:hover {
	color:#959595;
}

#category-nav a.active {
	color:#000;
}

#footer-nav {
	float:left;
	padding:2px 31px 0 105px;
}

#footer-nav li {
	   color: #616161;
    float: left;
    font-size: 9px;
    padding: 14px 5px 0;
}

#footer-nav a {
	color: #616161;
    font-family: arial;
    font-size: 9px;
    text-decoration: none;
    text-transform: uppercase;
}

#footer-nav a:hover, #footer-nav a.active {
	color:#959595;
}

/* =============================================================================
   Scroll to top
   ========================================================================== */



/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.imgr {
	float:right;
	padding:0 0 5px 5px;	
}

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

@media only screen and (min-width: 800px) {
	
}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
