#navbarsecond { position: relative; background: #df250b;}
#navbarsecond .wrap { position: relative; }
#navbarsecond .menu-item li:hover  a { background : #e82300; }
.dropdown a:hover,
#navbarsecond .dropdown li ul li a,
#navbarsecond .dropdown ul,
#navbarsecond {
    background-image: none;
}

#secondmenu {
    background-color: #df250b;
}

#navbarsecond .backToBaseLink {
   position:absolute; top:0; left:-50px; padding: 7px;
}
#navbarsecond .backToBaseLink img { height: 30px; }



#sidebar .feature-posts .post-excerpt {
    margin-left: 74px;
}

#sidebar .widget.videosidebar{
    background-color: #D8000B;
    width: 100%;
    height:  auto;
    padding-top:10px;
    padding-bottom:20px;
    text-align: center;
    margin-bottom: 1em;
    
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#sidebar .widget.widget_youtubesidebarwidget {
    background-color: #D8000B;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 1em;
    width: auto;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#sidebar .lshowcase_widget {
    margin-top: 8px;
}
#sidebar .widget.videosidebar .title,
#sidebar .widget.widget_youtubesidebarwidget .title {
    margin-top : 0.5em;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: none;
    color: white;
    font-size: 1.1em;
}


#sidebar .widget.SlideshowWidget > h3.title {
    padding-top: 33px;
}

.cdh-main-row > .text > span {
    display: inline-block;
    padding-top: 5px;
    vertical-align: top;
}


.cdh-main-row img {
    padding-bottom: 1px;
    vertical-align: middle;
}

.featuredPerson > .text {
    padding-top: 6px;
}

.cmb-half-block img {
    margin-bottom: 0px;
}

#sidebar .widget_sp_image {
    padding: 0;
}

#sidebar .widget_rss h3.title, #sidebar h3.title, #sidebar h3.title a {
    font-family: "Signika";
    background: white;
    color: #c9c9c9;
    font-size: 18px;
    padding:0;
    padding-top:1em;
    font-weight: 400;
}

#sidebar h3.title a {
    font-family: "Signika";
    background: white;
    color: #c9c9c9;
    font-size: 18px;
    font-weight: 400;
}


.filesAvailable {
    border: 1px solid #b0b0b0;
    -wekbit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    padding:0; 
    margin: 7px 0 0;
    line-height: 1;
    border-right: 0px;
}

.filesAvailable.newRow {
    clear: both;
    margin: 3px 0 0;
}
.filesAvailable.empty {
    border-color: white;
}
.featuredPerson > .filesAvailable.empty {
    border-color: #EDF1F4;
}
.filesAvailable > span {
    display: inline-block;
    font-size: 10px;
    margin:0;
    padding: 0 3px 0 2px;
    border-right: 1px solid #b0b0b0;
}
.filesAvailable > span > a {
    display: inline-block;
    vertical-align: baseline;
    padding: 2px 0;
    color: #5f5f5f;
    height: 11px;
}
.filesAvailable > span > a > img {
    display: inline-block;
    vertical-align : text-top;
    padding: 2px 4px 2px 2px;
}

@media screen and (max-width: 768px)  {
.cdb-block-intro .desc {
  display: block;
  margin-top: 0.5em;
  width: auto;
  vertical-align: top;
  margin-bottom: 1em;
}


.topicTable { display: block; margin-top:  0.5em }
.topicTable .header { display: block; float: left; width: 100px; height: 3px; }
.topicTable .topic { display: block; margin-left: 100px; }
.topicTable .speakers {
    display: block;
    margin-left: 100px;
    width: auto;
}

.person { margin: 0.5em; }
}



#slider #slides .slides li {
    height: 425px;
}

/* jinak to schovava nahledy */
.gg_galleria_slider_wrap .galleria-container {
    overflow: visible;
}

.recent-post .entry p {
    display: block;
    height: 5em;
    overflow: hidden;
}


.map_preview img {
    width: 100%;
}

.category-widget .item {
    display: block;
    height: 60px;
    overflow: hidden;
    position: relative;
}


/* video centering */
#youtube-sidebar-widget ul { width: auto; }
#sidebar .widget.widget_youtubesidebarwidget { width: 300px; }
#sidebar .widget.widget_youtubesidebarwidget #youtube-sidebar-widget{
    display: inline-block;
}


@media screen and (max-width: 980px) {
    .post-cover { height: auto; padding-bottom:0; }
    /*#logo {display:none} */
    
    #slider #slides { width:auto !important; padding: 0 !important; }
        
    .category-widget { margin: 25px 10px; width: 46.5%}

    #logo { text-align:center; padding:0; }
    #logo div.logoImage, #logo div.logoImageKomora { float: none; }
    
    #languages {
        margin-top: 0;
    }

    #slider #slides .slide_content {
        margin: 0px;
    }
    
    #slider_nav {
        width: 100%;
    }

    #slider_nav > h3 {
        padding: 0 0.5em;
    }

    
    .cdb-header-half {
        width: auto;
    }

    .cdb-block-intro .desc {
      margin-top: 0;
    }

    #sidebar .tabbertabs {
    margin: 0 5px;
    }

    #sidebar .widget.widget_youtubesidebarwidget { width: 45%; }
}

@media screen and (max-width: 768px) {
    .category-widget { margin: 25px 10px; width: 100%; float:none;}
    .category-widget .tabs { width: auto }

}

@media screen and (max-width: 640px) {
    #sidebar .widget.widget_youtubesidebarwidget { width: auto; }
}
