/******************************************************************************
*                           100% height page                                  *
******************************************************************************/
html, body {
  margin: 0;
  height: 100%;
}
.height-wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 0 -160px 0; /* the bottom margin is the negative value of the footer's height */
}
.outer-footer,
.push {
  height: 160px; /* .push must be the same height as .outer-footer */
  padding-top: 10px;
}


/******************************************************************************
*                           Basic style and reset                             *
******************************************************************************/
body {
  background: #6C98D6;
  font-family: 'Lato', sans-serif;;
  font-size: 13px;
  color: #1a171b;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
.clear {
  clear: both;
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.lte-ie7 .clearfix {
  zoom: 1;
}
a:link,
a:visited {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
}
.width-wrapper {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
}



/******************************************************************************
*                                     Header                                  *
******************************************************************************/
.header {
  padding-top: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid red;
  margin-bottom: 38px;
}
.magazine-logo {
  float: left;
}
.magazine-slogan {
  float: right;
}
@media screen and (max-width:840px) {
  .header {
    padding-top: 15px;
    margin: 0 5px 10px 5px;
    border-bottom: 0;
  }
}
@media screen and (max-width:520px) {
  .header {
    padding-top: 15px;
    margin: 0 5px;
  }
  .header .magazine-logo {
    float: none;
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .header .magazine-slogan {
    max-width: 100%;
  }
}


/******************************************************************************
*                                   Footer                                    *
******************************************************************************/
.outer-footer {
  text-align: right;
}
.footer {
  margin-top: 60px;
  border-top: 1px solid #7d7d7d;
  padding-top: 19px;
  padding-bottom: 20px;
  line-height: 32px;
  vertical-align: bottom;
  word-spacing: 20px;
}
.footer-link {
  word-spacing: normal;
}
.copyright {
  float: left;
}
.copyright img {
  max-height: 22px;
  vertical-align: middle;
}
@media screen and (max-width:840px) {
  .footer {
    margin-top: 0px;
  }
  .copyright {
    float: none;
    display: block;
    padding-bottom: 8px;
    padding-top: 10px;
    width: 100%;
    text-align: center;
  }
  .footer {
    text-align: center;
    border-top: 0;
  }
}







/******************************************************************************
*                                    Login form                               *
******************************************************************************/
.login {
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: center;

  font-size: 26px;
  font-weight: 300;
  line-height: 36px;
}
.login-form {
  line-height: 50px;
}

@media screen and (max-width:568px) {
  .login {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width:360px) {
  .login {
    padding-top: 25px;
    padding-bottom: 0px;
    font-size: 24px;
    line-height: 30px;
  }
}

.input-customer,
.input-post_code {
  height: 44px;
  width: 200px;
  border: 1px solid #bfbfbf;
  border-radius: 7px;
  padding: 6px 2px 6px 2px;

  font-family: 'Lato', sans-serif;;
  font-size: 21px;
  font-weight: 300;
  line-height: 30px;
  vertical-align: middle;
  text-align: center;

  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.input-customer:focus,
.input-post_code:focus {
  outline: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0, 0.2), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}
.input-post_code {
  width: 140px;
}
.input-submit {
  height: 44px;
  border: 1px solid #1c191e;
  border-radius: 7px;
  padding: 3px 14px;
  background: #1c191e;

  font-family: Constantia, Serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 30px;
  vertical-align: bottom;
  color: white;

  -webkit-appearance: none;
  cursor: pointer;
}
.input-submit:hover {
  opacity: 0.75;
}
.login-error {
  margin: 10px auto 0 auto;
  max-width: 480px;
  font-size: 20px;
  line-height: 22px;
  color: #ee3333;
}
.login-error:before {
  content: "\0026a0\00a0";
}

.loginhelp {
  max-width: 480px;
  margin: 40px auto 0 auto;
  font-size: 17px;
  line-height: 22px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/******************************************************************************
*                                   Content area                              *
******************************************************************************/
.content {
  padding-bottom: 60px;
}


/*******************************************************************************
* Year labels                                                                  *
*******************************************************************************/
.year-label {
  display: block;
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 32px;
  font-weight: 300;
}
.year-label.collapsible {
  cursor: pointer;
}
.year-label.collapsed {
  position: relative;
}
.year-label.collapsed:before {
  content: "";
  display: block;
  border-bottom: 1px solid;
  position: absolute;
  bottom: 3px;
  left: 85px;
  right: 175px;
}
.year-label.collapsed:after {
  content: "LisÃ¤Ã¤ lehtiÃ¤ \0025E2";
  float: right;
  font-size: 28px;
  margin-top: 3px;
}




/******************************************************************************
*                            Magazine list tiling                             *
******************************************************************************/
.magazine {
  display: inline-block;
}
.magazine-large {
  float: left;
  width: 33.33%;
}
.magazine-medium {
  width: 29.1%;
}
.magazine-small {
  width: 16.66%;
}
@media screen and (max-width:949px) {
  .magazine-large {
    width: 40%;
  }
  .magazine-medium {
    width: 30%;
  }
  .magazine-small {
    width: 20%;
  }
}
@media screen and (max-width:799px) {
  .magazine-large,
  .magazine-medium {
    width: 50%;
  }
  .magazine-small {
    width: 25%;
  }
}
@media screen and (max-width:509px) {
  .magazine-large,
  .magazine-medium {
    width: 100%;
  }
  .magazine-small {
    width: 50%;
  }
}
@media screen and (max-width:239px) {
  .magazine-large,
  .magazine-medium,
  .magazine-small {
    width: 100%;
  }
}





/******************************************************************************
*                            Magazine issues data                             *
******************************************************************************/
.magazine {
  margin-top: 30px;
  padding-left: 10px;
  padding-right: 10px;
}
.mag-cover {
  display: block;
}
.mag-cover.lazy-img {
  display: none;
}
.mag-text-info {
  padding-top: 3px;
  white-space: nowrap;
}



/******************************************************************************
*                           Debug panel (admins only)                         *
******************************************************************************/
#debug {
  position: fixed;
  left: -1px;
  top: -1px;
  background: #eef;
  background: rgba(225,225,255,0.85);
  border: 1px solid rgba(0,0,0,0.5);
  padding: 2px 10px 10px 10px;
  border-bottom-right-radius: 7px;
  color: black;
  overflow: hidden;
  line-height: 26px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}
#debug a:link,
#debug a:visited {
  margin-right: 10px;
  color: #aa0000;
}


