/* 
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #1D71B8; color: #fff; text-shadow: none; }
::selection { background: #1D71B8; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e;}
a:visited { color: #551a8b; }
a:hover { color:#000; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
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: h5bp.com/j */
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: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 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; }

/*
 * 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; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 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"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

/*table { border-collapse: collapse; border-spacing: 0; }*/
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: JBR
   ========================================================================== */

h1 
{
	color:#000;
	padding:0;
	margin-top:0px;
	margin-bottom:10px;
	border-bottom:1px solid #1D71B8;
	text-transform:uppercase;
	font: bold 1.4em/1.4 'Droid Sans', arial, sans-serif;
	
}
h2,h3 
{
	color:#000;
	text-align:left;
	padding-left:0px;
	padding-right:10px;
	margin:5px 0 5px;
	font: bold 1.2em/ 1.2 'Droid Sans', arial, sans-serif;
}
h4
{
	color:#000;
	font: bold 1.1em/ 1.1 'Droid Sans', arial, sans-serif;
	padding-bottom:0;
	margin-bottom:0;
}
.green
{
	color:#0C3;
}
.orange
{
	color:#F60;
}
.rouge
{
	color:#F00;
}
.bleu
{
	color:#03C;
}
.ui-state-highlight, .ui-state-error
{
	padding: 0 .7em;
	margin-bottom:5px;
}
.ui-state-highlight span,.ui-state-error span
{
	float: left;
	margin-right: .3em;
}


a,a:visited 
{
	 color: #1D71B8;
}
a:hover
{
	text-decoration:none;
}
p strong
{
	color:#000;
}
html,body
{
	background:url(../img/elements/bglines.png);
	background:#ccc;
}
#container
{
	position:relative;
	padding:0;
	max-width:1000px;
	text-align:justify;
	margin:0 auto;
	margin-top:0px;
	margin-bottom:20px;
}
#site 
{
	float:left;
	margin:0px;
	margin-top:5px;
	margin-bottom:30px;
	width:98%;
	padding:1%;
	padding-bottom:0%;
	background-color:#FFF;
}
.admin
{
	float:left;
	width:300px;
	color:#1D71B8;
	font-size:1.3em;
	height:25px;
	margin-left:5px;
	font-weight:bold;
}
header
{
	float:left;
}
header img
{
width:100%;
}
.trait
{
	width:100%;
	background:url(../img/elements/trait-contenu.jpg) repeat-x;
	height:2px;
	margin-top:5px;
	margin-bottom:5px;
	clear:both;
}
#main 
{
	width:100%;
	float:left;
	font-size:1.1em;
	z-index:1;
	margin:0;
	color:#58585a;
	margin-bottom:20px;
}
.contenu-gauche 
{
	float:left;
	width:55.5%;
	margin-left:0px;
	margin-bottom:2%;
	margin-right:1.48%;
	padding:1.5%;
	border:4px solid #706F6F;
}
.contenu-gauche h3,.contenu-gauche h2
{
	margin-top:25px;
	margin-bottom:5px;
	color:#1D71B8;
}
.contenu-gauche h3:first-child
{
	margin-top:5px;
}

.contenu-gauche p img
{
	float:right;
	margin:5px;
}
.droit
{
	float:right;
	width:39%;
}
.contenu-droit 
{
	width:94%;
	float:left;
	padding:3%;
	margin:0;
	background:#E3E3E3 url(../img/elements/fond-h3-droit.png) top left repeat-x;
	margin-bottom:20px;
}
.contenu-droit h3
{
	color:#000;
	padding:0px;
	margin:0px;
	background:url(../img/elements/rond-bleu.png) 0px 16px no-repeat;
	padding-left:10Px;
	padding-top:10px;
	margin-bottom:10px;
	text-transform:uppercase;
}
.contenu-droit h3:first-child
{
	margin-top:0px;
}
.savoir-plus
{
	padding-right:0px;
	text-align:right;
	margin-bottom:0px;
}
p.savoir-plus a
{
	margin-top:15px;
	padding:3px;
	color:#FFF;
	font-size:0.8em;
	background:#000 url(../img/elements/fleche-blanche.png) 2px 7px no-repeat;
	padding-left:12px;
	text-transform:uppercase;
	text-decoration:none;
}
 p.savoir-plus a:hover
{
	color:#000;
	background:#FFF url(../img/elements/fleche-noire.png) 2px 7px no-repeat;
	border:1px solid #000;
}
footer
{
	text-align:center;
	padding-bottom:2Px;
}
footer a
{
	color:#000 !important;
	text-decoration:none;
	text-transform:uppercase;
	border-right:2px solid #1D71B8;
	font-size:0.8em;
	padding-right:5px;
	padding-left:5px;
}
footer a:hover
{
	text-decoration:underline;
}
footer a:last-child
{
	border-right:0px;
}
/* ========================================================================
   Recherche google
========================================================================== */
.gsc-input
{
	padding:2px;
}
.gsc-search-button
{
	padding:2px;
}
/* ========================================================================
   Gestion de la fiche-action
========================================================================== */
.fiche
{
	width:98%;
	padding:0.5%;
	margin:0.5%;
	border:4px solid #706F6F;
	float:left;
	margin-bottom:10px;
	margin-top:10px;
	color:#3C3C3B;
	border-collapse:collapse;
}
.fiche .description
{
	float:left;
	margin:1%;
	width:56%;
	margin-right:0px;
	margin-top:0;
	height:auto;
}
.fiche .description h3
{
	text-transform:uppercase;
	width:96.5%;
	color:#1D71B8;
	border-bottom:1px solid #1D71B8;
	padding-bottom:5px;
}
.fiche .description .contenu
{
	padding-right:2%;
}
.fiche .ressources
{
	float:right;
	width:42%;
	height:100%;
	max-height:100%;
	margin-left:1%;
	background-color:#E3E3E3;
}
.fiche .ressources h3
{
	padding-left:15px;
	padding-bottom:5px;
	color:#000;
	background:url(../img/elements/rond-bleu.png) 5px 8px no-repeat;
	margin-bottom:10px;
}

.fiche .ressources p
{
	margin:0;
	padding-left:10px;
	padding-bottom:10px;
	padding-right:5px;
}
.fiche .ressources a
{
	color:#000;
	text-decoration:none;
	background:url(../img/elements/fleche-bleue.png)5px 5px no-repeat;
	padding-left:17px;
}

.fiche .ressources a:hover
{
	text-decoration:underline;
}
div.fiche div.post-date 
{
	width:100px;
	background-color:#706F6F;
	position: relative;
	float:left;
	padding:0px;
	border:2px solid #706F6F;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
	margin-left:0px;
	margin-bottom:0Px;
	margin-left:-111px;
	margin-top:-9px;
	border-collapse:collapse;
}
div.fiche div.post-date span.month-day 
{
	display: block;
	text-align: center;
	font-size: small;
	font-weight: bold;
	color: #fff;
	padding-top: 4px;
	height:32px;
	vertical-align:bottom;
}
div.fiche div.post-date span.year 
{
	background-color:#FFF;
	display: block;
	text-align: center;
	height:28px;
	padding-top:5px;
	font-size: 1.2em;
	color: #2c2c26;
}
.ressources .ui-icon
{
	display:inline-block;
	vertical-align:middle;
}
.ressources .ui-icon+a
{
	background:none;
	padding-left:0px;
}
/* ========================================================================
   Gestion des listes a puces
========================================================================== */
ul.liste-agenda
{
	margin:0;
	padding:0;
	list-style-type:none;
	margin-bottom:10px;
}
ul.liste-agenda li
{
	margin:0;
	padding:5px;
	border-bottom:1px dotted #999;
	vertical-align:top;
	display:block;
}
ul.liste-agenda li a
{
	text-decoration:none;
	color:#000;
	display:block;
	
}
ul.liste-agenda li a.normal
{
	color:#000;
	display:inline;
	font-weight:normal !important;
}
ul.liste-agenda li:hover
{
	background-color:#F0F0F0;
	cursor:pointer;
}

ul.liste-agenda li.selected
{
	color:#0C0;
	background-color:#F0F0F0;
}
ul.liste-agenda li .infos
{
	width:25%;
	display:inline-block;
}
ul.liste-agenda li .message
{
	width:70%;
	display:inline-block;
	vertical-align:top;
	padding-top:2px;
}

/* ========================================================================
   Gestion du menu principal
========================================================================== */
#top-nav-wrapper 
{
	float:left;
	text-align:left;
	width:99%;
	margin-top:1%;
	margin-left:1%;
	margin-bottom:0.6%;
	font-family:'Helvetica Neue', 'HelveticaNeue', arial, helvetica, sans-serif;
}
#topnav *
{
	z-index:100000;
}
#top-nav-wrapper select
{
	display:none;
}
ul#topnav 
{
	color:#FFF;
	height:20px !important; 
	margin:0px;
	padding:0px;
	float:left;
}
ul#topnav li 
{
	padding:0;
	margin:0;
}
ul#topnav li.home
{
	list-style-type:none;
}
ul#topnav li.facebook
{
	list-style-type:none;
	border-left:2px solid #1D71B8;
	height:20px;
}
ul#topnav li.facebook a
{
	margin-left:2px;
}
#topnav li.first-level
{
	padding:0;
	margin:0;
	height:17px;
	display:block;
	padding-top:3Px;
	border-left:2px solid #1D71B8;
	font-size:0.85em;
}
#topnav li 
{
	float:left;
}
#topnav li.first-level a 
{
	background-color:#000;
	min-height:18px;
	height:18px !important;
	max-height:18px;
	color:#FFF;
	padding:3px;
	margin:2px;
	margin-top:0px;
	margin-bottom:0px;
	text-transform:uppercase;
	font-weight:bold;
	text-decoration:none;
}
#topnav li.first-level a:hover
{
	color:#000;
}
#topnav li.first-level:hover
{
	border-top:3px solid #000;
	border-left:1px solid #E9E9E9;
	border-right:1px solid #E9E9E9;
	display:block;
	background-color:#FFF;
}
#topnav li.first-level:hover a
{
	color:#1D71B8;
	background-color:#FFF;
	padding-top:1px;
}
/* ========================================================================
   Gestion du tableau en page d'accueil
========================================================================== */
.odd 
{
   background:#FFF !important;
}
table.ui-widget 
{ 
	margin: 1em 0; border-collapse: collapse; width: 100%; 
}
table.ui-widget td,table.ui-widget th 
{ 
	border: 1px solid #CCC; padding: .4em; text-align: left; font-weight:normal; 
}
table.ui-widget a
{
	/*width:100%;*/
	display:block;
	margin:2%;
}
.couleurs-actions
{
	text-align:left;
}
.couleurs-actions table.ui-widget td, .couleurs-actions table.ui-widget th
{
	border-color:#CCC;
}
.couleurs-actions table.ui-widget a
{
		/*width:100%;*/
	display:block;
	padding:5%;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	box-shadow: 2px 2px 1px #888;
	-moz-box-shadow: 2px 2px 1px #888;
	-webkit-box-shadow: 2px 2px 1px #888;
	color:#FFF;
	margin:5%;
	margin-left:0;
	margin-right:0;
	text-decoration:none;
	opacity:0.75;
}
.couleurs-actions a,.couleurs-actions table a
{

	color:#FFF;
	padding:5px;
	margin:2px;
	display:inline-block;
	text-decoration:none;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	box-shadow: 2px 2px 1px #888;
	-moz-box-shadow: 2px 2px 1px #888;
	-webkit-box-shadow: 2px 2px 1px #888;
	opacity:0.75;
}
.couleurs-actions table a:hover,.couleurs-actions a:hover
{
	opacity:1;
	box-shadow:#CCC;
	-moz-box-shadow:#CCC;
	-webkit-box-shadow:#CCC;
}
table.ui-widget tfoot td
{
	border-top-color:#1D71B8 !important;
	font-weight:bold;
}
a.comenius
{
	background-color:#D20019 ;
}
a.grundtvig
{
	background-color:#00632E;
}
a.erasmus
{
	background-color:#0093D1 !important;
}
a.leonardo
{
	background-color:#F29400 !important;
}
a.transversal
{
	background-color:#00AE9E !important;
}
a.mundus, a.tempus
{
	background-color:#632181 !important;
}
.button 
{
	background-color:#1D71B8;
}
/* ========================================================================
   Adaptation du formulaire 
========================================================================== */
label
{ 
	display:block; 
}

form p:hover label 
{
	color:#1D71B8;
	font-weight:bold;
}
form input[type="radio"].aveclabel+label
{
	display:inline;
}
label > input:required
{
	font-weight:bold;
}
form input[type="checkbox"].aveclabel+label
{
	display:inline;
}
form input[type="radio"].aveclabel:checked+label
{ 
	color:#1D71B8 !important;
	font-weight: bold !important; 
} 
form input[type="checkbox"].aveclabel:checked+label
{ 
	color:#1D71B8 !important;
	font-weight: bold !important; 
} 

input
{
	vertical-align:top;
}
input.text 
{ 
	margin-bottom:5px; width:95%; padding: .4em; 
}
textarea 
{
	width:95%;
}

input[readonly="readonly"], input.readonly
{
	color:#000 !important;
	background:#ccc !important;
}
/* ========================================================================
   Onglet espace beneficiaire 
========================================================================== */
.contenu-projet h2,.contenu-projet h3
{
	color:#1D71B8;
	font-size:1.3em;
	padding-top:15px;
	padding-bottom:2px;
}
.contenu-projet h3
{
	font-size:1.1em;
}
.contenu-projet ul
{
	margin-top:0px;
	margin-bottom:0px;
}
.contenu-projet li
{
	padding-left:10px;
}
.contenu-projet a
{
	color:#1D71B8 !important;
}
a.lienbeneficiaire
{
	text-decoration:none;
	background:url(../img/elements/fleche-bleue.png)0px 5px no-repeat;
	padding-left:15px;
}
a.lienbeneficiaire:hover
{
	text-decoration:underline;
}
.ui-tabs .ui-tabs-nav li a
{
	padding: .5em .7em !important;
}
.contenu-projet #boutons-submit
{
	float:right;
	margin:10px;
}
/* ========================================================================
   Flexigrid
========================================================================== */
.flexigrid a
{
	text-decoration:none;
	font-weight:bold;
}
.pcontrol
{
	width:auto;
}
.flexigrid div.sDiv /*toolbar*/ {
	position: absolute !important;
	top:0px;
	right:5px;
	background:none !important;
	border:none !important;
	font-size:11px;
	width:500px;
  }
/* ========================================================================
   Fix bug datepicker
========================================================================== */
#ui-datepicker-div { display: none }
/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */
#main,#container
{
	margin-top:0px;
}
#top-nav-wrapper ul
{
	display:none;
}
#top-nav-wrapper select
{
	display: inline-block; 
	font-size:0.9em;
}
h1
{
	font: bold 1.1em/1.1 'Droid Sans', arial, sans-serif;
	margin:0;
	padding:5px;
}
.contenu-gauche
{
	width:96%;
	padding:2%;
	border:0px;

}
.droit
{
	width:96%;
	padding:2%;
}
.fiche .description
{
	width:98%;
	margin:1%;
}
.fiche .ressources
{
	width:98%;
	margin:1%;
}
}

@media only screen and (max-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */
#main,#container
{
	margin-top:0px;
}
#top-nav-wrapper
{
	font-size:0.75em;
}
#top-nav-wrapper ul
{
	display:none;
}
#top-nav-wrapper select
{
	display: inline-block; 
}
h1
{
	font: bold 1.2em/1.2 'Droid Sans', arial, sans-serif;
	padding:5px;
}
.contenu-gauche
{
	width:96%;
	padding:2%;
	border:0px;
}
.droit
{
	width:96%;
	padding:2%;
}
.fiche .description
{
	width:98%;
	margin:1%;
}
.fiche .ressources
{
	width:98%;
	margin:1%;
}
}
@media only screen and (max-width: 900px) {
	#top-nav-wrapper ul
{
	display:none;
}
#top-nav-wrapper select
{
	display: inline-block; 
}
}
@media only screen and (max-width: 1024px) {
#main .trait
{
	display:none;
}
div.fiche
{
	margin-top:25px;
}
div.fiche div.post-date
{
	float:left;
	height:20px;
	width:950px;
	margin-left:0px;
	margin-top:-32px;
	margin-left:-9px;
	background:none;
	border:0px;
}
div.fiche div.post-date span.month-day
{
	background-color:#706F6F;
	float:left;
	height:20px;
	padding-left:10px;
	padding-right:10px;
}
div.fiche div.post-date span.year
{
	float:left;
	height:20px;
	padding:0;
	border:2Px solid #706F6F;
	padding-bottom:2px;
	padding-left:10px;
	padding-right:10px;
	padding-top:0px;
}

}
@media only screen and (min-width: 769px) {
  /* Style adjustments for viewports 768px and over go here */
#container
{
	margin-top:10px;
}
#main
{
	margin-top:5px;
}
.contenu-gauche
{
}
h1
{
	font: bold 1.4em/1.4 'Droid Sans', arial, sans-serif;
}
}
/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* 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; }
}

