/*
 * Base structure
 */

html,
body {
  height: 100%;
}

/* 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: middle;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Cover
 */
.cover-container{
  border: 1px solid #CCCCCC;
}
.cover {
  padding: 0;
  background-color: #FFF;
}
.cover h2{
  font-size: 19px;
  margin: 0 0 28px 0;
  padding: 0;
}
.cover-logo, .cover-title, .cover-language{
  float:left;
}
.cover-heading{
  height: 77px;
  border-bottom: 1px solid #CCCCCC;
}
.cover-heading .cover-logo{
  width: 128px;
  height: 76px;
  background: #808080 url('/images/logo-small.gif') no-repeat;
}
.cover-heading .cover-title{
  display: table;
  height: 76px;
  margin: 0 20px;
}
.cover-heading .cover-title h1 {
  padding: 0;
  font-size: 22px;
  display: table-cell;
  vertical-align: middle;
}
.cover-heading .cover-language{
  margin: 0 20px;
  padding: 0;
  line-height: 78px;  
  font-size: 18px;
}
.cover-form {
  padding: 72px 44px 88px 44px;
}


/*
 * Affix and center
 */
@media (min-width: 768px) { 
  .cover-container {
    width: 700px;
  }
}

@media (max-width: 767px) {
  .cover-container {
    width: 98%;
  }
  .cover-heading .cover-logo{
    background: #808080 url('/images/logo-small.gif') no-repeat center center;
    width: 26%;
  }
  .cover-heading .cover-title{
    width: 65%;
    margin: 0 10px;
  }
  .cover-heading .cover-title h1 {
    line-height: normal;
    font-size: 18px;
  }
  .cover-form {
    padding: 20px 44px 20spx 44px;
  }
  .cover h2{
    font-size: 16px;
  }
}