@font-face {
  font-family: 'Rouge Script';
  font-style: normal;
  font-weight: 400;
  src: local('Rouge Script'), local('RougeScript-Regular'), url('fonts/Rouge.woff2') format('woff2');
}

@font-face {
  font-family: 'Kranky';
  font-style: normal;
  font-weight: 400;
  src: local('Kranky'), url('fonts/Kranky.woff2') format('woff2');
}

@font-face {
  font-family: 'Montez';
  font-style: normal;
  font-weight: 400;
  src: local('Montez'), local('Montez-Regular'), url('fonts/montez-v6-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Berkshire Swash';
  font-style: normal;
  font-weight: 400;
  src: local('Berkshire Swash'), local('BerkshireSwash-Regular'),
       url('fonts/berkshire-swash-v4-latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  src: local('Crimson Text'), local('CrimsonText-Roman'),
       url('fonts/crimson-text-v6-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Sans'), local('NotoSans'),
       url('fonts/noto-sans-v6-latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  src: local('Dancing Script'), local('DancingScript'),
       url('fonts/dancing-script-v6-latin-regular.woff2') format('woff2');
}

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,
b, u, i, center,
dl, dt, dd, ol, 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 {
    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;
}

body {
/*    font-family: 'PT Sans', sans-serif; */
    min-height: 740px;

    background: rgb(215, 205, 205);
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 230, 230)), to(rgb(190, 180, 180)));
    background: -webkit-radial-gradient(rgb(240, 230, 230), rgb(190, 180, 180));
    background:    -moz-radial-gradient(rgb(240, 230, 230), rgb(190, 180, 180));
    background:     -ms-radial-gradient(rgb(240, 230, 230), rgb(190, 180, 180));
    background:      -o-radial-gradient(rgb(240, 230, 230), rgb(190, 180, 180));
    background:         radial-gradient(rgb(240, 230, 230), rgb(190, 180, 180));
}

/*
    Now let's bring some text styles back ...
*/
b, strong { font-weight: bold }
i, em { font-style: italic }
.pre { font-family: 'Courier new', monospace; white-space: pre; }

.step {
    position: relative;
    width: 900px;
    padding: 40px;
    margin: 20px auto;

    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -o-box-sizing:      border-box;
    box-sizing:         border-box;

    font-family: 'Crimson Text', serif;
    font-size: 30px;
    line-height: 1.2;
}

/*
    ... and we enhance the styles for impress.js.

    Basically we remove the margin and make inactive steps a little bit transparent.
*/
.impress-enabled .step {
    margin: 0;
    opacity: 0.7;

    -webkit-transition: opacity 1s;
    -moz-transition:    opacity 1s;
    -ms-transition:     opacity 1s;
    -o-transition:      opacity 1s;
    transition:         opacity 1s;
}

.impress-enabled .step.active { opacity: 1 }

.invis { display: none; }

.vis { display: inline-block; }

.slide {
    display: block;

    width: 900px;
    height: 700px;
    padding: 40px 60px;

    background-color: #EEEEEE;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);

    color: rgb(50, 20, 10);
    text-shadow: 0 2px 2px rgba(0, 0, 0, .1);

    font-size: 30px;
/*    letter-spacing: -1px; */
}
.impress-enabled          { pointer-events: none }
.impress-enabled #impress { pointer-events: auto }

p.nom {
 font-family: 'Montez';
 font-size:50px;
 color: rgb(10,10,80); 
}

p.titre {
 font-size:55px;
 font-family: 'Rouge Script', cursive;
}

p.titrebas {
 font-family: 'Berkshire Swash';
 text-shadow: 0px 1px 1px rgba(0, 0, 128, .5);
}

p.skipsm {
 margin-top:1ex;
}

div.dates {
  font-family: 'Berkshire Swash';
}

.high {
  background: rgba(200,140,80,1);
  padding: 4px 20px 10px 20px;
  border-radius:3px;
  color: white;
}

.thm {
 background: #F0F0E0;
 padding: 2px 10px 10px 10px;
 border-radius: 15px;
/* border: 2px solid gray;*/
/* box-shadow: inset -5px -5px 5px 0px #FFFFFF, inset 2px 2px 2px 2px #AAAAAA,
 box-shadow: -2px -2px 3px 2px #888888;*/
/* box-shadow: -2px -2px 1px 1px #888888;*/
/*border: 1px solid silver;*/
/*  background: linear-gradient(#eee, #fff);*/
  box-shadow: 0px 1px 2px #fff, 0px -1px 1px #666;
}

.bold {
 font-weight:bold;
}

body #balles .b3.move { top: 273px !important; left: 336px !important; transition: 1s;}
body #balles .b1.move {  left: 370px !important; transition: 1s;}
body #balles .b2.move {  left: 440px !important; transition: 1s;}

.arith b { color:red; }
.modulo b { font-weight: normal; text-decoration:overline; }
.arith u { text-decoration: none; font-weight: bold; color: rgb(0,175,0);}

.credits {
 pointer-events: none;
 font-family: 'Kranky';
 text-shadow: 0px 5px 2px rgba(0, 0, 128, .5);
}

.univers.past {
 opacity: 0; 
}
.univers.present {
 opacity: 1; 
}
.univers.future {
 opacity: 0;
}

.front.past {
 z-index: 0;
}
.front.present {
 z-index: 1; 
}
.front.future {
 z-index: 0;
}

#revelator u {
  text-decoration:none;
  color: rgb(0,185,0);
  font-weight: bold;
}

#revelator s {
  text-decoration:none;
  color: red;
  font-weight: bold;
}

.eq {
  font-family: 'Noto Sans';
}

button {
  width:100px;
  height:35px;
  background: gray;
  color: white;
  font-family: 'Crimson Text';
  font-size:20px;
}

.def {
 background: #E0F0E0;
 padding: 0px 10px 8px 10px;
 border-radius: 15px;
 box-shadow: 0px 1px 2px #fff, 0px -1px 1px #666;  
}

table.mytable {
margin: 0 auto;
}

table.mytable td {
  padding:5px;
  text-align:center;
  width:210px;
  font-size:28px;
}