/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   OGDK's custom styles
   ========================================================================== */

body {
    width: 100%;
    height: 100%;
    background-color: #222;
	overflow: visible;
}

#GDK-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}


#GDK-swipe-overlay {
	position: absolute;
	display: table-cell;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
	text-align: center;
	verical-align: middle;
	overflow: hidden;
	z-index:9999;
}

        /*//NOTE: ERROR MODAL*/
        
#GDK-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #000000;
	color: #eee;
	text-align: center;
	overflow: hidden;
	z-index:9000;
}
        
#GDK-overlay .UIErrorModalContainer {
            display: inline-block;
            max-width: 760px;
            width: 100%;
            margin: 0 auto;
            font-family: Arial, sans-serif;
            position: absolute;
            left: 50%;
            top: 50%;
			-webkit-transform: translate(-50%, -50%);
			-ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

#GDK-overlay .UIErrorModalWrap{
            max-width: 760px;
            width: 100%;
            position: relative;
            left: 50%;
			-webkit-transform: translate(-50%, -50%);
			-ms-transform: translate(-50%, -50%);
            transform: translateX(-50%);
}

#GDK-overlay .UIErrorModalDesktop {
            background-color: rgba(0,0,0,0.8);
			max-width: 2048px;
			width: 2048px;
}

#GDK-overlay .UIErrorModalDesktop .error{
			border-bottom: 2px solid red;

}

#GDK-overlay .UIErrorModalDesktop .success{
			border-bottom: 2px solid green;

}
    
#GDK-overlay .UIErrorModalContainer .title {
            font-size: 36px;
            font-weight: 600;
            text-decoration: underline;
			margin: 10px;
			color: #eee;
}
        
#GDK-overlay .UIErrorModalContainer .text {
            font-size: 18px;
			margin: 10px;
}
        
#GDK-overlay .UIErrorModalContainer .controls {
            padding: 30px;
            text-align: center;
			position: relative;
			height: initial;
			box-sizing: none;
}
        
#GDK-overlay .UIErrorModalContainer .controls .btn {
            display: inline-block;
            font-family: courier;
            padding: .8em 1em;
            margin: 0.5em 0.5em 0.5em 0.5em;
            background-color: transparent;
            font-size: 18px;
            border-radius: 15px;
            border: 3px solid #eee;
            outline: none;
			min-width: 150px;
}
        
#GDK-overlay .UIErrorModalContainer .controls .btn.default {
            color: #eee;
            border-color: #eee;
}
		
#GDK-overlay .UIErrorModalContainer .controls .btn.error {
            color: #ff4b4b;
            border-color: #ff4b4b;
}
        
#GDK-overlay .UIErrorModalContainer .controls .btn.warning {
            color: #ffe078;
            border-color: #ffe078;
}
        
#GDK-overlay .UIErrorModalContainer .controls .btn.success {
            color: #4bff67;
            border-color: #4bff67;
}

    

#GDK-container{
	padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

#GDK-content {
	padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
	overflow: hidden;
}
#GDK-splash {
	background-color: #222;

}

#GDK-splash,
#GDK-loading {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    transition: all 1s ease-in-out;
}

#touch-brand{
	position:absolute;
	width:400px;
	height: 200px;
	top: 100px;
	left: 50%;
	margin-left: -200px;
	/*color: #fff;
	font-weight: bold;
	font-style: italic;
	font-size: 300%;
	-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275); 
	text-transform: uppercase;
	background-image: url(../img/fuga_logo_intro_075.png);
	border: 1px solid red;*/
	
}

#brand-wrap {
	top: 50%;
	left: 50%;
	margin: -300px 0 0 -300px;
	position: absolute;
	width: 600px;
	height: 600px;
	text-align: center;
}

#brand-wrap .progress {
	
	margin: 300px auto;
	
}

.progress {
	width: 400px;
	-webkit-transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275); 
	padding: 4px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 6px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
	height: 10px;
	width: 0%;
	border-radius: 4px;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
	transition: 0.4s linear;
	transition-property: width, background-color;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
}


#GDK-loading-bg{
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: all 0.5s ease-in-out;
	background: #4598c2; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover,  #4598c2 0%, #151129 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#4598c2), color-stop(100%,#151129)); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover,  #4598c2 0%,#151129 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover,  #4598c2 0%,#151129 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover,  #4598c2 0%,#151129 100%); /* IE10+ */
	background: radial-gradient(ellipse at center,  #4598c2 0%,#151129 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4598c2', endColorstr='#151129',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}
#GDK-game {
   background-color: #222;
   position: absolute;
   
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0px;
    left: 0px;
    
}

#GDK-brand {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 500px;
    height: 203px;
    overflow: hidden;
    top: 50%;
    left: 50%;
    margin: 50px 0 0 -250px;
    
    transition: all 0.5s ease-in-out;
}

#GDK-brand img {
    width: 100%;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    
}




/* GDK Spinner*/

#GDKSpinnerWrap{
	position:absolute;
	top:50%;
	left:50%;
	width: 130px;
	height:130px;
	z-index: 9900;
	border-radius: 10px;
	margin: -65px 0 0 -65px;
}

#GDKSpinner {
	width:100px;
	height:100px;
	display: block;
    position: absolute;
	margin: -53px 0 0 -53px;
    left: 50%;
    top: 50%;
	-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}


#GDKSpinner .circle {
	width:120px;
	height:120px;
	display: block;
    position: absolute;
    left: 50%;
    top: 50%;
	border-radius: 50%;
	border: 1px solid transparent;
	-webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275); 
	background-color:#f9c922;
	/*background: radial-gradient(ellipse at center,  #f9c922 0%,transparent 100%);*/
	margin: -57px 0 0 -57px;
	z-index:1001;
}

#GDKSpinner .shadow,
#GDKSpinner .segment{
	display: block;
    position: absolute;
    left: 50%;
    top: 50%;
	border-radius: 50%;
	transition: all 0.5s linear;
    border: 3px solid transparent;
    border-left-color: #f9c922;
	border-right-color: #fff;
    z-index: 1000;
}
#GDKSpinner .shadow {
    border-left-color: #333;
	border-right-color: #333;
}

#GDKSpinner .outerS,
#GDKSpinner .outer{
	width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
}
#GDKSpinner .outerS {
	margin: -45px 0 0 -45px;
}
#GDKSpinner .outerA {
	-webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#GDKSpinner .baseS,
#GDKSpinner .base{
	width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
}
#GDKSpinner .baseS {
    margin: -35px 0 0 -35px;
}
#GDKSpinner .baseA {
	-webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#GDKSpinner .innerS,
#GDKSpinner .inner{
	width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
}
#GDKSpinner .innerS {
    margin: -25px 0 0 -25px;
}
#GDKSpinner .innerA {
	-webkit-animation: spin 0.75s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 0.75s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}


    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    
    @-webkit-keyframes spin1 {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin1 {
         0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }








/* ==========================================================================
   Helper classes
   ========================================================================== */
.small {
	-webkit-transform: scale(0.1);
	-ms-transform: scale(0.1);
	transform: scale(0.1);
}   
.medium {
	-webkit-transform: scale(0.2);
	-ms-transform: scale(0.2);
	transform: scale(0.2);
}

.zero-width {
	width: 0;	
}   

.transparent {
   opacity:0;
}

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

.halfSize {
	-webkit-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
}

.quaterSize {
	-webkit-transform: scale(0.75);
	-ms-transform: scale(0.75);
	transform: scale(0.75);
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.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 screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
