/*
ARGEO docbook styles
last revision : July 31th,2020
*/

html{
}

body{
margin:0;
padding:0;
font-family:"merienda",sans-serif;
background-color:#fff;
/* colors */
--primary-title:#00294b;
--secundary-title:#ff8d1f;
--argeo-light:#f5702e;
--argeo-night:#00192c;
--light-text:#ddd;
}

/* 
generic elements 
*/

hr {display:none;}
a{color:inherit;text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%!important;}

/*
navigation 
*/

.navheader, .navfooter{color:white;background-color:var(--argeo-night);padding:.5em 1em;}
.navheader {margin-bottom:3rem;}
.navfooter{margin-top:4.5rem;}
th,td{vertical-align:middle;letter-spacing:.5px;}
table tr:nth-child(1) th{font-size:1.5rem;}
table tr:nth-child(2) th{color:var(--light-text);}


/*
main content
*/

.book, .chapter, .section {max-width:1024px;margin:auto;}

@media all and (max-width:1050px) {
	.book, .chapter, .navheader + .section{padding-left:1rem;padding-right:1rem;}
}


h1,h2{color:var(--primary-title);}
h3{color:var(--secundary-title);}

h1{font-size:2.5rem;}
h2{font-size:1.75rem;}
pre.screen{padding:1rem; color:white; background-color:#333;border-radius:0.5em;font-size:1.1em;white-space:pre-wrap;}
code.filename{background-color:var(--light-text);display:inline-block;padding:.5em;margin:0 .5em;position:relative;top:-1px;}

/*
toc
*/

div.toc>p{color:white;background-color:var(--primary-title);padding:.75em 1em;margin:0;}
dl.toc{padding:1em;border:1px solid #333;margin-top:0;background-color:var(--light-text);}
dl.toc dt{padding-bottom:.25em;}


/*
title page
*/

.book h1.title{color:var(--argeo-night);font-weight:normal;font-size:4.5rem;letter-spacing:1px;text-align:center;margin-top:5rem;}
.book h2.subtitle{max-width:700px;margin:auto;color:var(--primary-title);font-size:1.75rem;font-weight:normal;text-align:center;margin-bottom:5rem;}
.book h3{text-align:center;font-size:1rem;}
.book h3:before{
	content:"Redacted by : "
}
.book p.pubdate{color:var(--secundary-title);font-weight:bold;text-align:center;}
.book p.pubdate:before{
	content:"Last revision : ";
}
.book div.toc{margin-top:3rem;}

/*
article
*/

.article {/*max-width:1024px;margin:auto;*/padding-bottom:3rem;color:#333;}

.article > div.titlepage {
	padding:0.75rem 1.5rem 1.25rem 1.5rem;;
	margin-bottom:3rem;
	background-color:rgb(245,245,245);
/*	background:linear-gradient(to top, var(--primary-title),var(--argeo-night));*/
}

.article h2.title {max-width:1024px;margin:auto;color:var(--primary-title);font-size:3rem;margin-top:0.5rem;margin-bottom:0;font-weight:normal;}

.article h3.subtitle{max-width:1024px;margin:auto;font-weight:normal;font-size:1.5rem;margin-top:.5rem;margin-bottom:.5rem;left:-3rem;font-variant:small-caps;color:var(--primary-title);padding-left:1rem;}

.article p {text-indent:1.5rem;max-width:1024px;margin:auto;line-height:1.35em;margin-top:0;margin-bottom:1.35em;padding-left:1rem;}

.article .section div.titlepage{}

.article .section p {text-indent:0;padding-left:0;}

.article .section h2.title{
	font-size:2rem;
	text-align:left;
	letter-spacing:1px;
	color:var(--argeo-night);
	border-left:1rem solid var(--primary-title);
	margin:1.85rem 0 1.35rem 0;
	font-variant:small-caps;
	padding:.75rem 2rem;
	background-color:rgb(245,245,245);
	display:block;
}

.article .section h2.title a{display:none;}
.article .section p{display:inline-block;}
.article .section div.itemizedlist {display:inline-block}


.article .section .section{}
.article .section .section h3{margin-left:1rem;margin-top:0;margin-bottom:0.35rem;padding:.5rem 1rem .5rem 1rem;display:block;}

.article .section .section h3{color:rgb(250,250,250);background:linear-gradient(to right,var(--primary-title),var(--light-text));font-weight:normal;letter-spacing:.5px;}

.article .section .section h3 a{display:none;}
.article .section .section > p {background-color:white;margin-left:3rem;font-style:italic;}
.article .section .section .section > p {/*background-color:orange;*/margin-left:0;font-style:normal;letter-spacing:0;}

.article .section .section .section{margin-left:2rem;}
.article .section .section .section h4 a{display:none;}
.article .section .section .section h4{margin:0;}
.article .section .section .section h4,.article .section .section .section p{padding-left:1rem;}
.article .section .section .section ul.itemizedlist{padding-left:1rem;}

.article .section .section p{margin-bottom:0;}
.article .section .section ul.itemizedlist{margin-top:0;}
.article .section .section ul.itemizedlist li{list-style:none;display:inline-block;}
.article .section .section ul.itemizedlist li p{padding-left:0;margin-left:0;margin-right:1rem;}

.article .section strong{color:var(--primary-title);font-size:1.17em;font-weight:normal;font-variant:small-caps}
.article .section a{color:var(--secundary-title);font-weight:bold;letter-spacing:.5px;text-decoration:none;display:inline-block;padding:0rem .5rem;font-size:1em;font-weight:normal;font-variant:small-caps;border:1px solid var(--secundary-title)}
.article .section a:hover{cursor:pointer;color:white;background-color:var(--secundary-title)}
.article .section ul{margin-bottom:1.5rem;}
.article .section ul li p{margin:.5rem auto;padding-left:1rem;}


.article .mediaobject{/*width:70%;float:right;margin-left:30px;margin-bottom:30px;*/}
.article .mediaobject table img{width:100%;max-width:800px;margin:auto;}
.article .mediaobject + p{
	display:block;
	line-height:1.85em;
	box-sizing:border-box;
	font-size:1.15em;
}

.article .section .qandaset table{margin-left:2rem;}
.article .section .qandaset a{letter-spacing:0;color:var(--primary-title);text-decoration:none;}
.article .section .qandaset a:hover{text-decoration:underline;background-color:var(--light-text);}
.article .section .qandaset > dl{background-color:rgb(245,245,245);padding:1rem;box-sizing:border-box;/*width:30%;float:left;*/}
.article .section .qandaset dl{margin:0;}
.article .section .qandaset dl dt{margin-left:0;padding-left:0;margin-bottom:.5rem;}
.article .section .qandaset dl dd{margin-left:1rem;}

.article .qandaset table{width:auto!important;}
.article .qandaset table{max-width:910px;}
.article .qandaset a{font-variant: normal;border:none;}
.article .qandaset table td{vertical-align:bottom;}
.article .qandaset table td p{margin-bottom:0;}
.article .qandaset table td h4{margin-top:1.5rem;margin-bottom:0.75rem;color:var(--primary-title);font-size:1.5rem;}
.article .qandaset table tr.question td,.article .qandaset table tr.answer td {position:relative;left:50px;}
.article .qandaset table tr.question{}
.article .qandaset table tr.question td{color:var(--primary-title);font-weight:bold;font-style:italic;letter-spacing:0;padding-top:.75rem;}
/*.article .qandaset table tr.question td:nth-child(2){padding-left:.5em;border-bottom:1px solid var(--argeo-night);}
.article .qandaset table tr.answer td:nth-child(2){padding-left:.5em;}*/
.article .qandaset table tr.answer td{padding-top:.5rem;}
