@charset "UTF-8";
/* UTF-8 déclaré avant toute chose */

/******************************************************************
 * ROCSSTI : une base CSS par Nicolas Hoffmann http://rocssti.nicolas-hoffmann.net/
 * inspiré par http://www.knacss.com/
 *
 * ROCSSTI est sous licence CC-BY : http://creativecommons.org/licenses/by/3.0/fr/
 * 
 * cette CSS est fournie telle quelle, sans aucune garantie d'aucun type, 
 * l'auteur ne saurait être tenu responsable de quoi que ce soit pour 
 * l'utilisation de RÖCSSTI.
 *
 * convention (à adapter si besoin)
 *  .parent
 *  .parent__enfant
 *  .parent--modifieur  
 *
 * 
 * résumé
 * 01 -- reset
 * 02 -- ainsi font font font + structure Hx
 * 03 -- classes utilitaires + fix typos + styles "balises fixes"
 * 04 -- liens + icônes
 * 05 -- layout et modules
 * 06 -- structure (page / skip links / header / main content / footer)
 * 07 -- forms
 * 08 -- dans le contenu
 * 09 -- breakpoints mineurs entre desktop et tablettes
 * 10 -- homo tablettes - breakpoint majeur
 * 11 -- breakpoints mineurs entre tablettes et mobile
 * 12 -- mobile - breakpoint majeur
 * 13 -- breakpoints mineurs tout petit mobile
 * 14 -- print
 * 15 -- fix viewport 
 * 16 -- règles d'état
 * 17 -- bonus : Fixes IE
 */









/*
 *****************************************************************
 * 08 -- dans le contenu (contenus spécifiques aux pages)
 *****************************************************************
 */

/*
 * STYLES FOR TABS, EXAMPLES
 * en Français : STYLES POUR LES TABS, EXEMPLES 
 */
 
 
.tabs__tabcontent:focus {
  outline: 1px dotted; /* fucking chrome */
}
[aria-disabled="true"], [aria-disabled="true"]:hover{
  background-color: #ddd;
  color: #666;
  pointer-events: none;
  /* for old IEs */
  cursor: not-allowed;
}

/* 
 * Styles tabs top
 */

/* styles without JS */



/* styles with JS */
[role="tablist"].tabs__standard_ul {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 0;
  display: table;
}

[role="tablist"] .tabs__standard__li {
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  position: relative;
  display: table-cell;
  vertical-align: middle;
  width: 20rem; /*修改頁籤選項寬度*/
  text-align: center;

}
[role="tablist"] .tabs__standard__a {
  line-height: 1.1;
  display: block;
  min-height: 2.2em;
  padding: .5em;
  border-bottom: 0;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  background: #f5f5f5; /*修改頁籤選項背景色*/
  border: 2px solid #d3d3d3; /*修改頁籤選項邊框粗細與顏色*/
  font-size:1.8rem; /*修改頁籤選項標題預設文字大小*/
  color:#918889; /*修改頁籤選項標題文字預設顏色*/
  font-weight:bold;
  border-bottom:  2px solid #f5f5f5;
}
[role="tablist"] .tabs__standard__a:focus,
[role="tablist"] .tabs__standard__a:hover,
[role="tablist"] .tabs__standard__a:active,
[role="tablist"] .tabs__standard__a[aria-selected="true"] {
  border-bottom:  2px solid #fff;
  background: #fff;
  color:#000; /*修改頁籤選項標題文字滑入顏色*/
}
[role="tablist"] .tabs__standard__a:focus {
  outline: 1px dotted;
}
[role="tabpanel"].tabs__standard__tabcontent {
  padding-top: 1px;
  border-top: 1px solid #c1c1c1; /*修改內容區上邊框粗細與顏色*/
  padding-right: 1em;
  padding-left: 1em;
  padding-bottom: 1.5em;
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
  background-color:#fff;
}






/* 
 * Styles tabs RED
 */
.tabs-red {
  border: 2px solid #882525;
  border-radius: .5em;
  padding: .5em .5em 1em .5em;
}

/* styles without JS */
.button--tabs:focus,
.link-button--tabs:focus {
  outline: 1px dotted;
}
/* have a look at .button class */

/* styles with JS */
[role="tablist"] .button--tabs {
  opacity: .9;
  -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
       -o-transition: all .5s ease;
          transition: all .5s ease;
}



[aria-selected="true"] .button--tabs {
  box-shadow: .1em .1em .1em #606060;
  opacity: 1;
}



/* 
 * Styles tabs PUCES
 */
 
/* styles without JS */

.puce-tab {
  border-bottom: 0; /* cancel link style */
}
.puce-tab:focus {
  outline: 1px dotted;
}
.puce-tab__text {
  font-weight: bold;
  
}
.puce-tab__number {
  display: inline-block;
  font-size: 1.5em;
  width: 1.5em;
  height: 1.5em;
  background: #882525;
  color: #fff;
  border-radius: 50%;
  font-weight: normal;
}
.puces-container {
  margin-top: 0;
}



/* styles with JS */
[role="tablist"].puces-container {
  height: 8em;
}

[role="tab"].puce-tab {
  opacity: .6;
  -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
       -o-transition: all .5s ease;
          transition: all .5s ease;
}
[aria-selected="true"].puce-tab {
  opacity: 1;
  font-size: 1.7em;
  width: 1.7em;
  height: 1.7em;
}





/* 
 * Styles tabs style section
 */
 
/* styles without JS */
.tab-style {
  padding-top: 1em;
}
.tabs__link.button:focus {
  outline: 1px dotted;
}


/*
 *****************************************************************
 * 09 -- breakpoints mineurs entre desktop et tablettes
 *****************************************************************
 */
 
 
@media (min-width: 87.5em) {

  #ribbon {
    background: linear-gradient(to bottom, #882525 0%, #BF2B2B 50%, #882525 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    left: -6em;
    overflow: hidden;
    padding: 1px 0;
    position: fixed;
    top: 4em;
    margin: 0;
    -webkit-transform: rotateZ(-45deg);
       -moz-transform: rotateZ(-45deg);
         -o-transform: rotateZ(-45deg);
            transform: rotateZ(-45deg);
    z-index: 10;
    width: 23em;
    text-align: center;
    color: #fff;
    display: block;
  }
}


@media (max-width: 62.5em) {

  #page {
    width: auto;
    padding: 1em;
  }


}


/*
 *****************************************************************
 * 10 -- homo tablettes - breakpoint majeur
 *****************************************************************
 */ 

/*@media (max-width: 890px) {*/
@media (max-width: 55.625em) {
 
  /* affichage des éléments */
  .nodesktop { display: block; }

  /* cachage des éléments inutiles, chabitte ! */
  .notablet { display: none; }
  
  /* linéarisation contenus flottants/table-layout */
  .autotablet {
    float: none;
    display: block;
    width: auto;
  }
  .onmobile-ml0 {
    margin-left: 0;
  }

  /**
   * adaptation structure globale (page / skip links / header / contenu principal / footer)
   */

  
  /**
   * dans le contenu (contenus spécifiques aux pages)
   */

  
  
}




/*
 *****************************************************************
 * 11 -- breakpoints mineurs entre tablettes et mobile
 *****************************************************************
 */






/*
 *****************************************************************
 * 12 -- mobile - breakpoint majeur
 *****************************************************************
 */

/*@media (max-width: 733px) {*/
@media (max-width: 45.8125em) {


  /* affichage des éléments */
  .notablet { display: block; }

  /* cachage des éléments inutiles, chabitte ! */
  .nomobile { display: none; }

  /* linéarisation contenus flottants/table-layout */
  .automobile {
    float: none;
    display: block;
    width: auto;
  }


  /**
   * adaptation structure globale (page / skip links / header / contenu principal / footer)
   */
  .item__button--tabs {
    padding: .25em;
  }
  
  
  /**
   * dans le contenu (contenus spécifiques aux pages)
   */

  .button--tabs {
    min-height: 0;
  }
  
  .puce-tab__number {
    display: inline-block;
    font-size: 1.1em;
    width: 1.1em;
    height: 1.1em;
    line-height: 1.1;
    background: #882525;
    color: #fff;
    border-radius: 50%;
    font-weight: normal;
  }
  [aria-selected="true"].puce-tab {
    opacity: 1;
    font-size: 1.2em;
    width: 1.2em;
    height: 1.2em;
  }
  [role="tablist"].puces-container {
    height: 4em;
  }


  /* 
   * Styles tabs style section
   */
   
  /* styles without JS */
  .tab-style {
    margin: 0;
  }
  
  
  
  /* 
   * Styles tabs top
   */
  
  /* styles without JS */
  
  
  
  /* styles with JS */
  [role="tablist"].tabs__standard_ul {
    display: block;
    border-bottom: 2px solid #882525;
  }
  [role="tablist"] .tabs__standard__li {
    display: block;
    width: auto;
  }
  [role="tablist"] .tabs__standard__a {
    border-radius: 0;
    border-bottom: 0; 
    min-height: 0;
  }
  [role="tablist"] .tabs__standard__a:focus,
  [role="tablist"] .tabs__standard__a:hover,
  [role="tablist"] .tabs__standard__a:active,
  [role="tablist"] .tabs__standard__a[aria-selected="true"] {
    background: #fff; /*修改手機版時頁籤選項背景色*/
    color: #000;      /*修改手機版時頁籤選項文字色*/
    border-bottom: 0;  
  }
  [role="tabpanel"].tabs__standard__tabcontent {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }


}




/*
 *****************************************************************
 * 13 -- breakpoints mineurs tout petit mobile
 *****************************************************************
 */





/*
 *****************************************************************
 * 14 -- print
 *****************************************************************
 */

@media print {
  /* ajouter là-dedans les éléments qui ont besoin d'être
   * resetés de manière très bourrine pour le print
   */
  body,
  html,
  #page,
  .reset4print {
    background-color: #fff;
    background-image: none;
    border: 0;
    box-shadow: none;
    color: #000;
    float: none;
    height: auto;
    margin: 0;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    position: static;
    width: auto;
  }

  body {
    padding: .5em;
  }

  /* cachage des éléments inutiles, chabitte ! */
  .noprint {
    display: none;
  }
  
  /* affichage éléments spécifiques au print */
  .onprint {
    display: block;
  }
  
  /* éviter saut de page hasardeux */
  blockquote, ul, ol {
    page-break-inside: avoid;
  }
  h1, h2, h3, caption {
    page-break-after: avoid;
  }
  
  /* affichage des liens, sauf pour image contenue */
  /* attention, penser à vérifier le résultat et penser 
   * à limiter cette possibilité aux liens dans le contenu */
  /*a:after {
    content: " (" attr(href) ") ";
  }
  a:after img {
    content: "";
  }*/

  /* ici fix propriétés particulières */


} /* end print */




/*
 *****************************************************************
 * 15 -- fix viewport
 *****************************************************************
 */

/* fix viewport pour Win8 (snap mode) et préparer le jour 
 * où le viewport sera supporté par tous les moteurs 
 *  
 * Exemples : http://dev.opera.com/articles/view/an-introduction-to-meta-viewport-and-viewport/
 * width=device-width   => width: device-width;
 * height=device-height => height: device-height;
 * initial-scale=2      => zoom: 2;
 * maximum-scale=2      => max-zoom: 2;
 * minimum-scale=0.5    => min-zoom: 0.5;
 * user-scalable=no     => user-zoom: fixed;
 * 
 * pour le snap mode de Win8 => seul width: device-width; fonctionne pour l'instant  
 */

@-webkit-viewport {
  width: device-width;
}
@-moz-viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}




/*
 *****************************************************************
 * 16 -- règles d'état
 *****************************************************************
 */

/*
 * Règles d'état = mises en bas pour être prioritaires
 *
 */

/*
.is-hidden,
[aria-hidden=true] {
  display: none;
}
*/
.js-tabcontent[aria-hidden=true] {
  display: none;
}



/*
 *****************************************************************
 * 17 -- bonus : Fixes IE
 *****************************************************************
 */

/*  
 * basé sur les classes conditionnelles sur l'élément HTML
 *  
 * à utiliser seulement si peu de corrections et 
 * pas d'impact sur les perfs sur les autres navigateurs
 *       
 */

/* less than IE 9 */
.oldies .nooldies {
  display: none;
}

.ie6 .noie6,
.ie6 .chamois {
  display: none;
}
.ie7 .noie7 {
  display: none;
}
.ie8 .noie8 {
  display: none;
}
.ie9 .noie9 {
  display: none;
}

.ie7 .col,
.ie7 .col-noalign,
.ie6 .col,
.ie6 .col-noalign {
  float: left;
}
.ie7 .row,
.ie6 .row {
  overflow: auto;
}

.ie7 .grid-home-element {
  width: 100%;
}

.ie7 [role="tablist"].tabs__ul {
  overflow: auto;
}
.ie7 [role="tablist"] .tabs__li {
  float: left;
  width: 15%;
}

.ie7 .navigation__item {
  width: 16.5%;
}


.ie6 .mw1600e {
  width: 60em;
}


/* prism */
/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
	color: black;
	text-shadow: 0 1px white;
	font-family: Consolas, Monaco, monospace;
	text-align: left;
	/*white-space: pre;*/
	word-spacing: normal;
  border-radius: 1em;
	
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;	
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #344559;
}

.token.punctuation {
	color: #4A4646;
}

.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number {
	color: #905;
}

.token.selector,
.token.attr-name,
.token.string {
	color: #085300;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #803C24;
	background: hsla(0,0%,100%,.5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
	color: #0227A9;
}


.token.regex,
.token.important {
	color: #e90;
}

.token.important {
	font-weight: bold;
}

.token.entity {
	cursor: help;
}