/*
 * Zakladni Styl webu Michala Brandejse
 * Autor: Jan Rezac - Filosof
 *
 */

@import url("initial.css");

a, a:link {
  color: #444;
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
  color: #666;
}

a:hover, a:focus, a:active {
  color: #0d6ecc;
}

/*========== [layout] ========================================================*/
body {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #444;
  line-height: 1.6;
  background: #fff;
  background: #fff url(../images/back.gif) 0 106px repeat-x;
}

table {
  line-height: 1.6;
}

body#home {
  background: #fff url(../images/mid.gif) 0 100px repeat-x;
}

div#main {
  width: 753px;
  margin: 0 auto;
  font-size: 0.77em;
  position: relative;
  text-align: left;
}

/*========== [header] ========================================================*/

div#header {
  height: 155px;
  overflow: auto;
  margin-bottom: 16px;
}

#home div#header {
  height: 356px;
}

div#logo, div#logo2, div#logo3, div#logo4 {
  position: absolute;
  left: -361px;
  top: 7px;
  width: 648px;
  text-align: right;
  height: 83px;
}

div#logo3 {
  width: 672px;
} 

div#logo span {background: #fff url(../images/michal-brandejs.gif) 0 0 no-repeat;}
div#logo2 span {background: #fff url(../images/komentare.gif) 0 0 no-repeat;}
div#logo3 span {background: #fff url(../images/materialy.gif) 0 0 no-repeat;}
div#logo4 span {background: #fff url(../images/projekty.gif) 0 0 no-repeat;}

div#header div.clr {
  padding-top: 123px;
  width: 502px;
}

div#header div.left {
  width: 251px;
}

div#header div.right {
  width: 230px;
}

ul li, dt, div.cont {
  padding-left: 21px;
  background: url(../images/dot.gif) 0 6px no-repeat;
}

div#header div.left ul li {
  padding-right: 20px;
}

div#header div.left ul li, 
div#header div.right p, 
div#header div.right h3, 
div.pub ul li {
  margin-bottom: 5px;
}

div#header div.right h3 {
  font-size: 1em;
  margin-bottom: 5px;
  color: #444;
}

div#header div.left ul li.l {
  font-weight: bold;
  padding-right: 0;
}

div#header i, div#footer i, div.date i, i.tube {
  margin: 0 5px 0 4px;
}

div#foto {
  width: 244px;
  height: 331px;
  position: absolute;
  top: 25px;
  right: -6px;
  background: url(../images/foto-back.gif) 0 0 no-repeat;
}

div#foto img {
  margin-left: 7px;
}

div#bread {
  position: absolute;
  top: 116px;
  left: 21px;
  font-weight: bold;
  color: #666;
}

div#bread a, div#bread a:link {
  margin-right: 7px;
  padding-right: 13px;
  font-weight: normal;
  color: #666;
  background: url(../images/dot2.gif) 100% 5px no-repeat;
}

div#bread a.a {
  font-weight: bold;
  margin-right: 0;
  padding: 0;
  background: transparent;
}

div#bread a:hover, div#bread a:focus, div#bread a:active {
  color: #0d6ecc;
}

div#bread span {
  display: none;
}

/*========== [text] ==========================================================*/
div#content {
  padding: 0 115px 0 21px;
}

ul, ol, p, dl, table, h2.imgr, pre, blockquote {
  margin-bottom: 10px;
}

h1 {
  color: #0a3967;
  font-size: 2em;
  margin-bottom: 8px;
  font-weight: bold;
  line-height: 1.3;
}

h2 {
  color: #58534e;
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 2px;
}

h3 {
  color: #58534e;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 4px;
}

h4 {
  color: #58534e;
  font-size: 1em;
  letter-spacing: 0.3px;
  font-weight: bold;
  text-transform: uppercase;
}

h5 {
  color: #58534e;
  font-size: 1em;
  font-weight: bold;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 5px 21px;
  padding: 0;
}

div.cv dt, ul.no li {
  padding: 0;
  background: transparent;
  color: #000;
}

div.cv dd {
  margin: 0 0 5px 0;
}

a.pdf {
  padding-left: 21px;
  background: url(../images/pdf.gif) 0 3px no-repeat;
}

a.download {
  padding-left: 21px;
  background: url(../images/dot4.gif) 0 3px no-repeat;
}

a.download:hover, a.download:active, a.download:focus {
  background-position: -1000px 3px;
}

div#main table {
  border: 1px solid #ecdcc6;
  width: 98%;
  margin-top: 5px;
}

th, td {
  padding: 4px 8px 5px;
  vertical-align: top;
  border: 1px solid #f6e7d0;
}

th {
  background: #f5eee8 url(../images/bth.gif) 0 0 repeat-x;
}

tr.s td {
  background: #faf4ec;
}

div#content ol li {
  margin-left: 17px;
  padding-left: 4px;
} 

div.pkn {
  margin-bottom: 18px;
}

div.pkn div, div.cvt {
  float: left;
  width: 231px;
  margin-right: 20px;
}

div.pkn h2, h2#cvt {
  margin-left: 21px;
}

h2#projekty {width: 76px;height: 19px;}
h2#projekty span {background: url(../images/n-projekty.gif) 0 0 no-repeat;}

h2#projekty a:hover span {
  background-position: 0 -20px;
}

h2#komentare {width: 100px;height: 16px;margin-bottom: 12px}
h2#komentare span {background: url(../images/n-komentare.gif) 0 0 no-repeat;}

h2#komentare a:hover span {
  background-position: 0 -17px;
}

h2#napsali {width: 125px;height: 19px;}
h2#napsali span {background: url(../images/n-napsali.gif) 0 0 no-repeat;}

h2#vyuka {width: 55px;height: 19px;}
h2#vyuka span {background: url(../images/n-vyuka.gif) 0 0 no-repeat;}

h2#materialy {width: 176px;height: 19px;}
h2#materialy span {background: url(../images/n-materialy.gif) 0 0 no-repeat;}

h2#cvt {width: 173px;height: 45px;}
h2#cvt span {background: url(../images/n-cvt.gif) 0 0 no-repeat;}

h2#publikace {width: 89px;height: 16px;margin-bottom: 12px}
h2#publikace span {background: url(../images/n-publikace.gif) 0 0 no-repeat;}

a.out, b.out, div.pub a, div.cv ul li a {
  padding-right: 8px;
  background: url(../images/out.gif) 100% 2px no-repeat;
}

div.imgWrap a.out {
  background: url(../images/out2.gif) 100% 2px no-repeat;
}

a.out:hover, a:hover b.out, div.pub a:hover, div.cv ul li a:hover,
a.out:active, a:active b.out, div.pub a:active, div.cv ul li a:active,
a.out:focus, a:focus b.out, div.pub a:focus, div.cv ul li a:focus,
div.imgWrap a.out:hover, div.imgWrap a.out:focus, div.imgWrap a.out:active {
  background-position: 100% -998px;
}

div.vm {
  background: url(../images/m2.gif) 0 0 repeat-y;
  margin-bottom: 26px;
}

div.vm2 {background: url(../images/m1.gif) 0 0 no-repeat;}
div.vm3 {background: url(../images/m3.gif) 0 100% no-repeat;}

div.vm4 {
  background: url(../images/vyuka.jpg) 251px 0 no-repeat;
  padding: 21px;
}

div.vm4 ul li, div.pub ul li {
  padding-left: 0;
  background: transparent;
}

div.vyuka {
  width: 210px;
  float: left;
}

div.mat {
  width: 334px;
  float: right;
}

div.vm4 a {
  text-decoration: none;
  display: block;
  padding-left: 50px;
  position: relative;
}

div.vm4 a span {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
}

div.vm4 a b {
  font-weight: normal;
  text-decoration: underline;
}

a.fade, a.fade:link, a.fade:visited {
  color: #777;
}

a.fade:hover, a.fade:active, a.fade:focus {
  color: #0d6ecc;
}

div.col2 {
  background: url(../images/div.gif) 252px 0 repeat-y;
  margin-bottom: 26px;
}

div.pub {
  width: 481px;
  float: right;
}

div.pub a, div.cv ul li a {
  margin-right: 4px;
}

div.cvt {
  padding-bottom: 150px;
}

div#d1 {
  width: 166px;
  height: 190px;
  position: absolute;
  bottom: -53px;
  left: 0;
  background: url(../images/footer.jpg) 0 0 no-repeat;
}

div#d2 {
  width: 179px;
  height: 154px;
  position: absolute;
  bottom: -114px;
  left: -5px;
  background: url(../images/fi.gif) 0 0 no-repeat;
}

p.error {
  background: #b20606;
  border: 1px solid #840707;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px 6px;
}

div.komentar {
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ecdcc6;
  position: relative;
}

div.komentar h2 a, div.komentar h2 a:link, div.komentar h2 a:visited {
  color: #0d6ecc;
  padding-left: 36px;
  position: relative;
  left: -36px;
  display: block;
  line-height: 1.4;
  padding-bottom: 2px;
  background: url(../images/dot3.gif) 0 3px no-repeat;
}

div.komentar h2 a:hover, div.komentar h2 a:active, div.komentar h2 a:focus {
  color: #062645;
  background-position: -1000px 3px;
}

div.komentar p {
  margin-bottom: 5px;
}

div.date {
  padding-top: 14px;
  border-top: 1px solid #ecdcc6;
  margin: 14px 0 10px;
  font-weight: bold;
}

div.date2 {
  font-weight: normal;
}

div.komentar div.date {
  position: absolute;
  bottom: 10px;
  z-index: 100;
  right: 0;
  padding: 0;
  margin: 0;
  border: 0 none;
}

div.komentar div.cont {
  position: relative;
  left: -21px;
}

blockquote {
  font-size: 1.2em;
  padding: 0 0 0 20px;
  margin: 5px 0 15px;
  border-left: 1px solid #0d6ecc;
}

div.img {
  float: right;
  margin: 4px 0 10px 10px;
  border: 1px solid #ccc;
  padding: 1px;
}

div.imgWrap {
  float: right;
  margin: 4px 0 10px 10px;
  text-align: right;
  font-size: 0.89em;
  color: #777;
}

div.imgWrap div.img {
  float: none;
  margin: 0 0 4px 0;
}

div.imgWrap span {
  margin-right: 2px;
}

div.imgWrap a, div.imgWrap a:link, div.imgWrap a:visited {
  color: #777;
}

div.imgWrap a:hover, div.imgWrap a:active, div.imgWrap a:focus {
  color: #0d6ecc;
}

div.exc {
  border-top: 1px solid #ecdcc6;
  border-bottom: 1px solid #ecdcc6;
  padding: 14px 0 10px;
  margin: 14px 0;
}

div.exc p {
  font-style: italic;
}

div.photos, div.photos2 {
  width: 600px;
  overflow: hidden;
  margin-bottom: 10px;
}

div.photos div {
  width: 130px;
  float: left;
  margin: 0 10px 10px 0;
}

div.photos2 div {
  width: 164px;
  float: left;
  margin: 0 10px 0 0;
}

div.photos2 a {
  display: block;
  background: #e2edf8;
  border: 1px solid #c7d7e6;
  padding: 6px;
  height: 150px;
  text-align: center;
}

div.photos2 a img {
  display: inline;
  overflow: hidden;
}

h3.rok {
  color: #fff;
  background: #0a3054 url(../images/rok.gif);
  width: 518px;
  height: 38px;
  letter-spacing: 1px;
  line-height: 1.0;
  margin: 24px 0 12px;
}

h3.rok span {
  display: block;
  padding: 9px 0 0 32px;
}

/*========== [foot] ==========================================================*/
div#footer {
  color: #fff;
  background: #002343 url(../images/footer.gif) 0 0 repeat-x;
  font-size: 0.77em;
  margin-top: 30px;
}

div#footer a, div#footer a:link, div#footer a:visited {
  color: #fff;
}

div#footer a:hover, div#footer a:active, div#footer a:focus {
  color: #002343;
  background: #fff;
  text-decoration: none;
}

#home div#footer {
  margin-top: 0;
}

div#footer div {
  width: 753px;
  margin: 0 auto;
  text-align: left;
}

div#footer p {
  padding: 21px 0 28px 21px;
  margin: 0;
}

#home div#footer p {
  padding: 21px 0 58px 272px;
}