#wrapper
{
	display:flex;
	flex-direction:column;
	align-items:center;
	width:100%;
}

#right_form
{
	display:flex;
	flex-direction:column;
	padding:4px;
}

@media (max-width: 500px)
{
	#testrow{ display:flex; flex-direction:column; width:100%; padding:0px; }
	#right_form{ display:flex; flex-direction:column; flex-grow:0; width:100%; }
	#cliente_form{ display:none; flex-direction:column; flex-grow:0; }
	#form_bar{ display:none; flex-direction:column; flex-grow:0; }
	
	#form_sep{ height:4px; }

	#header { flex-direction: column; width:100%; }
	#header_separator { width:100%; height:6px; }
	#header_logo_container{ width:100%; height:60px; text-align:center; }
	#header_winet_logo { height:60px; margin:0px auto; }
	#header_title_container{ font-size:12pt; margin:0px auto; color: #4169E1; }
	#header_address_container{ font-size:10pt; margin:0px auto; text-align:center; }
	#header_services{ display:flex; flex-direction:column; align-items:center; }
	
	#login_credential_label{ font-size:12pt; width:98%; text-align:center; padding:4px; }
	#login_credential_container{ display:flex; justify-content:center; width:100%; }
	#login_other_label{ font-size:12pt; width:98%; text-align:center; padding:4px; }
	#login_button{ width:100%; margin:0px auto; font-size:10pt; }
	#login_username_ctrl{ width:90px; text-align:center; }
	#login_password_ctrl{ width:200px; text-align:center; }
	
	#cliente_container{ display:flex; flex-direction:column; }
	#cliente_container_sep{ height:4px; }
	#cliente_message{ text-align:center; padding:4px; }
	#cliente_bar{ display:flex; flex-direction:column; align:items:center; }

}

@media (min-width: 501px)
{
	#testrow{ display:flex; flex-direction:row; padding:0px; }
	#loginform{ display:flex; flex-grow:0; width:240px; }
	#right_form{ display:flex; flex-direction:column; flex-grow:0; width:100%; }
	#cliente_form{ display:none; flex-direction:row; flex-grow:0; }
	#form_bar{ display:none; flex-direction:column; flex-grow:0; }

	#header { flex-direction: row; align-items:baseline; }
	#header_separator { width:30px; height:4px; }
	#header_logo_container{ width:130px; }
	#header_winet_logo { width:130px; }
	#header_title_container{ font-size:18pt; color: #4169E1; }
	#header_address_container{ font-size:14pt; }
	#header_services{ display:flex; flex-direction:row; justify-content:center; }
	
	#login_credential_label{ font-size:10pt; padding:2px; }
	#login_other_label{ font-size:10pt; width:98%; text-align:center; padding:4px; }
	#login_button{ width:140px; margin:0px auto; }
	#login_username_ctrl{ width:240px; }
	#login_password_ctrl{ width:240px; }

	#cliente_container{ display:flex; flex-direction:column; width: 100%; height:50px; padding: 2px; }
	#cliente_container_sep{ height:4px; }
	#cliente_h_break { height:10px; width:100%; }
	#cliente_bar{ display:flex; flex-direction:row; }
	#cliente_message
	{
		display:flex;
		flex-wrap:column-wrap;
		flex-direction:column;
		justify-content:center;
		align-items:center;
		
		text-align:center;
		background-color:white;
		border-radius:8px;
		width:500px;
	}

}