* {
   letter-spacing: normal}
	
body, p, div, li, td, a, input, textarea, button {
	font-family: "Trebuchet MS", Tahoma, "Arial CE", Arial, Sans, "helvetica CE", Helvetica;
}

body, p, div, li, td {	
	color: #471109;
	font-size: 14px;
}

/*----------mainbox-----------*/

#mainbox p, #mainbox h1, #mainbox h2, #mainbox h3, #mainbox hr {
	margin-top: 0;
}

#mainbox p, #mainbox h1, #mainbox h2, #mainbox h3, #mainbox hr {
	margin-bottom: 18px;
}
#mainbox hr {
	margin-top: 20px;
}
#mainbox table p {
	margin-top: 5px;
}
#mainbox div.cleaner {
	clear: none;
}

#mainbox form {
	margin: 40px 0 10px 0;
}

/*----------nekompatibilita prohlížečů-----------*/
form {
	margin: 0;
	padding: 0;
}

p {
	padding: 0;
	margin: 10px 0 10px 0;
}

blockquote {
	padding: 0;
	margin: 10px 0 10px 40px;
}

ul {
	padding: 0;
	margin: 10px 0 10px 40px;
}

li ul {
	margin-top: 0;
	margin-bottom: 0;
}

li {
	line-height: 1.7em;
}

/*----------nadpisy-----------*/

h1 {
	font-size: 24px;
	color: #547a27;
	margin: 10px 0px 10px 0;
	text-align: left;
	padding-left: 0px;
	padding-bottom: 8px;
}

h1 a {
	color: #ffe0ca !important;
}

h2, h1.novinky {
	font-size: 19px;
	color: #547a27;
	padding: 0;
	margin: 10px 0 10px 0;
	text-align: left;
}

h2 {
	line-height: 21px;
}

h3 {
	font-size: 16px;
	color: #547a27;
	padding: 0;
	margin: 10px 0 10px 0;
	text-align: left;
	padding-left: 5px;
	border-left: 0px solid #ffe0ca;
}

h4 {
	font-size: 14px;
	padding: 0;
	color: #ffe0ca;
}

/*----------odkazy-----------*/
a {
	text-decoration: underline;
}

a:link, a:visited {
	/*color: #f7c39e;*/
	color: #547A27;
}

a:active  {
	color: #471109;
	outline: 0;
}

a:hover {
	color: #471109;
}

a:focus  {
	outline: 0;
}

/*----------obrázky-----------*/
img {
	border-width: 0px;
}

/*----------formulare-----------*/
.input_text, .input_text_fullwidth, .input_text_optional {
	color: #111111;
	font-size: 11px;
	border: 1px solid #547A27;
	padding: 2px 0px 1px 3px;
	margin-bottom: 3px;
}

.input_textarea, .input_textarea_fullwidth {
	color: #111111;
	font-size: 11px;
	border: 1px solid #547A27;
	padding: 1px;
	padding-left: 5px;
	padding-top: 3px;
}

.input_button, .input_button_optional {
	background-color: #547A27;
	background-image: url("../image/input_button_b.jpg");
	font-size: 11px;
	font-weight: bold;
	color: #ffffff;
	border: 1px solid #547A27;
	vertical-align: middle;
	margin: 0;
	padding: 2px 8px 2px 8px;
	cursor: pointer;
}

a.input_button {
	/*width: 100px;
	height: 20px;*/
	text-decoration: none;
	text-align: center;
	margin: 0px;
	padding: 3px 7px 3px 7px;
	background-color: #547A27;
	font-size: 11px;
	font-weight: bold;
	color: #ffffff;
	border: 1px solid #547A27;
	cursor: pointer;
	display: inline-block;	
}

a.input_button:hover, a.input_button:visited, a.input_button:link {
	color: #ffffff;
}

.input_button:hover {
	color: #547A27 !important;
	background-color: #FFFFFF;
}

.input_button:active {
	background-color: #4C4C4C;
}

/*---------------------------------*/
.input_button_delete {
	width: 17px;
	background-image: url("../../../../../system/layout/common/image/form/button_delete.png");
	background-position: center;
	background-repeat: no-repeat;
}

.input_button_recount {
	width: 17px;
	background-image: url("../../../../../system/layout/common/image/form/button_recount.png");
	background-position: center;
	background-repeat: no-repeat;
}

.input_button_delete span, .input_button_recount span {
	visibility: hidden;
}

  .input_text_optional {
	border: 1px solid #BBBBBB;
	color: #999999;
  }

  .input_button_optional {
	background-color: #CCCCCC;
	border: 1px solid #BBBBBB;
  }

  .input_button_optional:hover {
	background-color: #C3C3C3;
  }

  .input_button_optional:active {
	background-color: #666666;
  }

  .input_quantity {
	width: 20px;
	text-align: right;
	padding: 2px 3px 1px 0px;
  }
  
  .input_button_tocart {
	border: 1px solid #FF4500;
	background-color: #FF4500;
  }

  .input_button_prev:before {
	content: '« ';
  }

  .input_button_next:after {
	content: ' »';
  }
  .input_chyba {
	border: 1px solid #ff0000;
  }

/*----------hlasky a zavedene tridy-----------*/
.upozorneni {
	background-color: #ffffff;
	padding: 5px;
	border: 1px solid #547A27; /*#FF7E00*/
	text-align: left;
}

.upozorneni, .upozorneni a, .upozorneni a:visited, .upozorneni td, .upozorneni p, .upozorneni li {
	color: #547A27 /*#FF7E00*/ !important;
	font-size: 14px;
}

.upozorneni a:hover {
	color: #FFFFFF !important;
}

  div.upozorneni {
	padding: 10px 10px 0 10px;
	margin-bottom: 10px;
  }

.chyba {
	background-color: #ffffff;
	color: #ff0000;
	padding: 5px;
	border: 2px solid #ff0000;
	font-weight: bold;
}

.info {
	background-color: #ffffff;
	color: #888888;
	padding: 5px;
	border: 1px solid #888888;
	text-align: left;
}

.ok {
	background-color: #ffffff;
	color: #39B54A;
	padding: 5px;
	border: 1px solid #39B54A;
	text-align: left;
}

.ok a {
	color: #39B54A;
}

.ok a:hover {
	color: #FFFFFF !important;
}

.flash {
	background-color: #FF7E00;
	color: #ffffff;
	padding: 5px;
	border: 1px solid #FF7E00;
}

.podbarveni {
	background-color: #eeeeee;
	color: #547A27;
	padding: 5px;
	border: 1px solid #547A27;
}

.podtrzeni {
	border-bottom: 1px dashed #547A27;
	cursor: help;
}

.red, .red td {
	color: #ff0000;
}

.green, .green td {
	color: #547A27;
}

.blue, .blue td {
	color: #0000ff;
}

.poznamka, .poznamka a, .poznamka td, .poznamka a:visited, ul.poznamka li {
	color: #471109;
	font-weight: normal;
	font-size: 11px;
}

.poznamka a:hover {
	color: #FFFFFF;
}



.link_off {
	color: #cccccc;
        text-decoration: underline;
}

/*----------obrazky-----------*/

.obrazky_right {
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
}

.obrazky_left {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}

td.display_formtitle {
	width: 36%;
	vertical-align: top;
	line-height: 1.6em;
	text-align: right;
	padding: 0 5px 0 0 !important;
}

td.display_formtitle_left {
	width: 25%;
	white-space: nowrap;
	vertical-align: top;
	line-height: 1.6em;
	text-align: left;
	padding: 0 5px 0 0 !important;
}

/*----------fieldset-----------*/
fieldset {
	margin: 10px 0 5px 0px;
	padding: 5px 8px 15px 15px;
	border: 2px solid #547A27;
	width:462px;
}

legend {
	padding: 3px 10px 5px 10px;
	font-size: 13px;
	font-weight: bold;
	color: #471109;
}

label {
	width: 30%;
	float: left;
	text-align: right;
	padding-right: 5px;
	font-size: 13px;
}

hr.mezera {
	margin: 0px;
	padding: 0px;
	height: 1px; 
	color: #ffffff; 
	background-color: #ffffff;
	border: 0px solid #ffffff;
}

fieldset input  {
	margin-bottom: 2px;
}

fieldset input.input_text_fullwidth  {
	width: 365px;
}

fieldset textarea.input_textarea_fullwidth  {
	width: 362px;
}

  fieldset p.upozorneni, fieldset p.chyba, fieldset p.info {
	margin-right: 7px;
	margin-bottom: 0px !important;
  }

pre {
	text-align: left;
}

hr {
	margin: 0px;
	padding: 0px;
	height: 1px; 
	color: #547A27; 
	background-color: #547A27; 
	border: 0px solid #547A27;
	clear: right;
}

.display_button_right {
	text-align: right;
	border: 0px solid black;
	margin-right: -4px;
}

.display_link_righttop {
	float: right;
	margin-top: 0px;
	padding-right: 0px;
	border: 0px solid black;
}

.cell_left, tr.cell_left td {
	text-align: left;
}

.cell_center, tr.cell_center td {
	text-align: center;
}

.cell_right, tr.cell_right td {
	text-align: right;
}

/*------------------*/
.inversive {
	background-color: #547A27;
	color: #FFFBEE;
}

.inversive a, .inversive h1, .inversive h2, .inversive h3, .inversive h4, .inversive p, .inversive span, .inversive div {
	color: #FFFBEE !important;
	border: 0;
}

a:hover span.inversive {
	background-color: #FFFFFF !important;
}

/*-------------------------*/
table.display_message {
	width: 100%;
	/*_width: 99.5%;*/
	margin: 0 0 10px 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #547A27;
}

table em {
	font-weight: normal;
}

table.display_message td {
	margin: 0;
	padding: 3px;
	vertical-align: top;
}

td.display_message_header {
	color: #F7C9A7;
	background-color: #547A27;
}

td.display_message_footer {
	font-size: 11px;
	text-align: right;
	padding-top: 0px !important;
}

  td.display_message_name {
	/*background-color: #ffffff;*/
  }

  td.display_message_name_verifieduser {
	/*background-color: #eeeeee;*/
	/*background-image: url("../image/verifieduser.gif");
	background-position: right top;
	background-repeat: no-repeat;*/
  }

/*-----------pro modul akce-------------*/
div.akce_obal {
	margin-bottom: 5px;
	border: 1px solid #DDDDDD;
}

div.akce_obal_today {
	margin-bottom: 5px;
	border: 1px solid #547A27;
	border-left: 5px solid #547A27;
}

div.akce_obal strong, div.akce_obal_today strong {
	color: #547A27;
}

div.akce_obal em, div.akce_obal_today em {
	font-style: italic;
	color: #888888;
	width: 95%;
	display: block;
}

div.category_style_bila, div.category_style_none {
	background-color: #ffffff;
	padding: 5px;
}

div.category_style_seda {
	background-color: #F7F7F7;
	padding: 5px;
}

div.category_style_bezova {
	background-color: #FEECD1;
	padding: 5px;
}

div.category_style_zluta {
	background-color: #FFF5B1;
	padding: 5px;
}

div.category_style_oranzova {
	background-color: #FCD79A;
	padding: 5px;
}

div.category_style_modra {
	background-color: #DDE4EF;
	padding: 5px;
}

div.category_style_zelena {
	background-color: #EDFFCB;
	padding: 5px;
}

/*-------zobrazeni textových dat------*/
table.display_text {
	width: 100%;
	margin: 0 0 10px 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #547A27;
}

table.display_text th, table.display_text thead td {
	margin: 0;
	padding: 2px 5px 2px 5px;
	vertical-align: top;
	border: 1px solid #547A27;
	background-color: #547A27;
	color: #ffffff;
	text-align: center !important;
}

table.display_text td {
	margin: 0;
	padding: 2px 5px 2px 5px;
	border: 1px solid #547A27;
}

.display_text_center, .display_text_center td {
	text-align: center !important;
}

.display_text_cena, .display_text_cena td {
	text-align: right !important;
}

.display_text_zahlavi, .display_text_zahlavi td {
	text-align: center !important;
	background-color: #f7c9a7;
	color: #547A27;
	vertical-align: middle !important;
}

/*------------------------------*/
.smaller, .smaller td {
	font-size: 11px;
}

.bigger, .bigger td {
	font-size: 13px;
}

a.smaller:hover {
	color: #FFFFFF !important;
}

.distance {
	padding: 4px 5px 4px 5px;
}

.distance a, .distance h1, .distance h2, .distance p, .distance span, .distance div {
	padding: 0;
	margin: 0;
}

/*--------photo----------------------*/
div.photo {
	margin: 0 3px 7px 3px;
}

div.photo_list {
	width: auto;
	margin-right: -15px;
	z-index: 1;
	border: 0px solid red;
	overflow: hidden;
}

div.photo_left, div.photo_right, div.photo {
	padding: 0;
	border: 0px solid #BBCBB2;
	background-color: #f7c9a7;
	text-align: center;
}

div.photo_refer:hover {
	background-color: #AAC767 /*B2D997*/;
}

table.photo_detail td {
	background-color: #f7c9a7;
}

div.photo_left {
	float: left;
	margin: 0 12px 12px 0;
}

div.photo_right {
	float: right;
	margin: 0 0 12px 12px;
}

div.photo {
	margin: 0 3px 7px 3px;
}

div.photo_img {
	margin: 0 !important;
	padding: 0px 0px 0px 0px !important;
	text-align: center;
	border: 0px solid red;
	position: relative;
}

div.photo_img img {
	border-width: 0px;
}

div.photo_title {
	margin: 0 !important;
	padding: 5px 0px 5px 0px !important;
	font-size: 12px;
	border: 0px solid blue;
	color: #471109;
	font-weight: bold;
}

div.photo_title span {
	padding: 0px 5px 0px 5px !important;
	display: block;
        text-overflow: " ...";
	overflow: hidden;
	white-space: nowrap;	
}

div.photo_img span {
	position: absolute;
	left: 5px;
	color: #ffffff;
	font-size: 11px;
	display: none;
	text-shadow: 1px 1px 1px #555;
}

/*-------zobrazeni dat------*/
table.display {
	width: 99%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #FFFFFF;
}

table.display td {
	margin: 0;
	padding: 0px 10px 0px 0px;
	border: 0px solid #FFFFFF;
}

tr.display_header, td.display_header, tr.display_center, td.display_center {
	text-align: center;
}

tr.display_header td {
	padding-bottom: 1px;
	font-size: 11px;
	vertical-align: middle;
}

td.display_separator {
	border-bottom: 1px solid #547A27 !important;
	padding: 0px;
	margin: 0px;
}

td.display_columntime {
	width: 130px;
	text-align: center;
	white-space: nowrap;
}

td.display_columnaction {
	width: 60px;
	text-align: center;
	white-space: nowrap;
}

td.display_columncenter {
	text-align: center;
}

td.display_columnporadi {
	width: 50px;
	text-align: center;
	white-space: nowrap;
}

td.display_columnid {
	width: 70px;
	text-align: center;
	white-space: nowrap;
}

td.display_columnnum {
	width: 50px;
	text-align: center;
	white-space: nowrap;
}

td.display_columnsmallnum {
	width: 33px;
	text-align: center;
	white-space: nowrap;
}

tr.display_oddrow td, tr.display_evenrow td, tr.display_blankrow td {
	height: 10px;
	border-left: 1px solid #ffffff;
	padding: 0 4px 0 4px;
}

td.display_cellcheckbox {
	width: 1%;
	text-align: center;
	padding: 0 !important;
}

tr.display_blankrow {
	background-color: #ffffff;
}

tr.display_oddrow {
	background-color: #f8f8f8;
}

tr.display_evenrow {
	background-color: #F2F2F2;
}

tr.display_row {
	background-color: #ffffff;
}

tr.display_row td {
	height: 10px;
	border-left: 0px solid #ffffff;
	border-bottom: 1px dotted #471109;
	padding: 5px 4px 7px 4px;
}

td.display_columndate {
	width: 70px;
	text-align: center;
	white-space: nowrap;
}

td.display_description {
	text-align: left;
}

table.program {
	width: 100%;
	margin: 10px 0 10px 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #FFFFFF;
}

td.program_time {
	width: 70px;
	text-align: right;
	padding-right: 10px !important;
	white-space: nowrap;
}

table.program td {
	margin: 0;
	padding: 0 0 10px 0;
	vertical-align: top;
}

/*---------------------------*/
table.display_rowdistance {
	width: 100%;
	/*_width: 99.5%;*/
	margin: 10px 0 10px 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #FFFFFF;
}

table.display_rowdistance td {
	margin: 0;
	padding: 0 0 10px 0;
	vertical-align: top;
}

/*---------------------------*/
.clear_both {
	clear: both;
}

/*---------------------------*/
.tab_2em, .tab_4em, .tab_5em, .tab_6em, .tab_8em, .tab_10em, .tab_15em, .tab_20em, .tab_25em, .tab_30em, .tab_35em, .tab_40em {
  	display: inline-block;
  	text-align: left;
  }
  .tab_2em { width: 2em; }
  .tab_4em { width: 4em; }
  .tab_5em { width: 5em; }
  .tab_6em { width: 6em; }
  .tab_8em { width: 8em; }
  .tab_10em { width: 10em; }
  .tab_15em { width: 15em; }
  .tab_20em { width: 20em; }
  .tab_25em { width: 25em; }
  .tab_30em { width: 30em; }
  .tab_35em { width: 35em; }
  .tab_40em { width: 40em; }

/*---------------------------*/
.skryt {
	display: none;
}

/*---------------------------*/
.optional {
	color: #471109;
}

table.text {
	width: 100%;
	margin: 0 0 10px 0;
	padding: 0;
	border-collapse: collapse;
	border: 0px solid #547A27;
}

table.text td, table.text th {
	margin: 0;
	padding: 2px 5px 2px 5px;
	border: 1px solid #547A27;
}

table.text thead td, table.text thead th {
	background-color: #547A27;
	color: #FFFFF8;
	text-align: center;
	vertical-align: middle;
	font-size: 1em;
	font-weight: bold;
}

table.text tfoot td, table.text tfoot th {
	background-color: #e7f7dd;
	color: #547A27;
	text-align: center;
	vertical-align: middle;
}

/*--------------------------------------*/
.display_right {
	text-align: right;
}

.display_righttop {
	float: right;
	text-align: right;
}

/*---------------------------------*/
.nowrap {
	white-space: nowrap;
}

/*---------------------------------*/
div.content_perex {
	display: inline-block;
	border: 1px solid #888888;
	background-color: #f5f5f5;
	padding: 10px 10px 0px 10px;
	margin-bottom: 10px;
	clear: both;
}

div.content_begin {
	display: inline-block;
	width: 100%;
	border: 0px solid green;
}

div.content_begin h2.display_category {
	display: table;
}

/*---------------------------------*/
div.photo_slideshow {
	border: 0px solid #f7c39e; /*mozno take D9BA8E*/
}

.text div.photo {
	margin: 0;
	padding:0;	
}

.text div.photo_img {
	margin: 0;
	padding:0;
}

.text div.photo_refer {
	margin: 0;
	padding:0;
}

  /*---------------------------------*/
  .input_cart_add_productid {
	width: 260px;
  }

  div.photogalery_polozka_bottom {
	padding-top: 10px;
  }

  div.photogalery_polozka_multiparamvals {
	max-height: 65px;
	overflow-y: auto;
  }

  div.photogalery_polozka_multiparamvals_fix {
	height: 65px;
  }

  div.photogalery_polozka_discount {
	height: 15px;
  }

  /*---------------------------------*/
  .spinner {
	width: 200px;
	height: 200px;

	position: fixed;
	top: 300px;
	left: 50%;

	margin-left: -80px;

	background-color: #fff6eb;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, .5); /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, .5); /* FF3.5 - 3.6 */
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .5); /* Opera 10.5, IE9, FF4+, Chrome 6+, iOS 5 */

	z-index: 999;
  }

  /*---------------------------------*/
  a.active {
	text-decoration: none;
	font-weight: bold;
  }


  /*---ULGALLERY---*/
  /*   přehled fotek ve fotogalerii (fotogalerie:display_web_photo-gallery_list)   */
  ul.ulgallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	border: 0px solid red;

	width: 105%; /*-je širší než #mainbox, aby bylo možné zarovnat pravý okraj fotky s obsahem-*/
	overflow: hidden;/*-co přesahuje, je skryto-*/
  }

  ul.ulgallery a img {
	border: 0;
	max-width: 100%;
  }

  ul.ulgallery li a {
	text-decoration: none;
  }

  /*   obal a mezery kolem jednotlivých fotek   */
  ul.ulgallery > li {
	float: left;
	padding: 4px 4px 0px 4px;
	margin: 0 7px 7px 0;
	border: 1px solid #FF8A00;
	background-color: #FFEED8;
	line-height: 0 !important;
	position: relative;
  }

  /*   barva pozadí obalu jednotlivých fotek při hoberu   */
  ul.ulgallery > li.link:hover {
	background-color: #FFDCB2;
  }

  /*   titulek pod fotkou   */
  /*   popř. průhledný titulek přes fotku např viz g2production.cz   */
  ul.ulgallery > li h3 {
	text-align: center;
	border: 0;
	margin: 0 !important;
	padding: 4px 0 4px 0;
	font-weight: normal;
	font-size: 11px;
	color: #FF8A00;

	/*display: block;*/
	max-width: 159px; /*-nastavit podle konfigurace maximálního rozměru miniatury $CONFIG['fotogalerie']['photo_maximal_size']-*/
	text-overflow: " ...";
	overflow: hidden;
	white-space: nowrap;
  }

  /*   titulek pod fotkou   */
  /*   v detalu produktu (modul Katalog), a v budoucnu i ostatní moduly   */
  div.offer_obrazky ul.ulgallery > li h3 {
	max-width: 96px; /*-nastavit podle konfigurace maximálního rozměru miniatury $CONFIG['katalog']['photos_maximal_size']['m']-*/
  }

  /*   nápis "Detail" v levém dolním rohu fotky   */
  /*   pokud nápis nemá zobrazovat stačí vypnout v $CONFIG['fotogalerie']['web_photo_list_enable_span_detail']  */
  ul.ulgallery > li.link span {
	position: absolute;
	left: 10px;
	bottom: 36px;
	color: #ffffff;
	font-size: 11px;
	text-shadow: 1px 1px 1px #555;
  }

  /*---------------------------------*/
  /*   přílohy v zápatí dokumentů   */
  div.dokument_attachment ul li {
	clear: right;
  }

/*---------------------------------*/
  /*   MODUL NOVINKY   */
  /*   obal novinky  */
  .new {
	background-color: #eeeeee;

	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

	border-top: 1px solid #dddddd;
	margin-bottom: 10px;
	padding: 5px 10px 5px 10px;
  }