/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* { 
    margin: 0px; 
    padding: 0px; 
}
 
body {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	line-height: 15px;

}
html, body, #bg, #bg table, #bg td, #cont {
    height:100%;
    width:100%;
    overflow:hidden;
}
h2 {
	font-size: 15px;
	line-height: 43px;
	color: #333333;
	font-weight: bold;
	text-shadow: 0px 1px 1px #FFF;
	background-image: url(images/header.png);
	background-repeat: repeat;
	background-position: center top;
	height: 43px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	position: relative;
	margin: 0px;
}
.clear {
	clear: both;
}


a.close {
	position: absolute;
	background-image: url(images/close.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 25px;
	width: 25px;
	outline: none;
	top: 10px;
	right: 10px;
}

.message {
	display:block;
	font-size: 12px;
	margin-top: 15px;
	margin-bottom: 10px;

}

.header{
	position:relative;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: flex-start;
	height: 100vw;
	min-width:300px;
	color:#ffffff;
	border-radius: 0 0 20px 20px;
	text-shadow:0 2px 6px #000a
  }
.header:after{
	content:"";
	width:100%;
	height:100%;
	position:absolute;
	bottom:0;
	left:0;
	z-index:-1;
   background: linear-gradient(to bottom, rgba(0,0,0,0.12) 40%,rgba(27,32,48,1) 100%);
  }
  .header:before{
	content:"";
	width:100%;
	height: 100vw;
	position:absolute;
	top:0;
	left:0;
	  -webkit-backface-visibility: hidden;
	  -webkit-transform: translateZ(0); backface-visibility: hidden;
	scale(1.0, 1.0);
	  transform: translateZ(0);
	background:#1B2030 url(https://camaraseprefeituras.com.br/img/fundo_painel.jpg) 50% 0 no-repeat;
	background-size:100%;
	background-attachment:fixed;
	animation: grow 360s  linear 10ms infinite;
	transition:all 0.4s ease-in-out;
	z-index:-2
  }
  @media (max-width: 768px) {
  .header:before {
    background-attachment: scroll;
  }
}

  .header a{
	color:#eee
  }
  .menu{
	display:block;
	width:40px;
	height:30px;
	border:2px solid #fff;
	border-radius:3px;
	position:absolute;
	right:20px;
	top:20px;
	z-index: 300;
	text-decoration:none;
	pointer-events: auto;
  }
  .menu:after{
	content:"";
	display:block;
	width:20px;
	height:3px;
	background:#fff;
	position:absolute;
	margin:0 auto;
	top:5px;
	left:0;
	right:0;
	box-shadow:0 8px, 0 16px
  }
  .bem-vindo {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	margin-top: 40px;
	color: white;
	z-index: 10;
  }
  
  .logo-area {
	width: 100%;
	text-align: center;
	margin-top: 150px; /* empurra para baixo, abaixo da caixa */
	z-index: 10;
  }
  
  .logo img {
	height: 60px;
	object-fit: contain;
  }

  
  .logo{
	border-radius:3px;
	text-decoration:none;
	display:inline-flex;
	align-items:center;
	align-content:center;
	margin:20px;
	padding:0px 10px;
	font-weight:900;
	font-size:1.1em;
	line-height:1;
	box-sizing:border-box;
	height:40px;
	z-index: 500;
	color: white;
  }
  .sides, .info{
	flex: 0 0 auto;
	width:50%;
  }
  .info{
	width:100%;
	padding:15% 10% 0 10%;
	text-align:center; 
  }
  .author{
	display:inline-block;
	width:180px;
	height:50px;
	border-radius:10%;
	background:url(https://camaraseprefeituras.com.br/img/camaraseprefeituras_sites.png);
	background-size:cover;
	box-shadow:0 2px 3px rgba(0,0,0,0.3);
	margin-bottom:3px
  }
  .info h4, .meta{
	font-size:0.7em
  }
   
  .logo-meta {
	margin-top: 450px;
  }
  
  .logo-meta .logo {
  position: absolute;
  top: 20px;
  left: 20px;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  z-index: 9999;
  }
  
  .meta {
	font-size: 0.9em;
	color: #fff;
  }
  @media (max-width: 768px) {
  .logo-fixo {
    width: 80px; /* diminui o tamanho em telas menores */
	
  }
}
  .bem-vindo {
	font-size: 2.2em;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
	margin-top: 150px;
} 

  @keyframes grow{
	0% { transform: scale(1) translateY(0px)}
	50% { transform: scale(1.2) translateY(-400px)}
  }
  .content{  
	padding:5% 10%;
	text-align:justify
  }
  .btn{
	color:#333;
	border:2px solid;
	border-radius:3px;
	text-decoration:none;
	display:inline-block;
	padding:5px 10px;
	font-weight:600
  }
  
  dialog {
	  display: block;
	  inset: 0;    
	  transition: opacity .5s;
	   border-radius:3px;
	  padding:20px; 
	  box-shadow: 0 0 10px 0 #000a;
	background:#fffd;
	border:0;
	min-width:60vw;
    text-align: center;
    line-height: 1.5;	
  }
   
  dialog:not([open]) {
	  pointer-events: none;
	  opacity: 0;
  }
  
  dialog::backdrop {
	backdrop-filter: blur(0.25rem);
  }
   
  dialog a {
	 font-size:1.4em;
	display:block;
	text-align:center;
	margin:10px 15px;
	padding:5px;
	font-weight:600;
	color:#333;
	&:hover{
	  text-decoration:underline;
	  color:#000
	}
  }
#cont {
	position:absolute;
	top:0;
	left:0;
	z-index:70;
	overflow:auto;
}

.lock {
    width: 197px;
    height: 198px;
    padding: 0px;
	background-image: url(images/lock.png);
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	left: 50%;
	top: 50%;	
	z-index: 500;
	margin-left: -99px; 
	/* Half the width of the DIV tag which is 50 pixels */
	margin-top: -99px; 
	/* Half the height of the DIV tag which is also 50 pixels */
}

.form {
	display: none;
	width: 387px;
	padding: 0px;
	position: absolute;
	left: 50%;
	top: 50%;
	
	/* Half the width of the DIV tag which is 388 pixels */
	margin-left: -194px;
	
	/* Half the height of the DIV tag which is also 216 pixels */
	margin-top: -108px;	
	
	margin-right: auto;
	margin-bottom: 0;
}

.show {
	display: inline;
}

.box { 
	position: absolute;
	left: 50%;
	top: 50%;	

}
.formcont {
	margin: 0px;
	overflow: hidden;
	position: relative;
}
.formfooter {
	background-image: url(images/footer.png);
	background-repeat: no-repeat;
	background-position: center top;
	margin: 0px;
	padding: 0px;
	height: 13px;
}



#signin_menu {
	height: 260px;
	border:none;
	text-align:left;
	margin: 0px;
	color:#333;
	font-size:12px;
	background-image: url(images/form-bg.png);
	background-repeat: repeat-y;
	background-position: center bottom;
	overflow: hidden;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
}

#signin_menu input[type=text], #signin_menu input[type=password] {
	float: right;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #C6C6C6;
	font-size:13px;
	margin:5px 0px 5px;
	*margin:0px;
	padding:5px;
	width:180px;
}
#signin_menu p {
	margin:10px 0 10px;
	*margin:5px 0 5px;
	clear: both;
}
#signin_menu a {
	color:#6AC;
}
#signin_menu label {
	margin:10px 0px 0px;
	float: left;
	font-weight:normal;
}
#signin_menu p.remember {
	float: right;
	clear: none;
	padding:0;
}
#signin_menu a.forgot {
	margin-top: 10px;
	float: left;
	display: inline;
	line-height: 24px;
	color: #666666;
	text-decoration: none;
	background-image: url(images/reset.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 18px;
	font-weight: bold;
}

.remember input {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	background:#39d url('images/bg-btn.png') repeat-x scroll 0 0;
	border:1px solid #B5B5B5;
	color:#222;
	text-shadow: 0px 1px 1px #FFF;
	*filter: Shadow(Color=#FFFFFF, 	
			Direction=180, 
			Strength=1);
	padding:4px 10px 5px;
	font-size:11px;
	margin: 0 0px 0 3px;
	font-weight:bold;
}

#signin_submit::-moz-focus-inner {
padding:0;
border:0;
}
#signin_submit:hover, #signin_submit:focus {
	background-position:0 -5px;
	cursor:pointer;
}

#focus-stealer      { position: absolute; left: -9999px; }
