/*
Theme Name:		 Praha Újezd
Description:	 Praha Újzed is a child theme of GeneratePress
Author:			 Ing. Pavel Kočárek
Template:		 generatepress
Version:		 1.0.0
Text Domain:	 praha-ujezd
*/


/*
    Add your custom styles here
*/

body{
    overflow-x: hidden;
}


h1 {
    font-weight: 400;
    font-size: 32px;
}

h2 {
    font-weight: 500;
    font-size: 24px;
}

h3 {
    font-weight: 600;
}

p {
    margin-bottom: 0;
}

.popis-archivu{
     margin-bottom: 30px;
}

.main-title a, .main-title a:hover, .main-title a:visited {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.site-branding-container .site-logo {
    margin-right: 15px;
}

.inside-header {
    padding: 26px;
}

.main-navigation, .main-navigation ul ul {
    background-color: #f2f2f2;
    border-bottom: solid 2px white;
}

.main-navigation .main-nav ul li a {
    color: #000000;
    font-size: 23px;
    background: #e2e2e2;
    text-align: center;
    padding: 9px;
}

.main-navigation .main-nav ul li:hover a {
    background: #bababa;
}

.main-navigation .main-nav > ul > li {
    border-right: solid 2px white;

    border-left: solid 2px white;
    margin-left: -2px;
    width: 19.76%;
}

.main-navigation .main-nav ul li:first-child {
    margin-left: 0;
}

div#metaslider_container_30{
    margin: 0 -99em !important;
    width: auto;
    display: block;
}

.flexslider{
    width: 1920px !important;
    margin: 0 auto !important;
}

.one-container .site-content {
    padding: 0px;
}

.footer-widgets {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background: none;
}

.site-footer {
    color: #ffffff;
    background: #555555;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
    margin-left: 0;
}

.footer-widgets .widget-title {
    color: #ffffff;
    font-size: 30px;
}

.footer-widgets .widget-title:after {
    content: "";
    color: #ffffff;
    font-size: 30px;
    border-bottom: 3px solid white;
    width: 50%;
    display: block;
}

.site-footer .tablepress tbody td, .tablepress tfoot th {
    border-top: none;
}

div#primary, div#left-sidebar {
    margin-top: 40px;
    margin-bottom: 40px;
}

div#primary {
    border-left: 1px solid #e2e2e2;
}

.archive .entry-content, .archive .entry-summary {
    margin: 0.5em 0 0;
}

.archive footer.entry-meta {
    margin-top: 1em;
}

.home footer.entry-meta {
    display: none;
}

.cat-links {
    display: none;
}

.post {
    margin: 0 0 3em;
}

.home #main {
    margin-left: 0;
}

.home #primary, .home #secondary {
    width: 50%;
    left: 0;
    border: none;
    margin-top: 40px;
    margin-bottom: 40px;
}

.home #primary article h2, .home #secondary article h2, .home #tertiary article h2 {
    font-size: 18px;
    font-weight: 500;
    max-height: 21px;
    overflow: hidden;
}

.home .page-content, .home .entry-content, .home .entry-summary {
    margin: 0.5em 0 0;
    font-size: 14px;

}

.home article {
    margin-bottom: 25px;
}


.home #primary article {
    background: #e2e2e2;
    height: 120px;
    padding: 15px;
}

.home #primary .inside-article {
    height: 120px;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.home #secondary article {
    background: #e2e2e2;
    height: 50px;
    padding: 15px;
}

.home #secondary .inside-article {
    height: 50px;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.home-post {
    display: block;
}

.home article a {
    color: black;
}

.home #primary {
    padding-right: 20px;
}

.home #secondary {
    padding-left: 20px;
}

.home #tertiary{
    width: 100%;
    left: 0;
    border: none;
    margin-top: 40px;
    margin-bottom: 0;
    padding-top: 40px;

}

.home #tertiary article {
    width: 29.666%;
    margin-right: 5.5%;
    display: inline-block;
    background: white;
    padding: 10px;
}

.home #tertiary article:last-child {
    margin-right: 0%;
    margin-bottom: 25px;
}

#tertiary div main {
    display: flex;
}

#tertiary > div{
    margin: 0 -99em;
    padding: 40px 99em 0px 99em;
    width: auto;
    display: block;
}

#tertiary main{
    width: 1080px;
    margin: 0 auto;
    padding-top: 40px;
}

.planned-actions {
    background-color: #eaeaea;
}

#tertiary .post-image {
    margin: 0;
}

#tertiary > h2 {
    font-size: 26px;
    font-weight: 500;
    text-decoration: underline;
    text-align: center;
    background: #e2e2e2;
    width: 260px;
    margin: -34px auto;
    top: 0;
    position: relative;
    padding: 18px;
}

.archive .post-image, .display-posts-listing .page-header-image {
    width: 30%;
    float: left;
    margin: 1.4em 1.4em 1.4em 0;
}

.single .size-auto, .single .size-full, .single .size-large, .single .size-medium, .single .size-thumbnail {
    max-width: 70%;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.single .alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.download-attachments .download-title {
    padding-bottom: 0.5em;
    clear: both;
    padding-top: 0.5em;
}

.display-posts-listing article {
    margin: 0 0 2em;
    clear: both;
}

.display-posts-listing {
    margin: 0;
}

a.home-button {
    font-size: 26px;
    font-weight: 500;
    text-decoration: underline;
    text-align: center;
    background: #e2e2e2;
    width: auto;
    margin: auto;
    top: 0;
    position: relative;
    padding: 18px;
    display: block;
}

.sidebar .menu .sub-menu, .sidebar .menu .sub-menu .sub-menu {
    display: none;
}

.sidebar .current-menu-item .sub-menu, .sidebar .current-menu-ancestor .sub-menu, .sidebar .sub-menu .current-menu-item .sub-menu, .sidebar .sub-menu .current-menu-ancestor .sub-menu {
    display: block;
}

.main-navigation .main-nav ul li:hover a {
    background: #555555;
}

@media (max-width: 768px){
    .main-navigation .main-nav > ul > li {
        width: auto;
    }

    button.menu-toggle:hover, button.menu-toggle:focus, .main-navigation .main-nav ul li a, .menu-toggle {
        color: #000000;
    }

    .main-navigation .main-nav ul ul li a {
        line-height: 3;
    }

    .one-container .site-content {
        padding: 0px 20px;
    }

    .home #primary, .home #secondary {
        width: auto;
    }

    .home #primary {
        padding-right: 0;
    }

    .home #primary .inside-article {
        height: auto;
    }

    .home #primary article {
        height: auto;
    }

    .home #secondary {
        padding-left: 0;
    }

    div#primary {
        border-left: none;
    }

    #tertiary > div {
        margin: 0 -99em;
        padding: 40px 99em 0px 99em;
        width: auto;
        display: block;
    }

    #tertiary div main {
        display: block;
        width: auto;
    }

    .home #tertiary article {
        width: 100%;
        padding: 10px 0;
    }

    .home #tertiary .inside-article {
        padding: 0 10px 30px 10px;
    }
}

.download-attachments .download-title {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
}

h2.entry-title.uredni-deska {
    font-size: 17px;
}

.muni_headder {
    margin-right: 15px;
}

.muni_headder:hover {
    opacity: 0.5;
}