body {
    font: 18px Arial;
    margin: 0;

}

body > header {
    height: 165px;
    width: 100%;
    background: #f3f3f3;
    color: #505050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 3px 0px 7px #505050;
    }

#logo {
    height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    background: url('loga/logoyysedy.png') no-repeat;
    background-size: 90px 90px;
}
    
#logo > * {
    margin: 0 0 0 120px;
    align-items: center;
}
    
#logo h1 {
    font-weight: normal;
    font-size: 1em;
    line-height: 1em;
    color: #505050;
    justify-content: center;
    text-transform: uppercase;
}
    
#logo h1 span {
    font-weight: bold;
    font-size: 2.0em;
}
    
#logo small {
    text-transform: uppercase;
     font-size: 0.85em;
}
    
nav ul {
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

nav ul li {
    padding: 0 25px;
    margin: 0 5px;
    font-size: 1em;
    line-height: 3em;
}

nav ul a {
    color: #505050;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul a:hover, .aktivni a {
    color: #ff0000;
}

article {
    max-width: 750px; 
    margin: 0 auto;
}

article p {
    max-width: 750px;
}

article h1 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    color: #505050;
}

article h2 {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: #505050;
}

article h3 {
    font-size: 1.5em;
    line-height: 0.2em;
    font-weight: bold;
    text-align: left;
    color: #505050;
}

article h4 {
    font-size: 1.5em;
    line-height: 0.2em;
    font-weight: bold;
    text-align: left;
    color: #505050;
}

article a {
    text-decoration: none;
    color: #505050; 
}

article a:hover {
    color: #ff0000;
}

footer {
    box-sizing: border-box;
    text-align: center;
    height: 165px;
    color: #505050;
    background: #f3f3f3;
    padding: 40px 0 0 0;
    box-shadow: 3px 0px 7px #505050;
    margin-top: 80px;
}

footer a {
    text-decoration: none;
    color: #505050;
    text-transform: uppercase;
}

footer a:hover {
    color: #ff0000;
}

.sloupec-clanky {
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
}

.clanek-sloupce {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.uvodni-foto-male {
    width: 200px;
    margin-right: 30px;
}

.uvodni-foto {
    float: center;
    max-width: 750px;
}

.uvodni-foto-automobilka {
    height: 80px;
}

.uvodni-logo-automobilka {
    height: 130px;
    margin-right: 30px;
}

.automobilka {
    float: left;
}

.popis-automobilky {
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    box-sizing: border-box;
    margin-top: 5px;
}

.centrovany {
    text-align: center;
}

.levy {
    text-align: left;
}

.tlacitko-technicke {
    background: #dcdcdc;
    color: #505050;
    font-size: 1.2em;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
}

.tlacitko-technicke:hover {
    filter: brightness(115%) contrast(85%);
    border: 0;
    color: #ff0000;
}

.navigace-autokatalog {
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    box-sizing: border-box;
    color: #505050
}

.navigace-autokatalog a {
    text-decoration: none;
    color: #505050
}

.navigace-autokatalog a:hover {
    color: #ff0000;
}

.typ-vozidla {
    font-size: 1.5em;
}

.autor-clanku {
    color: #505050
}


#automobilka-logo-nazev {
    width: 400px;
    height: 100px;
}
#automobilka-logo-nazev td {
    width: 50%;
}
#nazev-automobilky {
    text-align: left;
    width: 300px;
}


#udaje-nadpis {
    height: 30px ;
    width: 100% ;
    background-color: #CCCCCC;
    font-weight: bold;
}

#udaje {
    height: 35px;
    width: 100%;
}

#udaje td {
    height: 30px;
    width: 50%
}

#galerie3 {
    text-align: center;
}

#galerie3 img {
    width: 230px;
    margin-right: 6px;
}

#galerie3 a {
    text-decoration: none;
}

#galerie3 a:hover {
    text-decoration: none;
}

#galerie4 {
    text-align: center;
}

#galerie4 img {
    width: 180px;
}

#galerie4 a {
    text-decoration: none;
}

#galerie4 a:hover {
    text-decoration: none;
}
