div#obsah {
  float: left;
  width: 100%;
  /* background: transparent url('/pics/design/th/b/obsah.png') 0 0 repeat-x; */
}
  * html div#obsah { width: auto; } /* posun menu */
div#aplikace {
  margin-left: 137px; /* 122+15 */
  padding: 0.8em 0;
  padding-left: 7px;
  padding-right: 5px;
  background-color: #edebe3;
  /* background: #fff url('/pics/design/th/b/aplikace.png') 100% 40px no-repeat; */
}
  * html div#aplikace { width: 100%; }
div#menu {
  float: left;
  width: 137px; /* 122+15 */
  margin-left: -100%;
  padding: 0.8em 0;
  padding-top: 1.2em; /* X */
}

/* min-width */
#o2 { position: relative; width: 100%; min-width: 905px; }
#obalka { display: block; }
* html #o2 { border-right: 905px solid #edebe3; }
* html #obalka { float: left; position: relative; margin-right: -905px; }

/* vzhled */
html, body {
  color: #000;
  background-color: #00145d;
  margin: 0; padding: 0;
  font-family: Arial, sans-serif;
  font-size: 90%;
}

#obalka {
  border: 5px solid #00145d;
  border-bottom-width: 0;
  background: #edebe3 url('/pics/design/re/b/obalka.png') 0 0 repeat-y;
  /* centrovani */
}

.pristupnost {
  position: absolute;
  left: -100em;
  top: -100em;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#oblibene {
  background-color: #00145d;
  font-size: 85%;
  height: 1.95em;
  /*min-height: 16px;*/
  overflow: hidden;
}
#oblibene ul { margin: 0; }
#oblibene ul li {
  display: inline;
  padding-left: 5px;
  background-image: none;
  line-height: 1.4em; /**/
}

* html #oblibene { height: 1.7em; }
* html #oblibene ul li {
  display: block;
  float: left;
}

#oblibene ul li img { vertical-align: middle; /*background-color: #fff;*/ }
#oblibene a {
  color: #ccc;
  text-decoration: none;
  border-bottom: 1px solid #669;
}
  #oblibene a:hover { color: #e5d8ae; border-color: #e5d8ae; }

#hlavicka {
  height: 10.5em;
  background: #00145d url('/pics/design/re/b/hlavicka.png') 0 0 repeat-x;
  min-height: 140px;
}
  * html #hlavicka { height: 10.8em; }
  
  #hlavicka #logo {
    position: absolute;
    /*background: transparent url('/pics/design/th/b/hl-th.png') 0 0 no-repeat;*/
    width: 625px;
    height: 10em;
  }
 
  #hlavicka #logo img {
    position: relative;
    top: 16px;
    left: 28px;
    border: none;
    z-index: 5;
  }

  #hlavicka #nadpis-drobecky { position: relative; }

  #hlavicka h1, #hlavicka h2 {
    position: absolute;
    left: 143px;
    margin: 0;
    color: #fff;
    font-weight: normal;
  }
  #hlavicka h1 {
    top: 60px;
    font-size: 20px;
    line-height: 1.1em;
    padding-right: 260px;
  }
    * html #hlavicka h1 { top: 60px; left: 143px; /* 5px border */ }
  
  #hlavicka h2 {
    top: 30px;
    width: 242px;
    height: 20px; /* ? */
    font-size: 14px;
    overflow: hidden;
    color: #fffaa7;
  }
    #hlavicka h2 a { color: #EDEBE3; text-decoration: none; }
    * html #hlavicka h2 { /*top: 30px;*/ left: 143px; /* 5px border */ }
    
    /* #hlavicka h2 span {
      display: block;
      width: 242px;
      height: 21px;
      position: absolute; left: 0; top: 0; z-index: 1;
      background: transparent url('/pics/design/th/b/nadpis/h2-th.png') 0 0 no-repeat;
    }
    .en #hlavicka h2 { width: 230px; }*/
    /*.en #hlavicka h2 span { background-image: url('/pics/design/th/b/nadpis/h2-th-en.png'); } TODO */

    /*.sk #hlavicka h2 { width: 230px; }
    .sk #hlavicka h2 span { background-image: url('/pics/design/th/b/nadpis/h2--sk.png'); }*/
    
    /*.ep #hlavicka h2 { width: 90px; }
    .ep #hlavicka h2 span { background-image: url('/pics/design/th/b/nadpis/h2-e-prihlaska.png'); }
    .en .ep #hlavicka h2 { width: 160px; }
    .en .ep #hlavicka h2 span { background-image: url('/pics/design/th/b/nadpis/h2-e-prihlaska-en.png'); }*/
    /*.sk .ep #hlavicka h2 { width: 100px; }
    .sk .ep #hlavicka h2 span { background-image: url('/pics/design/th/b/nadpis/h2-e-prihlaska-sk.png'); }*/
  
  #hlavicka .drobecky {
    color: #fff;
    position: absolute;
    left: 138px;
    top: 9.5em; /*110px*/
    padding-right: 255px;
  }
    #hlavicka .drobecky a { color: #e5d8ae; }
    #hlavicka .drobecky a:hover { color: #dbf8f6; }

  #identita {
    position: relative; /*JS menu*/
    float: right;
    font-size: 0.9em;
    color: #fff;
    width: 253px;
    line-height: 1.7em;
    padding-right: 5px;
    z-index: 100;
  }
  * html #identita { width: 258px; }
    #id-obdobi, #id-fakulta, #id-studium {
      margin-top: 0px;
      padding: 3px 0;
      margin-left: 37px;
    }
    #id-obdobi b, #id-fakulta b, #id-studium span {
      cursor: pointer;
    }
    #identita img {
      border: none;
      float: left;
      margin: 0.2em 0 0 7px;
      cursor: pointer;
    }
	  #identita img.vsechna_studia { cursor: auto; }

    /*.ep #ikona { background: transparent url('/pics/design/th/b/ico/id-e-prihlaska.png') 0 0 no-repeat; }*/
    /*.oc #identita #ikona { height: 0; }*/

  #identita a { color: #e5d8ae; }
  #identita a:hover { color: #dbf8f6; }

    #id-jazyk {
      text-align: center;
      width: 175px;
      color: #fff;
      background: #2F5F5F url('/pics/design/re/b/jazyk.png') top right no-repeat;
      margin-left: 36px;
    }
    * html #id-jazyk { float: none; }
    #id-jazyk p {
      margin: 0;
      height: 25px;
      background: transparent url('/pics/design/re/b/jazyk-p.png') top left no-repeat;
    }
    #id-jazyk a { color: #b7d6ff; }
    
    #id-odhlaseni {
      width: 28px; height: 25px;
      background: transparent  url('/pics/design/re/b/odhlaseni.png') 0 0 no-repeat;;
      float: right;
      margin-top: -25px; /* jazyk */
      text-align: center;
    }
      #id-odhlaseni a {
        display: block;
        margin-top: 3px;
      }
      #id-odhlaseni img { margin: 0; float: none; }
    
    #id-uzivatel {
      clear: right;
      border-bottom: 1px solid #768eaf;
      padding: 6px 0px 4px 0px;
      margin-left: 37px;
      line-height: 1.4em;
    }

/*#meta {
  float: right;
  margin-left: 0.5em;
  margin-bottom: 0.5em;
}
  #meta img {
    border: none;
    margin-bottom: 0px;
    cursor: pointer;
  }
  * html #meta img { margin-bottom: 4px; }*/

#menu {
  color: #666;
  background: transparent url('/pics/design/re/b/rozek.png') 0 0 no-repeat;
  text-align: right;
  font-weight: bold;
  position: relative;
}
  #menu .obsah {
    padding-bottom: 30px;
    /* background: transparent url('/pics/design/th/b/menu-kytka.png') 50% 100% no-repeat; */
  }

  #menu a { text-decoration: none; }
  #menu p {
    margin: 0 5px;
    padding-right: 7px;
  }
  #menu ul {
    margin: 0 8px 10px 13px;
    padding: 0 4px 10px 3px;
    border-bottom: 1px solid #fff;
  }
  #menu ul li {
    background: none;
    padding-left: 0;
	padding-bottom: 2px;
  }

#menu #inforum {
  margin-right: 6px;
  padding-top: 1em;
  padding-bottom: 70px;
  font-size: 90%;
}
  #menu #inforum img { float: right; margin-top: 1em; border: none; }

hr {
  clear: both;
  height: 2px;
  border: none;
  background: #B4CFCF url('/pics/design/th/b/hr.png') 0 0 repeat-x;
}
 
#paticka {
  clear: both;
  width: 100%;
  background: #ebf9f7 url('/pics/design/re/b/paticka.png') 0 0 repeat-x;
}
  #paticka h3 {
    margin: 0;
    font-size: 1.1em;
  }
  #paticka ul { margin: 0.3em 13px; }
  #paticka ul li { background-image: url('/pics/design/re/b/li.png'); }
   
  #paticka hr {
    clear: both;
    visibility: hidden;
  }

  #paticka-obsah {
    padding-left: 150px;
    padding-top: 12px;
    background: transparent url('/pics/design/re/b/paticka-obsah.png') 0 0 no-repeat;
  }
    * html #paticka-obsah { width: 100%; }

  #odkazy-rel {
    float: left;
    width: 48%;
  }
  #odkazy-rel h3 {
    position: relative;
    width: 190px; height: 20px;
    overflow: hidden;
    color: #00145D;
  }
    #odkazy-rel h3 span {
      display: block;
      width: 190px; height: 20px;
      position: absolute; left: 0; top: 0; z-index: 1;
      background: transparent url('/pics/design/re/b/nadpis/paticka-odkazy.png') 0 0 no-repeat;
    }
    .en #odkazy-rel h3 span {
      background-image: url('/pics/design/re/b/nadpis/paticka-odkazy.png');
      background-position: 0 -20px;
    }
    /*.sk #odkazy-rel h3 span { background-image: url('/pics/design/th/b/nadpis/odkazy-rel-sk.png'); }*/
      
  #odkazy-vlastni {
    float: left;
    width: 48%;
  }
  #odkazy-vlastni li {
    margin-bottom: 2px;
    color: gray;
  }
  #odkazy-vlastni li img { vertical-align: middle; }
  #odkazy-vlastni p {
    font-size: 0.89em;
    margin-left: 26px;
  }
  * html #odkazy-vlastni p { font-size: 0.85em; }  

  #odkazy-vlastni h3 {
    position: relative;
    width: 190px; height: 20px;
    overflow: hidden;
    color: #00145D;
  }
    #odkazy-vlastni h3 span {
      display: block;
      width: 190px; height: 20px;
      position: absolute; left: 0; top: 0; z-index: 1;
      background: transparent url('/pics/design/re/b/nadpis/paticka-odkazy.png') 0 -40px no-repeat;
    }
    .en #odkazy-vlastni h3, .en #odkazy-vlastni h3 span { width: 220px; } 
    .en #odkazy-vlastni h3 span {
      background-image: url('/pics/design/re/b/nadpis/paticka-odkazy.png');
      background-position: 0 -60px; 
    }
    /*.sk #odkazy-vlastni h3 span { background-image: url('/pics/design/th/b/nadpis/oblibene-zalozky-sk.png'); }*/
    
    #odkazy-rel a, #odkazy-vlastni a { color: #222; /*e5e5e5;*/ }
    #odkazy-rel a:hover, #odkazy-vlastni a:hover { color: #555; }

  #paticka-odkazy {
    color: #999;
    background-color: #00145d;
    padding: 0.5em 1em;
    padding-bottom: 0.8em;
    margin-left: -150px;
    padding-left: 150px;
  }
    #paticka-odkazy a { color: #ccc; }
    #paticka-odkazy a:hover { color: #ECE2C1; }
    #paticka-odkazy a.okno { background-image: url('/pics/design/re/b/nove-okno-inv.png'); }

  a.nahoru {
    padding-left: 24px;
    margin-right: 0.3em;
    background: transparent url('/pics/design/th/b/ico/nahoru.png') 0 50% no-repeat;
    display: block;
    height: 20px;
    float: left;
  }
  * html a.nahoru { position: relative; top: 2px; }

p#kontakty {
  margin-left: 25px;
}

.drobecky {
  background: transparent url('/pics/design/th/b/bullet.png') 0 0.5em no-repeat;
  font-size: 0.89em;
  padding-left: 10px;
}
  * html .drobecky { font-size: 0.85em; }

/* odkazy */
a { color: #002776; }
  a:visited { color: #0D46AF; }
  a:active { color: #f00; }
  a:hover { color: #36c; }

#menu a { color: #303030; }
  #menu a:visited { color: #666;}
  #menu a:active { color: #f00; }
  #menu a:hover { color: #02165f; }

/* nadpisy */
h1, h2, h3, h4, h5 { color: #aa0634; }

/* seznamy */
ul {
  margin-left: 0;
  padding-left: 1em;
  list-style: none;
}
  ul li {
    padding-left: 10px;
    background: transparent url('/pics/design/re/b/li.png') 0 .5em no-repeat;
  }

dl {
  margin-top: .5em;
  margin-bottom: 1em;
}
  dt {
    padding-left: 13px;
    background: transparent url('/pics/design/th/b/li2.png') 0 0.4em no-repeat;
  }
  dd { margin-bottom: 0.4em; }

.ap-help {
  color: green;
  font-size: 0.9em;
  /*padding-left: 2em;*/
}

/* /auth/ */
dl.dl1 { margin-bottom: 1.2em; }
dl.dl2, dl.dl3, dl.dl4, dl.dl5, dl.dl6, dl.dl7 {
  margin: 1.2em 0;
  padding: 0.5em 0 0 0; 
  background-color: transparent;
  background-position: 10px 0;
  background-repeat: no-repeat;
}
dl.dl1 dt, dl.dl2 dt, dl.dl3 dt, dl.dl4 dt, dl.dl5 dt, dl.dl6 dt, dl.dl7 dt {
  font-size: 110%;
}

dl.dl2 { background-image: url('/pics/design/re/b/dt2-hr.png'); }
dl.dl3 { background-image: url('/pics/design/re/b/dt3-hr.png'); }
dl.dl4 { background-image: url('/pics/design/re/b/dt4-hr.png'); }
dl.dl5 { background-image: url('/pics/design/re/b/dt5-hr.png'); }
dl.dl6 { background-image: url('/pics/design/re/b/dt6-hr.png'); }
dl.dl7 { background-image: url('/pics/design/re/b/dt7-hr.png'); }

.dl2 dt, .dl3 dt, .dl4 dt, .dl5 dt, .dl6 dt, .dl7 dt {
  background: transparent url('/pics/design/re/b/dt2.png') 0 50% no-repeat;
}
.dl3 dt { background-image: url('/pics/design/re/b/dt3.png'); }
.dl4 dt { background-image: url('/pics/design/re/b/dt4.png'); }
.dl5 dt { background-image: url('/pics/design/re/b/dt5.png'); }
.dl6 dt { background-image: url('/pics/design/re/b/dt6.png'); }
.dl7 dt { background-image: url('/pics/design/re/b/dt7.png'); }

.dl2 dt a:hover { color: #F63313; }
.dl3 dt a:hover { color: #C36839; }
.dl4 dt a:hover { color: #6A863C; }
.dl5 dt a:hover { color: #63C640; }
.dl6 dt a:hover { color: #369993; }
.dl7 dt a:hover { color: #639; }

.dl1 dt a {
	text-decoration: none;
	border-bottom: 1px solid #F07800;
}
.dl2 dt a {
	text-decoration: none;
	border-bottom: 1px solid #F63313;
}
.dl3 dt a {
	text-decoration: none;
	border-bottom: 1px solid #C36839;
}
.dl4 dt a {
	text-decoration: none;
	border-bottom: 1px solid #6A863C;
}
.dl5 dt a {
	text-decoration: none;
	border-bottom: 1px solid #63C640;
}
.dl6 dt a {
	text-decoration: none;
	border-bottom: 1px solid #369993;
}
.dl7 dt a {
	text-decoration: none;
	border-bottom: 1px solid #663399;
}

.dl1 dt a:hover { color: #F5821F; }

/*******************************************************************/

/* ln */
#ln-list li li { background-image: url('/pics/design/re/b/li.png'); }
#ln-nav, #ln-side { background-color: #eee; }
  /* .recommended { color: #066; } .selected { background-color: #ddd; } */
#ln-side .tagCloud .tg2, #ln-side .tagCloud .tg3 { color: #36569b; }
#ln-side .tagCloud .tg4, #ln-side .tagCloud .tg5 { color: #607bb8; }
  /*#ln-side a:hover { color: #009FE2; }*/

/* prvky */

.inverzne { background-color: #dadada; }

table.data2 tr:hover { background-color: #fff8d2; }
