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

/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }

/* =============================================================================
   Base
   ========================================================================== */

/* 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/ */
html { font-size: 100%; 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 { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301 */
::-moz-selection { background: #5A97C3; color: #fff; text-shadow: none; }
::selection { background: #5A97C3; color: #fff; text-shadow: none; }

/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }

/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
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-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
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; }

/* =============================================================================
   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; }

/* 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; *margin-left: -7px; 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 inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

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


/* =============================================================================
   Primary styles
   Author: Andy Warrington
   **Mobile first - Styles applied regardless of screen width**
   ========================================================================== */

/* Basics */
body {
	background: url(../images/diagonal-noise.png) 0 0 repeat #eee;
	-ms-overflow-x: hidden;
	overflow-x: hidden;
	font-family: 'Quattrocento Sans', Arial, sans-serif;
	font-size: 16px;}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Philosopher', Arial, sans-serif;
	color: #2c597a;}
a, a:visited {color: #2c597a;}
a:hover, a:active {color: #5a97c3;}
#container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	min-height: 100%;
	height: 100%;
	background: #fff;}
#container p, #container h1, #container h2, #container h3, #container h4, #container h5, #container h6 {margin: 8px 16px;}

/* ----------- Header ----------- */
#container header {
	background: #2c597a;
	background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #2c597a), color-stop(75%, #5a97c3), color-stop(100%, #3a749f));
	background: -webkit-linear-gradient(left, #2c597a 0%, #5a97c3 75%, #3a749f 100%);
	background: -moz-linear-gradient(left, #2c597a 0%, #5a97c3 75%, #3a749f 100%);
	background: -o-linear-gradient(left, #2c597a 0%, #5a97c3 75%, #3a749f 100%);
	background: -ms-linear-gradient(left, #2c597a 0%, #5a97c3 75%, #3a749f 100%);
	background: linear-gradient(left, #2c597a 0%, #5a97c3 75%, #3a749f 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c597a', endColorstr='#3a749f',GradientType=1 );
	width: 100%;
	position: relative;
	padding: 1px 0;}
/* Logo */
#container header hgroup {
	height: 80px;
	background: url("../images/tintisha.png") 0 0 no-repeat;
	text-indent: -9999px;
	margin: 8px 8px 48px 8px;}
/* Quick links list */
#container header nav {
	position: absolute;
	right: 16px;
	bottom: 4px;
	font-size: 16px;
	text-align: right;}
#container header nav li {display: inline;}
#container header nav li::before {
	content: "|";
	color: #eee;
	margin: 0 6px 0 4px;}
#container header nav li:first-child:before {content: "";}
#container header nav a {
	color: #eee;
	text-decoration: none;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;}
#container header nav a:hover {
	color: #fff;
	text-shadow: 0 0 2px #fff;}
/* End quick links */
/* ----------- End header ----------- */

/* ----------- Site blocks ----------- */
#sites a {
	text-decoration: none;}
.screenshot {
	display: none;}
.logo {
	display: none;}
#sites figure {
	position: relative;
	border: 1px solid #999;
	margin: 4px;
	color: #000;
	padding: 0 0 24px 0;}
.visitsite {
	position: absolute;
	bottom: 0px;
	right: 16px;
	color: #2c597a;}
.tagline {display: none;}
/* ----------- End site blocks ----------- */

/* ----------- Footer ----------- */
#container footer {width: 100%;}
/* Contact details */
#contact {
	background: #fff;
	padding: 8px;
	overflow: auto;}
#contact address {font-style: normal;}
#contact address em {
	font-style: normal;
	font-weight: bold;}
#contactform {margin: 0 0 48px 16px;}
/* End contact details */
/* ----------- End footer ----------- */

/* IE Fixes */
.oldie nav a {display: inline-block; border-left: 1px solid #fff;border-right: 1px solid #fff;padding: 0 6px;}
.oldie nav a:hover {text-decoration: underline !important;}
.oldie #sites figure {
	overflow: auto;
	zoom: 1;
	margin: 8px 16px;}
.oldie .screenshot {
	display: inline;
	width: 35%;
	height: auto;
	float: left;
	margin: 8px 16px 0 8px;
	border: 1px solid #ccc;}

/* =============================================================================
   Non-semantic helper classes
   ========================================================================== */

/* 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; }
.clearfix { zoom: 1; }

/* =============================================================================
   Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here
   * Mainly aimed at tablets and people with smaller monitors */
 
 /* Site blocks */
.screenshot {
	display: block;
	width: 30%;
	height: auto;
	float: left;
	border: 1px solid #333;}
.screenshot, #site figcaption {margin: 8px;}
#sites figure {overflow: auto;}
/* End site blocks */

} /* End >480px styles */

@media only screen and (min-width: 1024px) {
  /* Style adjustments for viewports 1024px and over go here
   * Aimed at users on fully functional devices */

/* ----------- Layout styles ----------- */
#container {
	position: relative;
	-webkit-box-shadow: 2px 2px 2px rgba(51, 51, 51, 0.2);
	-moz-box-shadow: 2px 2px 2px rgba(51, 51, 51, 0.2);
	box-shadow: 2px 2px 2px rgba(51, 51, 51, 0.2);
	-webkit-border-radius: 0 0 8px 8px;
	-khtml-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
	margin-bottom: 64px;}
#container header {
	-webkit-border-radius: 0 0 8px 8px;
	-khtml-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
	-webkit-box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);
	-moz-box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);
	box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);
	padding: 1px 16px;
	margin: 0 0 0 -16px;}
#container header hgroup {
	margin: 24px 8px 32px 8px;}
/* ----------- End layout styles ----------- */

/* ----------- Site blocks ----------- */
#intro {
	margin: 16px 0;
	width: 70%;}
#sites {overflow: hidden;}
#sites figure {
	width: 29%;
	margin: 1%;
	float: left;
	background: #fff;
	padding: 1%;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);
	-moz-box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);
	box-shadow: 2px 2px 4px rgba(51, 51, 51, 0.4);}
#sites figure:active {
	position: relative;
	top: 2px;
	left: 2px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;}
.screenshot {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: all .5s linear;
	-moz-transition: all .5s linear;
	-o-transition: all .5s linear;
	-ms-transition: all .5s linear;
	transition: all .5s linear;}
#sites figure:hover .screenshot {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	filter: alpha(opacity=40);
	opacity: 0.4;}
#sites figure {position: relative;}
#sites figure h2 {color: #fff;}
#sites figure h2::after {
	content: ">>";
	float: right;
	color: #fff;
	text-shadow: 0 0 4px #fff;}
#sites figcaption {
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.8);
	position: absolute;
	left: 0;
	bottom: 0px;
	display: none;
	color: #fff;
	font-size: 14px;
	width: 100%;}
.visitsite {display: none;}
.logo {
	position: relative;
	display: block;
	background: #fff;
	padding: 8px;
	margin: 0 0 -57px 0;
	z-index: 1;
	-webkit-border-radius: 0 0 4px 0;
	-khtml-border-radius:0 0 4px 0;
	-moz-border-radius:0 0 4px 0;
	border-radius:0 0 4px 0;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;}
.tagline {
	background: none repeat scroll 0 0 rgba(44, 89, 122, 0.9);
    bottom: 32px;
    color: #FFFFFF;
    display: block;
    font-size: 12px;
    left: 0;
    margin: 0 !important;
    padding: 4px 0;
    position: absolute;
    text-align: center;
    width: 100%;}
/* ----------- End site blocks ----------- */

/* ----------- Footer ----------- */
#container footer {
	position: fixed;
	bottom: -16px;
	background: none;
	width: 400px;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;}
#container footer:hover {bottom: -8px;}
/* Contact details */
#contact {
	background: #2c597a;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #39729b), color-stop(22%, #2c597a), color-stop(100%, #2c597a));
	background: -webkit-linear-gradient(top, #39729b 0%, #2c597a 22%, #2c597a 100%);
	background: -moz-linear-gradient(top, #39729b 0%, #2c597a 22%, #2c597a 100%);
	background: -o-linear-gradient(top, #39729b 0%, #2c597a 22%, #2c597a 100%);
	background: -ms-linear-gradient(top, #39729b 0%, #2c597a 22%, #2c597a 100%);
	background: linear-gradient(top, #39729b 0%, #2c597a 22%, #2c597a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39729b', endColorstr='#2c597a',GradientType=0 );
	width: 400px;
	color: #fff;
	-webkit-border-radius: 8px 8px 0 0;
	-khtml-border-radius: 8px 8px 0 0;
	-moz-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
	position: relative;
	z-index: 100;}
#contact:hover {top: -8px;}
#contact h1 {
	border-bottom: 1px solid #333;
	margin: 0 0 8px 0;
	padding: 8px 16px;
	color: #fff;}
#contact a, #contact a:visited {color: #eee;}
#contact a:hover, #contact a:active {color: #fff;}
#contactdetails {display: none;}
/* Contact form icon */
#contactform {
	position: relative;
	float: right;
	margin: -64px 16px 16px 0;
	display: block;
	border: 1px solid #ccc;
	text-indent: -90px;
	width: 40px;
	height: 56px;
	background: #eeeeee;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(50%, #ffffff), color-stop(100%, #dddddd));
	background: -webkit-linear-gradient(top, #eeeeee 0%, #ffffff 50%, #dddddd 100%);
	background: -moz-linear-gradient(top, #eeeeee 0%, #ffffff 50%, #dddddd 100%);
	background: -o-linear-gradient(top, #eeeeee 0%, #ffffff 50%, #dddddd 100%);
	background: -ms-linear-gradient(top, #eeeeee 0%, #ffffff 50%, #dddddd 100%);
	background: linear-gradient(top, #eeeeee 0%, #ffffff 50%, #dddddd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dddddd',GradientType=0 );
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	text-decoration: none;}
#contactform:hover {
	-webkit-border-radius: 2px 10px 2px 2px;
	-khtml-border-radius: 2px 10px 2px 2px;
	-moz-border-radius: 2px 10px 2px 2px;
	border-radius: 2px 10px 2px 2px;
	-webkit-box-shadow: 2px 2px 2px #333;
	-moz-box-shadow: 2px 2px 2px #333;
	box-shadow: 2px 2px 2px #333;}
#contactform:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;}
#contactform::before {
	content: "";
	background: #eee;
	position: absolute;
	width: 0px;
	height: 0px;
	top: 0;
	right: 0;
	-webkit-border-radius: 0 10px 0 2px;
	-khtml-border-radius: 0 10px 0 2px;
	-moz-border-radius: 0 10px 0 2px;
	border-radius: 0 10px 0 2px;
	-webkit-box-shadow: -1px 1px 1px #aaa;
	-moz-box-shadow: -1px 1px 1px #aaa;
	box-shadow: -1px 1px 1px #aaa;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;}
#contactform:hover:before {
	width: 10px;
	height: 10px;}
#contactform::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 60%;
	margin: 22px 20% 0;
	height: 15px;
	background: #ccc;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0,, #ccc), color-stop(20%, #fff), color-stop(40%, #fff), color-stop(40%, #ccc), color-stop(60%, #ccc), color-stop(60%, #fff), color-stop(80%, #fff), color-stop(80%, #ccc), color-stop(100%, #ccc));
	background: -webkit-linear-gradient(top, #ccc 0, #ccc 20%, #fff 20%, #fff 40%, #ccc 40%, #ccc 60%, #fff 60%, #fff 80%, #ccc 80%, #ccc 100%);
	background: -moz-linear-gradient(top, #ccc 0, #ccc 20%, #fff 20%, #fff 40%, #ccc 40%, #ccc 60%, #fff 60%, #fff 80%, #ccc 80%, #ccc 100%);
	background: -o-linear-gradient(top, #ccc 0, #ccc 20%, #fff 20%, #fff 40%, #ccc 40%, #ccc 60%, #fff 60%, #fff 80%, #ccc 80%, #ccc 100%);
	background: -ms-linear-gradient(top, #ccc 0, #ccc 20%, #fff 20%, #fff 40%, #ccc 40%, #ccc 60%, #fff 60%, #fff 80%, #ccc 80%, #ccc 100%);
	background: linear-gradient(top, #ccc 0, #ccc 20%, #fff 20%, #fff 40%, #ccc 40%, #ccc 60%, #fff 60%, #fff 80%, #ccc 80%, #ccc 100%);}
/* End contact form icon */
/* End contact details */
/* ----------- End footer ----------- */

/* IE Fixes */
.oldie #contactform {
	border: none;
	text-indent: 0;
	background: transparent;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 
	height: auto;
	width: auto;
	margin: -16px 16px 16px 0;}
.oldie #contactform:hover {text-decoration: underline !important;}

} /* End >1024px styles */

/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}