body {
  background-color: #a09591;
  background-image: url("../images/textures/leather-12.jpg");
  background-repeat: repeat;
  background-size: auto;
  margin: 0px;
}

div.header-container {
  background-color: #2f2921;
  padding: 0px 8px;
  font-size: 20px;
  font-weight: 100px;
}

span.header-title {
  font-family: Skranji, "Helvetica Neue", Arial, Helvetica, sans-serif;
}

span.header-title a {
  text-decoration: none;
}

span.header-title a:link, span.header-title a:visited {
  color: #c7c3c2;
}

img#quiz-logo {
  vertical-align: -2px;
}

div.body-container {
  /*width: 400px;*/
  margin: 0 auto;
  padding: 10px;
}
div.content-container {
  font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
  display: flex;
  flex-direction: column;      
  align-items: center;
  justify-content: center;     
}    
div.content {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;      
  margin: 10px;        
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;         
}
div.card-title {
  font-size: 32px;
  font-weight: bold;
  color: #f3e6e6;
}

div.card-image-border {
  width: 320px;
  height: 446px;      
  margin-top: -2px;
  padding: 5px;
  background-color: #1a1924;
  border: 2px solid;
  border-radius: 18px;
}     
div.card-image {
  position: relative;
  padding: 25px;
}

div.overlay {
  height: 100%;
  position: absolute;      
  top: 0;
  left: 0; 
  z-index: 5;
  padding: 0px;
  color: black;
}    

div.overlay.card-image {
  height: 88%;
  width: 84%;      
  border-radius: 5px;
  margin: 28px 29px;
  background-repeat: no-repeat;
  background-position: center;        
}

div.overlay.loading {
  background-image: url("../images/loading.gif");    
}

div.overlay.hide-card {
  background-image: url("../images/card-back-guess.jpg");
} 

div.overlay.hide-card.while-loading {
  background-image: url("../images/card-back.jpg");    
}

div.overlay.dimmed {
  opacity:0.4;      
}         
div.card-image > img {
  max-width: 320px;
  max-height: 446px;
  z-index: 1;
}
div.card-flavor-text {
  width: 500px;
  height: 180px;
  padding: 10px;
  border-radius: 5px;
  font-family:  'Noto Serif', Georgia, serif;
  font-style: italic;  
  font-size: 22px;
  line-height: 1.25em;  
  background-color: #b1a39c;
  border: 0px solid #000000;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .3);      
}
div.button-container {
  width: 500px;
  height: 50px;
}
button.action-button {
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  height: 30px;
  min-width: 4.5em;
  margin: 0 4px 0 4px;      
  padding: 4px 10px 26px 10px;
  background-color: #c3bbb7;
  color: #5a5451;
  border-color: #635a56;   
  border-style: solid;   
}

@-moz-document url-prefix() {
  button.action-button {
    padding: 0;
    height: 34px;
  }
}

button.action-button:disabled {
  color: #9a8e88;
  border-color: #9a8e88;
}

button.action-button:focus {
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(126,174,240,.7);
  border-radius: 2px;  
}

div.overlay-clue {
  z-index: 10;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  background-color: rgba(0,0,0,.5);
}

div.card-clue {  
  color: #09b309;
  font-weight: bold;
  background-color: rgba(0,0,0,.9);
  padding: 8px;
  border-radius: 4px;  
  width: 90%;
  margin: 3px;
  visibility: hidden;
  overflow: hidden;
}

div.card-clue img {
  margin-top: -1em;
  margin-left: 110px;  
  position: absolute;
}

div.card-clue.two-clues {
  margin: 8px 0px;
  min-height: 3em;
  max-height: 48px;
}

div.card-clue.three-clues {
  margin: 8px 0px;
  min-height: 3em;
  max-height: 48px;
}

/*
div.card-clue.three-clues {
  height: 27%;
}
*/

input.input-guess:disabled {
  background-color: #e6e6e6
}

input.input-guess:focus {
  outline-color: #719ECE;
  outline-width: 1px;  
}