/* LIFEGAMES             */
/* --------------------- */
/*
html, body {
height: 100%;
margin: 0px;
  font-family: "Verdana", sans-serif;
font-size:18px;
overflow-y:hidden;
background-color:white;
}

#plantas{clear:both;}

#plantas,#especime1,#especime2,#universo,#editar,#restaurar{display:none;}

#topo{height:40px;}

#lifegameDiv{margin-top:10px;font-size:10px;margin-left:8px;}

#parametros{width:300px;float:left;padding-right:2px;clear:both;margin-top:20px;}

#lifegameCanvas{border-style:solid;border-width:1px;}

#tituloJogo{font-size:20px;margin-left:50px;margin-top:8px;margin-bottom:5px;}

#deus, #editar, #pausar, #restaurar,#buttonRun,#buttonStep,#buttonExport,#buttonRestart,#buttonClear {height:40px;width:70px;}

#editar,#restaurar {float:left;margin-left:3px;margin-bottom:10px;}

#pausar {display:none;float:left;margin-left:35px;margin-bottom:10px;}

#numGeracoes,#populacaoPlantas,#populacaoEspecime1,#populacaoEspecime2 {float:left;width:25px;}
#populacaoPlantas{color:#00ff00;float:left;}

#populacaoEspecime1{color:#0000ff;float:left;}

#populacaoEspecime2{color:#ff0000;float:left;}

.rotulo{float:left;margin-left:15px;}

.variavel, .tituloEspecime, .tituloJogo{font-weight:bold;}

#temporalidade{font-size:12px;float:left;margin-left:50px;margin-top:20px;}

#coordsInicio{float:left;margin-top:24px;margin-left:50px;}
#coordsFim{float:left;margin-left:10px;}
#javascriptConsole{float:left;display:none;margin-left:0px;margin-top:10px;width:300px;font-size:13px;}
#console{color:red;}

.versao{display:none;}
*/

.editorTextoArea {
	width:1040px;
	height:570px;
}

.editorTextoArea, #plantas, #especime1, #especime2, #universo, #editar, #restaurar, #pausar { display: none; }
#console { color: #ff474c; }

.lifegame-info {
	background: #FBFBFB;
	box-shadow: 0px 20px 25px -20px rgba(0, 4, 99, 0.1), 0px 50px 60px rgba(0, 4, 99, 0.07);
	border-radius: 10px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: #636E89;
	padding: 15px;
	overflow: hidden;
}
.lifegame-info p { margin: 0 }
.lifegame-info p:not(:last-child) {
	margin-bottom: 10px;
}
p.lifegame-goal {
	background-color: #fff;
	border-top: 1px solid rgb(28, 51, 88,.1);
	font-weight: 500;
	color: rgba(28, 51, 88, .9);
	padding: 12px 15px;
	margin: 15px -15px -15px;
}
.lifegame-config-title {
	background: #e3e4ea url("data:image/svg+xml,%0A%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11a1 1 0 0 0-1 1v10a1 1 0 1 0 2 0V12a1 1 0 0 0-1-1ZM12 15a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0v-6a1 1 0 0 0-1-1ZM20 8a1 1 0 0 0-1 1v13a1 1 0 0 0 2 0V9a1 1 0 0 0-1-1ZM6 7H5V2a1 1 0 0 0-2 0v5H2a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2ZM14 11h-1V2a1 1 0 0 0-2 0v9h-1a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2ZM22 4h-1V2a1 1 0 0 0-2 0v2h-1a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2Z' fill='%23636E89'/%3E%3C/svg%3E") no-repeat 15px center;
	background-size: 20px;
	display: flex;
	align-items: center;
	height: 40px;
	font-size: 13px;
	font-weight: 400;
	color: #1C3358;
	padding: 15px 10px 15px 45px;
	margin: -15px -15px 15px;
}
.lifegame-config-btns {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0px;
}
.lifegame-config-btns .bt {
	border-radius: 0;
	flex-grow: 1;
	height: 32px;
	text-align: center;
	padding: 0 8px 2px;
}
.lifegame-config-btns .bt:first-child { border-radius: 6px 0 0 6px; }
.lifegame-config-btns .bt:last-child { border-radius: 0 6px 6px 0; }
.layout-msg {
	min-height: 15px;
	font-size: 12px;
	line-height: 1.25;
	margin-top: 10px;
}
.lifegame-parametros {
	padding: 20px 0;
}
.lifegame-parametros .bt {
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
	padding-bottom: 2px;
}
.lifegame-parametros .bt span {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: normal;
}
.lifegame-parametros-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.lifegame-export {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.exportUrl {
	display: flex;
	align-items: center;
	gap: 10px;
}
.bt-external {
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.285 0H3.571a.714.714 0 000 1.428h3.99L.209 8.781a.714.714 0 001.01 1.01l7.353-7.352v3.99a.714.714 0 001.428 0V.714A.714.714 0 009.285 0z' fill='%23fff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding: 0 30px 2px 12px;
	text-align: left;
}
.exportUrlInfo {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
	opacity: .8;
}
.lifegame-container {
	background: #FBFBFB;
	box-shadow: 0px 20px 25px -20px rgba(0, 4, 99, 0.1), 0px 50px 60px rgba(0, 4, 99, 0.07);
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	padding: 1px;
	position: relative;
	overflow: hidden;
}
.lifegame-evolution-info-container {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}
.lifegame-evolution-info {
	background-color: #e3e4ea;
	border-radius: 5px;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	font-size: 12px;
	font-weight: 400;
	color: #5f6985;
	padding: 0 5px 0 10px;
}
.lifegame-evolution-data {
	background-color: #fff;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 60px;
	height: 30px;
	font-weight: 500;
	padding: 0 10px;
}
#canvas,
#lifegameCanvas {
	border: 1px solid rgba(28, 51, 88, .4);
	display: block;
	padding: 0;
	margin: 0;
	position: relative;
}
#canvas.fullCanvas {
	border: 0;
	position: fixed;
	top: 0;
	left: 0;
	cursor: not-allowed;
	z-index: 1001;
}
.lifegame-patterns {
	background-color: rgba(201, 207, 217,.2);
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 13px;
	font-weight: 400;
	color: #5f6985;
	padding: 10px 20px;
	margin: 10px -10px -10px;
}
.lifegame-patterns-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.lifegame-patterns-btn {
	background-color: #fff;
	border-radius: 16px;
	display: flex;
	align-items: center;
	height: 32px;
	color: #5f6985;
	padding: 0 15px;
}
.lifegame-patterns-btn:hover,
.lifegame-patterns-btn.active {
	background-color: #5f6985;
	color: #fff;
}
.lifebox-config {
	background: #FBFBFB;
	box-shadow: 0px 20px 25px -20px rgba(0, 4, 99, 0.1), 0px 50px 60px rgba(0, 4, 99, 0.07);
	border-radius: 10px;
	max-width: 300px;
	font-family: monospace;
	font-size: 11px;
	font-weight: 400;
	color: rgba(28, 51, 88,.8);
	padding: 10px 15px;
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
}
.lifebox-config-title {
	background-color: rgba(28, 51, 88, .2);
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(28, 51, 88, 1);
	padding: 12px 15px;
	margin: -10px -15px 10px;
}
.lifebox-config .variavel {
	font-weight: 700;
	color: rgba(28, 51, 88, 1);
}
.link-external {
	background: rgba(255,255,255,.5) url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.285 0H3.571a.714.714 0 000 1.428h3.99L.209 8.781a.714.714 0 001.01 1.01l7.353-7.352v3.99a.714.714 0 001.428 0V.714A.714.714 0 009.285 0z' fill='%232B7CFF'/%3E%3C/svg%3E") no-repeat right 12px center;
	border-radius: 8px;
	display: inline-block;
	font-size: 12px;
	color: #2B7CFF;
	padding: 10px 34px 10px 12px;
	margin-bottom: 15px;
	cursor: pointer;
}
.link-external:hover {
	background-color: #fff;
	box-shadow: inset 0 0 0 2px #2B7CFF;
}

.header-page-info {
    display: flex;
	align-items: center;
	gap: 20px;
    height: 100%;
    color: #1C3358;
    margin: 0;
    position: absolute;
    top: 0;
    left: calc(25% + 6px);
	z-index: 1;
}
.header-page-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #1C3358;
    margin: 0;
}

#coordsFim { margin: 0 0 0 auto; }

@media (max-height: 700px) {
	.lesson-lifegame .header-page-title { font-size: 18px; }
	.lesson-lifegame .header-page-info .form-select {
		padding-top: 5px;
		padding-bottom: 5px;
		margin-bottom: 1px;
	}
}