/* CSS Document*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:10;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* Magdas */
/* for mobile */
*{
    margin: 0;
    padding: 0px;
} 
.desktop{
    display: none;
}

.tablet{
    display: none;
}

nav{
    display: none;
}

h1{ 
    padding:20px;
    font-family: "segoe UI", Arial;
    font-size: 35px;
    line-height: 40px;
    text-align: center;
    color: #1b2b3c;
}

h2{ 
    padding:20px;
    font-family: "segoe UI", Arial;
    font-size: 28px;
    line-height: 30px;
    text-align: center;
    color: #1b2b3c;
}

h3{ 
    padding:30px;
    font-family: "segoe UI", Arial;
    font-size: 22px;
    line-height: 25px;
    text-align: center;
    color: #1b2b3c;
}

h4{ 
    padding:40px;
    font-family: "segoe UI", Arial;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: #1b2b3c;
}

p{
    padding: 0px 20px 0px 20px;
    font-family: "segoe UI", Arial;
    color: #1b2b3c;
    line-height: 1.6;    
}


img{
    width: 100%;
}

footer{
    background-image: url(img/footer_bee.png); /*změnit veliokost 768x800px*/
} 

.footerList, .vysledkyList {
  padding: 30px 0 0 0;
  list-style: none;
  padding-left: 0;
  display: table;
  width: 100%;
  border-bottom: 1px solid #555;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footerList > li .footerListHeader {
  font-family: 'Segoe UI', Arial;
  color: #1b2b3c ;
  font-size: 20px;

}
.footerList > li ul, .vysledkyList > li ul {
  list-style: none;
  padding: 0 20px;
}
.footerList > li ul li a {
  text-align: center;
  color: #1b2b3c;
  display: block;
  text-decoration: none;
  
}
.footerList > li ul li p, .vysledkyList > li ul li p{
  text-align: center;
  color: #1b2b3c;
  display: block;
  text-decoration: none;
  
}
.footerList li ul li a{
  font-family: 'Segoe UI', Arial;
  color: #fbb900 ;
  font-size: 16 px;
  text-decoration: none;
  line-height: 1.6; 
  border-radius: 30px;
}

.footerList li ul li p{
  text-align: center;
  font-family: 'Segoe UI', Arial;
  color: #1b2b3c ;
  font-size: 16 px;
  text-decoration: none;
  border-radius: 30px;
}

.footerList li ul li a:hover{
  background-color: #ffa500
}

.footerList > li ul li a:hover {
   background-color: #fff2cf
}

.footerList > li ul li a:visited {
   color: #e1a600
}

.footerList > li ul li a:active {
   color: #1b2b3c
}

.firstPart, header{
    padding: 0;
    display: block;
}
.leftTwo{
    margin: 0;
    width: 100%
}
.odsazeny-p{
    text-align: justify;
}

.makeSpace{
    text-align: left;
}

.nazev {
    background-image: url(img/hexaNazev.png);
    background-position: center;

}
.center {
    text-align: center;

}
.lineCenter {
    padding: 20px;
    text-align: center;
    line-height: 12px;

}
.main_pic{
    display: none;
}

/* for tablet */
@media only screen and (min-width:767px){
.mobile{
    display: none;
}
.desktop{
    display: none;
}
.tablet{display: block;}

nav{
    display:block;
    width:100%;
    height: 60px;
    background-color: #fff2cf; 
    position: fixed;
    top: 0px;   
    font-family:"Segoe UI", Arial; 
    z-index: 1;
}

nav img {
    height: 60px;
    margin: 0px 15px;
}

nav ul{
    margin-left: 0%;
}

nav p{
    display: none;
}
nav ul li{
    list-style: none;
    display:inline-block;
    float: left;
    position: relative;
}

nav ul li a{ 
    display:block;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    color:#1b2b3c;
    line-height: 60px;
    padding: 0 20px;

}
/* sub menu */
nav ul li ul {
    display: none;
    position:absolute;
    background-color:  #fff8e7;
    opacity: 98%;
    border-radius: 0px 0px 10px 10px;
    padding: 0px;
}

nav ul li ul li{
    width: 400px;
}

nav ul li ul li a {
    height: 45px;    
    line-height: 45px;     
}

nav ul li ul li a {
    height: 45px;    
    line-height: 45px;     
}
nav ul li img {
    display: none;

}

 nav ul li a:hover {     
    font-weight: bold;
    background-color: #ffe290;
    color:#1c2233;
    border-radius: 30px;
}

nav ul li:hover ul{
    display: block;
   
}

nav ul li ul li a:hover {
    background-color: #ffe7a6;      
}

footer{
    width: 100%;
}


.nazev{
    padding-top: 80px;
    background-color: none;
    background-image: url(img/footer_bee.png); /*změnit graduated colour jako u mobilu 738x260px*/
    background-position: center;
}
.wrapper{
    width: 93%;
    margin: auto;
}

.makeSpace{
    display: flex;
    padding: 0 20px;
}

.makeSpace p{
    padding: 0 5px 0 0;
}

.vysledkyList{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
 }

.vysledkyList li {
    flex-wrap: nowrap;
    flex-basis: 50%;
    
 }
.drzak {
    width:700px;
}

}

/* for desktop */
@media only screen and (min-width:1080px){
.desktop{
    display: block;
}
.drzak {
    width:100%;
}

p{
    font-size: 1.2em;
}
h1{
    font-size: 60px;
    line-height: 70px;
}

nav ul li img{
    display: block;
    height: 60px;
    width: auto;
    margin: 0px 15px;
}

.vysledkyList li {
    flex-wrap: nowrap;
    flex-basis: 33%;
    
 }

.nazev{
    background-image: none;
    text-align: left;
    padding-top: 220px;
    font-size: 90px;
    line-height: 95px;
    
}

.drzak2{
    margin:auto;
    width: 1080px;
}
.footerList > li, .vysledkyList > li {
width: 20%;
display: table-cell;
vertical-align: top;
}
.footerList > li:last-child, .vysledkyList> li:last-child{
width: 7%;
}
.main_pic{
    display: block;
    margin-left: auto;
    margin-right: 100px;
    margin-top: 80px;

    width: 590px;
}

.firstPart {
    display: flex;
}

/*for vysledky section*/
/*změnit barvy menu je nutné kombinovat s java scriptem
nav.vysledky{
    background-color: rgba(0,0,0,0);
}

nav.vysledky a{
    color: white;
    font-style: bold;
}*/
header {
    background: url(img/kralovna.jpg) center;
    width: 100%;
    height: auto;
    background-size: 100%;
    padding: 260px 0px 200px 0px;
}    
.obalka{
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px 0px;
    
    
}
header h1.nazev, header p {    
    text-align: center;
}
header h1.nazev{
    padding: 0 0 0 0;
}
img.imgVysledky{
        filter: grayscale(100%);
        transition-duration: 1s;
        z-index: 2;
}
img.imgVysledky:hover{
    filter: none;
    transform: scale(1.1); 
}
/*for vysledky section*/
footer a{
    font-size: 1.2em;

}

.makeSpace{
    padding-bottom: 100px;
    width: 66%
}
.zadani{
    width: 50%;
}
.summary{
    width: 50%;
}

.secondPart{
    display: flex;
}
@media only screen and (min-width:1311px){
nav p{
    text-align: right;
    display: block;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color:#e3af21;
    line-height: 60px;
    padding-right: 20px;
}

}

