body{font-family:Calibri, 'Times New Roman';margin:0px;padding:0px;}
.clear{clear:both;}
.tlacitko{position:relative;width:300px;height:60px;background:#006599;margin:0 auto;top:220px;color:#ffffff;text-align:center;line-height:60px;border-radius:20px;font-size:22px;transition:0.1s;}
.tlacitko:hover{background:#2790c6;font-size:24px;transition:0.1s;}
.header{position:relative;top:0px;background:url('../img/header-autoskola1.jpg') 50% 50% no-repeat;background-size:cover;width:100%;height:500px;}
.content{position:relative;width:100%;margin:0 auto;padding:0px;}
footer{width:100%;background:#ececec;}
.bottom{position:relative;width:1000px;margin:0 auto;padding:100px 0px 20px 0px;}
a{text-decoration:none;}
.hide{display:none;}
.chyba404{position:relative;width:100%;margin:0 auto;text-align:center;padding:50px 0px;}
.chyba404 a{text-decoration:underline;}

.menu{position:relative;top:380px;width:100%;height:60px;font-size:20px;background: rgba(0,0,0,0.6);border-top:2px solid white;}
.menu ul{margin:0 auto;padding:0px;list-style-type:none;width:800px;}
.menu ul li{margin:0 auto;padding:0px;display:inline-block;text-align:center;float:left;width:200px;line-height:60px;}
.menu ul li a{color:white;text-decoration:none;display:block;font-weight:bold;}
.menu ul li:hover{background:rgba(29,97,151,0.8);}

.uvod-bily{position:relative;width:1000px;margin:0 auto;}
.uvod-sedy{position:relative;width:100%;background:#ececec;}
.uvod-sedy-vnitrek{position:relative;width:1000px;margin:0 auto;padding:100px 0px;}
.uvod-sedy-vnitrek p.napiste-nam{font-style:italic;}
.uvod .cast1{padding:100px 0px;height:250px;}
.uvod .cast1 img{float:left;margin-right:50px;height:250px;width:400px;}
.uvod .cast1 h1{float:left;width:550px;font-size:30px;}
.uvod .cast1 h2{float:left;width:550px;margin:0px;font-size:30px;}
.uvod h2{font-size:30px;color:#006599}
.uvod .cast1 p{float:left;width:550px;}
.uvod .tlacitko2{float:left;width:400px;height:60px;background:#006599;margin:0 auto;margin-bottom:100px;color:#ffffff;text-align:center;line-height:60px;border-radius:20px;font-size:22px;transition:0.1s;}
.uvod .tlacitko2:hover{background:#2790c6;font-size:24px;transition:0.1s;}
.uvod a h1:hover{text-decoration:underline;}
.uvod a h2:hover{text-decoration:underline;}
h1, h2, h3, a{margin:0px;padding:0px;color:#006599;}

.polovina{position:relative;float:left;width:450px;padding:20px;background:#f2f2f2;margin:0px;border-bottom:3px solid #006599;}
.druhy{margin:0px 0px 0px 20px;}
.bottom p.seo{background:#f2f2f2;padding:20px;margin:20px 0px;font-size:13px;line-height:1.6;}
.bottom p.seo a{color:black;}
.bottom p.seo a:hover{text-decoration:underline;}
.footer p{margin:20px 0px 0px 0px;text-align:center;}
.footer p a{color:black;}
.footer p a:hover{text-decoration:underline;}

.bottom p.nadpis{font-weight:bold;font-size:22px;margin-top:10px;color:#006599;}

.automobil-test{position:relative;width:1000px;margin:0px auto;padding:0px;}
.automobil-test h1{margin-top:50px;font-size:30px;}
.automobil-test .tlacitko-reset{width:400px;height:60px;background:#993333;margin:0 auto;margin:100px auto;color:#ffffff;text-align:center;line-height:60px;border-radius:20px;font-size:22px;transition:0.1s;}
.automobil-test .tlacitko-reset:hover{background:#ec4949;font-size:24px;transition:0.1s;}
.automobil-test p.start{color:#1d9759;font-weight:bold;font-size:28px;margin-top:50px;}
.automobil-test p.posledni{margin-bottom:100px;}
.automobil-test iframe{border:0px;}

.vsechny-testy{position:relative;width:1000px;margin:0px auto;padding:0px;}
.vsechny-testy h1{margin-top:50px;font-size:30px;}
.vsechny-testy p.posledni{margin-bottom:100px;}
.vsechny-testy ul li a{color:black;}
.vsechny-testy ul li a:hover{text-decoration:underline;}

.jednotlive-testy{position:relative;width:1000px;margin:0px auto;padding:0px;}
.jednotlive-testy h1{margin-top:50px;font-size:30px;}
.jednotlive-testy .tlacitko-reset{width:400px;height:60px;background:#993333;margin:0 auto;margin:100px auto;color:#ffffff;text-align:center;line-height:60px;border-radius:20px;font-size:22px;transition:0.1s;}
.jednotlive-testy .tlacitko-reset:hover{background:#ec4949;font-size:24px;transition:0.1s;}
.jednotlive-testy p.start{color:#1d9759;font-weight:bold;font-size:28px;margin-top:50px;}
.jednotlive-testy p.posledni{margin-bottom:100px;}
.jednotlive-testy iframe{border:0px;}

.clanky{position:relative;width:1000px;margin:0px auto;padding:0px;}
.clanky h1{margin:50px 0px;font-size:30px;}
.clanky h2:hover{text-decoration:underline;}
.clanky .tlacitko-cist{width:160px;height:40px;background:#00aa00;margin:10px 0 50px 0;color:#ffffff;text-align:center;line-height:40px;border-radius:20px;font-size:18px;transition:0.1s;}
.clanky p.posledni{margin-bottom:100px;}
.clanky .tlacitko-cist:hover{background:#00dd00;font-size:20px;transition:0.1s;}

.clanek{position:relative;width:1000px;margin:0px auto;padding:0px;}
.clanek h1{margin:50px 0px;font-size:30px;}
.clanek p.posledni{margin-bottom:100px;}
.clanek a:hover{text-decoration:underline;}


@media screen and (max-width: 1020px) {
.uvod-sedy{width: calc(100% - 100px);padding:0px 50px;}
.uvod-sedy-vnitrek{width:100%;text-align:center;}
.uvod-bily{width:calc(100% - 100px);}
.uvod .cast1{padding:100px 50px;height:auto;text-align:center;}
.uvod .cast1 img{float:none;margin-right:0px;}
.uvod .cast1 h2{float:none;width:auto;margin: 30px 0px 0px 0px;}
.uvod .cast1 h1{float:none;width:auto;margin: 30px 0px 0px 0px;}
.uvod .cast1 p{width:auto;float:none;}
.uvod .tlacitko2{float:none;margin-bottom:0px;}
.bottom{width:100%;}
.polovina{width:calc(100% - 40px);}
.druhy{margin:0px;}
.menu ul{width:auto;text-align:center;}
.menu ul li{float:none;width:auto;padding:0px 20px;}

.clanky{width:calc(100% - 40px);padding:0px 20px;}
.clanek{width:calc(100% - 40px);padding:0px 20px;}
.vsechny-testy{width:calc(100% - 40px);padding:0px 20px;}
.automobil-test{width:calc(100% - 40px);padding:0px 20px;}
.jednotlive-testy{width:calc(100% - 40px);padding:0px 20px;}
}

@media screen and (max-width: 540px) {
.uvod .cast1 img{height:auto;width:100%;}
.uvod .tlacitko2{width:auto;font-size:18px;}
.uvod .tlacitko2:hover{font-size:20px;}
.automobil-test .tlacitko-reset{width:100%;}
.menu{top:320px;height:120px;}
}

