HTML, BODY{
	margin: 0;
	width: 100%;
    max-width: 100%;
	height: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	overflow: hidden;
}

#wrappera, #wrapperb, #wrapperc{
	width: 100%;
	height: 100%;	
	padding-bottom: 150px; /*fix full height*/
 }
 
#pageoverflowscroll{ 
	width: 100%;
	height: 100%;
	border: none;
 }
 
.loginpage{
	background: #87e0fd;
	background: -webkit-linear-gradient(-45deg, #87e0fd 0%,#53cbf1 40%,#05abe0 100%);
}

.bggradient1{
	background: white;
}

#header{
	position: fixed;
	z-index: 99;
	top: -100px;
	right: 0;
	height: 100px;
	width: 100%;
	background-color: #97cef3;
} 

#headerwrapper{
	width: 100%;
	height: 100px;
	background: #3498db;
}

#loginform{
	width: 400px;
	height: 300px;
	position:relative;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -150px;
}

#header_username{
	background: white;
	height: 34px;
	top: 25px;
	width: 60%;
	margin: 0 auto;
	position: relative;
	-webkit-border-radius: 25px;
	font-size: 19px;
	color: #333;
	padding-top: 11px;
	padding-left: 50px;
	background-image: Url(/portalce/media/theme/micromaleicon.gif);
	background-repeat: no-repeat;
	background-position: 10px 50%;
}

#header_backbutton{
	float: left;
	height: 100px;
	width: 15%;	
	background-image: Url(/portalce/media/theme/backbutton.png);
	background-repeat: no-repeat;
	background-position: center;
}

#header_optionsbutton{
	float: right;
	height: 100px;
	width: 15%;
	background-image: Url(/portalce/media/theme/optionsbutton.png);
	background-repeat: no-repeat;
	background-position: center;
}

#optionswrapper{
	margin-top: 1px; /*fix content top overlay*/
	height: 0;
	overflow: scroll;
	padding: 10px;
}

#footer{
	text-align: center;
	position: fixed;
	z-index: 99;
	right: 0;
	height: 50px;
	border-top: solid rgb(14, 140, 115) 4px;
	width: 100%;
	background: #1abc9c;
	bottom: 0;
	color: white;
	font-weight: bolder;
	font-size: 19px;
	margin-bottom: -54px; /*+4px border*/
}

#loginform>DIV>INPUT{
	float: right;
	border: none;
	border-left: solid lightgrey 2px;
	height: 50px;
	width: 320px;
	font-size: 22px;
	padding-left: 10px;
	margin-top: 10px;
	margin-right: 3px;
}


#usernamediv, #passworddiv, #submitlogin{
	background: white;
	width: 100%;
	height: 70px;
	border-radius: 5px;
	border: none;
	margin-bottom: 40px;
	-webkit-box-shadow: 0px 4px 0px 0px rgba(20, 105, 162, 1);
	box-shadow:         0px 4px 0px 0px rgba(20, 105, 162, 1);
	background-repeat: no-repeat;
	background-position: 20px, 50%;
}

#usernamediv{
	background-image: Url(/portalce/media/theme/user32x32.png);
}

#passworddiv{
	background-image: Url(/portalce/media/theme/unlocked32x32.png);
}

#submitlogin{
	background: #1abc9c;
	-webkit-box-shadow: 0px 4px 0px 0px rgba(14, 140, 115, 1);
	box-shadow:         0px 4px 0px 0px rgba(14, 140, 115, 1);
	color: white;
	font-weight: bolder;
	font-size: 30px;
	left: 0;
	right: 0;
	position: absolute;
	margin: auto;
	transition: background-image 1s ease-in-out;
	background-repeat: no-repeat;
	background-position: center;
}

.mainmenubtn{
	width: 94px;
	height: 21px;
	padding-top: 73px;
	-webkit-border-radius: 5px;
	margin: 5.5%;
	float: left;
	background-position: 50% 7px;
	background-repeat: no-repeat;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	visibility: hidden;
}

#entidadesbtn{
	border: solid #60d898 3px;
	background-image: Url(/portalce/media/theme/entidadebtn.gif);
}

#frotabtn{
	border: solid #fda439 3px;
	background-image: Url(/portalce/media/theme/frotabtn.gif);
}

#reportsbtn{
	border: solid #6161d9 3px;
	background-image: Url(/portalce/media/theme/reportsbtn.gif);
}
	
#listagensbtn{
	border: solid #d76161 3px;
	background-image: Url(/portalce/media/theme/listagensbtn.gif);
}
	
#regactbtn{
	border: solid #5880d7 3px;
	background-image: Url(/portalce/media/theme/regactbtn.gif);
}
	
#regfinancebtn{
	border: solid #e8e54d 3px;
	background-image: Url(/portalce/media/theme/regfinacebtn.gif);

}
	

#mainmenubtnwrapper{
	width: 450px;
	margin: 0 auto;
}

.caixaconteudos{
	width: 100%;
	-webkit-border-radius: 4px;
	background: white;
	margin-bottom: 10px;
	padding-bottom: 10px;
}


.caixaconteudos>P{
	margin: 0;
	padding: 10px;
	font-size: 20px;
	font-weight: bold;
}

#autologinoptions>#deviceslist{
	padding: 10px 20px 15px 20px;
}


#adddeviceautologinform{
	position: relative;
	border: solid #1abc9c 3px;
	background: white;
	height: 34px;
	width: 90%;
	margin: 0 auto;
	margin-top: -40px; 
	z-index: -1;
	-webkit-opacity: 0;
}

#devicenameautologin{
	float: left;
	width: 79%;
	height: 32px;
	border: none;
	font-size: 18px;
}

#devicenameautologinsubmit{
	float: right;
	width: 20%;
	height: 29px;
	background: #1abc9c;
	color: white;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	padding-top: 5px;
}

#autologinoptions>#addremoveautologinbtn{
	height: 33px;
	padding-top: 7px;
	width: 90%;
	color: white;
	font-weight: bolder;
	font-size: 20px;
	margin: 0 auto;
	background: #1abc9c;
	text-align: center;
}

.submenubtnentities{
	height: 100px;
	width: 95%;
	float: left;
	background: #60d898;
	margin-bottom: 10px;
}

.submenubtniconentities{
	background: #60d898;
	float: left;
	width: 98px;
	height: 98px;
	background-position: center;
	background-repeat: no-repeat;
}

.submenubtnttlentities{
	background: white;
	height: 98px;
	width: 100%;
	-webkit-border-bottom-right-radius: 10px
}

.submenubtnttlentities>P{
	margin: 0;
	padding-top: 30px;
	padding-left: 110px;
	font-size: 28px;
}

.inputentity{
	border: none;
	background: #ccf2de;
	width: 88%;
	height: 50px;
	margin-left: 5%;
	margin-bottom: 20px;	
	font-size: 22px;
	padding-left: 2%;
}

#cpwrapper{
	margin-right: 20px;
	margin-bottom: 20px;	
	height: 50px;
}

#cp4{
	width: 45%;
	float: left;
}

#cp3{
	width: 35%;
	float: right;
	margin-left: 0;
}

.inputentity>SELECT>OPTION{
	color: red;
}

.newentityformttl{
	margin-left: 5%;
	margin-bottom: 5px;
	color: #333;
}

#areanegocio{
	-webkit-appearance: listbox; /* fix android select box css */
	-webkit-border-radius: 0px; /*fix android border-radius */
	padding-left: 2%; /*fix width*/
	width: 90%;  /*fix width*/
}

#submitnewentityformwrapper{
	width: 100%;
	height: 100px;
    text-align: center;
}

#submitnewentityform{
	background: #3498db;
	width: 100%;
	height: 70px;
	border-radius: 5px;
	border: none;
	margin-bottom: 40px; 
	-webkit-box-shadow: 0px 4px 0px 0px rgba(20, 105, 162, 1);
	box-shadow:         0px 4px 0px 0px rgba(20, 105, 162, 1);
	background-repeat: no-repeat;
	background-position: 12px, 50%;
	color: white;
	font-weight: bolder;
	font-size: 30px;
    float: none;
    display: inline-block;
	
}




@media screen and (max-width: 320px){    
	#loginform>DIV>INPUT{
		height: 30px;
	}

	#loginform{
		width: 300px;
		height: 200px;
	}
	
	#usernamediv, #passworddiv, #submitlogin{
		height: 45px;
		margin-bottom: 30px;
	}
}




