td,th { padding:0; text-align:left; }
th { font-weight:bold; font-style:normal; }

h1,h2,h3,h4,h5,h6 { margin:1em 0 0.3em 0; }
h1 {
  margin:0.5em 0;
  font-size:1.25em;
  font-weight:bold;
  color:#C31F04;
  padding-bottom:0.25em;
  border-bottom:1px solid #C7C7C7;
}

h2 { font-size:1.2em; }
h3 { font-size:1.15em; }
h4,h5,h6 { font-size:1em; }

h2.top_border, div.top_border, p.top_border, h3.top_border {
  border-top: 1px solid #bbbbbb;
  padding-top: 10px;
}

div.top_border {
  margin-top: 15px;
}

.bottom_border { padding-bottom:10px; border-bottom: 1px solid #bbbbbb; }

form { margin:0; padding:0; }
fieldset { border:none; margin:0; padding:0; }
input, select, textarea { font-family:"Arial CE", "Arial", sans-serif; font-size:1em; }
input.text, textarea.text { border:1px solid #888888; background:white; }
input.submit { border:1px solid #B3B3B3; background:#DBDBDB; color:black; cursor:pointer; }

p { margin:1em 0; line-height:130%; }
img { border:none; }

strong,em { font-weight:bold; font-style:normal; }
strong { font-size:1.1em; }

ul, ol { margin:0.5em 0.5em 1em 2.5em; padding:0; }
li { line-height:125%; margin-top:0.25em; margin-bottom:0.25em; }
ul {
  list-style-image:url('../img/layout/list_item_bcg.gif');
}

hr.thin {
  clear:both;
  margin:0.5em 0;
  padding:0;
  border:1px solid #bbbbbb;
  border-width:1px 0 0 0;
  height:0px;
  font-size:0px;
}

a { text-decoration:underline; color:#c31f04; }
a:visited { color:#777777; }
a:hover { color:#ff0000; }



div.box_rt_corner div.corner_rt {
  position:absolute;
  right:0px; top:0px;
  width:40px; height:27px;
  font-size:0px;
  background:white;
  opacity:0.6;
}

div.showbox { display:none; }
div.showbox p.showbox_close_bottom { text-align:right !important; margin:0; }
div.cleaner { clear:both; }

div.perex {
  font-weight:bold;
  font-size:1.1em;
  border-bottom:1px solid #EEEEEE;
}

img.left {
  float: left;
  margin-right: 10px;
  margin-bottom: 6px;
}

img.right {
  float: right;
  margin-left: 10px;
  margin-bottom: 6px;
}

table.fullwidth { width:100%; }
table.twothirdwidth { width:66%; }
table.halfwidth { width:51%; }
.table_foot_info {
 font-style: italic;
 font-size: 0.9em;
 margin-top: 2px;
 }

table.styled {
  background:#FFFBEA;
  border: 1px solid #FFF2B9;
}
table.styled td, table.styled th { text-align:left; padding:0.4em 0.5em; }
table.styled td.nowrap, table.styled th.nowrap { white-space:nowrap; }
table.styled td.l, table.styled th.l { text-align:left; }
table.styled td.r, table.styled th.r { text-align:right; }
table.styled td.c, table.styled th.c { text-align:center; }
table.styled thead { background:#ECDA8B; }
table.styled thead th { text-align:center; background:#ECDA8B; padding:0.3em 0.5em; }
table.styled thead tr.last th, table.styled thead th.last_row { /*border-bottom:2px solid #FFF2B9;*/ }
table.styled thead th.vertical_stripe { background:#E4CE63; }
table.styled tbody th { vertical-align:top; text-align:right; }
table.styled tbody tr.even { background:#FFF2B9; }
table.styled tbody td.vertical_stripe { background:#FFF2B9; }
table.styled tbody tr.even td.vertical_stripe { background:#FFE982; }




/*naseptavac*/
div.naseptavac {
  position:absolute; z-index:10; background:white; border:1px solid black; overflow:hidden; color:black;
  max-height:10em;
  overflow:auto;
}
div.naseptavac ul { margin:0; padding:0; list-style-type:none; list-style-image:none;   font-size:90%; }
div.naseptavac ul li { padding:0.2em 0.5em; margin:0; cursor:pointer; }
div.naseptavac ul li.hl { background:#ECDA8C; }

.form_err { color:#FF8000; font-style:italic; }
div.form_err, p.form_err { margin:0.2em 0 0 0; }
td.odeslat { text-align:center; padding-top:1em; }

p.form_done { background:#FFF5CA; color:#C31F03; font-size:1.2em; font-weight:bold; padding:0.2em 0.5em; }
p.form_err_main { background:#C31F04; color:#FFF2B9; font-size:1.2em; font-weight:bold; padding:0.2em 0.5em; }
p.strankovani { text-align:center; }

table.list th { text-align:right; padding:0.1em 0.5em 0.1em 0; }
table.list td { padding:0.1em 0; vertical-align:top; }

/*index*/
div#hp_content {
  float:left;
  width:350px;
  padding:0;
}
div#hp_content #hp_content_clanky { background:#EFEFEF; padding-top:1px; }
div#hp_content h1 {
  margin-left:10px;
  background:url('../img/layout/ico_zmeny_v_doprave.gif') left top no-repeat;
  padding-left:26px;
}

div#hp_content div.clanek {
  padding:15px 10px;
  background:url('../img/hp/clanek_separator.gif') left top no-repeat;
}div#hp_content div.clanek.first { background:none; }
div#hp_content div.clanek h2 { margin-top:0; }
div#hp_content div.clanek h2 a:visited  { color:#c31f04; }
div#hp_content div.clanek h2 a:hover { color:#ff0000; }

div#hp_content div.clanek p.datum { margin:0; }
div#hp_content div.clanek p { text-align: justify; margin-bottom:0.5em; }
div#hp_content div.clanek p.vice { text-align:right; margin:0.5em 1em 0 0;}

div#hp_banners {
  float:right;
  width:345px;
}

div#pokrok_nezastavis_cont {
  width:357px;
  height:140px;
  border-bottom:8px solid #7E540F;
}
a#pokrok_nezastavis { display:block; font-size:0px; line-height:0px; }

div.banner_cont {
  margin:2em 0;
  border-left:6px solid #7E5413;
}
div.banner_cont img,div.banner_cont object {
  display: block;
}
div.banner_cont a { display:block; font-size:0px; line-height:0px; }


/*aktuality*/
div#aktuality p.datum { margin:1.5em 0 0 0; }
div#aktuality h2 { margin-top:0; }
div#aktuality div.gallery img {
	float:left;
	margin:0 0.25em 0.25em 0;
}
div#aktuality div.content_box {
  position: relative;
}
div#aktuality div.content_box div.content {
  /*float:left;*/
}
div#aktuality div.content_box img { 
  /*float:left;*/
   position: absolute;
   left: 0px;
   top: 0px;
  /*margin:1em 10px 5px 0;*/
}

/*vyhladavanie*/
div#vyhledavani div.vysl h2 em { font-size:1.25em; }
div#vyhledavani div.vysl p { margin-top:0; }
div#vyhledavani div#vyhl_strankovani { margin-top:2em; text-align:center; font-size:125%; }


/*mikulášská jízda*/
div#mik_galerie div.img_box {
  width:33.3%;
  float:left;
  text-align:center;
  border:2px solid #99CCFF;
  border-width:2px 2px 0 0;
  padding:5px 0;
}
div#mik_galerie div.img_box.first_row { border-top:none; }
div#mik_galerie div.img_box.last_in_row {
  border-right:none;
}
div#mik_galerie div.img_box p { margin:0.25em 0 0 0; }

/*připomínky*/
form#pripominka_form .text { width:300px; }
form#pripominka_form textarea#prip_pripominka { height:100px; vertical-align:top; }

/*tiskové zprávy*/
div#tiskove_zpravy div.tz_text { margin:0.5em 0 1em 0; padding:1em 1em 0 1em; border:1px solid #C8C8C8; }
div#tiskove_zpravy li {margin: 0.8em 0;}
div#tiskove_zpravy img {position: relative; top: 4px;}
.news_no_link { color:#C31F04;}

/*ztráty*/
form#ztraty_form .text { width:300px; }
form#ztraty_form textarea#ztraty_popis { height:100px; vertical-align:top; }

/*100 let*/
div#stolet_galerie img.gal, .stolet_galerie img.gal { margin:0 10px 10px 0; }
div#stolet_odpovedi h2 { font-size:1.1em; margin-top:2em; }
div#stolet_odpovedi ul { list-style-type:none; margin-left:2em; font-weight:bold; }
div#stolet_odpovedi ul li.spravne { color:#34BAED; }

div#stolet_soutez p.chyba { color:#CE1419; font-weight:bold; font-size:1.2em; background:#FFDFE0; padding:0.2em 0.5em; }
div#stolet_soutez div#soutez100let_odpoved { margin-left:2em; }
div#stolet_soutez form#soutez100let_form table { margin-left:2em; }
div#stolet_soutez form#soutez100let_form .text { width:300px; }
div#stolet_soutez form#soutez100let_form textarea { vertical-align:top; }


/***************** jízdní řády ***************/

/* kulate rohy */
.jr.box_rounded div.corner {
  position:absolute; width:11px; height:11px;
  font-size:0px;
  background:url('../img/jr/jr_corners.gif') left top no-repeat transparent;
}
.jr.box_rounded div.corner.lt { left:-4px; top:-4px; background-position:left top; }
.jr.box_rounded div.corner.rt { right:-4px; top:-4px; background-position:-11px top; }
.jr.box_rounded div.corner.lb { left:-4px; bottom:-4px; background-position:left -11px; }
.jr.box_rounded div.corner.rb { right:-4px; bottom:-4px; background-position:-11px -11px; }

div#rady_menu {
  width:650px;
  height:37px;
}
div#rady_menu a {
  display:block;
  float:left;
  width:180px;
  height:33px;
  line-height:33px;
  vertical-align:middle;
  font-size:16px;
  color:#B9B9B9;
  text-decoration:none;
  background:url('../img/jr/jr_menu_off_bcg.gif') left center no-repeat #FAF9F9;
  padding-left:10px;
  border:4px solid transparent;
  border-width:4px 4px 0 4px;
}
div#rady_menu a:hover, div#rady_menu a.active {
  background-image:url('../img/jr/jr_menu_on_bcg.gif');
  background-position:left top;
  background-color:#EFEFEF;
  color:#C31F03;
  font-weight:bold;
}
div#rady_menu a.active {
  border-color:#C31F03;
  height:37px;
  z-index:15;
  position:relative;
}


div#rady_content {
  border:4px solid #C31F03;
  background:#EFEFEF;
  position:relative;
  padding:1em;
}


table#jr_spojeni .text { line-height:14px; font-size:15px; }
table#jr_spojeni .text.chyba { border-color:#ff0000; }

table#jr_spojeni thead th { color:#C31F03; padding:0 0.25em 0.5em 0.25em; }
table#jr_spojeni tbody td, table#jr_spojeni tbody th { padding:0.2em 0.25em; }
table#jr_spojeni a.mapa_schematicka {
  display:block;
  height:24px;
  line-height:24px;
  vertical-align:middle;
  background:url('../img/jr/mapka_schematicka_icon.gif') left center no-repeat;
  padding-left:28px;
}
table#jr_spojeni td.typ { text-align:center; }

table#jr_spojeni td.misto .text { width:380px; }
table#jr_spojeni tr.ram td, table#jr_spojeni tr.ram th { border-bottom:2px solid #DEE6EA; }

table#jr_spojeni tr.kdy td, table#jr_spojeni tr.kdy th { padding-top:1em; }
table#jr_spojeni tr.kdy .text { width:80px; }
table#jr_spojeni table.prestupy { margin-top:1em; }

table#jr_spojeni input.button {
  background:url('../img/jr/button_bcg.gif') left top no-repeat;
  border:none;
  width:131px; height:35px;
}
table#jr_spojeni input.submit {
  background:url('../img/jr/submit_bcg.gif') left top no-repeat;
  border:none;
  width:133px; height:35px;
  color:#C31F03; font-weight:bold;
}


#rad_search { border:0px; }
.spojeni_text {
  font-size: 12px;
  font-weight: normal;
  width: 650px;
}
#rad_search li {
  line-height:16px;
  padding-bottom:3px;
}

#rad_search a {text-decoration:underline;}
#rad_search a:hover {text-decoration:none;}

/*jízdní řád - výsledky*/
table#jr_spoje { width:100%; }
table#jr_spoje thead th { border-bottom:2px solid #DEE6EA; padding:0.2em 0.5em; }
table#jr_spoje thead th.spoj { padding-left:1.5em; }
table#jr_spoje td { padding:3px; }
table#jr_spoje td.den, table#jr_spoje td.cas_pr, table#jr_spoje td.cas_od, table#jr_spoje td.doba_jizdy { font-weight:bold; }
table#jr_spoje td.nazev { width:400px; }
table#jr_spoje td.spoj { padding-left:1.5em; }
table#jr_spoje td.spoj img { vertical-align:middle; }
table#jr_spoje tr.start { background:white; }
table#jr_spoje tr.sep td { font-size:0px; line-height:3px; height:3px; padding:0; }

#jr_spoje_tisk { padding-top:10px; }

body.print table#jr_spoje td.den { width:12%; }
body.print table#jr_spoje td.nazev { width:40%; }
body.print table#jr_spoje td.cas_pr, body.print table#jr_spoje td.cas_od, body.print table#jr_spoje td.doba_jizdy { width:8%; }
body.print table#jr_spoje tr.sep td { height:10px; }

/*mapa stránek*/
div#mapa_stranek li { margin:0.5em 0; }

.photos_container { 
  border-top:1px solid #BBBBBB;
  padding-top:10px;
}
/* STRANKY - VYPIS GALERII a FOTOGRAFII */
.gal_photo1 {
  margin: 0;
}
.gal_photo2 {
  margin-left: 50px;
}
.gal_photo3 {
  margin-left: 50px;
}

/* STRANKY - VYPIS DOKUMENTU */
div.docs_list_item {
  border-bottom:1px solid #E0E0E0;
  margin:1em 0;
  padding-bottom:0.5em;
}
