@font-face {
  font-family: 'Galavant';
  src: url('../fonts/subset-Galavant-Regular.woff2') format('woff2'),
      url('../subset-Galavant-Regular.woff') format('woff'),
      url('../subset-Galavant-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/subset-Urbanist-Italic.woff2') format('woff2'),
      url('../fonts/subset-Urbanist-Italic.woff') format('woff'),
      url('../fonts/subset-Urbanist-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/subset-Urbanist-Regular.woff2') format('woff2'),
      url('../fonts/subset-Urbanist-Regular.woff') format('woff'),
      url('../fonts/subset-Urbanist-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



#wrapper {
  max-width: 900px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#trigger {
  align-self: flex-start;
  margin: auto;
}

.hidden {
  display: none;
}

.cream-bg {
  background-color: #F2E7DC !important;
}

/* -------- */

* {
  font-family: 'Urbanist', Helvetica, Arial, sans-serif;
}

h1 {
  font-family: 'Galavant';
}
a:link {
  color: #000;
  text-decoration: none;
}
a:visited {
  color: #000;
}
a:hover {
  color: #33f;
}
.button {
  background: -webkit-linear-gradient(top, #008dfd 0, #0370ea 100%);
  border: 1px solid #076bd2;
  border-radius: 3px;
  color: #fff;
  display: none;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
  padding: 8px 25px;
  text-align: center;
  text-shadow: 1px 1px 1px #076bd2;
  letter-spacing: normal;
}
.center {
  padding: 10px;
  text-align: center;
}
.final {
  color: black;
  padding-right: 3px;
}
.interim {
  color: gray;
}
.info {
  font-size: 14px;
  text-align: center;
  color: #777;
  display: none;
}
.right {
  float: right;
}
.sidebyside {
  display: inline-block;
  width: 45%;
  min-height: 40px;
  text-align: left;
  vertical-align: top;
}
#headline {
  font-size: 40px;
  font-weight: 300;
}
#info {
  font-size: 20px;
  text-align: center;
  color: #777;
  visibility: hidden;
}
#results {
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
  min-height: 150px;
}
#start_button {
  border: 0;
  background-color: transparent;
  padding: 0;
}

/* ----- */

#tempRecognition,
.testers {
  width: 100%;
  display: block;
}

.responsive-image {
  width: auto;
  max-height: 100%;
  max-width: 100%;
}

/* debug */
#debug-div {
  display: none;
}
#debug-div.debug-visible {
  display: block;
}
#bt-debug {
  width: 100%;
  text-align: center;
  padding: 25px;
  position: absolute;
  z-index: 5;
  top: 90%;
}
.hiddendiv {
  display: none;
}

div#tests-container {
  text-align: center;
  padding: 32px;
}

#debug-div {
  background-color: #000000;
  border: 9px solid #ccc;
  width: 95%;
  margin: 0 auto;
  font-family: "Courier New" !important;
  color: #fff;
}

.debug-column {
  float: left;
  width: 44%;
  padding: 3%;
}

.debug-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.clearer {
  display: block;
  clear: both;
  width: 100%;
  height: 0;
}

.final {
  color: white;
}
.interim {
  color: #ccc;
}
.info {
  font-size: 14px;
  text-align: center;
  color: #777;
}

#tempRecognition {
  width: 95%;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  border: 2px solid #333;
  padding: 16px;
}
.testers.scrollable {
  height: 250px;
  overflow-y: auto;
}

#recognition-result {
  max-height: 150px;
  overflow-y: auto;
}

#activeMic,
#audioContextSupport,
#setsinkidSupport {
  padding: 25px;
  border: 1px solid #666;
  display: block;
}

/* OFF CANVAS */
.offcanvas-active {
  overflow: hidden;
}

.screen-overlay {
  width: 0%;
  height: 100%;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(34, 34, 34, 0.6);
  transition: opacity 0.2s linear, visibility 0.1s, width 1s ease-in;
}
.screen-overlay.show {
  transition: opacity 0.5s ease, width 0s;
  opacity: 1;
  width: 100%;
  visibility: visible;
}

.offcanvas {
  width: 350px;
  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.2s;
  border-radius: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1200;
  background-color: #fff;
  overflow-y: scroll;
  overflow-x: hidden;
}

.offcanvas-full {
  width: 100%;
}

.offcanvas.offcanvas-right {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

.offcanvas.offcanvas-full {
  left: 0;
  right: auto;
  transform: translateY(0);
  transform: translateX(0);
  opacity: 0;
  visibility: hidden;
}

.offcanvas.offcanvas-audio, .offcanvas.offcanvas-gain {
  width: 100%;
  /* top: 100%; */
  left: 0;
  right: auto;
  transform: translateY(100%);
  /* transform: translateX(0); */
  visibility: hidden;
}

.offcanvas.show {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.2s;
}

.offcanvas.offcanvas-full.show {
  /* visibility: visible; */
  transition: all 1s;
  opacity: 1;
}

.offcanvas.offcanvas-audio.show, .offcanvas.offcanvas-gain.show {
  /* visibility: visible; */
  transition: all .5s;
  opacity: 1;
  transform: translateY(50%);
}

.offcanvas .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  opacity: 1;
  transform: scale(1.2);
}

a.page-menu-item {
  text-transform: uppercase;
  color: #001457;
  padding-left: 20%;
  cursor: pointer;
}
a.page-menu-item .page-menu-img {
  position: relative;
  z-index: 5;
}
a.page-menu-item::after {
  content:"";
  position:absolute;
  width:40px;
  height:40px;
  background-color: #f0e7de;
  border-radius:25px;
  z-index: 0;
  left: 76px;
  top: 11px;
}

a#openTuto {
  cursor: pointer;
}

.page-menu-item img {
  margin-right: 7px;
}

.list-group-item {
  border-width: 0 !important;
}

.bigfont .list-group-item {
  font-size: 1.1em;
}

/* Tuto & audio */
/* p.script-font::before {
  content: "";
  display: block;
  position: absolute;
  width: 80px;
  height: 80px;
  top: -71px;
  left: 27%;
  background: url(/assets/images/icone-information-grey.png) center center no-repeat;
  background-size: contain;
} */

p.script-font {
  /* font-family: "Caveat", cursive; */
  color:#333333;
  font-weight: 600;
  font-size: 20px !important;
  /* transform: rotate(-5deg); */
  line-height: 1.3em !important;
  position: relative;
  /* margin-top: 100px; *//*espace icone info */
}

p.script-font b {
  font-family: 'Galavant';
  color:#333333;
  font-weight: 400;
  font-size: 25px !important;
  padding: 17px 0;
  display: inline-block;
}

p.script-font span.highlight-eli {
  font-family: 'Galavant';
  color:#333333;
}

a.audioutput-menu-item {
  text-transform: uppercase;
  display: inline-block;
  font-weight: 600;
}
#audioMenu, #gain-content {
  padding: 30px 150px 30px 100px;
}

.tuto-stretch {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

#tuto-headimg {
  text-align: center;
}

#tutorial-content h1,
#tutorial-content h2 {
  color: rgb(0, 56, 149);
  text-align: center;
}

#tutorial-content {
  text-align: center;
  width: 50%;
  margin: 0 auto;
}

#tutorial-content p {
  font-size: 20px;
  padding: 2px 0;
  line-height: 1.4em;
}

#tutorial-content.full-tutorial p {
  font-size: 16px;
  padding: 14px 0;
}

#tutorial-content h1,h2,h3,h4,h5 {
  font-weight: 600;
}

#tutorial-content .tadam {
  display: block;
  margin: 15px auto 0 auto;
  width: 100px;
  height: auto;
  margin-bottom: 50px;
  overflow: hidden;
}

#tutorial-content .tadam img{
  max-width: 100%;
}

.troubleshooting a {
  text-decoration: underline;
  display: block;
  color: #003996;
  font-weight: 600;
}

.troubleshooting {
  margin-top: 100px;
}

button#btn-tutoclose,button.greenbtn{
  background-color: #56E39F;
  height: 60px;
  color: #000;
  font-size: 18px;
  border-radius: 30px;
  letter-spacing: 0.03em;
  transition: all 0.15s;
  /* line-height: 44px; */
}
button#btn-tutoclose:hover {
	background-color: #37EC95;
}


@media screen and (max-width: 768px) {
  #tutorial-content, #audioMenu, #gain-content {
    padding: 0 30px;
  }
}

@media screen and (max-width: 1080px) {
  #tutorial-content {
    width: 98%;
  }
}


