@import url('https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700|Open+Sans:400,700');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #111;
    background: white;
    background-image: url('/images/kostel.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    color: #00923F;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.4;
}

/* univerzální*/
.clearer {
    clear: both;
}

.green {
    color: #00923F;
}
.blue {
    color: #0078B4; 
}
.flash {
    display: none;
}

/* hlavní strana*/
.main-page {
    max-width: 1170px;
    margin: auto;
    background-color: white;
    padding-bottom: 20px;
}
/* hlavička a navigace*/
.header {
    line-height: 50px;
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
    background-color: #0078B4;
    color: white;
}
.header a {
    color: white;
}
.navbar-brand-name {
    display: inline-block;
    float: left;
}
.navbar-brand-name > img {
    display: inline-block;
    float: left;
    margin: -20px 20px 0 0;
}
/* přihlášení*/
.button-sign {
    float: right;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
}
.dropdown {
    float: right;
}
.dropdown ul li.name {
    display: none;
    padding: 3px 20px;
    clear: both;
    color: #333333;
}

/* obsah hlavní stránky*/
.articles {
    min-height: 500px;
    margin-top: 15px;
    padding: 0 15px;
}

/* pravý sloupec*/
.rightside {
    background-color: #f9f9f9;
    min-height: 950px;
}
.calendar {
    padding: 15px;
}
.calendar .months {
    font-size: 1.5em;
    color: #0078B4;
    text-align: center;
}
.calendar .months .prev-month, .calendar .months .prev-year {
    float: left;
    padding: 0 10px;
}
.calendar .months .next-month, .calendar .months .next-year {
    float: right;
    padding: 0 10px;
}
.calendar table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    /*border: 1px #999999 solid;*/
}
.calendar table th, .calendar table td {
    border: 1px #acacac solid;
    border-radius: 3px;
    margin: 3px;
    padding: 5px;
    text-align: center;
}
.calendar table th {
    background-color: #cecece;
}
.calendar table td.calendar-post {
    background-color: #0078B4;
}
.calendar table td a {
    color: #333333;
    display: block;
}
.calendar table td.calendar-post a {
    color: #ffffff;
    display: block;
}
.calendar table td:hover {
    background-color: #dfdfdf;
}
.calendar table td a:hover {
    color: #333333;
    text-decoration: none;
}
.calendar table td.calendar-today {
    font-weight: bolder;
}

/* vyhledávací formuláře*/
.main-page-form-search {
    padding: 0 8px 0 0;
    margin-bottom: 10px;
}
.search {
    padding-top: 15px;
}
.main-page-form-datepick {
    padding: 0 8px 0 0;
    margin-bottom: 10px;
}
.datepick {
    padding-top: 15px;
}
/* poslední příspěvky*/
.articles-other {
    min-height: 200px;
    padding: 20px 10px;
    margin-bottom: 10px;
}
.articles-other a.new {
    float: right;
}
.articles-other h3 {
    padding: 0;
    margin: 0;
}
.articles-other-in {
    margin-top: 20px;
}
.article-other {
    margin: 10px 0;
}
.article-other a {
    font-size: 1.2em;
}
.article-other p {
    font-size: 0.9em;
}
/* oddíly */
.sections {
    padding: 10px;
    margin-bottom: 10px;
}
.sections div {
    display: none;
}
.sections button {
    width: 100%;
    font-size: 1.2em;
    text-align: left;
    /*color: #00923F;*/
}
.sections a {
    font-size: 1.2em;
    display: block;
    padding: 5px 10px;
    margin: 2px 0px 2px 15px;
    border: 1px solid #999999;
    border-radius: 3px;
}
/* tagy */
.stickers {
    padding: 10px;
    margin-bottom: 10px;
}
.stickers h3 {
    display: inline;
    float: left;
    padding: 5px 10px 5px 5px;
    margin: 0;
    color: #999999;
}
.stickers a {
    padding: 0 5px;
}
.tag {
    padding: 2px 5px;
    background-color: #efefef;
    border: 1px solid #999999;
    border-radius: 3px;
    margin: 0 2px;
}
/* výsledek vyhledávání */
.toolbar {
    padding: 10px;
}

/* detail příspěvku*/
/* datum a listování*/
.post-date {
    padding-top: 15px;
}
.post-date-in {
    padding: 5px 10px;
    margin: 0px -15px;
    background: #fafafa;
    color: #00923F;
    text-align: center;
}
.post-year {
    font-size: 2.0em;
}
.prev-post i {
    color: #ababab;
    float: left;
    font-size: 2em;
    margin: 8px 0 0 0;
    color: #0078B4;
}
.next-post i {
    color: #ababab;
    float: right;
    font-size: 2em;
    margin: 8px 0 0 0;
    color: #0078B4;
}
.no-prev-post {
    float: left;
}
.no-next-post {
    float: right;
}
/* sekce příspěvku - záhlaví*/
.article-header {
    padding: 10px;
}
.post-author i, .post-map i, .post-tags i {
    color: #999999;
}
/* tagy u příspěvku*/
.post-tags a {
    background-color: #f4f4f4;
    padding: 3px 5px;
    margin: 0 3px;
}
/* sections u příspěvku*/
.post-sections a {
    /*background-color: #f4f4f4;*/
    padding: 3px 5px;
    margin: 0 3px;
}
/* mapa příspěvku*/
#map {
    height: 500px;
}
#mapDetail {
    /*height: 100px;
    width: 100px;*/
}
/* oddíly - navigace v záhlaví */
.sections-nav {
    padding: 10px;
}
.sections-nav h4 {
    display: inline;
    padding-right: 10px;
}
.sections-nav div a.home {
    font-size: 1.2em;
}
.sections-nav div a {
    font-size: 1.2em;
    padding: 0 5px;
    display: inline-block;
}
a.active {
    background-color: #00c25F;
    border-radius: 3px;
    color: #ffffff;
}
/* sekce příspěvku - obsah */
.article-content {
    padding: 10px;
    font-size: 1.2em;
    color: #333333;
}
.article-content p {
    text-indent: 3em;
    /*line-height: 130%;*/
}
/* titulní obrázek*/
.post-title-image {
    float: left;
    width: 30%;
    margin: 5px 15px 15px 0;
}
.post-title-image img {
    width: 100%;
    border: 1px #cacaca solid;
}

/* sekce příspěvku - přílohy*/
.article-adds {
    padding: 10px;
}

/* přehled příspěvků*/
.list-detail {
    margin-bottom: 20px;
}
.list-detail-date {
    font-size: 2em;
    color: #00923F;
}
.list-image img {
    float: right;
    height: 150px;
    margin: 25px 0 15px 15px;
    border: 1px #cacaca solid;
    border-radius: 6px;
}

/* patička*/
.footer {
    max-width: 1170px;
    background-color: white;
    /*opacity: 0.95;*/
    margin: 0 auto;
    border-top: 1px #ababab solid;
    text-align: center;
    padding: 3px 0;
}

/* formuláře - přihlášení/registrace*/
.sign-form {
    max-width: 350px;
    margin: 0 auto;
}

/* formuláře - editace*/
.toolbar-edit {
    margin-top: 10px;
}
.edit-help {
}
.help {
}

/* ostatní přílohy */
.file-list {
    
}
.file-list ul {
    list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
}
.file-list ul li {
    list-style-type: none;
    list-style-position: outside;
    margin: 15px 5px;
    position: relative;
}
.file-list ul li.file-list-edit {
    padding: 10px 10px;
    border: 1px #666666 solid;
    border-radius: 6px;
}
.file-list ul li div {
    display: inline-block;
    padding-left: 20px;
    vertical-align: top;
    font-size: 1.5em;
}
.file-list ul li a:hover {
}

.large {
    font-size: 2em;
    color: #0078B4;
}
.file-list-delete {
    position: absolute;
    right: 8px;
    top: 8px;
}
.file-list-delete a i {
    font-size: 22px;
}
.file-list-desc-edit {
    position: absolute;
    top: 8px;
    left: 40px;
}
.file-list-desc-edit {
    cursor: pointer;
}
.file-list ul li div.file-list-desc-form {
    display: none;
    position: absolute;
    top: 8px;
    left: 40px;
}


/* galerie*/
.gallery {
    /*float: left;*/
}

.gal-img-wrapper{
    width: 23.6%;
    margin: 0.7%;
    float: left;
    position: relative;
}
.gal-img-wrapper:hover {
    cursor: pointer;
}
.gal-img-wrapper-edit {
    padding: 3px;
    border: 1px #666666 solid;
    border-radius: 6px;
}

.gal-img img {
    width: 100%;
}

.gal-img-edit img {
    width: 80%;
}

.gal-video-wrapper {
    width: 580px;
    margin: 5px 0;
    padding: 8px;
    border: 1px #666666 solid;
    border-radius: 6px;
    position: relative;
}
.gal-desc {
    text-align: center;
    position: absolute;
    bottom: 6px;
    width: 100%; 
    /*z-index: 100; */
    background: rgba(0, 0, 0, 0.5); 
    color: #ffffff;
}
.gal-desc-edit {
    width: 96%;
    bottom: 10px;
    cursor: pointer;
}
.gal-desc-form {
    display: none;
}
.gal-toolbar {
    position: absolute;
    right: 7px;
    top: 0px;
    font-size: 22px;
    font-weight: bold;
}
.gal-video-toolbar {
    
}
.gal-delete {
    cursor: pointer;
}
.gal-title {
    cursor: pointer;
}

/* The Modal Gallery */
.gal-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.gal-modal-content {
    background-color: #333333;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px;
    min-width: 320px;
    width: 100%;
    height: 100%;
}
.gal-modal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
.gal-modal-desc {
    display: none;
    background-color: rgba(51,51,51,0.6);
    color: #ffffff;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    z-index: 101;
    position: absolute;
    bottom: 10%;
    /*left: 50%;
    margin-right: -50%;
    transform: translate(0, -50%);*/
}
.gal-modal-close {
    color: #aaa;
    font-size: 46px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
}
.gal-modal-close:hover,
.gal-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.gal-modal-next {
    color: #aaa;
    font-size: 46px;
    font-weight: bold;
    position: absolute;     
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
}
.gal-modal-next:hover,
.gal-modal-next:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.gal-modal-prev {
    color: #aaa;
    /*background-color: rgba(200, 200, 200, 0.5);*/
    font-size: 46px;
    font-weight: bold;
    /*border-radius: 50%;*/
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(0, -50%);
}
.gal-modal-prev:hover,
.gal-modal-prev:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.gal-modal-info {
    color: #aaa;
    z-index: 101;
    /*background-color: rgba(200, 200, 200, 0.5);*/
    float: left;
    font-size: 26px;
    font-weight: bold;
    position: absolute;
    bottom: 20px;
    right: 30px;
}
.gal-modal-info:hover,
.gal-modal-info:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.gal-modal-pos {
    z-index: 101;
    color: #aaa;
    float: left;
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
    position: absolute;
    bottom: 20px;
    left: 30px;
}

@media (max-width: 1024px) {
}
