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

Responsive Style Sheet

version:	1.0
author:		derek allard
email:		derek@tunnel7.com
website:	http://www.tunnel7.com

------------------------------------------------------------*/
/* 1 line tricks - DELETE THESE BEFORE GO LIVE 
http://www.cssglobe.com/post/1392/8-premium-one-line-css-tips

VERTICALLY CENTERS CONTENT IN BOX (IN THIS CASE THE BOX WOULD BE 24 PIXELS TALL)
line-height:24px; 

= = =

PREVENTS OVERSIZED CONTENT TO BREK FIXED WIDTH FLOATED LAYOUTS
#main{ 
	overflow:hidden;
}

= = =

PREVENTS LINE BREAKS IN LINKS
a{ 
	white-space:nowrap;
}

= = =

ALWAYS SHOW FIREFOX SCROLLBAR
html{
	overflow:-moz-scrollbars-vertical;
}

= = =

REMOVE VERTICAL TEXTAREA SCROLLBAR IN IE
textarea{
	overflow:auto;
}

= = =

FORCE PAGE BREAKS WHEN PRINTING YOUR DOCUMENT
h2{
	page-break-before:always;
}

= = =

REMOVE ACTIVE LINK BORDERS
a:active, a:focus{
	outline:none;
}


*/
/* ======= RESET STYLES ======= */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

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

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

/* ======= WEB FONTS ======= */
/* add them here */
/* ======= SASS DECLARATIONS ======= */
/* colors - define colors first then elements */
/* alerts and such */
/* for box shadows */
/* to use: @include box-shadow(3px, 3px, 5px, 1px, $shadow); */
/* to use: @include text-shadow(3px, 3px, 0, $shadow); */
/* to use: @include border-radius(7px, 7px, 7px, 7px); */
/* to use: @include transition(0.5s); - remember goes on parent not hover state */
/* to use: @include links($link, $link, $active, $active, $active, bold/normal); */
/* to use: @include rotate(7deg); */
/* to use: @include scale(1.5); */
/* to use: @include box-sizing; */
/* to use: font-size: calc-em(32,16); */
/* ======= GLOBAL STYLES ======= */
body {
  font: normal 100% arial, helvetica, sans-serif;
  /* sets to 16px baseline */
  background-color: #ffffff;
  color: #000000;
  line-height: 1.5em;
  position: relative;
  -webkit-font-smoothing: antialiased; }

h1 {
  font: italic bold 1.5em arial, helvetica, sans-serif; }

h2 {
  font: italic bold 1.125em arial, helvetica, sans-serif;
  margin: 1.25em 0 0 0; }

h3 {
  font: italic normal 1.125em arial, helvetica, sans-serif;
  margin: 1.5em 0 0 0; }

h4, h5, h6 {
  font: normal bold 0.875em arial, helvetica, sans-serif;
  margin: 1.5em 0 0 0; }

a {
  /* could also just use opacity for hover states
  	
  &:hover {opacity: 0.9;}
  &:focus {opacity: 0.9;}
  &:active {opacity: 0.9;}
  
  */ }
  a:link {
    color: #d80000;
    text-decoration: none;
    font-weight: normal; }
  a:visited {
    color: #d80000; }
  a:hover {
    color: #fcae07; }
  a:focus {
    color: #fcae07; }
  a:active {
    color: #fcae07; }

body#ab #about a, body#nw #news a {
  /* nav on styling */
  color: #d80000; }

.clearfix:before,
.clearfix:after,
.fullwidth:before,
.fullwidth:after,
.wrap:before,
.wrap:after,
.main:before
.main:after {
  /* clearfix part 1 */
  content: '';
  display: table; }

.clearfix:after
.fullwidth:after,
.wrap:after,
.main:after {
  /* clearfix part 2 */
  clear: both; }

input.test {
  /* to hide test field on forms to prevent spam - may want to text indent it into oblivion - think i read that some browsers choke on display none*/
  display: none;
  visibility: hidden; }

#accessnav {
  display: none; }

p, li, dd, dt, blockquote, legend, caption, th, td {
  font-size: 0.875em;
  /* 14 / 16 */ }

p, ul, ol, dl {
  margin: 1em 0; }

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0; }

img, embed, object, video {
  max-width: 100%; }

li li {
  /* ensures no double font ineritance */
  font-size: 1em; }

ul li {
  /* put back bullets */
  margin-left: 2em;
  list-style: disc outside; }

ol li {
  /* put back numbers */
  margin-left: 2em;
  list-style: decimal outside; }

em, i {
  font-style: italic; }

strong, b {
  font-weight: bold; }

/* ======= LAYOUT GRID STYLES======= */
/* start with mobile first then go up from there - media queries for others at bottom */
.fullwidth {
  width: 100%;
  background: #ececec;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

.wrap {
  margin: auto;
  max-width: 90%;
  /* background: #fff url('../i/wrap_shadow.png') no-repeat bottom right; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

.main {
  width: 100%;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
  .main .subnav {
    width: 100%;
    margin: 0;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
  .main #content {
    width: 100%;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
  .main .sidebar {
    width: 100%;
    margin: 0;
    float: right;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }

/* ======= HEADER STYLES ======= */
.banner p {
  margin: 0; }
.banner header {
  margin: 2% 0; }
.banner nav li {
  display: inline;
  margin: 0 3em 0 0; }

/* ======= MAIN CONTENT STYLES ======= */
.subnav nav ul {
  margin-top: 0; }
.subnav nav li {
  list-style: none;
  margin-left: 0; }
.subnav nav li li {
  /* for nested subnav */
  margin-left: 2em; }

.main {
  padding-bottom: 3%; }
  .main img {
    margin: .25em 1em; }

/* ======= FOOTER STYLES ======= */
footer {
  padding-bottom: 3em; }
  footer p {
    margin: 0; }

/* ======= FORM STYLES ======= */
form input.test {
  /* to hide test field on forms to prevent spam - may want to text indent it into oblivion - think i read that some browsers choke on display none*/
  display: none; }
form dd {
  margin-bottom: 1em; }
form input, form select, form textarea {
  font-size: 1em;
  /* 12 */
  font-style: italic;
  -webkit-border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  border-radius: 7px 7px 7px 7px;
  -webkit-box-shadow: 3px 3px 5px 1px #777777;
  -moz-box-shadow: 3px 3px 5px 1px #777777;
  box-shadow: 3px 3px 5px 1px #777777;
  border: 1px solid #7e7e7e;
  padding: .5em .5em; }
form input[type="text"], form select, form textarea, form input[type="email"], form input[type="tel"] {
  /* so it utilizes more of the page */
  width: 50%; }
form input#plan_amount,
form select#card_exp_month,
form select#card_exp_year,
form input#card_cvc {
  /* for shorter inputs on these fields */
  width: 25%;
  display: inline-block;
  /* this is needed to get the select items side by side ... plan amount doesn't really need it but it doesn't hurt */ }
form textarea {
  /* so it utilizes more of the page and is wider than form elements */
  width: 75%; }
form select {
  min-height: 29px; }
form input.button,
form input[type="button"],
form input[type="submit"],
form input[type="file"],
form input[type="radio"],
form input[type="checkbox"] {
  /* no border on buttons or radio checkboxes or files  */
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out; }
form input[type="text"]:focus, form textarea:focus {
  background-color: #fcae07; }
form input.button, form input[type="button"], form input[type="submit"] {
  background: #d80000;
  color: #fff;
  -webkit-border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  border-radius: 7px 7px 7px 7px;
  -webkit-box-shadow: 3px 3px 5px 1px #777777;
  -moz-box-shadow: 3px 3px 5px 1px #777777;
  box-shadow: 3px 3px 5px 1px #777777; }
form input.button:hover, form input[type="button"]:hover, form input[type="submit"]:hover {
  background: #fcae07;
  color: #ffffff; }
form .feedback {
  color: #d80000; }

/* ======= TABLE STYLES ======= */
table thead,
table tfoot {
  background: #777777; }

/* ======= MEDIA QUERIES ======== */
@media screen and (min-width: 500px) {
  /* tablet-ish */
  .fullwidth {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }

  .wrap {
    margin: auto;
    max-width: 90%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* background: #fff url('../i/wrap_shadow.png') no-repeat bottom right; */ }

  .main {
    width: 100%;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
    .main .subnav {
      width: 100%;
      margin: 0;
      float: left;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; }
    .main #content {
      width: 75%;
      float: left;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; }
    .main .sidebar {
      width: 23%;
      margin-left: 2%;
      float: right;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; } }
@media screen and (min-width: 781px) {
  /* desktops - this may be redundant - copy this over to ie.scss when final (ie8 and down doesn't understand media queries and we'll want to serve the desktop version to it) */
  .fullwidth {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }

  .wrap {
    margin: auto;
    width: 90%;
    max-width: 960px;
    /* background: #fff url('../i/wrap_shadow.png') no-repeat bottom right; */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }

  .main {
    width: 100%;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
    .main .subnav {
      width: 23%;
      margin-right: 2%;
      float: left;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; }
    .main #content {
      width: 50%;
      float: left;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; }
    .main .sidebar {
      width: 23%;
      margin-left: 2%;
      float: right;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; } }
/* ======= PLUGIN STYLES ======= */
/* for dropdowns style - http://css-tricks.com/simple-jquery-dropdowns/ */
/* 
	LEVEL ONE
*/
ul.dropdown {
  position: relative; }

ul.dropdown li {
  font-weight: bold;
  float: left;
  zoom: 1;
  background: #ccc; }

ul.dropdown a:hover {
  color: #000; }

ul.dropdown a:active {
  color: #ffa500; }

ul.dropdown li a {
  display: block;
  padding: 4px 8px;
  border-right: 1px solid #333;
  color: #222; }

ul.dropdown li:last-child a {
  border-right: none; }

/* Doesn't work in IE */
ul.dropdown li.hover,
ul.dropdown li:hover {
  background: #F3D673;
  color: black;
  position: relative; }

ul.dropdown li.hover a {
  color: black; }

/* 
	LEVEL TWO
*/
ul.dropdown ul {
  width: 220px;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0; }

ul.dropdown ul li {
  font-weight: normal;
  background: #f6f6f6;
  color: #000;
  border-bottom: 1px solid #ccc;
  float: none; }

/* IE 6 & 7 Needs Inline Block */
ul.dropdown ul li a {
  border-right: none;
  width: 100%;
  display: inline-block; }

/* 
	LEVEL THREE
*/
ul.dropdown ul ul {
  left: 100%;
  top: 0; }

ul.dropdown li:hover > ul {
  visibility: visible; }

/* ======= HIDING ======= */
