/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* font-family: 'Open Sans', sans-serif; font-weight: 300;  */
/* font-family: 'Open Sans', sans-serif; font-weight: 600;  */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600&subset=latin-ext,latin);

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, button, input, select, textarea { color: #4a4a4a; }
body { font-size: 1em; line-height: 1.4; }

/*input[type=text],input[type=password],select,textarea { color: #373737; background: #D2D2D2; padding: 8px; width: 300px; text-align: left; border: solid 1px #BEBEBE; border-radius: 4px; }
select { width: 302px; }
input[type=submit] { color: #373737; background: #D8E164; padding: 8px 30px; border: none; border-radius: 4px; }
label { display: block; font-weight: bold; margin: 4px 0; padding: 0; text-align: left; }
label.simple { display: inline; margin: inherit; padding: inherit; text-align: inherit; width: auto; }
div.form { display: block; margin: 4px auto; padding: 0; text-align: left; width: 350px; float: left; }
*/


/* Remove text-shadow in selection highlight: h5bp.com/i These selection declarations have to be separate. Customize the background color to match your design. */
::-moz-selection { background: #7D3C62; text-shadow: none; color: #ffffff; }
::selection { background: #7D3C62; text-shadow: none; color: #ffffff; }

/* A better looking default horizontal rule */
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

/* Remove the gap between images and the bottom of their containers: h5bp.com/i/440 */
img { vertical-align: middle; }

/* Remove default fieldset styles. */
fieldset { border: 0; margin: 0; padding: 0; }

/* Allow only vertical resizing of textareas. */
textarea { resize: vertical; }


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { background: url('images/background.png') center center repeat scroll #ffffff; font-family: arial, sans-serif; font-size: 14px; color: #4a4a4a;  }

a, a:visited, a:hover, a:focus { color: #702350; text-decoration: underline; }
a:hover, a:focus { text-decoration: none; }

h1, h2, h3, h4, h5 { color: #702350; font-weight: 300; font-family: 'Open Sans', arial, sans-serif; }
h1 a, h1 a:hover, h1 a:focus, h1 a:visited,
h2 a, h2 a:hover, h2 a:focus, h2 a:visited,
h3 a, h3 a:hover, h3 a:focus, h3 a:visited,
h4 a, h4 a:hover, h4 a:focus, h4 a:visited,
h5 a, h5 a:hover, h5 a:focus, h5 a:visited { color: #702350; text-decoration: none; }
h1 a:hover, h1 a:focus, h2 a:hover, h2 a:focus, h3 a:hover, h3 a:focus, h4 a:hover, h4 a:focus, h5 a:hover, h5 a:focus { text-decoration: underline; }

h1 { font-size: 38px; }
h2 { font-size: 33px; padding-bottom: 2px; background: url('images/bg-h2.png') scroll bottom left no-repeat transparent; margin-top: 0; }
h2.alternative { padding-bottom: 0; background: transparent; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }

/* formuláře */
input[type="text"], input[type="password"], select, textarea, input[type=submit], input[type=reset]
{ background: #ffffff; border: 1px solid #DEDEDE; border-radius: 5px; color: #565656; padding: 8px; width: 280px; }
input[type=submit], input[type=reset] { background: #702350; color: #ffffff;  width: auto; padding: 8px 35px; font-weight: bold; border: 1px solid #DEDEDE; }
input.date { width: 138px; }
fieldset>p { margin: 0; }
fieldset>p:before, fieldset>p:after { content: " "; display: table; }
fieldset>p:after { clear: both; }
fieldset>p { *zoom: 1; }
fieldset>p>span { padding: 4px; }
span.flabel { display: block; width: 150px; float: left; padding-top: 12px; text-align: right; font-weight: bold; }
span.finput { display: block; float: left; }

/* tabulky */
table {}
table, tr, th, td { border: none; }
table[border="1"], table[border="1"] tr, table[border="1"] th, table[border="1"] td { border: 1px solid #702350; }
tr { padding: 2px 0; }
th, td { padding: 8px; background: transparent; margin: 0; }
th { background: #702350; font-weight: bold; color: #ffffff; }
th a { color: #ffffff; }
td {}

#mother { width: 100%;  padding-top: 107px; }

/*#mother>.block { width: 100%;  }*/
#mother>.block { width: 1400px; margin: 0 auto; padding-bottom: 50px; }
.home #mother>.block { padding-bottom: 0; }
#mother>.block:before, #mother>.block:after { content: " "; display: table; }
#mother>.block:after { clear: both; }
#mother>.block { *zoom: 1; }
#mother>.block>.inner { width: 990px; margin: 0 auto; position: relative; }

.text-content { background: #ffffff; padding: 16px; }

/* patička */
.footer { background: #350d2c; color: #af889b; }
.footer a { color: #ffffff; text-decoration: none; }
.footer a:hover { color: #ffffff; text-decoration: underline; }
.footer h3 { color: #ffffff; font-size: 18px; }
.footer ul { padding: 0 0 0 20px; margin: 0; }
.footer > .inner { width: 990px; margin: 0 auto; position: relative; padding: 20px 0; }
.footer > .inner .footer-parts { width: 100%; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: stretch; justify-items: stretch; }
.footer > .inner .footer-parts .footer-part { width: 25%; flex: 1 0 auto; padding: 20px; box-sizing: border-box; }

/* hlavička */
#header { height: 106px; width: 100%; background: url('images/bg-menu.png') center 31px scroll no-repeat transparent; color: #ffffff; position: fixed; top: 0; z-index: 100; border-bottom: 1px solid #702350; }
.header-content { max-width: 960px; margin: 0 auto; position: relative; width: 100%; box-sizing: border-box; }

.top-line { height: 30px; position: relative; width: 100%; color: #ffffff; overflow: hidden; background: #3F393D; /*#702350*/ border-bottom: 1px solid #702350; line-height: 30px; font-size: 13px; }
.top-line > .inner { width: 960px; margin: 0 auto; position: relative; }
.top-line a { color: #ffffff; text-decoration: none; }
.top-line a:hover { text-decoration: underline; }
.top-line .external-menu { float: left; }
.top-line .external-menu ul { margin: 0; padding: 0; list-style: none; }
.top-line .external-menu ul li { margin: 0; padding: 0; list-style: none; display: inline-block; }
.top-line .external-menu ul li a { display: block; padding: 0 6px; }
.top-line .top-contacts { float: right; }
.top-line .top-contacts > span { background: transparent no-repeat scroll 13px center; padding: 0 8px 0 34px; }
.top-line .top-contacts .address { background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22white%22%20d=%22M7.999,0.817c-2.638,0-4.776,2.037-4.776,4.551s2.089,5.432,4.776,9.814c2.688-4.383,4.778-7.301,4.778-9.814S10.641,0.817,7.999,0.817z%20M7.997,7.106c-1.072,0-1.942-0.85-1.942-1.894c0-1.047,0.871-1.896,1.942-1.896c1.074,0,1.948,0.85,1.948,1.896C9.945,6.257,9.071,7.106,7.997,7.106z%22/%3E%3C/svg%3E"); }
.top-line .top-contacts .email { background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22white%22%20d=%22M5.097,8.465L1,5.544v6.723L5.097,8.465z%20M14.964,4.188H1.048l6.953,4.957L14.964,4.188z%20M9.949,9.146L8,10.535L6.047,9.145l-5.031,4.668h13.959L9.949,9.146z%20M10.901,8.47L15,12.274V5.552L10.901,8.47z%22/%3E%3C/svg%3E"); }
.top-line .top-contacts .phone { background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22white%22%20d=%22M11.323,14.62c-0.86,0.409-2.864,1.611-6.096-4.996C2.022,3.071,4.166,2.053,4.956,1.622C4.975,1.611,6.11,1.025,6.112,1.024l1.916,3.918L6.886,5.532C5.683,6.207,8.185,11.323,9.417,10.7c0.047-0.024,1.128-0.579,1.131-0.581l1.933,3.904C12.477,14.026,11.39,14.587,11.323,14.62z%22/%3E%3C/svg%3E"); }


.menu { text-align: right; text-transform: uppercase; font-family: arial, sans-serif; font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.menu ul { padding: 0; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; justify-content: stretch; }
.menu ul,
.menu ul li { list-style: none; margin: 0; }
.menu ul li { flex: 0 0 auto; display: block; padding: 0 6px; margin: 0; background-image: none; }
.menu ul li a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ffffff; text-decoration: none; padding: 4px; text-align: center; }
.menu ul li a, .menu ul li a:hover, .menu ul li a:visited, .menu ul li a:focus { color: #ffffff; text-decoration: none; }
.menu ul li a:hover, .menu ul li a:focus { text-decoration: underline; }
.menu ul li a.active { font-weight: bold; }
.menu ul li.fb { padding: 0 0 0 10px; display: none; }
.menu ul li.fb a { background: url('images/facebook-menu.png') scroll center center no-repeat transparent; width: 32px; height: 32px; padding: 0; text-indent: 50em; text-decoration: none; color: transparent; overflow: hidden; }
.menu ul li.basket { padding: 0 0 0 10px; }
.menu ul li.basket a { background: url('images/basket-menu.png') scroll center center no-repeat transparent; width: 32px; height: 32px; padding: 0; text-indent: 50em; text-decoration: none; color: transparent; overflow: hidden; }

.header-content { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; justify-content: stretch; padding-top: 9px; }
.header-content > .logo { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.header-content > .logo img { max-width: 250px; }
.header-content > .logo h1 { margin: 0; padding: 0; }
.header-content > .menu { flex: 0 0 auto; margin-left: auto; }
.header-content > .basket-top { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 10px; }
.header-content > .basket-top a { position: relative; text-decoration: none; color: #ffffff; display: flex; flex-direction: row; align-items: center; justify-content: stretch; flex-wrap: nowrap; }
.header-content > .basket-top a .basket-ico { flex: 0 0 auto; background: url('images/basket-menu.png') scroll center center no-repeat transparent; width: 32px; height: 32px; padding: 0; text-indent: 50em;  color: transparent; overflow: hidden; display: block; }
.header-content > .basket-top a .items-cnt { background: #ff0000; border-radius: 50%; color: #fff; text-align: center; font-size: 11px; width: 20px; height: 20px; position: absolute; top: 15px; left: 26px; line-height: 20px;  }
.header-content > .basket-top a .basket-text { flex: 0 0 auto; display: block; color: #fff; font-size: 12px; padding-left: 24px; padding-right: 10px; }
.header-content > .fb { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 10px;  }
.header-content > .fb a { background: url('images/facebook-menu.png') scroll center center no-repeat transparent; width: 32px; height: 32px; padding: 0; text-indent: 50em; text-decoration: none; color: transparent; overflow: hidden; }

#menu-switch { display: none; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center;  cursor: pointer; padding-left: 10px; }
#menu-switch > div { flex: 0 0 auto; background: url("images/menu.png") center center no-repeat scroll transparent; width: 40px; height: 40px; cursor: pointer; }
@media only screen and (max-width: 1000px) {
    .header-content { padding-left: 10px; padding-right: 10px; padding-top: 14px; }
    .header-content > .fb { display: none; }
    /*.header-content > .basket-top a .basket-text { padding-right: 20px; }*/
    .header-content > .menu {display: none; }
    .header-content > .menu ul li.fb {display: block; }
    .header-content > .basket-top { margin-left: auto; }
    #menu-switch { display: flex; }
    #header { background: url(images/bg-menu.png) center scroll no-repeat transparent;background-size: auto 128px;height: 84px; }
    .header-content > .menu {position: absolute; top: 85px; right: 0; width: 230px; height: auto; padding: 10px 0 30px 0; background-color: #702350; }
    .menu ul { flex-direction: column; width: 100%; }
    .menu ul li {width: 100%; box-sizing: border-box;  }
    .menu ul li a { text-align: left; padding: 10px 12px;display: block; }
    .menu ul li.fb { padding: 12px 12px 0 12px; text-align: center; }
    .menu ul li.fb a { /*margin-left: auto; margin-right: auto; */}
}
@media only screen and (max-width: 850px) {
    /*.header-content > .menu { left: 0; right: auto; }
    .header-content > .logo { left: 530px;  }*/
}
@media only screen and (max-width: 630px) {
    .header-content > .logo img { max-width: 210px; }
}
@media only screen and (max-width: 480px) {
    .header-content > .basket-top a { padding-right: 20px; }
    .header-content > .basket-top a .basket-text { display: none; }
}
@media only screen and (max-width: 400px) {
    .header-content > .logo img { max-width: 180px; }
}



/*body.simple .menu { display: none; }
body.simple #mother>.block>.inner, body.simple { background: #ffffff; }
body.simple #mother>.block { width: auto; }
body.simple .top-line { display: none; }
body.simple #header { height: 77px; background-position: top center; } */

body.simple.popup .menu { display: none; }
body.simple.popup #mother>.block>.inner, body.simple { background: #ffffff; }
body.simple.popup #mother>.block { width: auto; }
body.simple.popup .top-line { display: none; }
body.simple.popup #header { height: 77px; background-position: top center; }

    /* block1 - úvod */
.block1 { background: /*url('images/slide1.jpg') no-repeat center top scroll*/ transparent; height: 530px; }
/* slide2 - obchod */
.block2 { background: url('images/bg-e-shop.png') no-repeat center top scroll transparent; }
.block2b { background: transparent; }
/* slide3 - degustace */
.block3 { background: url('images/bg-degustace.jpg') no-repeat center top scroll transparent; height: 884px; }
/* slide4 - kontakty */
/*.block4 { min-height: 884px; }*/
/* slide5 - galerie */
/* slide6 - aktuality */
.block6 { background: url('images/bg-aktuality.jpg') no-repeat center top scroll transparent; height: 884px; }
/* blok8 - obchodní podmínky */
.block8 {  }

/* úvod */
#o-nas .slide { position: relative; width: 100%; float: left; height: 530px; }
#o-nas .slide>.inner { width: 990px; margin: 0 auto; position: relative; }
#o-nas .slide .text-content-outer { width: 606px; height: 268px; background: #ffffff; position: absolute; left: 250px; top: 250px; overflow: hidden; }
#o-nas .slide .text-content { padding: 20px 33px; }
#o-nas .slide .text-content h2 { margin: 0; }

#o-nas .slide1 { background: url('images/slide1a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide1 .text-content-outer { left: 383px; top: 163px; height: 296px; }
#o-nas .slide2 { background: url('images/slide2a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide2 .text-content-outer { left: 18px; top: 169px; height: 284px; }
#o-nas .slide3 { background: url('images/slide3a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide3 .text-content-outer { left: 18px; top: 96px; height: 312px; }
#o-nas .slide4 { background: url('images/slide4a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide4 .text-content-outer { left: 366px; top: 53px; height: 268px; }
#o-nas .slide5 { background: url('images/slide5a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide5 .text-content-outer { left: 368px; top: 175px; height: 275px; }
#o-nas .slide6 { background: url('images/slide6a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide6 .text-content-outer { left: 368px; top: 142px; height: 258px; }
#o-nas .slide7 { background: url('images/slide7a.jpg') no-repeat scroll top center transparent; }
#o-nas .slide7 .text-content-outer { left: 25px; top: 185px; height: 258px; }

/*#o-nas .slide { background-size: 100%; }*/
#o-nas .bx-wrapper { margin: 0; }
#o-nas .bx-wrapper .bx-viewport { border: none; box-shadow: none; left: 0; background: transparent; }
#o-nas .bx-wrapper .bx-controls { margin: 0 auto; position: relative; width: 990px; }
#o-nas .bx-wrapper .bx-pager { bottom: 30px; text-align: right; }
#o-nas .bx-wrapper .bx-pager a { overflow: hidden; text-indent: 50px; width: 20px; height: 20px; background: url('images/dot.png') no-repeat scroll center center transparent; }
#o-nas .bx-wrapper .bx-pager a.active { background: url('images/dot-selected.png') no-repeat scroll center center transparent; }
#o-nas .bx-wrapper .bx-controls-direction { /*margin: 0 auto; position: relative; width: 990px;*/ width: 100%; position: relative; }
#o-nas .bx-wrapper .bx-controls-direction a { top: -340px; z-index: 99; }
#o-nas .bx-wrapper .bx-prev { left: -95px; background: url('images/arrow-left.png') no-repeat scroll center center transparent; width: 60px; height: 60px; }
#o-nas .bx-wrapper .bx-next { right: -95px; background: url('images/arrow-right.png') no-repeat scroll center center transparent; width: 60px; height: 60px; }

/*
#o-nas.alt.block1 { height: 884px; }
#o-nas.alt .slide { height: 884px; }
#o-nas.alt .slide1 { background: url('images/slide1.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide1 .text-content-outer { left: 383px; top: 466px; height: 296px; }
#o-nas.alt .slide2 { background: url('images/slide2.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide2 .text-content-outer { left: 18px; top: 489px; height: 284px; }
#o-nas.alt .slide3 { background: url('images/slide3.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide3 .text-content-outer { left: 18px; top: 96px; height: 312px; }
#o-nas.alt .slide4 { background: url('images/slide4.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide4 .text-content-outer { left: 366px; top: 97px; height: 268px; }
#o-nas.alt .slide5 { background: url('images/slide5.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide5 .text-content-outer { left: 368px; top: 485px; height: 275px; }
#o-nas.alt .slide6 { background: url('images/slide6.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide6 .text-content-outer { left: 368px; top: 142px; height: 258px; }
#o-nas.alt .slide7 { background: url('images/slide7.jpg') no-repeat scroll top center transparent; }
#o-nas.alt .slide7 .text-content-outer { left: 25px; top: 515px; height: 258px; }
#o-nas.alt .bx-wrapper .bx-controls-direction a { top: -450px; z-index: 99; }
*/

/* degustace */
.block3 .text-content.main { width: 570px; position: absolute; top: 255px; left: 0; max-height: 570px; overflow: auto; }
.block3 .text-content.side { width: 250px; padding: 10px; position: absolute; top: 255px; left: 630px; }

/* aktuality */
.block6 .text-content { width: 958px; top: 80px; left: 0; max-height: 730px; overflow: auto; position: absolute; }
.block6 .text-content.main { width: 570px; }
.block6 .text-content.side { width: 250px; padding: 10px; left: 630px; }
.newslist { }
.newslist .newsitem { position: relative; padding: 6px 0; }
.newslist .newsitem h3 { font-size: 18px; line-height: 22px; margin: 6px 0 0; }
.newslist .newsitem p { margin: 0 0 6px 0; }
.newslist .newsitem p.date { font-size: 12px; margin: 0 0 6px 0; }
#newscont .pager { text-align: right; }

/* kontakty */
.block4 { background: #ffffff; }
.block4 .text-content { padding: 40px 16px; box-sizing: border-box; width: 100%; }
.block4 .map { width: 100%; }
.map iframe { width: 100%; display: block; }
/*#mother>.block4>.inner { margin-top: -580px; }*/

/* blok8 - obchodní podmínky */
.block8 { padding: 30px 0; }


/* fotogalerie */
.block5 { padding-top: 30px; }
.gallery { padding: 30px 0; }
.gallery a { margin: 0; padding: 0; display: block; text-align: center; float: left; width: 247px; height: 164px; position: relative; }
.gallery a img { border: none; width: 100%; }
.gallery a>span { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('images/gallery-hover.png') right bottom scroll no-repeat transparent; text-align: center; color: #ffffff; overflow: hidden; }
.gallery a:hover>span { display: table; }
.gallery a>span span { display: table-cell; vertical-align: middle; text-align: center; padding: 10px; }
/* galerie - homepage */
#galerie .gallery a { width: 256px; height: 170px; }

/* eshop - akční zboží */
#eshop .product-slider { margin-top: 10px; overflow: hidden; padding-top: 30px; }
#eshop .slide { position: relative; width: 100%; margin-top: -10px; height: 375px; padding-top: 10px; color: #ffffff; } /* 345 */
#eshop .slide .image { width: 200px; left: 190px; top: -10px; position: absolute; height: 365px; text-align: center; overflow: hidden; }
#eshop .slide .info { width: 560px; position: absolute; right: 0; top: 40px; overflow: hidden; }
#eshop .slide .info h2 { margin: 0; font-weight: 600; font-family: 'Open Sans', arial, sans-serif; font-size: 50px; line-height: 60px; text-align: right; background: transparent; color: #ffffff; }
#eshop .slide .info h2 a, #eshop .slide .info h2 a:focus, #eshop .slide .info h2 a:hover, #eshop .slide .info h2 a:visited { color: #ffffff; text-decoration: none; }
#eshop .slide .info h2 a:focus, #eshop .slide .info h2 a:hover { text-decoration: underline; }
#eshop .slide .info .subtitle { margin: 0; font-weight: 300; font-family: 'Open Sans', arial, sans-serif; font-size: 38px; line-height: 44px; text-align: right; }
#eshop .slide .info hr { background: url("images/bg-h2.png") no-repeat scroll right bottom transparent; height: 2px; padding: 0; margin: 8px 0 24px 0; /*width: 400px;*/ border: none; }
#eshop .slide .info p { font-family: arial, sans-serif; font-size: 16px; line-height: 24px; text-align: right; margin: 8px 0; }
#eshop .slide .info p.buy { padding: 0; height:  60px; line-height: 60px; margin-top: 40px; }
#eshop .slide .info p.buy a { padding: 16px 40px; background: #ffffff; color: #702350; text-decoration: none; font-size: 20px; line-height: 20px;  }
#eshop .bx-wrapper .slide img { width: auto; display: inline; }
#eshop .bx-wrapper { margin: 0; }
#eshop .bx-wrapper .bx-viewport { border: none; box-shadow: none; left: 0; background: transparent; }
#eshop .bx-wrapper .bx-controls { margin: 0 auto; position: relative; width: 990px; }
#eshop .bx-wrapper .bx-controls-direction { width: 100%; position: relative; }
#eshop .bx-wrapper .bx-controls-direction a { top: -200px; z-index: 99;}
#eshop .bx-wrapper .bx-prev { left: -95px; background: url('images/arrow-left.png') no-repeat scroll center center transparent; width: 60px; height: 60px; }
#eshop .bx-wrapper .bx-next { right: -95px; background: url('images/arrow-right.png') no-repeat scroll center center transparent; width: 60px; height: 60px; }
.block2 .products-page { margin-top: 30px; }
.block2b .products-page { margin-top: 30px; }
#eshop .slide .image { transform: rotate(10deg); -webkit-transform: rotate(10deg); -moz-transform: rotate(10deg); -o-transform: rotate(10deg); -ms-transform: rotate(10deg); height: 385px; }

/* eshop - seznam výrobků */
.productlist { margin: 20px 0; }
.productlist .product { width: 281px; height: 137px; padding: 20px 23px 14px 23px; margin: 0 3px 8px 0; float: left; overflow: hidden; background: #ffffff; } /* 327x171 */
.productlist .product .img { width: 77px; height: 100%; text-align: center; float: left; }
.productlist .product .info { width: 204px; height: 100%; text-align: right; float: right; overflow: hidden; position: relative; }
.productlist .product .info h3 { margin: 0; font-weight: 600; font-family: 'Open Sans', arial, sans-serif; font-size: 20px; line-height: 26px; text-align: right; background: transparent; height: 28px; overflow: hidden; }
.productlist .product .info .subtitle { margin: 0; font-weight: 300; font-family: 'Open Sans', arial, sans-serif; font-size: 14px; line-height: 16px; text-align: right; }
.productlist .product .info hr { background: url("images/bg-h2.png") no-repeat scroll right bottom transparent; height: 4px; margin: 4px 0 6px 0; width: 167px; border: none; float: right; }
.productlist .product .info p { font-family: arial, sans-serif; font-size: 12px; line-height: 16px; text-align: right; margin: 8px 0; height: 38px; overflow: hidden; width: 100%; }
.productlist .product .info p.buy { padding: 0; height:  auto; line-height: 28px; margin-top: 10px; }
.productlist .product .info p.buy .plusminus { display: inline-block; }
.productlist .product .info p.buy .plusminus .amount-minus,
.productlist .product .info p.buy .plusminus .amount-plus { display: inline-block; width: 16px; background: #702350; color: #ffffff; text-align: center; font-weight: 700; cursor: pointer; }
.productlist .product .info p.buy .plusminus input[type=text],
.productlist .product .info p.buy .plusminus input[type=number] { display: inline-block; width: 27px; border-radius: 0; height: 28px; box-sizing: border-box; padding: 8px 2px; text-align: center; }
.productlist .product .info p.buy .plusminus input[type=number] { width: 60px; }
.productlist .product .info p.buy a { display: block; width: 122px; text-align: center; background: #702350; color: #ffffff; text-decoration: none; font-size: 14px; line-height: 28px; height: 28px; float: right; }
.productlist .product .info p.buy button { margin-left: 4px; display: block; width: 122px; text-align: center; background: #702350; color: #ffffff; text-decoration: none; font-size: 14px; line-height: 28px; height: 28px; float: right; border: none; }
#pagerbottom { margin: 4px 22px 10px 0; text-align: right; float: right; }
.strankovani { font-size: 14px; line-height: 20px; }
.strankovani>span { display: block; float: left; width: 24px; height: 20px; text-align: center; margin-right: 4px; }
.strankovani>span a { text-decoration: none; width: 100%; height: 100%; text-align: center; color: #702350; display: block; }
.strankovani>span a.selected { color: #ffffff; background: #702350; }
.strankovani>span a:hover { text-decoration: underline; }

/* eshop - detail výrobku */
.productdetail { margin: 20px 0; }
.productdetail .product { padding: 20px 23px 14px 23px; margin: 0 3px 8px 0; background: #ffffff; font-size: 14px; line-height: 18px; }
.productdetail .product .img { width: 350px; height: 100%; text-align: center; float: left; }
.productdetail .product .img  img { max-width: 350px; }
.productdetail .product .info { width: 520px; text-align: left; float: right; overflow: hidden; position: relative; }
.productdetail .product .info h3 { margin: 0; font-weight: 600; font-family: 'Open Sans', arial, sans-serif; font-size: 32px; line-height: 36px; text-align: left; background: transparent; }
.productdetail .product .info .subtitle { margin: 0; font-weight: 300; font-family: 'Open Sans', arial, sans-serif; font-size: 20px; line-height: 32px; text-align: left; }
.productdetail .product .info hr { background: url("images/bg-h2.png") no-repeat scroll right bottom transparent; height: 4px; margin: 4px 0 6px 0; width: 95%; border: none; float: left; }
.productdetail .product .info hr:after { clear: left; }
.productdetail .product .info p { font-family: arial, sans-serif; text-align: left; margin: 8px 0; height: 38px; }
.productdetail .product .info p.buy { padding: 0; height:  40px; line-height: 40px; margin: 20px 0; }
.productdetail .product .info p.buy .plusminus { display: inline-block; box-sizing: border-box; line-height: 39px; }
.productdetail .product .info p.buy .plusminus .amount-minus,
.productdetail .product .info p.buy .plusminus .amount-plus { display: inline-block; width: 20px; background: #702350; color: #ffffff; text-align: center; font-weight: 700; cursor: pointer; }
.productdetail .product .info p.buy .plusminus input[type=text],
.productdetail .product .info p.buy .plusminus input[type=number] { display: inline-block; width: 27px; border-radius: 0; height: 40px; box-sizing: border-box; padding: 8px 2px; text-align: center; }
.productdetail .product .info p.buy .plusminus input[type=number] { width: 60px; }
.productdetail .product .info p.buy a { display: block; width: 170px; text-align: center; background: #702350; color: #ffffff; text-decoration: none; font-size: 16px; line-height: 40px; height: 40px; float: right; }
.productdetail .product .info p.buy button { margin-left: 6px; display: inline-block; width: 170px; text-align: center; background: #702350; color: #ffffff; text-decoration: none; font-size: 16px; line-height: 40px; height: 40px; border: none; box-sizing: border-box; }
.productdetail .product .description { font-family: arial, sans-serif; width: 520px; text-align: left; float: right; overflow: hidden; position: relative; clear: right; padding-top: 20px; }
.productdetail .product .description table.params { float: right; margin: 0 0 10px 20px; }
.productdetail .product .description table.params tr {}
.productdetail .product .description table.params th { background: #FFFFFF; color: #702350; padding-right: 20px; font-weight: normal; }
.productdetail .product .description table.params td { padding: 8px 20px; }

/* eshop - košík */
table.basket { width: 100%; border: 0; }
.basket .productname { font-weight: bold; color: #702350; }
.basket td.number { text-align: center; }
.basket td.number input[type=text] { width: 50px; text-align: center; }
.basket td.price { text-align: right; }
.basket tfoot td, .basket tfoot tr, .basket tfoot th,
.basket tbody td, .basket tbody tr, .basket tbody th { border: none; }
.basket tbody td, .basket tfoot td, .basket tfoot th { border-bottom: 1px dashed lightgray; }
.basket tfoot tr:last-child td, .basket tfoot tr:last-child th { border-bottom: none; }
.basket tfoot th { text-align: left; background: #ffffff; color: #4A4A4A; }
.basket thead td { background: #702350; color: #ffffff; }
.basket tfoot td.price strong, .basket tfoot th { font-size: 16px; }
.basket td.ce { text-align: center; width: 20px; }
p.buttons { text-align: right; }
fieldset.customer p>span { display: block; /*float: left; width: 165px; */}
fieldset.customer p { margin: 8px 0; }
#checkout textarea { width: 50%; }
#checkout h2 { padding-bottom: 0; background: transparent; font-size: 28px; margin-top: 20px; padding-top: 4px; }
#checkout h3 { font-size: 24px; }
#checkout h4 { font-size: 20px; }
.basket-info { width: 430px; float: none; height: 27px; line-height: 27px; font-size: 12px; color: #541439; text-align: left; margin-bottom: 20px; }
.basket-info.basket-info-bottom { margin-bottom: 20px; }
.basket-info.basket-info-top { margin-top: 20px; }
.basket-info a.basket-link { background: url('images/basket.png') left center scroll no-repeat transparent; width: 54px; height: 27px; color: #ffffff; text-decoration: none; text-align: center; display: block; float: left; margin-right: 12px; }

/* vyskakovací stránka */
#pp_full_res { background: url('images/loading.png') scroll no-repeat center center transparent; }

.break { clear: both; display: block; width: 80%; }

/* hlášení */
p.report { border: 1px #A0C856 solid; padding: 12px; text-align: left; background-color: #CDF9BC; }
p.report.error { border-color: #FF8D9A; background: #F9BDBD; }
p.report.info { border-color: #A0C856; background: #CDF9BC; }
p.report.warning { border-color: #E9D757; background: #FFEC93; }

/* Icons */
#files ul.ico { margin: 0; padding: 0; line-height: 1.6em; list-style: none; background: none; }
#files ul.ico li, #files .ico { padding: 0 0 0.5em 23px; }
#files ul.ico li { background-repeat: no-repeat; list-style: none; }
#files ul.ico li span { font-size: 92%; }
#files li.ico { background: url("ico/noname.gif") no-repeat 0 0; padding-bottom: 5px; }
#files li.ico-pdf { background-image: url("ico/pdf.gif"); }
#files li.ico-doc { background-image: url("ico/doc.gif"); }
#files li.ico-xls { background-image: url("ico/xls.gif"); }
#files li.ico-jpg, #files .ico-jpeg { background-image: url("ico/jpg.gif"); }
#files li.ico-gif { background-image: url("ico/gif.gif"); }
#files li.ico-rss { background-image: url("ico/rss.png"); }

/* pairbox */
.pairbox-style1 { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; align-content: stretch; justify-content: space-between; }
.pairbox-style1 > .pairbox-part1 { flex: 0 0 auto; width: 48%; order: 1; }
.pairbox-style1 > .pairbox-part2 { flex: 0 0 auto; width: 48%; order: 2; }
.pairbox-style2 { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; align-content: stretch; justify-content: space-between; }
.pairbox-style2 > .pairbox-part1 { flex: 0 0 auto; width: 48%; order: 2; }
.pairbox-style2 > .pairbox-part2 { flex: 0 0 auto; width: 48%; order: 1; }
@media only screen and (max-width: 900px) {
    .pairbox-style1 { flex-wrap: wrap; }
    .pairbox-style1 > .pairbox-part1,
    .pairbox-style1 > .pairbox-part2 { width: 100%; }

    .pairbox-style2 { flex-wrap: wrap; }
    .pairbox-style2 > .pairbox-part1 { width: 100%; order: 1; }
    .pairbox-style2 > .pairbox-part2 { width: 100%; order: 2; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Image replacement */
.ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: -9999px; }
.ir:before { content: ""; display: block; width: 0; height: 150%; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Clearfix: contain floats */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media only screen and (max-width: 990px) {
    #header>.content { position: static; }
}


@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
    #mother>.block>.inner,
    #header>.content,
    #o-nas .slide>.inner { /*width: 990px;*/ width: 100%; }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited { text-decoration: underline; }
    a[href]:after { content: " (" attr(href) ")"; }
    abbr[title]:after { content: " (" attr(title) ")"; }

    /* Don't show links for images, or javascript/internal links */
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }

    pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    thead { display: table-header-group; }
    tr, img { page-break-inside: avoid; }
    img { max-width: 100% !important; }

    @page { margin: 0.5cm; }

    p, h2, h3 { orphans: 3; widows: 3; }
    h2, h3 { page-break-after: avoid; }
}

/*pedro styeles */
.footimg {
    text-align: center;
    background: #350d2c;
    padding: 10px 0 10px 0;
}
