/* reset css */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  /*vertical-align: baseline;*/
}
body {
  line-height: 1;
}
ol, ul {
	list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a img { border: none; }

/* end reset */

/* typography */
body { 
  color: #222; 
  font-size: 62.5%;  /* make one 0.1em == 1px */
  font-family: -apple-system, BlinkMacSystemFont, 
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", 
    "Fira Sans", "Droid Sans", "Helvetica Neue", 
    sans-serif;

  margin: 0; 
  padding: 0;
}

h1, h2, h3, h4, h5, h6 { color:#222;}
h1 {font-size:1.8em;line-height:1;margin-bottom:1em;}
h2 {font-size:1.5em;margin-bottom:1em;}
h3 {font-size:1.2em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.1em;line-height:1.25;margin-bottom:1em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p { margin: 0 0 1.5em; }
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}

a { color: #000000; text-decoration: underline; }
a:hover {
 color: #A40106;
}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:
1.5;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}

/* end typography */

.clearfix:before, .clearfix:after {
  display: table;
  content: " ";
}
.clearfix:after {
  clear: both;
}

#container {
  margin-right: auto;
  margin-left: auto;
  width: 970px;
}
p {
  line-height: 1.2em;
  margin-bottom: 1.1em;
}
#content {
  font-size: 1.4em;
  margin-top: 10px;
}
#content a:hover {
  color: #00B0CA;
  text-decoration: underline;
}
#main_right {
  width: 342px;
}
#aalto_web ul, #aalto_web ol {
  margin-bottom: 1.1em;
}
#aalto_web ul li
{
  background: url("//img.lib.aalto.fi/img/aalto/bg-triangle-li-BLACK.gif") no-repeat scroll 0 1px transparent;
  padding: 0 0 3px 10px;
  line-height: 1;
}
#sitename {
  background-color: #00B0CA;
  color: #FFFFFF;
  font-family: arial;
  font-size: 22px;
  font-weight: bold;
  height: 30px;
  line-height: 1;
  margin-top: 10px;
  padding: 7px 0 0 15px;
  vertical-align: baseline;
}
#header {
  height: 65px;
  margin-bottom: 25px;
  margin-top: 25px;
}
#header a {
  text-decoration: none;
}
#header a:hover {
  color: #222222;
  text-decoration: underline;
}
#aaltolib_hdr {
  float: left;
}
.oa {
  color: #666666;
  font-size: 1.8em;
  font-weight: bold;
  text-align: right;
}
.oa a, .oa a:hover {
  color: #666666;
}
#app_title {
  color: #006EC7;
  font-size: 2em;
  text-align: right;
}
#app_title a, #app_title a:hover {
  color: #006EC7;
}
#lang_link {
  font-size: 1.3em;
  height: 40px;
  line-height: 38px;
  margin-right: 10px;
  vertical-align: baseline;
  text-align: right;
}
#lang_link a {
  color: #222222;
}
#navigation {
  border-bottom: 3px solid #212121;
}
#navbar {
  font-size: 1.2em;
  padding-top: 10px;
}
#navbar a {
  color: #222222;
  text-decoration: none;
}
#navbar a:hover {
  text-decoration: underline;
}
.row {
  clear: both;
  margin-bottom: 10px;
}
.col_label {
  float: left;
  width: 120px;
  text-align: right;
  margin-right: 10px;
}
.col_fld {
   margin-left: 130px;
}
.tips {
}
#footer-small {
  border-top: 4px solid #FFF;
  clear: both;
  font-size: 1.2em;
  line-height: 1.2;
  margin: 10px 0;
}
#footer-small a {
}
#footer-small #footer-bar {
  background-color: #212121;
  height: 30px;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}
#footer-small #footer-bar a {
  color: #fff;
}
#footer-small div.lib_title {
  float: left;
  font-weight: bold;
  margin-left: 10px;
  font-size: 1.1em;
}
#footer-small div.copyright {
  float: right;
  margin-left: 40px;
}
#footer-links {
  clear: both;
  text-align: right;
  color: #670B17;
  font-size: 0.9em;
}
#footer-links a {
  color: #670B17;
  text-decoration: none;
  margin-left: 10px;
  padding: 1px 0px 1px 22px;
}
#footer-links a:hover {
  text-decoration: underline;
}
#footer-links a#footer-RSS {
  background: url("//img.lib.aalto.fi/img/aalto/bg-footer-RSS.gif") no-repeat scroll 0 0 transparent;
}
#footer-links a#footer-sitemap {
  background: url("//img.lib.aalto.fi/img/aalto/footer/footer-sitemap.gif") no-repeat scroll 0 0 transparent;
}
#footer-links a#footer-feedback {
  background: url("//img.lib.aalto.fi/img/aalto/footer/footer-feedback.gif") no-repeat scroll 0 0 transparent;
}
#footer-links a#footer-info {
  background: url("//img.lib.aalto.fi/img/aalto/footer/footer-info.gif") no-repeat scroll 0 0 transparent;
  padding-left: 15px;
}
.footer_row {
  clear: both;
  padding: 0 10px;
}
.footer-lib {
  color: #212121;
  float: left;
}
#footer-small-links {
  text-align: right;
  color: #212121;
  font-size: 0.9em;
}
#footer-small-links a {
  color: #212121;
  text-decoration: none;
  margin-left: 12px;
  padding: 1px 0px 1px 20px;
}
#footer-small-links a:hover {
  text-decoration: underline;
}
#footer-small-links a#footer-info {
  background: url("//img.lib.aalto.fi/img/aalto/bg-footer-info.gif") no-repeat scroll 0 0 transparent;
}
#footer-small-links a#footer-feedback {
  background: url("//img.lib.aalto.fi/img/aalto/bg-footer-feedback.gif") no-repeat scroll 0 0 transparent;
  padding-left: 24px;
}
#footer-small-links a#footer-sitemap {
  background: url("//img.lib.aalto.fi/img/aalto/footer/footer-sitemap.png") no-repeat scroll 0 0 transparent;
}
#footer-small .footer-logo-small {
  background: url('//img.lib.aalto.fi/img/aalto/footer/navi-small-logo.png') no-repeat scroll 0% 0% transparent;
  width: 31px;
  height: 20px;
  float: left;
}
p.active {
  border-left: 2px solid #006ec7;
  padding-left: 8px;
}
p.removed {
  border-left: 2px solid #ec407a;
  padding-left: 8px;
}
.oa_access {
  color: #666666;
  font-weight: bold;
}
.index_list {
  line-height: 1.2em;
}
div.index_list {
  margin: 20px 0;
}
.index_list ul {
  padding-left: 1em;
  margin: 5px 0;
}
.index_list ul li {
  margin-top: 0.5em;
}
div.note {
  margin-top: 20px;
  background-color: #FFF4CC;
  padding: 10px 20px;
}
@media screen and (max-width: 900px) {
  #container {
    width: 100%;
    margin: 0;
  }
  #header, #navbar, #content {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media screen and (max-width: 480px) {
  #header {
    height: auto;
    margin-bottom: 0;
  }
  #aaltolib_hdr {
    width: 200px;
  }
  #aaltolib_hdr img {
     width: 100%;
     height: auto;
  }
  .oa {
    font-size: 1.4em;
  }
  .row {
    margin-bottom: 20px;
  }
  .col_label {
     float: none;
     text-align: left;
     color: #555;
     margin-bottom: 5px;
  }
  .col_fld {
     margin-left: 0;
  }
}
