/* Reset & utilities */
hr { display: none; }
.editor-area hr { display: block; }

a img { border: none; }

.left        { text-align: left; }
.right       { text-align: right; }
.center      { text-align: center; }
.justify     { text-align: justify; }
.left-float  { float: left; }
.right-float { float: right; }
.clear {
    clear: both;
    height: 0;
    overflow: hidden;
    font-size: 0em;
    border: 0 !important;
}

/* Layout containers */
body {
    background: #CCEA81;
    text-align: center;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    color: #333;
}

#whole-page {
    position: relative;
    text-align: center;
}

#document {
    width: 810px;
    background: url(https://s3b.estranky.cz/img/d/1000000020/bkg.jpg) repeat-y white;
    margin: 0 auto;
    text-align: left;
}

#in-document {
    margin: 0 25px;
}

/* Header */
#header {
    padding-top: 5px;
}

#header .inner_frame {
    width: 760px;
    height: 150px;
    position: relative;
    overflow: hidden;
}

#header h1 {
    position: absolute;
    top: 28px;
    left: 20px;
    right: 20px;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 1.6em;
    line-height: 1.2em;
    margin: 0;
}

#header a {
    text-decoration: none;
    color: white;
}

#header-decoration {
    width: 100%;
    height: 100%;
    background: url(https://s3b.estranky.cz/img/l/logo_1000000020.jpeg) #689101 no-repeat;
}

#clear1 { display: none; }

.accessibility-links { display: none; }

/* Left column / menu */
#nav-column {
    width: 200px;
    float: left;
    margin-right: 5px;
}

.section,
#navigation,
#photos-list,
#mess-square {
    margin-top: 5px;
    float: left;
    width: 200px;
}

#photos-list {
    background: white;
}

/* Standard menu styling */
.menu-type-standard li > ul.level_2 {
    display: block !important;
    position: relative;
    margin: 0;
    border-top: 2px solid #94d001;
}

.level_2 {
    position: absolute;
    left: 160px;
    top: -26px;
    background: white;
    width: 195px;
    z-index: 999;
    padding-left: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.section ul,
menu {
    margin: 0;
    padding: 0;
}

.section li,
menu li {
    list-style: none;
    border-bottom: solid 1px #95D001;
    margin: 0;
    padding: 0;
}

.section li a,
menu a {
    display: block;
    text-decoration: none;
    padding: 8px 0 8px 20px;
    color: #689101;
    overflow: hidden;
    transition: background 0.2s, color 0.2s;
}

.section li a:hover,
menu a:hover {
    color: white !important;
    background: #689101;
}

/* Images & frames */
#nav-column #portrait img,
#last-photo img {
    border: 1px solid #95D001;
    margin: 10px;
    padding: 10px;
    background: #F3FFD5;
}

.inner_frame {
    border: 5px solid #95D001;
    background: white;
}

#photos-list,
#gallery,
#slide,
#articles .editor-area,
#folders,
#mess-square .inner_frame {
    border: 5px solid #95D001;
    padding: 0 5px;
    background: #fff;
}

/* Titles */
.section h2,
#navigation h2,
#photos h2,
#photos-title,
#archive h2,
#mess-square .adv-title,
#mess-message .adv-title,
.gallery h3,
.article h2 {
    background: #689101;
    margin: 0;
    padding: 0.6em 25px;
    font-size: 1em;
    color: #fff !important;
    line-height: 1;
}

.folders h2,
#gallery h2 {
    border-bottom: 5px solid #F3FFD5;
    font-size: 1.3em;
    padding-top: 10px;
}

#slide h2 {
    background: #F3FFD5;
    color: #689101;
    font-size: 1.2em;
    margin: 0 0 30px;
    padding: 5px 20px;
}

#photos .editor-area h2,
#gallery .folder-info h3,
#articles .item h2 {
    background: #fff;
    color: black;
    padding: 0;
}

/* Main content */
#content {
    width: 555px;
    overflow: hidden;
    line-height: 1.6;
    float: right;
}

#content p {
    margin-bottom: 10px;
}

#breadcrumb-nav {
    display: block;
    background: #689101;
    overflow: hidden;
    margin-top: 5px;
    font-size: 0.9em;
    padding: 5px 5px 5px 25px;
    border-radius: 3px;
}

#breadcrumb-nav,
#breadcrumb-nav a {
    color: white;
}

/* Article & perex styling */
#perex {
    margin-bottom: 10px;
    border: 5px solid #95D001;
    background: white;
    display: block;
}

.editor-area p {
    margin: 5px 0;
}

#archive .article {
    margin-top: 5px;
}

.article .date {
    border: 0;
    color: #689101;
    padding-right: 3px;
}

#articles .editor-area h2 {
    font-size: 1.5em !important;
}

.article div.first {
    overflow: hidden;
    padding: 15px;
    background: white;
}

.article div.first p {
    margin-top: 0;
}

.article p.first {
    border-width: 0 5px;
    display: block;
    margin: 0 !important;
    padding: 10px 10px 0 20px;
}

.under-article {
    background: white;
    clear: both;
    padding-bottom: 5px;
}

.under-article .inner_frame {
    background: #F3FFD5;
    margin: 0 5px;
    padding: 5px 5px 5px 15px;
    border-top: 1px solid #95D001;
    width: 517px;
    overflow: hidden;
    font-size: 0.88em;
}

.item {
    overflow: hidden;
    margin-bottom: 5px;
}

.item h2 {
    font-size: 1.2em !important;
    color: #fff;
}

.item .editor-area h2 {
    font-size: 1.3em !important;
    color: black !important;
    margin: 0 !important;
}

.item .date {
    color: #689101 !important;
    margin-left: 5px;
}

.item p.first {
    margin: 0 0 0 -5px;
}

.item .editor-area {
    padding-left: 15px !important;
}

.item .under-article .inner_frame {
    margin: 5px 0 !important;
}

/* Comments */
#comments {
    margin-bottom: 0;
}

#block-comments {
    clear: both;
    padding: 0;
    border-bottom: 0 !important;
    line-height: 1.5;
}

#block-comments h2 {
    color: #fff !important;
    font-size: 1.3em;
    font-weight: normal;
}

#block-comments fieldset {
    border: none;
}

#block-comments input,
#block-comments textarea,
#block-comments input#c_title {
    border: 1px solid #689101;
    width: 455px;
    margin: 2px 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    padding: 4px;
}

#block-comments dt {
    float: left;
    width: 50px;
}

#block-comments dd,
#block-comments .submit {
    margin: 10px;
}

#block-comments .submit {
    background: #95D001;
    padding: 5px 10px;
    font-weight: bold;
    color: #fff;
    margin-left: 50px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
}

#block-comments form dd input {
    width: 205px;
}

#block-comments form dd input#c_validation {
    float: left;
    margin-left: 40px;
}

#block-comments form dd div#c_validation_div {
    text-align: right;
    margin-right: 4px;
}

#block-comments form dd div#c_validation_div img {
    margin: 1px 0;
}

#block-comments form dt#validation-dt {
    margin-left: 50px;
    margin-top: 33px;
    position: absolute;
    width: 180px;
}

#block-comments h2#comments {
    padding-left: 11px !important;
}

.comment {
    border-bottom: 5px solid #95D001;
    padding: 10px 0;
}

.comment-text {
    margin: 0 10px;
}

.comment-text p {
    margin: 0 0 10px 0;
}

/* Photo slider */
#slide {
    background: white;
    padding: 0 !important;
}

#thumbnav {
    border-top: 5px solid #95D001;
    padding: 10px 0 10px 30px;
    background: #fff;
}

#click p {
    padding: 10px;
    display: block;
}

.slide-img {
    text-align: center;
}

#p_name {
    text-align: center;
    font-weight: normal;
}

.slidenav {
    border-top: 5px solid #95D001;
    clear: both;
    width: 100%;
    height: 1.5em;
    text-align: center;
    background: #F3FFD5;
    padding: 3px 0;
}

.slidenav .back {
    float: left;
    margin-left: 10px;
}

.slidenav .forward {
    float: right;
    margin-right: 10px;
}

#timenav {
    text-align: center;
    background: #F3FFD5;
    padding: 3px 0;
    border-top: 1px solid #95D001;
}

/* Photo gallery */
#photos .editor-area {
    margin: 0;
    border: 5px solid #95D001;
    padding: 5px;
}

#folders h2,
#gallery h2 {
    color: #fff;
    font-size: 1.3em;
    font-weight: normal;
    margin: 10px 0;
    padding: 0 20px;
    width: auto;
    border: none !important;
}

#gallery {
    margin: 5px 0;
    padding-bottom: 5px;
    text-align: center;
}

#gallery h3,
#gallery h2 {
    text-align: left;
}

.folder {
    position: relative;
    float: left;
    border: 1px solid #95D001;
    margin: 10px;
    width: 240px;
    overflow: hidden;
    background: #fff;
}

.folder .photo-wrap {
    position: absolute;
    top: 35px;
    left: 10px;
}

.folder .folder-info {
    width: 350px;
    height: 150px;
    margin-left: 110px;
    padding-top: 5px;
}

.folder h3 {
    border-bottom: 0 !important;
    font-size: 1em;
    margin-left: -105px !important;
    height: 1.5em;
    overflow: hidden;
    position: relative;
    z-index: 30;
    margin-bottom: 10px !important;
}

#photos-title {
    clear: left;
}

.album {
    background: url(img/slozka.gif) no-repeat 10px 5px;
    padding-left: 40px;
    width: 220px !important;
    float: left;
}

.album h3,
.section_article h3 {
    margin: 0;
    font-size: 1.2em;
    height: 1.5em;
    overflow: hidden;
}

.album h3 a,
.section_article h3 a {
    color: #689101;
}

.album div,
.section_article div {
    color: #666;
    margin-bottom: 10px;
}

/* Footer */
#footer {
    text-align: center;
    background: #689101;
    line-height: 2em;
    clear: both;
    margin-top: 5px;
}

#footer p {
    color: white;
    font-size: 0.9em;
    margin: 0;
}

#footer a {
    color: white;
}

#footer {
    width: 760px;
    overflow: hidden;
}

/* Sticky + ads */
#sticky-box {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    right: 0;
}

#sky-scraper-block {
    position: absolute;
    right: -300px;
    text-align: center;
    width: 300px;
    top: 0;
}

/* Messages */
#mess-text {
    margin-bottom: 5px;
    clear: both;
}

#mess-square {
    float: left;
}

#mess-square .adv-title,
#mess-message .adv-title {
    display: block;
}

#mess-square .inner_frame {
    padding: 0;
    text-align: center;
}

#mess-square img {
    margin: 10px auto !important;
}

#mess-message .inner_frame {
    border: 0;
    background: none;
    font-size: 11px;
}

#mess-message img {
    padding-bottom: 15px;
}

#mess-message a {
    display: block;
    padding-bottom: 5px !important;
}

#mess-message {
    margin-bottom: 5px;
}

/* Misc tweaks */
h3.section_sub_title {
    margin-bottom: 5px;
}

#languages .inner_frame {
    padding: 5px 17px 5px;
    overflow: hidden;
}

#languages .inner_frame a {
    margin: 0 5px;
    float: left;
}

#articles .article,
#photos,
.article .item,
#block-comments form {
    border: 5px solid #95D001;
    overflow: hidden;
    background: #fff;
}

#articles .article,
#folders {
    margin-bottom: 5px;
}

h3.section_sub_title,
h2#comments,
#block-comments h3 {
    background: #689101 !important;
    margin: 0;
    font-weight: bold;
    padding: 0.6em 20px;
    font-size: 1em;
    color: #fff !important;
    line-height: 1;
    border: 5px solid #95D001 !important;
    margin-bottom: 5px !important;
}

#articles .editor-area,
#photo-album .editor-area {
    margin: 0 0 5px 0 !important;
}

#articles h2,
#photo-album h2,
.comment {
    font-size: 1.2em;
    line-height: 1.4;
    background: #fff;
    border: 5px solid #95D001;
    margin-bottom: 5px;
    margin-top: 0;
    padding: 5px 5px 5px 15px;
}

#articles h2,
#photo-album h2 {
    color: #689101 !important;
}

#articles .article h2,
#photo-album #photos h2 {
    font-size: 1em;
    border: 0;
    background: #689101;
}

#photo-album .editor-area {
    border: 5px solid #95D001 !important;
    padding: 5px;
}

#photos {
    overflow: hidden;
    padding-bottom: 5px;
}

#photos h2 {
    color: #fff !important;
}

#photos .inner_frame {
    padding: 15px;
}

.article .item h2 {
    background: none !important;
}

.article .item .under-article {
    margin-left: 4px !important;
}

#block-comments form fieldset {
    padding: 10px;
}

#block-comments form {
    margin-bottom: 5px;
}

#block-comments .comment-headline h3 {
    background: #fff !important;
    margin: 0;
    font-weight: bold;
    padding: 0;
    font-size: 1.1em;
    line-height: 1.1;
    border: 0 !important;
    margin-bottom: 5px !important