/*   
Theme Name: CU Anywhere
Theme URI: http://cuanywhere.ie
Description: Theme based on the HTML5 Reset from html5reset.org
Author: Gareth Watson
Author URI: http://well-it.com
Version: 1
*/

/*
	HTML5 Reset Wordpress Theme :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
	Special thanks: The Wordpress theme owes its start to an empty theme authored 
		by Chris Coyier & Jeff Starr: http://digwp.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

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

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}


/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */

sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}

/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #333;}

a {color: #333;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/

/* HEADER */
#header       { background:#fff height:103px; border-bottom:1px solid #efefef;}
#header-inner { width:820px; height:108px; margin:0 auto; }

#header h1    { float:left; margin-top:15px; }
#header p     { float:right; color:#efefef; margin-top:10px; color:#014978;}
#header ul    { float:right; clear:right; margin-top:10px; }

#header ul li { float:left; margin-left:10px;}

/* MESSAGE 
---------------------------------------- */

#preamble       { background: #04729c; height:370px; border-top:1px solid #014978; border-bottom:1px solid #014978;}
#preamble-inner { width:820px; height:370px; margin:0 auto; position:relative;}

#preamble .post { border:0; padding:0; }

#preamble .post h3  { font-size:22px; font-weight:normal; margin-bottom:15px; }
#preamble .post p   { line-height:150%; margin-left:0;}

#preamble #preamble-message {  width:400px; float:left; position:relative; bottom:-40px; clear:left;}
#preamble h2    { color:#f8fafa; text-shadow:1px 1px #666; font-size:24px; font-weight:normal; margin-bottom:25px;}
#preamble p     { color:#f8fafa; text-shadow:1px 1px #666; margin:10px 0; font-size:14px; line-height:150%; }

ul#marketbuttons    { margin-top:35px;  }
ul#marketbuttons li.market-android { float:left;}
ul#marketbuttons li.market-iphone  { float:left; margin-left:10px; }

/* Devices */
ul#preamble-devices { width:396px; float:right; position:absolute; right:0; bottom:-60px;}
ul#preamble-devices li        { float:left; width:186px; height:400px; margin-left:10px;}

/* HTC Device */
ul#preamble-devices li#htc     { background:url(images/device_htc.png) bottom no-repeat; }
ul#preamble-devices li#htc img { width:144px; height:196px; margin:0 auto; display:block; position:relative; top:60px; overflow:hidden;}

/* iPhone Device */
ul#preamble-devices li#iphone     { background:url(images/device_iphone.png) bottom no-repeat; }
ul#preamble-devices li#iphone img { width:152px; height:225px; margin:0 auto 0 20px; display:block; position:relative; top:65px; overflow:hidden;}

/* CONTENT
---------------------------------------- */

#content  { background:url(images/content-bg.png);  }
#content-inner { width:820px; margin:0 auto;}

/* Main Column */
#content #col-main { width:500px; float:left;}
#content #col-main h2 { font-size:22px; font-weight:normal; margin:25px 0 25px 0; }
#content #col-main h3 { margin-top:15px; margin-bottom:15px;}
#content #col-main p  { line-height:120%; margin:10px 0;}



/* Sec Column */
#content #col-sec {}


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

.home #col-main       { }
.home #col-main #promo-youtube { width:450px; border:1px solid #ccc; padding:5px; background:#fff;margin-top:45px; z-index:1001; position:relative;
                                 -moz-box-shadow: 0 0 15px 5px #ccc; -webkit-box-shadow: 0 0 15px 5px #ccc; box-shadow: 0 0 15px 5px #ccc; }
.home #col-main #promo-youtube iframe {  }

.home #col-main .post {  margin-bottom:35px; width:220px; float:left;  }						
.home #col-main .count-1 { margin-left:45px;}

.home #col-main .post h3 { font-size:22px; font-weight:normal; margin:15px 0;}
.home #col-main .post p  { line-height:150%; }

.home #col-main img.wp-post-image       { margin-right:35px; display:block; margin:0 auto; margin-bottom:10px;}
.home #col-main img.wp-post-image { padding:3px; border:1px solid #ccc; 
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px#888;
box-shadow: 0 0 5px #888;}

.entry-content {}
.entry-content a {}
.entry-content a:hover {}

#meta {}
.postmetadata {}

/* SIDEBAR 
------------------------------------- */
#content #sidebar { width:280px; float:right; position:relative; margin-top:50px; padding-bottom:25px;}
#sidebar .widget     { margin-bottom:25px; border-bottom:1px dotted #666;}
#sidebar .widget  h2 { font-size:16px; margin-bottom:10px; }

/* FOOTER
---------------------------------------- */

#footer       { background:#333; border-top:1px solid #000; padding-top:25px; color:#fff;}
#footer-inner { width:840px; margin:0 auto; height:50px;}
#footer #copyright { margin-top:10px; float:left;}
#footer p     { text-align:center; color:#ccc; margin-top:25px;}

ul#nav-footer { margin-top:10px; float:right;}
ul#nav-footer li { float:left; margin-right:8px;}
ul#nav-footer li a { color:#fff; }
ul#nav-footer li a:hover {}


/* LISTS
----------------------------------- */

#sidebar .widget ul { list-style-type:disc; list-style-position:outside; margin-left:15px;}
#sidebar .widget ul li { margin-bottom:10px;}

.navgation {}
.next-posts {}
.prev-posts {}

#searchform {}
#s {}
#searchsubmt {}

ol.commentlist {list-style: none;}
ol.commentlist li {}
ol.commentlist li.alt {}
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment {border-bottom: 1px dotted #666; padding: 10px;}
ol.commentlist li.comment div.comment-author {}
ol.commentlist li.comment div.vcard {}
ol.commentlist li.comment div.vcard cite.fn {font-style: normal;}
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar {float:right; margin: 0 0 10px 10px;}
ol.commentlist li.comment div.vcard img.avatar-32 {}
ol.commentlist li.comment div.vcard img.photo {}
ol.commentlist li.comment div.vcard span.says {}
ol.commentlist li.comment div.commentmetadata {}
ol.commentlist li.comment div.comment-meta {font-size: 10px;}
ol.commentlist li.comment div.comment-meta a {color: #ccc;}
ol.commentlist li.comment p {}
ol.commentlist li.comment ul {}
ol.commentlist li.comment div.reply {font-size: 11px;}
ol.commentlist li.comment div.reply a {font-weight: bold;}
ol.commentlist li.comment ul.children {list-style: none; margin: 10px 0 0;}
ol.commentlist li.comment ul.children li {}
ol.commentlist li.comment ul.children li.alt {}
ol.commentlist li.comment ul.children li.bypostauthor {}
ol.commentlist li.comment ul.children li.byuser {}
ol.commentlist li.comment ul.children li.comment {}
ol.commentlist li.comment ul.children li.comment-author-admin {}
ol.commentlist li.comment ul.children li.depth-2 {border-left: 5px solid #555; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-3 {border-left: 5px solid #999; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-4 {border-left: 5px solid #bbb; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-5 {}
ol.commentlist li.comment ul.children li.odd {}
ol.commentlist li.even {background: #fff;}
ol.commentlist li.odd {background: #f6f6f6;}
ol.commentlist li.parent {border-left: 5px solid #111;}
ol.commentlist li.thread-alt {}
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}

/* For policy page */
Table#tbl_sch1, Table#tbl_sch2 {
    Border-top: 1px solid #000;
    Border-left: 1px solid #000;
    Border-collapse: collapse;
    margin-bottom:15px;
}
Table#tbl_sch1 th, 
Table#tbl_sch2 th, 
Table#tbl_sch1 td,
Table#tbl_sch2 td {
    Border-right: 1px solid #000;
    Border-bottom: 1px solid #000;
    padding:8px 5px;
    line-height:150%;
}

Table#tbl_sch1 thead, 
Table#tbl_sch2 thead {
    background:#000;
    color:#fff;
    font-weight:bold;
}


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {
}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */

@media screen and (max-device-width: 480px) {

}

@media all and (orientation: portrait) {

}


@media all and (orientation: landscape) {

}