

/*
 * I add this to html files generated with pandoc.
 */
html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	color: #444;
	font-family: Palatino, 'Palatino Linotype', Times, 'Times New Roman',
		serif;
	font-size: 18px;
	line-height: 1.5;
	padding: 1em;
	margin: auto;
	max-width: 32em;
	background: #f5f5f9;
	background-image: url('background4.png');
	text-align: center;
}

a {
	color: #0645ad;
	text-decoration: none;
}

a:visited {
	color: #0b0080;
}

a:hover {
	color: #06e;
}

a:active {
	color: #faa700;
}

a:focus {
	outline: thin dotted;
}

*::-moz-selection {
	background: rgba(255, 255, 0, 0.3);
	color: #000;
}

*::selection {
	background: rgba(255, 255, 0, 0.3);
	color: #000;
}

a::-moz-selection {
	background: rgba(255, 255, 0, 0.3);
	color: #0645ad;
}

a::selection {
	background: rgba(255, 255, 0, 0.3);
	color: #0645ad;
}

p {
	margin: 1em 0;
}

img {
	max-width: 100%;
}

input, select {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	resize: vertical;
	font-size: 20px;
}


input[type="number"]::-webkit-inner-spin-button 
{
   opacity: 1 !important;
}


input[type=text], select, textarea {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	resize: vertical;
}


label {
	padding: 12px 12px 12px 0;
	display: inline-block;
}

label.left{
	padding: 12px 0 12px 12px;
}


input[type=submit] {
	background-color: #4CAF50;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

input[type=submit]:disabled {
	background-color: #bbb;
}

input[type=submit].small-submit {
	padding: 6px 10px;
}

input[type=submit].tiny-submit {
	padding: 4px 6px;
	font-size: 18px;
}

input[type=submit].red-submit {
	background-color: #b70000;
}

input.small-nb {
	width: 4.5em;
}

.left-space {
	margin-left: 7px;
}

.red {
	background-color: rgb(245, 200, 200);
}

.blue {
	background-color: rgb(200,200,245);
}

.gray{
	background-color: rgb(215, 215, 215);
}

.gray-text {
	color: #bbb;
}

h1, h2, h3, h4, h5, h6 {
	color: #111;
	line-height: 125%;
	margin-top: 2em;
	font-weight: normal;
	text-align: center;
}

h4, h5, h6 {
	font-weight: bold;
}

h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 0.9em;
}

blockquote {
	color: #666666;
	margin: 0;
	padding-left: 3em;
	border-left: 0.5em #EEE solid;
}

hr {
	display: block;
	height: 4px;
	border: 0;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #eee;
	margin: 1em 0;
	padding: 0;
}

pre, code, kbd, samp {
	color: #000;
	font-family: monospace, monospace;
	_font-family: 'courier new', monospace;
	font-size: 0.98em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

b, strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

ins {
	background: #ff9;
	color: #000;
	text-decoration: none;
}

mark {
	background: #ff0;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

ul, ol {
	margin: 1em 0;
	padding: 0 0 0 2em;
}

li p:last-child {
	margin-bottom: 0;
}

ul ul, ol ol {
	margin: .3em 0;
}

dl {
	margin-bottom: 1em;
}

dt {
	font-weight: bold;
	margin-bottom: .8em;
}

dd {
	margin: 0 0 .8em 2em;
}

dd:last-child {
	margin-bottom: 0;
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
	vertical-align: middle;
}

figure {
	display: block;
	text-align: center;
	margin: 1em 0;
}

figure img {
	border: none;
	margin: 3em auto;
}

figcaption {
	font-size: 0.8em;
	font-style: italic;
	margin: 0 0 .8em;
}

table {
	margin-bottom: 2em;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-spacing: 0;
	border-collapse: collapse;
}

table th {
	padding: .2em 1em;
	background-color: #eee;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

table td {
	padding: .2em 1em;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

table td.centered {
	text-align: center;
}

table td.righted {
	text-align: right;
}

table.stretch {
	width: 100%;
}

table td.stretch {
	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.intable-form {
	margin-bottom: 0;
	display: inline-block;
	text-align: center;
}

.author {
	font-size: 1.2em;
	text-align: center;
}

div.tip {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: #fffbea;
	border: solid 1px #f1c40f;
	border-bottom-color: #ffd700;
	border-radius: 6px;
	line-height: 18px;
	overflow: hidden;
	padding: 12px;
}

div.right {
	text-align: right;
}

div.left {
	text-align: left;
	float: left;
}

.tiny-text {
	font-size: 12px;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
  }

@media only screen and (min-width: 480px) {
	body {
		font-size: 14px;
	}
}

@media only screen and (min-width: 768px) {
	body {
		font-size: 18px;
	}
}

@media print {
	* {
		background: transparent !important;
		color: black !important;
		filter: none !important;
		-ms-filter: none !important;
	}
	body {
		font-size: 12pt;
		max-width: 100%;
	}
	a, a:visited {
		text-decoration: underline;
	}
	hr {
		height: 1px;
		border: 0;
		border-bottom: 1px solid black;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}
	pre, blockquote {
		border: 1px solid #999;
		padding-right: 1em;
		page-break-inside: avoid;
	}
	tr, img {
		page-break-inside: avoid;
		vertical-align: middle;
	}
	img {
		max-width: 100% !important;
	}
	@page :left {
		margin: 15mm 20mm 15mm 10mm;
	}
	@page :right {
		margin: 15mm 10mm 15mm 20mm;
	}
	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	h2, h3 {
		page-break-after: avoid;
	}

}

.container .gallery a img {
	float: left;
	width: 24%;
	height: auto;
	border: 2px solid #fff;
	-webkit-transition: -webkit-transform .15s ease;
	-moz-transition: -moz-transform .15s ease;
	-o-transition: -o-transform .15s ease;
	-ms-transition: -ms-transform .15s ease;
	transition: transform .15s ease;
	position: relative;
  }
  
  .container .gallery a:hover img {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
	z-index: 5;
  }
  
  .clear {
	clear: both;
	float: none;
	width: 100%;
  }

  .cryptedmail:after {
	content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); 
  }