/* Página principal, categorias e notas */

div#content {
	display: flex;
	justify-content: space-between;
	width: 90%;
	margin: 2% auto;
}

/* ------------------------------------------------------------
   Abas e listas de notas
   ------------------------------------------------------------ */
div#sistema_abas {
	width: 29%;
}

div#abas {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

button.aba {
	width: 32%;
	height: 40px;
	padding-top: 8px;
	font-family: inherit;
	font-size: 0.7vw;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	background-color: var(--verde);
	border: none;
	border-radius: 30px 30px 0 0;
	cursor: pointer;
}

button.aba.aba_select {
	background-color: var(--verde-escuro);
}

div.aba_visivel {
	width: 100%;
	min-height: 600px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--sombra);
}

input#pesq_notas1,
input#pesq_notas2,
input#pesq_notas3 {
	width: 98%;
	margin: 0 0 2% 0;
	padding: 1%;
	font-size: 16px;
	color: var(--cinza);
	appearance: none;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid var(--verde-claro);
	transition: border 0.3s;
}

input#pesq_notas1:focus,
input#pesq_notas2:focus,
input#pesq_notas3:focus {
	outline: none;
	border-bottom: 2px solid var(--verde);
}

div.text_aba {
	display: flex;
	justify-content: space-between;
	width: 96%;
	margin: 1% 2%;
	padding: 1% 0;
}

div.text_aba:hover {
	background-color: var(--verde-fundo);
}

div.text_aba.selected {
	background-color: #E0E0E0;
}

a.link_notes {
	width: 70%;
}

h3.titulo {
	color: var(--verde-vivo);
	font-size: 16px;
	font-weight: normal;
}

p.data,
p.autor {
	display: inline;
	font-size: 12px;
	color: var(--cinza-escuro);
}

p.data {
	font-style: italic;
}

p.autor {
	font-weight: 600;
}

img.editar,
img.deletar {
	width: 18px;
}

/* ------------------------------------------------------------
   Nota aberta
   ------------------------------------------------------------ */
div.nota_selected {
	width: 649px;
	min-height: 600px;
	margin: 0 1%;
	padding: 1%;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--sombra);
}

div.centralizar_top {
	display: flex;
	justify-content: space-between;
}

.link_perfil {
	display: flex;
	width: 40%;
	margin: 1% 0 2% 1%;
	padding: 1%;
}

img.photo_perfil {
	width: 50px;
	height: 50px;
	margin-right: 1%;
	border-radius: 50%;
}

.nome_user {
	font-style: italic;
	color: #000;
}

div.partilhar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 1% 1% 0 0;
}

div.partilhar a {
	padding: 4px 10px;
	border-radius: 15px;
	background-color: var(--verde);
	color: #fff;
	font-size: 12px;
}

div.partilhar a:hover {
	background-color: var(--verde-escuro);
}

a.report {
	display: block;
	float: right;
	margin-top: 6px;
	text-decoration: underline;
	color: var(--vermelho);
}

a.report:hover {
	color: var(--vermelho-escuro);
}

h1.titulo_nota {
	color: var(--verde-vivo);
}

div.text_nota {
	width: 100%;
	margin: 2% 0 0 0;
	padding-bottom: 5%;
	overflow-x: auto;
}

/* Coluna da direita (publicidade) */
div#propaganda {
	width: 19%;
	min-height: 600px;
	padding: 1%;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--sombra);
}

/* ------------------------------------------------------------
   Janela de apresentação (primeira visita)
   ------------------------------------------------------------ */
div#janela {
	display: none;
}

div#janela.aberta {
	display: block;
}

div#mascara {
	position: fixed;
	inset: 0;
	z-index: 4000;
	background-color: rgba(0, 0, 0, 0.8);
}

div.window_confirm {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 4900;
	width: 650px;
	max-width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 10px;
}

div.janela_topo {
	padding: 2% 0;
	background-color: var(--verde);
	border-radius: 10px 10px 0 0;
}

p.titulo_topo {
	margin: 5px 0 10px 20px;
	color: #fff;
	font-weight: bold;
}

div.janela_texto {
	padding: 10px;
}

div.janela_texto p {
	margin-bottom: 10px;
	text-indent: 20px;
}

button#entendi {
	display: block;
	width: 200px;
	margin: 10px auto;
	padding: 10px 0;
	font-family: inherit;
	font-size: 16px;
	color: #fff;
	text-align: center;
	background-color: var(--verde);
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
