html, body {
	height:100%;
}

body {
	margin:0;
	padding:0;
	background-color:#efedec;
	font-family:'Open Sans', sans-serif;
	font-size:13px;
}

#page {
	width:980px;
	margin:0 auto;
}


/**
 * Hlavička stránky
 */

#login {
	height:20px;
	text-align:right;
	margin-top:10px;
	margin-bottom:10px;
}

#header, #header_test, #header_offline {
	background:#0075b6 url('img/header.jpg') 50% 0 no-repeat;
	height:172px;
	overflow:hidden;
	box-shadow:2px 2px 3px #aaaaaa;
	margin-bottom:20px;
	behavior:url('PIE.htc');
}

#header_test {
	background:#0075b6 url('img/header-test.jpg') 50% 0 no-repeat;
}
#header_offline {
	background:#0075b6 url('img/header-offline.jpg') 50% 0 no-repeat;
}

#header .logo, #header_test .logo, #header_offline .logo {
	display:inline-block;
	width:240px;
	float:left;
	margin:34px 0 0 45px;
}

#header .right, #header_test .right, #header_offline .right {
	float:right;
	width:670px;
	margin:13px 22px 0 0;
	text-align:right;
}

ul.lang {
	display:block;
	margin:0 0 10px 0;
	padding:0;
	font-size:0;
	letter-spacing:-1px;
	list-style-type:none;
}

ul.lang li {
	display:inline;
	margin-left:6px;
	list-style-type:none;
}

ul.lang li a {
	display:inline-block;
	width:22px;
	height:15px;
	background:transparent url('img/lang2.png') 0 0 no-repeat;
}

ul.lang li a.cs {
	background-position:0 1px;
}

ul.lang li a.en {
	background-position:0 -15px;
}

ul.lang li a.de {
	background-position:0 -30px;
}

ul.lang li a.pl {
	background-position:0 -45px;
}

ul.lang li a.hu {
	background-position:0 -60px;
}

ul.lang li a.sk {
	background-position:0 -75px;
}

ul.lang li a.ru {
	background-position:0 -90px;
}

.button.rght {
	float:right;
	margin-left:10px;
}

#dod_adresa a, #short_desc a,#dod_adresa_c a {
	padding: 5px 10px;
	text-align: center;
	margin-bottom: 15px;
}

.cenik {
	color:#ffffff;
	font-weight:300;
	font-size:34px;
	text-align:right;
	margin-top: 8px;
}

.cenik2 {
	color:red;
	font-weight:bold;
	font-size:20px;
	text-align:right;
	float: right;
	border: 2px solid red;
	width:315px;
	background-color:black;
	padding:2px 10px;
	margin-top:10px;
}

h1, h2 {
	color:#000000;
	font-weight:700;
	font-size:21px;
}

a, .mm {
	color:#0075b6;
	text-decoration:underline;
}

a:hover, .mm:hover {
	color:#0075b6;
	text-decoration:none;
}

a img {
	border:none;
	outline:none;
}

.button, button,input[type="submit"] {
	display:inline-block;
	background-color:#006E9B;
	color:#ffffff;
	text-decoration:none;
	font-size:14px;
	box-shadow:1px 1px 1px #005b83;
	behavior:url('PIE.htc');
	outline: none;
	border: none;
}

.green{
	background-color:#5ab505;
}

.button, button{
	padding:0 9px;
}

.button.disabled {
	background:#666666;
	box-shadow:2px 2px 1px #444444;
	behavior:url('PIE.htc');
}

.button.disabled:hover {
	color:#ffffff;
	background:#666666;
	box-shadow:0 0 0 #005b83;
}

.clear {
	clear:both;
	display:block;
	width:100%;
	margin:0;
	padding:0;
	height:0;
}

/**
 * Chybové hlášky
 */

.info, .error, .fatal {
	width:420px;
	margin:10px 0 0 266px;
	padding:0.5em 0;
	text-align:center;
	position:absolute;
	top:147px;
}
.info {
border:2px solid #f9ff24;
background-color:#ffffcc;
}

.error {
border:1px solid #8d979f;
background-color:#fbcb20;
}

.fatal {
border:1px solid #ff9999;
background-color:red;
z-index:1;
}

.red {
	background-color:red;
	border-radius:3px;
	padding:3px;
}

.info2 {
	width:100%;
	margin:10px 0 0;
	padding: 15px 20px;
	text-align:left;
	border:2px solid #f9ff24;
	background-color:#ffffcc;

}

div.offer input[type="text"]{
	height:14px;
}
table#cart input[type="text"]{
	width:27px;
}
div.offer input[type="submit"]{
	border-radius:3px;
	margin-left:2px;
}

/**
 * Formulář
 */

form.formID fieldset {
	position:relative;
}
form.formID fieldset {
	background-color:#eeeeee;
	border:1px solid #bbbbbb;
	padding:10px 30px;
	text-align:center;
	line-height:20px;
	width:560px;
	/*margin: 0 auto;*/
}
form.formID fieldset.admin {
	background-color: #a7bbe3;

}
form.formID legend {
	padding:4px 12px;
	background:#006E9B;
	color:#ffffff;
	border:1px solid #cfd7e2;
	text-align:left;
}

form.formID label {
	text-align:right;
	float:left;
	width:250px;
	margin-bottom:10px;
}

form.formID label small {
	float:right;
}

form.formID span.input {
	font-weight:bold;
	position: absolute;
	left: 293px;
}
form.formID span.input2 {
	position: absolute;
	left: 293px;
}

form.formID span.input3 {
	font-weight:bold;
	position: absolute;
	left: 293px;
}
form.formID input, form.formID textarea, form.formID select {
	border:1px solid #bbbbbb;
	background:#fdfdfd;
	width:270px;
	padding:3px;
	margin-bottom:10px;
}

form.formID textarea {
	height:150px;
}

form.formID select {
	width:277px;
}

form.formID table.img {
	width: 277px;
}
form.formID table.img tr:hover {
	background-color: #eee;
}
form.formID table.img tr, form.formID table.img tr td {
	margin: 0;
	padding: 0;
	font-size: 12px;
	vertical-align: top;
}
form.formID table.img img {
	border:1px solid #bbbbbb;
}
form.formID table.img {
	left: 16px;
	position: relative;
}
form.formID table.img input {
	width: 10px;
}
form.formID div#zavesy {
	margin-top: 10px;
}
form.formID div#zavesy label {
	width: 465px;
}

form.formID div#zavesy input {
	width: 70px;
}

form.formID input[type='file'] {
	width:263px;
}

form.formID input[type="text"]:hover, form.formID textarea:hover, form.formID select:hover {
	/*border:1px solid #007d9c;*/
	/*background-color:#ffffcc;*/
}

form.formID input[type="text"]:focus, form.formID textarea:focus, form.formID input[type="text"]:active, form.formID textarea:active {
	/*background-color:#ffffcc;*/
}

form.formID input.disabled {
	background-color:#e6e6e6;
	color:#003399;
}

form input.send, form.formID input.send {
	width:165px;
	margin-top:7px;
	margin-right:12px;
	padding:3px 7px;
	background:#006E9B;
	color:#ffffff;
	border:1px solid #cfd7e2;
}

form.formID label.strong {
	font-weight:bold;
}

form.formID label strong:after, form.formID label.strong:after {
	content:'*';
	font-weight:bold;
	color:red;
	left:5px;
	position:relative;
	margin-right:-3px;
}

span.req {
	content:'*';
	color:red;
	left:2px;
	position:relative;
	margin-right:3px;
}

input.chyba, select.chyba, textarea.chyba {
	background-color:#ffdddd;
}

span.chyba {
	padding:4px 0;
	background-color:#ffdddd;
}

input.center {
	text-align:center;
}

#red{
	background-color:orangered;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.offer_small {
	/*background: #0075b6 url('img/header.jpg') 50% -77px no-repeat;*/
}

.offer {
	background-color:#009BDD;
	box-shadow:2px 2px 3px #aaaaaa;
	padding: 15px 20px 20px;
	color:#ffffff;
	padding-bottom:0;
	behavior:url('PIE.htc');
}

.offer .row_1 {
	width:180px;
	float:left;
}

.offer .row_1 p {
	vertical-align:top;
}

.offer .row_2 {
	width:270px;
	float:left;
}

.offer .row_3 {
	/*width:505px; !* =940px - row1 - row2 - row4  *!*/
	float:left;
}

.offer .row_4 {
	/*width:215px;*/
	float:right;
	text-align:right;
}

.offer .row_5 {
	width:280px;
	float:left;
}

.offer .row_6 {
	width:660px;
	float:left;
	text-align:right;
}

.offer .row_7 {
	width:390px;
	float:left;
	text-align:right;
}

.offer .row_8a {
	width:750px;
	float:left;
	font-weight:bold;
}

.offer .row_8b {
	/*width:130px;*/
	float:right;
	text-align:right;
}

.offer .row_4 p {
	margin:0;
	padding:0 0 10px 0;
}

.offer .row_4 .button {
	margin-left:10px;
}

.offer .row_4 .name {
	display:inline-block;
	background-color:#ffffff;
	border-radius:3px;
	height:22px;
	line-height:22px;
	width:180px;
	padding:0 5px;
	margin-left:10px;
	margin-bottom:10px;
	text-align:right;
	font-size:14px;
	color:#000000;
	behavior:url('PIE.htc');
}

.offer .selection {
	background-color:#ffffff;
	/*border-radius:5px;*/
	padding:10px;
	margin:0;
	color:#000000;
	min-height:10px;
	behavior:url('PIE.htc');
}

table#cart tr.otherCategory
{
	border-top:solid 2px #B5E1F2;
}

/**
 * Container
 */

.container {
	position:relative;
	/*overflow: hidden;*/
	min-height:1500px;
}

/**
 * Postranní panel s navigací
 */

#sidebar {
	width:255px;
	position:absolute;
	top:0;
	bottom:0;
	float:left;
	background-color:#009BDD;
	box-shadow:2px 2px 3px #aaaaaa;
	behavior:url('PIE.htc');
}

#sidebar ul.menu {
	list-style-type:none;
	margin:20px;
	padding:0;
}

#sidebar ul.menu li {
	margin-bottom:12px;
}

#sidebar ul.menu li a {
	position:relative;
	display:block;
	background-color:#ffffff;
	/*border-radius:5px;*/
	padding:3px 0px 3px 10px;
	/* font-weight: 600;*/
	text-decoration:none;
	color:#000000;
	box-shadow:2px 2px 3px #057aa9;
	z-index:1;
	behavior:url('PIE.htc');
}

#sidebar ul.menu li a.selected {
	background-color:#006E9B;
	color:#ffffff;
}

#sidebar p {
	position:relative;
	display:block;
	background-color:#ffffff;
	/*border-radius:5px;*/
	padding:3px 10px 6px;
	font-size:12px;
	text-decoration:none;
	color:#000000;
	box-shadow:2px 2px 3px #057aa9;
	z-index:1;
	/*behavior: url('PIE.htc');*/
	margin:20px;
}

/**
 * Obsah stránky
 */

#content{
	width:710px;
	padding-left:270px;
}
#content-big {
	padding-left:0px;
}

h2,#content-big h2 {
	padding:0;
	margin:10px 0 0 0;
}

a#admin {
	clear:both;
	float:left;
	margin-bottom:0;
	background-color:#0bb0f0;
	margin-left:44px;
	/*border-radius:5px;*/
}

.nextprev {
	font-size:14px;
	/*height:28px;*/
	line-height:28px;
	float:right;
	/*margin:22px 0 20px 0;*/
	font-weight:normal;
}

.nextprev a {
	margin-left:5px;
}

.hideshow {
	font-size:14px;
	height:28px;
	line-height:28px;
	font-weight:normal;
	position:relative;
	top:-40px;
	left:-5px;
}

.hideshow a {
	margin-left:5px;
}

ul.catalog {
	list-style-type:none;
	margin:0;
	padding:0;
}

ul.catalog li {
	width:225px;
	margin-left:11px;
	float:left;
	position:relative;
}

ul.catalog li img {
	box-shadow:2px 2px 3px #aaaaaa;
	width:225px;
	height:130px;
	behavior:url('PIE.htc');
}

ul.catalog li img.inactive {
	filter:grayscale(100%);
	-webkit-filter:grayscale(100%);
	-moz-filter:grayscale(100%);
	filter:grayscale(100%);
	/*filter: gray;*/
	-webkit-filter:grayscale(1);
}

ul.catalog li:hover img {
	box-shadow:3px 3px 5px #666666;
}

ul.catalog li .code {
	/*background: rgba(0, 0, 0, 0.4);*/
	background:rgba(5, 130, 181, 0.62);
	position:absolute;
	top:110px;
	font-weight:bold;
	color:#f5f5f5;
	height:20px;
	left:0;
	right:0;
	font-size:14px;
	text-align:right;
	padding-right:10px;
}

ul.catalog li.hidden .code {
	color:#b8d6c4;
}

ul.catalog li .code span {
	text-align:left;
	float:left;
	margin-left:10px;
}

ul.catalog li .title {
	margin:0;
	padding:10px 0 20px;
	overflow:hidden;
	height:50px;
	font-size:12px;
}

table.catalog {
	border:2px solid #b5e1f2;
	border-collapse:collapse;
	background-color:white;
	width:100%;
}

table.catalog tr {
	border:1px solid #b5e1f2;
}

table.catalog tr td {
	border:1px solid #b5e1f2;
	padding:3px 10px;
	vertical-align:top;
}

table.catalog tr td.no {
	width:30px;
	text-align:left;
}

table.catalog tr td.price {
	width:55px;
	text-align:right;
}

table.catalog tr td.order {
	width:20px;
	text-align:center;
}

table.catalog tr td.inactive {
	filter:grayscale(100%);
	-webkit-filter:grayscale(100%);
	-moz-filter:grayscale(100%);
	filter:grayscale(100%);
	/*filter: gray;*/
	-webkit-filter:grayscale(1);
}

table.order {
	border:2px solid #b5e1f2;
	border-collapse:collapse;
	background-color:white;
	width:100%;
}

table.order tr {
	border:1px solid #b5e1f2;
}

table.order tr td {
	border:1px solid #b5e1f2;
	padding:3px 15px;
	font-size:14px;
	vertical-align:top;
}

table.order tr td.price {
	width:55px;
	text-align:right;
}

/**
  *	Footer
 **/

#footer {
	padding:15px;
	color:#0075b6;
	text-align:center;
	font-size:13px;
	margin-top:20px;
}

/**
  *	Konfigurator - výběr stroje
 **/
.agrio-product {
	list-style:none;
	margin:0 0 0 -10px;
	padding:0;
}

.agrio-product li {
	float:left;
	margin-left:10px;
	margin-bottom:20px;
	width:229px;
}

.agrio-product li a {
	border:2px solid #b5e1f2;
	color:#0095d0;
	display:block;
	line-height:1.2em;
	overflow:hidden;
	text-align:center;
	text-decoration:none;
	background-color: white;
}
.agrio-product li div.code a {background-color: transparent;}

.agrio-product li a:hover {border:2px solid #f9ff24;}

.agrio-product li h3 {
	font-weight:bold;
	line-height:22px;
	margin:5px 10px 0;
	font-size:16px;
}

.agrio-product li img {
	margin-bottom:-3px;
}

ul.agrio-product li .code {
	background:rgba(5, 130, 181, 0.62);
	position:relative;
	top:-22px;
	font-weight:bold;
	color:#f5f5f5;
	height:20px;
	font-size:14px;
	text-align:right;
	padding: 2px 10px 0;
}

ul.agrio-product li .code a {
	text-align:left;
	float:left;
	border:none;
	margin-top:2px;
	color:whitesmoke;
}

ul.agrio-product li .code a.right {
	float:right;
}

ul.agrio-product li .code a:hover {
	color:#f9ff24;
}

/* ----------- */

.cart_info {
	float:right;
}

a.no-decoration {
	text-decoration:none;
}

/* hover + select */
table tr.hidden {
	color:#b8d6c4;
}

table.order tr:hover td, .offer .selection table tr:hover, table.catalog tr:hover td {
	background-color:#e0e0e0;
}

table.order tr td span.order_error {
	background-color:#ff0033;
	padding:4px 5px;
	font-size:11px;
	font-weight:bold;
	display: inline-block;
	vertical-align: top;
}


table.order tr.color1 td {background-color:#cccccc}
table.order tr.color2a td {background-color:rgba(71, 99, 255, 0.66);}
table.order tr.color2 td {background-color:royalblue;}
table.order tr.color3 td {background-color:cadetblue;}
table.order tr.color4 td {background-color:rgba(255, 109, 90, 0.66);}
table.order tr.color5 td {background-color: #edfa2c;}

table.order tr.color1 td a,
table.order tr.color2a td a,
table.order tr.color2 td a,
table.order tr.color3 td a,
table.order tr.color4 td a,
table.order tr.color5 td a {color:black;}

table.catalog tr.select:hover td, form input.send:hover, form.formID input.send:hover,
.button:hover, table tr.select, table td.select, ul.catalog li.select .code, #sidebar ul.menu li a:hover,input[type="submit"]:hover {
	color:#000000;
	background-color:#f9ff24;
	cursor:hand;
}

input[type="submit"].green:hover,input[type="submit"].green:active,input[type="submit"].green:focus,
input[type="submit"].blue:hover,input[type="submit"].blue:active,input[type="submit"].blue:focus {
	color:#000000;
	background-color:#f9ff24;
}

table.catalog tr.deleted, table.catalog tr.deleted:hover td {
	background-color: rgb(255, 141, 83);
	color: black;
}

input[type="submit"].disabled {
	background-color:#666666;
}

input[type="submit"].green {
	background-color:#5ab505;
}
input[type="submit"].blue {
	background-color:#006E9B;
}

input[type="submit"]:hover.disabled {
	background-color:red;
}

input.hidden, div.hidden {
	display:none;
}

table tr td.right {
	text-align:right;
}

table {
	border-collapse:collapse;
}

/* --------------- */

#back-top {position:fixed; bottom:27px;right:10px; z-index:1000000000;}
#back-top a{width:48px; height:48px;  display:block; background:url('img/icon-top.png') no-repeat center center; -webkit-transition:1s; -moz-transition:1s; transition:1s;}
#back-top2 #back-top a{background:url('img/icon-top2.png') no-repeat center center;}

#back-down{position:fixed; top:200px;right:10px; z-index:1000000000;}
#back-down a{width:48px; height:48px;  display:block; background:url('img/icon-down.png') no-repeat center center; -webkit-transition:1s; -moz-transition:1s; transition:1s;}


#tooltip{position:absolute;  border:1px solid #333; background:#f7f5d1; padding:2px 5px; color:#333; display:none; z-index:1000;}
#preview{position:absolute; border:1px solid #ccc; background:#333; padding:5px; padding-bottom:0px; display:none; color:#fff;}
a.nolink{text-decoration:none;cursor:auto}


table.catalog a.tooltip img{position: absolute;margin-left: 32px;margin-top: 2px;}



.green_box{border: 2px solid #228b22;padding: 5px 10px;background-color:#4ded4d;}
.warning_box{border: 2px solid #FF3333;padding: 5px 10px;background-color: rgba(255, 196, 0, 0.66);}


.pages{margin:10px 0;}
.pages a{text-decoration:none; border:1px #cccccc solid; background-color:#DFDFDF; margin-right:5px; padding:1px 0; width:25px; text-align:center; display:inline-block; }
.pages a.no{background-color:#e0e0e0;}
.pages a.sel, .pages a:hover{background-color:#12659B; border:1px solid #006666; color:#FFFF66;}
@media print {
	body{margin:0;padding:0;}
	.noprint {display:none;}
}

#priceRunMachine {
    width: 20px;
    text-align: left;
    position: absolute;
    left: 289px;
}


#ramenaImg img {
    padding: 0;
    margin: 0;
    border: 0;
    /*margin-right: -1px;!* 3px - 2px *!*/
}
