* {
	margin:0px;
	padding: 0px;
	box-sizing: border-box;
	position: relative;
}

body {
 	min-width: 600px;
 	width: 100%;
 	height: 100%;
  	background-color: #00c0c0;
	font-family: "Courier New", "Courier", 'Nimbus Mono L', serif, monospace;
	font-style: normal;
	font-size: 100%;
 	text-align: center;
}

a {
	color: black;
	text-decoration: none;
}

.helv-font {
 	font-family: Helvetica, Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
}

.link {
	border: 1px solid transparent;	
}

.link:hover {
	border-color: blue;	
	cursor: pointer;	
}

.v-text {
	width: 1em;
	overflow: visible;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.left {
	float: left;
}
.right {
	float: right;
}
		
.error-msg {
	font-weight: normal;
}

#fixed-bk,
#overlay {
	position: fixed;
	text-align: center;
	
}

#fixed-bk {
	z-index: -1;
	opacity: 0.3;
	margin: 6px;
	padding: 0px;  
}

#yinyang-bk-canvas {
	padding: 0px;
}

#overlay {
	z-index: 1;
 	background-color: #00c0c0;
	padding: 0px;
	
 	visibility: hidden; 
 	opacity: 0; 
	text-align: center;

	-o-transition: opacity 2.5s ease-in-out;
	-ms-transition: opacity 2.5s ease-in-out;
	-moz-transition: opacity 2.5s ease-in-out; 
	-webkit-transition: opacity 2.5s ease-in-out;

	transition: opacity 2.5s ease-in-out;	
}

.overlay-content {
 	width: 450px;
	margin: 45px auto 0px auto;
	border: 1px solid black;
	border-radius: 12px;
	padding: 0px;
	text-align: center;
	color: navy;
}

.overlay-header {
	margin: 0px auto;
	height: 0;
	overflow: visible;
	z-index: 10;
}

#overlay-anim-title {
	float: left;	
	padding: 5px;
	text-align: left;
	height: 5px;
	line-height: 1.25em;
	color: white;	
}


#overlay-close-btn {

	background: url("../img/close.gif") no-repeat scroll right center transparent;
	cursor: pointer;
	font-size: 0.75em;/*12px;*/
 	padding: 0px 14px 0px 0px;
	margin-top: 2px;
	margin-right: 8px;
	float: right;
}

#overlay-close-btn:hover {
	text-decoration: underline;
}


.overlay-anim-container {
	padding: 15px 10px 10px 10px;
	margin: 0 auto;
}


.display-none {
	display: none;
}

.display-block {
	display: block;	
}

#cogs-canvas,
#yinyang-canvas,
#spiro-canvas {
	margin: 0 auto;
}

.controls-container {
	/* margin: 5px auto 0px auto; */
	margin-top: 1.5em;
	border: 1px solid black;
	border-radius: 6px;
	width: 100%;
	overflow: hidden;
 	font-size: 0.7em;	
	text-align: center;
	color: navy;
	/* height: 0px; */
	/* padding-top: 9px; */
	background: #00d0d0;
	min-height: 1em;
	
	-o-transition: height 0.75s linear;
	-ms-transition: height 0.75s linear;
	-moz-transition: height 0.75s linear; 
	-webkit-transition: height 0.75s linear;

 	transition: height 0.75s linear;
}

.controls-container:after {
	content: "";
	background: url("../img/dnarrs.svg") no-repeat scroll center center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1em;
	transition: opacity 300ms;
	opacity: 0;
}

.controls-container_hidden:after {
	opacity: 1;
}

#cogs-controls-container:hover,
#yinyang-controls-container:hover {
	background-image: none;
	/* height: 42px; */
}


.cogs-controls,
.yinyang-controls,
.spiro-controls {
	margin: 0px;
	/* padding: 5px 10px;	 */
}


/* #cogs-type,
#yinyang-type {
	width: 30px;
	height: 16px;
	text-align: center;
} */


#spiro-controls-container {
	height: 90px;
	padding-top: 5px;
	background-color: #00d0d0;
}


.spiro-btns-container {
	text-align: center;
}

.spiro-btn,
.fractal-btn {
	width: 70px;
	height: 30px;
	font-weight: bold;
	color: navy;
}

.spiro-ctrls-container {
	padding: 10px 5px 0px 5px;
	text-align: center;
}

/* .spiro-ctrl,
.spiro-ctrl-text,
.spiro-pen-ctrl-text,
.spiro-pen-width-ctrl,
#spiro-back-colour,
#spiro-pen-colour,
#spiro-pen-width {
	display: inline-block;
	vertical-align: middle;
} */
/* 
#spiro-back-colour,
#spiro-pen-colour,
#spiro-pen-width {
	display: inline-block;			
}			 */
/* 
.spiro-ctrl,
.spiro-pen-width-ctrl {
	vertical-align: middle;
	border: 1px solid #00a0a0;
	padding: 2px;
}

.spiro-ctrl-text,
.spiro-pen-ctrl-text {
	width: 64px;
	text-align: center;
}

.spiro-pen-ctrl-text {
	width: 38px;
}

#spiro-pen-width {
	width: 34px;
	height: 28px;
	text-align: center;
	font-size: 1.2em;
	color: blue;
} */

.fixed-top-left,
.fixed-top-right,
.fixed-bottom-left,
.fixed-bottom-centre,
.fixed-bottom-right {
	position: fixed;
	z-index: 2;
	padding: 2px;
}

.fixed-top-left,
.fixed-top-right {
	top: 30px;
	color: white;
	font-size: 1.5em;
}

.fixed-top-left,
.fixed-bottom-left {
	left: 30px;
	text-align: left;
}

.fixed-top-right,
.fixed-bottom-right {
	right: 30px;
}

.fixed-bottom-left,
.fixed-bottom-centre,
.fixed-bottom-right {
	bottom: 30px;
	font-size: 0.75em;
}

.fixed-top-left {
	line-height: 1.85;
}

.fixed-top-right {
	line-height: 1.7;
}

.fixed-bottom-centre {
	left: 10%;
	right:10%;
	text-align:center;
}

.fixed-bottom-right {
	vertical-align: middle;
 	text-align: left;
}

div.fb-logo {
	display: inline-block;
/* 	background: url("../img/fblogo.png") no-repeat scroll left #00d0d0; */
/* 	width: 80px;/* 31px; */ 
	height: 31px;
	vertical-align: middle;
}

.content {
	width: 90%;
	margin: 0 5%;
	text-align: center;
}

.img-container {
 	padding-top: 220px;
 	margin: 0 auto;
 	width: 100%; 	
}

.img-canvas-container {
	display: inline-block;
	color: white;
}

#cogs-img,
#yinyang-img,
#spiro-img {
	padding: 5px; 
	margin: 0 auto;
}

.controls-container-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 1.2em 1em;
}

.controls-container-inner > *:not(:last-child) {
	margin-bottom: 1.5em;
}

.input-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: baseline;
}

.input-row > *:not(:last-child) {
	margin-right: 1em;
}

.input-container {
	display: flex; 
	align-items: center;
}

.input-container-left {
	flex-grow: 0;
}

.input-container-right {
	flex-grow: 2;
}

.input-container input[type="range"] {
	flex-grow: 1;
}

.flex {
	flex: 1;
}

.input-container input,
.input-container select {
	font: inherit;
	color: inherit;
	outline: 0;
	padding: 0;
	margin: 0;
	flex: 1;
	width: auto;
}

.input-container label {
	font-weight: bold;
	white-space: nowrap;
	margin-right: 0.5em;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  

   opacity: 1;

}

input[type=color] {
	width: 2em;
}