/*
Theme Name: GAPA
Theme URI:  http://www.gapa.com.mx
Description: ConsultorÃ­a Ambiental e IngenierÃ­a
Author: ideasw3b
Author URI: http://www.ideasw3b.com
Version: 1.0
Tags: white, fixed-width, custom-header, custom-background

*/

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



/* =============================================================================
	 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:auto; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

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
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


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

a { color: #00e; }
a:visited { color: #036; }
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 { list-style:none !important; margin: 0 0; padding: 0 0 0 0px; }
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; max-width: 100%; height: auto; }


/*
 * 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:
	 ========================================================================== */
/* ===================================================
		Initializr styles
		http://verekia.com/initializr/responsive-template
		Author: Jonathan Verrecchia
	 =================================================== */

html, body { height:100%;}

body {
	background: #fff url('/portal/wp-content/themes/gapa/images/bg_body.png') repeat-y center top;
	font:10px/12px 'Roboto', sans-serif;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
	padding-bottom:0px;
	font-family: 'Fjalla One', sans-serif;
	font-weight: lighter;
	text-transform: uppercase;
	line-height: 1.2em;
}

h2 { font-size:2.667em; }

h3 { font-size:1.6em; }

h4 { font-size:1.4em; }

h5 { font-size:1.2em; }

article { margin-bottom: 10px;}

/* ===================
		ALL: Orange Theme
	 =================== */
#separador{ background:none; float: left; height: 464px;}
/* =Containers
--------------------------------------------------------------------------------*/
#wrap {
		background: url('/portal/wp-content/themes/gapa/images/bg_wrap.png') repeat-y 0 0;
		height: auto !important;
		margin: 0 auto 0 auto;
		min-height: 100%;
		padding: 0;
		position: relative;
		text-align: left;
		width: 1000px;
}


/* =Grid >> Global
--------------------------------------------------------------------------------*/
.g165, .g330, .g495, .g660, .g825, .g990 {
	display: inline;
	float: left;
	margin-left: 10px;
}
@-moz-document url-prefix() {
	.g165, .g330, .g495, .g660, .g825, .g990  {
		 float:none;
		 display: inline-block;
	}
}

/* =Grid >> 6 Columns
--------------------------------------------------------------------------------*/
.g165{width:155px;}
.g330{width:320px;}
.g495{width:485px;}
.g660{width:650px;}
.g825{width:815px;}
.g990{width:980px;}


/* =Grid >> 6 Columns - no left margin
--------------------------------------------------------------------------------*/
.ml165{margin-left:175px;}
.ml330{margin-left:340px;}
.ml495{margin-left:505px;}
.ml660{margin-left:670px;}
.ml825{margin-left:835px;}
.ml990{margin-left:1000px;}


.inside{margin-left: 3px; margin-bottom: 20px; }
/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/
/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content:' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

.more,
.lista_posts .cont_info a.post {
	background: #ccc;
	border-right: 0px solid;
	color: #fff !important;
	display: block;
	font-size: 0.7em;
	margin: 10px 0 0;
	padding: 10px;
	text-align: right;
	text-decoration: none;
	text-transform: uppercase;
}

.lista_posts .cont_info a.post.seguridad-e-higiene  { background: #34CBFF; }
.lista_posts .cont_info a.post.ingenieria { background: #999999; }
.lista_posts .cont_info a.post.medio-ambiente { background: #33CC34; }

.alignright {
	float: right;
}

::-moz-selection { background: #038130; color: #fff; text-shadow: none; }
::selection      { background: #038130; color: #fff; text-shadow: none; }


/* =============================================================================
	 Non-semantic helper classes
	 Please define your styles before this section.
	 ========================================================================== */

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

/* ======================================================================================
	PLANTILLA
 ====================================================================================== */
.content {
		color: #555;
		font-size: 1.6em;
		line-height: 1.2em;
		margin-left: 340px;
		text-align: justify;
}
.content table {
	width: 100%;
	margin-top: 2em;
	border-collapse: collapse;
	border: 1px solid #ccc;
}
.content table th {
	padding: 4px 10px;
	border: 1px solid #ccc;
	background: #eee;
	border-top: 2px solid #333;
	border-bottom: 2px solid #333;
}
.content table td {
	padding: 4px 10px;
	border: 1px solid #ccc;
}

.category-proyectos .content img {position: relative; }
.sidebar {
		color: #fff;
		height: 420px;
		position: fixed;
}
.sidebar header .logo { margin-top:10px;}
.sidebar header .logo a img:hover {
	-webkit-filter: grayscale(0.5);
}
.sidebar nav.mainmenu {
	margin-top: 10px;
}
.sidebar nav.mainmenu h2 {
		display: none;
		visibility: hidden;
}
.sidebar nav.mainmenu li {

}
.sidebar nav.mainmenu li a {
		color:#fff;
		display: block;
		font-family: 'Fjalla One', sans-serif;
		font-size: 4.2em;
		font-weight: 100;
		line-height: 1.2em;
		padding: 5px 20px;
		text-align: right;
		text-decoration: none;
		text-transform: uppercase;
		-webkit-transition: all .3s ease-out;
			 -moz-transition: all .3s ease-out;
			 -o-transition: all .3s ease-out;
			 transition: all .3s ease-out;
}
.sidebar nav.mainmenu li a:hover,
.sidebar nav.mainmenu li.current-menu-item a,
.sidebar nav.mainmenu li.current-menu-parent a,
.sidebar nav.mainmenu li.current-category-ancestor a{
		/*background: #777;*/
		font-weight: 700;
		color: #ccc;
		-moz-transform: scale(1.1);
		 -webkit-transform: scale(1.1);
		 -o-transform: scale(1.1);
		 transform: scale(1.1);
		 -ms-transform: scale(1.1);
		filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand',
			 M11=1.1, M12=-0, M21=0, M22=1.1);
			 }
}

.lista_posts {
	border-bottom: 1px solid;
	padding-bottom: 10px;
}
article.post ul li {
	vertical-align: top;
	padding: 10px;
}

article.post.post-53 ul,
article.post.post-51 ul,
article.post.post-41 ul {
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	background: #efefef;
	-webkit-column-count: 2;
	-webkit-column-gap: 0;
	-moz-column-count: 2;
	-moz-column-gap: 0;
	column-count: 2;
	column-gap: 0;
}
article.post.post-53 ul li {
	background: url('/portal/wp-content/themes/gapa/images/li_hig.png') no-repeat left 5px  transparent;
	min-height: 42px;
	height: auto !important;
	height: 42px;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}
article.post.post-51 ul li {
	background: url('/portal/wp-content/themes/gapa/images/li_ing.png') no-repeat left 5px  transparent;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}
article.post.post-41 ul li {
	background: url('/portal/wp-content/themes/gapa/images/li_ma.png') no-repeat left 5px  transparent;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}
/* Menu Servicios */
.menu-servicios {
	margin:10px 0 20px;
}
.menu-servicios li {
	display: inline-block;
	width: 23.9%;
}
.menu-servicios li a{
	color:#fff;
	display: block;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	text-transform: uppercase;
	padding: 10px 0;
	-webkit-transition: all .3s ease-out;
		 -moz-transition: all .3s ease-out;
		 -o-transition: all .3s ease-out;
		 transition: all .3s ease-out;
}
.menu-servicios li.menu-item-215 a{
	background: #E25801;
}
.menu-servicios li.menu-item-216 a{
	background: #999999;
}
.menu-servicios li.menu-item-219 a{
	background: #33CC34;
}
.menu-servicios li.menu-item-221 a{
	background: #34CBFF;
	font-size: 0.85em;
}
.menu-servicios li a:hover,
.menu-servicios li.current-menu-item a,
.menu-servicios li.current-post-ancestor a{
	background: #ccc;
	color:#777;
	-moz-transform: scale(1.1);
	 -webkit-transform: scale(1.1);
	 -o-transform: scale(1.1);
	 transform: scale(1.1);
	 -ms-transform: scale(1.1);
	filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand',
		 M11=1.1, M12=-0, M21=0, M22=1.1);
}
/* Menu Proyectos */
.menu-proyecto {
	margin:10px 0 20px;
}
.menu-proyecto li {
	display: inline-block;
	width: 32.9%;
}
.menu-proyecto li a{
	color:#fff;
	display: block;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	text-transform: uppercase;
	padding: 10px 0;
	-webkit-transition: all .3s ease-out;
		 -moz-transition: all .3s ease-out;
		 -o-transition: all .3s ease-out;
		 transition: all .3s ease-out;
}
.menu-proyecto li.menu-item-90 a{
	background: #999999;
}
.menu-proyecto li.menu-item-91 a{
	background: #33CC34;
}
.menu-proyecto li.menu-item-92 a{
	background: #34CBFF;
}
.menu-proyecto li a:hover,
.menu-proyecto li.current-menu-item a,
.menu-proyecto li.current-post-ancestor a{
	background: #ccc;
	color:#777;
	-moz-transform: scale(1.1);
	 -webkit-transform: scale(1.1);
	 -o-transform: scale(1.1);
	 transform: scale(1.1);
	 -ms-transform: scale(1.1);
	filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand',
		 M11=1.1, M12=-0, M21=0, M22=1.1);
}

/*inicio del slider */
.sliderhome {
		background: #fae498;
		display:block;
		/*height:240px;*/
		margin:  10px auto 20px;
		padding: 0;
		vertical-align:top;
		width:660px;
}

.flexslider .slides > li { margin-right: 0 !important; }
.flexslider .slides > li .slide-desc {
	position: absolute;
	left: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .6);
}
.flexslider .slides > li h2 {
	color: #fff;
	font-size: 1.4em;
	padding: 10px;

}
.flexslider .slides > li p {
	color: #fff;
	font-size: 0.85em;
	padding: 10px;
}

.home .content article h2 {
	border-bottom: 1px solid #777;
	font-size: 2.667em;
	line-height: 1.2em;
	margin: 0 0 10px;
	padding: 0;
	text-transform: uppercase;
}

.home .content article h3 {
	text-transform: none;
	text-align: center;
	font-size: 1.3em;
}

.titulo1 {
	border-bottom:  1px solid #777;
	margin-bottom: 10px;
}

.footer {
	color: #fff;
	font-size: 1.2em;
	left: 50%;
	line-height: 1.2;
	margin-left: -490px;
	position: fixed;
	top: 460px;
}

.footer .socialmedia {margin-bottom: 10px; text-align: right;}
.footer .socialmedia { margin-right:10px;}
.footer .socialmedia li {
	display: inline-block;
	zoom: 1;
	margin:0 10px 0 0;
}
.footer .socialmedia  li a, footer .socialmedia  li a img {
	display: bolck;
	-webkit-transition: all .3s ease-out;
		 -moz-transition: all .3s ease-out;
		 -o-transition: all .3s ease-out;
		 transition: all .3s ease-out;
}
.footer .socialmedia li  a:hover, .footer .socialmedia li  a:hover img  {
	-moz-transform: scale(0.8);
	 -webkit-transform: scale(0.8);
	 -o-transform: scale(0.8);
	 transform: scale(0.8);
	 -ms-transform: scale(0.8);
	filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand',
		 M11=0.8, M12=-0, M21=0, M22=0.8);
}

.footer article {
	text-align: right;
	padding-right: 20px;
}
/* PAGINA Nosotros
-------------------------------------------------------------- */
body.nosotros section h3 {
	border-bottom: 0px solid;
	margin-bottom: 10px;
	background: #16298E;
	color: #fff;
	padding: 10px;
}

/* CATEGORIA Servicios
-------------------------------------------------------------- */
/*body.category .post-53,
body.category .post-51,
body.category .post-41 {
	right:-1800px;
	position: relative;
}*/
.category-servicios .content {text-align: left;}

.category-servicios .content article {
	display: inline-block;
	margin-right: 44px;
	width: 46%;
	zoom: 1;
	*display: inline;
}
.category-servicios .content article:nth-of-type(2n) {
	margin-right: 0;
}
.category-servicios .content article a { display: block; }
.category-servicios .content article a img { display: block; height: auto; }

/* FORMULARIO de CONTACTO
-------------------------------------------------------------- */
#wpcf7-f23-p6-o1,
.mapa-content {
	display: inline-block;
	vertical-align: top;
}
#wpcf7-f23-p6-o1 form .col2 {
	width: 48%;
	display: inline-block;
	margin: 20px 1.5% 20px 0;
	vertical-align: top;
	zoom: 1;
	*display: inline;
}

#wpcf7-f23-p6-o1 form .col2:last-child { margin-right: 0; }

#wpcf7-f23-p6-o1 form .col2  { margin-bottom: 10px; text-align: center; }
#wpcf7-f23-p6-o1 form .col2  input,
#wpcf7-f23-p6-o1 form .col2  textarea {
	border:1px solid #777;
	color:#ccc;
	margin-bottom: 10px;
	padding: 5px;
	width: 94%;
	max-width: 360px;
}
#wpcf7-f23-p6-o1 form .col2 textarea { height: 128px; }
#wpcf7-f23-p6-o1 form .col2 input[name="Captcha"] { max-width: 287px; }
#wpcf7-f23-p6-o1 form .col2 input[value="Enviar"] {
	background: #00054A;
	color: #fff;
	cursor: pointer;
	width: 100%;
}
#map_canvas { height: 200px;}

.tweets li {
	padding: 0 0 10px 0;
	border-bottom: 1px solid #777;
}
.tweets li a { color:#00054A; text-decoration: none;}

/* MEDIAQUERIES
 ====================================================== */

/* ancho 768px
------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 959px) {
		body { background: #FFF ; }
		#wrap {
				background: #FFF;
				margin: 0 auto;
				padding: 0;
				overflow-x: hidden;
				width: 100%;
		}
		.sidebar {
				background: #232D8A;
				color: #fff;
				height: auto;
				margin: 0;
				position: relative;
				display:block;
				width:100% !important;
		}
		 .sidebar header { display: inline-block; vertical-align: top; width: 50%;}
		 .sidebar nav.mainmenu {
				display: inline-block;
				vertical-align: top;
				width: 48%;
				text-align: center;
		 }
		 .sidebar nav.mainmenu li a {
				font-size: 2.5em;
				text-align: center;
		}

		.content {
				display:block;
				margin-left: 0;
				width: 100%;
		}
		.content .sliderhome { margin-top: 0; width:100%; max-width: 660px; }
		.content article {
				margin-bottom: 20px;
				padding: 0 20px;
		}
		.content article.hm-proyectos .inside {
			margin: 0  0 20px 0;
			text-align: center;
			width: 100%;

		}
		.category-servicios .content article {
			width: 91.6%;
			margin: 0 0 20px;
		}
		.category-servicios .content article .cont_info { margin-top: 10px; }
		.category-servicios .content article .cont_info h3 { margin-bottom: 10px; }

		.menu-servicios li a {
			white-space: nowrap;
			font-size: 0.75em !important;
		}
		.menu-proyecto li {
			display: inline-block;
			width: 31.9%;
		}
		.menu-proyecto li a {
			white-space: nowrap;
			font-size: 0.75em !important;
		}


		.footer{
				background: #232D8A;
				display: block;
				left:auto;
				margin-left:0;
				padding: 10px 0;
				position: relative;
				top:auto;
				width: 100%;
		}

}

/*  ancho 480px
------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 480px) {

}
/*  ancho 320px
------------------------------------------------------------------------------------------- */
 @media only screen and (max-width: 479px) {

 }

/* =============================================================================
	 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: none !important; }
	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; }
}
