@font-face {
  font-family: 'FiraSans';
  src: url('../fonts/FiraSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSans';
  src: url('../fonts/FiraSans-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSans';
  src: url('../fonts/FiraSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSans';
  src: url('../fonts/FiraSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/**
 * Version come from the FireFox OS Boilerplate App
 */
* { font-family: 'FiraSans'; }


.loading, .exercice-finish {
    text-align:center;
	margin-top: 10%;
}
.loading {
   font-size:  4rem;
}
.exercice-finish {
   font-size:  8rem;
}
.exercice-finish h2 {
   margin: 0px;
}
.exercice h2, .exercice h3, .exercice h4 {
    text-align:center;
}
.exercice h2 {
	margin-top: 8px;
	margin-bottom: 8px;
	font-size: 3em;
}
.exercice h2 span {
    font-size: 14px;
}

.exercice h3 {
    margin-top: 0px;
	margin-bottom: 0px;
	font-size: 1.7em;
}

div.exercice_info {
    color: #FFF;
    background-color: #F97C17;
	font-size: 1.4em;
	font-weight: bold;
}

div[role="actiontime"], div[role="breaktime"] {
	width: 100%;
	position: fixed;
	left:0;
	bottom:40px;
	height: 84px;
}
div[role="actiontime"] {
    color: #FFF;
    background-color: #F97C17;
}
div[role="breaktime"] {
    color: #FFF;
    background-color: #00CAF2;
}

/**
 * Home program
 */
div[role="program"] h1 {
	font-size: 3em;
	margin-top: 0px;
	margin-bottom: 5px;
} 
div[role="program"] p {
	font-size: 1.3em;
	padding-bottom: 10px;
}


#exercice_menu {
   display: flex;
   padding: 0;
}
#exercice_menu button {
   flex:auto;
}

.exerice-info {
   text-align:center;
   font-size: 3rem;
}

div.timer {
   font-size: 4rem;
}
div.timer span:last-child {
   font-size: 7rem;
   font-weight: bold;
}

menu.exercice-controls {
  display: flex;
  margin: 2rem 1rem 0;
  padding: 0;
}

menu.exercice-controls button {
  height: 3.8rem;
  margin: 0 0.5rem;
  flex: auto;
}

#btnPrevious { background-image: url("../data/img/IconAction_Media_SkipBackwards_30x30.png"); }
#btnPlay { background-image: url("../data/img/IconAction_Media_Play_30x30.png"); }
#btnBreak { background-image: url("../data/img/IconAction_Media_Pause_30x30.png"); }
#btnNext { background-image: url("../data/img/IconAction_Media_SkipForward_30x30.png"); }

section[data-type="list"] {
     overflow: scroll;
}

section[data-show-drawer="true"]#drawer{
  transform: translateX(80%);
}
