
:root{
	--fontSize: 1em;
	--fontStyle: 'Open Sans', sans-serif;
  --rootBG: #fff;
  --maxWidth: 1170px;
  --contentBG: #fff;
  --contentFG: #443f4b;
  --headerBG: transparent;
  --headerFG: #fff;
  --headerOutBG: transparent;
  --headerOutFG: #fff;
  --headerOver: #fff;
  --titleColor:#ff6561;
  --borderColor: #e0dcd8;
  --borderWidth:0;
	--accentColor:#ff6561;
	--accentColorLight:#ff6561b8;
  --emphasisBG: #fae90c;
  --extraBG: transparent;
  --extraBorderColor: #231F20;
  --extraBorderWidth: 2px;
  --extraRadius: 0em;
}

p{
  font-weight:300;
}

a.anchor {
  display: none;
}

#content {
  min-height: calc(100vh - 367px);
  box-sizing: border-box;
  padding-bottom: 2em;
}

/* IMAGE */
.binCap {
  margin-inline: 0;
}

.binCap_ti {
  font-size: .8em;
  font-style: italic;
  text-align: right;
  padding: 0
}

/* TABLE */
table.layout_tb {
  margin: 0 auto;
}
table.layout_tb td:first-child:not(:only-child) {
  padding-right: 1em;
}

/* HEADER */
#header {
  background: linear-gradient(to bottom, #745759 15px, #ff6561);
}

#header .inline {
  padding: 1em;
  max-width: var(--maxWidth);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

#header .tplTitle {
  text-indent: 0;
}

/* OUTCAT */
ul.outCat, ul.outBk {
  margin-bottom: 4px;
}

ul.outCat li:first-child{
  display:inline-block;
}

ul.outCat a.outCat_i {
  border-bottom: 4px solid transparent;
  padding-inline: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .9rem;
}

ul.outCat a.outCat_i:hover{
  border-color:#fff;
}

ul.outCat li.outCat_sel_yes .outCat_i{
  border-color:#e58c8c;
}

/* OUTSEC */
#outSec>ul {
  float: none;
  text-align: center;
}

/* BANNER */
#content>.bkSec:first-child>.bkBase_ti {
  display: none;
}

/* FOOTER */
footer{
  background-color:var(--contentFG);
}
#extras {
  color: #fff;
}

#extras .txt_emphasis_is, #extras .txt_quote_ph, #extras .txt_special_ph{
  color: #fff;
}

.margin_co p {
  text-align: center;
}

.tplFootBanner {
   color: #fff;
}

/* PORTRAITS */
.bkSec .bkBase > .bkBase_co:has(.portrait) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1em;
  max-width: var(--maxWidth);
  margin: 0 auto;
  width: 100%;
}

.bkBase.portrait i.type {
  display: none;
}

/* ACTUS */
.bkBase.actu {
  
  .bkBase_ti{
    text-align:left;
    padding:0;

    @media (max-width:1170px){
      padding-left:1rem;
    }
  }
  
  i.type{
    display:none;
  }

  > .bkBase_co{
    padding-top:0;
  }
}

/* CHRONOLOGIE */
.event_ti {
  color: var(--contentFG);
  font-weight: normal;
}
.event_co:empty{
  display:none;
}

ul.evtList {
  padding-left: 8px;
  margin-left: 1em;
  background: linear-gradient(to bottom, #fff 10px, var(--accentColor) 10px, var(--accentColor) calc(100% - 10px), #fff calc(100% - 10px)) no-repeat 0 0 / 2px 100%;
}

.evtListEvt{
  list-style-image:none;

  &::marker{
    content: "⬤";
    color: var(--accentColor);
  }
}

/* GLOSSAIRE */
#content .bkBase.glossary{
  padding: 0 0 .5em 4em;
  
  .bkBase_ti{
    text-align:left;
    padding:0;
  }
  
  i.type{
    display:none;
  }

  .bkBase_open, .bkBase_closed{
    height:auto;
    display: flex;
    align-items: center;
    gap: .5em;
    
    &::before{
      position:static;
      background-color: var(--accentColor);
      flex: 0 0 18px;
      height: 18px;
      line-height: 18px;
      font-size: 1em;
      text-align: center;
   }
  }

  .bkBase_co.collBlk_open{
    margin-top:0;
    padding: 0 0 0 .3em;
    border: none;
  }
}

/* RESPONSIVE */
@media (max-width: 700px) {
  #header .inline {
    padding-block:0;
    box-sizing: border-box;
  }
}