/*
 * CoWrk Iowa City
 * See http://html5boilerplate.com for details
 */

html, 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, menu,
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; position: relative; }
nav 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; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

table { font-size:inherit; font:100%; }
select, input, textarea { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/*
 * Minimal base styles
 */

body, select, input, textarea { color:#444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; }
ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }
small { font-size:85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }

::-moz-selection{ background: rgba(0, 120, 167, .3); color:#fff; text-shadow: none; }
::selection { background: rgba(0, 120, 167, .3); color:#fff; text-shadow: none; }

a:link { -webkit-tap-highlight-color: #a90031; }
html { overflow-y: scroll; }
button { width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }


/*
 * Non-semantic helper classes
 */

.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; }
.hidden { display:none; visibility:hidden; }
.modalhidden { opacity: 0 !important; z-index: -1 !important; }
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }
.invisible { visibility: hidden; }
.clearfix:after { clear: both; content: ' '; display: block; font-size: 0; height: 0; line-height: 0; visibility: hidden; width: 0; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/


/*
 * 960 Grid System ~ http://960.gs/
 */

.container_16 {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}

.container_16 .grid_11 {
	display: inline;
	float: right;
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
	width: 640px;
}


/*
 *  Primary Styles
 *  Author: Daniel Marino
 */


a {
  color: #a90031;
}

body {
  background: url(bg_grey.png) 0 0 repeat;
  color: #363636;
  font-family: helvetica, arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

footer {
  font-size: 10px;
  margin-bottom: 30px;
  text-align: center;
}

h2, h3 {
  color: #005a91;
  font-eight: bold;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 18px;
}

h2, h3, p, ul {
  margin-bottom: 20px;
}

html {
  overflow-x: hidden;
}

img {
  display: block;
}


/* Header */

header {
  background: url(bg_blue.png) 0 0 repeat;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 120, 167, .3);
  -moz-box-shadow: 0 0 0 3px rgba(0, 120, 167, .3);
  box-shadow: 0 0 0 3px rgba(0, 120, 167, .3);
  height: 225px;
}

hgroup {
  left: 50%;
  margin-left: -440px;
  position: absolute;
  text-align: center;
  top: 123px;
  width: 218px;
  z-index: 10;
}

hgroup a {
  display: block;
  text-decoration: none;
  width: 218px;
}

hgroup h1 {
  background: url(logo.png) no-repeat;
  height: 43px;
  margin-bottom: 5px;
  overflow: hidden;
  text-indent: -5000px;
  width: 218px;
}

hgroup h2 {
  color: #fff;
  font-size: 13px;
  font-family: georgia, times, serif;
  font-style: italic;
  font-weight: normal;
  margin: 0;
}

hgroup span {
  display: inline-block;
  float: left;
  width: 43%;
}

.ic {
  text-align: right;
}

.asterisk {
  background: transparent url(asterisk.png) 50% 50% no-repeat;
  height: 16px;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-indent: -5000px;
  width: 14%;
  top: 2px;
  -webkit-animation: spin 10s 999 linear;
}

.est {
  text-align: left;
}

#calendar {
  background: url(yellow.png) 0 100% repeat-x;
  background: rgba(255, 242, 0, .15);
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
  height: 105px;
  line-height: 1.1;
  margin-bottom: 30px;
  padding: 30px 0 20px;
  width: 100%;
}

#calendar .side_box {
  left: 50%;
  margin-left: -455px;
  position: absolute;
  text-align: center;
  width: 250px;
  z-index: 10;
}

#calendar a.button {
  background: rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .2);
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 5px;
  padding: 4px;
  position: relative;
  -webkit-transition: all .2s linear;
  z-index: 10;
}

#calendar a.button span {
  background: #ba335a;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ba335A), color-stop(100%,#a90131));
  background: -moz-linear-gradient(top, #ba335a 0%, #a90131 100%);
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  display: inline-block;
  padding: 10px 20px;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
}

#calendar img {
  position: relative;
  top: 2px;
}

#calendar a.button:hover {
  background: rgba(169, 0, 49, .2);
  border: 1px solid rgba(169, 0, 49, .5);
}

#calendar small {
  font-size: 10px;
}


/* News & Updates */

#news {
  width: 100%;
}

#news .side_box {
  left: 50%;
  margin-left: -440px;
  position: absolute;
  width: 218px;
  z-index: 10;
}

#news small {
  color: #363636;
  font-family: georgia, times, serif;
  font-size: 11px;
  font-style: italic;
  font-weight: normal;
}

#tweets ul {
  list-style: none;
  margin: 0;
}

#tweets li {
  font-size: 12px;
  margin-bottom: 20px;
}

#tweets a[style="font-size:85%"] {
  display: block;
}

.preLoader {
  background: url(loader.gif) 50% 50% no-repeat;
  border: 1px dashed rgba(0, 0, 0, .5);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  height: 100px;
  overflow: hidden;
  text-indent: -5000px;
  opacity: .5;
}


/* Content */

#content {
  position: absolute;
  top: 50px;
  left: 50%;
  margin-left: -480px;
}

#content h3 {
  color: #1a1a1a;
  font-family: georgia, times, serif;
  font-style: italic;
  font-weight: normal;
}

.social {
  list-style: none;
  margin: 0 0 5px;
  text-align: center;
}

.social li {
  display: inline-block;
  margin: 0 10px;
}

.ie7 .social li {
  display: inline;
}

.social a {
  color: #fff;
  font-style: italic;
  opacity: .7;
  text-decoration: none;
  -webkit-transition: opacity .2s linear;
  -moz-transition: opacity .2s linear;
  transition: opacity .2s linear;
}

.social a:hover {
  opacity: 1;
}

/* Slideshow */

#slideshow_container {
  margin-bottom: 30px;
  position: relative;
}

#next, #prev {
  background: #fff;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  display: none;;
  height: 50px;
  margin-top: -25px;
  overflow: hidden;
  position: absolute;
  text-indent: -5000px;
  top: 50%;
  width: 50px;
  z-index: 50;
}

#next {
  right: -35px;
}

#prev {
  left: -35px;
}

#slideshow_container b {
  display: block;
  height: 23px;
  opacity: .5;
  position: relative;
  top: 12px;
  -webkit-transition: opacity .2s linear;
  -moz-transition: opacity .2s linear;
  transition: opacity .2s linear;
  width: 14px;
}

#next b {
  background: #fff url(arrows.png) 0 100% no-repeat;
  left: 14px;
}

#prev b {
  background: #fff url(arrows.png) 0 0 no-repeat;
  right: -22px;
}

#slideshow_container a:hover b {
  opacity: 1;
}


/* Newsletter */

#newsletter {
  background: url(black.png);
  background: rgba(0, 0, 0, .85);
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  -webkit-transition: all .5s linear;
  width: 100%;
  z-index: 100;
}

#newsletter form {
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .75);
  border-radius: 10px;
  height: 220px;
  margin: -120px auto 0;
  padding: 20px;
  position: relative;
  top: 50%;
  width: 350px;
}

#newsletter h3 {
  font-size: 26px;
  line-height: 1;
}

#newsletter input[type="email"] {
  font-size: 16px;
  font-weight: bold;
  padding: 4px;
  width: 250px;
}

#newsletter input[type="submit"] {
  background: #ba335a;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ba335A), color-stop(100%,#a90131));
  background: -moz-linear-gradient(top, #ba335a 0%, #a90131 100%);
  border: 1px solid rgba(169, 0, 49, .5);
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  padding: 5px 20px;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  transition: all .2s linear;
}

#newsletter input[type="submit"]:hover {
  -webkit-box-shadow: 0 0 5px rgba(169, 0, 49, .8);
  -moz-box-shadow: 0 0 5px rgba(169, 0, 49, .8);
  box-shadow: 0 0 5px rgba(169, 0, 49, .8);
  text-shadow: 0 -1px 2px rgba(0, 0, 0, .4);
}

.ie6 .modalhidden,
.ie7 .modalhidden {
  filter: alpha(opacity=0);
}

.ie8 .modalhidden {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}


/* Blog */

article {
  margin-bottom: 40px;
}

article:last-child {
  margin-bottom: 0;
}

article:last-child hr {
  display: none;
}

article h2 {
  line-height: 1;
  margin-bottom: 5px;
}

article .date {
  color: #959595;
  font-size: 12px;
  margin-bottom: 20px;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 40px 0 0;
}


/* Misc */

.padding {
  background: #fff;
  -webkit-box-shadow: 0px 0 0 3px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0px 0 0 3px rgba(0, 0, 0, .05);
  -box-shadow: 0px 0 0 3px rgba(0, 0, 0, .05);
  margin-bottom: 20px;
  padding: 40px 40px 20px;
}

@-webkit-keyframes spin {
 from {
   -webkit-transform: rotate(0deg);
 }
 to {
   -webkit-transform: rotate(360deg);
 }
}


/*
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; }
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}



/*
 * Media queries for responsive design
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */
}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  /* Prevent iOS, WinMobile from adjusting font size */
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
}

