html {
font-family: serif; /* garden of praise preference */
}

body {
	margin: 8px;
	font-size: 100.1%;
/*	border: 1px solid black; */
/*	text-align: center; */
}

img, a img, a:link img {
	border: 0;
}

.textblock {
    text-align: left;
    margin: 1em 20%;
    font-size: 1.1em;
    font-weight: bold;	
}
.textblock img {
	text-align: center;
}
.textblock  {
	width: 30%;
	margin: 1em 35%;
}
.mobileheader,
.smallheader {
	text-align:center;
	display:block;
	margin: .5em auto;
}

.smallheader a img,
.smallheader img,
.mobileheader a img,
.mobileheader img {
	width: 40rem;	 
	height: auto;
	text-align:center;
	display:block;
	margin: .5em auto;
}
.smallheader {
	display:none;
}
.menuheader,
.nomenuheader,
.header,
.headerstyle {
	text-align:left; 
	border-spacing: 0;
	margin: 0 auto 0;
	padding: 0; 
	color: #2E1D22;
	border-width: 2px;
	border-style: ridge ridge none ridge;
}

.menuheader,
.nomenuheader {
	border-style: ridge;
}

.gopcolors .menuheader,
.gopcolors .nomenuheader,
#communitypage  .menuheader,
#communitypage  .nomenuheader {
	border-width: 0px;
	border-style: ridge;
	border-color: #FFFFFF;
}

/* ie in without a doctype  will render margin for menu header around image smaller */
.menuheader {
	position: relative; /* allows menu to be positioned absolutely wrt .menuheader */
	height: 139px;   	
	width: 766px; 		
	/* image is 627px x 126px */
	background :  #AB9E89 url(/gopimages/girlandpoppy.gif) no-repeat 12px center;
}

.nomenuheader {
	height: 125px;    	
	width: 750px; 		/* width adjusted to make menu header contents the same size */  
	/* image is 627px x 126px */
	background : #AB9E89 url(/gopimages/girlandpoppy.gif) no-repeat 4px center;
}
.gopcolors  .menuheader,
#communitypage  .menuheader {
	background :  url(/gopimages/girlandpoppy.gif) no-repeat 12px center;
}
.gopcolors .nomenuheader,
#communitypage  .nomenuheader {
	background : url(/gopimages/girlandpoppy.gif) no-repeat 4px center;
}
.nomenuheadercontents,
.menuheadercontents {
	width: 568px;
	border: 0px dashed blue;
}
.menuheadercontents {
	margin: 0 0 0 196px;
}
.nomenuheadercontents {
	margin: 0 0 0 180px;
}

.gopholder {
	height: 42px;
	vertical-align: middle;
	text-align: center;
	border: 0px dashed red;
}
.gopholder {
	margin: 4px auto 2px;
}
.nomenuheader .gopholder {
	margin: 4px auto;
}
.educationalmaterials {
	height: 37px; 
	width: auto;
	vertical-align: middle;
	padding: 0 0 0 0;              /* had 20px right padding */
	white-space: nowrap;
	text-align: center;
	overflow-x: hidden;
}
/*
.educationalmaterials a {
	text-align: left;
}
*/

.educationalmaterials {
	margin: 0;
	border: 0px dashed red;
}
.nomenuheader .educationalmaterials {
	margin: 4px 0;
}


.gopholder a img.notcommunity,
.educationalmaterials a img.notcommunity {
	display: inline;
	vertical-align: middle;
	border: 0px dashed blue;
}
.gopholder a img.iscommunity,
.educationalmaterials a img.iscommunity {
	display: none;
}
.gopcolors  .gopholder a img.notcommunity,
.gopcolors  .educationalmaterials a img.notcommunity,
#communitypage  .gopholder a img.notcommunity,
#communitypage  .educationalmaterials a img.notcommunity {
	display: none;
}
.gopcolors  .gopholder a img.iscommunity,
.gopcolors  .educationalmaterials a img.iscommunity,
#communitypage  .gopholder a img.iscommunity,
#communitypage  .educationalmaterials a img.iscommunity {
	display: inline;
	vertical-align: middle;
	border: 0px dashed blue;
}
.gopsearch {
	display: inline-block;
	text-align: right;
	width: 220px;
	border: 0px dashed blue;
/*	vertical-align: middle;   doesn't render will with clickable image in quirks mode in different browsers */
}

.gopsearch div {
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
}
.gopsearch input {
 /*   visibility:hidden; */
}
.gopsearch .searchbox {
	width: 120px;
	max-width:120px;
}

/*
#cse-search-box input {
    visibility:hidden;
}
*/
.loginintro img,
.loginintro {
	vertical-align: middle;
	text-align: center;
	border: 0px solid red;
}
.headerstyle .loginintro, 
.header .loginintro {
	margin: 1px 0;
}
.menuheader .loginintro {
	margin: 1px 0; 
}
.nomenuheader .loginintro {
	margin: 3px 0;
}
.headerstyle .loginintro,  .header .loginintro,
.menuheader, .nomenuheader,
.menuheader .loginintro a,  .menuheader .loginintro a:link,  .menuheader .loginintro a:hover,
.nomenuheader .loginintro a,  .nomenuheader .loginintro a:link,  .nomenuheader .loginintro a:hover {
	color: #2E1D22;
}
.gopcolors  .menuheader, .gopcolors  .nomenuheader,
.gopcolors  .menuheader .loginintro a, .gopcolors  .menuheader .loginintro a:link, .gopcolors .menuheader .loginintro a:hover,
.gopcolors  .nomenuheader .loginintro a, .gopcolors  .nomenuheader .loginintro a:link, .gopcolors  .nomenuheader .loginintro a:hover,
#communitypage  .menuheader, #communitypage  .nomenuheader,
#communitypage  .menuheader .loginintro a, #communitypage  .menuheader .loginintro a:link, #communitypage .menuheader .loginintro a:hover,
#communitypage  .nomenuheader .loginintro a, #communitypage  .nomenuheader .loginintro a:link, #communitypage  .nomenuheader .loginintro a:hover {
	color: #000080;
}
  

.navcontainer {
	width: 27em;   /* was 405px ~ 27em */
	height: 1.25em;

	text-align: left;
/*	margin: 0 0 .1em .2em; */
	margin: 0 auto .2em auto;
	padding: 0 0 0 0;
	border: 0px solid red;
}

.navcontainer {
}

.gopnavcontainer {
	position: absolute;
/* want flyouts below google ads */
/*	z-index: 1; */
	bottom: 0px;
	left: 196px;
	width: 568px;     /* 764px width of div - 196 px width of right section  */
	border: 0px solid green;
}

.menuheader .gopnavcontainer {

}

#nav, #nav ul {
/*	position: relative; */
	/* want flyouts below google ads */
	/* z-index:1;						 position relative with zindex forces flyouts above relative elements */
	float: left;
	list-style-type: none !important;   /* stops override in ul, li in community.css */
	line-height: 1 !important;			/* stops override in ul, li in community.css */
	padding: 0;
	margin: 0 0 0 0;
}

#nav a {
	display: block;
	padding: .25em .1em .25em .5em;
}

#nav a.daddy {
	background: url(/gopimages/rightarrowbrown.gif) right center no-repeat;
}

.gopcolors  #nav a.daddy,
#communitypage #nav a.daddy {
	background: url(/gopimages/rightarrownavy.gif) right center no-repeat;
}

#nav li {
	float: left;
	list-style: none !important;		/* stops override in ul, li in community.css */
	line-height: 1 !important;			/* stops override in ul, li in community.css */
	padding: 0;
	margin: 0 0 0 0;
}

#nav li ul {
	position: absolute;
	left: -300em;
	height: auto; 
	width: 14em;
	margin: 0;
}

#nav li li {
	width: 14em;
}

#nav li ul a {
	padding-right: .5em;
	width: 12em;
}

#nav li ul ul {
	margin: -2em 0 0 13em;

}

#nav li:hover, #nav li.sfhover {
	background: #DDD8D0;
}

.gopcolors #nav li:hover, .gopcolors #nav li.sfhover,
#communitypage #nav li:hover, #communitypage #nav li.sfhover {
	background: #D2E4FC;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

#nav .bigbtn1{
	padding: 4px 0px 4px 4px;
	margin: 0 -1em 0 0;
}



#nav .bigbtn2{
	background-image: url(/gopimages/downarrowbrown.gif);
	background-repeat: no-repeat;
	background-position: 95% center;
	padding: 4px 4px;
}

.gopcolors #nav .bigbtn2,
#communitypage #nav .bigbtn2{
	background-image: url(/gopimages/downarrownavy.gif);
}

#nav, #nav ul {
	font-weight: bold;
}

#nav li ul {
	font-weight: normal;
}

#nav a {
	font-size: 1em;
	text-decoration: none;
}

#nav .bigbtn1, #nav .bigbtn2{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	font-style: italic;
}

#nav a, #nav a:link, #nav a:hover, #nav .bigbtn1, #nav .bigbtn2 {
	color: #7C6240;
}

#nav a:hover {
	color: #2E1D22;
}

.navcontainer {
	font-family: Arial, Helvetica, sans-serif;
	background: transparent;  /* was  #F4ECD9 */
}

#nav, #nav ul, #nav li {
	background: #FFFFFF;
}


.gopcolors #nav a, .gopcolors #nav .bigbtn1, .gopcolors #nav .bigbtn2,
#communitypage #nav a, #communitypage #nav .bigbtn1, #communitypage #nav .bigbtn2 {
	color: #557194;
}
.gopcolors #nav a:hover,
#communitypage #nav a:hover {
	color: #000080;
}
.subtitle {
	color: #FF0000;  /* red */
	font-weight: bold;
}
.highlight-italic {
	color: #FF0000;  /* red */
	font-style: italic;
}
.red {
	color: #FF0000;  /* red */
}
.gop-red {
	color: #A00000;  /* custom red */
}
.blue {
	color: blue;  /* blue */
}
.black {
	color: black;  /* black */
}
.maroon, a.maroon, a.maroon:link, a.maroon:visited, a.maroon:hover, a.maroon:active {
	color: maroon;  /* maroon */
}
.comments-display th,
.comments-display th a,
.comments-display th a:link,
.comments-display th a:visited,
.comments-display th a:hover,
.comments-display th a:active,
.white, a.white, a.white:link, a.white:visited, a.white:hover, a.white:active {
	color: white;  /* white */
}
.italic {
	font-style: italic;
}
.bold {
	font-weight: bold;
}
.large-center-text /* was used as h2 which was not semantic */ {
	text-align: center;
    font-size: 1.5em;
    font-weight: bold;	
}
.biblestory,
.biblestory red,
.biblestory table tr td,
.large-left-text /* was used as h2 which was not semantic */ {
	text-align: left;
    font-size: 1.5em;
    font-weight: bold;	
}
.center-text {
	text-align: center;
}
.center {
	text-align: center;
}
.center-display,
.center-table {
	margin: 1em auto;
}
.center-block {
	margin: 1em auto;
	display: block;	
}
#page-comments {
	text-align: center;
}
#page-comments img {
	display:none;
}
table.comments-display {
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;	
	background-color: #FFFFFF;
	border-collapse: collapse;
	/* border-spacing: 4px; */
	border: 1px solid #808080; 
	width:80%;	
}

table.comments-display td {
	text-align: left;
	color: black;
	background-color: white;	
	border: 1px solid #808080;	
	padding: 5px;
}

table.comments-display tr,
table.comments-display th {
	background-color: maroon;
	color: white;
	text-align: center
	border: 1px solid #808080; 
}
table.comments-list tr th span,
table.comments-display tr th span {
	display: inline-block;
	margin-left: 1em;
	margin-right: 1em;
}
#page-comments .start-comments, 
#page-comments a.start-comments, 
#page-comments a.start-comments:link, 
#page-comments a.start-comments:visited, 
#page-comments a.start-comments:hover, 
#page-comments a.start-comments:active  {
	color: maroon;
	font-size: x-large;
}
/* mobilecommentsdisplay.htm */
body.responsive #page-comments .comment-link, 
body.responsive #page-comments a.comment-link, 
body.responsive #page-comments a.comment-link:link ,
body.responsive #page-comments a.comment-link:visited,
body.responsive #page-comments a.comment-link:hover,
body.responsive #page-comments a.comment-link:active {
	color: #400000;
	font-size: 1em;	
}
/* commentsdisplay.htm */
#page-comments .comment-link, 
#page-comments a.comment-link, 
#page-comments a.comment-link:link ,
#page-comments a.comment-link:visited,
#page-comments a.comment-link:hover,
#page-comments a.comment-link:active {
	color: maroon;
	font-size: large;
}
/* commentsdisplay.htm */
/* mobilecommentsdisplay.htm */
body.responsive #page-comments .comment-link, 
body.responsive #page-comments a.comment-link, 
body.responsive #page-comments a.comment-link:link ,
body.responsive #page-comments a.comment-link:visited,
body.responsive #page-comments a.comment-link:hover,
body.responsive #page-comments a.comment-link:active,
#page-comments .comment-link, 
#page-comments a.comment-link, 
#page-comments a.comment-link:link ,
#page-comments a.comment-link:visited,
#page-comments a.comment-link:hover,
#page-comments a.comment-link:active {
	display: inline-block;
	margin-left: 1em;	
	margin-right: 1em;	
	
}
body.greekbk2, 
body.greekbk {
	background: #FFFFFF url(/images/greekbk.gif) repeat left top;
	color: 	#000000;
}
.greekbk2 a, .greekbk2 a:link,
.greekbk a, .greekbk a:link {
	color: 	#000080;   /* navy */		/* color: #000080; */
}
.greekbk a:visited {
	color: 	#005C04; /* green #005C04 */
}
.greekbk a:hover, .greekbk a:active  {
	color: #B87333;  /* copper #B87333 */ 
}

.greekbk2 a:visited {
	color: 	#0000FF; /* blue 0000FF */
}
.greekbk2 a:hover, .greekbk a:active  {
	color: #FF0000;  /* red #FF0000 */ 
}
body.tile14 {
	background: #FFFFFF url(/images/tile14.jpg) repeat left top;
	color: 	#000000;
}
.tile14 a, .tile14 a:link {
	color: 	#000080;   /* navy */		/* color: #000080; */
}
.tile14 a:visited {
	color: 	#FF0000; /* red #FF0000 */
}
.tile14 a:hover, .tile14 a:active  {
	color: #B87333;  /* copper #B87333 */ 
}

body.paper {
	background: #FFFFFF url(/images/paper.gif) repeat left top;
	color: 	#000080;
}
.paper a, .paper a:link {
	color: 	#0000FF;   /* blue */		
}
.paper a:visited {
	color: 	#000080; /* navy #000080 */
}
.paper a:hover, .paper a:active  {
	color: #FF0000;  /* red #FF0000 */ 
}


body.idabg2 {
	background: #FFFFFF url(/images/idabg2.gif) repeat left top;
	color: 	#000000;
}
.idabg2 a, .idabg2 a:link {
	color: 	#000080;   /* navy */		/* color: #000080; */
}
.idabg2 a:visited {
	color: 	#FF0000; /* red #FF0000 */
}
.idabg2 a:hover, .idabg2 a:active  {
	color: #B87333;  /* copper #B87333 */ 
}

body.musicbg2 {
	background: #FFFFFF url(/images/musicbg2.jpg) repeat left top;
	color: 	#000000;
}
.musicbg2 a, .musicbg2 a:link {
	color: 	#000080;   /* navy */		/* color: #000080; */
}
.musicbg2 a:visited {
	color: 	#FF0000; /* red #FF0000 */
}
.musicbg2 a:hover, .musicbg2 a:active  {
	color: #238E23;  /* green #238E23 */ 
}

body.childbg1a,
body.childbg1 {
	background: #FFFFFF url(/images/childbg1.gif) repeat left top;
	color: 	#000000;
}
.childbg1a a, .childbg1a a:link,
.childbg1 a, .childbg1 a:link {
	color: 	#000080;   /* navy */		
}
.childbg1a a:visited {
	color: 	#000080; /* navy  color: #4876FF #FF6357, #0000FF  */
}
.childbg1 a:visited {
	color: 	#0000FF; /* blue  color: #4876FF #FF6357, #0000FF  */
}
.childbg1a a:hover, .childbg1a a:active ,
.childbg1 a:hover, .childbg1 a:active  {
	color: #B87333;  /*  #FF0000, #B87333 copper */ 
}

.debug {
	display:none; /* use 'none' to turn off debug, 'initial' to turn on */
}
body.grapes {
	background: #FFFFFF url(/images/grapes2.jpg) repeat left top;
	color: 	#250101;
	text-align: center;
}
.grapes a, .grapes a:link {
	color: 	#770B0B;   /* dark red */		/* color: #000080; */
}
.grapes a:visited {
	color: 	#494535; /* dark green */
}
.grapes a:hover, .grapes a:active  {
	color: #4876FF;  /* blue */ 
}
#page-comments {

}

/* font-size (default 16px) * # of ems */
/* 758px~=47em, 524~=32em, 420~=26em */
/* 20em~=320 px, 40em~=640, 60em~=960, 80em~=1280, 100em~=1600 */
.debug::before {
	content: "default 100% width, 16px font [321px-479px]";
}
/* replacement for code
<table id=recordings border=0 CELLPADDING=0 cellspacing=0><tr><td><table border=1 CELLPADDING=3 cellspacing=3>
*/
#recordings {
	margin: 1em auto;
	text-align: center;
	border-color: #2E1D22;	/* #2E1D22 #000000*/
	/* border-width: 0;	 border on table */
	/* border-spacing: 0;	 cellspacing */
	/* padding: 0;			 cellpadding */
}
#recordings table {
	margin: 1em auto;
	border-width: 1px;		/* border on table */
	border-style: solid;	/* solid ridge none */
	border-color: #2E1D22;	/* #2E1D22 #000000*/
	border-spacing: 3px;	/* cellspacing */	
}	
#recordings table tr th, 
#recordings table tr td {
	text-align: center;
	font-size: 1.2em;
	border-width: 1px;		/* border on table */
	border-style: solid;	/* solid ridge none */
	border-color: #2E1D22;	/* #2E1D22 #000000*/
	padding: 3px;			/* cellpadding */
}

.christian-books {
	margin: 1em auto;
	text-align: center;
	line-height: 1.8rem;
	vertical-align: middle;
	font-size: 1.5rem;
}

table.christian-books {
	border: none;
	padding: 1px;
	border-spacing: 0;
	border-collapse: separate;
	background-color: #000066;
	/* required for centering */
	display:inline-block;
}

table.christian-books table {
	border: none;
	padding: 2px;
	border-spacing: 0;
	border-collapse: separate;
	text-align: center;
	background-color: #FFFFFF;
}
table.christian-books table td {
	text-align: right;
	font-size: 1.5rem;	
	line-height: 1.8rem;
	vertical-align: middle;
}

table.christian-books table td.christian-books-logo {
	text-align: center;
	vertical-align: middle;
	background-color: #FFFFFF;
}
.top-inline-block {
	display:inline-block;
	vertical-align: top;
	margin: 0 2em;
}
.bottom-inline-block {
	display:inline-block;
	vertical-align: bottom;
	margin: 0 2em;
} 
.middle-inline-block {
	display:inline-block;
	vertical-align: middle;
	margin: 0 2em;
}
.smallscroll,
.maximagewidth {
	display: block;
	margin: .2em auto;
}
.testlist {
	margin: 0 auto;
	background: #ffffff;
	border-spacing: 0;
    border-collapse: collapse;
}
.testlist td h2 {
	font-size: 1.2em;
	text-align: center;
}
.testlist td {
	padding: 5px;
	text-align: left;
    font-size: 1.5em;
    font-weight: bold;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.testpage {
	font-size: 1.2em;
}

.testpage h2 {
	font-style: italic;
	font-weight: bold;
	font-size: 1.5em;
}

.testpage .starttest,
.testpage .selecttest,
.testpage .onlinegrade,
.testpage .onlinetest {
	margin: 0 auto;
	background: white;
	max-width: 640px;
}

.testpage select,
.testpage input ,
.onlinetest input {
	display: inline-block;
	margin: .5em 0;
	font-size: 1.0em;
	text-align: left;
}

.onlinetest input[type=radio] {
    display:none;
}
 
.onlinetest input[type=radio] + label {
    display:inline-block;
	margin: 1px .5px;
    padding: .3em 1em;
    font-size: 1.0em;
    line-height: 1.0em;
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}
 
.onlinetest input[type=radio]:checked + label {
	background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        background-color:#DABABA;
}
.testpage .onlinetest {
	padding: 4px;
	text-align: left;
    font-size: 1.0em;
}
.testpage .starttest,
.testpage .selecttest,
.testpage .onlinegrade {
	padding: .5em;
	text-align: left;
    font-size: 1.0em;
    font-weight: bold;	
}
.testerror-msg {
	text-align: center;
	color: red;
}
.medium-left-text /* was used as h3 which was not semantic */ {
	text-align: left;
    font-size: 1.2em;	
}
.medium-bold-left-text /* was used as h3 which was not semantic */ {
	text-align: left;
    font-size: 1.2em;
    font-weight: bold;	
}
.medium-bold-center-text /* was used as h3 which was not semantic */ {
	text-align: center;
    font-size: 1.2em;
    font-weight: bold;	
}

/* Large screens ----------- */
@media only screen 
and (min-width : 118em) {
	.debug::before {
		content: "Large screens: [755px-, 40% width], 1888px-/118em-, 16px font ";
	}
	.textblock  {
		width: 40%;
		margin: 1em 30%;
	}
}

/* Desktops and laptops ----------- */
@media only screen 
and (max-width : 118em)
and (min-width : 98em) {
	.debug::before {
		content: "Desktops and laptops: [748px-944px, 50% width], 1568px-1888px/98em-118em";
	}
	.textblock  {
		width: 50%;
	    margin: 1em 25%;
	}
}

/* Conventional Desktops and laptops extra large tablets ----------- */
@media screen 
and (max-width : 98em)
and (min-width: 78em) {
	.debug::before {
		content: "Conventional Desktops and laptops extra large tablets: [748px-940px, 60% width], 1248px-1568px/78em-98em";
	}
	.textblock  {
		width: 60%;
		margin: 1em 20%;
	}
}
/* Small Desktops and laptops large tablets ----------- */
@media screen 
and (max-width: 78em) 
and (min-width: 58em) {
	.debug::before {
		content: "Small Desktops and laptops large tablets: [696px-936px, 75% width], 928px-1248px/58em-78em, 16px font";
	}
	.textblock  {
		width: 70%;
		margin: 1em 15%;
	}
}
/*
@media screen 
and (max-width: 58em)
and (min-width: 0em) {
	.debug::before {
		content: "everything smaller: [614px-742px 80% width], 768px-928px/48em-58em";
	}
	body {
		background:none;
	}	
}
*/
@media screen 
and (max-width: 58em)
and (min-width: 48em) {
	.debug::before {
		content: "medium tablets: [614px-742px 80% width], 768px-928px/48em-58em";
	}
	.textblock  {
		width: 80%;
		margin: 1em 10%;
	}
	table.comments-display {
		margin: 0 auto;
		width:90%;	
	}
	body {
		margin: 4px;
	}	
}
@media screen 
and (max-width: 48em)
and (min-width: 38em) {
	.debug::before {
		content: "small tablets: [100% width], 608px-768px/38em-48em";
	}
	.textblock  {
		width: 90%;
		margin: 1em 5%;
	}
	#page-comments img {
		display:none;
	}	
	table.comments-display {
		width:100%;	
	}
	body {
		margin: 2px;
	}
}
@media screen 
and (max-width: 38em) 
and (min-width: 30em) {
	.debug::before {
		content: "large phones: [100% width], 480px-608px/30em-38em";
	}
	.textblock  {
		width: 100%;
		margin: 1em 0;
	}
	#page-comments img {
		display:none;
	}
	table.comments-display {
		width:100%;	
	}	
	body {
		margin: 2px;
	}
}

@media screen 
and (max-width: 30em) 
and (min-width: 20em) {
	.debug::before {
		content: "medium phones: 100% width, 320px-480px/20em-30em";
	}
	.textblock  {
		width: 100%;
		margin: 1em 0;
	}
	#page-comments img {
		display:none;
	}
	table.comments-display {
		width:100%;	
	}
	body {
		margin: 2px;
	}
}

@media screen 
and (max-width: 20em)
and (min-width: 12em) 
{
	.debug::before {
		content: "small phones: 100% width, 192px-320px, 12em-20em";
	}
	.textblock  {
		width: 100%;
		margin: 1em 0;
	}
	#page-comments img {
		display:none;
	}
	table.comments-display {
		width:100%;	
	}
	body {
		margin: 0;
	}	
}

@media screen 
and (max-width: 12em)
and (min-width: 6em) 
{
	.debug::before {
		content: "extra small phones or zoomed in content: 100% width, 96px-192px/6em-12em";
	}
	.textblock  {
		width: 100%;
		margin: 1em 0;
	}
	#page-comments img {
		display:none;
	}	
	table.comments-display {
		width:100%;	
	}

	body {
		margin: 0;
	}	
}

@media screen 
and (max-width: 6em)
and (min-width: 0) 
{
	.debug::before {
		content: "super zoomed in content: 0-48px, 50% width, 16px font, 0-96px, 0-6em";
	}
	.textblock  {
		width: 100%;
		margin: 1em 0;
	}
	#page-comments img {
		display:none;
	}	
	table.comments-display {
		width:100%;	
	}
	body {
		margin: 0;
	}	
}
@media screen 
and (max-width: 48em)
and (min-width: 0em) {
	.debug::before {
		content: "everything smaller1 : [614px-742px 80% width], 768px-928px/48em-58em";
	}
	.testpage {
		font-size: 1.5em;	
	}
	.testpage .starttest,
	.testpage .selecttest,
	.testpage .onlinegrade,	
	.testpage .onlinetest {
		padding: 0 .5em;
		text-align: left;
		font-weight: bold;	
	}

	.onlinetest input[type=radio] + label {
	/*
    margin:-2px;
    padding: 4px 12px;
    margin-bottom: 0;
	*/
    font-size: 1.0em;
    line-height: 1.0em;	
	}
	/*
	.gopcolors .menuheader,
	.gopcolors .nomenuheader,
	*/
.nomenuheader,
.menuheader {
	background : #AB9E89;
	width: auto;
	/*
	display:none;
	*/
}

.gopcolors .nomenuheader,
#communitypage  .nomenuheader {
	background : #AB9E89;
}	

.gopcolors  .menuheader,
#communitypage  .menuheader {
	background :  transparent;
}	
.nomenuheadercontents,
.menuheadercontents {
		margin: 0 auto;
		width: auto;
	}
	
.gopnavcontainer {
	position: static;
	margin: .5em auto 0;
/* want flyouts below google ads */
/*	z-index: 1; */
	bottom: 0px;
	left: 196px;
	width: auto;     /* 764px width of div - 196 px width of right section  */
	overflow: hidden;
	border: 0px solid green;
}
	.smallheader {
		/* syncs with menuheader/nomenu header display none above			
		display:block;  */
	}
:root {
    --smheader-base-size: 5rem; 
    --smheader-min-value: 5;
    --smheader-max-value: 40;    
    --viewport-min-size: 7rem;  
    --viewport-max-size: 100vw;  
    --viewport-max-value: 48;
    --viewport-min-value: 7;
}
/* 
 5rem = size at min viewport
 40rem = size at max viewport (736px)
 48rem = max viewport (768px)
 7rem = min viewport (112px)
 48rem-7rem difference between max and min in rem
 100vw = current viewport width
 275px = actual width vs default width (17rem)
 5rem = base value from which to build in % = minimum size in desired unit (80px)
	width: calc( 80px + (736 - 80 ) * ( (100vw - 112px) / ( 768 - 112) ));
	width: calc( 80px + (736 - 80 ) * ( (100vw - 112px) / ( 768 - 112) ));
	width: calc( 5rem + (40 - 5) * ( (100vw - 7rem) / ( 48 - 7) ));
*/	

.smallheader a img,
.smallheader img,	
.mobileheader a img,
.mobileheader img	{
		width: 17rem;  /* fallback value */

		width: calc( 5rem + (40 - 5) * ( (100vw - 7rem) / ( 48 - 7) ));
		width: calc( var(--smheader-base-size) + (var(--smheader-max-value) - var(--smheader-min-value)) * ( (100vw - var(--viewport-min-size)) / ( var(--viewport-max-value) - var(--viewport-min-value)) ));		
		height: auto;
	}		
}

@media screen 
and (max-width: 40em)
and (min-width: 0em) {
.debug::before {
		content: "everything smaller3 : 640/40em";
	}
.nomenuheader,
.menuheader {
		display:none;
	}
.smallheader {
	/* syncs with menuheader/nomenu header display none above */		
	display:block;  
}
.newsletterbanner {
		width: 100%;
		height: auto;
	}
.testpage,	
.greekbk2,
body {
		margin: 0;
		/* background: initial; */
	}
.testpage .starttest,
.testpage .selecttest {	
		width: auto;		
		margin: 0;
	}
select,
input, 
input[type="submit"],
input[type="button"]	{
		font-size: 1.5rem;
		line-height: 1.8rem;
		vertical-align:middle;
		white-space:normal;	
		max-width: 100%;
		margin: .5rem 0;
    display: inline-block;
    width: auto;
	}
	
.educationalmaterials .gopsearch input, 
.educationalmaterials .gopsearch input[type="submit"],
.educationalmaterials .gopsearch input[type="button"]	{
	margin: 0;
	text-align: right;
	width: auto;
	border: 0px dashed blue;
/*	vertical-align: middle;   doesn't render will with clickable image in quirks mode in different browsers */
}	
.testpage select,
.testpage input {
		font-size: 1.0em;
		white-space:normal;
	}
.testpage select,
.testpage option,	
.testpage input {
		max-width: 100%;
		margin: .5em 0;
}
}
@media screen 
and (max-width: 30em)
and (min-width: 0em) {
	.debug::before {
		content: "everything smaller2: [614px-742px 80% width], 768px-928px/48em-58em";
	}

.testpage .onlinegrade,
.testpage .onlinetest,
.testpage {
		margin: 0;
		width: auto;
	}
.greekbk,
.tile14,
.paper,
.idabg2,
.musicbg2,
.childbg1,
.childbg1a,
body.grapes,
body {
		/* background: initial; */
	}
.maximagewidth,
.griffinbanner {
		width: 100%;
		height: auto;
	}
	
}
