/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover
{
  color: /*#fff*/#333;
}

/* Custom default button */
.btn-default,
.btn-default:focus
{
  color: /*#333*/#fff;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: /*#fff*/#333;
  border: 1px solid /*#fff*/#333;
}
.btn-default:hover
{
  color: /*#333*/#fff;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: /*#fff*/#555;
  border: 1px solid /*#fff*/#333;
}

/*
 * Base structure
 */

html,
body
{
  height: 100%;     
  background-color: /*#333*/#eee;
}
body
{
  color: /*#fff*/#333;
  /*text-align: center;*/
  /*text-shadow: 0 1px 3px rgba(0,0,0,0);*/
  /*box-shadow: inset 0 0 100px rgba(0,0,0,.5);*/
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper
{
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
}
.site-wrapper-inner
{
  display: table-cell;
  vertical-align: top;
}
.cover-container
{
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner
{
  padding: 30px;
}

/*
 * Header
 */
header
{
  /*background-color: red;*/ 
  text-align: center;    
}

.header-brand
{
  margin-top: 10px;
  margin-bottom: 10px;
}

.header-nav > li
{
  display: inline-block;
}
.header-nav > li + li
{
  margin-left: 20px;
}
.header-nav > li > a
{
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: /*#fff*/#6f6868; /* IE8 proofing */
  color: /*rgba(255,255,255,.75)*/rgba(111,104,104,.75);
  border-bottom: 2px solid transparent;
}
.header-nav > li > a:hover,
.header-nav > li > a:focus
{
  background-color: transparent;
  border-bottom-color: /*rgba(255,255,255,.25)*/rgba(111,104,104,.25);
}
.header-nav > .active > a,
.header-nav > .active > a:hover,
.header-nav > .active > a:focus
{
  color: /*#fff*/#333;
  border-bottom-color: /*#fff*/#333;
}

@media (min-width: /*768*/400px)
{
  .header-brand
  {
    float: left;
  }
  .header-nav
  {
    float: right;
  }
}

/*
 * Cover
 */

main
{
  padding: 0 20px;
  /*background-color: yellow;*/
}

.cover
{
  text-align: center;  
}

/*
 * Footer
 */

footer
{
  color: /*#999*/#000; /* IE8 proofing */
  color: /*rgba(255,255,255,.5)*/rgba(0,0,0,.5);
  /*background-color: green;*/
  text-align: center;
}


/*
 * Affix and center
 */

/*@media (min-width: 768px){*/
/*@media (min-width: 800px){*/
@media (min-height: 690px)
{
  /* Pull out the header and footer */
  header
  {
    position: fixed;
    top: 0;
  }
  footer
  {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner
  {
    vertical-align: middle;
  }
  /* Handle the widths */
  header,
  footer,
  .cover-container
  {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 900px)
{
  header,
  footer,
  .cover-container
  {
    width: 900px;
  }
}

/*
 * Form
 */

.form-signin
{
  max-width: 330px;
  /*padding: 15px;*/
  margin: 0 auto;
}
.form-signin .form-signin-heading
{
  /*margin-bottom: 10px;*/
}
.form-signin .form-control
{
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus
{
  z-index: 2;
}
.form-signin input[name="reg-email"]
{
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[name="reg-password"]
{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[name="reg-password2"]
{
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin input[name="email"]
{
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[name="password"]
{
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin input[name="cod-codice"]
{
  margin-bottom: 10px;
}