/* CSS for adding content example */

/* .class uses period    class="myClass"  */
/* #id    uses hashtag   id="myObjId" */

/* globallly visible color variables */
:root {
  --bg-main-color: #5591a9;

  --btn-enabled-color-bg:  #4581f1;
  --btn-enabled-color-fg:  #f4fafa;
  --btn-enabled-color-border: #23b7e5;

  --btn-in-progress-color-bg:  #1a4188;
  --btn-in-progress-color-fg:  #d0e1ec;
  --btn-in-progress-color-border: #23b7e5;

  --btn-disabled-color-bg:  #6b7b99;
  --btn-disabled-color-fg:  #1b303f;
  --btn-disabled-color-border: #0e313b;

  --bg-tbl-header-color: #f59a44;
  --bg-tip-message-color: #ced7e0;
  --border-tbl-color: rgb(65, 26, 4);
  --fg-info-color: #0c0e16;
  
  --btn-green: #208525;
  --btn-yellow: #a59c18;  /* was #8f8715, switched on 10/28/23 */
  --btn-black: #22200b;
  --btn-avail: #6b6a5d;
  --btn-tan: #e4dbe6;

  --bg-tip-message-color: #90aa62;
  --fg-tip-message-color: #012006;
}

/* makes sure padding/border included in total height/width of elements */
* {
  box-sizing: border-box;
}

/* bg-main-color also used for update .lblInfo and .catDisabled (blend with background) */
body {
  background-color: var(--bg-main-color);
}

/*input, label{
  display: inline-block;
  vertical-align: middle;
  margin: 10px 0;
}*/

/* used for tomharron.com image */
.columnLeft {
  float: left;
  width: 30%;
  padding: 4px;
}
/* used for outer space image */ 
.columnRight {
  float: left;
  width: 70%;
  padding: 4px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}
/* for dice images on the dice buttons */
img {
  border-radius: 4%;
  display: inline-block;
}

h1, h3 {
  clear: left;
  /* width: 500px; */
  color: #5a514c;
  text-align: left;
}

p {
  clear: none;
  /* width: 1000px; */
  color: #5a514c;
  text-align: left;
}

/* these are independent of @media settings */
  /* hide the terminate (X button) on all UI Dialog boxes */
  .ui-dialog-titlebar-close {
  visibility: hidden;
}

/* class defintion wordsDialog (displays generated HTML) */
/* this is used by all sized devices */
.wordsDialogClass {
  width: 1px;
  white-space: nowrap;
}

/************************************************/
/* Extra small devices (phones, 600px and down) */
/* @media only screen and (max-width: 600px) { */

  /* class for table on the High Score dialog */
  .dialogTable    { border-collapse: collapse; width: 95%; }
  .dialogTable td { padding: 3px; font-size: 0.6em }
  .dialogTable th { background-color: var(--bg-tbl-header-color); font-size: 0.8em;}

  table {
    font-family: arial, sans-serif;
    width: 100%;
    border: 2px solid;
    border-color: var(--border-tbl-color);
    border-collapse: collapse;   /* adjoining cells share border */
    border-spacing: 1px;
  }
  th {
    border: 2px solid;
    border-color: var(--border-tbl-color);
    text-align: left;
    padding: 0px;
    font-size: 0.7em;
  }
  td {
    border: 2px solid;
    border-color: var(--border-tbl-color);
    padding: 1px;
    line-height: .6em;
  } 
  
  td:nth-child(1) { width: 27%; }
  td:nth-child(2) { width: 18%; }
  td:nth-child(3) { width: 0%;  }
  td:nth-child(4) { width: 37%; }
  td:nth-child(5) { width: 18%; }

  /* class=lblJokeBodyClass (phone) */
  .lblJokeBodyClass {
    font-size: 1.1em;
    height: 4em;        /* makes it a 3-line label on phone */
    display: block;     /* inline-block;   /* respects width, height, margins, paddings */

    background-color: var(--bg-tip-message-color);
    color: #03490d;
    width: 98%;
    border-radius: 3px;  
    border-top: 2px;
    border-bottom: 1px;
  }

/* } /* END - Extra small devices (phones, 600px and down) */



/************************************************/
/* Medium devices (landscape tablets, 768px and up) */
/*
@media only screen and (min-width: 768px) {
  .example {background: blue;} 
} 
*/
/* END - Medium devices (landscape tablets, 768px and up) */


/************************************************/
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  /* class for table on the High Score dialog */
  .dialogTable { border-collapse: collapse; width: 100%; }
  .dialogTable td { padding: 5px; font-size: 1.2em }
  .dialogTable th { background-color: var(--bg-tbl-header-color); font-size: 1.0em;}
  
  table {
    font-family: arial, sans-serif;
    width: 100%;
    border: 3px solid; 
    border-color: var(--border-tbl-color);
    border-collapse: collapse;   /* adjoining cells share border */
    border-spacing: 2px;
  }
  th {
    border: 3px solid;
    border-color: var(--border-tbl-color);
    text-align: left;
    padding: 2px;
    font-size: 1.0em;
  }
  td {
    border: 3px solid;
    border-color: var(--border-tbl-color);
    padding: 2px;
  } 
  
  td:nth-child(1) { width: 25%; }
  td:nth-child(2) { width: 17%; }
  td:nth-child(3) { width: 0%;  }
  td:nth-child(4) { width: 42%; }
  td:nth-child(5) { width: 16%; }

  /* class=lblJokeBodyClass (laptop) */
  .lblJokeBodyClass {
    font-size: 1.3em;
    height: 3.5em;           /* makes it a 1-line label on laptop */
    display: inline-block;   /* respects width, height, margins, paddings */
    background-color: var(--bg-tip-message-color);
    color: #03490d;
    width: 98%;
    border-radius: 3px; 
  }

}   /* END - Large devices (laptops/desktops, 992px and up) */


/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) { */
  /* .example {background: pink;} */
/* } Extra large devices (large laptops and desktops, 1200px and up)  */

#leftContainer {
  float:left;
}
#rightContainer {
  float:right;
}
.titleStyle {
  /* background-color: var(--btn-in-progress-color-bg); */
  color:  #100963;
  /* position: absolute; */
  font-size: 1.5em;
  height: 4em;        /* makes it a 3-line label on phone */

  /* left: 100px;
  top: 150px; */
  font-weight: bold;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
.loadingSecretWordStyle {
  /* if you want blinking, use this
  animation: blinker 1s step-start infinite; */
  color:  #0c0d0e;
  /* position: absolute; */
  font-size: 1.1em;
  height: 4em;        /* makes it a 3-line label on phone */
  font-weight: bold;
}

.keyboardButtonGreen {
  background-color: var(--btn-green);
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 14px;
}
.keyboardButtonYellow {
  background-color: var(--btn-yellow);;
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 14px;
}
.keyboardButtonBlack {
  background-color: var(--btn-black);
  color:  #606160;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 14px;
}
.keyboardButtonAvail {
  background-color: var(--btn-avail);
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 14px;
}


.gridButtonGreen {
  background-color: var(--btn-green);
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.gridButtonYellow {
  background-color: var(--btn-yellow);;
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.gridButtonBlack {
  background-color: var(--btn-black);
  color:  #cbd6cb;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.gridButtonTan {
  background-color: var(--btn-tan);
  color:  #606160;
  position: absolute;
  left: 100px;
  top: 150px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}


/* buttons available for clicking (Share, How To Play, etc.) */
.btnEnabled {
  background-color: var(--btn-enabled-color-bg);
  color: var(--btn-enabled-color-fg);
  width: 105px;
  min-width: 130px;
  padding: 3px 1px;
  margin: 1px 0;
  position: absolute;     /* need for 'top' to be set programmatically */
  /* display: inline-block; */
  border-radius: 5px;
  border-color: var(--btn-enabled-color-border);

  font-family: 'Open Sans', arial, sans-serif;
  font-size: 1.0em;
  font-style: normal;
  font-weight: 550;
  line-height: 1.1em;
  letter-spacing: -0.02em;
}
.btnInProgress {
  background-color: var(--btn-in-progress-color-bg);
  color: var(--btn-in-progress-color-fg);
  width: 10%;
  min-width: 130px;
  padding: 3px 1px;
  margin: 1px 0;
  position: absolute;

  border-radius: 5px;
  border-color: var(--btn-in-progress-color-border);

  font-family: 'Open Sans', arial, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  font-weight: 550;
  line-height: 1.0em;
  letter-spacing: -0.02em;
}
.btnDisabled {
  background-color: var(--btn-disabled-color-bg);
  color: var(--btn-disabled-color-fg);
  width: 105px;
  min-width: 130px;
  padding: 3px 1px;
  margin: 1px 0;
  position: absolute;

  border-radius: 5px;
  border-color: var(--btn-disabled-color-border);

  font-family: 'Open Sans', arial, sans-serif;
  font-size: 1.0em;
  font-style: italic;
  font-weight: 550;
  line-height: 1.1em;
  letter-spacing: -0.02em;
}
.btnServicesEnabled {
  background-color: var(--btn-enabled-color-bg);
  color: var(--btn-enabled-color-fg);
  width: 15%;
  min-width: 150px;
  padding: 3px 2px;
  margin: 4px 0;
  border-radius: 5px;
  border-color: var(--btn-enabled-color-border);

  font-family: 'Open Sans', arial, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  font-weight: 550;
  line-height: 1.0em;
  letter-spacing: -0.02em;
  /*display: inline-block;*/
  float: left;
  margin: 5px; 
}
.btnServicesDisabled {
  background-color: var(--btn-disabled-color-bg); 
  color: var(--btn-disabled-color-fg);
  width: 15%;
  min-width: 150px;
  padding: 3px 2px;
  margin: 4px 0;
  border-radius: 5px;
  border-color: var(--btn-disabled-color-border);

  font-family: 'Open Sans', arial, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  font-weight: 550;
  line-height: 1.0em;
  letter-spacing: -0.02em;
  /*display: inline-block;*/
  float: left;
  margin: 5px; 
}

/* id=lblTipMessage */
.lblTipMessage {
  font-size: 1.0em;
  height: 2.35em;       /* makes it a 2-line label on phone */
  position: absolute;       /* inline-block;   /* respects width, height, margins, paddings */

  background-color: var(--bg-tip-message-color);
  color: var(--fg-tip-message-color);
  /* width: 30%; */
  border-radius: 3px;  
  border-top: 3px;
  border-bottom: 1px;
}

.lblTitle {
  color: #081609;
  width: 50%;
  min-width: 150px;
  padding: 3px 2px;
  margin: 4px 0;
  display: inline-block;

  font-family: 'Arial';
  font-size: 1.1em;
  font-style: normal;
  font-weight: 600;
  line-height: 1.0em;
  letter-spacing: -0.02em;
}

/* class=lblTOm */
.lblJokeTitleClass {
  color: #081609;
  width: 50%;
  min-width: 150px;
  padding: 3px 2px;
  margin: 4px 0;
  display: inline-block;

  font-family: 'Arial';
  font-size: 1.2em;
  font-style: normal;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: -0.02em;
}

.lblDesc {
  color: #081609;
  width: 50%;
  min-width: 150px;
  padding: 3px 2px;
  margin: 4px 0;
  display: inline-block;

  font-family: 'Arial';
  font-size: 1.0em;
  font-style: italic;
  font-weight: 500;
  line-height: 1.1em;
  letter-spacing: -0.02em;
}
