.login-card {
  
  /*padding:30px;
  width: 250px;
  height: 400px;*/
  /*background-color: #F7F7F7;*/
  /*margin: 0px auto 0px;*/
  /*border-radius: 2px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);*/
  /*overflow: hidden;*/
  
  width: 300px;
  height: 400px;

  position:absolute; /*it can be fixed too*/
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
  padding: 20px;

  /*this to solve "the content will not be cut when the window is smaller than the content": */
  max-width:100%;
  max-height:100%;
  
  /*
  border-style: solid;
  border-color: #eeeeee;
  border-width: 1px;
  border-radius: 10px;
  */
}

.login-card h1 {
  font-weight: 100;
  text-align: center;
  font-size: 2.0em;
  margin-bottom: 0;
}

.login-card input[type=submit] {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.login-card input[type=text], input[type=password] {
  height: 44px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  /* border-radius: 2px; */
  padding: 0 8px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.login-card input[type=text]:hover, input[type=password]:hover {
  border: 1px solid #b9b9b9;
  border-top: 1px solid #a0a0a0;
  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.login {
  text-align: center;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  height: 36px;
  padding: 0 8px;
/* border-radius: 3px; */
/* -webkit-user-select: none;
  user-select: none; */
}

.login-submit {
  /* border: 1px solid #3079ed; */
  border: 0px;
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.1); 
  background-color: #4d90fe;
  /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

.login-submit:hover {
  /* border: 1px solid #2f5bb7; */
  border: 0px;
  text-shadow: 0 1px rgba(0,0,0,0.3);
  background-color: #357ae8;
  /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
}

.login-card a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  text-align: center;
  display: inline-block;
  opacity: 0.6;
  transition: opacity ease 0.5s;
}

.login-card a:hover {
  opacity: 1;
}
.login-help {
    text-align: center;
}

main {
    background: #fafafa;
    margin: 0 auto;
    padding: 60px 0;
    background-image: url(../img/grafisk_element_1.png);
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-position: -200px -245px;
    height:100%; 
    display:block; 
    overflow:auto;
}

.bottom-image {
  position: fixed;
  bottom: 0%;
  background-image: url(../img/grafisk_element_2.png);
  background-repeat: no-repeat;
  right: 0%;
  width: 500px;
  height: 350px;
}