
/* prevent horizontal scroll-wiggle */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


#lastMinuteMessage {
    display:none;
    text-align:center;
    font-size:45px;
    font-weight:bold;
    width:100%;
}

#puzzleNumber {
    float:left;
    margin-left:1%;
    margin-top:1%;
}

#info {
    float:right;
    padding-top:0;
    margin-right:1%;
    margin-top:1%;
}

@media all and (max-width: 1040px) { /* mobile; why so large? */    
    /*
    body {
	font-family: "Roboto Flex", "Roboto", "Noto Aans", Arial;
	font-style: normal;
    }
    */
        
    #info {
	    width:6%;
    }
    #puzzleNumber {
	    width:5%;
	    font-size:45px;
    }
    #MessageBody {
        padding:2%;
        width:90%;
    }
    #MessageText, #addWordButton, #YesterdayQuote, #YNHeaderTitle, #YNHeaderSubtitle, #YesterdaysStatisticsText, #YesterdaysStatisticsTable {
        font-size:30px;
    	font-size:45px;
    }
    #guessInputText {
        font-size:65px;
    }
    #HeadingRow {
        height:80px;
    }
    .Heading {
        height:80px;
	    font-size:55px;
    }

    #emojiDisplay {
        height:80px;
        font-size:55px;
    }
    
    .guess, .guessNumber, .guessTD, .guessNumberTD, .numberedGuess  {
	font-size:35px;
    }
    #MeaningHintText, #LettersHintText, #giveUpText, #giveUpSolution, #recruitHelpText, #recruitHelpTextBox {
	font-size:35px;
    }
    #MeaningHintLabel, #LettersHintLabel {
        font-size:35px;
    }
    #timeLeft {
        font-size:35px;
    }
    .past-progress span {
	font-size:35px;
    }
    .animated-progress span {
	font-size:35px;
    }
    #shareButton {
	font-size:45px;
    }
    #Explanation, #WeatherReportTitle, #WeatherReportBody, #TodaysFindsTitle, #TodaysFindsBody, #YesterdaysNewsTitle, #YesterdaysNewsBody, #TodaysAuthorTitle, #TodaysAuthorBody, .AccordionTitle, #awardsPanel, #AwardsText, .awardTextNumber, .awardTextSolution, #AwardsRating {
	font-size:45px;
    }
    #WeatherReportImage {
	height:20%;
	width:20%;
    }
    #WeatherReportText { 
	width: 77%;
    }
    #TodaysAuthorImage {
	width:20%;
    }
    #TodaysAuthorText {
	width:77%;
    }

    #YesterdaysNewsText, #TodaysFindsText {
	width:100%;
    }
}

@media all and (min-width: 1040px) { /* desktop */
    #info {
	width:2%;
    }
    #puzzleNumber {
	width:3%;
	font-size:25px;
    }
    #MessageBody {
    	width:50%;
	    padding:2%;
    }
    #MessageText, #addWordButton, #YesterdayQuote, #YNHeaderTitle, #YNHeaderSubtitle, #YesterdaysStatisticsText, #YesterdaysStatisticsTable {
        font-size:30px;
    }
    #guessInputText {
        font-size:45px;
    }
    .HeadingRow {
        height:55px;
    }
    .Heading {
	    font-size:35px;
        height:55px;
    }
    #emojiDisplay {
        font-size:35px;
    }
    
    .guess, .guessNumber, .guessTD, .guessNumberTD, .numberedGuess {
	font-size:30px;
    }
    #MeaningHintText, #LettersHintText, #giveUpText, #giveUpSolution, #recruitHelpText, #recruitHelpTextBox {
        font-size:30px;
    }
    #MeaningHintLabel, #LettersHintLabel {
        font-size:30px;
    }
    #timeLeft {
        font-size:15px;
    }
    .past-progress span {
	font-size:25px;
    }
    .animated-progress span {
	font-size:25px;
    }
    #shareButton {
	font-size:30px;
    }
    #Explanation, #WeatherReportTitle, #WeatherReportBody, #TodaysFindsTitle, #TodaysFindsBody, #YesterdaysNewsTitle, #YesterdaysNewsBody, #TodaysAuthorBody, .AccordionTitle, #awardsPanel, #AwardsText, .awardTextNumber, .awardTextSolution, #AwardsRating {
	font-size:30px;
    }
    #WeatherReportImage {
	height:10%;
	width:10%;
    }
    #WeatherReportText {
	padding-top:1%;
	width: 87%;
    }
    #TodaysAuthorImage {
	width:10%;
    }
    #TodaysAuthorText {
	padding-top:1%;
	width: 87%;
    }    
    #YesterdaysNewsText, #TodaysFindsText {
	width: 100%;
    }
}

/******* NOT DEVICE SPECIFIC *******/

#infoLink {
    margin-top:0;
}

a:link {
    text-decoration:none;
}

#HeadingTable {
    width: 100%;
    padding-top:2%;    /* was 3 */
    padding-bottom:2%; /* was 2 */
    display:none;
    table-layout:fixed;
    /* border:1px solid black;  temp */
}

#HGLine {
    display:none;
    padding-top:1.5%;
    padding-bottom:1.5%;
    width:100%;
}

.HeadingRow {
    width:100%;
    /* border:1px solid black;  temp */
}

.HeadingColumn_UNUSED {
    width:50%;
}

.Heading {
    text-align:center;
    width:50%;
    font-weight:100;
    /* border:1px solid black;  temp */
}

#emojiDisplay {
    width:10%;
    white-space:nowrap;
    opacity:0;
    text-align:center;
    vertical-align: middle;
    height:100%;
    /* border:1px solid black;   temp */
}

.guessTable {
    width:100%;
    border-collapse:collapse;
}

#lastGuessTable {
    padding-top:1%;
}

.guessRow {
    width:100%;
}

.semGuessNumberTD {
    min-width:5%;
    text-align:right;
}

.lexGuessNumberTD {
    min-width:5%;
    text-align:right;
}

.guessTD {
    min-width:20%;
    text-align:left;	
}

.progressTD {
    width:29.75%;
}

.numberedProgressTD {
    width:24.75%;
}

.spacerTD {
    width:0.5%;
    background-color:black;
    height:100%;
    padding:0;
}

#Message_OLD {
    margin: auto;

    text-align:center;
    background-color:#FFEFEF; 
    border-radius:15px;
    border-style:solid;

    margin-top:3%;
    margin-bottom:2%;

    display:none; 
}

#Message2 {
    transition: max-height 0.3s ease-in;
}

#MessagePanel { /* to be transitioned to */
    margin: auto;
    text-align:center;

    position: relative;
    overflow: hidden;

    max-height:0px;
    border-width:0px;
    margin-top:0px;
    margin-bottom:0px;
    padding-top:0px;
    padding-bottom:0px;

    transition: max-height 0.2s ease-in-out;   
}

#MessageBody {
    margin: auto;

    margin-top:3%;

    text-align:center;

    background-color:#FFEFEF; 
    border-radius:15px;
    border-style:solid;
}

#MessageText {
    text-align:center;
}

#addWordArea {
    text-align:center;
}

#addWordButton {
    border-style:solid;
    border-color:#222222;
    background-color:#EFEFFF;
    color:black;
    text-align:center;
    display: table;
    margin: 0 auto;
    padding:10px;
    border-radius:10px;
}

#shareButton {
    border-style:solid;
    border-color:#229;
    background-color:#EFEFFF;
    color:black;
    text-align:center;
    display: table;
    margin: 0 auto;
    padding:10px;
    border-radius:10px;
}

#shareTextBox {
    background-color:#EFEFFF;
    border-style:solid;
    border-color:#229;
    text-align:left;
    padding:3%;
    border-radius:10px;
    display:none;
}

#recruitHelpTextBox {
    margin-left:10%;
    margin-right:10%;
    background-color:#EFEFFF;
    border-style:solid;
    border-color:#229;
    text-align:left;
    padding:3%;
    border-radius:10px;
    display:none;
}

#shareIcon {
    height:45px;
}

.guessNumber {
    padding-top:7.5px;
    line-height:50px;
}

.guess {
    padding-left:10%;
    padding-top:7.5px;
    line-height:50px;
    text-align:left;
}

.numberedGuess {
    padding-left:3%;
    padding-top:7.5px;
    line-height:50px;
    text-align:left;
}

.winningGuess {
    color: green;
    font-weight:bold;
}

.animated-progress {
    width: 90%;
    height: 50px;
    border-radius: 5px;
    margin: 5px 5px;
    border: 1px solid rgb(189, 113, 113);
    overflow: hidden;
    position: relative;
}
      
.animated-progress span {
    height: 100%;
    display: block;
    width: 0;
    color: rgb(255, 251, 251);
    line-height: 50px;
    position: absolute;
    text-align: end;
    padding-right: 3px;
}

.past-progress {
    width: 90%;
    height: 50px;
    border-radius: 5px;
    margin: 5px 5px;
    border: 1px solid rgb(189, 113, 113);
    overflow: hidden;
    position: relative;
}

.past-progress span {
    height: 100%;
    display: block;
    width: 0;
    color: rgb(255, 251, 251);
    line-height: 50px;
    position: absolute;
    text-align: end;
    padding-right: 3px;
}
      
.progress-blue span {
    background-color: blue;
}
.progress-green span {
    background-color: green;
}
.progress-purple span {
    background-color: indigo;
}
.progress-yellow span {
    background-color: #DCDC03;
    color:#151515;
    padding-right:13px;
}

.progress-red span {
    background-color: #F00F0F;
}

#guessInputText {
    margin-top:2%;
    margin-left:auto;
    margin-right:auto;
    padding:5px;

    display:block;
    width:40%;
    
    outline: 1px solid;
    outline-color:black;
    border-radius:10px;
}

#guessInputText:focus {
    outline: 1px solid;
    border-radius:10px;
    outline-color:black;
}

#Explanation {
    background-color:#EDEDFF; 
/*    background-color:rgba(255, 100, 100, 0.1); */
    border: 2px solid gray;
    border-radius: 10px;
    padding:2%;
    margin:5%;
    color: black;
    text-align:left;
    display:none;
    padding-bottom:1%;
}

/*
#WeatherReportTitle, #YesterdaysNewsTitle {
    text-align:left;
    margin-left:5%;
    margin-right:5%;
    margin-bottom:0.2%;
}
*/

#WeatherReportBody, #TodaysFindsBody, #YesterdaysNewsBody, #AwardsBody, #TodaysAuthorBody {

    /* doesn't seem to do anything
    display:flex;
    align-items:center;
    */
    
    border-left:2px solid gray;
    border-right:2px solid gray;
    border-top:0px;
    border-bottom:2px solid gray;

    border-radius:10px;

        /*
    margin-left:5%;
    margin-right:5%;
    margin-bottom:3%;
   */

    padding:2%;
    color:black;
    
    text-align:left;
    overflow:hidden;

/*    display:none; */
}

#WeatherReportImage, #TodaysAuthorImage {
    float:left; 
    
    /* vertical-align:middle; */

    margin-top:1%;
    border-radius:10px;
    border: 1px solid #111111;
}

#WeatherReportText, #TodaysAuthorText {
    float:right;
}

#rewardQuoteImage {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 14px 28px, rgba(0, 0, 0, 0.12) 0px 10px 10px;
    width: 60%;
    border: 2px solid gray;
    border-radius:10px;
    margin:auto;
    display:block;
    margin-top:3%;
    margin-bottom:5%;
}

#RewardQuote {
    /*  background-color:#EDFBFB; */
    background-color:rgba(210,230,255,0.3);
    
    border-radius:10px;
    padding:2%;
    border: 1px solid #333333;
}

.rewardQuoteLine {
    margin-left:6%;
    margin-right:4%;
    text-indent:-2%;
}

#rewardQuoteAttribution {
    margin-left:10%;
    margin-right:4%;
    text-indent:-2%;
}


#MeaningHint, #LettersHint, #giveUp {
    display:inline-block;
    width:100%;
    text-align:center;
}

#MeaningHintLabel, #LettersHintLabel, #giveUpText {
    border-style:solid;
    border-width:1px;
    border-color:#333333;
    padding:1%;
    border-radius:5px;
    background-color:#F5F5F5;
}

#MeaningHintText, #LettersHintText, #giveUpSolution {
    display:none;
    padding:1%;
    background-color:#111;
    border-radius:5px;
    font-weight: bold;
    padding-left:0px;
}

#recruitHelpShareIcon {
    height:35px;
}

#recruitHelpText {
    border-style:solid;
    padding:1%;
    border-radius:5px;
    background-color:#F5F5F5;
    border-color:#333333;
    border-width:1px;
    padding-top:1.5%;
}


#timeLeft {
    position: fixed;
    text-align:center;
    left: 0;
    bottom: 0;
    width: 100%;
    color: black;
    text-align: center;
    background-color: white;
    padding-top:0.5%;
    padding-bottom:0.5%;
}

.AccordionTitle {
    color: #111;
    padding:1%;
    border: 2px solid gray;
    border-radius:10px;
    text-align: left;
    outline: none;
    transition: 0.2s;

    margin-top:2%;
    margin-left:5%;
    margin-right:5%;

    display:none;
}

.AccordionSymbol {
    float:right;
}

.active  {
  background-color: #ccd;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-left:5%;
    margin-right:5%;
    
    border-radius:10px;

    display:none;
}

#puzzleHistory {
    width: 50%;
    margin: 5%;
    background-color:#EEFFFF;
    padding:5%;
    border: 1px solid gray;
    border-radius:10px;
}

.puzzleHistoryNum {
    font-size:55px;
}

.puzzleHistoryGuesses {
    font-size:55px;
}

.puzzleHistoryMedal {
    width:50px;
}

.award {    
    box-shadow: rgba(0, 0, 0, 0.15) 0px 14px 28px, rgba(0, 0, 0, 0.12) 0px 10px 10px;
    margin-left:1%;
    margin-right:1%;
    margin-top:3%;
    margin-bottom:3%;
    border: 2px solid gray;
    border-radius:10px;
    display:inline-block;
    text-align:center;
    padding:3%;
    min-width:100px;
    background-color:#FBFBFB;
}

#AwardsText {
    padding:2%;
}

#JewelsText, #CloversText, #ShamrocksText, #SunflowersText, #StarsText, #TurtlesText, #LizardsText, #medalEmogi, #TopHatsText {
    padding:1%;
    text-align:center;
}

#AwardsRating {
    padding:1%;
    width:100%;
    text-align:center;
    display:inline-block;
}

.awardBronze {
    background-color:#FBFBFB;
}

.awardSilver {
    background-color:#FBFBFB;
}

.awardGold {
    background-color:#FBFBFB;
}


.awardImage {
    display:block;
    width:70px;
    margin:auto;
}

.awardTextNumber {
    font-weight:bold;
    text-align:center;
    width:100%;
    padding-top:5px;
}

.awardTextSolution {
    text-align:center;
    width:100%;
    padding-top:5px;
    font-style: oblique;
}


#giveAward {
    text-align:left;
    padding-top:5%;
}

#giveAwardImage {
    vertical-align:middle;
    width:10%;
    padding-right:2%;
}

#giveAwardText {
    padding-right:3%;
    max-width:80%;
}

#recentSuccesses {
    margin-top:5%;
}

.gem {
    height:40px;
    vertical-align:middle;
}

.shamrock {
    color: green;
}

.sunflower {
}

.clover, .lizard, .turtle {
    color: green;
}

.goldenStar {
    color: yellow;
}

.antipodes {

}

#YNHeader {
    width:100%;
    margin:0;
    padding:0;    
}

#YNHeaderTitle {
    text-align:center;
    font-weight:bold;
    margin-top:2%;
    width:100%;
}

#YNHeaderSubtitle {
    text-align:center;
    margin-top:1%;
    font-style:italic;
    margin-bottom:1%;
}

#YesterdayQuote {
    text-align:center;
    width:95%;
    margin:auto;
    margin-top:2%;
    margin-bottom:0%;
}

#YesterdaysStatistics {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 14px 28px, rgba(0, 0, 0, 0.12) 0px 10px 10px;
    background-color: #CCFCDE;
    width: 80%;
    border: 2px solid gray;
    border-radius:10px;
    margin:auto;
    display:block;
    margin-top:3%;
    margin-bottom:5%;

    display:none;  /* sadly, this feature may never see the light of day */
}

#YesterdaysStatisticsText {
    text-align: center;
    margin-top: 3%;
    margin-left: 5%;
    margin-right: auto;
}

#YesterdaysStatisticsTable {
    text-align:left;
    margin-left: 15%;
    margin-right: auto;
    margin-bottom:5%;
}

.YesterdaysGuess {
    font-weight:bold;
}
