@import "reset.css";
@import "typography.css";
body {
  background-color: #dfddd9;
  font-family: "courier new", "times new roman", serif;
  font-size: 12px;
  color: #717171;
  line-height: 2em;
}
a {
  color: black;
}
#page {
  width: 980px;
  margin: 0 auto;
}
#header {
  padding-top: 20px;
}
h1#logo,
div#logo {
  width: 293px;
  height: 50px;
  background: url(../img/ostravica-logo.png) no-repeat;
  display: block;
  margin: 0 auto;
}
a.logo {
  width: 293px;
  height: 50px;
  display: block;
  text-indent: -12345px;
}
#menu {
  min-height: 45px;
  background-color: #acacac;
  margin: 20px 0 0 0;
  z-index: 2;
  border-bottom: 1px solid #999;
}
#menu > ul {
  /* width: fit-content; */
  min-width: 980px;
  min-height: 45px;
  display: block;
  text-align: center;
}
#menu ul > li {
  display: inline-block;
  position: relative;
}
#menu ul > li a.selected {
  background-color: #888;
}
#menu ul > li a:hover {
  background: #999;
}
#menu ul li:hover ul {
  display: block;
}
#menu ul li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 45px;
  background-color: #acacac;
  width: 200px;
  z-index: 2;
}
#menu ul li ul li a {
  display: inline-block;
  line-height: 30px;
  width: 170px;
  text-align: left;
  color: white;
}
#menu ul li ul li a:hover {
  background-color: #777;
  text-shadow: none;
  color: white;
}
#menu ul li a {
  display: inline-block;
  line-height: 45px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 0 15px;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.75);
}
#menu ul li a:hover {
  color: black;
  text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.75);
}
#main {
  float: left;
  overflow: auto;
  border-bottom: 1px dotted #d1d1d1;
  min-height: 500px;
}

#left {
  width: 225px;
  float: left;
  border-left: 1px dotted #d1d1d1;
  border-right: 1px dotted #d1d1d1;
  min-height: 500px;
  padding: 20px 10px;
  text-align: center;
}
#content {
  float: left;
  width: 515px;
  min-height: 500px;
  background-color: #ffeedd;
  padding: 20px;
}
.text {
  padding: 20px;
}
#right {
  float: left;
  width: 156px;
  border-left: 1px dotted #d1d1d1;
  border-right: 1px dotted #d1d1d1;
  min-height: 500px;
  padding: 20px 10px;
  text-align: center;
  overflow-y: hidden;
}
#right:after,
#left:after,
#content:after {
  content: ".";
  visibility: hidden;
}
img.hpImage,
img.coverPhoto {
  width: 555px;
  height: auto;
  display: block;
  position: relative;
  top: -20px;
  left: -20px;
  z-index: 1;
}
div.back,
p.back,
span.back {
  text-align: center;
  display: block;
}
p.back a,
div.back a,
p span.back a,
div span.back a {
  display: inline-block;
  background: url(../img/bullet-back.png) 0 4px no-repeat;
  color: black;
  text-decoration: none;
  padding: 0 0 0 20px;
  font-weight: 600;
}
div.readmore,
p.readmore,
span.readmore {
  text-align: right;
  display: block;
}
p.readmore a,
div.readmore a,
p span.readmore a,
div span.readmore a {
  display: inline-block;
  background: url(../img/bullet-read-more.png) 0 4px no-repeat;
  color: black;
  text-decoration: none;
  padding: 0 0 0 20px;
  font-weight: 600;
}
a.buttonLink {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  font-size: 15px;
  color: white;
  font-weight: bold;
  background-color: #ec008c;
  margin: 0 auto 20px auto;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  behavior: url(http://www.ostravica2020.cz/css/plugins/pie/PIE.htc);
}
.news {
  margin-bottom: 20px;
}
.news * {
  text-align: left;
}
.news span {
  font-size: 10px;
  text-align: left;
  display: block;
}
.news h3 {
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  text-transform: uppercase;
  line-height: 1.5em;
  margin-bottom: 0.25em;
}
.news p {
  line-height: 1.5em;
}
.timeline {
  width: 150px;
  margin-left: 3px;
  overflow: auto;
}
.timelineBg {
  background: url(../img/timeline-bg.png) repeat-y;
}
.timeline span.year {
  width: 44px;
  height: 22px;
  background: url(../img/year-bg.png) no-repeat;
  color: white;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}
.timeline img {
  margin-bottom: 5px;
}

a.imgPreview {
  background: url(../img/photo-preview.png) no-repeat;
  display: inline-block;
  width: 21px;
  height: 15px;
}
.gallery {
  text-align: center;
}
a.galleryImage {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-left: 5px;
  overflow: hidden;
  border: 1px solid #808080;
}
a.galleryImage img {
  height: 100%;
  width: auto;
}
.fb {
  margin: 50px 0 0 0;
}
.fb span {
  display: inline-block;
  font-size: 10px;
}
#contextMenu {
  margin-bottom: 2em;
  width: 205px;
}
#contextMenu li {
  list-style: none;
  border-left: 5px solid deeppink;
  position: relative;
}
#contextMenu li.title {
  background-color: #888;
  color: white;
}
#contextMenu li a {
  text-align: left;
  background-color: #acacac;
  display: block;
  text-decoration: none;
  color: white;
  padding: 3px 10px;
}
#contextMenu li a.selected {
  background-color: #808080;
}
#contextMenu li a:hover {
  background-color: #999;
}
#contextMenu li ul.submenu {
  width: 205px;
  display: none;
  position: absolute;
  top: 0;
  left: 200px;
  z-index: 10;
}
#contextMenu li:hover ul.submenu {
  display: block;
}
span.filePdf {
  height: 40px;
  display: block;
  background-color: #ffc3bc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  behavior: url(http://www.ostravica2020.cz/css/plugins/pie/PIE.htc);
}
span.filePdf a {
  background: url(../img/pdf.png) 5px 5px no-repeat;
  padding-left: 40px;
  color: #6e0034;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  display: block;
  text-decoration: none;
  font-weight: 600;
}
span.filePdf a:hover {
  color: white;
}
span.filePdf:hover {
  background-color: #aaaaaa;
}
span.pinkText {
  color: #ff0099;
}
img.open {
  position: absolute;
  top: 7px;
  right: 5px;
}
#poll {
  position: relative;
  top: -20px;
  left: -20px;
  z-index: 1;
  height: 110px;
  width: 515px;
  padding: 20px;
  color: white;
  background: url(../img/stemmark_logo.png) 250px 23px no-repeat #4d555b;
}
a.poll {
  width: 138px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  color: white;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  padding: 5px 30px 5px 10px;
  background: url(../img/open-bg.png) 150px 7px no-repeat red;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  behavior: url(http://www.ostravica2020.cz/css/plugins/pie/PIE.htc);
  margin-bottom: 10px;
}
a.poll:hover {
  background-color: deeppink;
}
