/* Browser: yahoo 3.0 (Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)) */


/* elementy */
html {
  font: 93.75%/1.6 "Times New Roman", Goergia, serif;
  color: #09123c;
  background: #f2f2f2;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  padding: 117px 0 0;
  margin: 0;
  text-align: center;
}


h1 {
  width: 890px; height: 53px;
  padding: 35px 30px;
  margin: 0;
  overflow: hidden;
  position: relative;
  font: 250%/1.2 "Times New Roman", Georgia, serif;
  background: white url("../../ariadne/file_generators/dbfile.php?_fileId=109&_fileName=logo.jpg&_forceDownload=true&_site=magnusregio_web") 0 0 no-repeat;
}
h1 span {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 950px; height: 123px;
  background: url("../../ariadne/file_generators/dbfile.php?_fileId=109&_fileName=logo.jpg&_forceDownload=true&_site=magnusregio_web") 0 0 no-repeat;
  cursor: pointer;
}

#content h1 {
  position: static;
  width: auto; height: auto;
}
#content h1, h2, h3, h4, h5, h6 {
  margin: .2em 0;
  font: normal bold 166.67%/1.4 Arial, Tahoma, sans-serif;
}
h3 { font-size: 106.67%; }
h4 { font-size: 93.33%; }
h5, h6 { font-size: 86.67%; }

ul, ol, p, .p, address, fieldset, .gallery, .fileList, .MessageQueue { margin: 0 0 1em; }

.MessageQueue * { vertical-align: middle; border: 0; }

ul, ol { padding-left: 0; }
ul { list-style-type: disc; }
ul ul { list-style-type: circle; }
ol { list-style-type: decimal; }
ol ol { list-style-type: lower-alpha; }
ul ul, ol ol, ul ol, ol ul { margin: 0; }
li { margin-left: 25px; }

address { font-style: normal; }
address span, span.width {
  display: block;
  width: 6em;
  float: left;
}

hr {
  height: 1px;
  color: #101f69;
  background-color: #101f69;
  border: 0px solid #101f69;
  margin: -.5em 0 0;

  margin: -.25em 0 .66em;

}
.box hr {
  color: #9ca0af;
  background-color: #9ca0af;
  border-color: #9ca0af;
}

sub, sup {
  vertical-align: baseline;
  position: relative;
}
sub { top:    0.4em; }
sup { bottom: 0.4em; }

img { border: 0; vertical-align: middle; }
#content img, .figure, .box img { margin: .25em 10px; }
#file img, #content .fileList img { border: none; margin: 0; }

/* tabulky */
table {
  margin: 1em 0;
  border-collapse: collapse;
  font: 86.67%/1.6 Arial, Tahoma, sans-serif;
}
td, th { padding: 2px 5px; }
th {
  background: #101f69;
  color: white;
  font-size: 107.69%;
  font-weight: bold;
  text-align: left;
}
td { background: #d3dbed; }
tr td, tr th { border: 1px solid white; }
table#file {
  width: 100%;
  border-bottom: 1px solid #101f69;
  margin-top: 35px;
}
#file td, #file th {
  border: none;
  vertical-align: top;
}
#file .img { width: 220px; }
#file .ico { width: 84px; }

.no-border, .no-border * { border: none !important; }

/* formuláře */
form { margin: 0; }
fieldset {
  padding: 0;
  border: 0;
}
fieldset, .checkbox { line-height: 28px; }
fieldset p, filedset table, fieldset hr { margin: 0 0 1em; }

legend {
  padding: 0 5px;
  font-weight: bold;
  color: black;
}

/**
 * Vertikální centrování textu v input.text, select
 *   FF      padding, height musí být rovno font-size*1,25, dorovnat paddingem
 *           na požadovanou výšku
 *   IE      line-height nastavit stejně jako height
 *   Opera   jestli nesedí, hodit si tak akorát mašli :)
 */
input, select, textarea {
  font: 12px/1.25 Verdana, Tahoma, Arial, sans-serif;
  vertical-align: middle;
}

input.text, textarea, select {
  margin: 2px 0;
  padding: 4px 3px 3px;
  width: 300px; height: 15px;
  border: 1px solid #101f69;
  background: white;
}
select {
  padding: 3px 0; /* vycentruje obsah ve ff */
  width: 304px; height: 24px; /* border/padding se do rozměrů nepočítá */
}
textarea { height: 150px; }

/**
 * Vertikální centrování textu v input.button
 *   vše       do výšky se nepočítá padding, ani border (stejně u selectu)
 *   FF+Opera  vyrovnat text (+-1px vzájemně) pomocí padding
 *   IE        dorovnat pomocí line-height (ovlivní vše, ale IE nejvíc)
 */
input.button {
  width: 0; /* pouze pro IE */
  overflow: visible;
  height: 24px;
  padding: 0 .5em;
 
  cursor: pointer;

  width: auto;

  border: 0;
  background: #132683 url("../../ariadne/file_generators/dbfile.php?_fileId=121&_fileName=gradient-light-blue.png&_forceDownload=true&_site=magnusregio_web") 0 0 repeat-x;
  color: white;
  line-height: 24px;
}
input.button:hover { background-position: 0 -100px; }
.buttons {
  text-align: center;
  margin: 1em 0;
}

label {
  display: block;
  float: left;
  clear: left;
  width: 170px;
  overflow: hidden;
  margin: 0 10px 0 0;
  text-align: right;
  vertical-align: middle;
}


div.safety-code {
  padding-top: .5em;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 35px;
}
div.safety-code img {
  margin: 0 !important;
  vertical-align: middle;
}
div.safety-code input {
  width: 201px;
  vertical-align: middle;
}

.infohelp {
  margin-left: 180px;
  text-indent: 0;
  font-style: italic;
}


#searchBox { margin-top: 1em; }
#searchBox input.text {
  width: 300px;
  margin: 0;
  vertical-align: bottom;
}
#searchBox input.button {
  margin: 0;
  vertical-align: bottom;
}

#rightSearch, #newsletterReg { margin: 0 0 1em; }
#rightSearch label, #newsletterReg label {
  width: 100%;
  margin: .2em 0;
  text-align: left;
  font: normal bold 106.67%/1.4 Arial, Tahoma, sans-serif;
  color: #d81e2a;
}
#rightSearch fieldset, #newsletterReg fieldset {
  padding: 0;
  margin: 0 0 .5em;
}
#rightSearch input.text, #newsletterReg input.text, #loginLayout input.text {
  width: 175px;
  padding: 7px 5px;
  vertical-align: middle;
  border-color: #a4a1a5;
  background: white url("../../ariadne/file_generators/dbfile.php?_fileId=129&_fileName=back-rightsearch-input.png&_forceDownload=true&_site=magnusregio_web") 0 0 no-repeat;
}
#rightSearch input.searchfocus { color: black; }
#rightSearch input.button, #newsletterReg input.button {
  margin: 0;
  vertical-align: middle;
}


/* # id */
#page {
  position: relative;
  width: 950px;
  border: 1px solid white;
  background: #ededed url("../../ariadne/file_generators/dbfile.php?_fileId=105&_fileName=back-page.png&_forceDownload=true&_site=magnusregio_web") 0 0 repeat-y;
  margin: 0 auto;
  text-align: left;
}
#header {
  width: 100%;
  padding-top: 10px;
  background: url("../../ariadne/file_generators/dbfile.php?_fileId=101&_fileName=back-header.png&_forceDownload=true&_site=magnusregio_web") 0 0 no-repeat;
  position: relative;
}

#rightCol {
  width: 300px;
  overflow: hidden;
  margin: 0;
  padding-right: 15px;
  float: right;
}
#content {
  width: 635px;
  float: left;
}
#contentInner {
  padding: 0 15px;
  min-height: 550px;
  position: relative;
 
}

#footer {
  width: 940px;
  margin: 0 auto 30px;
  padding: 1em 0;
  border-bottom: 1px solid #eab2b6;
  font: 73.33%/1.6 Verdana, Tahoma, Arial, sans-serif;
}

#currentPage, #language { display: none;}

/* Horní menu */
#topmenuWrap {
  width: 904px;
  overflow: hidden;
  padding: 0 36px 0 10px;
  background: #101f69;
  position: relative;
}
#topmenuWrap .rss {
  position: absolute;
  top: 50%; left: 924px;
  margin-top: -8px;
}

#topmenu {
  float: right;
  margin: 0;
  overflow: hidden;
}
#topmenu li {
  float: left;
  list-style: none;
  margin: 0;
}
#topmenu li a, #menu li a {
  display: block;
  float: left;
  height: 1.6em;
  padding: 5px 10px;
  font: 73.33%/1.6 Verdana, Tahoma, Arial, sans-serif;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}
#topmenu li a:hover, #topmenu li a.active {
  background: #d3dbed;
  color: black;
}

/* Hlavní menu */
#menuWrap {
  font-size: 80%; width: 950px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1em;
}
#menu {
  overflow: hidden;
  width: 924px;
  padding: 0 8px 0 18px;
  margin: 0;
}
#menu li {
  float: left;
  list-style: none;
  margin: .333em 10px .25em 0;
}
#menu li a {
  height: 1.167em;
  line-height: 1.167em;
  padding: .333em 10px .5em;
  font-size: 100%;
  color: black;
  position: relative;
  z-index: 10;

}
#menu li a:hover {
  border-bottom: .4167em solid #101f69;
  padding-bottom: .083em;
}
#menu li a.active {
  background: #101f69 url("../../ariadne/file_generators/dbfile.php?_fileId=117&_fileName=gradient-blue.png&_forceDownload=true&_site=magnusregio_web") 0 100% repeat-x;
  color: white;
}
#menu li a.active:hover { border: none; padding-bottom: .5em; }

#menuWrap div.line {
  position: absolute;
  left: 0;
  width: 100%; height: 2.5em;
  background: #d3dbed url("../../ariadne/file_generators/dbfile.php?_fileId=113&_fileName=back-menu.png&_forceDownload=true&_site=magnusregio_web") 0 100% repeat-x;
}
#menuWrap div.l1 { top: 0; }
#menuWrap div.l2 { top: 2.583em; }
#menuWrap div.l3 { top: 5.167em; }
#menuWrap div.l4 { top: 7.75em; }
#menuWrap div.l5 { top: 10.333em; }
 

/* . class */
.cleaner {
  visibility: hidden;
  clear: both;
}
.clear { clear: both; }
.no-show {
  position: absolute;
  top: auto;
  left: -10000px;
}
.no-margin { margin: 0 !important; }
.no-indent { text-indent: 0; }

.leftF { float: left; }
.rightF { float: right !important; }
.paginator {
  width: 100%;
  overflow: hidden;
  text-align: right;
}

.wysiwyg-left .figure,   .wysiwyg-left img,  img.left  { margin-left:  0 !important; float: left; }
.wysiwyg-right  .figure, .wysiwyg-right img, img.right { margin-right: 0 !important; float: right; }

.center { text-align: center !important; text-indent: 0; }
.right  { text-align: right  !important; text-indent: 0; }

.news {
  position: relative;
  margin-top: 1em;
  padding-right: 6.5em;
}
.urgent { text-transform: uppercase; }
.signature {
  text-indent: 0;
  text-align: right;
  font-weight: bold;
}
.newsDate {
  position: absolute;
  top: 0;
  right: 0;
 
  width: 6em;
  overflow: hidden;
  text-align: right;
}

.newsCol h4 { font-size: 100%; }
.newsCol h4 span { font: 91.67%/1.6 Arial, Tahoma, sans-serif; }
.newsCol h4 a {
  font: bold 100%/1.6 Verdana, Tahoma, sans-serif;
  color: #09123c;
  text-decoration: none;
}
.newsCol h4 a:hover { text-decoration: underline; }

p.perex, div.perex {
  overflow: auto;
  font-size: 113.33%;
  margin-bottom: 1em;
}

form.poll p {
  color: #09123c;
  padding: 0 0 5px;
  white-space: normal;
  font-weight: bold;
}
form.poll fieldset { line-height: 1.6em; }
form.poll label {
  display: inline;
  width: auto;
  margin: 0;
  float: none;
}

table.pollResults {
  width: 100%;
  font: 116.67%/1.6 "Times New Roman", Goergia, serif;
}
table.pollResults td {
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
}
table.pollResults td.answer { width: 135px; padding-right: 5px; }
table.pollResults td.bar {
  width: 60px;
  padding: 3px 0;
}
table.pollResults td.bar div  { background: #c6c7c8; }
table.pollResults td.bar span { background: #d81e2a; }
table.pollResults td.votes { padding-left: 5px; text-align: right; }


.box {
  background: #d4dbee;
  padding: .5em 14px;
  margin: 0 0 1em;
  font: 80%/1.6 Arial, Tahoma, sans-serif;
}
.whiteBox { background: white; }
.box h3 {
  font-size: 116.67%;
  text-transform: uppercase;
  border-bottom: 1px solid #d5a2b3;
  margin: .2em -6px .5em;
  padding: 0 6px .3em;
}
.box h4 { font-size: 100%; }
.transparentBox {
  background: transparent;
}
.transparentBox h3 {
  border-bottom: 0;
  padding: .5em 14px .4em;
  margin-bottom: .66em;
  background: #c1c4d3;
}
.transparentBox .inner {
  margin: 0 5px 1em;
  border-top: 1px solid #838284;
  border-bottom: 1px solid #838284;
}
.transparentBox .inner p { margin: 0; }

.categoryTitle {
  position: relative;
  padding: 0 23px;
  margin: 1em 0;
  height: 24px;
  overflow: hidden;
  font: bold 80%/24px Verdana, Tahoma, sans-serif;
  color: white;
  background: #0c174f url("../../ariadne/file_generators/dbfile.php?_fileId=133&_fileName=back-articlecategory-title.png&_forceDownload=true&_site=magnusregio_web") 0 0 no-repeat;
}

.categoryTitle a {
  color: white;
  text-decoration: none;
}

.categoryTitle a:hover {
  color: white;
  text-decoration: none;
}

.categoryTitle a:visited {
  color: white;
  text-decoration: none;
}

.article {
  width: 100%; overflow: hidden;
  margin: 0 0 1em;
  border-bottom: 1px solid #e6aeb2;
}
.mainArticle { padding-bottom: .5em; border-bottom: 2px solid #101f69; }
.mainArticle p.last {
  width: 605px;
  margin: 0;
  overflow: auto;
}
.mainArticle .perex { padding-bottom: 0; }
.article h5, h4.articleInfo { font: 73.33%/1.6 Arial, Tahoma, sans-serif; }
.article h5 span, h4.articleInfo span { color: #d81e2a; }

.article h4.short {
  padding-left: 25px;
  margin: .5em 0 .4em;
  background: url("../../ariadne/file_generators/dbfile.php?_fileId=153&_fileName=back-article-short.gif&_forceDownload=true&_site=magnusregio_web") 4px 50% no-repeat;
  font-size: 80% !important; 
}

.sharing {
  text-align: center;
  margin: 1em 0 2em;
  padding: 1em 0;
  border-top: 1px solid #e6aeb2;
  border-bottom: 1px solid #e6aeb2;
}
.article h4 a, .article a.more { color: #09123c; text-decoration: none; }
.article h4 a:hover, .article a.more:hover { text-decoration: underline; } 
.article .more {
  font: bold 80%/1.6 Arial, Tahoma, sans-serif;
  text-decoration: none;
  padding-left: 10px;
  background: url("../../ariadne/file_generators/dbfile.php?_fileId=137&_fileName=back-more.gif&_forceDownload=true&_site=magnusregio_web") 0 55% no-repeat;
}
.article .postedAuthor { font: 73.33%/1.75 Arial, Tahoma, sans-serif; }

.narrowCategory {
  width: 295px;
  float: left;
}

.rss {
  position: absolute;
  top: 4px; right: 2px;
}
.rss img { margin: 0 !important; }

.gallery { overflow: auto; }
.figure .gallery { margin-bottom: 0; }
.gallery img { margin: 0 0 5px !important; }
.gallery div {
  float: left;
  width: 141px;     /* vedle sebe musí být sudý počet, jinak to floatuje blbě :) */
  overflow: hidden;
  padding: 1px;
  text-align: center;
}
.gallery div.wide { width: 200px; }

.figure {
  width: 202px;
  border: 1px solid black;
  text-align: center;
}
.figure img { float: none; margin: 0 !important; }
.figure p {
  font: 80%/1.6 Arial, Tahoma, sans-serif;
  padding: 5px;
  margin: 0;
  text-align: left;
}
.perex .figure p { font-size: 70.59%; }

.fileList {
  clear: both;
  padding: 1em 0 0;
  border-top: 1px solid #101f69;
}
.fileList div { clear: left; }

.href-pic {
  float: left;
  display: block;
  width: 40px;
  height: 2.8em;
  margin: 0 0 .5em 0;
 
  line-height: 2.8em;
  text-align: center;
  text-decoration: none !important ;
}
.href-pic img {
  vertical-align: middle;
  border: none;
}

.guestBook {
  overflow: auto;
  margin: 1.5em 0 0;
}
.guestBook .info {
  background: #d3dbed;
  padding: .2em 50px .2em 10px;
  margin: 0;
  position: relative;
}
.guestBook .info .sized { display: block; float: left; width: 33%; height: 1.5em; }
.guestBook .info .icons {
  position: absolute;
  right: 5px; top: 50%;
  height: 16px;
  margin-top: -8px;
  overflow: hidden;
}
.guestBook .info .icons img { margin: 0 2px !important; border: 0 !important;}
.guestBook .text {
  padding: .5em 10px;
  background: #e0e4ed;
  border-top: 1px solid white;
  border-bottom: 1px solid #e6aeb2;
}
.guestBook .text p { margin: 0; }
.guestBook .lastEdit small { font-style: italic; font-size: 80%; }

.banner {
  border: 1px solid #b2b2b2;
  background: white;
  position: absolute;
}
#b1 {
  top: -110px; left: 112px;
  width: 726px; height: 87px;
} 
#b2 {
  top: 0; left: 965px;
  width: 120px; height: 600px;
}
#b3 {
  top: 622px; left: 965px;
  width: 120px; height: 240px;
}
#b4, #b5 {
  position: static;
  width: 298px; height: 248px;
  margin: 0 0 1em;
}

/* odkazy */
a { color: #d81e2a; }
a:hover { color: #014b72; } /* overflow je nastaven pro IE, jinak by rámeček při hoveru nebyl kolem celého obrázku */

h1 a, #footer a {
  text-decoration: none;
  color: black;
}



