@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
@import url(http://fonts.googleapis.com/css?family=Contrail+One);

body {
  margin: 0;
  padding: 0;
  font: 16px arial;
  width: 100%;
}

#container {
  width: 459px;
  background: #004B96;
  border-radius: 10px;
}

#gameTitle {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
}

#gameTitle h1 {
  margin: 0;
  font: 32px 'Din Display Pro Regular';
  font-weight: bold;
  color: white;
}

#gameMain {
  position: relative;
  height: 350px;
  width: 439px;
  margin: 10px;
  background: #fff;
  border-radius: 10px;
}

#gameControls {
  height: 60px;
  width: 439px;
  padding: 10px;
  margin: 0;
  color: #fff;
}

#gameComment {
  width: 339px;
  height: 60px;
  float: left;
}

#gameComment p {
  margin: 0;
  padding: 0;
}

#nextButtonHolder {
  width: 100px;
  height: 60px;
  float: right;
}

#questionTitle {
  height: 70px;
}

#questionTitle.black {
  background: #000;
  color: #fff;
}

#questionTitle h2 {
  font-size: 26px;
  font-weight: normal;
  font-family: 'Contrail One';
  margin: 0;
}

#questionMain {
  position: relative;
  overflow: hidden;
  height: 280px;
  width: 439px;
}

#questionMain button#startBtn {
  font-size: 32px;
  font-family: 'Din Display Pro Regular';
  margin-left: 120px;
  margin-top: 10px;
}

#roundName {
  width: 100%;
  position: absolute;
  top: 90px;
  text-align: center;
  font: 0px 'Din Display Pro Regular';
  color: #16A2DB;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
}

#roundName.expanded {
  letter-spacing: 0.2em;
  font-size: 40px;
}

#qoslogo {
  width: 250px;
  margin-left: 88px;
  border-radius: 15px;
}

/* Picture Board */

#pictureBoard {
  margin-left: 30px;
  position: absolute;
  top: 0px;
  left: 0px;
  -webkit-transition: top 0.3s linear;
  -moz-transition: top 0.3s linear;
}

#pictureBoard.offscreen {
  top: 500px;
}

.gridButton {
  display: block;
  width: 60px;
  height: 30px;
  font-size: 42px;
  font-family: 'Din Display Pro Regular';
  font-weight: bold;
  background: #CDCDCD;
  text-align: center;
  padding: 0px 10px 35px 10px;
  cursor: pointer;
  border: 5px solid #737373;
}

.gridButton.invisible {
  visibility: hidden;
}

#guessBox {
  font-size: 16px;
}

#questionMain button {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  background: #CDCDCD;
  border: 1px solid #CDCDCD;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
}

#pictureDiv img {
  margin-left: 25px;
  display: block;
}

#pictureDiv input[type="text"] {
  margin-left: 50px;
  margin-top: 20px;
}

#questionTitle h2 {
  text-align: center;
  padding-top: 20px;
}

.nextButton {
  float: right;
  margin-right: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  background: #CDCDCD;
  border: 1px solid #CDCDCD;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
}

.hidden {
  display: none;
}

#pictureDiv {
  position: absolute;
  top: 0px;
  left: -500px;
  -webkit-transition: left 0.3s linear;
  -moz-transition: left 0.3s linear;
}

#pictureDiv.shown {
  left: 0px;
}

#pictureDiv.right {
  left: 500px;
}

#pic1 { border-top-left-radius: 30px }
#pic4 { border-top-right-radius: 30px }
#pic9 { border-bottom-left-radius: 30px }
#pic12 { border-bottom-right-radius: 30px }

/* auto complete */
.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  /* add padding to account for vertical scrollbar */
  padding-right: 20px;
}
* html .ui-autocomplete {
  height: 200px;
}

/* home or away */

#homeOrAway, #questionDiv {
  width: 399px;
  height: 240px;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 20px;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
}

#homeOrAway.below {
  top: 500px;
}

#questionDiv.left {
  left: -500px;
}

#questionDiv.right {
  left: 500px;
}

#homeOrAway button {
  display: block;
  margin : 20px 150px;
}

#homeOrAway p {
  font-weight: bold;
  padding: 20px 0;
  text-align: center;
  display: block;
}

#questionDiv button {
  display: block;
  margin: 5px 0;
}

#questionDiv p {
  margin: 0 0 1em 0;
}

/* 60 second round */

#question60 {
  width: 399px;
  height: 180px;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 20px;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  
}

#answer60 {
  position: absolute;
  top: 203px;
  left: 80px;
  font-size: 16px;
}

#submitButton60 {
  position: absolute;
  top: 200px;
  left: 170px;
  font-size: 16px;
}

#passButton {
  position: absolute;
  top: 200px;
  left: 280px;
}

#answerOrPass60 li {
  cursor: pointer;
}

/* true of false round */
#questionTrueOrFalse {
  width: 399px;
  height: 180px;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 20px;
}

#trueButton {
  position: absolute;
  top: 200px;
  left: 150px;
}

#falseButton {
  position: absolute;
  top: 200px;
  left: 220px;
}

#tofReason {
  margin-top: 4em;
  color: #004B96;
}

.correct {
  /* if color by correctness */
}

.wrong {
}

/* video round */
#videoQuestionHolder {
  position: relative;
}


.video {
  width: 399px;
  height: 240px;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 20px;
}

.video button {
  display: block;
  margin: 5px 0;
}

.video p {
  margin: 0 0 1em 0;
}

.videoIframe {
  position:absolute;
  left:-1px;
  top: -1px;
}

#questionMain button.difficulty {
  margin: 100px 0 20px 100px;
}

/* mystery guest round */

#guestDiv img {
  height: 200px;
  margin-left: 30px;
}

#guestAnswerBox button {
  font-size: 14px;
  margin: 15px 5px 5px 5px;
}

/* results */

.resultPic {
  margin-left: 30px;
}

.resultText {
  margin-left: 100px;
}

/* Button fixes */
button::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="reset"]::-moz-focus-inner {
  padding: 0 !important;
  border: 0 none !important;
}

button {
  margin: 2px;
}

button#nextGuestPic{
  margin-left: 60px;
}

#gameComment button {
  font-size: 16px;
  font-weight: bold;
  color: black;
  background: #CDCDCD;
  border: 1px solid #CDCDCD;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
}

button#fb_link {
  background: #3B5998;
  border: 1px solid #3B5998;
  color: #fff;
}

button#tw_link {
  background: #0094C2;
  border: 1px solid #0094C2;
  color: #fff;
}

/* IE button size bug fix */

button {
  padding: 0 .25em;
  overflow: visible;
}