@charset "UTF-8";
/* Ziant */
/* Websites */

/*
-- Paleta de cores --

Dark(preto): #343a40
Light(branco): #f8f9fa
Danger(vermelho): #dc3545
Success(verde): #28a745
Primary(azul): #007bff
Warning(amarelo): #ffc107

*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
	-webkit-scroll-behavior: smooth;
	-moz-scroll-behavior: smooth;
}

body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	overflow-x: hidden;
	background-color: #F5F5F5;
	color: #343a40;
	font-size: 14px;
}
a, a:hover {
    text-decoration: none;
}

/* ---------- Dashboard ---------- */

.logo { margin: 1px }

/* ---------- Cookies - Aviso das Políticas de Privacidade ---------- */
#div_PolPrivacidade {
    display: flex;
    padding: 10px 20px;
    margin: auto 10px;
    position: fixed;
    bottom: 0;
    z-index: 3;
    font-size: 14px;
    background-color: #709ecb;
    border-radius: 6px 6px 0 0;
}
#div_PolPrivacidade p {
    margin: 0;
}
#div_PolPrivacidade a {
    color: #f8f9fa;
}
#div_PolPrivacidade div {
    margin: auto;
}
#btn_PolPrivacidade {
    font-size: 12px;
}

/* ---------- Navbar e Rodapé do website (alterar na implantação) ---------- */

/* Navbar */
.navbar {
    padding-left: 200px;
    padding-right: 200px;
    width: 100%;
    display: flex;
    background-color: #F8F9FA;
    border-bottom: 1px solid #d6e6f6;
}
.navbar_menu .nav-link {
  	border-bottom: 2px solid transparent;
  	font-size: 16px;
	color: #343a40;
	font-weight: bold;
}
.navbar_menu .nav-link:hover, .navbar_menu .nav-link:focus {
	transition: 0.25s;
    border-bottom: 2px solid #007bff;
}
.navbar_menu .nav-link:not(:hover) {
	transition: 0.5s;
	border-bottom: 2px solid transparent;
}
.nav-item {
	margin: 1px 3px 1px 3px;
}

/* Rodapé */
.rodape_lp {
	background-color: #7cafe2;
}
.rodape_titulo {
	font-size: 16px;
    margin-bottom: 2px;
    font-weight: bold;
    color: #272C30;
}
.rodape_texto, .rodape_texto a {
	font-size: 14px;
    color: #272C30;
}
.rodape_texto img {
	height: 32px;
    margin-left: 5px;
    margin-bottom: 5px;
}
.btn_redes_sociais img {
	height: 32px;
    margin: 10px;
    transition: .25s ease-in-out;
}
.btn_redes_sociais img:hover {
	transform: scale(1.5);
}
.sobre_div {
	margin-top: 20px;
    width: 100%;
}

/* ---------- Blog Home (index) - acesso público ---------- */

.titulo_blog {
	font-size: 32px;
	font-weight: bold;
	margin: 20px 0 20px 64px;
}
.categoriaSection {
	margin: 40px 0;
	padding: 20px 0 40px 0;
	background-color: #e9e9e9;
}
.titulo_categorias {
	font-size: 32px;
	font-weight: bold;
	margin: 20px 0;
}
.categoriaSection .btn_categoria {
	font-size: 14px;
	margin: 0 10px;
}

/* ---------- AcessoAdm ---------- */
.nome_fantasia {
	text-decoration: none;
	color: #f8f9fa;
	font-size: 18px;
}
.form {
    margin-left: 70px;
    margin-right: 70px;
}

.menu_titulo {
    text-align: center;
    width: auto;
    color: #343a40;
	font-size: 22px;
	font-weight: bold;
}
.control_btn:hover {
	text-decoration: none;
}

.lista_registro {
    width: 98%;
    color: #343a40;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px;
    background-color: transparent;
    border: 1px solid #343a40;
}

.indent {
    padding-left: 50px;
}

/* ---------- Controle: Posts recentes ----------- */
.blog_scroll_hr { /* esconde a scrollbar mas mantém a função de scroll */
	overflow-x: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
  	scrollbar-width: none;	/* Firefox */
}
.blog_scroll_hr::-webkit-scrollbar{
	display: none;
}
.posts_recentes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 0 auto;
}
.posts {
	border: 1px solid #343a40;
	border-radius: 6px;
	background-color: #f8f9fa;
	box-shadow: 3px 3px 2px gray;
	position: relative;
}
.posts:nth-child(1) {
	width: 480px;
	height: 480px;
	grid-row: 1/3;
	background-position: top;
	background-size: 80%;
	display: grid;
	grid-template-rows: 280px 200px;
}
.posts:nth-child(1) .img_capa {
	height: 272px;
	max-width: 472px;
	margin-top: 4px;
	border-radius: 6px;
}
.posts:nth-child(1) .div_capa {
	text-align: center;
	padding: 0;
	margin: 0;
}
.posts:nth-child(1) .post_info {
	grid-row: 2/3;
	padding: 0 10px;
}
.posts:nth-child(1) .posts_titulo {
	font-size: 24px;
	font-weight: bold;
	margin: 2px auto;
	height: 64px;
	text-align: center;
}
.posts:nth-child(1) .posts_subtitulo {
	font-size: 16px;
	height: 64px;
	padding: 10px 10px 0 10px;
	text-align: center;
}
.posts:nth-child(n + 2) {
	width: 480px;
	height: 230px;
	background-position: left;
	background-size: 48%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
.posts:nth-child(n + 2) .img_capa {
	height: 220px;
	width: 220px;
	border-radius: 6px;
	margin: 4px 0 auto 4px;
}
.posts:nth-child(n + 2) .post_info {
	grid-column: 2/3;
}
.posts:nth-child(n + 2) .posts_titulo {
	font-size: 16px;
	font-weight: bold;
	margin: 2px auto;
	height: 64px;
	padding: 6px;
}
.posts:nth-child(n + 2) .posts_subtitulo {
	font-size: 14px;
	height: 86px;
	padding: 6px;
}
.posts:hover {
	cursor: pointer;
}
.posts_subtitulo {
	font-size: 14px;
	height: 86px;
	padding: 6px;
}
.div_data {
	font-size: 11px;
	display: flex;
	justify-content: space-between;
}
.div_data div:nth-child(1) small {
	margin: 10px 0 0 2px;
	display: block;
}
.control_btn {
	border: 2px solid #007bff;
	border-radius: 14px;
	background-color: #007bff;
	color: #f8f9fa;
	font-weight: bold;
	padding: 10px;
	transition: .25s ease;
}
.control_btn:hover {
	border: 2px solid #007bff;
	background-color: #f8f9fa;
	color: #007bff;
}
.check_publicado {
	height: 40px;
	position: absolute;
	left: 6px;
	top: 6px;
}
.tag_categoria {
	text-align: center;
	height: 26px;
	padding: 6px;
	margin: 6px 6px 0 0;
	border-radius: 5px;
}
.div_autor {
	font-size: 10px;
	margin: 2px 0 0 2px;
}

/* ---------- Controle: acessos ---------- */
.lista:hover {
	cursor: pointer;
	background-color: lightblue;
}

/* ---------- Consulta Posts ---------- */
.box_col_post {
	border: 1px solid #c2c2c2;
	border-radius: 5px;
	background-color: white;
	padding: 0;
}
.img_capa_post {
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-color: lightgray;
	border-radius: 4px 4px 0 0;
	margin: 0 0 10px 0;
	padding: 0;
}
.elem.img {
	text-align: center;
	margin: 20px auto 20px auto;
}
.content_img {
	height: 300px;
}
.div_by_date {
	font-size: 12px;
	margin: 10px 35px;
	display: flex;
	justify-content: space-between;
}
.img_avatar_post {
	height: 36px;
	width: 36px;
	border: 1px solid #c2c2c2;
	padding: 1px;
	border-radius: 100%;
}
.div_categ_tags {
	display: flex;
	justify-content: space-between;
	margin: 10px 0;
}
.btn_categoria {
	padding: 10px;
	font-weight: bold;
	border-radius: 10px;
	margin: 0 10px;
}
.mais_posts {
	display: flex;
	overflow-x: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.mais_posts_div {
	border: 1px solid #343a40;
	border-radius: 6px;
	box-shadow: 3px 3px 2px gray;
	font-size: 12px;
	width: 440px;
	border-radius: 10px;
	display: flex;
	margin: 0 10px 10px 10px;
}
.mais_posts_div:hover {
	cursor: pointer;
}
.mais_posts_div_img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 220px;
	height: 220px;
	border-radius: 10px 0 0 10px;
	border: 1px solid #c2c2c2;
}
#dados {
	width: 220px;
}
.dados_data {
	margin: 10px 4px 20px 4px;
}
.dados_titulo {
	font-weight: bold;
	margin: 6px;
	word-wrap: break-word;
	-ms-word-wrap: break-word;
}
.dados_subtitulo {
	margin: 10px 4px;
	word-wrap: break-word;
	-ms-word-wrap: break-word;
}
.dados_autor {
	font-size: 10px;
	margin: 10px 4px;
}
.dados_img_avatar {
	height: 24px;
	width: 24px;
	border: 1px solid #c2c2c2;
	padding: 1px;
	border-radius: 100%;
}

/* ---------- Inserir Posts ---------- */

#btn_select_img {
	border: 1px solid #343a40;
	border-radius: 5px;
	background-color: #fff;
	color: #343a40;
	font-size: 12px;
	font-weight: bold;
	padding: 8px;
}
.post_img_capa {
	width: 300px;
}
.preview {
	overflow-x: hidden;
}
.visual_text_edit {
	width: 100%;
	margin: 10px auto;
	padding: 5px 8px;
	word-wrap: break-word;
	-ms-word-wrap: break-word;
}
.caixa_text_edit {
	border: 2px solid lightgray;
	border-radius: 10px;
	padding: 5px;
	margin: 10px auto;
}
.menu_text_edit {
	margin-bottom: 5px;
}
.btn_text_edit{
	border: 1px solid lightgray;
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	width: 28px;
	height: 28px;
	margin: 5px;
	padding: 6px;
}
.text_edit {
	border: 1px solid lightgray;
	border-radius: 3px;
	padding: 5px 8px;
	background-color: white;
	word-wrap: break-word;
	-ms-word-wrap: break-word;
}
.reg_text_edit {
	margin: 6px auto;
	padding: 4px 0;
	border-radius: 6px;
	position: sticky;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.2);
}
.reg_text_edit small {
	display: block;
	margin: 8px 0;
}
.btn_insert {
	border: 1px solid #007bff;
	border-radius: 6px;
	color: #f8f9fa;
	background-color: #007bff;
	margin: auto;
	width: 80px;
	transition: 0.25s ease;
	font-size: 12px;
	font-weight: bold;
}
.btn_insert:hover {
	color: #007bff;
	background-color: #f8f9fa;
}
.visualiza_img {
	position: relative;
	border: 2px solid lightgray;
	border-radius: 10px;
	padding: 5px;
	margin: 10px auto;
}
.visualiza_img img {
	margin: auto;
	display: block;
}
.btn_excluir_img {
	position: absolute;
	top: 4px;
	right: 4px;
	border: 1px solid lightgray;
	width: 28px;
	height: 28px;
	padding: 6px;
}
.img.post_box {
	position: relative;
}
.btn_editpage_div {
	position: absolute;
	right: 6px;
	top: 6px;
}
.btn_editpage {
	margin: 4px 4px;
	padding: 4px;
	border: 1px solid lightgray;
	background-color: white;
}

/* ---------- Menu de Controle: Consulta Posts ---------- */
.menu_adm {
	border: 1px solid gray;
	border-radius: 5px;
	background-color: #f8f9fa;
	box-shadow: 1px 1px 2px #343a40;
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
}
.btn_edit {
	border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
	padding: 10px;
	border-radius: 5px;
	margin-right: 10px;
}
.btn_edit:hover {
	border: 1px solid #007bff;
    color: #f8f9fa;
    background-color: #007bff;
}
.btn_excluir {
    border: 1px solid #dc3545;
    color: #dc3545;
    background-color: transparent;
	padding: 10px;
	border-radius: 5px;
	margin-right: 10px;
}
.btn_excluir:hover {
    border: 1px solid #dc3545;
    color: #f8f9fa;
    background-color: #dc3545;
}
#btn_publicado {
    border: 1px solid #28a745;
    color: #f8f9fa;
    background-color: #28a745;
	font-weight: bold;
	padding: 6.5px;
	vertical-align: middle;
	border-radius: 5px;
	margin-right: 10px;
	font-size: 15px;
	width: 135px;
}
#btn_nao_publicado {
    border: 1px solid silver;
    color: silver;
    background-color: transparent;
	font-weight: bold;
	padding: 7.5px;
	vertical-align: middle;
	border-radius: 5px;
	margin-right: 10px;
	width: 135px;
}
.img_publicado {
	height: 40px;
	position: absolute;
	right: 8px;
	top: 8px;
}

/* ---------- Categorias ---------- */
.visual_categoria_box {
	border: 1px solid #c2c2c2;
	box-shadow: 1px 1px 1xp lightgray;
	padding: 40px;
	margin: 20px;
}
.visual_categoria {
	padding: 10px;
	font-weight: bold;
	border: 1px solid transparent;
	border-radius: 10px;
}
.color_picker {
	height: 60px;
	width: 60px;
	border-radius: 6px;
}

/* ---------- Rodape ---------- */
.rodape_adm{
	background-color: #483D8B;
	color: #f8f9fa;
	text-align: center;
	bottom: 0;
}
.conteudo_rodape{
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 14px;
}
.devby{
	text-align: center;
	font-size: 12px;
	color: #F8F8FF;
	background-color: #343a40;
}


/* ---------- Media queries ---------- */
/* xs < 768 */
@media screen and (max-width: 767px) {
	.logo { height: 70px; margin-bottom: 5px; }
	.navbar { padding-left: 20px; padding-right: 20px; }
	.navbar_menu .nav-link { font-size: 14px; }
	.rodape_titulo { font-size: 16px; text-align: center; }
    .rodape_texto, .rodape_texto a { font-size: 14px; text-align: center; }
    .rodape_texto img { height: 26px; }
    .btn_redes_sociais { text-align: center; }
    .btn_redes_sociais img { height: 26px; }
	.img_capa_post { height: 280px; }
	.content_img { height: 200px; width: 100%; }
	#div_PolPrivacidade {
        display: flex;
        padding: 4px;
        margin: auto 4px;
        position: fixed;
        bottom: 0;
        z-index: 3;
        font-size: 10px;
        background-color: #709ecb;
        border-radius: 6px 6px 0 0;
    }
    #btn_PolPrivacidade { font-size: 10px; }

	/* ---------- Blog Home (index) - acesso público ---------- */
	.titulo_blog {
		font-size: 20px;
		font-weight: bold;
		margin: 20px 0 10px 10px;
	}
	.titulo_categorias {
		font-size: 20px;
		font-weight: bold;
		margin: 20px 0;
	}
	.categoriaSection .btn_categoria {
		font-size: 11px;
		margin: 0 4px;
	}
	.nome_fantasia { font-size: 14px; }
	.conteudo_rodape { font-size: 12px; }
	.menu_titulo { font-size: 16px; }

	/* ---------- Controle: posts ----------- */
	.posts_recentes {
		display: block;
		justify-content: center;
		width: 100%;
		margin: 0 auto;
	}
	.posts {
		border: 1px solid #343a40;
		border-radius: 6px;
		box-shadow: 3px 3px 2px gray;
		position: relative;
	}
	.posts:nth-child(1) {
		width: 94%;
		height: 340px;
		background-position: top;
		background-size: 80%;
		display: block;
		margin: 10px auto;
	}
	.posts:nth-child(1) .img_capa {
		height: 120px;
		max-width: fit-content;
		margin-top: 4px;
		border-radius: 6px;
	}
	.posts:nth-child(1) .div_capa {
		text-align: center;
		padding: 0;
		margin: 0;
	}
	.posts:nth-child(1) .post_info {
		grid-row: 2/3;
		padding: 0 10px;
	}
	.posts:nth-child(1) .posts_titulo {
		font-size: 18px;
		font-weight: bold;
		margin: 2px auto;
		height: fit-content;
		text-align: center;
	}
	.posts:nth-child(1) .posts_subtitulo {
		font-size: 16px;
		height: fit-content;
		padding: 10px 10px 0 10px;
		text-align: center;
	}
	.posts:nth-child(n + 2) {
		width: 94%;
		height: 340px;
		background-position: top;
		background-size: 80%;
		display: block;
		margin: 10px auto;
	}
	.posts:nth-child(n + 2) .img_capa {
		height: 120px;
		justify-content: center;
		max-width: fit-content;
		margin-top: 4px;
		border-radius: 6px;
	}
	.posts:nth-child(n + 2) .div_capa {
		text-align: center;
		padding: 0;
		margin: 0;
	}
	.posts:nth-child(n + 2) .post_info {
		grid-row: 2/3;
		padding: 0 10px;
	}
	.posts:nth-child(n + 2) .posts_titulo {
		font-size: 18px;
		font-weight: bold;
		margin: 2px auto;
		height: fit-content;
		text-align: center;
	}
	.posts:nth-child(n + 2) .posts_subtitulo {
		font-size: 16px;
		height: fit-content;
		padding: 10px 10px 0 10px;
		text-align: center;
	}
	.posts:hover {
		cursor: pointer;
	}
	.posts_subtitulo {
		font-size: 14px;
		height: 86px;
		padding: 6px;
	}
	.div_data {
		font-size: 11px;
		display: flex;
		justify-content: space-between;
	}
	.div_data div:nth-child(1) small {
		margin: 10px 0 0 2px;
		display: block;
	}
	.tag_categoria {
		text-align: center;
		height: 26px;
		padding: 6px;
		margin: 6px 6px 0 0;
		border-radius: 5px;
	}
	.div_autor {
		font-size: 10px;
		margin: 2px 0 0 2px;
	}
	.lista {
		font-size: 12px;
		padding: 0;
		margin: 0;
	}

	/* ---------- Consulta Posts ---------- */
	.div_by_date {
		font-size: 10px;
		margin: 10px 35px;
		display: flex;
		justify-content: space-between;
	}
	.img_avatar_post {
		height: 22px;
		width: 22px;
		border: 1px solid #c2c2c2;
		padding: 1px;
		border-radius: 100%;
	}
	.titulo_post {
		margin: 10px 20px;
		font-size: 18px;
		font-weight: bold;
	}
	.subtitulo_post {
		margin: 10px 20px 20px 20px;
		font-size: 16px;
	}
	.texto_post {
		margin: 10px 20px 20px 20px;
		font-size: 14px;
		word-wrap: break-word;
	}
	.div_categ_tags {
		display: block;
		margin: 10px 10px;
	}
	.btn_categoria {
		font-size: 11px;
		margin: 4px;
	}
	.mais_posts {
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
	}
	.mais_posts_div {
		border: 1px solid #343a40;
		border-radius: 6px;
		box-shadow: 3px 3px 2px gray;
		font-size: 12px;
		width: 340px;
		border-radius: 10px;
		display: flex;
		margin: 0 10px 10px 10px;
		scroll-snap-align: center;
	}
	#dados {
		width: 200px;
	}
	.dados_subtitulo {
		margin: 4px;
		white-space: nowrap;
		width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.mais_posts_div_img {
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		width: 180px;
		height: 180px;
		border-radius: 10px 0 0 10px;
		border: 1px solid #c2c2c2;
	}
	.dados_img_avatar {
		height: 22px;
		width: 22px;
		border: 1px solid #c2c2c2;
		padding: 1px;
		border-radius: 100%;
	}
}

/* sm */
@media screen and (min-width: 768px ) {
	.logo { height: 70px; }
	.titulo_post {
		margin: 10px 20px;
		font-size: 20px;
		font-weight: bold;
	}
	.subtitulo_post {
		margin: 10px 80px 20px 80px;
		font-size: 16px;
	}
	.texto_post {
		margin: 10px 20px 20px 20px;
		font-size: 14px;
		word-wrap: break-word;
	}
   .img_capa_post { height: 300px; }
   .btn_slider { display: none; }
}

/* md */
@media screen and (min-width: 992px) {
	.logo { height: 74px; }
	.titulo_post {
		margin: 10px 40px;
		font-size: 22px;
	}
	.subtitulo_post {
		margin: 10px 140px 20px 140px;
		font-size: 18px;
	}
	.texto_post {
		margin: 10px 20px 20px 20px;
		font-size: 16px;
	}
	.img_capa_post { height: 340px; }
	
	.btn_slider {
		display: block;
		width: 48px;
		background-color: transparent;
	}
	#btn_slider_esquerda {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
	}
	#btn_slider_direita {
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
	}
}

/* lg */
@media screen and (min-width: 1200px) {
	.logo { height: 80px; }
	.titulo_post {
		margin: 10px 0;
		font-size: 24px;
	}
	.subtitulo_post {
		margin: 10px 200px 20px 200px;
		font-size: 18px;
	}
	.texto_post {
		margin: 10px 35px 20px 35px;
		font-size: 16px;
	}
	.img_capa_post { height: 414px; }
}