/* ---------------------------------
ADMINISTRA O ESTILO DO CABEÇALHO 
E RODAPÉ DO SITE
--------------------------------- */
.grecaptcha-badge{
	display: none;
}

:root {
	--main-width: 100%;
}
body{
	background-color: var(--color-primary-light);
	/* background-image:url(../img/background.jpg); */
	background-repeat:no-repeat;
	background-position:center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
#notify,
#loading,
#modal,
#sidebar,
#player_peer_to_peer,
#background{
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	pointer-events: none;
}

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

#background{
	background-repeat:no-repeat;
	background-position:center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	opacity: 0;
	}

#background[data-status='out']{
	animation-duration: 1000ms;
	animation-name: background_transition_out;
	animation-fill-mode: forwards; 
	}

@keyframes background_transition_out {
	  0% {
		  opacity: 1;
		  }
	  100% {
		opacity: 0;
	  }
  }

#background[data-status='in']{
	animation-duration: 1000ms;
	animation-name: background_transition_in;
	animation-fill-mode: forwards; 
	}

@keyframes background_transition_in {
	  0% {
		  opacity: 0;
		  }
	  100% {
		opacity: 1;
	  }
  }

#main{
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	max-width: 100vw;
	min-height: 100vh;
	margin: 0px auto auto auto;
}
#main > *{
	}
header, footer {
	flex-shrink: 0;
}

#content {
	width: var(--main-width);
	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);
}

@media (max-width: 1600px) {}
@media (max-width: 1200px) {}
@media (max-width: 1024px) {}
@media (max-width: 840px) {
	body{
		/* 
		background-image:url(../img/background-mobile.jpg);
		background-position: center center; 
		*/
	}
	#main{
		min-height: 95vmax;
	}
}
@media (max-width: 720px) {}
@media (max-width: 600px) {}
@media (max-width: 480px) {}
@media (max-width: 320px) {}