/*GERAL*/

html, body {
	height: 100vh;
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.sem-opacidade{
	opacity: 0;
}

.nao-existe{
	display: none;
}

#cobre{
	width: 100%;
	height: 100vh;
	position: fixed;
	z-index: 2;
	background-color: rgba(0,0,0,.5);
}

#proibido {
	position: fixed;
	z-index: 5;
	background-color: black;
	height: 100vh;
	width: 100%;
	color: white;
	opacity: 0;
	display: none;
}

#proibido p {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	width: 100%;
}

@media screen and (orientation: portrait){
	#proibido {
		opacity: 1;
		display: block;
	}
}

/* PRIMEIRA JANELA */

#opening {
	position: absolute;
	height: 100vh;
	width: 100%;
	transition: opacity 600ms linear;
	background-color: rgb(322,220,180);
	z-index: 3;
}

#logo {
	height: 30vh;
	max-height: 512px;
	position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

#opening p{
    width: 100%;
    position: absolute;
    font-size: 2rem;
    text-align: center;
    left: 0;
}

#opening p:nth-child(1){
    top: 0;
}

#opening p:nth-child(3){
	bottom: 0;
}


/*Janelas Modais*/
section.janela-modal{
	width: 55%;
	height: 98vh;
	background-color: white;
	overflow: hidden;
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid black;
    border-radius: 4%;
    min-width: 360px;
    z-index: 3;
}

section.janela-modal > h2{
	font-family: 'Lora', serif;
	font-size: 1.5rem;
	margin: 0;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 5%;
	left: 50%;
	transform: translate(-50% ,-95%);
}

section.janela-modal > div{
	width: 100%;
	height: 85%;
	max-height: 
	background-color: white;
	overflow: auto;
	position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 1rem;
}

/*icone 'close' - retirade de cssicon.space (acesso em: 30/10/2017 - modificado)*/
.close.icon {
	color: #000;
	margin: 0;
	position: absolute;
	width: 1.5rem;
	height: 1.5rem;
	right: 2vh;
	top: 5%;
	transform: translateY(-95%);
	cursor: pointer;
}

.close.icon:before {
	content: '';
	position: absolute;
	top: 10px;
	width: 21px;
	height: 1px;
	background-color: currentColor;
	-webkit-transform: rotate(-45deg);
	      transform: rotate(-45deg);
}

.close.icon:after {
	content: '';
	position: absolute;
	top: 10px;
	width: 21px;
	height: 1px;
	background-color: currentColor;
	-webkit-transform: rotate(45deg);
	      transform: rotate(45deg);
}

/* Janela Modal - informacoes */
#modal-informacoes #title {
	text-align: center;
	font-size: 270%;
	margin: 0;
	letter-spacing: 10px;
	color: rgb(176,12,12);
}

#modal-informacoes .nome {
	font-family: 'Lora', serif;
	text-align: center;
	font-size: 120%;
	letter-spacing: 13px;
	margin: 0;
	color: rgb(176,12,12);
	margin-top: 5%;
}

#modal-informacoes .traco {
	text-align: center;
	font-size: 120%;
	font-family: 'Lato', sans-serif;
	font-style: italic;
	font-weight: lighter;
	margin: 2%;
}

#modal-informacoes p {
	font-family: 'Lato', sans-serif;
	margin: 2%;
	text-align: center;
}

#modal-informacoes .casa {
	height: 25%;
	width: 20%;
	margin-left: 10%; 
}

#modal-informacoes .perfil {
	height: 25%;
	width: 25%;
	margin-left: 20%;
	border-radius: 50%;
}

#modal-informacoes .bio {
	font-family: 'Lato', sans-serif;
	font-size: 120%;
	text-align: center;
}

#modal-informacoes em {
	font-size: 100%;
	color: rgba(0,0,0,0.1);
}

#modal-informacoes del {
	color: rgba(0,0,0,0.1);
}

/* modal-de-colaboradores */
#modal-de-colaboradores #title {
	text-align: center;
	font-size: 270%;
	margin: 0;
	letter-spacing: 10px;
	color: rgb(176,12,12);
}

#modal-de-colaboradores .nome {
	font-family: 'Lora', serif;
	text-align: center;
	font-size: 120%;
	letter-spacing: 13px;
	margin: 0;
	color: rgb(176,12,12);
	margin-top: 5%;
}

#modal-de-colaboradores p {
	font-family: 'Lato', sans-serif;
	margin: 2%;
	text-align: center;
}
#modal-de-colaboradores .bio {
	font-family: 'Lato', sans-serif;
	font-size: 120%;
	text-align: center;
}

#modal-de-colaborades em {
	font-size: 100%;
	color: rgba(0,0,0,0.1);
}

/*Modal de Inputs*/

#secao-de-inputs {
	margin: auto;
}

#secao-de-inputs label {
	display: flex;
	justify-content: space-between;
	width: 50%;
	min-width: 16em;
	max-width: 20em;
}

#pv-secao-de-procurados {
	width: 100%;
	height: 100%;
	max-width: 450px;
	max-height: 600px;
	border: 1px solid black;
	text-align: center;
	margin: auto;
}
#pv-secao-de-procurados > div:nth-child(odd){
	box-sizing: border-box;
	height: 10%;
	overflow: hidden;
	border: 1px solid black;
}

#pv-secao-de-procurados > div:nth-child(even){
	box-sizing: border-box;
	height: 80%;
	border: 1px solid black;
}



/*JANELA PRINCIPAL*/

header {
	width: 100%;
	height: 10vh;
	position: relative;
}

header > h1 {
	font-family: 'Lora', serif;
	color: rgb(172,16,16);
	margin: 0;
	text-align: center;
	letter-spacing: 5px;
	font-size: 2rem;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

@media screen and (max-width: 728px) and (max-height: 389px){
	header > h1 {
		font-size: 1.5rem;
	}
	section.janela-modal > h2, section.janela-modal > .close.icon{
		top: 8%;
	}
}

header > img {
    position: absolute;
    top: 50%;
    height: 80%;
    max-height: 512px;
    transform: translateY(-50%);
    cursor: pointer;
}

#collab {
    position: absolute;
    top: 50%;
    right: 15px;
    height: 90%;
    max-height: 512px;
    transform: translateY(-50%);
    cursor: pointer;
}

main {
	height: 90vh;
	width: 99%;
	position: relative;
	background-color: #f7f7f7;
}

aside{
	position: absolute;
	height: 90vh;
	width: 50vw;
	min-width: 300px;
	background-color: grey;
	overflow-y: auto;
	overflow-x: hidden;
	bottom: 0;
	transition: right 1s ease;
	right: 0;
}
.fora {
	right: -100vw;
}

aside > div {
	position: relative;
	height: 5vh;
}

aside > div > #fecha {
	top: 50%;
	transform: translateY(-50%);
}

#cria-quadro {
	font-size: 150%;
	font-family: 'Lora', serif;
	color: rgb(176,12,12);
	border: 2px solid rgb(176,12,12);
	background-color: black;
	cursor: pointer;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px){
	#cria-quadro {
		font-size: 1rem;
	}
}


img#lado {
	position: absolute;
    top: 50%;
    right: 0;
    height: 6%;
    max-height: 512px;
    transform: translateY(-50%);
    cursor: pointer;
}

main > img#mapa{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 100%;
	max-width: 85vw;
}

/* GALERIA */
.secao-de-procurados {
	font-family: 'Lora', sans-serif;
	font-size: 150%;
	color: black;
	font-weight: bold;
	letter-spacing: 2px;
	text-align: center;
	width: 80%;
	margin-left: 10%;
	border: 1px solid black;
	margin-top: 2%;
	margin-bottom: 2%;
}

.secao-de-procurados > div:nth-child(3){
	color: white;
	background-color: black;
	font-weight: lighter;
	width: 80%;
	margin-left: 10%;
}

.procurado {
	height: 60%;
	width: 50%;
}

img#pv-procurado{
	display: inline-block;
	max-width: 66.67%;
	max-height: 100%;
	margin: auto;
	position: relative;
    top: 50%;
    transform: translateY(-50%);
}

aside > p {
	font-family: 'Lora', serif;
	color: black;
	font-size: 150%;
	letter-spacing: 2px;
}

#salvar-quadro {
	position: absolute;
	bottom: 1vh;
	left: 50%;
	transform: translateX(-50%);
}
