/*
Theme Name: Hlučané
Theme URI: http://www.reklamajakbrno.cz/
Author: Jan Daniel Doležal
Author URI: http://jt.cz/
Description: Šablona na zakázku pro web Hlučané
Version: 1.0
License: Proprietary, All Rights reserved
License URI: http://www.reklamajakbrno.cz/
Text Domain: twentyfourteen

Šablona pro web Hlučanů
*/

body {
    margin: 0px;
    min-width: 320px;
    font-family: 'Open Sans', sans-serif;
}

#Header {
    position: relative;
    height: 120px;
    padding-top: 15px;
    background: rgb(244,244,243) url('img/hlavni_foto_hluk.png') bottom center no-repeat;
    background-size: auto 60%;
}

@media(min-width: 520px) {
    #Header {
        background-size: auto 70%;
        height: 180px;
    }
}

@media(min-width: 640px) {
    #Header {
        background-size: auto 70%;
        height: 345px;
    }
}

#Header h2 {
    height: 56px; line-height: 56px;
    padding-left: 72px;
    margin: 0;
    margin-left: 5px;
    background: url('img/logo-m.png') left center no-repeat;
    font-weight: bold;
    font-size: 11px;
}

@media(min-width: 640px) {
    #Header h2 {
        height: 162px; line-height: 130px;
        padding-left: 200px;
        margin: 0;
        margin-left: 32px;
        background: url('img/logo.png') left center no-repeat;
        font-weight: bold;
        font-size: 18px;
    }

    #Header h2 span {
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

@media(min-width: 840px) {
    #Header h2 {
        font-size: 22px; line-height: 120px;
    }

    #Header h2 span {
    }
}

@media (min-width: 840px) {
    #MobileNavigation {
        display: none;
    }
}

#MobileNavigation button {
    position: absolute;
    top: 5px;
    right: 5px;
}

#MobileNavigation ul {
    display: none;
    position: absolute;
    z-index: 10;
    right: 5px;
    background-color: #afafaf;
    list-style-type: none;
    padding-left: 0px;
}

#MobileNavigation li {
    padding: 10px 20px;
}

#MobileNavigation a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

#DesktopNavigation {
    display: none;
}

@media (min-width: 840px) {
    #DesktopNavigation {
        display: block;
    }
}

#DesktopNavigation {
    position: absolute;
    top: 0; right: 0px;
    text-align: right;
    padding-top: 10px;
}

#DesktopNavigation a {
    padding: 0 25px;
    color: #9ba2a8;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid black ;
}

#DesktopNavigation a.last {
    margin-right: 35px;
    border-right: none;
}

#DesktopNavigation a.current {
    color: black;
}

#Leaflet {
    height: 68px;
    width: 100px;
    background: url('img/volebni_listek-m.png') top left no-repeat;
    position: absolute;
    top: 110px; right: 5px;
}

@media(min-width: 520px) {
    #Leaflet {
        top: 170px;
    }
}

@media(min-width: 640px) {
    #Leaflet {
        height: 169px;
        width: 250px;
        background: url('img/volebni_listek_text_2022.png') top left no-repeat;
        position: absolute;
        top: 150px; right: 32px;
    }

    #Leaflet p {
        display: none;
    }
}

@media(min-width: 840px) {
    #Leaflet {
        height: 169px;
        width: 250px;
        background: url('img/volebni_listek_text_2022.png') top left no-repeat;
        position: absolute;
        top: 300px; right: 32px;
    }
}


#Leaflet p {
    text-align: center;
    margin: 10px;
    margin-top: 15px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

@media(min-width: 640px) {
    #Leaflet p {
        margin: 20px;
        margin-top: 36px;
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
    }
}

#Leaflet p span {
    font-size: 16px;
    text-transform: none;
    line-height: 24px;
}

@media(min-width: 640px) {
    #Leaflet p span {
        font-size: 32px;
        text-transform: none;
        line-height: 50px;
    }
}

#Motto {
    height: 63px;
    background: url('img/light_noise_diagonal_@2X.png') top left repeat;
}

#Motto p {
    margin: 0;
    margin-left: 5px;
    line-height: 36px; height: 36px;
    color: black /*#9ba2a8*/;
    font-style: italic;
    font-size: 11px;
}

@media (min-width: 640px) {
    #Motto p {
        margin: 0;
        margin-left: 300px;
        line-height: 63px; height: 63px;
        font-size: 13px;
    }
}

@media (min-width: 940px) {
    #Motto p {
        margin: 0;
        text-align: center;
        line-height: 63px; height: 63px;
        font-size: 18px;
    }
}

#SideAndContent {
    max-width: 1024px;
    margin: -32px auto 0px;
    padding-top: 10px;
}

@media (min-width: 640px) {
    #SideAndContent {
        max-width: 1000px;
        margin: -41px auto 0px;
    }

}

#Sidebar {
    width: 120px;
    margin-left: 5px;
    margin-top: -5px;
    background: url('img/light_noise_diagonal_@2X.png') top left repeat;
    float: left;
}

@media (min-width: 640px) {
    #Sidebar {
        width: 256px;
        margin-left: 32px;
        margin-top: -5px;
        background: url('img/light_noise_diagonal_@2X.png') top left repeat;
        float: left;
    }
}

#Sidebar h2 {
    margin: 0;
    background-color: #95b569;
    color: white;
    text-align: center;
    text-transform: uppercase;
    height: 27px;
    line-height: 27px;
    font-size: 14px;
}

@media (min-width: 640px) {
    #Sidebar h2 {
        height: 36px;
        line-height: 36px;
        font-size: 20px;
    }

}

#Sidebar .inner {
    margin: 5px;
    font-size: 12px;
    font-weight: bold;
}

@media (min-width: 640px) {
    #Sidebar .inner {
        margin: 15px;
        font-size: 14px;
    }
}

#Sidebar .moreLink,
#Sidebar .cityLink {
    color: white;
    text-align: center;

    height: 27px;
    line-height: 27px;
    display: block;
    text-decoration: none;
}

@media (min-width: 640px) {
    #Sidebar .moreLink,
    #Sidebar .cityLink {
        height: 36px;
        line-height: 36px;
    }
}

#Sidebar .moreLink {
    background-color: #95b569;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    #Sidebar .moreLink {
        font-size: 20px;
    }
}

#Sidebar .cityLink {
    background-color: #98cece;
    font-size: 12px;
}

@media (min-width: 640px) {
    #Sidebar .cityLink {
        font-size: 14px;
    }
}

#FacebookBoxDesktop {
    display: none;
}

#FacebookBoxMobile {
    height: 42px;
    background-color: white;
    padding-top: 25px; padding-bottom: 5px;
}

#FacebookBoxMobile a {
    display: block;
    background: url('img/fb-m.png') top center no-repeat;
    width: 100%;
    height: 40px;

}

@media (min-width: 640px) {
    #FacebookBoxMobile a {
        background: url('img/fb.png') top center no-repeat;
    }
}

#FacebookBoxMobile a span {
    display: none;
}

#PageContent {
    margin-left: 140px;
    margin-right: 5px;
    margin-bottom: 64px;
    max-width: 700px;
}

@media (min-width: 640px) {
    #PageContent {
        margin-left: 324px;
        margin-right: 32px;
    }
}

#PageContent h1 {
    color: #95b569;
    font-size: 20px;
    margin-top: 32px;
    padding-top: 32px;
    text-transform: uppercase;
}

#PageContent h2 {
    color: #95b569;
    font-size: 18px;
    text-transform: uppercase;
}

#PageContent p {
     /* color: rgb(126,130,134); */
    color: rgb(95,94,92);
}

#PageContent p strong {
    color: rgb(95,94,92);
}


#PageContent p em {
    color: rgb(95,94,92);
    font-weight: normal;
    font-style: normal;
}

#Footer {
    background: #afafaf url('img/light_noise_diagonal_@2X_paticka.png') top left repeat;
    padding: 20px;
}

#Footer p {
    text-align: center;
    color: white;
    font-size: 14px;
}

#Footer a {
    color: white;
    text-decoration: none;
}

#Footer a:hover {
    text-decoration: underline;
}

.clearer {
    clear: both;
}

/* Kandidati */

body#Kandidati #PageContent h1 {
    margin-left: 40px;
    margin-bottom: 32px;
}

body#Kandidati #Sidebar {
    display: none;
}

body#Kandidati #PageContent {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 64px;
    max-width: 1024px;
}

@media (min-width: 640px) {
    body#Kandidati #PageContent {
        margin-left: 32px;
        margin-right: 32px;
    }
}

.kandidat {
    width: 234px;
    text-align: center;
    float: left;
}

.kandidat img {
    -webkit-box-shadow: 0 0 10px 2px #C7C7C7;
    box-shadow: 0 0 10px 2px #C7C7C7;
}

.kandidat ul {
    margin-top: 10px;
    margin-bottom: 24px;
    padding-left: 0;
    list-style-type: none;
}

.kandidat .cislo {
    font-weight: bold;
    font-size: 22px;
}

.kandidat .jmeno {
    color: rgb(95,94,92);
    font-weight: bold;
}

.kandidat .vek {
    font-style: italic;
    color: rgb(95,94,92);
    font-size: 14px;
}

/* Kontakt */

body#Kontakt #PageContent h1 {
    margin-bottom: 32px;
}

body#Kontakt #Sidebar {
    display: none;
}

body#Kontakt #PageContent {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 64px;
    max-width: 1024px;
}

@media (min-width: 640px) {
    body#Kontakt #PageContent {
        margin-left: 32px;
        margin-right: 32px;
    }
}

#Mapa {
    max-width: 100%;
    float: right;
    -webkit-box-shadow: 0 0 10px 2px #C7C7C7;
    box-shadow: 0 0 10px 2px #C7C7C7;
}

@media (min-width: 860px) {
    #Mapa {
        margin-top: -90px;
    }
}

/* Program */

body#Program #PageContent h1 {
    margin-bottom: 32px;
}

body#Program #Sidebar {
    display: none;
}

body#Program #PageContent {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 64px;
    max-width: 1024px;
}

body#Program #PageContent ul {
    list-style-type: decimal;
}

body#Program #PageContent .content > ul > li {
    font-size: 20px;
    font-weight: bold;
    color: rgb(95,94,92);
    margin-top: 20px;
}

body#Program #PageContent ul ul {
    list-style-type: disc;
    padding-left: 20px;
}

body#Program #PageContent ul ul > li {
    font-size: 16px;
    font-weight: normal;
    color: rgb(95,94,92);
    margin-top: 5px;
}

@media (min-width: 640px) {
    body#Program #PageContent {
        margin-left: 32px;
        margin-right: 32px;
    }
}

