/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  padding: 0;
  margin: 0;
  background: url("../img/ps_neutral.png");
}
body.withbar {
  height: 5000px;
}
#head {
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  line-height: 60px;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
#head ul.buttons {
  position: absolute;
  top: 13px;
  right: 20px;
  line-height: 30px;
}
#head ul.buttons li {
  display: block;
  float: left;
  border: solid 1px #cccccc;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  font-size: 12px;
  padding: 0px 15px;
  cursor: pointer;
  border-right-width: 0;
}
#head ul.buttons li.world {
  background: #576ece;
  border-color: #2b3f94;
}
#head ul.buttons li.politics {
  background: #c24640;
  border-color: #762926;
}
#head ul.buttons li.business {
  background: #949191;
  border-color: #615e5e;
}
#head ul.buttons li.technology {
  background: #908f47;
  border-color: #4c4b25;
}
#head ul.buttons li.sports {
  background: #47904c;
  border-color: #254c28;
}
#head ul.buttons li.science {
  background: #478890;
  border-color: #25474c;
  border-right-width: 1px;
}
h1 {
  font-family: 'Istok Web', sans-serif;
  font-size: 30px;
  padding-left: 30px;
}
h1 strong {
  font-weight: 700;
}
#quotecontainer {
  margin-top: 60px;
}
#quotecontainer li {
  display: block;
  float: left;
  width: 250px;
  height: 200px;
  overflow: hidden;
}
#quotecontainer li  > a.inner {
  position: relative;
  text-decoration: none;
  color: #fff;
  display: block;
  height: 200px;
  cursor: pointer;
}
#quotecontainer li.width-2 {
  width: 500px;
}
#quotecontainer li.height-2 {
  height: 400px;
}
#quotecontainer img {
  z-index: 1;
  position: absolute;
  top: 0;
}
#quotecontainer img.full-height {
  height: 100%;
}
#quotecontainer img.full-width {
  width: 100%;
}
#quotecontainer div.text {
  position: absolute;
  font-family: "Noto Serif";
  padding: 30px;
  text-shadow: 1px 1px 5px #000000;
  line-height: 1.2em;
}
#quotecontainer div.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  left: 0;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.6);
  line-height: 1.2em;
}
#quotecontainer div.footer p {
  padding: 7px 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#quotecontainer div.footer strong {
  font-weight: bold;
}
#quotecontainer div.shadowed {
  background: rgba(0, 0, 0, 0.3);
  height: 100%;
  z-index: 2;
  position: absolute;
  top: 0;
  width: 100%;
  transition: background 0.2s;
}
#quotecontainer li.world div.shadowed {
  background: rgba(20, 30, 69, 0.6);
}
#quotecontainer li.world div.footer {
  background: rgba(32, 46, 108, 0.8);
}
#quotecontainer li.world a.inner:hover div.shadowed {
  background: #2b3f94;
}
#quotecontainer li.world a.inner:hover div.footer {
  background: #202e6c;
}
#quotecontainer li.sports div.shadowed {
  background: rgba(20, 42, 22, 0.5);
}
#quotecontainer li.sports div.footer {
  background: rgba(20, 42, 22, 0.8);
}
#quotecontainer li.sports a.inner:hover div.shadowed {
  background: #254c28;
}
#quotecontainer li.sports a.inner:hover div.footer {
  background: #142a16;
}
#quotecontainer li.politics div.shadowed {
  background: rgba(80, 28, 25, 0.3);
}
#quotecontainer li.politics div.footer {
  background: rgba(80, 28, 25, 0.8);
}
#quotecontainer li.politics a.inner:hover div.shadowed {
  background: #762926;
}
#quotecontainer li.politics a.inner:hover div.footer {
  background: #501c19;
}
#quotecontainer li.magazine div.shadowed {
  background: rgba(14, 28, 25, 0.3);
}
#quotecontainer li.magazine div.footer {
  background: rgba(14, 28, 25, 0.8);
}
#quotecontainer li.magazine a.inner:hover div.shadowed {
  background: #203d36;
}
#quotecontainer li.magazine a.inner:hover div.footer {
  background: #0e1c19;
}
#quotecontainer li.science div.shadowed {
  background: rgba(20, 39, 42, 0.3);
}
#quotecontainer li.science div.footer {
  background: rgba(20, 39, 42, 0.8);
}
#quotecontainer li.science a.inner:hover div.shadowed {
  background: #25474c;
}
#quotecontainer li.science a.inner:hover div.footer {
  background: #14272a;
}
#quotecontainer li.business div.shadowed {
  background: rgba(71, 69, 69, 0.3);
}
#quotecontainer li.business div.footer {
  background: rgba(71, 69, 69, 0.8);
}
#quotecontainer li.business a.inner:hover div.shadowed {
  background: #615e5e;
}
#quotecontainer li.business a.inner:hover div.footer {
  background: #474545;
}
#quotecontainer li.obituaries div.shadowed {
  background: rgba(8, 4, 4, 0.6);
}
#quotecontainer li.obituaries div.footer {
  background: rgba(8, 4, 4, 0.8);
}
#quotecontainer li.obituaries a.inner:hover div.shadowed {
  background: #733232;
}
#quotecontainer li.obituaries a.inner:hover div.footer {
  background: #2c1313;
}
#quotecontainer li.technology div.shadowed {
  background: rgba(42, 41, 20, 0.6);
}
#quotecontainer li.technology div.footer {
  background: rgba(42, 41, 20, 0.8);
}
#quotecontainer li.technology a.inner:hover div.shadowed {
  background: #908f47;
}
#quotecontainer li.technology a.inner:hover div.footer {
  background: #4c4b25;
}
