/* Colours */
.menu {
	background-color: #3399FF;
}

html {
	font-family: "Segoe UI", Tahoma, Verdana,Arial,sans-serif;
}

h1, h2, h3, h4, h5, h6, h7 {
	color: #25409A;
	margin: 1em 0px 0px;
	clear: left;
}

p {
	margin-bottom: 1em;
}

pre {
	font-family: Courier, monospace;
}

#tabs .content {
	padding-top: 1em;
}

h2.button {
	background-color: #25409A;
	margin-top: 1em;
}

h2.button a {
	color: white !important;
}

.content img {
	margin: 1rem;
}

.content img.left {
	margin-left:0;
}

.content img.right {
	margin-right:0;
}

.content h2, .content h3, .content h4 {
	font-weight: bold;
}

.secondary h3 a {
	color: #25409A !important;
}

a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h7 a {
	color: #F21A00;
}

blockquote {
	width: 80%;
	position: relative;
	background-color: #bfd9ff;
	border: 4px solid #0066ff;
	padding: 1em;
	text-indent: 2em;
	margin-top: 1em;
	margin-left: 1em;
	margin-bottom: 1em;	
}

blockquote:before, blockquote:after {
	display: block;
	color: #0066ff;
	font-family: Times New Roman,Times,serif;
	font-size: 800%;
	font-weight: bold;
	line-height: 100%;	
	position: absolute;
}

blockquote:before {
	content: "\201C";
	left: -0.25em;
	top: -0.3em;
}

blockquote:after {
	content: "\201D";
	right: 0em;
	bottom: -0.65em;
}

.quoter {
	text-align: right;
	margin-right: 4em;
}

.nav .hasDropdown li:hover, .nav li:hover, .nav li.section, .nav li.current {
	border-left: 4px solid #F21A00;
}

#headerImage {
	position: relative;
}

.gradient {
	position: absolute;
	z-index: 10;
	height: 100%;
}

.menu-gradient {
	position: absolute;
	z-index: 10;
	right: 0px;
	height: 100%;
}

/** Counting words **/
th.number {
	color: black;
	font-size: 16px !important;
}

table.numbers td, table.numbers th {
	text-align: center;
}

/** FORMS **/
.userform {
	clear: none !important;
	width: auto !important; 
	max-width: 100%; */
}

div.checkbox {
	clear: both;
}

.checkbox label.right { float: none; }

.multioptionset label {
	display: inline !important;
}

.subset li {
	display: inline;
}

ul.Four {
	background-color: #e2ffe2;
}

ul.AlmostFour {
	background-color: #fff2e2;
}

ul.NotFour {
	background-color: #ffe2e2;
}

ul.multioptionset {
	margin: 0px;
	padding: 0px;
}

#Form_proof #action_UserAction {
	float: left;
}

#Form_proof #action_UserAction label, #Form_proof .Actions {
	display: none;
}

#Form_proof #isFour {
	width: 150px; 
	float: left;
	margin-top: 3px;
}

#Form_proof_isFour {
	width: 140px;
}

/** Forms CityLogo **/
#Text label, #action_UserAction label, .Actions #Form_CityLogoForm_action_UserAction {
	display: none;
}

#Form_CityLogoForm #action_UserAction {
	float: left;
}

#Form_CityLogoForm_Text {
	width: 140px;
}

#Text {
	width: 150px; 
	display: inline;
	float: left;
	margin-top: 3px;
}

#CityLimits {
	clear: left;
}



/** Four **/
.Is4 {
	color: #006600;
	font-weight: bolder;
	font-style: italic;
}

.Almost4 {
	color: #ff9900;
	font-weight: bolder;
	font-style: italic;
}

.Not4 {
	color: #f21a00;
	font-weight: bolder;
	font-style: italic;
}


/** SITEMAP **/
.smthumb {
	width: 100px;
	float: left;	
	text-align: center;
}

.smthumb img {
	margin: 0px auto !important;
}

#sitemap-list, #sitemap-list ul {
	list-style: none;	
}

#sitemap-list li {
	float: left;
	clear: left;
}

#sitemap-list h3 {
	clear: none;
}

/** AdSense **/
.as_horizontal {
	margin: 0 6% 0 0;
}

#adSenseContent {
	float: right;
	padding-top: 1em;
}

#adSenseMenu {
	padding:0px;
	margin: 0px 0px 0px -20px;
}

#linkUnits {
	margin-left: 160px;
	padding-left: 20px;
	padding-top: 2px;
	background-color: #E5E5E5;
	
}

.myfunstudio {
	text-align: center;
	clear: left;
	margin-top: 1em;
}

/* Numbers Game */
#Form_numbersgame_action_UserAction, .button {
	background-color: #3399FF;
	color: white;
	border: solid 2px #B2B2B2;
	padding: 1rem;
	font-size: 2rem;
	line-height: 2rem;
	text-align: center;
}

#game {
/*	display: none;*/
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: white;
}

#menu {
	height: 3.5rem;
	background-color: #3399FF;
}

#menu #title {
  text-align: center;
}

.menuButton {
	padding: 0.75rem 2rem 0.5rem 0.5rem ;
}

.menuButton>a {
	cursor: pointer;
	font-size: 2em;
	text-decoration: none;
	color: white;
}

a.button {
	width: 100%;
	text-decoration: none;
	color: white;
	margin: 2rem;
}

#bar {
	position: absolute;
	width: 100%;
	bottom: 0rem;
	background-color: #F21A00;
	padding: 1rem 0;
	margin-bottom: 0rem;
	text-align: center;
	color: white;
	font-size: 2rem;
	line-height: 2rem;
}

#Form_numbersgame #min middleColumn, #Form_numbersgame #min div , #Form_numbersgame #min label,
#Form_numbersgame #max middleColumn, #Form_numbersgame #max div , #Form_numbersgame #max label {
	display: block;
	float: left;
	clear: none;
	text-align: center;
}

#rounds {
	clear:both;
}

#Form_numbersgame input.text {
	width: 5rem;
}

#field {
	position: absolute;
	top: 3.5rem;
	bottom: 4rem; 
	width: 98%;
	margin: 1%;
	text-align: center;
	font-size: 5rem;
	cursor: pointer;
	border: black 1px dotted;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

#fitIntoTester {
	position: absolute;	
	left: -1000rem;
}

#timer {
	margin-right: 1rem;
}

#settings #form {
	position: absolute;
	right: 2px;
	top: 3.5rem;
	bottom: 2px;
	background-color: white;
	font-size: 1rem;
	float: left;
	overflow-y: scroll;
	z-index: 11;
	border: solid 1px black;
	padding: 1rem;
	display: none;
}

#min {
	clear: both;
}

#rounds {
	padding-top: 1rem;
}

#Form_numbersgame_label {
	text-align: left;
	float: left;
	clear: both;
}

#settings #form .middleColumn {
	display: inline;
	padding: 0px;
	margin: 0px;
}

#settings #form label {
	padding: 0.35rem;
}

#settings #form a {
	color: black;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clearBoth {
	clear: both;
}


/* resizable iFrame */
.ui-resizable-helper {
    border: 1px dotted gray;
}
.resizable {
	margin-top: 0.5em;
	display: block;
	max-width: 100%;
	width: 850px;
	height: 600px;
	padding: 4px;
	background-color: #95c9f3;
	border: 1px solid #729aba;
	overflow: hidden;
	position: relative;
}

.iframe .title {
	text-align: center;
}

.iframe .icon {
	float: left;
	margin-top: 3px;
}

.resizable iframe {
    background-color: white;
    width: 100%;
    height: 95%;
    border: 1px solid #7fabcf;
}

/* Sidebar */
#sidebar1 {
	position: absolute;
	width: 240px;
}

#sidebar2 {
	width: 240px;
	float: right;
	margin-left: 2.5%;
}

.secondary {
	font-weight: normal;
}

h1, .secondary h2, .sidebar h2 {
	border-bottom: 1px solid #eee;
	padding-bottom: 1em;
	font-size: 1.2em;
	margin-top: 0px;
}

.sidebar h2 {
	font-size: 1.15em;
}
.sidebar #tabs h2 a {
	color: #F21A00;
}
.sidebar #tabs li a {
	color: #3399FF;
}

.sidebar img {
	margin-top: 0.5em;
}

/* Tabs */
#tabs a:visited, #tabs a {
	color: rgb(48, 57, 66);
	text-decoration: none;
}

#tabs, #tabs-content {
	list-style: none;
	padding: 0;
	margin: 0;
}

#tabs li {
	line-height: 3em;
	padding-left: 1em;
	border-left: solid 5px transparent;
}

#tabs li:hover {
	border-left: solid 5px #F21A00 !important;
}

#tabs li.current, #tabs li.current:hover {
	border-left: solid 5px #3399FF;
}

#tabs li.section, #tabs li.section:hover {
	border-left: solid 5px #EEEEEE;
}


#tabs .spacer {
	margin-top:1.5em;
}

.content-container ul {
	margin-left: 2em;
	list-style: disc;
}

.content-container ol {
	margin-left: 2em;
  counter-reset: bold-counter;
}

.content-container ol li:before {
	content: counter(bold-counter);
	counter-increment: bold-counter;
	margin-left: -1.5em;
	margin-right: 0.75em;
	font-weight: bold;
}

#sitemap-list .pagename {
	display: inline;
	font-weight: bold;
}

.BlogTagsWidget li {
	float: left;
	padding-right: 1rem;
	line-height: 1.25rem !important;
	padding-left: 0 !important;
}

.WidgetHolder li .arrow {
	display: none;
}

/* Homepage */
.cell {
	position: relative;
	max-width: 100%;
	float: left;
	background-color: #eeeeee;
  margin: 0px auto;
}

.cell .text {
	margin: 1em;
}

.video {
  position: relative;
}

.maxWidth600 {
	max-width: 600px;
}

.moreInfo {
	background-color: #F21A00;
}

.moreInfo a {
	color: white;
}

.moreInfo:hover {
	background-color: #9E49A1;
}

.download {
	background-color: #FFCA28;
}

.download:hover {
	background-color: #F68E2B;
}

.latest #download {
	font-size: 2em;
}

.cell .button {
	width: 100%;
}

.cell .button.small {
	width: 40%;
	float: right;
	margin: 1em;
}

/* PayPal Donation */
.paypalForm th {
	font-weight: bold;
}

/* Colours */
.nav {
	background-color: #F21A00;	
}

.nav li {
	border-left: 4px solid #F21A00;
	border-top: 1px solid rgba(255, 255, 255, 0.25);	
}

.nav .hasDropdown .hasDropdown {
	color: #4C4C4C;
}

.nav .hasDropdown li {
	border: 1px solid #4C4C4C;
	border-top: none;
	border-left: 4px solid #4C4C4C;
	background-color: white;
}

.nav .hasDropdown li.section {
	border-left: 4px solid #EEEEEE;
}

.nav .hasDropdown li.current {
	border-left: 4px solid #3399FF;
}

.nav .hasDropdown li.section:hover {
	border-left: 4px solid #3399FF;
}

.nav .hasDropdown li.current:hover {
	border-left: 4px solid #F21A00;
}

.nav .hasDropdown li a {
	color: #4C4C4C;
}

/*** Start shortcut Keys ***/
#shortcuts tr td, #shortcuts tr th {
	text-align: center;
}

#shortcuts tr td:nth-child(4), #shortcuts tr th:nth-child(4) {
	padding-left: 2em;
	text-align: left;
}

#shortcuts tr td:nth-child(3), #shortcuts tr th:nth-child(3) {
	color: #777777;
}

#shortcuts td.header {
	padding-top: 1em;
	font-weight: bold !important;
	text-align: left !important;
}
/*** End shortcut Keys ***/

@media all and (min-width: 450px) {
	blockquote  {
		width: auto;
		margin-right: 300px;
		display: relative;
	}

	.ppcol {
		font-weight: bold;
		float: left;
		margin-right: 1em;
	}
	
	.ppcol select {
		float: left;
	}
	
	.ppcol input {
		min-width: 190px;
		max-width: 235px;
		margin-top: 0px;
	}
	
	.ppcol input[type=submit] {
		margin-top: 2em;
	}
	
	.paypalForm {
		margin-bottom: 1em;
	}
}

@media all and (min-width: 786px) {
	.nav {
		font-size: 1em;
	}

	.cell {
		width: 50%;
		min-width: 300px;
 	}

	.nav li.section {
		background-color: #EEEEEE;
	}
	
	.nav li.current {
		background-color: #3399FF;
	}

	.nav>li.section, .nav>li.current {
		background-color: #4C4C4C;
	}

}

@media all and (min-width: 880px) {
	.nav {
		font-size: 1.2em;
	}
}
