.form-2 {
  font-family: Arial, Helvetia, sans-serif;
  font-size: 9px;
  /* Size and position */
  width: 402px;
  margin: 0 auto;
  padding: 33px 15px;
  position: relative;

  /* Styles */
  background: #e5efef;
  border-radius: 4px;
  color: #79362a;
  box-shadow:
          0 2px 2px rgba(0,0,0),
          0 1px 5px rgba(0,0,0,0.2),
          0 0 0 1px rgba(255,255,255,1.0);
  letter-spacing: 0px;
  line-height: normal;
}
.form-2 h1 {
  text-align: center;
  line-height: normal;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: bold;
  color: #bdb5aa;
  padding-bottom: 8px;
  border-bottom: 1px solid #EBE6E2;
  text-shadow: 0 2px 0 rgba(255,255,255,0.8);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.form-2 p{
  line-height: normal;
}

.form-2 h1 .log-in,
.form-2 h1 .sign-up {
  display: inline-block;
  text-transform: uppercase;
}

.form-2 h1 .log-in {
  color: #6c6763;
  padding-right: 2px;
}

.form-2 h1 .sign-up {
  color: #ffb347;
  padding-left: 2px;
}
.form-2 .float {
  width: 48%;
  float: left;
  /*padding-top: 15px;*/
  /*border-top: 1px solid rgba(255,255,255,1);*/
}
@media(max-width:430px) {
  .form-2{
    width: 100%;
  }
  .form-2 .float {
    width: 100%;
    float: none;
    /*padding-top: 15px;*/
    /*border-top: 1px solid rgba(255,255,255,1);*/
  }
}

.form-2 .float:first-of-type {
  padding-right: 5px;
}

.form-2 .float:last-of-type {
  padding-left: 5px;
}
.form-2 label {
  display: block;
  padding: 0 0 5px 2px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}

.form-2 label i {
  margin-right: 5px; /* Gap between icon and text */
  display: inline-block;
  width: 10px;
}
.form-2 input[type=text],
.form-2 input[type=password] {
  font-family: 'Lato', Calibri, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  display: block;
  width: 100%;
  padding: 5px;
  margin-bottom: 5px;
  border: 3px solid #ebe6e2;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}
.form-2 input[type=text]:hover,
.form-2 input[type=password]:hover {
  border-color: #CCC;
}

.form-2 label:hover ~ input {
  border-color: #CCC;
}

.form-2 input[type=text]:focus,
.form-2 input[type=password]:focus {
  border-color: #BBB;
  outline: none; /* Remove Chrome's outline */
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/*
.form-2 input[type=submit],
.form-2 input[type=button],
.form-2 .log-twitter {
  !* Size and position *!
  width: 49%;
  height: 40px;
  !*float: left;*!
  position: relative;

  !* Styles *!
  box-shadow: inset 0 1px rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;

  !* Font styles *!
  font-family: 'Lato', Calibri, Arial, sans-serif;
  font-size: 14px;
  line-height: 38px; !* Same as height *!
  text-align: center;
  font-weight: bold;
}
input::-webkit-input-placeholder {
  color: #a5a5a5;
}
input::-moz-placeholder {
  color: #a5a5a5;
}
.form-2 input[type=submit]
{
  margin-left: 1%;
  background: linear-gradient(#fbd568, #ffb347);
  border: 1px solid #f4ab4c;
  color: #996319;
  text-shadow: 0 1px rgba(255,255,255,0.3);
  outline: none;
}
*/

.form-2 .log-twitter {
  margin-right: 1%;
  background: linear-gradient(#34a5cf, #2a8ac4);
  border: 1px solid #2b8bc7;
  color: #ffffff;
  text-shadow: 0 -1px rgba(0,0,0,0.3);
  text-decoration: none;
}
.form-2 input[type=submit]:hover,
.form-2 input[type=button]:hover,
.form-2 .log-twitter:hover {
  box-shadow:
          inset 0 1px rgba(255,255,255,0.3),
          inset 0 20px 40px rgba(255,255,255,0.15);
  margin: auto;
}

.form-2 input[type=submit]:active,
.form-2 input[type=button]:active,
.form-2 .log-twitter:active{
  top: 1px;
  margin: auto;
}
.no-boxshadow .form-2 input[type=submit]:hover,
.no-boxshadow .form-2 input[type=button]:hover
{
  background: #ffb347;
}

.no-boxshadow .form-2 .log-twitter:hover {
  background: #2a8ac4;
}
.form-2 p:last-of-type {
  clear: both;
}

.form-2 .opt {
  text-align: right;
  margin-right: 8px;
}

.form-2 label[for=showPassword] {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  text-transform: capitalize;
}

.form-2 input[type=checkbox] {
  vertical-align: middle;
  margin: -4px 5px 0 1px;
  zoom: 1.3;
  text-decoration: none;
}
input[type="checkbox"]:focus {
  -moz-outline-offset: -1px !important;
  -moz-outline: 1px solid #000 !important;
}


