/***************************
pro transition
Pouziti: @include transition(all 0.1s ease-out);
***************************/
/***************************
clearfix - pouziva se pro nadrazeny element
Pouziti: @include clearfix();
***************************/
/***************************
box-sizing - cross browser
Pouziti: @include box-sizing(border-box);
***************************/
/***************************
border-radius - cross browser
Pouziti: @include border-radius(5px);
***************************/
/***************************
opacity - cross browser
Pouziti: @include opacity(0.8);
***************************/
/***************************
hidden text (inside sprite nav) - cross browser
Pouziti: @include hide-text();
***************************/
/***************************
border-radius - cross browser
Pouziti: @include hide-text();
***************************/
@font-face {
  font-family: 'Majalla';
  src: url("/fonts/majalla-webfont.eot");
  src: url("/fonts/majalla-webfont.eot?#iefix") format("embedded-opentype"), url("/fonts/majalla-webfont.woff2") format("woff2"), url("/fonts/majalla-webfont.woff") format("woff"), url("/fonts/majalla-webfont.ttf") format("truetype"), url("/fonts/majalla-webfont.svg#Majalla") format("svg");
  font-weight: normal;
  font-style: normal;
}
.tpd-size-large .tpd-content, .tpd-size-large .tpd-title {
  font-size: 20px !important;
  line-height: 21px !important;
}

.tpd-content-wrapper h2 {
  font-size: 22px;
  margin: 0;
}
.tpd-content-wrapper p {
  font-size: 18px;
  line-height: 20px;
  margin: 10px 0;
}

/*
 * qTip2 - Pretty powerful tooltips - v2.2.1
 * http://qtip2.com
 *
 * Copyright (c) 2014
 * Released under the MIT licenses
 * http://jquery.org/license
 *
 * Date: Mon Sep 8 2014 01:40 EDT-0400
 * Plugins: svg
 * Styles: core
 */
.qtip {
  position: absolute;
  left: -28000px;
  top: -28000px;
  display: none;
  max-width: 280px;
  min-width: 50px;
  font-size: 10.5px;
  line-height: 12px;
  direction: ltr;
  box-shadow: none;
  padding: 0;
}

.qtip-content {
  position: relative;
  padding: 5px 9px;
  overflow: hidden;
  text-align: left;
  word-wrap: break-word;
}

.qtip-titlebar {
  position: relative;
  padding: 5px 35px 5px 10px;
  overflow: hidden;
  border-width: 0 0 1px;
  font-weight: bold;
}
.qtip-titlebar + .qtip-content {
  border-top-width: 0 !important;
}

/* Default close button class */
.qtip-close {
  position: absolute;
  right: -9px;
  top: -9px;
  z-index: 11;
  /* Overlap .qtip-tip */
  cursor: pointer;
  outline: medium none;
  border: 1px solid transparent;
}

.qtip-titlebar .qtip-close {
  right: 4px;
  top: 50%;
  margin-top: -9px;
}

* html .qtip-titlebar .qtip-close {
  top: 16px;
}

/* IE fix */
.qtip-titlebar .ui-icon {
  display: block;
  text-indent: -1000em;
  direction: ltr;
}

.qtip-icon {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
}
.qtip-icon .ui-icon {
  display: block;
  text-indent: -1000em;
  direction: ltr;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  width: 18px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  text-indent: 0;
  font: normal bold 10px / 13px Tahoma, sans-serif;
  color: inherit;
  background: transparent none no-repeat -100em -100em;
}

/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
/* Default tooltip style */
.qtip-default {
  border: 1px solid #F1D031;
  background-color: #FFFFA3;
  color: #555;
}
.qtip-default .qtip-titlebar {
  background-color: #FFEF93;
}
.qtip-default .qtip-icon {
  border-color: #CCC;
  background: #F1F1F1;
  color: #777;
}
.qtip-default .qtip-titlebar .qtip-close {
  border-color: #AAA;
  color: #111;
}

.admin h1 {
  width: 200px;
  float: left;
  border-bottom: 1px solid #6e5c4d;
  font-size: 28px;
  margin: 0;
  padding: 10px 0;
}
.admin .sub-header {
  border-bottom: 1px solid #6e5c4d;
  width: 760px;
  float: right;
  text-align: left;
}
.admin .sub-header h2 {
  float: left;
  font-size: 28px;
  margin: 0;
  padding: 10px 0;
}
.admin .sub-header .header-link {
  float: right;
  line-height: 40px;
  font-size: 22px;
  font-weight: bold;
  margin-left: 20px;
}
.admin nav {
  width: 200px;
  min-height: 500px;
  float: left;
  border-right: 1px solid #6e5c4d;
}
.admin .content {
  width: 760px;
  float: right;
  text-align: left;
}
.admin .content table {
  width: 100%;
}
.admin .content table tr:nth-child(even) {
  background: #e9dccb;
}
.admin .content table td {
  padding: 5px;
}
.admin .content form:before, .admin .content form:after {
  content: "";
  display: table;
}
.admin .content form:after {
  clear: both;
}
.admin .content form .form-field {
  margin: 10px 0;
}
.admin .content form .form-field:before, .admin .content form .form-field:after {
  content: "";
  display: table;
}
.admin .content form .form-field:after {
  clear: both;
}
.admin .content form .form-field label {
  width: 150px;
  display: block;
  float: left;
  line-height: 25px;
}
.admin .content form .form-field input, .admin .content form .form-field textarea {
  font-family: Majalla;
  float: left;
  display: block;
  border: 1px solid #e9dccb;
  background: transparent;
  height: 25px;
  padding: 5px;
  width: 300px;
  line-height: 22px;
  font-size: 22px;
  color: #6e5c4d;
}
.admin .content form .form-field textarea {
  height: 80px;
}

.havrpedie #classes .class {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: none;
  width: 450px;
  padding: 8px;
  float: left;
  margin: 5px;
  background: url(../images/td-even.png);
}
.havrpedie #classes .class h3 {
  margin: 0 0 5px;
  color: #331900;
  font-size: 26px;
}
.havrpedie #classes .class a {
  display: inline-block;
  font-size: 20px;
  text-decoration: none;
  color: #331900;
  margin-right: 15px;
}
.havrpedie #classes .class a:hover {
  text-decoration: underline;
}
.havrpedie #classes .class a.non-active {
  color: #969696;
}
.havrpedie #classes .class.non-active h3 {
  color: #969696;
}
.havrpedie #class .title {
  font-size: 29px;
  color: #a2805f;
  border-bottom: 2px solid #331900;
  font-weight: bold;
  text-transform: uppercase;
}
.havrpedie #class .title a {
  text-decoration: none;
}
.havrpedie #class .title a:hover {
  text-decoration: underline;
}
.havrpedie #class .title h1 {
  display: inline;
  font-size: 29px;
}
.havrpedie #class .info {
  width: 440px;
  float: left;
}
.havrpedie #class .info h3 {
  font-size: 20px;
  text-transform: uppercase;
  color: #331900;
  margin: 10px 0 5px 0;
}
.havrpedie #class .info p {
  font-size: 18px;
  margin: 0 0 15px;
}
.havrpedie #class .info .professors {
  margin-bottom: 25px;
}
.havrpedie #class .info .professors p {
  margin: 0px;
  font-size: 34px;
  line-height: 40px;
  font-weight: bold;
  color: #331900;
}
.havrpedie #class .comments {
  width: 440px;
  float: right;
}
.havrpedie #class .comments form:before, .havrpedie #class .comments form:after {
  content: "";
  display: table;
}
.havrpedie #class .comments form:after {
  clear: both;
}
.havrpedie #class .comments form .form-field {
  margin: 10px 0;
}
.havrpedie #class .comments form .form-field:before, .havrpedie #class .comments form .form-field:after {
  content: "";
  display: table;
}
.havrpedie #class .comments form .form-field:after {
  clear: both;
}
.havrpedie #class .comments form .form-field label {
  width: 150px;
  display: block;
  float: left;
  line-height: 25px;
}
.havrpedie #class .comments form .form-field input[type=text], .havrpedie #class .comments form .form-field textarea {
  font-family: Majalla;
  float: left;
  display: block;
  border: 1px solid #6e5c4d;
  background: transparent;
  height: 25px;
  padding: 5px;
  width: 440px;
  line-height: 22px;
  font-size: 22px;
  color: #6e5c4d;
  max-width: 440px;
}
.havrpedie #class .comments form .form-field textarea {
  height: 80px;
}
.havrpedie #class .comments form .form-field label {
  font-size: 20px;
  text-transform: uppercase;
  color: #331900;
  margin: 10px 0 5px 0;
  font-weight: bold;
}
.havrpedie #class .comments form input[type=submit] {
  height: 30px;
  padding: 5px;
  width: 450px;
  background: #6e5c4d;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  border: 0;
}
.havrpedie #class .comments form h3 {
  font-size: 20px;
  text-transform: uppercase;
  color: #331900;
  margin: 10px 0 5px 0;
  font-weight: bold;
}
.havrpedie #class .comments form .rating {
  overflow: hidden;
  display: inline-block;
}
.havrpedie #class .comments form .rating-input {
  position: absolute;
  left: 0;
  top: -50px;
}
.havrpedie #class .comments form .rating-star {
  display: block;
  float: right;
  width: 60px;
  height: 60px;
  background: url("../images/ravens.png") 0 -65px;
  margin: 5px;
  cursor: pointer;
}
.havrpedie #class .comments form .rating-input:checked ~ .rating-star {
  background-position: 0 0;
}
.havrpedie #class .comments form .rating-star:hover,
.havrpedie #class .comments form .rating-star:hover ~ .rating-star {
  background-position: 0 0;
}
.havrpedie #class .comments .comment {
  padding: 0 0 15px;
  border-bottom: 1px solid #6e5c4d;
}
.havrpedie #class .comments .comment p {
  margin: 0;
}
.havrpedie #class .comments .comment .header {
  font-weight: bold;
  font-size: 18px;
}

body {
  margin: 0;
  background: #f6ead0 url(../images/bg.jpg);
  font-family: "Majalla";
  font-size: 18px;
  line-height: 18px;
  color: #6e5c4d;
}

.block {
  display: block;
}

.clear {
  clear: both;
}

a {
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  color: #6e5c4d;
}

header {
  padding: 88px 0 0 0;
  position: relative;
  background: #03061b url(../images/top.png) center top no-repeat;
}
header .bronze-line {
  width: 100%;
  height: 29px;
  background: #9d7747 url(../images/bronze-line.png) repeat-x;
}
header .logo-container {
  position: absolute;
  top: 0px;
  right: 0;
  left: 0;
}
header .logo-container .logo {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  width: 159px;
  height: 164px;
  margin: 0 auto;
  background: url(../images/logo.png) center top no-repeat;
}

section {
  width: 980px;
  margin: 10px auto;
  position: relative;
}
section:before, section:after {
  content: "";
  display: table;
}
section:after {
  clear: both;
}
section#main .list table {
  width: 100%;
}
section#main .list table tr:nth-child(even) {
  background: url(../images/td-even.png);
}
section#main .list table td {
  padding: 5px;
}
section#main .list table td.name {
  width: 200px;
  font-weight: bold;
}
section#main .list table td.status {
  width: 80px;
}
section#main .list table td.grade {
  width: 150px;
}
section#main .list table td.age {
  width: 100px;
}
section#main .list table td.oath-completed {
  width: 100px;
  font-weight: bold;
  font-style: italic;
  color: #393939;
}
section#main .list table th {
  padding: 5px;
  text-align: left;
  color: #fff;
  background-color: #6e5c4d;
}
section#main .title h1 {
  margin: 0;
  color: #393939;
  font-size: 49px;
  text-transform: uppercase;
  line-height: 37px;
}
section#main .content p, section#main .content li {
  margin: 0 0 20px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-size: 20px;
}
section#main.iceberg .title {
  float: left;
  margin: 30px 25px 0 0;
  width: 190px;
}
section#main.iceberg .title h1 {
  text-align: right;
}
section#main.iceberg .content {
  width: 730px;
  padding: 0 0 0 25px;
  margin-top: 25px;
  float: left;
  color: #6e5c4d;
  border-left: 2px solid #393939;
  background: url(../images/section-ledova-kra.png) 530px top no-repeat;
}
section#main.gardens .title h1, section#main.labyrint .title h1 {
  width: 420px;
  border-bottom: 2px solid #393939;
  margin: 150px 0 20px;
}
section#main.labyrint .content {
  width: 400px;
  float: right;
}
section#main.labyrint .title h1 {
  margin: 60px 0 20px;
}
section#main.labyrint img {
  margin-top: 60px;
}
section#main.village .title {
  float: left;
  margin: 30px 25px 0 0;
  width: 190px;
}
section#main.village .title h1 {
  text-align: right;
}
section#main.village .content {
  width: 380px;
  padding: 0 25px 0 25px;
  margin-top: 25px;
  float: left;
  color: #6e5c4d;
  border-left: 2px solid #393939;
  border-right: 1px solid #393939;
}
section#main.village .names {
  float: left;
  width: 270px;
  margin-left: 25px;
  padding-top: 30px;
  line-height: 22px;
}
section#main.village .names h2 {
  margin: 0;
}
section#main.village .names span {
  font-weight: bold;
  color: #393939;
}
section#main.church .title h1 {
  border-bottom: 2px solid #393939;
  margin: 20px 0;
}
section#main.church .content {
  width: 420px;
  float: left;
}
section#main.church .oath {
  width: 420px;
  float: right;
  font-size: 20px;
  font-style: italic;
  text-align: center;
  color: #393939;
  font-weight: bold;
  margin-top: 100px;
}
section#main.church .students {
  width: 700px;
  margin: 20px auto;
}
section#main.church .students:before, section#main.church .students:after {
  content: "";
  display: table;
}
section#main.church .students:after {
  clear: both;
}
section#main.church .students .year {
  margin: 0 0 15px;
}
section#main.church .students .year:before, section#main.church .students .year:after {
  content: "";
  display: table;
}
section#main.church .students .year:after {
  clear: both;
}
section#main.church .students .year h2 {
  color: #393939;
  float: left;
  padding: 0 15px;
  margin: 0;
}
section#main.church .students .year .list {
  float: left;
  border-left: 2px solid #393939;
  min-height: 100px;
  width: 650px;
}

.center {
  text-align: center;
}

.homepage {
  height: 560px;
}
.homepage .claim {
  position: absolute;
  left: 30px;
  top: 10px;
  z-index: 150;
  text-align: center;
}
.homepage .map-item {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  position: absolute;
  display: block;
}
.homepage .map-item span {
  display: block;
  height: 25px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  position: absolute;
  background: #685548;
  text-decoration: none;
  color: #f6ecc9;
  padding: 0 10px;
  font-weight: normal;
  line-height: 29px;
}
.homepage .map-item.castle {
  left: 194px;
  top: 0;
  z-index: 50;
}
.homepage .map-item.castle:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: -5px;
}
.homepage .map-item.castle span {
  right: 20px;
  top: 240px;
}
.homepage .map-item.mountain {
  left: 150px;
  top: 50px;
  z-index: 20;
  /*
  &:hover {
  	@include opacity(1);
  	top: 45px;
  }
  */
}
.homepage .map-item.mountain span {
  right: 210px;
  top: 20px;
  display: none;
}
.homepage .map-item.pilgrimage {
  left: 510px;
  top: 210px;
  z-index: 20;
  /*
  &:hover {
  	@include opacity(1);
  	top: 205px;
  }
  */
}
.homepage .map-item.pilgrimage span {
  right: 80px;
  bottom: 0px;
  display: none;
}
.homepage .map-item.cementery {
  top: 230px;
  right: 200px;
  z-index: 20;
}
.homepage .map-item.cementery:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 225px;
}
.homepage .map-item.cementery span {
  right: 10px;
  bottom: -20px;
}
.homepage .map-item.gardens {
  top: 390px;
  left: 130px;
  z-index: 60;
}
.homepage .map-item.gardens:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 385px;
}
.homepage .map-item.gardens span {
  right: 0px;
  bottom: 0;
}
.homepage .map-item.labyrint {
  top: 410px;
  left: 300px;
  z-index: 60;
}
.homepage .map-item.labyrint:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 405px;
}
.homepage .map-item.labyrint span {
  right: 0px;
  bottom: 0;
}
.homepage .map-item.village {
  top: 320px;
  right: 240px;
  z-index: 60;
}
.homepage .map-item.village:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 315px;
}
.homepage .map-item.village span {
  left: 0px;
  bottom: 0;
}
.homepage .map-item.iceberg {
  top: 150px;
  right: 30px;
  z-index: 60;
}
.homepage .map-item.iceberg:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 145px;
}
.homepage .map-item.iceberg span {
  right: -3px;
  top: 80px;
}
.homepage .map-item.church {
  right: 90px;
  top: 330px;
  z-index: 60;
}
.homepage .map-item.church:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  top: 325px;
}
.homepage .map-item.church span {
  left: 10px;
  bottom: 0px;
}

.house-authorities {
  position: relative;
  min-height: 500px;
}
.house-authorities .arrow-right {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 135px;
  height: 142px;
  position: absolute;
  top: 150px;
  right: -50px;
  background: url(../images/arrow-right.png) top right no-repeat;
  padding-top: 60px;
  text-align: center;
  color: #393939;
  font-weight: bold;
  text-decoration: none;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.house-authorities .arrow-right:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  right: -55px;
}
.house-authorities .arrow-left {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 135px;
  height: 142px;
  position: absolute;
  top: 150px;
  left: -50px;
  background: url(../images/arrow-left.png) top left no-repeat;
  padding-top: 60px;
  text-align: center;
  color: #393939;
  font-weight: bold;
  text-decoration: none;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.house-authorities .arrow-left:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  left: -55px;
}
.house-authorities .head-portrait {
  position: absolute;
  top: -10px;
  left: 65px;
}
.house-authorities .info {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  padding: 0px 0 0 340px;
}
.house-authorities .info h1 {
  padding: 15px 0;
  font-size: 48px;
  margin: 0 0 40px;
  color: #393939;
}
.house-authorities .info .position {
  margin: 0 0 40px;
}
.house-authorities .info .position.half {
  width: 50%;
  float: left;
}
.house-authorities .info .position .name {
  font-size: 28px;
  line-height: 30px;
  color: #393939;
}
.house-authorities .info .position.big .name {
  font-size: 38px;
}

.trophy-room {
  width: 1100px;
}
.trophy-room .wall {
  float: left;
  width: 341px;
  margin: 10px 10px 30px;
  background: url(../images/th-wall.png) repeat-y;
}
.trophy-room .wall .inner-content {
  padding: 0 10px;
  text-align: center;
}
.trophy-room .wall .inner-content .label {
  display: block;
  margin: 10px auto;
  width: 153px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  background: #331900 url(../images/th-label.png) no-repeat;
  color: #b79356;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  clear: both;
}
.trophy-room .wall .inner-content .trophy-space {
  height: 171px;
  width: 131px;
  position: relative;
  display: inline-block;
  margin: 0 10px;
  overflow: hidden;
}
.trophy-room .wall .inner-content .trophy-space img {
  display: block;
  background: #331900 url(../images/th-wall-inner.png) no-repeat;
}
.trophy-room .wall .inner-content .awards {
  margin: 15px 0;
}
.trophy-room .wall .inner-content .awards .header {
  font-size: 18px;
  color: #aa8868;
  margin-top: 15px;
}
.trophy-room .wall .inner-content .awards .person {
  font-size: 24px;
  color: #331900;
  line-height: 26px;
}

.crow-area {
  position: relative;
  height: 800px;
  width: 980px;
  margin: 10px auto;
}
.crow-area .crow {
  position: absolute;
  border: 0;
}

.castle .nav {
  margin-top: 100px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  line-height: 22px;
  float: left;
  width: 200px;
}
.castle .map-castle {
  float: right;
  position: relative;
}
.castle .map-castle img {
  z-index: 1;
}
.castle .map-castle span {
  display: block;
  height: 25px;
  width: 25px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  position: absolute;
  background: #685548;
  text-decoration: none;
  color: #f6ecc9;
  font-weight: normal;
  line-height: 29px;
  text-align: center;
  z-index: 2;
}
.castle .map-castle span.havrpedie {
  top: 370px;
  left: 310px;
}
.castle .map-castle span.jeskyne {
  bottom: 50px;
  left: 520px;
}
.castle .map-castle span.pustici {
  top: 370px;
  left: 80px;
}
.castle .map-castle span.kumbal {
  left: 520px;
  top: 400px;
}
.castle .map-castle span.famfrpal {
  bottom: 160px;
  left: 170px;
}
.castle .map-castle span.komnaty {
  top: 40px;
  left: 200px;
}
.castle .map-castle span.sletovavez {
  right: 140px;
  top: 50px;
}
.castle .map-castle span.corvinus {
  right: 130px;
  top: 380px;
}
.castle .map-castle span.vestirna {
  right: 60px;
  top: 240px;
}
.castle .map-castle span.souteze {
  top: 260px;
  left: 120px;
}
.castle .map-castle span.zasedacka {
  top: 130px;
  left: 100px;
}
.castle .map-castle span.dvorana {
  bottom: 90px;
  left: 120px;
}
.castle .map-castle span.spolecenska {
  top: 170px;
  left: 150px;
}
.castle .map-castle span.schodiste {
  left: 50px;
  top: 250px;
}
.castle .map-castle span.knihovna {
  right: 200px;
  top: 240px;
}
.castle .map-castle span.dvorana-legend {
    bottom: 46px;
    left: 210px;
}

button {
  display: inline-block;
  height: 25px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  background: #685548;
  text-decoration: none;
  color: #f6ecc9;
  padding: 0 10px;
  font-weight: normal;
  line-height: 29px;
  border: 0;
  cursor: pointer;
}
button.active {
  background: #fff;
  color: #685548;
}

#menu a {
  font-size: 20px;
  margin: 0 20px;
  text-decoration: none;
}
#menu a:hover {
  text-decoration: underline;
}

.council {
  text-align: center;
}
.council .council-member {
  text-align: center;
  font-size: 26px;
  color: #331900;
  width: 140px;
  height: 200px;
  margin: 10px 10px 25px;
  display: block;
  float: left;
}

.grave {
  width: 296px;
  text-align: center;
  float: left;
  margin: 15px;
}
.grave p {
  font-size: 17px !important;
}

.library {
  width: 863px;
  height: 863px;
  position: relative;
  margin: 0 auto;
}
.library img.color {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 863px;
  height: 863px;
  z-index: 5;
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.library img.non-color {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 863px;
  height: 863px;
  z-index: 4;
}
.library:hover img.color {
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: hidden;
}
.library .door {
  position: absolute;
  z-index: 10;
  top: 221px;
  left: 478px;
}
.library .door2 {
  position: absolute;
  z-index: 10;
top: 76px;
left: 493px;
}
.library .book1 {
  position: absolute;
  top: 330px;
  left: 78px;
  z-index: 10;
}
.library .book2 {
  position: absolute;
  top: 393px;
  left: 61px;
  z-index: 10;
}
.library .fanfiction {
  position: absolute;
  top: 383px;
  left: 394px;
  z-index: 10;
}

h2.centered-lined {
    width: 100%;
    margin: 20px auto;
    color: #331900;
    border-bottom: 2px solid #331900;
    text-align: center;
    padding-bottom: 10px;
    font-size: 36px;
    text-transform: uppercase;
}


h3.centered-lined {
    margin: 20px auto;
    color: #331900;
    border-bottom: 2px solid #331900;
    text-align: center;
    padding-bottom: 10px;
}

.clear {
    clear: both;
}

.legends .card-box {
    width: 130px;
    margin: 5px;
    float: left;
}
.legends .card-box img {
    max-width: 100%;
    opacity: 0.2;
    transition: all 1s ease-in-out;
}

.legends .card-box img:hover,
.legends .card-box img.visible {
    opacity: 1;
}

.legends .left-side {
    width: 450px;
    float: left;

}

.legends .right-side {
    width: 500px;
    float: right;
    padding: 10px;
    box-sizing: border-box;

}


.legends .left-side .card-box {
    width: 100%;
    float: none;
    box-sizing: border-box;
    padding: 10px;
    background-color: rgba(255,255,255, 0.4);
    margin: 0 0 20px 0;
    border-radius: 5px;
    color: #331900;
}

.legends .left-side .card-box .image-block {
    width: 130px;
    float: left;
    margin-right: 15px;
    text-align: center;
    font-size: 18px;
}

.legends .left-side .card-box .image-block strong {
    font-size: 26px;
}


.legends .left-side .card-box h3 {
    margin: 20px 0 10px;
    font-size: 30px;
    color: #331900;
}

.legends .centered-list {
    width: 50%;
    margin: 0 auto;
    padding: 10px;
    background-color: rgba(255,255,255, 0.4);
}

.legends .text-block {
    float: left;
    width: 285px;
}

/*Havrasparsky astrolab*/

#astrolab-obal{
    width: 550px;
    float: left;
    position: relative;
}

#astrolab-obal #astrolab{
    width: 550px;
    -webkit-transition: 4s;
    -o-transition: 4s;
    -moz-transition: 4s;
}

#astrolab-obal #sipka{
    width: 120px;
    position: absolute;
    top: 215px;
    left: 218.8px;
}

#oslavenci{
    width: calc(90% - 550px);
    float: left;
    padding: 50px 5% 0 5%;
}
