/**
 * This file is part of Libreosteo.
 *
 * Libreosteo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Libreosteo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Libreosteo.  If not, see <http://www.gnu.org/licenses/>.
 */
body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-wrapper {padding-bottom: 20px;}
.form-wrapper:empty {display: none;} /* Because empty panel still have a shadow */

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-registration {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-registration .form-registration-heading,
.form-registration .checkbox {
  margin-bottom: 10px;
}
.form-registration .checkbox {
  font-weight: normal;
}
.form-registration .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-registration .form-control:focus {
  z-index: 2;
}
.form-registration input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-registration-password1 {
  margin-bottom: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-registration-password2 {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Class */
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.center{
  text-align: center;
}
/* Usage as a mixin */
.element {
  /* mixin are not available in vanilla CSS. */
  /* .center-block(); */
}

.td-middle{
  vertical-align: middle;
}
