/* Stick (freeze) the nav bar at the top while scrolling the page.
   This feature is diabled for mobile devices.
   See also functions.php
 */
@media only screen and (min-width: 600px)
{
  nav.fixed {
    max-width: 1040px;
    border-bottom: 5px solid #ffffff;
    position: fixed;
    top: 0;
    z-index: 999;
  }

  .nav-menu > ul {
    border-bottom: medium none !important;
    max-width: 1040px;
   }
}

/** hide flex cotainer and excerpt for small devices **/
@media only screen and (max-width: 500px)
{
  .flex-container { display: none; }
  .entry-summary > p { display: none; }
  .update_message { display: none; }
}

a { /* default color of links */
   color: #841a1a;
}

a:hover { /* default color of links */
   color: #841a1a;
   text-decoration: underline;
}

.read-more a { /* default color of links */
   color: #841a1a;
}

.read-more a:hover { /* default color of links */
   color: #841a1a;
   text-decoration: underline;
}

.site-header { /* the whole header including navigation menu */
    border: 0px;
    height: auto;
    margin-bottom: 0px;
    text-align: left;
}

.site-content article { /* reduce free space between post excerpts */
    padding-bottom: 0px;
    margin-bottom: 16px;
}

.themonic-logo { /* logo, title and mini-photo in the header */
    padding: 0px;
    float: left;
    margin: 0px 0;
}

.socialmedia { /* social media liks in navigation menu */
    float: right;
    padding: 7px 10px;
    text-align: right;
    width: 35%;
    margin-top:0px;
}

.site { /* shadow around the site sheet */
    /*width: 1024px;
    background: #ffffff;*/
    margin: 10px auto;
    border: 1px solid #999;
    -webkit-box-shadow: 0 0 5px 0 #777;
    -moz-box-shadow: 0 0 5px 0 #777;
    box-shadow: 0 0 5px 0 #777;
}

body .site { /* empty space around the site sheet */
    padding: 5px;
    padding-top: 0px;
    /*padding-right: 0px;*/
    margin-bottom: 24px;
}

.wrapper { /* hide frame around the page content */
    /* border: 1px solid #e9e9e9;*/
    border: 0px;
}

.entry-header {
   margin-bottom: 10px;
}

.entry-header .entry-title { /* post/page title */
   font-size: 170%;
   /*font-weight: bold;*/
   color: #841a1a;
   margin-bottom: 5px;
}

.entry-header .entry-title a { /* post/page title link at home page*/
   color: #841a1a;
}

.entry-header .entry-title a:hover { /* post/page title link at home page*/
   color: #841a1a;
   text-decoration: underline;                                     
}

/*
.submenu-icon {
    float: right;
    margin-top: 6px;
    font-size: 1.2em; 
}
*/

.menu-icon {
/*    font-size: 1.3em; */
    margin-right: 5px; 
}

.menu-big-icon {
    font-size: 1.4em;
}

/*
#content {
    text-align: justify;
}
*/

/* prouzek z autorem a poctem commentu pod nadpisem */
.below-title-meta { 
/*    display: none; */
/*    background: #ffffff;*/
    width: 100%;
    margin-left: 0px;
    padding-bottom: 0px;
}
.updated::before {
    content: "Vydáno: ";
    font-weight: bold;
}
.updated {
    color: #505050;
}

.categories { /* hide categories of posts (noramlly depicted under the post or its main page overview) */
    display: none;
}

.adt-comment { /* hide "number of comment" from post header */
    display: none;    
}

.adt {
    padding-left: 0px;
}

.pvc_clear { /* put page-view-counter to the same line with "print" button */
    clear: none;
}

.wp-block-image figcaption {
    margin-top: -0.8em;
    text-align: center;
    color: darkgray;
}

.wp-block-video figcaption {
    margin-top: 0.1em;
    text-align: center;
    color: darkgray;
}




/********** BEGIN: Widgets ************/
.widget-area .widget-title {
    font-size: 13px;
    color: #202020;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    background: #b3bead; /* Old browsers */
    background: -moz-linear-gradient(top,  #b3bead 0%, #dfe5d7 60%, #fcfff4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3bead), color-stop(60%,#dfe5d7), color-stop(100%,#fcfff4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3bead', endColorstr='#fcfff4',GradientType=0 ); /* IE6-9 */
}

.widget-area .widget p {
    margin-bottom: 0px;
}

.widget-area .widget a,
.widget-area .widget a:hover {
   color: #3d7dae;
}

.widget-area .widget li {
    padding: 0px;
}

.widget {
    border: 1px solid #ddd;
}

/* RSS */
.widget_rss li {
    margin: 0px;
    margin-left: 5px;
}

.rsswidget img { /* hide RSS icon */
   display: none;
}

.rsswidget { /* truncate RSS line */
   display: inline-block;
   width: 75%;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   -o-text-overflow: ellipsis;
}

.rss-date { /* datum RSS jako blok s danou sirkou  */
   text-align: right;
   display: inline-block;
   width: 19%;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   -o-text-overflow: ellipsis;
}


.widget-area .widget-title a { 
   color: #000000;
   display: inline;
}

.widget-area .widget-title a:hover { 
   color: #000000;
   text-decoration: underline;
}

.widget-area .widget li {
   line-height: 1.3; /* zmesni mezeru mezi RSS radky*/ 
   border-bottom: 0px; /* zrusi linku mezi RSS radky */
}

/* ??? */
.flex-caption {
    font-weight: bold;
    text-transform: uppercase;
}

/* email subscribers */
.es-field-wrap {
    margin: 5px;
}

.es_submit_button {
    margin-left: 5px;
}


/********** END: Widgets ************/


/***** BEGIN: Sbor->Funkcionari *******/

.funkc-frame {
    padding: 0px;
    width: 47%;
    min-width: 370px;
    float: left;
    font-weight: bold;
}

.funkc-frame img {
    border: 0px;
    float: left;
    margin-right: 20px;
    margin-top: 7px;
    padding: 0px;
}

.funkc-frame div {
    margin-bottom: 10px;
}

.funkc-frame small {
    font-size: 11px;
    font-weight: normal;
}

img.funkc-suppl {
    border: 0px;
    float: none;
    margin-left: 20px;
    vertical-align: top;
}

/***** END: Sbor->Funkcionari *******/

/***** BEGIN: Sbor->Vyrocni zpravy *******/
.icon-tile {
    border: 1px solid #ddd;
    max-width: 210px;
    text-align: center;
    background: #f0f0f0;
    float: left;
    margin: 3px;
    margin-bottom: 5px;
}
/***** END: Sbor->Vyrocni zpravy *******/


/***** BEGIN: Jednotka->Clenove jednotky *******/
.jednotka {
    text-align: center;
    float: left;
    padding: 8px;
    border: 1px solid #d0d0d0;
    margin-right: 8px;
    background: #f0f0f0;
}

.jednotka img {
    background: #ffffff;
    padding: 8px;
}

.jednotka hr {
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
}
/***** END: Jednotka->Clenove jednotky *******/


