/* Criar e editar nota (3 passos) */

div#tela {
	width: 70%;
	margin: 2% auto;
	padding: 2% 1%;
	background-color: #fff;
	border-radius: 10px;
}

/* Indicador dos passos 1 - 2 - 3 */
div#nivel {
	display: flex;
	align-items: center;
	width: 50%;
	height: 60px;
	margin: 1% auto;
}

div#nivel_1,
div#nivel_2,
div#nivel_3 {
	padding: 15px;
	border-radius: 50%;
	background-color: #CFD8DC;
	color: #fff;
	font-size: 16px;
}

div#nivel_1,
div#nivel_2 {
	cursor: pointer;
}

div#nivel.terminado div {
	cursor: default;
}

div#nivel div.nivel_atual {
	background-color: #607D8B;
}

div#nivel div.nivel_completo,
div#nivel div.caminho_andado {
	background-color: #76FF03;
}

div#way_1,
div#way_2 {
	flex: 1;
	height: 10px;
	background-color: #CFD8DC;
}

h1.titulo_passo {
	margin-bottom: 2%;
}

/* Passo 1: categorias */
input#pesq_nota {
	display: inline-block;
	width: 70%;
	margin: 0 0 1% 10%;
	font-size: 16px;
	color: var(--cinza);
	padding: 5px 2px;
}

div#categorias {
	display: flex;
	flex-wrap: wrap;
}

div.cat_selection {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 23%;
	margin: 1%;
	padding: 2% 0;
	background: #ECEFF1;
	border-radius: 5px;
}

p.categoria {
	width: 60%;
	text-transform: uppercase;
	font-size: 14px;
	overflow-wrap: break-word;
}

button.categoria {
	padding: 2% 3%;
	border-radius: 2px;
	background-color: var(--verde-vivo);
	border: none;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
}

/* Caixa para criar uma categoria quando a pesquisa não encontra nenhuma */
div#add_cat_box {
	display: none;
	width: 60%;
	margin: 2% 0 1% 10%;
	padding: 1%;
	border-radius: 10px;
}

div#add_cat_box p {
	font-size: 14px;
	color: var(--vermelho);
	margin: 1% 0;
}

button#add_cat_btn {
	float: right;
	margin: 1% 10% 0 0;
	padding: 2% 3%;
	border-radius: 2px;
	background-color: var(--verde-vivo);
	border: none;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
}

/* Passo 2: a nota */
form#creation_note {
	display: none;
	width: 90%;
}

form#creation_note select#visibilidade {
	width: 200px;
}

input#titulo {
	margin-bottom: 2%;
}

button#creation_note_btn {
	margin-left: 55%;
}

/* Passo 3: resultado */
div#resultado {
	display: none;
}

h1#resultado_titulo {
	width: 400px;
	max-width: 100%;
	margin: 2% auto;
}

a.link_notas {
	display: inline-block;
	margin-bottom: 1%;
	padding: 1% 2%;
	font-size: 14px;
	background-color: var(--verde-vivo);
	color: #fff;
}

div#nota_criada {
	width: 649px;
	max-width: 100%;
	padding: 2% 1px;
	border: 1px solid #ccc;
}

h2#titulo_nota {
	margin: 0 0 1% 2%;
}

div#nota_texto_completa {
	width: 100%;
}
