*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  position: relative;
  min-height: 100%;
}

body {
  color: #000;
  font-size: .7rem;
  line-height: 1.3;
  font-family: "CooperHewitt", sans-serif;
  background-color: rgb(250, 250, 250);
}

a {
  background: transparent;
  color: #e1001a;
  transition: color .2s;
  text-decoration: none;
}

.texte a[href*="//"]:not([href*="cqfd-journal.org"])::after {
  content: ' ➚';
}

a:hover,
a:visited,
a:focus,
a:active {
  color: #e1001a;
  outline: 0;
  text-shadow: none;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

a:hover {
}

p a, p a:hover, .texte a {
  /*text-decoration: underline;*/
}
a.btn, a.btn:hover {
  text-decoration: none;
}

a.discret {
  text-decoration: none;
  color: inherit;
}

.no-decoration, .no-decoration:hover {
  text-decoration: none;
}

a.spip_note {
  display: inline-block;
  font-size: 0.8rem;
  font-family: 'CooperHewitt';
  margin: 0 0.1rem 0 0.1rem;
  transform: translateY(-0.3rem);
  text-decoration: none;
}

.spip_note_ref a.spip_note {
  transform: translateY(0);
  font-size: 1rem;
  text-decoration: none;
}

a.spip_note:hover {
  color: #e1001a;
  text-decoration: none;
}

p {
  font-family: 'plantin';
  margin-bottom: 0;
  font-size: .9rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'CooperHewitt';
  font-size: 1.3rem;
  margin-bottom: 0;
}

h1, .h1 {
  font-size: 2.6rem;
  margin-bottom: .5rem;
  color: #e1001a;
}

h2, .h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: #e1001a;
}

h3, .h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
  color: #000;
}

h4, .h4 {
  font-size: .8rem;
  margin-bottom: .25rem;
  color: #000;
}

h5, .h5 {
  font-size: .7rem;
  margin-bottom: .25rem;
  color: #000;
}

h1 u, h2 u, h3 u, h4 u, h5 u, h6 u,
.h1 u, .h2 u, .h3 u, .h4 u, .h5 u, .h6 u {
    text-decoration: none;
    border-bottom: 0.15rem solid;
}

h1 + h1,
h2 + h2,
h3 + h3,
h4 + h4,
h5 + h5 {
  margin-top: .5rem;
}

hr {
  margin: 2rem 0;
  border: none;
  border-top: .5px solid #000;
}

.text-mono, .text-mono p {
  font-family: "Courier New", Courier, monospace;
  font-size: .65rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.text-small, .text-small p {
  font-size: .8rem;
}

.border {
  border: .5px solid #eee;
}

summary {
  list-style-type: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p img {
  display: inline-block;
}

figure, .spip_logo {
  margin-bottom: 1rem;
}

figure img {
  min-width: 100%;
}

summary::marker {
    font-size: 1rem;
}

.r-icon {
  height: 0rem;
  display: inline-block;
  vertical-align: middle;
}

.r-icon svg {
  transform: translateY(-50%);
  width: 1rem;
}

.columns {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.column {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.caractencadre-spip {
    color: #e1001a;
}

.caractencadre2-spip {
    color: #eda00d;
}

.spip_code {
    border: 1px solid #dadada;
    background-color: rgba(229, 229, 229, 0.5);
    color: #3b3b25;
    text-shadow: 0 1px 0 #fdfdfc;
    font-size: .8rem;
}

blockquote.spip {
    padding-left: 3rem;
    margin: 1rem 0;
}

blockquote.spip p {
    margin: 0;
}

.spip_document {
    font-family: 'plantin';
    font-size: 0.7rem;
    font-weight: normal;
}

.spip-block-center {
    font-size: 1rem;
    font-family: 'plantin';
}

.capsule,
.btn {
  display: inline-block;
  background: #ffdf5f;
  color: #000;
  border: none;
  line-height: 1;
  height: auto;
  line-height: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.1rem;
  transition: none;
  font-size: 0.65rem;
  margin-bottom: .5rem;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-family: 'CooperHewittMedium', monospace;
}

.btn:focus, .btn:hover, .btn:visited {
  background: #ffdf5f;
  border: none;
  transition: none;
  color: #000;
}
.btn:hover {
    background: #FFEC74;
}

.btn:focus {
    box-shadow: 0 0 0 .1rem rgba(168, 168, 168, 0.2);
}

.btn.btn-primary {
  background: #ffabda;
  color: #000;
}

.btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited {
  color: #000;
  background: #ffcae8;
}

.capsule,
.btn-secondary {
  background-color: transparent;
  color: #000;
  border: .5px solid;
}

p.explication {
    opacity: .5;
}

.texte ol, ol.spip,
.texte ul, ul.spip {
    list-style-type: disc;
    list-style-position: inside;
    margin: 1rem 0;
    font-family: 'plantin';
    font-size: 1rem;
}

.texte ol, ol.spip {
    list-style-type: decimal;
}

.columns-4 {
  column-count: 4;
  column-gap: 2rem;
}

.columns-3 {
  columns: 3;
  column-gap: 3rem;
}

[type="reset"], [type="submit"], button, html [type="button"] {
    cursor: pointer;
}


/* DOCUMENTS */
dl dt {
    display: inline-block;
}

dl dt img {
  width: 1rem;
}

/* Pagination */
ul.pagination-items,
ol.pagination-items {
    display: flex;
    list-style: none;
}

.pagination-item {
    margin-right: 1rem;
}

/* TYPO */
@font-face {
  font-family: 'plantin';
  src: url('fonts/PLANTINSTD.OTF');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'plantin';
  src: url('fonts/PLANTINSTD-BOLD.OTF');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'plantin';
  src: url('fonts/PLANTINSTD-ITALIC.OTF');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'plantin';
src: url('fonts/PLANTINSTD-BOLDITALIC.OTF');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'CooperHewitt';
  src: url('fonts/CooperHewitt-Bold.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CooperHewitt';
  src: url('fonts/CooperHewitt-BoldItalic.otf');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'CooperHewittMedium';
  src: url('fonts/CooperHewitt-Semibold.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CooperHewittMedium';
  src: url('fonts/CooperHewitt-SemiboldItalic.otf');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'WorkAvec';
  src: url('fonts/WorkAvec-Medium.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'WorkAvec';
  src: url('fonts/WorkAvec-SemiBold.ttf');
  font-weight: bold;
  font-style: normal;
}
