body{
    background-image: url('background.jpg');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100%;
    font-family: 'Open Sans', sans-serif;
}

.backgroundPhoto {
    /*    position: relative;
        left: 17em;*/
   
    width: 100%;
    height: auto;
    max-width: 80%;



    /*    padding: 15em;
        background-image: url("nada.jpeg");
        background-repeat: no-repeat;
        background-size: 90%;
        background-size: cover;*/
}

#background_wrapper{
     margin-left: 2em;
    margin-bottom:2em;
    margin-right: 2em;
    padding-top: 0em;
}
#titleLink{

    text-decoration: none;

}
#titleText{
    margin-left: 1em;  
    margin-top: 1em;  
    font-size: 42px; 
    border-bottom:none;
}


#left-flow{
    float:left;
}
nav {
    padding-top: 2em;
}
nav div{

    margin : 1em;

    width: 15em;
    padding-bottom: 1em;
}
nav div h4, nav div h3{
    color:black;
    padding-top: 1em;
    padding-left: 1em;

}


div.navigation{
    background-color: rgb(186, 19, 19);
    height: 5em;


}
div.akce{
    background-color: rgb(237, 166, 85);

}

div.organizace{
    background-color: rgb(247, 242, 84);

}

div.ucivo{
    background-color: rgb(111, 247, 84);
}
div.contact{
    background-color: rgb(61, 129, 255);
    height: 14em;
}

div.pocitadlo{
    background-color: rgb(240, 109, 168);
    height: 14em;
}

nav div p {
    font-size: 0.9em;
    padding-left: 1em;
}

div.contact p {
   padding-left: 0.2em;
   margin-bottom: 0.1em;
}

div.contact p.left_space{
    margin-left: 2em;
}
div.contact h4{
    padding-top:0.2em;
    margin-bottom: 0.2em;
}
div.skola{
    background-color: rgb(181, 149, 230);
    height: 5em;
}



nav div a {
    text-decoration: none;

}

nav div a:visited{
    color: black;

}
nav div a:hover{
    color: blue;
}


ul{
    list-style: none;

}

nav div li:before{
    content: '\1F308';
    margin-right: 0.5em;

}
#content{
    background-color: wheat;
    border-radius: 10px;


    margin-right: 10em;
    margin-left: 18em;
    padding: 3em 1em 3em 3em;
    /*     padding-top: 3em;
        padding-left: 3em;
        padding-right: 1em;
        padding-bottom: 3em;*/
}

.interArticle{
    width: 80%;
    margin-bottom: 2em;
    position: relative;
    left: -4em;
}
.articleIMG{
    width: 1000px;
    height: 600px;
    border: 2px white solid;
}
#menu_button{
    display: none;   
}

.responsiveBig{
    width: 100%;
    height: auto;
    max-width: 50em;
    margin-right: 2em;
}
.responsiveSmall{
    width: 100%;
    height: auto;
    max-width: 20em;
}
h1 { color: green;
     font-family: 'Open Sans', sans-serif; 
     font-size: 34px; 
     font-weight: 300; 
     line-height: 40px; 
     margin: 0 0 16px;
     border-bottom: green 1px solid;
     width: 30%;
}

h2 { color: green;
     font-family: 'Open Sans', sans-serif; 
     font-size: 24px;
     font-weight: 300;
     line-height: 32px;
     margin:  0 0 14px; }


h3 { color: green;
     font-family: 'Open Sans', sans-serif; 
     font-size: 24px;
     font-weight: 300;
     line-height: 32px;
     margin: 0 0 14px; }

h4 { color: green;
     font-family: 'Open Sans', sans-serif; 
     font-size: 20px;
     font-weight: 300;
     line-height: 32px;
     margin: 0 0 14px; }

p { color: #222; 
    font-family: 'Open Sans', sans-serif;
    font-size: 16px; 
    font-weight: 400; 
    line-height: 24px; 
    margin: 0 0 14px; }

a{
    font-family: 'Open Sans', sans-serif;
}

/***** organizace ****/
.org-list{
    /*todo*/ 
    content: '\1F308';
}

/************responsive design**************/

@media only screen and (max-width: 1392px){
    .backgroundPhoto{
        max-width: 70%;
    }
    
}
@media only screen and (max-width: 1342px){
    .responsiveBig{
        max-width: 45em;    }
    .backgroundPhoto{
        max-width: 65%;
    }
    #content{
        margin-left: 17em;
    }
}

@media only screen and (max-width: 1000px){
      .backgroundPhoto{
        max-width: 60%;
    }
    #content{
        margin-right:5em;
    }
    
}
@media only screen and (max-width: 800px){
    #sidebar{
        display: none;  
        
    }
    nav div {
        width: 20em;
        font-size: 1.5em;
    }
    .visible{
        display: block !important;
    }
    #titleLink{
        display: none;
    }
    #content{
        margin-left: 1em;
        margin-right: 2em;
        padding-left: 1em;
        padding-bottom: 1em;
    }
    #background_wrapper{
        margin-left: 1em;
        margin-bottom: 0.1em;
    }
    .backgroundPhoto{
        max-width: 100%;
    }
    h1{
        padding-left: 1em;
    }
    #menu_button{
        display: block;
        border: 0px;
        background: green;
        color: wheat;
        border-radius: 10px;
        font-size: 3em;
        position: fixed;
        top:85%;
        left: 10%;
        padding-bottom: 0.2em;
    }
    .interArticle{
        left: 0em;
    }
    
}
