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}
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:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
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}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

body,html {
        font-family: Verdana,Arial,Courier New,sans-serif;
  	font-size: small;
  	color: #666666;
}
header {
    background: #526dbd;;
    padding: 20px 30px;
    max-width: 880px;
    margin: auto;
}
nav {
    display: inline-block;
   
}
nav ul li a {
    background: #1f3972;
    padding: 2px 10px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    color: #FFF;
    border-radius: 10px;
}
nav ul li a:hover {
	background: #FFF;
        color: #000;
}
nav ul li {
    display: inline-block;
    margin: 10px;
}
nav ul {
    list-style: none;
    padding: 20px 10px 0px 10px;
    
}
#page {
    background: #ffffff none repeat scroll 0%;
    max-width: 940px;
    margin: auto;
    border: none;
}
#page p {
  margin: 10px 0 1.3em;
  font-size: 1em;
  line-height: 1.4em;
}

#page p.red {
  color: red;
}

#page p.jmeno {
  text-align:right; 
  margin-right: 150px;
}

#page p.li {
  margin: 0px 0px 0px 20px;
  padding: 1px 0px 3px 12px;
  background: transparent url(../ico/element_li.png) no-repeat scroll left center;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}

#page p.ol {
  margin: 0px 0px 0px 5px;
  padding: 1px 0px 3px 12px;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}

#page p.td {
  margin: 0px 0px 0px 0px;
}

#page ul {
  margin: 0 0 5px 20px;
}

#page ul li {
  margin: 0;
  padding: 5px 0 5px 12px;
  background: transparent url(../ico/element_li.png) no-repeat scroll left center;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}

#page a {
    color: #000;
}

#page a:hover {
    color: #516cbf;
    text-decoration: none;
}

main {
        background: #ffffff none repeat scroll 0%;
	float: left;
}
aside {
	float: right;
	width: 30%;
}
article {
    border-bottom: 2px dotted #999;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
article h2 {
    font-weight: normal;
    margin-bottom: 12px;
}
article p {
	
}

.img-fluid {
   max-width:100%;
   height:auto
}

main section {
}

h1, h2, h3 {
  margin-top: 0;
  color: #516cbf;
}
h1 {
  margin: 0 0 15px;
  font-size: 1.6em;
  font-weight: bold;
}
h2 {
  margin: 15px 0 10px;
  font-size: 1.3em;
  font-weight: bold;
}
h3 {
  margin: 10px 0 5px;
  font-size: 1em;
}

table td.sto {
   width:100px;
}

table.standard {
  border: 1px solid #cccccc;
  margin-bottom: 1.3em;
  border-collapse: collapse;
}

table.standard td, table.standard th {
  border: 1px solid #cccccc;
  padding: 4px;
  line-height: 1.4em;
}

table.standard td.verti {
  vertical-align:bottom;
}

table.standard_cenik {
  border: 1px solid #cccccc;
  margin-bottom: 1.3em;
  border-collapse: collapse;
}

table.standard_cenik td, table.standard_cenik th {
  border: 1px solid #cccccc;
  padding: 4px;
  line-height: 1.4em;
}
table.standard_cenik th {
  border: 1px solid #cccccc;
}

table.standard_cenik th.dvadvanula {
   width:220px; 
   text-align:left;
}

table.standard_cenik th.jednasedmnula {
   width:170px; 
   text-align:center;
}

table.standard_cenik th.trictyriosm {
   width:348px; 
   text-align:center;
}


footer {
	background: #526dbd;
	max-width: 940px;
	margin: auto;
	clear: both;
	text-align: center;
}
footer p {
	padding: 15px;
        color: #FFF;
        font-size: small;
}

footer p.site {
	padding: 0px 15px 15px 15px;
        color: #FFF;
        font-size: small;
}

footer a {
	color: #FFF;
}
footer a:hover {
	color: #000;
}

address {
    padding: 10px 20px 30px 10px;
}
aside > div {
	margin: 10px auto;
	background: #AEC6CF;
	min-height: 100px;
}
#logo {
    display: inline-block;
    vertical-align: middle;
    font-size: 35px;
    margin-right: 1px;
    color: #FFF;
}
#logo img {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
}
body > section {
    max-width: 940px;
    margin: auto;
    padding: 30px 0px 0px 0px;
    border-bottom: 1px solid #999;
    color: #333;
}

@media screen and (max-width: 940px) {
	body > section {
		padding: 30px 20px;
	}
    

}
@media screen and (max-width: 600px) {
	main {
		float: none;
		width: 100%;
	}
    	header {
        	padding: 20px 30px 20px 10px;
    	}
    
    	#logo {
        	padding: 0px 0px 0px 10px;
    	}
    
    	nav ul {
       		padding: 20px 10px 0px 0px;
    	}
    
table.standard {
border-top-color: rgb(204, 204, 204);
border-top-style: solid;
border-top-width: 1px;
border-right-color: rgb(204, 204, 204);
border-right-style: solid;
border-right-width: 1px;
border-bottom-color: rgb(204, 204, 204);
border-bottom-style: solid;
border-bottom-width: 0px;
border-left-color: rgb(204, 204, 204);
border-left-style: solid;
border-left-width: 1px;
border-collapse: collapse;
}

table.standard td, table.standard th {
border-top-color: rgb(204, 204, 204);
border-top-style: solid;
border-top-width: 0px;
border-right-color: rgb(204, 204, 204);
border-right-style: solid;
border-right-width: 0px;
border-bottom-color: rgb(204, 204, 204);
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(204, 204, 204);
border-left-style: solid;
border-left-width: 0px;
border-collapse: collapse;
float: left;
width: 100%;
padding: 4px 0px 4px 0px;
}

}
