/* @override 
http://localhost/~john/aptonic-site/css/main.css */

/*
* 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
========================================================================== 
*/
@import url(https://fonts.googleapis.com/css?family=PT+Sans);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:700);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400italic);

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

/* 
==========================================================================
Aptonic custom styles
========================================================================== 
*/

/* @group Aptonic Styles */

body {
	background-color: #e6eaee;
	font-family: "Helvetica Neue", Helvetica, Arial;
	color: #8c8d8c;
}

p {
	color: #8c8d8c;
	font: normal 15px 'Helvetica Neue', Helvetica, Arial;
	line-height: 1.5em;
}

a {
	color: #8c8d8c;
}

#main-content {
	margin: 50px;
}

#logo {
	width: 172px;
	height: 82px;
	background: url(../images/logo.png) no-repeat;
	margin-top: 24px;
	margin-left: 50px;
	float: left;
	clear: both;
}

#outer-container
{
	min-width: 1200px;
	margin-top: 30px;
}

#container, #mailing-list-container {
	width: 1064px;
	margin: auto;
	height: 630px;
	background-color: #fff;
	-moz-box-shadow: 0 3px 5px #aaaaaa;
	-webkit-box-shadow: 0 3px 5px #aaaaaa;
	box-shadow: 0 3px 5px #aaaaaa;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#navigation {
	float: right;
	margin-right: 95px;
	margin-top: 49px;
}

#navigation ul {
	list-style: none;
}

#navigation ul li {
	float: left;
	display: block;
	padding: 0px 15px;
	line-height: 1em;
	font-size: 15px;
}

#navigation ul li.active a {
	color: #303130;
	font-weight: bold;
}

#navigation a {
	text-decoration: none;
	color: #d3d5d3;
}

#mailing-list-container {
	height: 58px;
	margin-top: 32px;
	background: url(../images/stripe.png) repeat-x -19px 0 #fffffe;
}

#mailing-list-container .blurb {
	margin-left: 54px;
	color: #686968;
	font-weight: normal;
	font-size: 17px;
	float: left;
	margin-top: 20px;
	font-weight: bold;
}

#mailing-list-container label {
	float: right;
	margin-right: 490px;
	margin-top: 21px;
	color: #686968;
}

#mailing-list-container input {
	float: right;
	margin-right: 215px;
	margin-top: -27px;
	color: #686968;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #e1e1e1;
	height: 28px;
	width: 254px;
	padding-left: 5px;
}

#mailing-list-container input.submit {
	margin: -26px -372px 0 0;	
	width: 94px;
	background-color: #dedbd9;
	font-size: 13px;
	font-weight: bold;
	border-style: solid;
	border-color: #c2c2c2;
	padding-top: 4px;
	height: 30px;

}

#footer {
	color: #9da1a6;
	margin: auto;
	width: 1064px;
	padding-top: 14px;
	padding-left: 7px;
	font-size: 10.5px;
	margin-bottom: 30px;
	
}

#footer .handcrafted {
	margin-left: 10px;
	display: inline;
}

#footer-nav {
	width: 140px;
	margin-right: 30px;
	float: right;
}

#footer .twitter {
	background: url(../images/twitter.png) no-repeat 0px 0;
	width: 19px;
	height: 15px;
	margin-top: -1px;
	float: right;
	margin-right: -160px;
}

#footer-nav ul {
	list-style: none;
	margin: 2px 0 0;
}

#footer-nav ul li {
	float: left;
	display: inline;
	padding: 0px 5px;
	line-height: 1em;
	border-right: 1px solid #999;
}

#footer-nav ul li a {
	color: #9da1a6;
	text-decoration: none;
}

#footer-nav ul li.lastnavoption {
	border-right: none;
}

#divider {
	padding-top: 122px;
	border-bottom: 1px solid #edeeed;
}

#feature-buttons {
	margin-top: 60px;
}

a.button {
	color: white;
	-moz-border-radius: 5px;
	border-radius: 5px;
	box-shadow: 3px 3px 0px #b2b2b2;
	-moz-box-shadow: 3px 3px 0px #b2b2b2;
	-webkit-box-shadow: 3px 3px 0px #b2b2b2;
	text-align: center;
	font: 18px 'PT Sans';
	text-decoration: none;
	margin: 0;
}

a.button.home {
	background-color: #7371c7;
	padding: 8px;
	width: 88px;
	margin-top: -8px;
}

a.button.appstore {
	background: url(../images/dollar.png) no-repeat 10px #353635;
	width: 70px;
	margin-right: 8px;
	font-size: 20px;
	padding: 26px 23px 9px 45px;
}

.purchase {
	margin-top: -40px;
	color: #ffffff;
	font-size: 12px;
	margin-left: 57px;
}

.purchase a {
	color: #ffffff;
	text-decoration: none;
}

a.button.download {
	padding: 18px 25px 15px 45px;
	background: url(../images/download.png) no-repeat 10px #353635;
	width: 100px;
	float: right;
	margin-top: -25px;
	margin-right: 94px;
	font-size: 20px;
}

#download-notes {
	margin-left: 217px;
	margin-top: 44px;
	font-size: 10px;
	color: #8c8d8c;
}

#feature {
	margin: 290px 0 0 60px;
}

#dropzone-icon {
	width: 320px;
	height: 320px;
	background: url(../images/dropzone-feature.png) no-repeat;
	float: right;
	margin-top: 60px;
	margin-right: 100px;
}

#dz-logo {
	width: 279px;
	height: 89px;
	background: url(../images/dz-logo.png) no-repeat;
	float: left;
	margin-top: 110px;
	margin-left: 50px;
	text-indent: -9999px;
}

#dz-intro {
	font-family: 'PT Sans';
	font-size: 21px;
	float: left;
	margin-top: 10px;
	margin-left: 60px;
	color: #363636;
}

.placeholder {
	margin: 50px;
	color: #8c8d8c;
	font-size: 14px;
}

#apps a {
	color: #676767;
}

#tweetifier-app {
	width: 115px;
	height: 115px;
	margin-top: 120px;
	margin-left: 300px;
	padding-top: 120px;
	background: url(../images/tweetifier-app.png) no-repeat;
	padding-left: 0px;
	float: left;
}

#dropzone-app {
	width: 115px;
	height: 115px;
	margin-top: 120px;
	margin-left: 265px;
	padding-top: 120px;
	background: url(../images/dropzone-app.png) no-repeat;
	padding-left: 0px;
	float: left;
}

#support-container {
	margin: 50px;
	position: relative;
	line-height: 10px;
}

#support-icon {
	background: url(../images/dz-support.png) no-repeat;
	width: 130px;
	height: 130px;
  background-size: 100%;
	float: left;
	margin-top: 0;
}

#aptonic-icon {
	background: url(../images/aptonic-icon.png) no-repeat;
	width: 85px;
	height: 148px;
	margin-top: 290px;
	margin-left: 25px;
	float: left;
	clear: both;
}

#support-items {
	margin-left: 195px;
	padding-top: 25px;
}

#aptonic-items {
	margin-left: 195px;
	padding-top: 5px;
	margin-top: 90px;
}

#support-container h2 {
	color: #363636;
	padding-left: 55px;
	font: 700 18px 'PT Sans';
	height: 40px;
	display: inline;
	padding-bottom: 30px;
	padding-top: 1px;
	margin-left: 5px;
	margin-right: 5px;
}

h3 {
	color: #8c8d8c;
	font: normal 15px 'Helvetica Neue', Helvetica, Arial;
	margin: 5px 5px 40px 60px;
}

h4 {
	color: #363636;
	font: bold 18px 'PT Sans';
}

h4.app-select {
	margin-left: 20px;
	margin-top: 10px;
}

h5 {
	color: #8c8d8c;
	font: normal 15px 'Helvetica Neue', Helvetica, Arial;
	line-height: 1.5em;

}

h4.feature {
	font: 24px 'PT Sans';
	font-weight: 700;
}

h4.dz {
	font: normal 25px 'PT Sans';
}

h2.guide {
	background: url(../images/guide.png) no-repeat;
}

h2.extensions {
	background: url(../images/ext-icon.png) no-repeat;
}

h2.license {
	background: url(../images/l-icon.png) no-repeat;
}

h2.email {
	background: url(../images/email-icon.png) no-repeat;
}

h2.forum {
	background: url(../images/forum-icon.png) no-repeat;
}

h2.presskit {
	background: url(../images/press.png) no-repeat;
}

a.support {
	list-style: none;
	text-decoration: none;
}

a.support:hover{
	text-decoration: underline;
	color: #363636;
}

#intro-container {
	margin-top: 40px;

}

#macbook {
	background: url(../images/air.png) no-repeat;
	width: 482px;
	height: 484px;
}

#dz-header {
	background: url(../images/dz-header.png) no-repeat;
	width: 356px;
	height: 63px;
}

#right-intro-container {
	margin-top: -465px;
	margin-left: 500px;
	margin-right: 50px;
	padding: 20px;

}

#left-feature1 {
	padding: 20px;
	margin-top: 75px;
	margin-left: 50px;
	width: 440px;
}

#circles {
	background: url(../images/circles.png) no-repeat;
	width: 158px;
	height: 288px;
	float: right;
	margin-top: 60px;
	margin-right: 120px;
	clear: both;
}

#launch {
	background: url(../images/launch.png) no-repeat;
	width: 413px;
	height: 270px;
	margin-top: 100px;
	margin-left: 50px;

}

#right-feature2 {
	float:right;
	margin-right: 50px;
	width: 440px;
	margin-top: -270px;
}

#extensions1 {
	background: url(../images/extensions1.png) no-repeat;
	width: 137px;
	height: 171px;
	float: right;
	margin-top: 100px;
	margin-right: 370px;
}

#left-feature3 {
	padding: 20px;
	margin-top: 50px;
	margin-left: 50px;
	width: 440px;

}

#press-container {
	background-color: #f1f1f1;
	width: 1064px;
	height: 215px;
	margin-top: 50px;
	-moz-box-shadow:    inset 0 8px 6px -6px #d7d7d7;
	-webkit-box-shadow: inset 0 8px 6px -6px #d7d7d7;
	box-shadow:         inset 0 8px 6px -6px #d7d7d7;
}

#press-container a {
	text-decoration: none;
}

h6 {
	font: 14px 'PT Sans';
	font-weight: 400;
	font-style: italic;
	color: #363636;
}

#tuaw {
	width: 280px;
	margin-left: 60px;
	padding-top: 0;
	float: left;
}

#tuaw .logo {
	background: url(../images/tuaw.png) no-repeat;
	width: 113px;
	height: 60px;
	margin-top: -10px;
}

#macworld {
	width: 280px;
	margin-left: 405px;
	margin-top: -221px;
	float: left;
	padding-top: 31px;
	clear: both;
}

#macworld .logo {
	background: url(../images/macworld.png) no-repeat;
	width: 126px;
	height: 45px;
	margin-top: 74px;
}

#lifehacker {
	width: 280px;
	margin-right: 60px;
	margin-top: -190px;
	float: right;
}

#lifehacker .logo {
	background: url(../images/lifehacker.png) no-repeat;
	width: 127px;
	height: 34px;
	margin-top: 64px;
}

/* @group Aptonic Portfolio Template */

#campaign-tweetifier {
	background: url(../tweetifier/images/campaign.png) no-repeat;
	width: 1064px;
	height: 387px;
}

#overview {
	margin-left: 50px;
	margin-top: 60px;
}

#overview .image {
	background: url(../tweetifier/images/video.png) no-repeat;
	width: 325px;
	height: 176px;
	outline: none;
}

#overview .image:hover {
	background: url(../tweetifier/images/video-hover.png) no-repeat;
	width: 325px;
	height: 176px;
	cursor: pointer;
	outline: none;
}

#overview .content {
	margin-top: -202px;
	margin-left: 380px;
	margin-right: 50px;
}

#tweetifier #appstore {
	background: url(../tweetifier/images/appstore.png) no-repeat;
	width: 275px;
	height: 86px;
	margin-left: auto;
	margin-right: auto;
	clear: both;
	margin-top: 40px;
}

#tweetifier #features{
	width: 1040px;
	text-align: left;
	margin-top: 40px;
	margin-left: 96px;
	margin-right: auto;

}

#tweetifier #leftcolumn {
	float: left;
	width:  38%;
}

#tweetifier #rightcolumn {
	float: left;
	width:  40%;
	margin-left: 80px;
}

#tweetifier h3 {
	margin-bottom: 50px;
	padding-left: 40px;
	background-repeat: no-repeat;
	background-position: 0px 3px;
	margin-left: 0px;
	font-size: 13px;
	line-height: 1.5em;
	font-weight: normal;
	font-style: normal;
	padding-bottom: 20px;
}

#tweetifier h3.alerts {
	background-image: url(../tweetifier/images/bell.png);
	background-size: 25px 23px;
}

#tweetifier h3.count {
	background-image: url(../tweetifier/images/notification.png);
	background-size: 23px 20px;
}

#tweetifier h3.widget {
	background-image: url(../tweetifier/images/widget.png);
	background-size: 23px 22px;
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
}

#tweetifier h3.users {
	background-image: url(../tweetifier/images/users.png);
	background-size: 28px 22px;
}

#tweetifier h3.reply {
	margin-top: -19px;
	background-position: 0 -1px;
	background-image: url(../tweetifier/images/reply.png);
	background-size: 24px 18px;
}

#tweetifier h3.retina {
	background-position: 0 -1px;
	background-image: url(../tweetifier/images/retina.png);
	background-size: 30px 24px;
	padding-bottom: 0;
	margin-bottom: 0;
}

#tweetifier .divider {
	padding-top: 47px;
	border-bottom: 1px solid #edeeed;
	clear: both;
	margin-left: 50px;
	margin-right: 50px;
}

#tweetifier .lower {
	padding-top: 42px;
	margin-bottom: -17px;
}

#tweetifier a.various {
	outline: none;
}

#extensions-container {
	position: relative;
	margin-top: 35px;
	margin-left: 50px;
	margin-right: 50px;
	padding-bottom: 40px;
}

#extensions-container span {
	font-size: 13px;
}

#extensions-container h2 {
	color: #565656;
	font: bold 16px 'PT Sans';
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 2px 0 0;
}

#extensions-container h1 {
	font: bold 18px 'PT Sans';
	color: #3a3a3a;
}

#extensions-container #divider {
	padding-top: 30px;
	margin-bottom: 30px;
}

#extensions-container table.destinations td {
	margin-top: 70px;
	padding-bottom: 5px;
	font-size: 13px;
}

#extensions-container table.destinations td.install {
	padding-top: 4px;
} 

#extensions-container h2.extend {
	color: #3a3a3a;
}

#extensions-container table.destinations a {
	text-decoration: none;
}


/* @end */

div#preloader {
	position: absolute;
	left: -9999px;
	top:  -9999px;
}

div#preloader img {
	display: block;
}

/* @group Guide */

#guide {
	position: relative;
	margin-top: 35px;
	margin-left: 50px;
	margin-right: 50px;
	padding-bottom: 35px;
}
	
#guide p {
	line-height: 1.5em;
}

#guide #divider {
	margin-left: -20px;
	margin-top: 31px;
}

#guide h1 {
	font: bold 18px 'PT Sans';
	color: #3a3a3a;
	margin-bottom: 30px;
}

#guide div#lowernav {
	height: 20px;
	padding-top: 8px;
	margin-right: 0;
	margin-top: 40px;
	margin-left: 0;
}

#guide a {
	text-decoration: none;
	color: #5599ff;
	line-height: 0;
}

#guide p a:hover {
	text-decoration: underline;
}

#guide span.arrow.left {
	position: relative;
	padding-left: 5px;
	font-size: 25px;
	top: 1px;
	padding-right: 5px;
}

#guide span.arrow.right {
	position: relative;
	padding-left: 5px;
	font-size: 25px;
	top: 1px;
}

#guide li {
  font: normal 15px 'Helvetica Neue', Helvetica, Arial;
  margin-top: 15px;
}

div.lowernav.left {
	margin: 0;
	float: left;
	text-align: right;
	padding: 0;
}

div.lowernav.right {
	margin: 0;
	float: right;
	text-align: right;
	margin-right: 1em;
	padding: 0;
}

/* @end */


.install-action-container {
	width: 420px;
	margin-top: 80px;
	margin-right: auto;
	margin-left: auto;
	padding-left: 140px;
}

.install-action-container h2 {
	font-size: 18px;
}

.install-action-container .subtitle {
	font-size: 14px;
	font-weight: 500;
	margin-top: 20px;
}

.install-action-container p {
	font-size: 13px;
}

.install-action-container .icon {
	float: left;
	margin-top: 5px;
	margin-left: -180px;
}

.install-action-container img {
	width: 151px;
	height: 149px;
}

.install-action-container .goback {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color:#ffffff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font: 14px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding: 6px 14px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	margin-top: 5px;
}
.install-action-container .goback:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
	background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
	background-color:#f6f6f6;
}
.install-action-container .goback:active {
	position:relative;
	top:1px;
}

      

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (min--moz-device-pixel-ratio: 1.5),
	only screen and (min-device-pixel-ratio: 1.5) {
    #logo {
        background-image: url(../images/logo@2x.png);
		background-size: 100%;
    }
    
    #dz-logo {
        background-image: url(../images/dz-logo@2x.png);
    	background-size: 100%;
    }
	
    #tuaw .logo {
    	background: url(../images/tuaw@2x.png) no-repeat;
    	background-size: 100%;
    }
    
    #macworld .logo {
    	background: url(../images/macworld@2x.png) no-repeat;
    	background-size: 100%;
    }
    
    #lifehacker .logo {
    	background: url(../images/lifehacker@2x.png) no-repeat;
    	background-size: 100%;
    }
	
	#footer .twitter {
		background: url(../images/twitter@2x.png) no-repeat 0px 0;
    	background-size: 100%;
	}
	
	#mailing-list-container {
		background: url(../images/stripe@2x.png) repeat-x -19px 0 #fffffe;
		background-size: 48px 4px;
	}
 }

/* @end */

/* 
==========================================================================
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.
Theses 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,
(-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;
	}
}
