@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--menu-w: 240px;

	--navy-900:#1e1a27;
	--navy:#1e1a27;
	--navy-700:#4b3b70;
	--navy-500:#9b8fb8;
	--navy-100:#f2f0f6;
	--navy-50:#faf8fc;
  --em-600:#42b6a4;

  --em-500:#7dd3c8;
  --em-50:#e8faf7;

  --emerald-500:#39beab;

  --n-900:#111827;
  --n-700:#374151;
  --n-500:#6b7280;
  --n-400:#9ca3af;
  --n-300:#d1d5db;
  --n-200:#e5e7eb;
  --n-100:#f3f4f6;
  --n-50:#f9fafb;

}

.font-light {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  letter-spacing: -.7px;
}

.font-normal {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -.5px;
}

.font-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.7px;
}


/* Geral */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
* {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -.7px; 
  cursor: default;
}

body {
  background: #efeedb66;
  padding: 0;
  margin: 0; 
}

main {
  margin: 30px 20px 50px;
}

main > h1,
main > h2,
main > h3,
main > h4,
main > h5 {
	padding: 0 10px;
}

main > p {
    padding: 30px 10px 20px;
    margin-bottom: 0;
}

h1, h2, h3, h4, h5 {
	margin-bottom: 10px;
	line-height: 1.5;
}

h1 {	
	font-size: 25px;
	line-height: 44px;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child {
	margin-top: 0;
}

h1:first-child {
  padding: 30px 20px 20px 20px;
}

hr {
	border-color: #0002;
	border-width: 2px 0 0 0;
	border-style: dotted;
	margin: 15px 0;
}

p {
	margin-top: 0;
}

a {
	color: #8161ab;
}

ol, ul {
  font-size: 13px;
  line-height: 1.7;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-position: inside;
}

svg {
	vertical-align: middle;
  color: #9ca3af;
}

.hide {
	display: none !important;
}

/* Nav */

nav {
  text-align: center;	
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	font-size: 13px;
	border-radius: 5px;
}

nav .logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px 10px 10px;
	text-align: left;
	border-bottom: #fff2 dotted 2px;
	margin-bottom: 10px;

}

nav .logo *:first-child {
	flex: 1;
}

nav .logo button {
	padding: 5px;
	background: none;
	min-width: 0;
	min-height: 0;
	opacity: .7;
}

nav .logo button:hover {
	background: #fff2;
}

nav ul li {
	margin: 0;
	padding: 15px 15px;
	cursor: pointer;
	color: #fff;
	opacity: .7;
	font-weight: 500;
	letter-spacing: 0px;
	border-radius: 10px;
}

nav ul li:hover {
	background: #fff2;
	opacity: 1;
}

nav.nav-top ul li:last-child {
	margin-left: auto;
	line-height: 36px;
}

nav.nav-side {
  width: var(--menu-w);
  height: 100vh;
  position: fixed;
  display: none;
  top: 0;
	background: #1e1a27;
}

nav.nav-side ul {
	flex-direction: column;
	text-align: left;
	height: 100%;
}

nav.nav-side ul li {
	margin: 0 10px;
	border-bottom: #0001 solid 1px;
	font-size: .875rem;;
}

nav.nav-side ul li:last-child {
	margin-top: auto;
	border-top: #0001 solid 1px;
}

nav.nav-side ul li svg {
	width: 1.25rem;
	vertical-align: middle;
	margin: -3px 3px 0 0;
}

/* Nav QCIPRA */

nav.nav-qcipra {
  margin: 20px 40px -20px calc(var(--menu-w) + 26px);
}

nav.nav-qcipra ul {
  border-radius: 20px;
  background: #fff6;
  color: #666;
  border: #0001 solid 1px;
  overflow: hidden;
  align-items: center;
}

nav.nav-qcipra ul li {
  flex: 1;
  color: #777;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  padding: 15px;
  border-right: #6661 dotted 2px;
}

nav.nav-qcipra ul li:last-child {
	flex: 0 0 20px;
}

nav.nav-qcipra ul li:last-child * {
	cursor: pointer;
}

nav.nav-qcipra ul li:hover,
nav.nav-qcipra ul li.nav-atual {
	background: #ccc1;
}

/* Inputs */

input:not([type="radio"], [type="checkbox"]), 
select, 
textarea {
	padding: 10px 15px;
	margin-bottom: 15px;
	line-height: 30px;
	background: #f5f5f5;
	border: #0002 solid 1px;
	border-radius: 5px;
	box-shadow: #1111 1px 1px 1px 1px;
	width: 100%;
	max-width: 100%;
	cursor: auto;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 10px;
}

label {
	display: block;
	line-height: 30px;
	cursor: pointer;
	padding: 10px;
	border-radius: 10px;
}

label:hover {
	background: #6661;
}

/* Botões */

button {
	padding: 15px 30px;
	background: #8161ab;
	color: #fff;
	font-weight: bold;
	border: 0;
	border-radius: 5px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0;
  transition: box-shadow 1s;
  max-height: 46px;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

button * {
	cursor: pointer;
	color: #fff;
}

button:not(:disabled):hover {
  box-shadow: #0002 3px 3px 3px;
  margin: -1px 1px 1px -1px;
}

button.small {
	font-size: 11px;
	padding: 10px 15px;
	letter-spacing: -.3px;
	max-height: 34px;
}

button.light {
	background: none;
	color: #8161ab;
	border: #8161ab66 solid 1px;
}

button.light * {
	color: #8161ab;
}

button:disabled {
	opacity: .2;
	cursor: default;
}

button:disabled * {
	cursor: default;
}

button svg {
	vertical-align: middle;
	color: #8161ab;
}

/* Títulos */

h1.tit-header, h2.tit-header, h3.tit-header, h4.tit-header, h5.tit-header {
	display: flex;
	justify-content: end;
	align-items: center;
	column-gap: 10px;
	box-sizing: border-box;
}

h1.tit-header > :first-child,
h2.tit-header > :first-child,
h3.tit-header > :first-child,
h4.tit-header > :first-child,
h5.tit-header > :first-child {
	margin-right: auto;
}

/* Login */

.form-login .logo img {
	max-width: 180px;
}

.form-login input {
	width: 250px;
}

.form-login p {
	margin-block-end: 25px;
}

/* Forms */

form {	
  background: #fff;
  border-radius: 8px;
  border: #3332 solid 1px;
  padding: 30px;
  overflow: hidden;
}

.alerta {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  flex-direction: column;
  justify-content: center;
  background: #fffd;
  text-align: center;
}

.alerta[style*='display: block']{
    display: flex !important;
}

.alerta > div {
  margin: 0 auto;
}
.alerta > div p {
	margin-top: 7px;
}

/* Flex */

.flex {
  display: flex;
  gap: 10px;
}
.flex > * {
  flex: 1;
}

/* Listas */

.list {
  display: flex;
  flex-direction: row;
  align-items: start;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
}

.list .list-item {
  background: #fff;
  padding: 20px;
  /*margin: 10px 0;*/
  border-radius: 8px;
  border: #3332 solid 1px;
  flex: 1;
}

.list .list-item.w-100 {
	width: 100%;
	flex: auto;
}

.list .list-item.w-50 {
	width: calc(50% - 47px);
	flex: auto;
}

.list .list-item[onclick],
.list .list-item[onclick] * {
  cursor: pointer;
}

.list .list-item[onclick]:hover {
  box-shadow: #0001 2px 2px 2px 2px;      
}

.list .list-item h3,
.list .list-item h4,
.list .list-item h5 {
	margin-bottom: 10px;
}
.list .list-item p {
	display: flex;
	flex-direction: column;
	margin: 0;
	line-height: 1.7;
	margin-bottom: 10px;
	align-items: center;
}
.list .list-item p:last-child {
	margin-bottom: 0;
}
.list .list-item p > * {	
  flex: 1;
}
.list .list-item p > :last-child:not(:first-child) {	
  text-align: right;
}

.list .list-item > :last-child {
	margin-bottom: 0;
}
.list-item small button {
  margin-top: 30px;
}
.list-item small button:hover {
  margin-top: 29px;
}
.list-item .destaque {
  color: #ff1100;
}



/* Tabs */

.tabs { 
	display:flex;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom:20px
}
.tab {
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	background: none;
	border:none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	padding: 10px 4px;
	margin-right:24px;
	cursor:pointer;
	letter-spacing: -.2px;
	transition:color 150ms
}
.tab:hover {
	color: #4b3b70
}
.tab-active {
	color: #1e1a27;
	font-weight:600;
	border-bottom-color: #4b3b70
}
.tab-panel {
	display: none;
}


/* Overlay */

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000c;
	display: flex;
	flex-direction: column;
	justify-content: center;
	top: 0;
	left: 0;
}
.overlay div {
	width: fit-content;
	background: #fff;
	padding: 30px 50px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: #0003 2px 2px 2px 2px;
  font-size: 13px;
}


/* Breakpoints */

@media (max-width: 480px) {
	h1.tit-header {
		flex-direction: column;
	}
	h1.tit-header button {
		margin: 20px 0 0 auto;
	}
}

@media (min-width: 992px) {
	nav.nav-side {
		display: flex;
    flex-direction: column;
	}
	nav.nav-top {
		display: none;
	}
	main {
	  margin: 30px 40px 50px calc(var(--menu-w) + 30px);
	  border-radius: 15px;
    border: #0001 solid 1px;
    background: #00000005;
    padding: 0 10px 10px;
    box-sizing: border-box;
	}
	.list .list-item p {
		flex-direction: row;
	}
	.list-item small button {
	  margin-top: -20px;
	}
	.list-item small button:hover {
	  margin-top: -21px;
	}
	.list .list-item p > :not(:first-child,:last-child) {	
	  text-align: center;
	}
}