/* Preprocessing */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {n
  --white-color: #fff;
  --black-color: #000;
  --orange-color: #f49716;
  --grey-color: #777;
  --grey-light-color: #f0f0f0;
  --dodger-blue-color: #1e90ff;
  --yellow-color: #ffff00;
  --main-width: 1170px;
  --resp-width: 400px;
}

@font-face {
  font-family: 'new_ciclefina';
  src: url('fonts/new_cicle_fina-webfont.woff2') format('woff2'),
  url('fonts/new_cicle_fina-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: Cambria, Times New Roman, Times, serif;
  width: 100%;
  font-size: 1.125em;
  line-height: 1.125em;

}


h2 {
  font-family: "new_ciclefina", "Arial Narrow Bold", sans-serif;
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.5em;
  color: var(--orange-color);
}
h3 {  
  font-family: "new_ciclefina", "Arial Narrow Bold", sans-serif;
  font-weight: 600;
  font-size: 1.2em;
  line-height: 1.2em;
}

.container {  
  max-width: var(--main-width);
  margin: auto;
  overflow: hidden;
}
.content {
  text-align: left;
  margin: auto;
  padding-left: 5%;
  padding-right: 5%;
}
.content a {
  color: var(--dodger-blue-color);
}
.content a:hover {  
  background-color: var(--yellow-color);
  text-decoration: none;
}
.content il {
  color: var(--dodger-blue-color);
}
/* Footer */
.footer {
  text-align: center;
  background-color: var(--black-color);
  color: var(--dodger-blue-color);
  margin: auto;
  width: var(--main-width);
  box-shadow: 0px 0px 16px 2px var(--dodger-blue-color);
  text-shadow: 1px 1px 2px var(--yellow-color);
  min-height: 2em;
  font-family: "Arial Narrow Bold", sans-serif;
  font-size: 0.75em;
  padding: 2em 0;
}


.weeks{
  margin:auto;
  display:block;
}



.footer a {
  color: var(--dodger-blue-color);
}

.footer a:hover {
  color: var(--yellow-color);
  transition: all 0.3s ease;
}


.aligncenter {
  text-align: center;
}
.img-resp {
  max-width: 50%;
}
img.float-l {
  float: left;
  margin: 0 2em;
}
img.float-r {
  float: right;
  margin: 0 2em;
}
p {
  margin: 1em 0;
}
a {
  text-decoration: none;
  color: var(--dodger-blue-color);
}
a:hover {
  color: grey;
}

.flex {
  display: flex; /* or inline-flex */
}
.flex-center {
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.flex-column {
  flex-direction: column;
}
.flex-1 {
  flex:1;
}
.flex-2 {
  flex:2;
}
.flex-3 {
  flex:3;
}
.flex-4 {
  flex:4;
}
.flex-5 {
  flex:5;
}
.flex-6 {
  flex:6;
}

a {
  overflow-wrap: break-word;
}
.italic {
  font-style: italic;
  text-align: center;
}
.bold {
  font-weight: bold;
}
ul.listDesign li::before {
  color: var(--orange-color);
  content: "â˜›";
  padding-right: 5px;
}
ul.listDesign li {
  margin: 5px 0;
}

/**** Menu & Sous-menu ****/

.bandeau {
  background-color: var(--black-color);
  color: var(--dodger-blue-color);
  max-width: var(--main-width);
  box-shadow: 0px 0px 16px 2px var(--dodger-blue-color);
  text-shadow: 1px 1px 2px var(--yellow-color);
  text-align: center;
  font-size: 36px;
  margin: auto;
  padding-top: 2em;
}


.navbar {
  padding: 1em;
  max-width: 90%;
  margin: auto;
}
.navbar a {
  font-size: 20px;
  float: none;
  color: var(--black-color);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar a:hover {
  color: var(--dodger-blue-color);
  transition: all 0.3s ease;
}
nav.primary-navigation {
  margin: 0 auto;
  display: block;
  text-align: center;
  font-family: "new_ciclefina", "Arial Narrow Bold", sans-serif;
  max-width: var(--main-width);
  background-color: var(--white-color);  
  font-weight: 600;
}
nav.primary-navigation ul li {
  list-style: none;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  text-decoration: none;
  text-align: center;
}
nav.primary-navigation li:hover {
  cursor: pointer;
}
nav.primary-navigation ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding-left: 0;
  left: -10px;
  display: none;
  background: var(--white-color);
}
nav.primary-navigation ul li:hover > ul,
nav.primary-navigation ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  min-width: 350px;
  text-align: left;
  padding: 20px 0 0 10px;
}
nav.primary-navigation ul li ul li {
  clear: both;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  border-style: none;
}
nav.primary-navigation ul li ul li a:hover {
  padding-left: 10px;
  border-left: 2px solid var(--black-color);
  transition: all 0.3s ease;
}

a {
  text-decoration: none;
}
a:hover {
  color: var(--dodger-blue-color);
}

ul li ul li a {
  transition: all 0.3s ease;
}
/**** FIN Menu & Sous-menu ****/


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
  .footer {
    width: 100%;
  }
  .flex {
    display: block;
  }
  nav.primary-navigation ul li ul {
    left:0;
    top: 17px;
  }
  nav.primary-navigation ul li {
    width: 100%;
  }
  nav.primary-navigation ul li:hover > ul, nav.primary-navigation ul li ul:hover {
    z-index: 999;
  }
  img.float-r, img.float-l, .img-resp {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Style the book list*/
.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg .tg-baqh{text-align:center;vertical-align:top}
.tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top}
.tg .tg-0lax{text-align:left;vertical-align:top}



/* Style the comment box and submit/reset button */
.comment_box {
  width: 600;
  padding: 4px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 6px;
  margin-left: 6px;
  margin-right: 6px;
}




input[type=comment], textarea {
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 4px;
  vertical-align: middle;
  height: 35px
}

input[type=submit] {
  background-color: black;
  color: yellow;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  vertical-align: middle;
}

.submit_comment {
  height: 30px;
}

input[type=submit]:hover {
  background-color: #00C9FF;
}


input[type=reset] {
  background-color: black;
  color: yellow;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  vertical-align: middle;
}

input[type=reset]:hover {
  background-color: #00C9FF;
}


/* Style the reply box and reply button */
.reply_box {
  margin-left: 100px;
  border-radius: 4px;
}


input[type=reply] {
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 4px;
  vertical-align: middle;
  height: 20px
}

.submit_reply {
  background-color: black;
  padding: 2px 2px 2px 2px;
  color: yellow;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  height: 25px;	
}

.submit_reply:hover {
  background-color: DodgerBlue;
}

/* Style the comments and replies themselves */

.comments_data {
  color: DodgerBlue;
  margin-left: 50px;
}

.comments_text {
  color: black;
  margin-left: 50px;
}

.reply_comment {
  margin-left: 100px;
}

.reply_data {
  margin-left: 100px;
  color: DodgerBlue;
}



@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* image shaking */
img.shakable:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

/* Style the coding area */
.code {
  background-color:black;
  color:yellow;
  font-family: "Tlwg Typist";
}

/* Zoom over pictures */
img {
    transition: transform .1s;
}

img:hover {
-ms-transform: scale(1.5); /* IE 9 */
-webkit-transform: scale(1.5); /* Safari 3-8 */
transform: scale(1.5);
}