html {
  width: 100%;
  min-height: 100%;
  background: -webkit-linear-gradient(#ffffff, #cccccc); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#ffffff, #cccccc); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#ffffff, #cccccc); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#ffffff, #cccccc); /* Standard syntax */
  padding: 0;
  margin: 0;
  background: #fff url(../design/bg.jpg) center top no-repeat;
}
body {
  max-width: 100%;
  font-family: 'Open Sans',sans-serif;
  padding: 0 0 30px 0;
  margin: 0;
}
body * {
  font-family: 'Open Sans',sans-serif !important;
}

.clear {
	clear: both;
	width: 100%;
	height: 0px;
	font-size: 0px;
	line-height: 0px;
	margin: 0px;
	padding: 0px;
	border: none;
	visibility: hidden;
}

h1 {
  font-size: 26px;
  font-weight: 600;
}
h2 {
  font-size: 20px;
  font-weight: 600;
}

#page {
  width: 996px;
  margin: 0 auto;
  position: relative;
  /*margin-bottom: 100px;*/
  z-index: 20;
  padding: 0px 20px;
  background: #fff;
}
#overpage {
  width: 100%;
  position: relative;
  float: left;
  background: transparent url(../design/bg_uprostred.png) repeat-y center top;
  z-index: 20;
}
#bottompage {
  width: 100%;
  position: relative;
  float: left;
  height: 73px;
  background: transparent url(../design/bg_dole.png) no-repeat center top;
  z-index: 20;
}

#overheader {
  width: 100%;
  position: relative;
  float: left;
  height: 190px;
  background: transparent url(../design/header.png?v=5) no-repeat center top;
}

/*@media (max-width: 1400px) {
  #overheader {
    background: transparent url(../design/header_wp.png?v=5) no-repeat center top;
  }
}*/

#header {
  width: 1035px;
  margin: 0 auto;
  position: absolute;
  height: 190px;
  background-color: #fff;
  z-index: -1;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
}

#overheader .layer {
  background-color: transparent;
  width: 1035px;
  margin: 0 auto;
  position: relative;
  height: 190px;
}

#overheader .layer .phone {
  position: absolute;
  display: inline-block;
  width: 170px;
  height: 30px;
  bottom: 33px;
  left: 520px;
  z-index: 20;
}

#overheader .layer .email {
  position: absolute;
  display: inline-block;
  width: 370px;
  height: 30px;
  bottom: 4px;
  left: 520px;
  z-index: 20;
}

#content {
  width: 100%;
  position: relative;
  float: left;
  padding-top: 10px;
}
#contentTop {
  width: 100%;
  position: relative;
  float: left;
}

#login { width: 274px; margin: 20px auto 0px; }

label { margin-right: 10px; }
input[type="submit"],input[type="reset"],input[type="button"]{ line-height: 30px; padding: 0 20px; }
div.admin input[type="submit"],div.admin input[type="reset"],div.admin input[type="button"]{ line-height: 100%; }
form.loginForm input { line-height: 30px; text-indent: 10px; }
form.loginForm label { line-height: 30px; }
#hsl_obj { float: right; width: 210px; }
#login_obj { float: right; width: 210px; }

#krokObjednavky { width: 100%; float: left; padding: 20px 0px; }
#krokObjednavky ul { display: table; width: 100%; table-layout: fixed; margin: 0; padding: 0; }
#krokObjednavky ul li { display: table-cell; color: #333; text-align: center; }
#krokObjednavky ul li:nth-child(1) { border-left: none; }
#krokObjednavky ul li.aktivni { font-weight: 700; }

a.odhlasit { position: relative; float: right; margin-top: 10px; font-size: 12px; line-height: 130% !important; font-weight: 600; }
a.odhlasit.ui-button .ui-button-text { line-height: 130%; }


#dialogMsg{ display: none; }


.ui-dialog {
    border: 1px solid #c00 !important;
}

div.produkty {
  position: relative;
}
div.produkty div.line {
  float: left;
  width: 100%;
  font-size: 90%;
  padding: 5px 0px;
  position: relative;
}
div.produkty div.line:nth-child(odd) {
  background: #eee;
}
div.produkty div.line input {
  line-height: 130%;
  font-size: 90%;
}
div.produkty div.line > div {
  height: 100%;
  min-height: 38px;
  line-height: 38px;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
}
div.produkty div.line > div.foto {
  width: 70px;
  height: 60px;
  top: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 60px;
}
div.produkty div.line > div.foto img {
  max-width: 50px !important;
  max-height: 60px !important;
  height: auto !important;
  vertical-align: middle;
  display: inline;
}
div.produkty div.line > div.foto span.helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
div.produkty div.nadp > div.foto {
  width: 70px;
}
div.produkty div.line > div.nazev {
  width: 35%;
  width: calc(100% - 515px);
}
div.produkty div.line > div.baleni {
  width: 120px;
  white-space: nowrap;
}
div.produkty div.line > div.cena {
  width: 110px;
  text-align: center;
}
div.produkty div.line > div.cena strike {
  display: block;
}
div.produkty div.line > div.cenaSleva {
  line-height: 120%;
}
div.produkty div.line > div.nazev_slevy {
  width: 35%;
  width: calc(100% - 685px);
}
div.produkty div.line > div.sleva {
  width: 170px;
  text-align: left;
  line-height: 120%;
  font-size: 80%;
}
div.produkty div.nadp > div.sleva {
  font-size: 100%;
  line-height: 60px;
  /*text-align: center;*/
}
div.produkty div.line > div.kusy {
  width: 80px;
  padding-right: 5px;
  text-align: right;
}
div.produkty div.line > div.kusy input {
  width: 35px;
  text-align: right;
  text-indent: 0;
  margin-top: 6px;
  text-align: center;
}
div.produkty div.line.nadp {
  background: #ccc;
  font-weight: 600;
  text-align: center;
}
div.produkty div.line.nadp div {
  padding: 3px 5px;
  font-size: 90%;
  box-sizing: border-box;
}
div.produkty div.line.nadp div.nazev {
  text-align: left;
  padding-left: 0px;
}
div.produkty div.line.nadp div.baleni {
  text-align: left;
  padding-left: 0px;
}

div.produkty div.lineCelkem {
  background: #e31f23 !important;
  color: #fff;
}
div.produkty div.lineCelkem > div {

}
div.produkty div.lineCelkem > div.foto {
  width: 70px;
  height: 30px;
}

#buttons { margin: 30px 0px; text-align: right; }
#buttons input { margin-left: 30px; }

#buttonsPlovouci { position: absolute; right: -193px; top: 260px; }
#buttonsPlovouci input { width: 168px; }

#buttonsPlovouci.mensi { position: absolute; right: -95px; top: 260px; margin-top: -120px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
#buttonsPlovouci.mensi input { width: 98px; }

#buttonsPlovouci.neviditelny { display:none; }


#kontakt,
#kontaktDoruc {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  float: left;
}
#kontakt div,
#kontaktDoruc div {
  width: 320px;
  float: left;
}
#kontakt div.kontakt50,
#kontaktDoruc div.kontakt50 {
  width: 50%;
}
#kontakt div.kontakt1,
#kontaktDoruc div.kontakt1 {
  width: 340px;
}
#kontakt div.kontakt2,
#kontaktDoruc div.kontakt2 {
  width: 340px;
}
#kontakt div.kontakt3,
#kontaktDoruc div.kontakt3 {
  width: 275px;
}
#kontakt div div,
#kontaktDoruc div div {
  width: 100%;
  margin-bottom: 0px;
  font-weight: 600;
}
#kontakt div div span,
#kontaktDoruc div div span {
  width: 135px;
  display: block;
  float: left;
  font-weight: normal;
}
#kontakt div.kontakt1 div span,
#kontaktDoruc div.kontakt1 div span {
  width: 135px;
  display: block;
  float: left;
}
#kontakt div.kontakt3 div span,
#kontaktDoruc div.kontakt3 div span {
  width: 75px;
  display: block;
  float: left;
}
#kontakt div.kontakt2 div small,
#kontaktDoruc div.kontakt2 div small {
  margin-left: 140px;
  color: #666;
}
#kontakt div div span label,
#kontaktDoruc div div span label {
  float: right;
}
#kontakt div div input,
#kontaktDoruc div div input {
  width: 190px;
}
#kontakt div div input.psc,
#kontaktDoruc div div input.psc {
  width: 90px;
}

#kontakt b,
#kontaktDoruc b {
  font-weight: 600;
}
#nadpis {
  position: absolute;
  top: 0px;
  left: 390px;
  font-weight: 600;
  color: #d00;
  font-size: 20px;
}
#stats {
  width: 210px;
  position: absolute;
  margin-top: 10px;
  box-sizing: border-box;
  padding: 5px;
  background: #e31f23;
  color: #fff;
  border: none;
  top: -85px;
  right: 190px;
  z-index: 30;
}
#stats table {
  width: 100%;
  font-size: 13px;
  /*white-space: nowrap;*/
}
#stats table th {
  font-weight: 600;
}

#statsKs,
#statsCena {
  text-align: right;
}

#stats #dopravaZdarma {
  padding-top: 5px;
}

#stats_odkaz {
  height: 100%;
  width: 100%;
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  text-decoration: none;
}

#userInfo{
  position: absolute;
  right: 10px;
  top: -100px;
  font-size: 12px;
  text-align: right;
  width: 180px;
}
#userInfo small{
  font-size: 50%;
}


input.prepocitat{
  float:right;
  background: #000;
  color: #fff;
  border: 1px solid #999;
  cursor: pointer;
}
input.dalsi{
  background: #000;
  color: #fff;
  border: 1px solid #999;
  cursor: pointer;
}


.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #eee;
    border: 1px solid #c8acaf;
    color: #a00;
    font-weight: 700;
}

label.povinne{
  font-weight: 600;
}
label.povinne::after{
  content: '*';
}

.mensiPismo, .mensiPismo.input {  font-size: 100%; }