@import url('reset.css');
@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans:300,400,700,800,400italic&subset=latin,latin-ext);

/* 
    BARVY:
        červená: #b73636
        šedá (menu, hlavní část): #f0f0f0
        barva textu: #4d4d4d
*/

html, body {
    color: #4d4d4d;
    margin:0;
    padding:0;
    height:100%;
    background: url('../img/ornamenty.png') top center no-repeat #fff;
    font-family: 'Alegreya Sans', sans-serif;
}

#main {
    min-height:100%;
    position:relative;
}

.after {
    content:'';
    display:block;
    clear: both;
}

.content {
    width: 960px;
    margin: 0 auto;
}

.col {
    float: left;
}

/* 
    TYPOGRAFIE
*/
a {
    color: #b73636;
    text-decoration: none;
}

p {
    padding: 20px 10px 5px 10px;
    color: #4d4d4d;
    line-height: 1.6em;
}

h1 {
    margin: 30px 0 0 20px;
    color: #b73636;
    font-size: 30px;
    font-style: italic;
}

h2 {
    padding: 20px 0 10px 10px;
    color: #b73636;
    font-size: 24px;
    font-weight: 700;
}

h3 {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: 700;
}

h3 a {
    color: #4d4d4d;
}

ul {
    list-style: square url("../img/sep.png");
    margin: -15px 0 0 50px;
}

li {
    margin: -5px 0 0 0;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

/*
    HLAVIČKA STRÁNKY
*/
#header {

}

#header #logo {
    width: 227px;
    margin: 0 auto;
    padding: 10px 0 0 0;
}

#header #slogan {
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
}

#header #menu {
    width: 100%;
    height: 60px;
    background: #f0f0f0;
    margin: 10px 0 0 0;
    text-align: center;
}

#header #menu ul {
    display: inline-block;
    list-style: none;
    margin: 0;
}

#header #menu ul li {
    float: left;
    padding: 25px 35px 0 35px;
    text-transform: uppercase;
}

#header #menu ul li a {
    color: #4d4d4d;
    font-size: 25px;
    font-weight: 700;
}

#header #menu ul li a:hover {
    color: #b73636;
}

#header #menu ul li a.active {
    color: #b73636;
}

#header #menu ul li + li {
    background: url("../img/sep.png") no-repeat left;
    padding-left: 35px;
}

#header #jazyky {
    width: 150px;
    height: 20px;
    position: absolute;
    margin: -20px 0 0 700px;
    padding: 5px 0 0 0;
}

#header #slider {
    width: 100%;
    height: 240px;
    background: url("../img/slider.jpg") center no-repeat;
}

/*
    STŘED STRÁNKY
*/
#wrapper {
    width: 100%;
    background: #f0f0f0;
    padding-bottom: 60px;
}

#text {
    width: 100%;
    padding-bottom: 60px;
}

.cols-2 {
    width: 100%;
    padding-bottom: 100px;
}

.cols-2 .col:first-child {
    width: 300px;
    margin: 0 0 0 0;
}

.cols-2 .col {
    width: 660px;
    margin: 15px 0 0 0;
}


.cols-3 {
    width: 100%;
    margin: 0 0 20px 0;
}

.cols-3 .col {
    width: 320px;
}

.cols-3 h2 {
    padding: 20px 0 10px 40px;
    text-transform: uppercase;
}

ul.program {
    margin: -10px 0 0 30px;
}

ul.program li {
    line-height: 1.4em;
    font-size: 14px;
}

ul#galerie {
    margin: 0 0 0 40px;
}

ul#galerie li {

}

ul#galerie li a {
    color: #4d4d4d;
    font-size: 18px;
}

ul#galerie li a:hover {
    color: #b73636;
}

ul#galerie li a.active {
    color: #b73636;
    font-weight: 700;
}

ul#galerie li ul {
    margin: 10px 0 0 30px;
    list-style: none;
}

ul#galerie li ul li {
    margin: 8px 0 8px 0;
}

ul#galerie li ul li a {
    color: #b73636;
}

ul#galerie li ul li a:hover {
    font-weight: 700;
}

ul#galerie li ul li a.active {
    font-weight: 700;
}

#galerie ul {
  display: none;
}

#galerie a {
    cursor: pointer;
}

#galerie li.active ul {
    display: block;
}

a.galerie {
    margin: 20px 5px;
}

a.galerie img {
    border: 3px solid #ddd;
}

/*
    PROGRAM
*/
#program {
    width: 100%;
    height: 60px;
    background: #f0f0f0;
    margin: 30px 0 20px 0;
}

#text h3 {
    color: #b73636;
    padding: 0 0 0 30px;
    font-weight: 300;
}

#text p {
    padding: 20px 20px 20px 30px;
}

.slider h2 {
    font-size: 18px;
    padding: 5px 0 0 0;
}

.slider h3 {
    font-size: 14px;
}

/*
    VIDEOGALERIE
*/
.video {
    width: 400px;
    float: left;
    margin: 10px 40px 10px 40px;
}

.paginator {
    clear: both;
    text-align: center;
    padding: 10px 0 20px 0;
}

.paginator a, .paginator span {
    margin-right: 1px;
    padding: 0.4em 0.8em;
    color: #4d4d4d;
}

.paginator a {
    border: 1px solid #AEAEAE;
    text-decoration: none;
    color: #4d4d4d;
    font-size: 14px;
}

.paginator span.button2 {
    border: 1px solid #AEAEAE;
    font-size: 14px;
}

.paginator .current {
    background: #b73636;
    border: 1px solid #AEAEAE;
    color: white;
    font-weight: bold;
    font-size: 14px;
}


/*
    PODMENU
*/
#nadpis {
    border-bottom: 2px solid #b73636;
    margin: 0 0 20px 0;
}

#nadpis h1 {
    display: inline-block;
    float: left;
}

#podmenu {
    float: right;
}

#podmenu ul {
    float: right;
    text-align: right;
    list-style: none;
    margin: 40px 20px 0 0;
}

#podmenu ul li {
    float: left;
    margin: 0 14px 0 14px;
}

#podmenu ul li a {
    color: #4d4d4d;
    font-size: 17px;
}

#podmenu ul li a:hover {
    color: #b73636;
}

#podmenu ul li a.active {
    color: #b73636;
}

/*
    GUESTBOOK
*/
#guestbook {
    margin: 10px 0 0 0;
}

#guestbook #left {
    width: 500px;
    float: left;
    margin: 0 0 30px 0;
}

#guestbook #right {
    width: 360px;
    float: left;
}

#guestbook #left .prispevek {
    width: 450px;
    border-bottom: 2px solid #b73636;
}

#guestbook #left .prispevek:last-child {
    border-bottom: none;
}

#guestbook #left .prispevek .author {
    margin: 0 0 10px 40px;
}

#guestbook #right {
    
}

label {
    margin: 10px 10px 10px 0;
}

input {
    margin: 10px 10px 0 0;
    border: 1px solid #000;
}

input[type="submit"] {
    background: #b73636;
    padding: 4px 10px 4px 10px;
    border: 0;
    color: #fff;
    font-size: 15px;
}

textarea {
    width: 200px;
    height: 70px;
    margin: 10px 0 0 0;
    border: 1px solid #000;
}

/* 
    PATIČKA STRÁNKY
*/
#footer {
    background: #b73636;
    width:100%;
    height:60px;
    position:absolute;
    bottom:0;
    left:0;
}

#footer #facebook {
    position: absolute;
    margin: 13px 0 0 60px;
}

#footer p {
    padding: 17px 0 0 550px;
    color: #ffffff;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
}

#footer #logo {
    padding: 0 0 0 10px;
}
/* LIGHTBOX */
/* Preload images */
body:after {
  content: url(../img/lightbox/close.png) url(../img/lightbox/loading.gif) url(../img/lightbox/prev.png) url(../img/lightbox/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/lightbox/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../img/lightbox/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/lightbox/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/lightbox/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
.galerie{
    display:inline-block;
    background-size:cover;
    width: 103px;
    height: 70px;
    border: 3px solid #ddd;
    margin: 3px 5px !important;
}