/* ----------------------------------------------
  Layout CSS for 320 width
 * ---------------------------------------------- */

@media only screen and (max-width: 767px){

  /* Fixed-width buttons on this breakpoint are too narrow for the fuller
     desktop button padding - keep it tight here to avoid clipping text. */
  .button {
    padding: 6px 8px;
  }

  .pages {
    align-items: left;
    font-size: 20px;
  }
  
  .pagesHeader {
    display: inline;
    font-weight: normal;
    font-size: 20px;
  }

  .categoriesHeader {
    display: inline;
    font-weight: normal;
    font-size: 20px;
  }

  .categoryButton {
    width: 100px;
    min-width: 100px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.2;
  }

  .pageButton {
    width: 100px;
    min-width: 100px;
    float: left;
    font-size: 13px;
    white-space: normal;
    line-height: 1.2;
  }
  

  .boardButton {
    width: 70px;
    margin: '5px 5px';
  }

  .categories {
    font-size: 18px;
  }

  .languages {
    display: flex;
    flex-direction: row;
    font-size: 16px;
  }

  .language {
    margin: 10px;
    width: 80px;
  }
  
  .languageDropdownTitle {
    width: 100px;
    font-size: 18px;
    margin: 5px auto;
  }

  .clueAndBoardButtons {
    display: flex;
    flex-direction: row;
  }
    
  .boardButtons {
    float: right;
    margin-right: 10px;
  }


  .singleClue {
    float:            left;
    padding:          4px 0px;
    font-size:        20px;
    font-weight:      bold;
    height:           30px;
    margin:           1px;
    width:            60%;
    background-color: transparent;
    border-color:     transparent;
    text-align:       center;
    vertical-align:   center;
    color:            red;
  }


  /* .LanguageDrowdown {
    font-size:        18px;
  } */

  .gameBoard {
    width: 95%;
    margin: 0px auto;
    text-align: center;
  }

/* ----------------------------------------------
  Square, square letter and square number CSS
  Different sizes depending on the number of squares in the grid
 * ---------------------------------------------- */

  /* Square */ 
  .square.large {
    height: 40px;
    width: 40px;
  }
  .square.medium {
    height: 31px;
    width: 31px;
  }
  .square.small {
    height: 25px;
    width: 25px;
  }

  .square_letter.large {
    font-size: 32px;
    top: -8px;
    left: -1px;
  }
  
  .square_letter.medium {
    font-size: 27px;
    top: -11px;
    left: -1px;
  }
  
  .square_letter.small {
    font-size: 24px;
    top: -13px;
    left: 0px;
  }
  
  /* Clue number */ 
  .square_clueNo.large {
    font-size: 20px;
    left: 3px;
    top: -9px;
    height: 10px;
  }
  
  .square_clueNo.medium {
    font-size: 18px;
    left: 2px;
    top: -10px;
    height: 9px;
  }
  
  .square_clueNo.small {
    font-size: 16px;
    left: 2px;
    top: -11px;
    height: 8px;
  }
  
  /* Dictionary page filter buttons */ 
  .dicfilterbutton  {
    width: 100px;
  }

  .feedbackTextArea  {
    height: 10em;
    width: 100%;
  }

}
