/**
 * 01/28/2016
 * This pen is years old, and watching at the code after all
 * those years made me fall from my chair, so I:
 * - changed all IDs to classes
 * - converted all units to pixels and em units
 * - changed all global elements to classes or children of
 *   .login
 * - cleaned the syntax to be more consistent
 * - added a lot of spaces that I so hard tried to avoid
 *   a few years ago
 *   (because it's cool to not use them)
 * - and probably something else that I can't remember anymore
 *
 * I sticked to the same philosophy, meaning:
 * - the design is almost the same
 * - only pure HTML and CSS
 * - no frameworks, preprocessors or resets
 */
/* 'Open Sans' font from Google Fonts */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
  background:#FFF;
  font-family: 'Open Sans', sans-serif;
}

.login {
  width: 510px;
  
  margin: 110px auto;
  font-size: 13px;
}
.span
{
font-size:1px;
}

/* Reset top and bottom margins from certain elements */
.login-header,
.login p {
  margin-top: 0;
  margin-bottom: 0;
}



.styled-select.slate {
  background: url(http://i62.tinypic.com/2e3ybe1.jpg) no-repeat right center;
   height: 34px;
   width: 150px;
  border-color: #bbb;
  color:#555;
   
  
}
label {
padding-top:5px;
font-weight: bold;
display: block;
color:#000;
}

/* -------------------- Rounded Corners */


/* -------------------- Colors: Text */




/* The triangle form is achieved by a CSS hack */
.login-triangle {
  width: 0;
  margin-right: auto;
  margin-left: auto;
  position: center;
  border: 12px solid transparent;
  border-bottom-color: #28d;
}

.login-header {
  background: #2874f0;
  padding: 20px;
  font-size: 1.4em;
  font-weight: normal;
  position: center;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.login-container {
background: #ebebeb;

/*background: #Fff;*/
  padding-left: 70px;
    padding-right: 70px;
	  padding-top: 30px;
	/*   padding-bottom: 10px;*/
/*  height: 400px;*/
    height: 350px;
 
  
}

/* Every row inside .login-container is defined with p tags */
.login p {
  padding: 0px;
}


.login input,select {
  box-sizing: border-box;
   height:35px;

  border-width: 1px;
  border-style: solid;
 
  outline: 0;
  font-family: inherit;
  font-size: 12px;
}

.login input[type="username"],
.login input[type="password"] {
  background: #fff;
  border-color: #bbb;
  color: #555;
	 
  height:30px;
}

/* Text fields' focus effect */
.login input[type="username"]:focus,
.login input[type="password"]:focus {
  border-color: #888;
}

.login input[type="submit"],
.login input[type="reset"]
{
  background: #2874f0;
  border-color: transparent;
  color: #fff;
  cursor: pointer;
  width:75px;
  height:40px;
  text-align:center;
}

.login input[type="submit"]:hover,
.login input[type="reset"]:hover
{
  background: #17c;
}

/* Buttons' focus effect */
.login input[type="submit"]:focus {
  border-color: #05a;
}


.form-group > span
{
margin-left:150px;
font-size:13px;

}
.form-horizontal>.form-button-group
	{
		margin-left:100px;
		
	}

@media only screen and (max-width:500px)

{

	   input, select, textarea { font-size: 5px; }

	 
	    .login-container { width: auto;height:500px }

	    .login { width: auto;margin: 5px;max-height: 700px }

	    .login-header input { width: 95%; }
		.form-horizontal>.form-group
		{
		
		margin-top:2px;
		margin-bottom:2px;
		}
	
	.form-horizontal>.form-button-group
	{
		margin:1px;
		
	}
	.form-horizontal>.form-button-group>.btn
	{
		width:60px;
		float:both;
		margin:5px;
		padding-left:10px;
		
	}
.form-group > span
{
margin-left:0px;

}	
	    
	}

