@font-face{
	font-family: Rubric;
	font-style: normal;
	font-weight: normal;
	src:url(../fonts/Cabin-Bold.ttf);
}

* {
  /*margin: 0;*/
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
}

.wrapper {
  /*height: 100%;*/
  height:95%;
  display: flex;
  flex-direction: column;
}

h1, h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: normal;
  padding: 0.5rem 0 0 0;
}

.main-controls {
  /*padding: 0.5rem 0;*/
  padding:0px;
}

canvas {
  width: 100%;
 /* height: 20px;*/
 height:0px;
  display: block;
  margin-bottom: 0.5rem;
  visibility:hidden;
}

#buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#buttons button {
  border-radius:4px;
  font-size: 1rem;
  width: calc(50% - 0.25rem);
  height:40px;
}

#buttons button {
	font-family:Rubric;
  font-size: 1rem;
  background:#9BDD4A;
  border-radius:10px;
  text-align: center;
  color: #000;
  border:3px solid #fff;
  transition: all 0.2s;
  padding: 5px;
  line-height:0px;
}

#buttons button:hover, #buttons button:focus {
  box-shadow: inset 0px 0px 10px rgba(46, 26, 2, 1);
  background: #74D030;
}

#buttons button:active {
  box-shadow: inset 0px 0px 20px rgba(0,0,0,0.5);
  transform: translateY(2px);
}


/* Make the clips use as much space as possible, and
 * also show a scrollbar when there are too many clips to show
 * in the available space */
.sound-clips {
	/* margin-top:20px; */
  flex: 1;
  overflow: auto;
  overflow-x: hidden;
  padding:20px;
  margin-left:9px;
  background: #9BDD4A;
  border: 3px solid #fff;
  border-radius: 10px;
  max-width: 400px;
  margin: auto;
  width: 100%;
}

/******Scroll Function****************/
.sound-clips::-webkit-scrollbar {
    width: 9px;
    /*border: 1px solid #0088cc;*/
    background: #fff;
    border-radius: 24px;
}


.sound-clips::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
.sound-clips::-webkit-scrollbar-thumb {
	background: #2e1a02;
	border-radius: 24px;
    outline: 1px solid slategrey;
	cursor:pointer;
}

-webkit-scrollbar-thumb::hover {
	background: #a52222;
	border-radius: 24px;
    outline: 1px solid slategrey;
	cursor:pointer;
}

section, article {
  display: block;
}

.clip {
  padding-bottom: 2rem;
}

audio {
  width: 100%;
  display: block;

}

.clip p {
	font-family:Rubric;
  display: inline-block;
  font-size: 1rem;
  margin: 10px 0 0 0;
}

.clip button {
	font-family:Rubric;
  font-size: 1rem;
  float: right;
}

button.delete {
	border-radius:4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  margin: 8px 0 0 0;
}

/* Checkbox hack to control information box display */

label {
  font-size: 3rem;
  position: absolute;
  top: 2px;
  right: 3px;
  z-index: 5;
  cursor: pointer;
}

input[type=checkbox] {
   position: absolute;
   top: -100px;
}

/* Toggled State of information box */
input[type=checkbox]:checked ~ aside {
  transform: translateX(0);
}

/* Cursor when clip name is clicked over */

.clip p {
  cursor: pointer;
}


audio::-webkit-media-controls-timeline{
	visibility:hidden;
	}

audio::-webkit-media-controls-time-remaining-display{
	visibility:hidden;
	}
	

/* Adjustments for wider screens */
@media all and (min-width: 800px) {
  /* Don't take all the space as readability is lost when line length
     goes past a certain size */
  .wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }
}


/* scroller arrows */

::-webkit-scrollbar-button:vertical:increment {
	background: url(../images/sb-bottom.png) no-repeat;
	background-position: bottom;
	  background-color: #d6dade;
}

/* Place The scroll down button at the bottom */
::-moz-scrollbar-button:vertical:increment {
	background: url(../images/sb-bottom.png) no-repeat;
	background-position: bottom;
	  background-color: #d6dade;
}
 
/* Place The scroll up button at the up */
::-webkit-scrollbar-button:vertical:decrement {
	background: url(../images/sb-top.png) no-repeat;
	background-position: middle;
	  background-color: #d6dade;
}

/* Place The scroll up button at the up */
::-moz-scrollbar-button:vertical:decrement {
	background: url(../images/sb-top.png) no-repeat;
	background-position: middle;
	  background-color: #d6dade;
}
