/*
 * Fonts
 */

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: local('Lato Regular'), local('Lato-Regular'), url(fonts/Lato-Regular.woff2) format('woff2'), url(fonts/Lato-Regular.ttf) format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: local('Lato Bold'), local('Lato-Bold'), url(fonts/Lato-Bold.woff2) format('woff2'), url(fonts/Lato-Bold.ttf) format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: italic;
	font-weight: 400;
	src: local('Lato Italic'), local('Lato-Italic'), url(fonts/Lato-Italic.woff2) format('woff2'), url(fonts/Lato-Italic.ttf) format('truetype');
}

body {
    font-family: "Lato", "Helvetica Neue", Helvetica, sans-serif;
}

.langs {
    float: right;
}
.langs > a {
    margin: 0 1ex;
}

.hors-ecran {
    position: absolute;
    left: -200%;
}

/*
 * Layout
 */

.wrap {
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* default (off), on small screens */
#layout-wrapper {
    display: flex;
	flex-direction: row;
    flex: 1;
}
#layout-sidebar-left .layout-sidebar {
    width: 176px;
    margin-left: 2px;
}
#layout-sidebar-left {
    flex: 0 1 176px;
    order: 1;

    margin-left: 4px;
    margin-top: 4px;
    background-color: #D0D0D0; /* #B5B7B8; */
}
#layout-sidebar-right {
    flex: 0 1 220px;
    order: 3;

    display: none; /* off by default */
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    z-index: 1000;
    overflow-x: hidden;
}
#layout-sidebar-right .nav-header {
    padding-left: 1ex;
}
#layout-content {
    flex: 4;
    order: 2;
}
#layout-content .container-fluid {
    max-width: 140ex;
    margin-left: 0;
}
.action-monde #layout-content .container-fluid,
.route-traite-carte-synthese #layout-content .container-fluid,
.route-traite-carte #layout-content .container-fluid,
.route-international-executions-mineurs #layout-content .container-fluid
{
    max-width: none;
}

.apropos p { text-align: justify; }
#toggle-right-sidebar {
    float: right;
    position: relative;
    z-index: 31;
    margin-left: 1ex;
}
.show-right-sidebar #layout-sidebar-right {
    display: block;
}

.fold-next-block {
    display: none;
    padding: 0;
    margin: 0;
}
.fold-next-block label {
    font-size: 20px;
    margin: 0; 
    padding: 4px 8px 2px;
}
@media(max-width:767px) {
    /* fold the left sidebar */
    .fold-next-block input {
        display: none;
    }
    .fold-next-block {
        display: block;
        text-align: right;
    }
    .fold-next-block + * {
        display: none;
    }
    .fold-next-block:has(input:checked) + * {
        display: block;
    }
    /* sidebars are merged into the single column */
    #layout-wrapper {
        flex-direction: column;
    }
    #layout-sidebar-left,
    #layout-sidebar-right {
        flex: 1;
        display: block;
        z-index: 15;
    }
    #layout-sidebar-right {
        padding-top: 20px;
        border-top: 1px solid #ddd;
        border-left: 0;
    }
    #layout-sidebar-left .layout-sidebar {
        position: inherit;
        width: 100%;
    }
    #toggle-right-sidebar {
        display: none;
    }
}
@media(min-width:1100px) {
    /* right-sidebar is on */
    #layout-sidebar-right {
        display: block;
    }
    .layout-sidebar {
    }
    #toggle-right-sidebar {
        display: none;
    }
    #layout-content .container-fluid {
        min-height: 62ex;
    }
}

#layout-sidebar-left select {
    position: relative;
    display: block;
    padding: 5px 0px 5px 0;
    width: 153px;
}
#layout-sidebar-right select {
    position: relative;
    display: block;
    padding: 5px 0px 5px 0;
    width: 193px;
}

footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    font-size: 12px;
    text-align: center;
}
footer ul {
    margin: 0;
    padding: 0;
}
footer li {
    list-style: none;
    display: inline-block;
    padding: 0 2ex;
}

.layout-sidebar .nav > li > a {
    padding-top: 6px;
    padding-bottom: 6px;
}
.layout-sidebar a {
    color: #2a5c88;
}

#sommaire .nav > li.theme > a {
    padding-top: 4px;
    padding-bottom: 4px;
}
#sommaire > .nav + ul.nav {
    margin-top: 3ex;
}

.page-normale .container-fluid > h2:first-of-type,
.page-normale section:first-of-type > h2:first-of-type
{
    margin-top: 0;
}

/*
 * accueil = site/index
 */
.page-accueil header {
    position: absolute;
    background-image: url("/images/frise.png");
    background-repeat: repeat-x;
    height: 150px;
    width: 100%;
    margin-top: 4px;
    z-index: 2000;
    overflow-x: hidden;
}
.page-accueil header h1 {
    position: relative;
    left: 156px;
    top: 42px;
}
.page-accueil #layout-content {
    padding-top: 150px;
}
.page-accueil #layout-sidebar-right {
    border-top: none;
    margin-top: 0px;
}

.page-normale h1,
.page-accueil h2 {
    display: inline-block;
    background-image: url("/images/fond-gris.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-position-x: 10px;
    padding: 6px 22px 10px 56px;
    position: relative;
    z-index: 21;
}
.page-accueil h2 {
    margin-left: -40px;
    padding-left: 40px;
}
.puces-h3 h3 {
    text-indent: -23px;
}
.puces-h3 h3:before {
    content: url("/images/point-rouge.png");
    padding-right: 7px;
}

.derniers .minicarte {
    margin-left: -20px;
    margin-right: 20px;
}
.sommaire .minicarte {
    margin-top: 10px;
    text-align: center;
}

@media(min-width:768px) {
    .sommaire .minicarte {
        margin-top: 216px;
    }
    .page-accueil #layout-sidebar-right {
        padding-top: 150px;
    }
    .derniers {
		display: flex;
		align-items: center;
		padding: 1ex 2ex 0 2ex;
		margin: 0 2ex 1ex 0;
    }
    .derniers > ul {
        display: inline-block;
    }
    .derniers.sans-titre > ul {
        margin-left: 156px;
    }
    .derniers > div {
        width: 156px;
        min-width: 156px;
        flex-basis: 156px;
    }
    td.date-fr {
        white-space: pre;
    }
}
@media(max-width:767px) {
	.derniers .bloc-biseau:before,
	.derniers .bloc-biseau:after {
		content: "";
		height: 0;
	}
    .derniers + .derniers {
        margin-top: 2ex;
    }
}
.derniers > div {
    display: flex;
    padding: 0ex 0ex 0ex 2ex;
    margin-top: -1ex;
    margin-right: 0ex;
}
.derniers h4 {
	font-size: 16px;
	padding-right: 16px;
}
.derniers > ul {
	margin: 0;
}
.derniers > ul li {
    margin-bottom: 3px;
	line-height: 26px;
}
.derniers.sans-titre {
    margin-bottom: 0;
}
.derniers.sans-titre > ul {
    margin-bottom: 0;
}

h3 {
    margin-top: 17px;
}

#executions-decompte {
    display: inline-block;
    margin-top: 145px;
    width: 160px;
    text-align: center;
    color: black;
}
#executions-decompte a {
    color: #5050E0;
}
.counter b {
    font-size: 16px;
    font-family: monospace;
    color: white;
    background-color: #101010;
    padding: 2px 5px;
    margin: 0 1px;
}

#layout-sidebar-left .bottom {
    margin-top: 15ex;
}
#layout-sidebar-left .bottom > .share-global {
    margin-top: 2ex;
    padding: 1px 1ex 2px 2ex;
}
.share-global img {
    border: 0;
    max-width: 18px;
}

.page-accueil .layout-sidebar {
    margin-top: 265px;
}
.layout-sidebar .anniversaire {
    display: block;
    width: 160px;
    height: 150px;
    color: #202020;
}
.layout-sidebar .anniversaire strong {
    font-size: 16px;
}
.layout-sidebar .anniversaire p {
    color: #404040;
    margin: 0 1ex;
    font-size: 13px;
}
@media(max-width:992px) {
    /* smaller title */
    .page-accueil header {
        position: inherit;
        background-size: 1300px;
        height: 100px;
    }
    .page-accueil header h1 {
        position: relative;
        left: 130px;
        top: 32px;
    }
    .page-accueil header h1 img {
        max-width: 92vw;
        height: auto;
        width: auto;
        max-height: 40px;
    }
    .page-accueil #layout-content {
        padding-top: 120px;
    }
}
@media(max-width:767px) {
    #layout-sidebar-left .bottom {
        margin-top: 3ex;
        text-align: right;
    }
    #layout-sidebar-left .bottom > .nav-stacked > li {
        display: inline-block;
    }
    .page-accueil header h1 {
        left: 20px;
    }
    .page-accueil #layout-content {
        padding-top: 20px;
    }
    .page-accueil #layout-sidebar-left {
        order: 3;
        text-align: center;
    }
    .page-accueil #layout-sidebar-left .layout-sidebar {
        display: flex;
        flex-direction: column;
        margin-top: 15px;
    }
    .layout-sidebar .anniversaire {
        width: auto;
        height: auto;
        text-align: center;
    }
    #executions-decompte {
        order: -1;
        width: auto;
        margin-top: 0;
        margin-bottom: 25px;
    }
}

/**
 * default layout
 */
.frise-courte {
    position: absolute;
    width: 100%;
    height: 110px;
    z-index: 10;
}
header img {
	max-height: 110px;
}
.page-normale header {
    position: relative;
    min-height: 110px;
    left: 0;
    right: 0;
    z-index: 11;
}
.page-normale header h1 {
    display: inline-block;
    margin: 20px 90px 12px 130px;
}
header .logo {
    position: relative;
    float: right;
    top: 0px;
    z-index: 20;
}
@media(max-width:767px) {
    .page-normale header h1 {
        padding: 6px 10px;
        margin: 0 0 12px 40px;
    }
    .page-normale #layout-content {
        padding-top: 30px;
    }
}
@media(min-width:768px) {
    .page-normale #layout-sidebar-left {
        margin-top: -310px;
        padding-top: 320px;
    }
}
@media(min-width:1100px) {
    /* right-sidebar is on */
    .page-normale header h1 {
        margin-right: 265px;
    }
    header .logo {
        position: absolute;
        top: 0px;
        right: 10px;
        line-height: 50px;
    }
}

.page-normale h2 {
    vertical-align: middle;
    text-indent: -43px;
}
.page-normale h2:before {
    padding-right: 4px;
    vertical-align: middle;
    position: relative;
    top: 4px;
    z-index: 21;
}
.page-normale h2:before {
    content: url("/images/puce.png");
    vertical-align: sub;
}
.statut-pdm.statut-pdm-A h2:before {
    content: url("/images/puce_A.png");
}
.statut-pdm.statut-pdm-AC h2:before {
    content: url("/images/puce_AC.png");
}
.statut-pdm.statut-pdm-E h2:before {
    content: url("/images/puce_E.png");
}
.statut-pdm.statut-pdm-P h2:before {
    content: url("/images/puce_P.png");
}

/**
 * layout for document/view
 */
.page-document header {
    background-image: url("/images/frise.png");
    background-repeat: repeat-x;
    left: 0;
    right: 0;
    height: 110px;
    z-index: 11;
}

.page-document h1 {
    font-size: 22px;
    color: #CC0033;
    text-align: center;
    margin-left: 1ex;
    margin-right: 1ex;
}

.page-document #layout-sidebar-right {
    padding-top: 1em;
}

h4 {
    font-weight: bold;
}

.page-document .document-zonegeos {
    float: right;
}
.page-document .document-themes {
    float: left;
}

.page-document h1 {
    color: #CC0033;
}
.page-document .document-attributes,
.page-document .document-liens {
    margin-left: 1ex;
}
.page-document .document-attributes .reference {
    font-weight: bold;
}

.document-liens .documents > ul > li {
    background: url(/images/point-rouge.png) no-repeat left 3px;
    list-style: none;
    padding-left: 20px;
}


/**
 * misc
 */
nav#main-menu {
    text-align: right;
}
nav#main-menu li {
    list-style: none;
}
.nav > li.nav-header > a {
    padding-left: 0;
}

.pagination-size {
    float: right;
}

.share img {
    width: 20px;
    height: 20px;
}
.share a {
    margin-right: 3ex;
}

td.date {
    white-space: nowrap;
    text-align: right;
}
.table td.date {
    text-align: left;
}

.documents > ul li {
    padding: 2px 0;
}
div + .documents {
    margin-top: 1ex;
}

.documents > table {
    width: 100%;
    margin-bottom: 12px;
}
.documents > table th,
.documents > table td {
    padding: 4px;
    vertical-align: top;
}
.documents > table tr:hover {
    background-color: #f5f5f5;
}
#depeches .documents > table {
    clear: right;
    width: auto;
}
#depeches .documents > table td.date {
    padding-left: 3ex;
}
ul .documents {
    margin-top: 0;
    border-left: 6px solid #ECECED;
    padding-left: 1ex;
}

table.condamnes li.document-actu {
    color: #A03030;
    list-style-type: circle;
}

#doc-container {
    /*
    TODO max width / screen-width
    */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.doc-container .categorie {
    margin-left: 1ex;
}

.document-listdetails h3 {
    margin-bottom: 0;
}
.document-details > div {
    margin-top: 0.5em;
}
.document-meta,
.document-rectificatif {
    background-color: #f4f4f4;
    max-width: 100ex;
    padding: 2px 1ex 2px 4px;
}
.document-rectificatif {
    margin-top: 1ex;
    max-width: 90ex;
}
.document-rectificatif > div:first-child {
    font-family: serif;
    text-align: right;
}
.document-meta .document-themes > div {
    display: inline;
}
.document-themes .caption,
.document-zonegeos .caption {
    display: inline;
}
.document-meta .caption {
    display: inline;
    font-variant: small-caps;
}
.document-zonegeos ul,
.document-meta ul {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 13px;
}
.document-zonegeos ul li,
.document-meta li {
    display: inline;
    list-style: none;
    margin-left: 1.5ex;
    padding: 2px 3px;
}
.document-zonegeos a {
    background: transparent;
    color: #CC0033;
    text-decoration: underline;
}
.document-details .document-contenu {
    padding: 1ex 1ex 1ex 5ex;
}
@media(min-width:1100px) {
    .document-details .document-contenu {
        padding: 1ex 6ex 1ex;
    }
    .document-rectificatif {
        margin-right: -5ex;
    }
}
#document-rectificatif > div {
    margin-left: 2ex;
}

span.puce-pdm {
    padding: 0px 9px;
    position: relative;
    font-size: 12px;
    margin-right: 10px;
    border-radius: 4px;
}
.statut-pdm-A span.puce-pdm {
    background-color: #3564B5;
}
.statut-pdm-AC span.puce-pdm {
    background-color: #209164;
}
.statut-pdm-P span.puce-pdm {
    background-color: #ED7C2B;
}
.statut-pdm-E span.puce-pdm {
    background-color: #BD1B06;
}
td span.puce-pdm {
    float: right;
}

.statut-pdm-AC .statut-pdm,
.statut-pdm-AC .date-derniere-execution {
    color: #209164;
}
.statut-pdm-P .statut-pdm,
.statut-pdm-P .date-derniere-execution {
    color: #ED7C2B;
}
.statut-pdm-E .statut-pdm,
.statut-pdm-E .date-derniere-execution {
    color: #BD1B06;
}

dt {
    font-weight: bold;
}

tfoot td {
    font-weight: bold;
}

header .categorie {
    font-weight: bold;
    margin-left: 20%;
}
header .categorie a {
    font-size: 18px;
    text-decoration: none;
    color: inherit;
}

.document-sep:before {
    background: url("/images/grand_pave_gris_haut.png") no-repeat;
    content: "";
    display: block;
    height: 49px;
    margin: -2px -12px 0 -60px;
    padding: 0;
    background-color: white;
}
.document-sep:after {
    background: url("/images/grand_pave_gris_bas.png") no-repeat;
    background-position: 50% 100%;
    content: "";
    display: block;
    height: 49px;
    margin: 0 -12px 0 -60px;
    padding: 0;
    background-color: white;
}
.document-main {
    max-width: 100ex;
    margin: 0 auto;
}
.document-contenu {
    clear: left;
    text-align: justify;
    padding: 2px 6px;
    background-color: #ECECED;
    font-family: sans-serif;
    max-width: 110ex;
    padding: 0 12px 0 60px;
}
.page-document .document-contenu {
    font-size: 16px;
}
@media(max-width:767px) {
    .document-contenu {
        padding-left: 12px;
    }
}

#points-marquants .document-contenu {
    padding: 0 12px 0 12px;
    margin-left: 26px;
    background-color: inherit;
    border-left: 6px solid #ECECED;
}

.source,
.copyright {
    text-align: right;
}
.copyright-authors {
    background: url("/images/fond_gris_centre.png") repeat-x;
    background-color: white;
    text-align: right;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
}
.copyright-authors:before {
    background: url("/images/fond_gris_g1.png") no-repeat transparent;
    background-color: white;
    display: inline-block;
    content: "";
    width: 35px;
    height: 36px;
    padding: 6px 0;
    margin: -6px -3px 0 0;
    vertical-align: middle;
    border: 0;
}
.copyright-authors:after {
    background: url("/images/fond_gris_d1.png") 0% 50% no-repeat transparent;
    background-color: white;
    display: inline-block;
    content: "";
    width: 36px;
    height: 34px;
    padding: 0 0 3px 0;
    margin: 0 0 0 0;
    vertical-align: middle;
}
.copyright ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.copyright li {
    display: inline;
    list-style: none;
    margin-left: 1.5ex;
    padding: 2px 4px;
}

.signataire {
    font-style: italic;
    padding: 10px 12px 10px 60px;
}

.condamne-detail {
}

.condamnes td {
    padding: 5px 5px 3px 5px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}
.condamnes tr.suppl td {
    padding-top: 0;
    border-top: 0;
}
.condamnes tr.suppl ul {
    border-left: 6px solid #ECECED;
}

.condamne .methode {
    font-style: italic;
}
.condamne > span {
    white-space: normal;
}
.condamne .glyphicon {
    padding-left: 2px;
    margin-right: 8px;
    color: #909090;
    font-size: 9px;
}

.todo {
    background-color: yellow;
}
.todo:before {
    content: "(\c0  FAIRE) ";
}
.done {
	background-color: #d0ffd0;
}
.done:before {
    content: "(FAIT) ";
}

.nvtooltip a {
    pointer-events: auto;
}

#traite-search-form fieldset {
	display: inline-block;
    vertical-align: top;
    margin-right: 6ex;
}
#traite-search-form fieldset label {
	display: block;
}

dl.pays-dates > dd {
    margin-left: 3ex;
    white-space: pre;
}

td.date {
    text-align: right;
}

#abolitions-historique figcaption {
    font-weight: bold;
}
#abolitions-tooltip > div {
    padding: 2px 3px;
}
#abolitions-tooltip > div + div {
    margin-top: 1ex;
}

/* Yii2's advanced template application */

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

nav ul.annees {
    padding: 0;
    margin: 0;
    text-align: center;
}
nav ul.annees li {
    list-style: none;
    display: inline-block;
    padding: 1px 2px;
    margin: 0px 2px;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

.nav > li > form > button:hover {
    text-decoration: none;
}

tr.document-actu > td:first-child {
	border-left: 4px solid #A03030;
}
tr.document-actu > td:last-child {
	border-right: 4px solid #A03030;
}

.liste-pays li {
    display: inline-block;
    list-style: none;
    margin-right: 2ex;
}
.liste-pays li > a {
    white-space: pre;
}

.signature-seule td {
    font-style: italic;
}

sup.reserve {
    color: #A00000;
}

.nav-subnav {
    margin-left: 1.2em;
}
.nav > li.nav-header {
    color: #505050;
    font-size: 110%;
    font-weight: bold;
    text-transform: uppercase;
}

#executions-themes {
    line-height: 2.0;
}
#executions-themes > li {
    margin-bottom: 1em;
    list-style: none;
}
.label.label-execution {
    color: inherit;
    font-weight: normal;
    padding: 3px 6px 4px;
    border: 1px solid #a0a0a0;
    border-radius: 4px;
    margin-right: 6px;
}
a.label.label-execution:active,
a.label.label-execution:focus,
a.label.label-execution:hover {
    color: #404040;
    background-color: #F0F0F0;
}
.label-execution .badge {
    display: inline;
    font-weight: normal;
    background-color: #ebebeb;
    color: #404040;
    padding: 1px 6px;
    vertical-align: middle;
}

#layout-sidebar-left .nav {
    font-size: 90%;
}
.nav > li.annee {
    display: inline-block;
}
.nav > li.annee > a {
    padding: 3px 9px;
}

td.date.adhesion {
    font-weight: bold;
}

#der-point-marquant {
    float: right;
    max-width: 22ex;
    margin-left: 5%;
    margin-right: 5%;
}

.bloc-biseau > h4,
.bloc-biseau > div {
    background-color: #ECECED;
    padding: 4px 6px;
    margin: 0;
}
.bloc-biseau a {
    color: #2a5c88;
    font-weight: 500;
}
.bloc-biseau:before {
    background: url("/images/petit_pave_gris_haut.png") no-repeat;
    content: "";
    display: block;
    height: 40px;
    padding: 0;
    background-color: inherit;
}
.bloc-biseau:after {
    background: url("/images/petit_pave_gris_bas.png") no-repeat;
    content: "";
    display: block;
    height: 24px;
    padding: 0;
    background-color: inherit;
}

.voir-plus {
    margin-left: -23px;
    padding-left: -23px;
}
.voir-plus:before {
    content: url("/images/point-rouge.png");
    padding-right: 2px;
    position: relative;
    z-index: 21;
}
.statut-pdm-A .voir-plus:before {
    content: url("/images/point_A.png");
}
.statut-pdm-AC .voir-plus:before {
    content: url("/images/point_AC.png");
}
.statut-pdm-E .voir-plus:before {
    content: url("/images/point_E.png");
}
.statut-pdm-P .voir-plus:before {
    content: url("/images/point_P.png");
}

.interne {
    display: none;
}
body.sophie .interne {
    display: inherit;
}

#layout-sidebar-left .nav > li > a:hover,
#layout-sidebar-left .nav > li > a:focus {
    margin-left: -4px;
}

/*
 * Thèmes
 */
.document-themes > div {
    line-height: 28px;
    display: inline;
}
.document-themes > div.condamnes {
    display: block;
}
.derniers li span a,
.document-themes > div > a {
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f4f4f9;
}

/*
 * /site/nouveau
 */
#rss .logo {
    float: left;
    margin: 1ex 2ex 1ex 0;
}
#sommaire .rss {
    display: inline;
    padding: 0;
    margin: 0 1ex !important;
}

/*
 * backend only
*/

#amnesty-input-table .help-block {
    margin: 0;
}
#amnesty-input-table th,
#amnesty-input-table td.pays {
    padding-left: 1ex;
}
#amnesty-input-table select.form-control:has(option[value="nombre inconnu"]:checked),
#amnesty-input-table tr:has(option[value="nombre inconnu"]:checked) {
    background-color: #ccffff;
}
#amnesty-input-table select.form-control:has(option[value="sans donnees"]:checked),
#amnesty-input-table tr:has(option[value="sans donnees"]:checked) {
    background-color: #D0D0D0;
}

.wrap > .container-fluid {
    margin-top: 50px;
}

.document-relations-multi section {
    display: inline-block;
    vertical-align: top;
    padding: 0 0 3ex 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    margin: 0 2em 1em 0;
}
.document-relations-multi section h2 {
    font-size: 24px;
    margin: 0;
    padding: 1ex 3ex 1ex 1ex;
    background-color: #f5f5f5;
    border-color: #ddd;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.document-relations-multi section > div {
    margin-top: 1ex;
    padding-left: 2ex;
    padding-right: 2ex;
}
.document-relations-multi .submit {
    padding: 5em 3em;
}

.detail-view {
    max-width: 140ex;
}

/*
 * Maps
 */
figure figcaption {
    text-align: center;
    margin-bottom: 8px;
}
figure .notes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 12px;
}
figure .notes,
figure .source {
    font-size: 12px;
}
.map-legend ul,
.datamaps-legend ul {
    line-height: 1.3;
    list-style: none;
    margin: 0;
    padding: 0;
}
.map-legend li,
.datamaps-legend li {
    margin-bottom: 2px;
}
.map-legend.inline li {
    display: inline-block;
    margin-right: 1.1em;
}
.map-legend .mcolor,
.datamaps-legend .mcolor {
    display: inline-block;
    height: 14px;
    width: 20px;
    margin-right: 4px;
    border-radius: 3px;
    vertical-align: top;
}

.small-map #country-map {
    position: relative;
    width: 300px;
    height: 300px;
}

body.screenshot #usa-map .datamaps-legend {
    display: none;
}

g.graticule,
.datamap > path.datamaps-graticule {
	fill: none;
	stroke: #ABF !important;
	stroke-width: 0.5px !important;
	stroke-opacity: .8;
}

#world-map {
    clear: both;
}

.small-map {
	float: right;
}
.small-map img {
    width: 200px;
}

@media(min-width:768px) {
    .small-map {
        padding-left: 2ex;
        padding-bottom: .5ex;
        clear: right;
    }
}
@media(max-width:767px) {
    .small-map {
        clear: both;
        width: 100%;
        float: none;
        text-align: center;
    }
}

a #country-map {
	color: black;
	text-decoration: none;
}

.datamaps-legend dl > dd {
	margin-right: 3ex;
}
.datamaps-source {
    z-index: 1001;
    position: absolute;
    right: 4px;
    bottom: 40px;
    font-size: 12px;
}
.screenshot .datamaps-source {
	display: none;
}

/*
 * Misc
 */
.message {
    margin-bottom: 4ex;
}
.message dt {
    float: left;
    width: 10ex;
}

.traite-liens {
    font-size: 12px;
}
.traite-liens > a {
    padding: 3px 6px 4px;
    border: 1px solid #a0a0f0;
    border-radius: 4px;
    margin-right: 6px;
}

.hoverinfo strong {
    font-size: large;
}
.hoverinfo dd {
    margin-left: 2ex;
}

blockquote {
    font-size: inherit;
}

.route-site-captures #layout-content .container-fluid {
    max-width: inherit;
}
.route-site-captures .captures img {
    max-width: 300px;
    border-bottom: 1px dashed #B0B0B0;
}
.route-site-captures .captures > div {
    margin: 1ex 2ex;
    display: inline-block;
    border: 1px solid black;
}
.route-site-captures .captures small {
    margin-left: 2ex;
    margin-top: 3px;
    float: right;
}

#points-marquants .document-themes,
#points-marquants .document-zonegeos,
.point-marquant-lien {
    margin-left: 26px;
}
#points-marquants .document-themes > .mots-cles
, #points-marquants .document-themes > .condamnes
, #points-marquants .document-themes > .organisations {
    display: inline-block;
    margin-left: 2ex;
}

/* *****************
 *      API
 * ***************** */

#api-yaml {
    float: right;
    max-width: 27ex;
    background-color: #f4f4f4;
    padding: 4px 6px;
}
#api-info {
    clear: both;
}
.api article {
    margin-top: 1ex;
    border: 1px solid #2392f7;
    border-radius: 3px;
}
.api article h3 {
    margin: 0 0 .8ex 0;
    padding: 0.2ex 1ex;
    background-color: rgba(35,247,146,.1);
}
.api article h4 {
    margin: 0 0 1ex 0;
    font-size: 20px;
    padding: 0.8ex 1ex;
    background-color: rgba(35,146,247,.1);
}
.api article dl {
    margin-left: 2ex;
}
.api article dd {
    margin-left: 2ex;
}
#api-definitions article {
    border: 1px solid #23f792;
}
#api-definitions table td {
    padding: .6px 1ex;
	vertical-align: top;
}
#api-definitions tr > td:first-child {
    font-weight: bold;
}
#api-definitions table .description {
    font-style: italic;
    opacity: 0.8;
}

.zonegeo-traite-observations > dl {
    margin-left: -3em;
}

abbr[title] {
    border-bottom: none;
}
abbr[title], acronym[title] {
    text-decoration: underline dotted;
}

.introduction {
    max-width: 74ex;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

#amnesty-histogram {
    display: flex;
    flex-direction: column;
}
#amnesty-histogram .legend {
    align-self: flex-end;
}
#amnesty-histogram .legend div {
    margin-bottom: 2px;
}
#amnesty-histogram .sample {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: black;
}
#amnesty-histogram .sample.inconnu, #amnesty-histogram .sample.minimum {
    background-color: rgba(85, 85, 85, 0.06);
}
#amnesty-histogram .sample.sans-donnees {
    background-color: rgba(85, 85, 85, 0.09);
}
