 * {margin:0;padding:0;border:0;}
  header, section, footer, #mezera, #horni, #menu, #horni li {display:block;}
  header, footer, #mezera, #horni, #mezera-dole {padding:10px;}
  header, section, footer, #main, #mezera, #horni, #mezera-dole {margin: auto;}
  
  a:link    {color: rgb(255,255,255)}
  a:visited {color: rgb(255,255,255)}
  a:active  {color: rgb(255,255,255)}
  

  
  body
  {
    
    background: url("img/bmw-bg1.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
     background-attachment: fixed;
    color: #000;
    font: normal 15px 'Trebuchet MS' , 'Lucida Sans Unicode', sans-serif;
  
  }
  #main
  {
    background-color : rgba(99,54,24,0.7) ;                   
    width:auto;
    overflow:hidden;
  }
  
  
 
  header
  {
    width:auto;
    height:270px;
    position:relative;
    margin-left:auto;
    margin-right:auto; 
    
     background-attachment: fixed;
   background-image: url("img/headerbg.jpg"); 
  }
  
  #hlavicka
  {
    left:0px;
	  right:0px;
    width:auto;
    height:70px;
	  bottom:0px; 
	  background-attachment: fixed;
    position:absolute;
    background-color:rgb(80,54,30);
	  border-top:1px solid #fff;
	  border-bottom:1px solid #fff;  
  }
  
  #hlavicka li
  {
    padding-top:22px;
    padding-right:40px;
    padding-left:50px;
    display:block;
    color:#fff;
  }
   
  #hlavicka li a
  {
    color: #FFF; 
    text-decoration:none;
  }

  
  #HMezera 
  {
    width:auto;
   
    height:15px;
    margin-left: auto;
    margin-right: auto;   
  }
  

  #clanky
  {
    padding-left:10%;
    color: rgb(216,216,216);
    
    font-size: 150%  
  }
 
  
  #menu
  {
    width:300px;
    padding-right:30px;
    margin-bottom:30px; 
  }
  
  #LMenu
  {
     width:300px;
     color: rgb(216,216,216) ; 
     
    float:right;
    font-size: 150%
  }
  #LMenu1
  {
     color: rgb(216,216,216) ; 
    padding-right:250px;
    float:right;
    font-size: 150%
  }
  #LMenu2
  {
     color: rgb(216,216,216) ; 
    padding-right:20px;
    float:right;
    font-size: 150%
  }
  #art
  {
    width:90%;
    
  }
 
  article
  {
    width:72%;
    
  } 
  
 #article
 {
   color:rgb(95,182,197);
 }
  
  #menu h2
  {
	  background:url("img/logo.png"); 
    background-repeat: no-repeat;
	  background-position: 0px center;
	  background-size: 25px;
	  margin-top: 0px;
	  padding-left: 30px;
    margin-bottom: 20px;
    color:rgb(255,255,255);
  }
  
  #menu ul
  {
    padding-left:40px; 
	  
  }
  
  #menu ul li
  {
	  padding-top:10px;
    color:rgb(255,255,255); 
    
  }  
  #menu a
  {
    color:rgb(255,255,255);
  }
 
  article h2
  {
    margin-top:0px;
    color:rgb(255,255,255);
  }
  
  footer
  {
    width:auto;
	   
    background-size: auto; 
	  padding:3%; 
    padding-left:15%; 
    overflow:hidden; 
    color: rgb(216,216,216);
     background-color:#cc470d;
	  border-top:1px solid #fff;
	  border-bottom:1px solid #fff;  
  }
  
  
  #DMezera
  {
    height:15px;
    width:auto;
    margin-left: auto;
    margin-right: auto;
  }
  #podpis
  {
	  overflow: hidden;
	  height: 80px;
	  text-align: center;
	  line-height: 85px;
    color: rgb(255,255,255);
  }
  
  h1       
  {
   font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    text-shadow:7px 7px 7px rgb(142,142,142);
    color: rgb(255,249,48);
    font-size: 4.2em;
	  margin-top: 10px;                                                                                                                  
	  margin-left: 20px;
  }  
  h4      
  {
   font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;, cursive;
  text-shadow: 7px 7px 7px #8E8E8E;
   color: rgb(196,11,17);
   font-size: 2em;
	  margin-top: 10px;                                                                                                                  
	  margin-left: 20px;
  }
  h3
  {
   font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;, cursive;text-shadow:3px 3px 3px rgb(70,162,208);color:  rgb(152,152,152);font-size: 2.5.em;
	  margin-top: -2px;
	  margin-left: -500px;
  }
  
  #registr
    {
    color: rgb(216,216,216) ; 
    padding-right:400px;
    padding-top:100px;
    padding-bottom:150px;
    float:right;
    }
    
    #footerlinks
    {
         padding-left:400px; 
         padding-bottom:4px; 
    }
  
  #sloupec
{
width:auto;
float:left;
padding-right:90px;
padding-left: 90px;
}
#sloupec1
{
width:auto;
float:left;
padding-left: 425px;
} 

#iefix {
position:relative;
z-index: 1000;
}
   
   .rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }
  
  

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  
  width: 75%;
  border: 0;
  }
  
  #slider {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0 auto;
  }
  
 .cycle-slideshow { width: 100%  }
.cycle-slideshow img { width: 100%; height: 100% }

  /********** Start RESET **********
    AUTHOR: Osvaldas Valutis, www.osvaldas.info
*/
        * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
 *behavior: url( '/theme/js/boxsizing.htc' );
   
    -webkit-overflow-scrolling: touch;
}
html, body, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sup, sub, tt, var, b, u, i, center, ul, ol, li, dl, dt, dd, table, tr, th, td, thead, tbody, tfoot, caption, form, fieldset, legend, input, textarea, select, label, applet, object, iframe, audio, video, canvas, article, aside, canvas, details, figcaption, figure, header, hgroup, menu, nav, section, summary {
    font-size: 100%;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    padding: 0;
    margin: 0;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    -text-size-adjust: 100%;
}
body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1;
    color: #000;
    background-color: #fff;
}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block;
}
audio, canvas, video {
    display: inline-block;

}
audio:not([controls]) {
    display: none;
}
canvas {
    -ms-touch-action: double-tap-zoom;
}
 [hidden] {
display: none;
}
a {
    text-decoration: underline;
    color: #000;
}
a:hover {
    text-decoration: none;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
sup, sub {
    font-size: 75%;
    line-height: 0;
}
sup {
    vertical-align: super;
}
sub {
    vertical-align: sub;
}
pre {
    display: block;
    overflow: auto;
}
code {
    font-family: 'Courier New', Courier, monospace;
}
ul, ol {
    list-style: none;
}
table {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    empty-cells: hide;
}
img {
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
svg:not(:root) {
    overflow: hidden;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
input, textarea {
    -webkit-appearance: none;
}
button, input, select, textarea {
    vertical-align: baseline;
    -vertical-align: middle;
    -webkit-border-radius: 0;
}
button, input {
    line-height: normal;

}
table button, table input {

}
button, input[type='button'], input[type='reset'], input[type='submit'] {
    cursor: pointer;
    -webkit-appearance: button;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
input[type='search']::-webkit-search-decoration, input[type='search']::-webkit-search-cancel-button, input[type='search']::-webkit-search-results-button, input[type='search']::-webkit-search-results-decoration {
display: none;
}
input[type='search'] {
    -webkit-appearance: textfield;
}
input[type='radio'] {
    -webkit-appearance: radio;
}
input[type='checkbox'] {
    -webkit-appearance: checkbox;
}
input::-ms-clear {
display: none;
}
input[type='password']::-ms-reveal {
display: none;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.cleaner {
    height: 0;
    line-height: 0;
    clear: both;
}


/********** End RESET **********/



html {
    font-size: 100%;
}
body {
    font-family: 'Noticia Text', serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    background-color: #f7efeb;
  
}
body, a, a:hover {
    color: #111;
}
a {
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -ms-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}
a, a:hover {
    text-decoration: none;
}
#nav {
    width:100%; /* 1000 */
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    position: relative;
    top:40%;
}
#nav > a {
    display: none;
}
#nav li {
    position: relative;
}
#nav li a {
    color: #fff;
    display: block;
}
#nav li a:active {
    background-color: #c00 !important;
}
#nav span:after {
    width: 0;
    height: 0;
    border: 0.313em solid transparent; /* 5 */
    border-bottom: none;
    border-top-color: #efa585;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: -0.313em; /* 5 */
}
/* first level */

            #nav > ul {
    height: 3.75em; /* 60 */
  
    background-color: #e15a1f;
}
#nav > ul > li {
    width: 16.65%;
    height: 100%;
    float: left ;
}
#nav > ul > li > a {
    height: 100%;
    font-size: 1.5em; /* 24 */
    line-height: 2.5em; /* 60 (24) */
    text-align: center;
}
#nav > ul > li:not( :last-child ) > a {
    border-right: 1px solid #cc470d;
}
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a {
    background-color: #cc470d;
}
/* second level */

                #nav li ul {
    background-color: #cc470d;
    display: none;
    position: absolute;
    top: 100%;
}
#nav li:hover ul {
    display: block;
    left: 0;
    right: 0;
}
#nav li:not( :first-child ):hover ul {
    left: -1px;
}
#nav li ul a {
    font-size: 1.25em; /* 20 */
    border-top: 1px solid #e15a1f;
    padding: 0.75em; /* 15 (20) */
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
    background-color: #e15a1f;
}
 @media only screen and ( max-width: 62.5em ) /* 1000 */ {
#nav {
    width: 100%;
    position: static;
    margin: 0;
}
}
 @media only screen and ( max-width: 80em ) /* 640 */ {
html {
    font-size: 75%; /* 12 */
}
#nav {
    position:relative;
    top: 55%;
    left: 0px;
     width: 100%;
           
}
#nav > a {
    width: 100%; /* 50 */
    height: 4em; /* 50 */
    text-align: left;
    text-indent: -9999px;
    background-color: #e15a1f;
    position: relative;
}
#nav > a:before, #nav > a:after {
    position: absolute;
    border: 2px solid #fff;
    top: 35%;
    left: 1%;
    right:93%;
    content: '';
}
#nav > a:after {
    top: 60%;
}
#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
    display: block;
}
/* first level */

            #nav > ul {
    height: auto;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
}
#nav:target > ul {
    display: block;
}
#nav > ul > li {
    width: 100%;
    float: none;
}
#nav > ul > li > a {
    height: auto;
    text-align: left;
    padding: 0 0.833em; /* 20 (24) */
}
#nav > ul > li:not( :last-child ) > a {
    border-right: none;
    border-bottom: 1px solid #cc470d;
}
/* second level */

                #nav li ul {
    position: static;
    padding: 1.25em; /* 20 */
    padding-top: 0;
}
}/* CSS Document */  