
@import url('font/font.css');
/* 
  HTML5 ✰ Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

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;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

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; cursor:help; }

/* tables still need cellspacing="0" in the markup */
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; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }
 

/* 
 * minimal base styles 
 */


body, select, input, textarea { 
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 
  /*color: #444; */
  /* set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */   
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
 
/* webkit browsers add a 2px margin outside the chrome of form elements */  
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }


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

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }



/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* 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 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 

.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }






 /* Primary Styles
    Author: Jan Zieliński
 */

#splash {position:absolute;left:50%;margin-left:-150px;text-align:center;color:#FFF;height:180px;width:300px;top:50%;margin-top:-90px;}
#splash h2 {margin-bottom:1em;}
#splash span {color:#FFF;font-size:11px;font-family:Arial;}
#splash span a {color:#000;background:rgb(45, 143, 162);padding:.45em .5em;display:inline-block;*display:inline;zoom:1;}
#splash span a:hover {background:#59BED1;}

BODY {background: #131313 url('../images/bg.gif') repeat; margin: 15px; font-family: 'Myriad Pro'; font-size: 12px;}

A {text-decoration: none;}

H1, H2, HEADER A {font-family: BebasNeueRegular; font-weight: normal;}
H1 {font-size: 48px; line-height: 48px;}
H2 {font-size: 30px; line-height: 30px;}
P {line-height: 18px;}
SPAN.huge {font-family: BebasNeueRegular; font-weight: normal; width: 100%; display: block; font-size: 110px; text-align: center; line-height: 81px; margin: 50px 0px 25px 0px; color: #fff;}

P#backTop {position: fixed; z-index: 1001; display: block; width: 50px; height: 50px; left: 810px; bottom: 29px;}
P#backTop A {position: relative; z-index: 1001; display: block; width: 100%; height: 100%; background: #fff url('../images/arrow.png') no-repeat top center; border-radius: 5px;}
P#backTop A:hover {background: #000 url('../images/arrow.png') no-repeat bottom center;}

H1::selection, H2::selection, P::selection, SPAN::selection, DT::selection {background: #fff; color: #000;}
H1::-moz-selection, H2::-moz-selection, P::-moz-selection, SPAN::-moz-selection, DT::-moz-selection {background: #fff; color: #000;}

HEADER A::selection, HEADER H1::selection, HEADER H2::selection, HEADER P::selection, FOOTER::selection, FOOTER A::selection, SECTION#preamble H1::selection, SECTION#preamble P::selection {background: #000; color: #fff;}
HEADER A::-moz-selection, HEADER H1::-moz-selection, HEADER H2::-moz-selection, HEADER P::-moz-selection, FOOTER::-moz-selection, FOOTER A::-moz-selection, SECTION#preamble H1::-moz-selection, SECTION#preamble P::-moz-selection {background: #000; color: #fff;}

/* ASIDE JavaScript details */
        #js {position: absolute; float: left; left: 775px; padding-top: 43px; color: #fff; font-size: 300%;}
        #js H1 {font-family: BebasNeueRegular; line-height: 48px; color: #d20606; text-shadow: 0px 0px 3px #ca0404, 0px 0px 40px #ff5e5e ;}
	#js H1.on {color: #4fdc1f; text-shadow: 0px 0px 3px #5bff15, 0px 0px 40px #bbff9d;}
	ASIDE #mojaJapa IMG {position: absolute; left: -10px; top: 170px;}
	ASIDE #mojaJapa P {position: absolute; width: 180px; top: 408px; font-family: BebasNeueRegular; font-size: 18px; line-height: 18px;}

HEADER {height: 150px; width: 750px;}
HEADER H1, H2 {color: #fff;}

HEADER HGROUP {position: relative; float: left; margin-left: 25px; width: 275px;}
HEADER HGROUP H1 {margin-top: 42px;}
HEADER HGROUP H2 {font-family: 'DustismoRomanItalic'; font-size: 12px; line-height: 12px;}

NAV {position: relative; float: right; width: 450px; display: block;}
NAV A SPAN {position: relative;}
NAV A:before {content: ''; position: absolute; display: none; height: 25px; width: 100%; background: url('../images/arrow.png') no-repeat center;}

NAV A {color: #fff; display: block; position: relative; float: left; width: 150px; height: 150px; text-align: center; line-height: 150px; overflow: hidden; font-size: 24px;}
NAV A.active {background: rgba(255,255,255, .3);}


FOOTER {position: relative; border-top: 1px solid #e7e7e7; overflow: hidden; clear: both; background: #fff; height: 50px; padding: 0px 0px 0px 25px; line-height: 50px; color: #000; width: 725px; font-family: BebasNeueRegular;}
FOOTER NAV {width: 150px;}
FOOTER NAV A {width: 50px; height: 50px; line-height: 50px; font-size: 14px; color: #000;}
FOOTER NAV A:nth-child(2) {width: 48px; border-left: 1px solid #e7e7e7; border-right: 1px solid #e7e7e7;}
FOOTER SPAN {position: relative; float: left;}
SECTION H1 {font-size: 30px; }

SECTION#preamble {position: relative; width: 750px; background: #fff; overflow: hidden; min-height: 275px;}
SECTION#preamble DIV.photo {position: absolute; left: 300px; height: 100%; bottom: 0px; width: 449px; border-left: 1px solid #e7e7e7;}
SECTION#preamble DIV.photo IMG {height: auto; bottom: 0px;}

SECTION#preamble DIV#description {float: left; width: 250px; display: block; position: relative; bottom: 0px; margin: 25px;}

  SECTION#preamble H1 {padding-top: 50px;}
  SECTION#preamble P {color: #3d3d3d;}
  SECTION#preamble UL {font-family: BebasNeueRegular; font-size: 24px; line-height: 30px; color: #3d3d3d;}
  SECTION#preamble UL LI {padding: 4px 0px;}
  SECTION#preamble UL LI:nth-child(2) {border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7;}
  SECTION#preamble UL LI A {color: #3d3d3d; }
  SECTION#preamble UL LI A:hover {color: #000; position: relative; left: 5px;}
  SECTION#preamble .photo H1 {font-size: 144px; position: absolute; right: 90px; top: 60px; color: #E0E0E0;}



DIV#content {position: relative; display: block; width: 750px; color: #fff; overflow: visible; }
DIV#content SECTION A {color: #fff;}
DIV#content SECTION A:hover {color: #999;}
	DIV#content P SPAN {color: #AAAAAA;}
	SECTION#grafik, SECTION#koder {margin-left: 25px;}
	SECTION#grafik, SECTION#koder, SECTION#chart {margin-bottom: 20px;}
	SECTION#grafik {position: relative;  float: left; width: 250px; padding-right: 25px;}
	SECTION#koder {position: relative; float: left; width: 250px; padding-right: 25px;}
	SECTION#chart {position: relative; float: right; width: 400px; overflow: visible; margin-right: 50px;}
	SECTION#chart .chart {position: absolute; width: 100%; height: 200px; top: 50px; z-index: -1;}
	SECTION#chart .chart SPAN {position: absolute; display: block; bottom: 0px; left: 5px;}
	SECTION#chart .range1,
	SECTION#chart .range2,
	SECTION#chart .range3,
	SECTION#chart .range4 {position: absolute; top: 0px; float: left; width: 25%; border-left: 1px solid #1f1f1f; height: 120%; font-family: BebasNeueRegular; color: #fff; font-size: 12px;}
	SECTION#chart .range1 {z-index: 1000;}
	SECTION#chart .range2 {left: 25%; z-index: -1;}
	SECTION#chart .range3 {left: 50%; z-index: -1;}
	SECTION#chart .range4 {left: 75%; z-index: -1;}
	
    	SECTION#chart DL:after {position: absolute; content: ''; display: block; height: 100%; left: 0px; top: 0px; width: 40px;
	  background-image: -moz-linear-gradient(left center, rgba(13,13,13, 1) 0%, rgba(19, 19, 19, .9) 10px, rgba(19, 19, 19, 0) 100%);
	  background-image: -o-linear-gradient(left, rgba(13,13,13, 1) 0%, rgba(19, 19, 19, .9) 10px, rgba(19, 19, 19, 0) 100%);
	  background-image: -webkit-gradient(linear, left center, right center, color-stop(0, rgba(13,13,13, 1)), color-stop(0.1, rgba(19, 19, 19, .9)), color-stop(1, rgba(19, 19, 19, 0)));
	}
		
	
	SECTION#chart DL {position: relative; margin: 25px 0px 25px 0px;}
	SECTION#chart DT {position: relative; text-shadow: -1px -1px 0px #131313; margin-left: 25px; overflow: visible; height: 0px; line-height: 25px; font-size: 12px; }
	SECTION#chart DT[title="design"] {margin-top: 23px;}
	SECTION#chart DD {position: relative; height: 25px; margin-bottom: 3px; z-index: -1; -moz-border-radius: 3px; border-radius: 4px;}
	SECTION#chart DD.des:before {
	      content: ''; height: 1px; display: block; width: 100%; position: absolute;
	      background-image:	-moz-linear-gradient(left, rgba(255,99,83, 0) 0%, rgba(255,99,83, 1) 20px, rgba(255,171,160, 1) 96%, rgba(255,171,160, 0) 100%);
	      background-image: -webkit-gradient(linear, left center, right center, color-stop(0, rgba(255,99,83, 0)), color-stop(0.1, rgba(255,99,83, 1)), color-stop(0.96, rgba(255,171,160, 1)), color-stop(1, rgba(255,171,160, 0)));
	      background-image:	-o-linear-gradient(left, rgba(255,99,83, 0) 0%, rgba(255,99,83, 1) 20px, rgba(255,171,160, 1) 96%, rgba(255,171,160, 0) 100%);

	
	}
	SECTION#chart DD.des {
		background-image:
		-moz-linear-gradient(bottom, rgba(00,00,00, .42 ) 0%, rgba(00,00,00, 0) 100%),
		-moz-linear-gradient(left, rgba(200,40,25, 1) 0px, rgba(255,94,54, 1) 420px);
		background-image:
		-webkit-gradient(linear, center bottom, center top, color-stop(0, rgba(0,0,0,.42)), color-stop(1, rgba(0,0,0,0))),
		-webkit-gradient(linear, left center, right center, color-stop(0, rgb(200,40,0)), color-stop(1, rgb(255,94,54)));
		background-image:
		-o-linear-gradient(bottom, rgba(00,00,00, .42 ) 0%, rgba(00,00,00, 0) 100%),
		-o-linear-gradient(left, rgba(200,40,25, 1) 0px, rgba(255,94,54, 1) 420px);
	}
	SECTION#chart DD.web:before {
	      content: ''; height: 1px; display: block; width: 100%; position: absolute;
	      background-image: -moz-linear-gradient(left, rgba(95,150,51, 0) 0%, rgba(95,150,51,1) 20px, rgba(105,255,105,1) 96%, rgba(255,255,255, 0) 100%);
	      background-image: -o-linear-gradient(left, rgba(95,150,51, 0) 0%, rgba(95,150,51,1) 20px, rgba(105,255,105,1) 96%, rgba(255,255,255, 0) 100%);
	      background-image: -webkit-gradient(linear, left center, right center, color-stop(0, rgba(95,150,51,0)), color-stop(0.1, rgba(95,150,51,1)), color-stop(0.96, rgba(105,255,105,1)), color-stop(1, rgba(255,255,255, 0))); 
	}
	SECTION#chart DD.web {
		background-image:
		-moz-linear-gradient(bottom, rgba(00,00,00, .42 ) 0%, rgba(00,00,00, 0) 100%),
		-moz-linear-gradient(left, rgb(25,140,40) 0px, rgb(25,235,20) 420px);
		background-image:
		-webkit-gradient(linear, center bottom, center top, color-stop(0, rgba(00,00,00, .42 )), color-stop(1, rgba(00,00,00, 0))),
		-webkit-gradient(linear, left center, right center, color-stop(0, rgb(25,140,40)), color-stop(1, rgb(25,235,20)));
		background-image:
		-o-linear-gradient(bottom, rgba(00,00,00, .42 ) 0%, rgba(00,00,00, 0) 100%),
		-o-linear-gradient(left, rgb(25,140,40) 0px, rgb(25,235,20) 420px);
	}
	
	
	HTML.no-cssgradients DD.des {background-image: url('../images/gradient-des.png');}
	HTML.no-cssgradients DD.web {background-image: url('../images/gradient-web.png');}
	HTML.no-cssgradients DIV.legend:after {position: absolute; content: ''; display: block; height: 205px; left: 0px; top: 2px; width: 40px; background-image: url('../images/gradient-shadow.png')}
	
	SECTION#chart DT:nth-child() {color: #000;}	
	SECTION#chart DD.html {width: 95%}
	SECTION#chart DD.css {width: 91%}
	SECTION#chart DD.js {width: 60%}
	SECTION#chart DD.ps {width: 93%}
	SECTION#chart DD.ai {width: 60%}
	SECTION#chart DD.ae {width: 50%}
	
	SECTION#chart P {margin-top: 50px;}
	
	SECTION#works NAV {z-index: 1000; width: 25px; height: 50px; position: fixed; left: 765px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;
	background-image: -moz-linear-gradient(left, rgb(12,12,12) 0%, rgb(0,0,0) 100%);
	}
	
	
	SECTION#works {width: 750px;}
	SECTION#works NAV A:first-child {-moz-border-radius-topright: 5px; border-top-right-radius: 3px;}
	SECTION#works NAV A:last-child {-moz-border-radius-bottomright: 5px; border-bottom-right-radius: 3px;}
	
	SECTION#works NAV A {width: 25px; height: 25px; font-size: 10px; text-align: center; line-height: 25px; position: relative; clear: both; color: #fff;}
	SECTION#works NAV A:hover {background: #d9d9d9;}
	
	SECTION#works FIGURE {overflow: visible;}
	SECTION#works FIGURE:first-child {margin-top: 25px;}
	/*SECTION#works FIGURE:last-child {margin-bottom: 0px;}*/
	SECTION#works FIGURE DIV.workBackground {position: absolute; width: 100%; z-index: -1;}
	SECTION#works FIGURE IMG {position: relative; bottom: 0px;}
	SECTION#works FIGURE HGROUP {margin-top: 50px;}
	
	SECTION#works FIGURE A.online-link {position: absolute; display: block; top: 50px; z-index: 1000; left: 750px; margin-left: 25px; color: #E0E0E0;}
	SECTION#works FIGURE A.online-link:hover {color: #fff;}
	SECTION#works FIGURE A.online-link SPAN {font-size: 36px; font-family: BebasNeueRegular; line-height: 36px;}
	
	SECTION#works FIGURE:hover {cursor: pointer;}
	
	.no-js SECTION#works FIGURE:hover .workBackground, .no-js SECTION#works FIGURE:hover HGROUP H1, .no-js SECTION#works FIGURE:hover HGROUP H2, .no-js SECTION#works FIGURE:hover .detail1 {color: #000; display: block;}
	
	SECTION#works .hotelmillenium {position: relative;}
	SECTION#works .hotelmillenium IMG {margin-top: 50px;}
	
	SECTION#works .workBackground, SECTION#works .detail1 {display: none; position: absolute;}
	SECTION#works .detail1 {z-index: 666;}
	SECTION#works IMG {z-index: 555;}
	
	SECTION#works .hotelmillenium .workBackground {height: 435px; background: #fff url('../images/works/pantadeusz-bg.png') no-repeat top right;}
	SECTION#works .hotelmillenium .detail1 {z-index: 666; right: 0px; bottom: 0px; width: 150px; height: 150px; background: url('../images/works/pantadeusz-bg.png') no-repeat bottom right;}
	
	SECTION#works .hirschpol {position: relative; overflow: visible;}
	SECTION#works .hirschpol .workBackground {width: 750px; height: 456px; background: #fff url('../images/works/hirschpol-bg.png') no-repeat top left;}
	SECTION#works .hirschpol .detail1 {width: 920px; height: 482px; top: -25px; background: url('../images/works/hirschpol-bg.png') no-repeat bottom left;}
	
	SECTION#works .fercon {position: relative; overflow: visible;}
	SECTION#works .fercon .workBackground {width: 750px; height: 506px; background: #fff url('../images/works/fercon-bg.png') no-repeat top left;}
	
	SECTION#works .bez3manki {position: relative; overflow: hidden;}
	SECTION#works .bez3manki DIV.imgwrap {position: relative; overflow: hidden; width: 750px; height: 231px; }
	SECTION#works .bez3manki IMG {position: relative; display: block;}
	SECTION#works .bez3manki .workBackground {width: 750px; height: 231px; background: url('../images/works/bez3manki.png') bottom center no-repeat; z-index: 666;}	
	
	SECTION#works .esgusto {position: relative; overflow: visible;}
	SECTION#works .esgusto IMG {margin-top: 35px; left: 6px;}
	SECTION#works .esgusto .workBackground {height: 506px; background: #fff url('../images/works/esgusto-hover.png') no-repeat top left;}
	SECTION#works .esgusto .detail1 {width: 772px; height: 525px; top: -19px; background: url('../images/works/esgusto-hover.png') no-repeat bottom left;}
	
	SECTION#works FIGURE HGROUP {z-index: 666; position: absolute; left: 25px;}
	SECTION#works FIGURE HGROUP H1 {font-size: 30px; line-height: 30px;}
	SECTION#works FIGURE HGROUP H2 {font-size: 12px; font-family: 'Myriad Pro'; line-height: 12px;}
	
		
	SECTION#works FIGURE DIV.gallery UL:before {content: 'Galeria:'; position: relative; float: left; line-height: 30px; left: 10px; }
	SECTION#works FIGURE DIV.gallery UL LI:first-child {margin-left: 25px;}
	SECTION#works FIGURE DIV.gallery UL LI {position: relative; margin-left: 5px; top: 5px; line-height: 20px; width: 20px; height: 20px; float: left; text-align: center;}
	SECTION#works FIGURE DIV.gallery UL LI A {color: #fff; font-size: 11px; text-decoration: none; -moz-border-radius: 40px; border-radius: 40; display: block; background: rgba(255,255,255,.1); }
	SECTION#works FIGURE DIV.gallery UL LI A:hover {color: #000; background: #fff;}
	
	.QOverlay {background-color: #000000; z-index: 9999;}
	.QLoader {background-color: #CCCCCC; height: 1px;}


/*
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override. 
 */

@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) {
  
  
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust 
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/* 
 * 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 !important; }
  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; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

