/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	overflow-y: scroll; /* verticall scroll bar always present to avoid horizontal jumps when content changes */
}

/* stylesheet.css (Museo) ----------------------------------------------------*/
@font-face {
    font-family: 'museo300';
    src: url('museo300-regular-webfont.eot');
    src: url('museo300-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('museo300-regular-webfont.woff') format('woff'),
url('museo300-regular-webfont.ttf') format('truetype'),
url('museo300-regular-webfont.svg#museo300') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* shadowbox.css -------------------------------------------------------------*/
#sb-info-inner, div.sb-message {
	font-size: 17px;
	line-height: 36px;
	color:#CCC;
}
#sb-loading-inner, #sb-title-inner {
	font-size: 17px;
	line-height: 36px;
	color:#000;
}
#sb-container {
	font-family: 'Source Sans Pro', sans-serif;
    font-weight:400;
	position:fixed;
	margin:0;
	padding:0;
	top:0;
	left:0;
	z-index:999;
	text-align:left;
	visibility:hidden;
	display:none;
}
#sb-overlay {
	position:relative;
	height:100%;
	width:100%;
}
#sb-wrapper {
	position:absolute;
	visibility:hidden;
	width:100px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}
#sb-wrapper-inner {
	position:relative;
/*	border:1px solid #000; */
	border-radius: 7px;
	overflow:hidden;
	height:100px;
}
#sb-wrapper-inner p {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}
#sb-body {
	position:relative;
	height:100%;
}
#sb-body-inner {
	position:absolute;
	height:100%;
	width:100%;
}
#sb-player.html {
	height:100%;
	overflow:auto;
}
#sb-body img {
	border:none;
}
#sb-loading {
	position:relative;
	height:100%;
}
#sb-loading-inner {
	position:absolute;
	font-size:14px;
	line-height:24px;
	height:24px;
	top:50%;
	margin-top:-12px;
	width:100%;
	text-align:center;
}
#sb-loading-inner span {
/*	background:url(loading.gif) no-repeat;
*/	display:inline-block;
	width: 24px;
}
#sb-body,#sb-loading {
	background-color:#fff;
}
#sb-title,#sb-info {
	position:relative;
	margin:0;
	padding:0;
	overflow:hidden;
}
#sb-title,#sb-title-inner {
	height:26px; 
	line-height:26px;
}
#sb-title-inner {
	font-size:16px;
}
#sb-info,#sb-info-inner {
	height:27px; /* was 20px */
	line-height:30px;
}
#sb-info-inner {
	font-size:17px; /* was 12px */
	line-height: 30px; /* new rule */
}
#sb-nav {
	float:right;
	height:27px; /* was 16px */
	padding:2px 0;
	width:45%;
}
#sb-nav a {
	display:block;
	float:right;
	height:27px; /* was 16px */
	width:27px; /* was 16px */
	margin-left:3px;
	cursor:pointer;
	background-repeat:no-repeat;
}
#sb-nav-close {
	background-image:url(close.png);
}
#sb-nav-close:hover {
	background-position: 0 -27px;
}
#sb-nav-next {
	background-image:url(next.png);
}
#sb-nav-next:hover {
	background-position: 0 -27px;
}
#sb-nav-previous {
	background-image:url(previous.png);
}
#sb-nav-previous:hover {
	background-position: 0 -27px;
}
.hovprev {
	background-position: 0 -27px;
}
.hovnext{
	background-position: 0 -27px;
}

#sb-counter {
	float:left;
	width:25%;
}
#sb-counter a {
	padding:0 4px 0 0;
	text-decoration:none;
	cursor:pointer;
	color:#000;
}
#sb-counter a.sb-counter-current {
	text-decoration:underline;
}
div.sb-message {
	font-size:12px;
	padding:10px;
	text-align:center;
}
div.sb-message a:link,div.sb-message a:visited {
	color:#fff;
	text-decoration: underline;
}



/* Isotope, etc. -------------------------------------------------------------*/
/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* End: Recommended Isotope styles */


/**** Base styles ****/

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, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  font-family: 'museo300', Arial, sans-serif;
  font-size: 17px;
  line-height: 28px;
  background: #FFFFFF;
  color: #000000;
}

a {
  color: #999999;
  text-decoration: none;
  transition: color 0.15s linear;
  -webkit-transition: color 0.15s linear; /* Safari */
}

a:hover { 
  color: #000000;
  transition: color 0.15s linear;
  -webkit-transition: color 0.15s linear; /* Safari */
  text-decoration: underline;
}

a:active {
  color: #000000;
  transition: color 0.15s linear;
  -webkit-transition: color 0.15s linear; /* Safari */
  text-decoration: underline;
}



a img { border: none; }

/**** Isotope styles ****/

/* required for containers to inherit vertical size from window */
html,
body {
  height: 100%;
}

#content {
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	padding-left:50px;
	padding-right:50px;
}

#container {
	position: relative;
	max-width: 1400px;
	min-width: 200px;
	margin: 0 auto;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}

.logo {
  width: 92px;
  height: 92px;
  float: left;
  overflow: hidden;
  position: relative;
  color: #222;
}

.logo * {
  position: absolute;
  margin: 0;
}

/**** Options ****/

#options {
 	position: relative;
	max-width: 1300px;
	min-width: 100px;
	margin: 0 auto;
	margin-top: 100px;
	padding-left:50px;
	padding-right:50px;
	padding-bottom: 0px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}

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

#options li {
  float: left;
}

#options li a {
  display: block;
  margin-right: 12px;
  color: #B5B5B5;
  transition: none;
  -webkit-transition: none; /* Safari */
  text-decoration: none;
}

#options li a:hover {
  color: #000000;
  transition: none;
  -webkit-transition: none; /* Safari */  
  text-decoration: none;
}

#options li a:active {
  color: #000000;
  text-decoration: none;
}

#options li:last-child a {
  margin-right: 40px;
}

#options li a.selected {
  text-shadow: none;
  color: #000000;
  cursor:default;
}

.breakhack {
  display: none;
}




/* sticky.css -----------------------------------------------------------------*/
* {margin: 0;}

html, body {
	height: 100%;}

#wrap {
	min-height: 100%;}

#main {
	overflow-y:auto;
	overflow-x:hidden;
	padding-bottom: 100px; /* must be same height as the footer */
	visibility: hidden;
	}  

#footer {
	position: relative;
	font-size: 15px;
	margin-top: -100px; /* negative value of footer height */
	min-width: 240px;
	height: 50px; /* total 100px with the top padding*/
	padding-top: 50px;
	clear:both;
	}
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}








/* form styles -----------------------------------------------------------------*/
fieldset {
font-family: 'museo300', Arial, sans-serif;
width:100%;
}

form p {
font-family: 'Source Sans Pro', sans-serif;
font-weight:400;
position:relative
}
form p br { display: none }
label  {
position:absolute; top:0; left:0;
cursor:text;
}

form label {
font-family: 'museo300', Arial, sans-serif;
background: #EEEEEE;
font-size: 17px;
height: 36px;
line-height: 36px;
padding: 10px 0px 10px 20px;
width: 97%;
border-radius: 5px;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select:none;
-o-user-select: none;
user-select: none;
}

form input {
font-family: 'museo300', Arial, sans-serif;
background: #EEEEEE;
border: none;
color: #000000;
font-size: 17px;
height: 36px;
line-height: 36px;
padding: 10px 0px 10px 20px;
width: 97%;
border-radius: 5px;
}

form textarea {
font-family: 'museo300', Arial, sans-serif;
background: #EEEEEE;
border: none;
color: #000000;
font-size: 17px;
line-height: 36px;
padding: 10px 0px 10px 20px;
width: 97%;
border-radius: 5px;
}

.formbutton {
font-family: 'museo300', Arial, sans-serif;
background: #CCCCCC;
border: none;
color: #000000;
font-size: 17px;
height: 36px;
line-height: 36px;
vertical-align:central;
width: 95px;
padding: 0px;
border-radius: 5px;
}

.formbutton:hover {
font-family: 'museo300', Arial, sans-serif;
background: #444444;
border: none;
color: #FFFFFF;
font-size: 17px;
height: 36px;
line-height: 36px;
vertical-align:central;
width: 95px;
padding: 0px;
border-radius: 5px;
}

p.valid {
}

p.invalid {
	font-family: 'Source Sans Pro', sans-serif;
    font-weight:400;
	font-size:14px;
	line-height:20px;
	color: #DD0000;
}



/* Slides ---------------------------------------------------------- */

#slides {
  display:none;
}

#slides .cheat {
  visibility:hidden;
}

#slides .slidesjs-navigation {
  margin-top:3px;
}

#slides .slidesjs-previous {
  margin-right: 5px;
  float: left;
}

#slides .slidesjs-next {
  margin-right: 5px;
  float: left;
}

.slidesjs-pagination {
  margin: 6px 0 0;
  float: right;
  list-style: none;
}

.slidesjs-pagination li {
  float: left;
  margin: 0 1px;
}

.slidesjs-pagination li a {
  display: block;
  width: 13px;
  height: 0;
  padding-top: 13px;
  background-image: url(../images/pagination.png);
  background-position: 0 0;
  float: left;
  overflow: hidden;
}

.slidesjs-pagination li a.active,
.slidesjs-pagination li a:hover.active {
  background-position: 0 -13px
}

.slidesjs-pagination li a:hover {
  background-position: 0 -26px
}

#slides a:link,
#slides a:visited {
  color: #333
}

#slides a:hover,
#slides a:active {
  color: #9e2020
}

.navbar {
  overflow: hidden
}

#slides img {
  border-radius: 7px;
}


/* Miscellaneous --------------------------------------------------------------*/

#header {
	padding-top: 20px;
	padding-right: 5px;
	padding-bottom: 20px;
	padding-left: 20px;
}
#logo {
	float: left;
	min-width: 258px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}
#topmenu {
	text-align: right;
	float: right;
	padding-top: 7px;
	padding-right: 10px;
	color: #000000;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}

#footerleft {
	float: left;
	min-width: 150px;
	padding-right: 5px;
	padding-left: 20px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}

#footerright {
	text-align: right;
	float: right;
	text-align: right;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select:none;
	-o-user-select: none;
	user-select: none;
}

#footer img {
	margin: 0px;
	padding: 0px;
}

#footer p {
	margin-bottom: 0px;
	padding-top: 7px;
	padding-right: 25px;
	padding-left: 25px;
	line-height:20px;
}

#logo a {
	display: block;
	width: 258px;
	height: 35px;
	margin: 0px;
	padding 0px;
}

h1 {
	margin-bottom:10px;
	font-size: 25px;
	color: #000000;
}

h2 {
	margin-top: 20px;
	font-size: 20px;
	color: #000000;
	line-height: 28px;
}


#topmenu a {
  color: #B5B5B5;
  text-decoration: none;
  transition: color 0.15s linear;
  -webkit-transition: color 0.15s linear; /* Safari */
  margin-right: 13px;
}

#topmenu a:hover { 
  color: #000000;
  transition: color 0.15s linear;
  -webkit-transition: color 0.15s linear; /* Safari */
}

#topmenu a:active {
  color: #000000;
}

#topmenu .fakelink {
  margin-right: 13px;
  cursor:default;
}

.logopreview {
  width: 92px;
  height: 92px;
  z-index: 999;
}

.socialicon {
  width: 25px;
  height: 25px;
  z-index: 999;
}

#text {
	width: 1400px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 100px;
	width: 75%;
	max-width: 800px;
	min-width: 180px;
	text-align: justify;
}

#text p {
	margin-bottom: 15px;
}

a:focus { 
    outline: none; 
}


p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight:400;
}

#spinner {
	background-attachment: scroll;
	background-image: url(loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 999;
}

#text p {
	font-size:16px;
	color:#646464;
}

#left_col {
	width:48%;
	float:left;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#right_col {
	width:48%;
	float:right;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.left_img {
	margin-right: 12px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 600px) {

#content {
	margin-top: 0px;
	padding-left:0px;
	padding-right:0px;
}
#topmenu {
	text-align: left;
	float: left;
	clear: left;
	padding-top: 0px;
	padding-right: 0px;
	color: #000000;
}
#footerleft {
	text-align: left;
	margin-top: 0px;
	padding-left: 5px;
	padding-top: 0px;
	padding-right: 0px;
}
#footerright {
	text-align: left;
	float: left;
	clear: left;
	padding-right: 0px;
}
#header {
	padding: 5px;
}
#footer p {
	position: absolute;
	bottom: 0px;
	padding-right: 5px;
	padding-left: 5px;
	line-height: 20px;
	text-align: left;
}
#text {
	margin-top: 15px;
	width: 97%;
	padding-right: 20px;
	padding-left: 5px;	
	text-align: left;
}
form label, form input, form textarea {
	width: 90%;
}
#options {
	margin-top: 15px;
	padding-left:5px;
	padding-right:5px;
}
#container {
	margin-left: -50px;
	margin-right: -50px;
}
#options li a {
	margin-right: 10px;
}
#options li:last-child a {
	margin-right: 0px;
}
.breakhack {
	display: inline;
}	
#left_col {
	width:100%;
	float:left;
}
#right_col {
	width:100%;
	float:right;
}

}


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

#content {
	margin-top: 15px;
	padding-left: 10px;
	padding-right: 10px;
}
#text {
	margin-top: 15px;
	width: 97%;
	padding-right: 10px;
	padding-left: 10px;	
}
#options {
	margin-top: 15px;
	padding-left: 10px;
	padding-right: 10px;
}
#container {
	margin-left: -45px;
	margin-right: -45px;
}

}


@media only screen and (max-width: 1024px) and (min-width: 801px) {

#content {
	margin-top: 25px;
	padding-left: 25px;
	padding-right: 25px;
}
#text {
	margin-top: 25px;
	width: 85%;
	padding-right: 25px;
	padding-left: 25px;	
}
#options {
	margin-top: 25px;
	padding-left: 25px;
	padding-right: 25px;
}
#container {
	margin-left: -30px;
	margin-right: -30px;
}

}

@media only screen and (max-width: 1440px) and (min-width: 1025px) {

#content {
	margin-top: 40px;
	padding-left: 40px;
	padding-right: 40px;
}
#text {
	margin-top: 45px;
	width: 85%;
	padding-right: 40px;
	padding-left: 40px;	
}
#options {
	margin-top: 40px;
	padding-left: 40px;
	padding-right: 40px;
}
#container {
	margin-left: -15px;
	margin-right: -15px;
}

}

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

#content {
	margin-top: 150px;
	padding-left: 150px;
	padding-right: 150px;
}

#container {
	max-width: 2200px;
}

#text {
	margin-top: 150px;
	padding-right: 150px;
	padding-left: 150px;	
}
#options {
	max-width: 2200px;
	margin-top: 150px;
	padding-left: 55px;
	padding-right: 55px;
}

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    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;
    }
}
