/* global */
html{height: 100%;}

body
{ font-family: Tahoma, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: medium;
}

p
{ margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
}

h1
{ 
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  font-size: 1.75em;
  font-weight: bold;
  /* letter-spacing: .1em; */
  background: transparent;
  color: #3F8237;
}

h2
{ margin: 1em 0px 0px 0px;
  padding: 0px;
  font-size: 1.3em;
  letter-spacing: .1em;
}

img{border: 0px;}

a {outline: none;}

/* image positioning - left, right and center */
.left
{ float: left; 
  padding: 0px 8px 0px 0px;
}

.right
{ float: right; 
  padding: 0px 0px 0px 8px;
}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}

/* block quote */
blockquote
{ margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border-left: 8px solid;
  border-color: #3F8237;
}

/* unordered list */
ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}

ul li
{ list-style-type: square;
  margin: 0px 0px 0.2em 0px; 
  padding: 0px;
}

/* ordered list */
ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;
}

ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* widths */
#main, #links_container, #menu, #content, #footer
{ width: 100%; 
  margin-left: auto; 
  margin-right: auto;
}

/* 2022-06-17: Vytvori okraje a eliminuje vodorovný slider */
#main {
  width: 95%;
  margin: 2em auto 2em auto;
}

/* links / footer */
#links_container
{ 
  float: left;
  width: 100%;
  border-top: 1px solid; 
  border-bottom: 1px solid;
  background: #3F8237;
  color: #FFF;
  border-top-color: #E2E2E2;
  border-bottom-color: #6C6C6C;
  height: auto;
  /* padding: 0em 1em;  -- 2022-06-17: nelze pouzit, zpusobi preteceni bloku doprava */
  padding: 0; /* 2022-06-17 */
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
  margin-bottom: 2px;
}

#footer
{ /* height: 80px; */  
  /* padding: 1em;   -- 2022-06-17: nelze pouzit, zpusobi preteceni bloku doprava */
  padding: 1em 0 1em 0; /* 2022-06-17 */
  font-size: normal;
  /* text-transform: uppercase; */
}

/* #links */
/* { text-align: right; */
/*   padding: 10px 10px 0px 0px; */
/* } */

#footer a:hover/* , #logo, #logo h1 */
{ background: transparent;
  color: #F4C6C8;
}


#logo h2, #column2, .sidebaritem, #column2 a
{ background: transparent;
  color: #555;
}

#footer
{ 
  width: 100%;
  text-align: center; 
  border-top: 2px solid;
  font-size: small;
  background: #3F8237;
  color: #FFF;
  border-color: #545454;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

#footer a, #footer a:hover
{
text-decoration: none;
}

/* logo */
#logo
{ 
  width: 100%;
  padding: 1em;
  float: left;
}

#logo h1
{ margin: 0px;
  padding: 5px 0px 0px 0px;
  font-size: 3.8em;
  font-weight: normal;
  /* letter-spacing: .2em; */
  text-transform: uppercase;
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  color: #FFFFFF;
}

#logo h2
{ font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  margin: 0px;
  padding: 5px 0px 0px 0px;
  font-size: 1.2em;
  /* letter-spacing: .2em; */
  color: #FFFFFF;
}

/* navigation menu */
#menu
{ float: left;
  position: relative;
  height: auto; 
  width: 100%;
  border-bottom: 1px solid;
  border-color: #000;
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
  background: #CC393D;
}

#menu ul{
margin: 1px 0px 1px 0px;
color: #FFF;
width: 100%;
} 

#menu li
{ float: left; 
  margin: 1.5px 0px 1.5px 0px; 
  padding: 0px;
  list-style: none;
} 

#menu li a 
{ display: block; 
  float: left; 
  height: auto;
  text-decoration: none; 
  padding: 0.4em 1.2em;
  text-transform: uppercase;
  font-size: medium;
  font-weight: bold;
  border-right: 1px solid;
  background: #CC393D;
  color: #fff;
  border-color: #fff;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
} 

#menu li a:hover
{ 
background-color: #F4C6C8;
color: #CC393D;
box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

#footer a
{ background: transparent;
  color: #fff;
} 

/* main content */
#content
{ height: auto;
  padding: 0px;
  overflow: hidden;
  margin: 0px;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

/* column 1 - contains sidebar */
#column1
{ float: right;
  width: 20%;
  padding: 1em 1.5em 2em 1.5em;
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
  background-color: #FFF;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

.sidebaritem
{ text-align: left;
  float: left;
  margin: 1em 0px;
  width: 100%;
}

.sidebaritem h1
{ 
  background: #3F8237;
  color: #fff;
  padding: 0.25em 0.5em; 
  margin: 0px; 
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

.sidebaritem p
{ 
  padding: 0px 1em 1em 0px;
}

.sbilinks{
padding: 0px 0px 0px 0px;
}

.sbilinks ul
{
margin: 0px; 
padding: 0px;
list-style: none;
} 

.sbilinks li 
{ 
margin: 0px; 
list-style: none; 
} 

.sbilinks li a
{ 
display: block; 
margin: 2px 0px;
padding: 0.4em 1em; 
text-decoration: none; 
border: 1px;
background: #CC393D;
color: #fff;
border-color: #fff;
font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
font-size: 1.2em;
font-weight: bold;
box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
} 

.sidebaritem a:hover
{ 
background-color: #F4C6C8;
color: #CC393D;
box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2);
}

/* .sbilinks li a, .sidebaritem a */
/* { background: transparent url(arrow.png) no-repeat left center; */
  
/* }  */

/* .sbilinks li a:hover, .sidebaritem a:hover */
/* { background: transparent url(green_arrow.png) no-repeat left center; */
/*   color: #555; */
/* }  */

/* column 2 - page content */
#column2
{ 
  padding: 2em;
  margin: 0px 23% 0px 0px;
}

#column2 h1
{ 
  margin: 1em 0px .5em 0px; 
  text-transform: uppercase;
  padding-bottom: .2em;
  border-bottom: 2px solid #3F8237;
}

#column2 a, #column2 a:hover
{ padding: 0px 0px 2px 0px;
  text-decoration: none;
}

#column2 a
{
  color: #3F8237;
}

#column2 a:hover
{
  color: #CC393D;
}

#column2 p
{
  margin: 0em 1em 1em 0em;
  padding: 0px;
  text-align: justify;
}

/* Přiřazení ikony k typu souboru */
#column2 a[href^="http://"] {
    background: url(images/external.png) center right no-repeat;
    padding-right: 13px;
}

#column2 a[href^="mailto:"] {
    background: url(images/email.png) center right no-repeat;
    padding-right: 20px;
}

a[href $='.pdf'] { 
   padding-right: 20px;
   background: transparent url(images/pdf.png) no-repeat center right;
}

a[href $='.doc'] { 
   padding-right: 20px;
   background: transparent url(images/doc.png) no-repeat center right;
}

a[href $='.docx'] { 
   padding-right: 20px;
   background: transparent url(images/doc.png) no-repeat center right;
}

a[href $='.xls'] { 
   padding-right: 20px;
   background: transparent url(images/xls.png) no-repeat center right;
}

a[href $='.ppt'] { 
   padding-right: 20px;
   background: transparent url(images/ppt.png) no-repeat center right;
}

a[href $='.pps'] { 
   padding-right: 20px;
   background: transparent url(images/ppt.png) no-repeat center right;
}

a[href $='.zip'] { 
   padding-right: 20px;
   background: transparent url(images/zip.png) no-repeat center right;
}

a[href $='.mp3'] { 
   padding-right: 20px;
   background: transparent url(images/mp3.png) no-repeat center right;
}

a[href $='.jpg'] { 
   padding-right: 20px;
   background: transparent url(images/jpg.png) no-repeat center right;
}

a[href $='.wmv'] { 
   padding-right: 20px;
   background: transparent url(images/video.png) no-repeat center right;
}

a[href $='.mpg'] { 
   padding-right: 20px;
   background: transparent url(images/video.png) no-repeat center right;
}

a[href $='.mpeg'] { 
   padding-right: 20px;
   background: transparent url(images/images/video.png) no-repeat center right;
}
