/*
Theme Name: Eagle Imperium
Theme URI: http://www.skylinerobotics.org/resources/projects/ourwebsite/
Author: FRC Team 3322
Author URI: http://www.skylinerobotics.org/
Description: A theme created for and by FRC Team 3322 for use on their website.
Version: 1.2.1
License: MIT License
License URI: license.txt
Tags: dark, black, gray, white, two-columns, fixed-width, custom-header, custom-menu
*/
 
/* =============================================================================
   Extra font families, give them a nice home!
   .eot is used for Internet Explorer,
   .woff is used for real browsers,
   .ttf is used as a last-case scenario.
   ========================================================================== */
@font-face {
    font-family: 'Franchise';
    src: url('images/fonts/franchise.eot');
    src: local('Franchise Bold'), local('Franchise'),
         url('images/fonts/franchise.woff') format('woff'),
         url('images/fonts/franchise.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =============================================================================
   HTML5 element display
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; }


/* =============================================================================
   Base Designs
   ========================================================================== */
/*
 * 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/
 */

/*
 * The Eagle Imperium website designers actually had quite a quarrel over the default font-size in this here HTML definition.
 * Eventually, we decided that because 1 EM value is different per browser, we needed to have a constant font size for the body text
 * We settled on pts, as you see below.
 */

html { font-size: 12pt; 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%; }

body {
    background: url(images/bg.png);
    margin: 0;
    line-height: 1.231;
 }

body, button, input, select, textarea { font-family: "PT Serif",georgia,serif; color: #222; }

p { margin-bottom: .5em; margin-top: .5em; }

/* =============================================================================
   Design, this is where the "magic" happens
   ========================================================================== */
/* Blue and purple is gross */
article a, article a:visited {
    color: #333333;
    text-decoration: none;
}

/* This improves paragraph readability */
article blockquote { border-color: #bababa; color: #656565; }
article thead { background-color: #dadada; }
article tr:nth-child(even) { background: #e8e7e7; }
article hr { border-color: #c5c5c5; }


article div.highlight a {
    color: #dddddd;
}

article a:hover, .breadcrumbs a:hover {
    text-decoration: underline;
}

/* This is for the top logo */
div#logo img {
    float: right;
}

/* This is for the pagination */
div.navigation {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    text-shadow: 0px 1px 0px #FFF;
}

div.navigation a {
    color: #000;
    text-decoration: none;
}

/* This makes the Breadcrumb NavXT addon look pretty :) */
div.breadcrumbs {
    background: url(images/bg.png);
    padding-left: 2em;
    padding-top: .5em;
    padding-bottom: .5em;
    padding-right: 2em;
    top: -30px;
    position: relative;
}
.breadcrumbs {
    text-shadow: 0px 1px 0px #000000;
    color: #ffffff;
    -webkit-box-shadow: 0px 0px -8px #000000;
    -moz-box-shadow: 0px 0px -8px #000000;
    box-shadow: 0px 0px -8px #000000;
    font-size: .75em;
    opacity: .75;
}

.breadcrumbs a:visited, .breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}
/* Container "contains" all page elements. That was Matt's lame attempt at a pun (but let's keep him pretending that it really is a pun,) in a CSS file. What does YOUR website have? */
#container {
    top: 28px;
    width: 960px;
    background-image: url('images/container-bg.png');
    background-repeat: repeat-y;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0px 0px 1em #000000;
    -moz-box-shadow: 0px 0px 1em #000000;
    box-shadow: 0px 0px 1em #000000;
}

/* Some cheap hacks to make our left and right col the same height */
#container:before, #container:after { /* Modern browsers */
    content: '';
    display: table;
}
#container:after {
    clear: both;
}

#container { display: inline-block; } /* IE6 / IE 7 */
#container { display: block; }

/* Contains the three logos atop the featured image in the wrapper */
#logo-bar {
    background-color: #111;
    position: relative;
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    width: 595px;
}

#logo-bar div {
    width: 195px;
}

/* Designs the site menu in the footer of the website. It's very stylish. */
footer div.widget-area {
	background: #111111;
	text-align: left;
	-webkit-box-shadow: 0px 0px 4px #000000;
	-moz-box-shadow: 0px 0px 4px #000000;
	box-shadow: 0px 0px 4px #000000;
}

footer ul.menu {
	padding-left: 2%;
	text-align: center;
	width: 100%;
}
footer ul.menu > li {
	padding-top: 16px;
	padding-bottom: 16px;
	width: 12%;
	padding-right: 2%;
	list-style-type: none;
	text-align: left;
	display: inline-block;
	vertical-align: top;
}
footer ul.menu li {
	font: 1.5em Franchise,Arial,Helvetica,sans-serif;
	font-weight: normal;
	margin-left: 0;
}

footer ul.sub-menu {
	margin-top: 3px;
	padding-left: 0;
	list-style-type: none;
}

footer ul.sub-menu li {
	font: .6em Arial,Helvetica,sans-serif;
}

/* Color the links in the footer sitemap */
footer ul.menu li a, footer ul.menu li a:visited {
	color:#DDDDDD;
	text-decoration: none;
	font-weight: normal;
}
footer ul.menu li a:hover {
	color:#FFFFFF;
	text-decoration: none;
}

/* This defines the list item class called "horiz-item", it's used in the logo-bar and in the social-icons. */
li.horiz-item {
    float: none;
    display:inline-block;
}

li.horiz-item a {
    text-shadow: 0px 1px 0px #000000;
    display: block;
    float: right;
    text-decoration: none;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    color:#FFFFFF;
    text-align: center;
}

li.horiz-item a:visited {
    text-shadow: 0px 1px 0px #000000;
    display: block;
    float: right;
    text-decoration: none;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    color:#FFFFFF;
    text-align: center;
}

div.horiz-item {
    float: none;
    display:inline-block;
}

div.horiz-item a {
    text-shadow: 0px 1px 0px #000000;
    display: block;
    float: right;
    text-decoration: none;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    color:#FFFFFF;
    text-align: center;
}

div.horiz-item a:visited {
    text-shadow: 0px 1px 0px #000000;
    display: block;
    float: right;
    text-decoration: none;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    color:#FFFFFF;
    text-align: center;
}

div.horiz-item .left, a.site_title, a.site_title:visited{
    float: left !important;
    margin-left: 0;
    text-align: left !important;
}
div.horiz-item .center {
    display: block;
    margin: auto;
    width: 139px;
}
div.horiz-item .right {
    float: right;
    width: 121px;
}

/* The sidebar exists within this box */
#container #left-col {
    padding: 1em;
    float: left;
    width: 270px;
    /* Next two lines fix Chrome 19 bug */
    position: relative;
    z-index: 1000; }
}

/* The left "sidebar" begins here*/
#left-col #logo {
    float: right;
}

/* Widgets are held within the secondary div */
#secondary {
    display: block;
    width: auto;
    float: right;
    text-align: right;
    color: #ffffff;
}

/* These lines define what the twitter widget looks like */
#twitter {
    padding-top: 2em;
}

#twitter h3 {
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    text-shadow: none;
    color: #222222;
}

#twitter h4 {
    font: 1em Arial, Helvetica, sans-serif;
    text-shadow: none;
    color: #222222;
}

/* These are used specifically for a text widget containing social media icons */
#social-icons {
    width: auto;
    text-align: right;
}

/* This right justifies the sidebar menu */
nav ul {
    float: right;
    text-align: right;
    padding-right: 1em;
    width: auto;
}

nav ul li {
    height: 49px;
    vertical-align: middle;
}

nav ul > li {
    position: relative;
}

/* Style our sidebar menu */
nav li a, nav li a:visited {
    text-shadow: 0px 1px 0px #000000;
    padding: .5em .5em;
    display: block;
    float: right;
    text-decoration: none;
    font: 1.5em Franchise, Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #FFFFFF;
    width: 158px;
}

/* Change the color on hover, and add some extra shadow */
nav ul li:hover > a {
    color: #222222;
    background-color: #75b2dd;
    font-weight: normal;
    text-shadow: none;
    -webkit-box-shadow: 0px 0px 4px #000000;
    -moz-box-shadow: 0px 0px 4px #000000;
    box-shadow: 0px 0px 4px #000000;
}

/* We want sub-menus hidden until we hover over their parent (jQuery magic) */
nav ul.sub-menu {
    position: absolute;
    z-index: 1;
    right: -180px;
    color: #222222;
    background-color: #75b2dd;
    display: none;
}
nav ul.sub-menu li {
    height: 49px;
    vertical-align: middle;
    clear: both;
    float: left;
}
nav ul.sub-menu li a {
    color: #222222;
    background-color: #dddddd;
    font-weight: normal;
    text-shadow: 0px 1px 0px #FFF;
    -webkit-box-shadow: 0px 0px 4px #000000;
    -moz-box-shadow: 0px 0px 4px #000000;
    box-shadow: 0px 0px 4px #000000;
}
nav ul.sub-menu li:hover > a {
    text-shadow: none;
    background-color: #75b2dd;
}

/* The right-col defines the area to the main page content */
#right-col {
    position: relative;
    width: 658px;
    float: right;
}

/* Because the featured-img is within the right-col, width: 100% makes it inline with the rest of the right-col items */
div#featured-img {
    width: 658px;
}

/* Make the height reach the bottom of the page*/
div#articles {
    width: 100%;
    float: right;
    clear: both;
}

/* Set some stylistic bits for articles */
article {
    width: 595px;
    padding: .5em 2em .5em 2em;
    clear: both;
}

/* Lets make article captions italic and small to differentiate from article text */
.wp-caption {
    font-style: italic;
    font-size: .8em;
    -webkit-box-shadow: 0px 0px -4px #000000;
    -moz-box-shadow: 0px 0px -4px #000000;
    box-shadow: 0px 0px -4px #000000; 
    display: inline-block;
    background: url(images/bg.png);
    color:#FFFFFF;
    text-shadow: 0px 1px 0px #000;
    text-align: center;
    padding: .5em;
    margin: 1em;
}

/* Creates a nice highlighted box */
div.highlight {
	-webkit-box-shadow: 0px 0px -4px #000000;
	-moz-box-shadow: 0px 0px -4px #000000;
	box-shadow: 0px 0px -4px #000000; 
	display: inline-block;
	background: url(images/bg.png);
	color:#FFFFFF;
	text-shadow: 0px 1px 0px #000;
	padding: 1em;
}

/* A little divider line to put between different sections of content */
div.divider {
	height:1px;
	width:100%;
	background-color:#b3b3b3;
	margin:25px 0px 25px 0px;
}

/* Last but not least, the footer is, well, a footer */
footer {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 960px;
    text-shadow: 0px 1px 0px #000000;
    padding-top: 1.5em;
    color: #FFFFFF;
    font-size: 	.75em;
    text-align: center;
}

/* =============================================================================
   Links
   ========================================================================== */

a { color: #75b2dd; font-weight:bold; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; text-shadow: none; }

/*Suggestion from HTML5 Boilerplate:
 * Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test
 */
a:hover, a:active { outline: 0; text-shadow: none; }

/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }
strong a { text-decoration: underline; }
strong a:hover { color: #444; text-decoration: none; }

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-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; }

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; }

h1 {font: 2.5em Franchise, Arial, Helvetica, sans-serif; text-shadow: 0px 1px 0px #FFF; margin: 0; }
h1 a, h2 a, h3 a, h1 a:visited, h2 a:visited, h3 a:visited {color: #000000; text-decoration: none; font-weight: normal; }
h1 a:hover, h2 a:hover, h3 a:hover {text-decoration: underline;}

h2 {font: 2em Franchise, Arial, Helvetica, sans-serif; text-shadow: 0px 1px 0px #FFF;}

h3 {font: 1.5em Franchise, Arial, Helvetica, sans-serif; text-shadow: 0px 1px 0px #FFF;}

h4 {font: 1.25em Arial, Helvetica, sans-serif;}

h5 {font: 1em Arial, Helvetica, sans-serif;}

h6 {font: 1em Arial, Helvetica, sans-serif;}


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { 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; }

/* Wordpress alignment code */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; padding-left: .5em;}
.alignleft {float:left; padding-right: .5em;}
.aligncenter {display: block; margin-left: auto; margin-right: auto}

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
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; 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 default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   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; }

/* 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; }