.warning {
	border: 2px solid #AAAA77;
	border-radius: 2px;
	padding: 5px;
	margin: 5px;
	display:inline-block;
	background-color: #DDDD00;
	font-weight:bold;
	width: auto;
}

body {
	margin:0px;
	background-color:black;
	color:white;
}


/*
 * Tones and tone-animations
 */


.singleToneDisplay {
  position:relative;
  font-size:200px;
  display: inline-block;
  width:0px;
  overflow:visible;
}

.singleToneDisplay .dummyTone{
	position: absolute;
	top:0;
	left:0;
	color:rgba(0,0,0,0);
}

.displayedTone {
  font-size:200px;
  position:absolute;
  top:0;
  left:-50%;
  color:white;
}

.singleToneDisplay,
.singleToneDisplay.scrollRight,
.singleToneDisplay.nextTone {
  transition: 0.75s cubic-bezier(0.770, 0.000, 0.175, 1.000),
              transform 1.25s cubic-bezier(0.770, 0.000, 0.175, 1.000);

  opacity: 0.4;
  left: 35%;
  transform: scale(0.4,0.4);
}

.singleToneDisplay.scrollLeft,
.singleToneDisplay.prevTone {
  transition: 0.75s cubic-bezier(0.770, 0.000, 0.175, 1.000),
              transform 1.25s cubic-bezier(0.770, 0.000, 0.175, 1.000);
  opacity: 0.4;
  left: -40%;
  transform: scale(0.4,0.4);
}

.singleToneDisplay.scrollIn,
.singleToneDisplay.currentTone {
  transition: 1.25s cubic-bezier(0.770, 0.000, 0.175, 1.000),
              transform 0.75s cubic-bezier(0.770, 0.000, 0.175, 1.000);
  opacity: 1;
  left: 0;
  transform: scale(1,1);
}

.singleToneDisplay.scrollOut.scrollLeft,
.singleToneDisplay.scrollOut.scrollRight,
.singleToneDisplay.scrollOut.prevTone,
.singleToneDisplay.scrollOut.nextTone {
  transition: 0.75s ease-in;
  opacity: 0;
  transform: scale(0,0);
  width:0px;
  color:red;
}

.displayedTone.tonePlayedCorrectly {
  transition: 1s ease-in-out, opacity 1.5s ease-in-out;
  opacity: 0;
  transform: scale(2,2);
  color:green;
}

.displayedTone.tonePlayedIncorrectly {
  transition: 1s ease-in-out, opacity 1.5s ease-in-out;
  opacity: 0;
  transform: scale(2,2);
  color:red;
}

.explanationDisplay .playedTone {
	font-size: 1.5em;
}


/*
 * Training Mode
 */

#contentWindow > div#trainingMode {
  background: linear-gradient(to bottom, #000000 0%,#2989d8 50%,#207cca 51%,#000000 100%);
}


/*
 * Challenge Mode
 */

#contentWindow > div#challengeMode {
  background: linear-gradient(to bottom, #000000 0%,#d82d2a 50%,#ca2620 51%,#000000 100%);
}

/*
 * About
 */

#contentWindow > div#about {
  padding-top:400px;
  overflow:auto;
  background: linear-gradient(to bottom, #000000 0%,#a2487e 50%,#953f71 51%,#000000 100%);
}

#contentWindow > div#about p {
  width: 800px;
}

#contentWindow > div#about p a {
  text-decoration: none;
  color: #2989d8;
}

/*
 * Settings
 */

#contentWindow > div#settings {
  background: linear-gradient(to bottom, #000000 0%,#909090 50%,#868686 51%,#000000 100%);
}

#contentWindow > div#settings tr {
    line-height: 1.5em;
}

#contentWindow > div#settings td {
    text-align: right;
    padding-right: 15px;
}

#contentWindow > div#settings td.chordName {
    text-align: left;
    padding-right: 20px;
    font-weight: bold;
}

#contentWindow > div#settings td input {
    margin: 0;
}


/*
 * Content window
 */

#contentWindow > div {
  width:100%;
  height: 100%;
  display:flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}

#contentWindow > div.hidden,
#contentWindow > div#about.hidden {
  transition: height 0.5s cubic-bezier(0.000, 0.575, 0.000, 1.010),
              opacity 0.5s cubic-bezier(1.000, -0.010, 1.000, -0.070);
  height: 0px;
  padding-top: 0;
  opacity: 0;
}

#contentWindow > div.visible {
  transition: opacity 0.75s linear;
  height: 100%;
  opacity: 1;
}


/*
 * Menu
 */

menu button {
  cursor: pointer;
  margin:0 20px;
  background: #5d5d5d;
  color:#e6e6e6;
  border-radius: 3px;
  box-shadow: 0px 0px 5px #dbdbdb;
  font-size: 17px;
  padding: 10px 20px 10px 20px;
  border: solid #555 2px;
  display:inline-block;
}

menu button.currentMenuEntry,
menu button:active  {
  color:#5d5d5d;
  background: #e6e6e6;
  box-shadow: 0px 0px 3px #3D3D38 inset, 0px 0px 1px 2px #2989d8;
}