/* ---------------------------------
ADMINISTRA O ESTILO DO CABEÇALHO 
E RODAPÉ DO SITE
--------------------------------- */
:root {
	--main-width: 1400px;
	}
body{
	/*
	background-image: url('../../img/background.png');
	background-repeat:no-repeat;
	background-position: top center;
	background-size: 100%;
	*/
	background-color: rgb(1, 99, 165);
	}
body[data-modal="1"]{
	overflow: hidden;
	}
#background,
#notify,
#loading,
#modal,
#sidebar{
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	pointer-events: none;
}

/* Z-INDEX DO CORE */
#background{z-index: -1;}
#sidebar{z-index: 3000;}
#modal{z-index: 7000;}
#loading{z-index: 8000;}
#notify{z-index: 9000;}

#background{}
#backgroundCanvas{
	width: 100%;
	height: 100%;
	}
#main{
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	max-width: var(--main-width);
	min-height: 100vh;
	margin: 0px auto auto auto;
	box-shadow: 
		0px 0px 100px rgba(0,62,84,0.4),
		0px 0px 10px rgba(0,62,84,0.8);
	background-color: #FFF;
	}
#main > *{
	}
header, footer {
	flex-shrink: 0;
	}

#content {
	position: relative;
	width: 100%;
	max-width: 100vw;
	flex-grow: 1;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
	margin: auto;
	}

#content[data-loading='1'] {
	pointer-events: none;
	opacity: 0;
	transform: translatey(-20px);
}
#content[data-loading='0'] {
	pointer-events: all;
	opacity: 1;
	transform: translatey(0px);
}

#header-default-nic{
	background: #232831;
	-webkit-box-shadow: -1px -5px 30px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: -1px -5px 30px 0px rgba(0,0,0,0.3);
	box-shadow: -1px -5px 30px 0px rgba(0,0,0,0.3) !important;
	width: 100%;
	max-width: 100%;
	padding: 10px 110px 10px 111px;
	margin-bottom: 15px;
	display: flex;
	justify-content: flex-end;
	align-content: center;
	}
#header-default-nic div {
	display: flex;
	justify-content: flex-end;
	align-content: center;
	}
#header-default-nic div a{
	display: block;
	height: 100%;
	padding-right: 15px;
	}
#header-default-nic div a:nth-child(2){
	border-left: solid 1px #FFF;
	padding-left: 15px;
	}
#header-default-nic img {
	height: 27px;
	}

#link-to-top{
	position: fixed;
	width: 100%;
	bottom: 0px;
	animation-duration: 1000ms;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards; 
	opacity: 0;
	z-index: 10;
	pointer-events: none;
	}
#link-to-top:hover{
	cursor: pointer;
	filter: contrast(120%) brightness(110%);
	}

#link-to-top[data-active='1']{
	animation-name: link_to_top_anime_in;
	}

#link-to-top[data-active='0']{
	animation-name: link_to_top_anime_out;
	pointer-events: none;
	opacity: 0;
	}

@keyframes link_to_top_anime_in {
	0% {
		transform: translatey(20px);
		opacity: 0;
		}
	100% {
		transform: translatey(0px);
		opacity: 1;
		}
  }

@keyframes link_to_top_anime_out {
	0% {
		transform: translatey(0px);
		opacity: 1;
		}
	100% {
	  transform: translatey(20px);
	  opacity: 0;
	}
}
#link-to-top > div{
	position: relative;
	width: var(--main-width);
	max-width: 100%;
	margin: auto;
	display: flex;
	justify-content: flex-end;
	padding: 15px;
	}
#link-to-top > div > div{
	width: 48px;
	height: 48px;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	background-color: var(--color-primary);
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	border: solid 2px #FFF;
	pointer-events: all;
	}
#link-to-top > div > div > img{
	max-width: 50%;
	max-height: 50%;
	filter: invert();
	}

@media (max-width: 1600px) {}
@media (max-width: 1440px) {
	#header-default-nic{
		margin-bottom: 0px;
		}
}
@media (max-width: 1200px) {
	#link-to-top > div{
		padding: 8px;
		}
	#link-to-top > div > div{
		width: 36px;
		height: 36px;
		}
}
@media (max-width: 1024px) {}
@media (max-width: 840px) {
	body{
		background-image:url(../img/background-mobile.png);
		background-position: center 50px;
	}
	#main{
		min-height: 95vmax;
	}
}
@media (max-width: 720px) {
	#header-default-nic{
		padding: 8px 0px 8px 111px;
		}
	#header-default-nic img {
		height: 16px;
		}
}
@media (max-width: 600px) {}
@media (max-width: 480px) {}
@media (max-width: 320px) {}