@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.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: -.7px;
}

.font-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.7px;
}


/* Geral */

* {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -.7px; 
}

body {
  background: #f0f0f0;
  padding: 0;
  margin: 0; 
  /*font-size: 13px;*/
}

main {
  padding: 30px 20px 50px;
}

h1, h2, h3, h4, h5 {
	margin-bottom: 10px;
}

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 {
	margin-bottom: 30px;
  border-bottom: #0002 dotted 2px;
  padding: 0 0 30px;
}

hr {
	border-color: #0002;
	border-width: 2px 0 0 0;
	border-style: dotted;
	margin: 15px 0;
}

p {
	margin-top: 0;
}

ol, ul {
    font-size: 13px;
    line-height: 1.7;
}

/* Nav */

nav {
  text-align: center;	
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	font-size: 13px;
	background: #4f6476;
	border-radius: 5px;
}

nav .logo {
	background: #fff;
	margin: 3px;
	border-radius: 5px;
}

nav ul li {
	padding: 20px 30px;
	cursor: pointer;
	background: #fff1;
	color: #fff;
}

nav ul li:hover {
	background: #fff2;
}

nav.nav-top ul li:last-child {
	margin-left: auto;
	line-height: 36px;
}

nav.nav-side {
  width: fit-content;
  height: 100vh;
  position: fixed;
  display: none;
}

nav.nav-side ul {
	flex-direction: column;
	text-align: left;
	height: 100%;
}

nav.nav-side ul li {
	border-bottom: #0001 solid 1px;
}

nav.nav-side ul li:last-child {
	margin-top: auto;
	border-top: #0001 solid 1px;
}

/* 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%;
}

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;
	min-width: 100px;
	background: #2175f3;
	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;
}

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: #2175f322;
	color: #2175f3;
}

button:disabled {
	opacity: .2;
	cursor: default;
}

/* Títulos */

h1.header, h2.header, h3.header, h4.header, h5.header {
	display: flex;
	justify-content: end;
	column-gap: 10px;
}

h1.header > :first-child,
h2.header > :first-child,
h3.header > :first-child,
h4.header > :first-child,
h5.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;
}
.flex > div {
  flex-grow: 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[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;
}
.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;
}


/* 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.header {
		flex-direction: column;
	}
	h1.header button {
		margin: 20px 0 0 auto;
	}
}

@media (min-width: 992px) {
	nav.nav-side {
		display: block;
	}
	nav.nav-top {
		display: none;
	}
	main {
	  padding: 40px 40px 50px 240px;
	}
	.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;
	}
}