/* reset5 © 2011 opensource.736cs.com MIT */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;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,a img{vertical-align:middle;}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/*
 * Copyright 2018 bohacek.sk
 */
body {
	font-family: verdana;
}
h1 {
	font-size: 220%;
	margin: 20px 0;
    line-height: 120%;
}
h2 {
	font-size: 140%;
	margin: 15px 0;
    line-height: 115%;
}
h3 {
	font-size: 125%;
	margin: 15px 0;
    line-height: 110%;
}
a {
    color: #666666;
}
a:hover {
    text-decoration: none;
}

/* vseobecne */
.clear {
  clear: both;
}
.floatRight {
    float: right;
}

/* crumb */
.crumb {
	font-size: 90%;
	margin-top: 15px;
	line-height: 24px;
	margin-bottom: 15px;
	border-bottom: 1px dotted;
}
.crumb div {
	display: inline-block;
}
.crumb div a {
	text-decoration: none;
}
.crumb div a:hover {
	text-decoration: underline;
}

/* STRUCTURE */
#pagewrap {
	width: 1250px;
	margin: 15px auto;
    box-shadow: 0 0 5px #333;
}
#pagewrap #bg {
	padding: 15px;
}
#header {
    padding: 10px;
    min-height: 220px;
	position: relative;
	background-color: #f8e8c6;
    background-image: url('../grafika/header.jpg');
    background-size: cover;
}
#header .logo {
    display: inline-block;
    text-align: center;
    width: 260px;
    line-height: 200px;
}
#header .nazov {
    padding: 10px 0 0 20px;
    color: #666666;
    font-weight: bold;
    font-size: 23.5px;
    display: inline-block;
    position: absolute;
    margin-top: 50px;
}
#header .nazov .nadpis {
    font-size: 47px;
    margin-bottom: 10px;
}
#header .lang {
    bottom: 10px;
    position: absolute;
    right: 10px;
}

#content {
	float: left;
    width: 100%;
    color: #666666;
	position: relative;
}
#text {
    width: 660px;
    float: left;
    padding: 10px;
    margin-right: 10px;
    margin-left: 270px;
    line-height: 130%;
    background: url('../grafika/pod-textom.jpg') center center no-repeat #fffbe7;
    border-left: 1px solid #eeebe5;
    border-right: 1px solid #eeebe5;
    min-height: 500px;
}
#text,
.cke_editable {
    color: #c34129;
    line-height: 135%;
    font-size: 14px;
}
#text p,
.cke_editable p {
    margin: 10px 0;
}
#text ul,
.cke_editable ul,
#text ol,
.cke_editable ol {
    margin-left: 15px;
}
#text ul,
.cke_editable ul {
    color: #666666;
}
#text ul li,
.cke_editable ul li {
    margin: 10px 0px;
}

/*#text ul.sipky,
.cke_editable ul.sipky {
    list-style-type: lower-alpha;
}*/
#text ul.sipky li,
.cke_editable ul.sipky li {
	position:relative;
	list-style-type: none;
}
#text ul.sipky li::before,
.cke_editable ul.sipky li::before {
	position:absolute;
	content:"";
	top:15%;
	-webkit-transform:translateY(-15%);
	-moz-transform:translateY(-15%);
	-o-transform:translateY(-15%);
	-ms-transform:translateY(-15%);
	transform:translateY(-15%);
	margin-left:-15px;
	width: 0; 
	height: 0; 
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 7px solid #666666;
}
    


#text h2,
.cke_editable h2 {
    font-family: serif
}
.sidebar {
    width: 260px;
    float: right;
}
.sidebar.sidebar_left {
    float: left;
    position: absolute;
}
.sidebar h2 {
    color: #fff;
    padding: 5px;
    margin-top: 0;
    width: 80%;
    margin-bottom: 5px;
    font-weight: 400;
    text-transform: uppercase;
    background-color: #cc9966;
}
.sidebar .class0 {
    //padding-left: 20px;
}
.sidebar .class0 li a {
    color: #666;
    padding: 4px 0;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
}
.sidebar .class0 li a.aktiv {
    color: #c34129;
}
.sidebar .class0 li span {
    color: #c34129;
    float: left;
    font-size: 250%;
    line-height: 15px;
    padding-right: 5px;
}
.sidebar .class0 li {
    font-weight: bold;
    padding: 8px 0;
    list-style-type: none;
    border-bottom: 1px solid #000;
}
.sidebar p {
    margin: 5px 20px;
    font-size: 83%;
    line-height: 110%;
    font-weight: bold;
}

table.subory {
    width: 100%;
}
table.subory td {
    padding: 5px;
}
table.subory .velkost {
    text-align: right;
}
table.subory .typ {
    width: 19px;
}
table.subory thead tr td,
table.subory thead:hover tr td {
    background-color: #f8e8c6;
    font-weight: bold;
}
table.subory tr:hover td {
    background-color: #faf0d0;
}
.inPDF {
    text-align: right;
    display: block;
    padding: 5px 0;
    font-weight: bold;
    text-decoration: none;
    font-size: 90%;
}
.nahlad {
    width: 100%;
}

#footer {
	clear: both;
    padding: 10px;
    font-size: 90%;
    color: #666666;
}

/* responsive multilevel menu */
#pattern {
    position: absolute;
    //bottom: 0;
    display: none;
}
a.menu-link {
    float: right;
    display: block;
    padding: 18px;
    color: #666666;
    text-decoration: none;
    font-weight: bold;
}
.menu, .menu > ul ul {
    clear: both;
    -webkit-transition: all 0.3s ease-out;  
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.js .menu, .js .menu > ul ul {
    overflow: hidden;
    max-height: 0;
    background: rgba(255, 255, 255, 0.95);
}
.menu.active, .js .menu > ul ul.active {
    max-height: 880px;
}
.menu > ul {
    border-top: 1px solid #808080;
}
.menu li a {
    color: #000;
    display: block;
    padding: 12px;
    border-bottom: 1px solid #808080;
    position: relative;
    text-decoration: none;
}
.menu li.has-subnav > a:after {
    content: '+';
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    font-size: 24px;
    padding: 4px 8px;
}
.menu li.has-subnav > a.active:after {
    content: "-";
}

@media screen and (min-width: 1100px) {
    .menu ul li {
        list-style-type: none;
    }
    .pattern {
        overflow: visible;
    }
    a.menu-link {
        display: none;
    }
    .js .menu, .js .menu > ul ul {
        max-height: none;
        overflow: visible;
        background: none;
    }
    .js .menu > ul ul {
        background: #808080;
        display: none;
    }
    .js .menu > ul li:hover > ul {
        display: block;
    }
    .menu ul {
        margin: 0 0 0 -4px;
        border: 0;
    }
    .menu li a {
        border: 0;
    }
    .menu li.has-subnav > a {
        padding-right: 32px;
    }
    .menu li.has-subnav > a:after {
        content: ">";
        font-size: 16px;
        padding: 12px 8px;
    }
    .menu .level-1 > li.has-subnav > a:after {
        content: "▼";
    }
    .menu > ul li {
        margin: 0;
    }
    .menu > ul > li {
        display: inline-block;
        position: relative;
    }
    .menu > ul ul {
        position: absolute;
        top: 0;
        left: 192px;
        width: 192px;
    }
    .menu > ul ul li {
        position: relative;
    }
    .menu > ul ul.level-2 {
        top: 40px;
        left: 0;
    }
}

/* MEDIA QUERIES */
@media screen and (max-width: 1270px) {
	#pagewrap {
		width: 95%;
	}
    #text {
        width: 60%;
        margin-left: 17%;
    }
    .sidebar {
        width: 15%;
    }
}
@media screen and (max-width: 1100px) {
    #text {
        width: 100%;
        margin-left: 0;
        float: none;
        margin: 2% auto;
        min-height: 200px;
    }
    .sidebar {
        width: 49%;
        padding: 0.5%;
    }
    .nahlad {
        width: auto;
    }
    .inPDF {
        text-align: left;
    }
    .sidebar.sidebar_left {
        position: relative;
    }
    #header .nazov {
        font-size: 18px;
    }
    #header .nazov .nadpis {
        font-size: 35px;
    }
    #header .logo {
        width: 180px;
        line-height: 200px;
    }
    #header .lang {
        bottom: 10px;
        top: 10px;
    }
    #pattern { /* menu */
        display: block;
        right: 0;
        bottom: auto;
        float: right;
        position: absolute;
        top: 170px;
        z-index: 99999;
    }
    #footer {
        line-height: 145%;
    }
    #footer .floatRight {
        float: none;
    }
}
@media screen and (max-width: 700px) {
    #pattern {
        top: 95px;
    }
	#content {
		float: none;
	}
    #header {
        min-height: 130px;
    }
    #header .nazov {
        font-size: 13px;
        margin-top: 20px;
    }
    #header .nazov .nadpis {
        font-size: 30px;
    }
    #header .logo {
        width: 140px;
        line-height: 90px;
    }
    #header .logo img {
        max-width: 90%;
    }
}
@media screen and (max-width: 600px) {
    #pattern {
        top: 80px;
        width: 100%;
    }
	#header {
		height: auto;
	}
    #header .nazov {
        font-size: 11px;
        margin-top: 10px;
    }
    #header .nazov .nadpis {
        font-size: 27px;
    }
    #header .logo {
        width: 100px;
        line-height: 70px;
    }
    .sidebar {
        clear: both;
        width: auto;
        float: none;
        width: 100%;
        margin: 10px 0;
        padding: 10px 0;
    }
    #pagewrap #bg {
        padding: 10px;
    }
}
@media screen and (max-width: 550px) {
    a.menu-link {
        padding: 10px;
    }
    #pattern {
        top: 90px;
    }
    #header .nazov {
        font-size: 10px;
        margin-top: 10px;
        padding-left: 10px;
    }
    #header .lang img {
        width: 24px;
    }
    #header .nazov .nadpis {
        font-size: 22px;
    }
    #header .logo {
        width: 80px;
        line-height: 100px;
    }
    #header .logo img {
        max-width: 100%;
    }
}
@media screen and (max-width: 450px) {
    #header .nazov {
        font-size: 10px;
        margin-top: 13px;
    }
    #header .lang img {
        width: 24px;
    }
    #header .nazov .nadpis {
        font-size: 19px;
        margin-bottom: 5px;
    }
    #header .logo {
        width: 60px;
        line-height: 100px;
    }
}
@media screen and (max-width: 400px) {
    #header .nazov .nadpis {
        font-size: 17px;
    }
}