/* STYLE GENERATOR 2ND FOR WORKSHEET-GENERATOR PAGES*/
/* ------- (c) 2023 MATH SALAMANDERS LIMITED--------- */

#missingOperator {
	margin: 0;
	float: left;
	text-align: left;
	padding-top: 10px;
}

#bondBox{
	display:none;
}

#bondBox input{
	float: center;
	text-align: center;
}

#bondNum{
	width: 40px;
	margin: 0px auto;
}

fieldset{
  width: 25em;
  background-color: #ccffff;
  margin-left: auto;
  margin-right: auto;
}
 

#numberSize label, #bondBox label {
  float: left;
  width: 10em;
  clear: left;
  text-align: right;
  padding-right: 1em;
}

legend {
	font-size:85%;
	color: #330066;
}

input{
  text-align: center;
}


form p{
	text-align: center;
}

#output, #output2, #outputSF, #outputSF2, #outputIF, #outputDF, 
#outputDF2, #outputFDP, #outputFDP2, #outputPF, #outputPF2, 
#outputCF, #outputFC, #outputTD, #outputTD2, #outputDT, #outputSM, #outputMS  {
	clear: right;
	margin-left: 0px auto 10px auto;
	float: left;
	padding: 1px 10px;
	border: 1px solid black;
	background-color: #ffffcc;
    text-align: center;
}

.generator{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
}

.generatorHeadingTop{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 90%;
	font-style:italic;
	clear:both;
	font-weight:bold;
	padding: 3px;
	margin-bottom: 10px;
	border-top: 3px double white;
	background-color:#330066;
	color:white;
	text-align:center;
}

.generatorHeadingBottom{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 90%;
	font-style:italic;
	clear:both;
	font-weight:bold;
	padding: 1px;
	margin-bottom: 10px;
	border-bottom: 3px double white;
	background-color:#330066;
	color:white;
	text-align:center;
}

#win_header, #win_headerA{
	width:91%;
	min-height: 2.5em;
	float: left;
	padding-top:0.5em;
	border-top: 2px solid black;
	color: #330066;
	line-height:100%;
	font-style:italic;
	text-align:center;
	font-family: Arial, Helvetica, sans-serif, Arial;
	background-color: white;
}

#win_header h1, #win_headerA h1{
	padding-top:0;
	line-height: 110%;
	font-size: 200%;
	color: black;
}

#win_header h2, #win_headerA h2{
	margin-top: -10px;
	line-height: 110%;
	color: black;
}

#win_header h3, #win_headerA h3{
	margin-top: -10px;
	line-height: 120%;
	font-size: 150%;
	color: black;
}

#win_header .Blue, #win_headerA .Blue{
	color: blue;
}

#win_header_2, #win_header_A2{
	width:91%;
	min-height: 2.5em;
	float:left;
	padding-top:0.5em;
	border-top: 2px solid black;
	color: #330066;
	font-style:italic;
	text-align:center;
	line-height:100%;
	font-family: Arial, Helvetica, sans-serif, Arial;
	background-color: transparent;
}

#win_header_A2{
	font-size: 90%;
}


#logo_image, #logo_imageA{
	border-top: 2px solid black;
	padding-top:0.5em;
	padding-bottom: 1em;
	width: 9%;
	clear:left;
	float:left;
	vertical-align: center;
	min-height:3em;
	background-color: white;
}

#logo_image img, #logo_imageA img{
	border:none;
}

#top_header, #top_headerA{
	width:100%;
	clear:both;
	float:center;
	margin-top:1em;
	padding-top:1em;
	padding-bottom: 1em;
	word-spacing: 6em;
	font-size:85%;
	color: black;
	text-align:center;
	border-top: 1px dotted black;
	background-color: white;
}

#top_headerA{
	border-top: 2px dotted gray;
}

@media only screen and (max-width:640px){
	#WorksheetQ, #WorksheetA{
		font-size:70%;
	}
}

#WorksheetQ{
	background-color: white;
	clear: both;
	margin-top: 20px;
}

#WorksheetA{
	background-color: white;
	display: none;
	clear: both;
	float: center;
	margin-top: 10px;
}

#winout_0, #winout_1, #winout_2, #winout_3, #winout_A0, #winout_A1, #winout_A2, #winout_A3{
	border-top: 1px solid black;
	color: black;
	padding-top:15px;
	padding-bottom:5px;
	min-height: 5em;
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif, Arial;
	/* font-family: "Courier New", Courier, monospace; 				/* Fixed width fonts */
	/* font-size:110%; */
	background-color: white;
	vertical-align: text-top;
}


#winout_0, #winout_A0{
	width: 32%;
	padding-left: 1%;
	float:left;
}

#winout_1, #winout_A1{
	width: 32%;
	padding-left:1%;
	float:left;
}


#winout_2, #winout_A2{
	width: 33%;
	float:left;
	padding-left:1%;
}

#winout_3, #winout_A3{
	width: 25%;
	float:left;
	padding-left:1%;
}

b {
	color:red;
	text-decoration: underline;
}	

#win_footer, #win_footerA{
	width: 100%;
	clear:both;
	text-align: center;
	font-size: 100%;
	padding-top:5px;
	padding-bottom: 5px;
	border-top: 1px solid black;
	border-bottom: 1px dotted black;
	background-color: white;
}

.questionFont{
	font-size: 80%;
	letter-spacing: normal;
}

/* These are the blocks for the form for add and subtract generator */

#sheetInput{
	width: 90%;
	margin: 1em;
	padding-bottom: 20px;
	float:left;
	background-color: #ffc;
	font-family: Courier;
}

#sheetInput input{
	clear: both;
	width: 90%;
	font-size: 110%;
	text-align: left;
	float: center;
	font-family: Courier;
}

#sheetInput textarea{
	clear: both;
	width: 90%;
	text-align: left;
	float: center;
}

@media screen and (max-width: 640px){ 
	#sheetInput{
		width: 70%;
	}
}

#instructionsText{
	width: 100%;
	padding: 10px;
	font-size: 130%;
	display: none;
	line-height: 150%;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	color: blue;
}

#Tables{
	width:16em;
	margin: 0.5em;
	float:left;
	text-align: center;
	background-color: #ccffff;
	min-height: 4em;
	margin-top:10px;
}

#roundingBlock{
	min-height:7em;
	margin:0.5em;
	width: 10em;
	float: left;
}
#roundingSize{
	float:left;
	margin:10px 5px;
	min-height:10em;
	width: 9em;
	text-align:left;
	line-height:150%;
	padding:0;
	font-size: 100%;
}

#AddendsBlock, #RegroupingBlock, #questionList, #questionList2, #numberSize{
	margin-bottom:10px;
}

#tablesGP{
	float: center;
}

#NegAnsBlock{
	width:11em;
	margin-left: 1em;
	margin-bottom: 1em;
	float:left;
	display:none;
}

#block3 p {
	line-height:70%;
}

#Ope{
	text-align:center;
	width:15em;
	margin-left:1em;
	margin-bottom:1em;
	float:left;
}

#leftHS, #decimalSelect, #fractionSelect{
	margin-left:1em;
	min-height:4em;
	float:left;
	width: 50%;
	text-align: center;
}

#fractionTypeBox{
	float: left;
	text-align: center;
}

#fractionTypeBox .legend{
	font-size: 120%;
	text-align: left;
}


#decimalSelect, #fractionSelect{
	text-align: left;
	width: 100%;
	margin-top: -10px;
}

#leftBoxes{
	float:left;
	text-align: left;
	margin:10px 5px;
	font-size: 120%;
}

#middleHS, #rightHS{
	float:left;
	margin:10px 5px;
	min-height:10em;
	width: 40%;
	display:none;
	text-align:left;
	line-height:200%;
	padding:0;
	font-size: 120%;
}

#middleHS input, #rightHS input{
	margin: 8px 5px;
	text-align: left;
}

.fracFont label {
	font-size: 75%;
	margin:0;
	text-align: left;
}


#middleHS{
	clear:left;
}

#rightHS{
	clear:right;
}


#belowHS{
	clear:left;
	float:left;
	text-align:center;
	margin-left:3em;
	margin-top: 1em;
	display:none;
}

#multiplierSelect{
	float: center;
	text-align: center;
	margin: 0px auto 20px;
}

.legend{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 120%;
	text-align: left;
	line-height:1.5em;
}


#ValuesBlock, #ValuesBlock2, #QuestionsBlock{
	width:12em;
	min-height: 220px;
	margin: 0px 10px;
	text-align:center;
	float:left;
	background-color: #ccffff;
	line-height: 1.5em;
	visibility: hidden;
	font-size: medium;
}

#QuestionsBlock{
	width: 12em;
}

#ValuesBlock .legend{
	font-size: 100%;
}

#ValuesBlock2{
	min-height:4em;
	visibility:visible;
}

#operationTypeBox{
	width:11em;
	margin: 1em;
	float:left;
	min-height: 4em;
}


#ValuesBlock{
	visibility:visible;
}

#OptionsBlock{
	background-color: #ccffff;
	text-align: center;
	font-size:100%;
	width: 15em;
	line-height: 250%;
	margin: 20px;
	min-height: 220px;
}


#MenuButtons input{
	float:center;
	margin: auto;
	text-align:center;
	min-width: 180px;
}

/*
#OptionsBlock button {
  margin: 10px auto;
  width: 9em;
  text-align:center;
}
*/

#RedCheckBox, #BlueCheckBox {
	margin: 0px;
	padding: 0px;
	color: blue;
	line-height: 100%;
	font-size: 95%;
	padding-top: 20px;
	font-size: medium;
}

#RedCheckBox input{
	float: left;
	margin:0px;
	padding: 0px;
	text-align: left;
	clear: left;
	width: 15px;
	height: 15px;
}


.WorksheetInfo {
text-align: left;
clear:both;
text-decoration: none;
padding-bottom: 1em;
line-height:150%;
padding-left:5%;
}


#GeneratorBlock{
	font-size:80%;
	display:block;
	clear:both;
	border: none;
	padding-top:1em;
	border-top: 1px solid black;
	/*position: relative;	 */
}

#sheetComment {
	background-color: #AAFFDD;
	font-size: 120%;
	clear: both;
	border-top: 1px solid red;
	border-bottom: 1px solid red;
	float: center;
	margin: 0px auto;
	color: blue;
	text-align: center;
}

table .lastRow{
	border-bottom: 2px solid black;
}

table .answerRow{
	color:red;
	text-align: right;
}

.calcTable{
	font-size: 20px;
}

.whiteText{
	color: transparent;
}

#sheetComment .whiteText{
	color: white;
	font-weight: bold;
}

.AnswerText{
	color: red;
	font-weight: bold;
}

.GeneratorLogo{
	width: 30%;
	float: right;
	margin: 5px;
	clear: right;
	text-align: right;
	margin: 5px;
	padding-left: 10px;
}



div .pageBreak { 
	position: relative;
	page-break-after: always; 
} /* page-break-after works, as well */

#roundingBlock{
	float: left;
	text-align: left;
}

#roundingTable{
	/*width: 100%;*/
	float: center;
	margin: 0px auto;
}

#roundingTable td{
	border: 1px solid black;
	border-collapse: collapse;
	text-align: center;
	line-height: 190%;
	font-size: 100%;
}

#roundingTable tr{
	width: 100%;
}

#ASBlock{
	display:none;
}

#MDBlock{
	display: none;
}

.smallText{
	font-size: 90%;
	font-weight: normal;
}

.mediumText{
	font-size: 100%;
	font-weight: normal;
}

.MathJax {
	font-size: 1.3em;
}
/* 2nd Grade Math Salamanders */
@media only screen and (max-device-width: 480px) {
    html {
        -webkit-text-size-adjust: none; /* prevent iOS from scaling text */
    }
}

html.landscape #ContentColumn { /* landscape mode */
    font-size: 125%;
    line-height: 1.3;
}

html.mobile .desktopOnly {
    display: none;
}

.mobileOnly {
    display: none;
}

html.mobile .mobileOnly {
    display: block;
}

html.mobile form > table {
    max-width: 100% !important;
    width: auto !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#NotifyDiv  input[type="text"],
html.mobile .formbody input[type="text"],
html.mobile .comments input[type="text"],
#NotifyDiv  textarea,
html.mobile .formbody textarea,
html.mobile .comments textarea,
#NotifyDiv  select,
html.mobile .formbody select,
html.mobile .comments select {
    width: 90% !important;
}

html.mobile #pendingSubmission table {
    width: 100%;
}

html.mobile img {
    max-width: 100%;
    height: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html.mobile iframe {
    max-width: 100%;
}

html.mobile.android2 iframe {
    width: 100% !important;
}

#toolbar {
    text-align: center;
    width: 100%;
    height: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1000;
    padding: 4px 2px;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
}

#toolbar button {
    width: 47.5%;
    font-size: 12px;
    padding: 0.3em;
}

html.mobile #PageWrapper {
    margin-top: 35px;
}

html.fullView #PageWrapper {
    margin-top: 65px;
}

html.android2 #toolbar button {
    background: #f7f7f7;
    border: 1px solid #2F4255;
    border-radius: 0.5em;
}

.iosbtnfix {
    height: 1000px;
    overflow: hidden;
}

html.fullView #mobileBtn {
    width: 97%;
}

html.mobile #toTopBtn,
html.mobile #navBtn {
    width: 64.1%;
}

html.mobile #fullBtn {
    width: 31.1%;
    margin-right: 4px;
}

html.mobile #fullBtn,
html.mobile #navBtn {
    display: inline-block;
}

#fullBtn,
#navBtn,
#toTopBtn,
html.mobile #mobileBtn {
    display: none;
}

.phantomHeaderImage {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

html.mobile,
html.mobile body {
    height: 100%;
}

html.mobile #PageWrapper, 
html.mobile #PageWrapper2, 
html.mobile #PageWrapper3 {
    max-width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    background-size: 100%;
    -webkit-overflow-scrolling: touch;
}


html.mobile #Header {
    width: 100%;
}

html.mobile #Header,
html.mobile #Header .Liner{
    background-size: 100%;
}

html.mobile #Header .Liner{
	background-image: url(../image-files/header-image-mob.gif);
}	

html.mobile #ContentWrapper {
    padding: 0;
    float: none;
}

html.mobile #ContentColumn,
html.mobile #ContentColumn2,
html.mobile #ContentColumn3,
html.mobile #NavColumn,
html.mobile #ExtraColumn {
    float: none;
    width: auto;
    margin: 0;
}

html.mobile #NavColumn,
html.mobile #ExtraColumn {
    margin-top: 200px;
}

html.mobile #PageWrapper,
html.mobile #PageWrapper2,
html.mobile #PageWrapper3 {
    text-align: center;
}

html.mobile #ContentColumn,
html.mobile #ContentColumn2,
html.mobile #ContentColumn3,
html.mobile #Header,
html.mobile #NavColumn,
html.mobile #ExtraColumn {
    text-align: left;
}

html.mobile #NavColumn,
html.mobile #ExtraColumn {
    display: inline-block;
    width: 300px; /* original column width */
    vertical-align: top;
    overflow: hidden;
}

html.mobile #Footer {
    position: absolute;
    top: 10000px;
    left: 0;
    overflow: hidden;
}

@media only screen and (max-width: 359px) { /* portrait mode (very narrow columns) */
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 158px;
    }

    html.mobile #ExtraColumn {
        margin-left: -4px !important;
    }

    html.mobile #NavColumn .Liner,
    html.mobile #ExtraColumn .Liner {
        padding-left: 1px;
        padding-right: 1px;
    }

    html.mobile #ExtraColumn .Liner {
        padding-left: 0;
    }

    html.mobile #NavColumn *,
    html.mobile #ExtraColumn * {
        max-width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-size: 100%;
    }
}

@media only screen and (max-width: 379px) {
    html.mobile #ExtraColumn {
        margin-left: 0;
    }
}

@media only screen and (min-width: 360px) {
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 178px;
    }
}

@media only screen and (min-width: 380px) {
    html.mobile #NavColumn,
    html.mobile #ExtraColumn {
        width: 180px; /* original column width */
    }

    html.mobile #ExtraColumn {
        margin-left: 20px;
    }
}

@media only screen and (max-width: 550px) {
    html.mobile .socializeIt,
    html.mobile .socializeIt img {
        width: 100% !important;
    }

    html.mobile .socializeIt textarea {
        width: 100% !important;
    }

    html.mobile .socializeIt > tbody > tr:first-child > td {
        width: 45%;
    }

    html.mobile .socializeIt > tbody > tr:first-child > td:first-child {
        width: 10%;
    }
}

/* Design specific for Practice Zone pages*/

html.mobile #ContentWrapper {
    background: transparent;
}


/* disable plug-ins */
html.m #sthoverbuttons,
html.m #google_translate_element {
    display: none !important;
}

/* These are added for the practice zone */
html.mobile #zoneBox1, 
html.mobile #zoneBox2 {
	background-color: black;
	color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 130%;
	padding:10px 0px;
	float: left;
	margin: 10px 10px;
	min-height: 20em;
	width: 95%;
}

html.mobile #zoneBox3 {
	color: white;
	width:95%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	margin: 0px auto;
	border: 10px groove #ffcccc;
	/*clear:both;*/
	display: block;
	clear: both;
}

html.mobile .practiceZoneLogo {
	width: 50px;
	height: auto;
	float: left;
	margin: 10px;
}

html.mobile #navZoneArea {
	float: left;
	width: 90%;
	min-height: 2em;
	margin: 0;
	padding: 0;
}

html.mobile .navZoneHeading {
	margin: 2px 5px;
	border: 2px groove #ffcccc;
	color: white;
	background-color: #330066;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: x-small;
	width: 100px;
	height: auto;
	float: left;
}

html.mobile .navZoneItem {
	margin: 2px 5px;
	padding: 2px 5px;
	width: 60px;
	float: left;
	min-height: 2em;
}

html.mobile .navZoneCol2,
html.mobile .navZoneCol3,
html.mobile .navZoneCol4 {
	width: 20%;
	height: 80px;
	float: left;
	text-align: center;
}

html.mobile .calcButton {
	width: 10%;
	height: auto;
	padding: 4px;
	text-align: center;
}

html.mobile .opButton {
	width: 10%;
}


html.mobile #calcButtonArea {
	padding-left:10px;
	width: 90%;
	margin: 0px auto;
	text-align: center;
}

html.mobile #zoneBlock4 {
	width: 90%;
}

html.mobile #markAnswerArea {
	width:90%;
	clear: both;
	margin: 0;
	padding: 0;
	height: 80px;
}

html.mobile #timerBox {
	float: right;
	width: 90%;
}

html.mobile #inputAnswer,
html.mobile #questionText,
html.mobile #inputAnswer {
	width: 50%;
}

html.mobile #zoneArea2 {
	width:95%;
	margin:0 auto;
	padding:0;
}

html.mobile .MobCol1,
html.mobile .MobCol2,
html.mobile .MobCol3 {
	width:30%;
	float: left;
	margin: 5px auto;
	text-align: center;
	vertical-align: center;
}

html.mobile #timerBox {
	float: left;
}

html.mobile .wholeWidth {
	display:none;
}

@media only screen and (max-width: 640px) {
	html.mobile #jigsawArea {
		width: 320px;
		height: auto;
		margin:0;
		padding:0;
	}
}

/* Design specific for Generator pages*/
@media only screen and (max-width: 640px) {
	html.mobile win_header h1{
		font-size: 105%;
		line-height: 1.5em;
		background-color: #66cccc;
	}
}
		
