/* Pismo Bai Jamjuree (licence SIL OFL) - hostovano lokalne misto Google Fonts */
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/bai-jamjuree-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/bai-jamjuree-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bai-jamjuree-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bai-jamjuree-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --mainBlack: #000;  /* hlavni cerna barva */
    --mainBlackOver: #191919;  /* hlavni cerna barva */
    --mainWhite: #fff;  /* hlavni bila barva */
    --mainWhite05: rgba(119,136,153,0.5); /* bila 50% */
    --mainWhite02: rgba(119,136,153,0.2); /* bila 20% */
    --mainWhite01: rgba(119,136,153,0.1); /* bila 10% */
    --mainColor: #355679;  /* hlavni modra barva */
    --mainColorOver: #304d6c;  /* hlavni modra barva */ 
    --mainContrast: #111111; /* zluta */     
    --mainBlue: #8abdef;  /* hlavni modra barva */
    --mainBlueOver: #6d9ecf;  /* hlavni modra barva */ 
} 

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	margin: 0;
	padding: 0;
    border: none;
}

html.js .os-animation{opacity: 0}
html.js .os-animation.animated{opacity: 1}

.animateCL{-webkit-transition:color 500ms ease;-moz-transition:color 500ms ease;-ms-transition:color 500ms ease;-o-transition:color 500ms ease;transition:color 500ms ease;}
.animateBG{-webkit-transition:background 500ms ease;-moz-transition:background 500ms ease;-ms-transition:background 500ms ease;-o-transition:background 500ms ease;transition:background 500ms ease;}

ul { list-style: none; }

body { display: flex; min-height: 100vh; flex-direction: column; color: #111111; background: #fff; font-weight: 300; font-family: 'Bai Jamjuree', Arial, Verdana, Tahoma; font-size: 100%; width: 100%; text-align: center; overflow-x:hidden;  }

#topstripe { background: #355678; color: #ffffff; }
header #topstripe .inbox { padding: 1em; }
#topstripe a { color: #ffffff; text-decoration: none; margin-left: 15px; font-weight: 900; }

#search { color: #ffffff; background: #1f3246; }
#search form { display: flex; align-items: center; gap: 1rem; margin: 0 auto; max-width: 80em; padding: 1rem; }
#search form button { background: transparent; color: #fff; padding: 0.5rem; font-size: 105%; cursor: pointer; }

header { background: #ffffff; }
header .inbox { padding: 1em; display: flex; flex-direction: column; }
  header { margin: 0; }
    
    header #logo { order: 1; }      
    header #logo img { max-width: 250px; }      
    
    header form { display: flex; padding: 1.5rem 0 0.5rem 0; }
    header label { display: none; }
    header input[type="text"] {  }
    header button { background: transparent; padding: 1rem; cursor: pointer; }
    header button i { color: var(--mainWhite); }
    
    header #toplinks { order: 3; position: absolute; top: 180px; right: 10px; font-size: 20px;  color: var(--mainColor); cursor: pointer; }
    header #toplinks a { margin-left: 20px; }
    header #toplinks a { text-decoration: none; color: var(--mainColor); }
    header #toplinks .fa {  }
    header #toplinks a em.num { position: absolute; width: 20px; height: 20px; z-index: 100; top: -10px; left: 55px; background: red; color: #fff; border-radius: 50%; text-align: center; font-style: normal; font-size: 16px; }
    header #toplinks a em.bprice { padding-left: 5px; }

    nav { order: 2; position: relative; }
    nav .inbox { padding: 0; position: relative; }
    html.js nav ul { display: none; }
    nav ul { text-align: left; }
    nav ul li { display: block; }
    nav ul li a { display: block; padding: 1em 0; font-size: 100%; font-weight: 700; text-decoration: none; color: #111; border-top: 1px solid rgba(0,0,0,0.2);  position: relative; transition: all 350ms ease; }
    nav ul li a:hover, nav ul li.over a { color: var(--mainBlue); background: rgba(255,255,255,0.15); text-decoration: none; }

    #menucloser { display: none; }
    html.js #menucloser { display: block; width: 50px; height: 50px; margin: 1em; cursor: pointer; position: relative; } 
    html.js #menu { display: none;  }
    #menucloser span { display: block; vertical-align: middle; width: 30px; height: 2px; position: absolute; background: #355678; text-decoration: none; -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; transition: all 250ms ease; }
    #menucloser span:first-child { top: 15px; left: 10px; }
    #menucloser span:nth-child(2) { top: 25px; left: 10px; }
    #menucloser span:last-child { top: 35px; left: 10px; }
    
    #menucloser.close span:first-child { top: 25px; left: 10px; transform: rotate(45deg); }
    #menucloser.close span:nth-child(2) { opacity: 0; }
    #menucloser.close span:last-child { top: 25px; left: 10px; transform: rotate(-45deg); }
    
  .inbox { padding: 2em; margin: 0 auto; width: 100%; }

  #sliderhp { display: flex; align-items: center; color: #ffffff; background: #6a8fb4 url('../images/bgslider.webp') center no-repeat; background-size: cover; min-height: 615px; }
  #sliderhp .innerbox { max-width: 600px; padding: 1rem 2rem; }
  #sliderhp h1 { color: #fff; font-weight: 900; max-width: 500px; font-size: 3rem; line-height: 1; }

  #subheader { color: #ffffff; background: #6a8fb4 url('../images/bgslider.webp') center no-repeat; background-size: cover; }
  #subheader h1 { color: #fff; font-weight: 900; }

  #aboutushp { color: #fff; background: #355678; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; }
  #aboutushp > div { flex-basis: 100%; padding: 2rem; }
  #aboutushp .ilubox { width: 100%; background: url('../images/aboutus.jpg') center no-repeat; background-size: cover; min-height: 350px; }
  #aboutushp .innerbox p { max-width: 650px; line-height: 1.8; }

  #guidehp { margin: 15px auto 30px auto; }
  #guidehp .inbox .row { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
  #guidehp a { flex-basis: 100%; text-decoration: none; background: #ccc; }
  #guidehp a.horniny { background: url('../images/guide-horniny.jpg') center no-repeat; background-size: cover; }
  #guidehp a.fosilie { background: url('../images/guide-fosilie.jpg') center no-repeat; background-size: cover; }
  #guidehp a.mineraly { background: url('../images/guide-mineraly.jpg') center no-repeat; background-size: cover; }
  #guidehp a.ostatni { background: url('../images/guide-ostatni.jpg') center no-repeat; background-size: cover; }
  #guidehp a.novevlozene { background: url('../images/guide-novevlozene.jpg') center no-repeat; background-size: cover; }
  #guidehp a span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; color: #fff; transition: 350ms all ease; }
  #guidehp a:hover span { background: rgba(0,0,0,0.3); }
  #guidehp a strong { font-size: 200%; font-weight: 900; }
  #guidehp a em { font-style: normal; font-size: 95%; background: #fff; color: var(--mainColor); padding: 10px 20px; margin-top: 10px; border-radius: 25px; }

  /* SLider HP */
  .sliderbox { display: flex; flex-direction: column; }
  .slidertext { margin-bottom: 30px; }
  .slidertext p.title { color: var(--mainColor); font-weight: 900; font-size: 235%; padding-bottom: 0; line-height: 1; }
  .slidertext p.text { }
  .slidertext p.slidercontrols { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 10px; }
  .slidertext p.slidercontrols span a { display: block; text-decoration: none; border: 1px solid var(--mainColor); color: var(--mainColor); border-radius: 50%; width: 40px; height: 40px; text-align: center; padding-top: 4px; font-size: 20px; font-weight: 700; transition: 350ms all ease; }
  .slidertext p.slidercontrols span a:hover { color: #fff; background: var(--mainColor); }

  .slider .item p { padding: 0 0 5px 0; }

  #main { display: flex; flex: 1; flex-direction: column; }
    
  .news { text-align: center; }
  .news.newshp { background: rgba(119,136,153,0.05); border: 1px solid rgba(119,136,153,0.1); padding: 2em 0; }
  .news h2 { font-size: 220%; text-transform: uppercase; }   
  .news .newsitems .item { max-width: 400px; margin: 0 auto; color: rgba(0,0,0,0.75); text-align: left; }
  .news .newsitems .item a { text-decoration: none; font-size: 120%; color: var(--mainBlue); display: block; line-height: 1.1; margin-bottom: 1rem; font-weight: 700; }
  .news .newsitems .item a:hover { color: var(--mainBlueOver); text-decoration: underline; }
  .news .newsitems .item span.date { font-weight: 700; }
  .news .newsitems .item span { font-size: 95%; }
  .news a.more { background: var(--mainBlue); color: var(--mainWhite); padding: 1rem; margin-top: 2rem; display: inline-block; text-decoration: none; }
  .news a.more:hover { background: var(--mainBlueOver); }
  
  p { padding: 1em 0; }
  
  #main ul { margin: 5px 0 5px 15px; }
  #main li { list-style-type: square; padding: 5px 0 5px 10px; }
    
  h1 { font-size: 150%; padding: 0 0 0.25em 0; font-weight: 400; color: var(--mainContrast); }
  h2 { font-size: 125%; padding: 0.5em 0;font-weight: 700; }
  h3 { font-size: 110%; padding: 0.5em 0; font-weight: 700; color: var(--mainColor); }
  
  h1 + h2 {  }
  
  a { color: var(--mainContrast); text-decoration: underline; transition: all 350ms ease; }
  a:hover { text-decoration: none; }

  #prefooter { text-align: left; background:#304d6c; color: #ffffff; }
  #prefooter .inbox { display: flex; flex-direction: column; gap: 30px; } 
  #prefooter .inbox div { display: flex; flex-wrap: nowrap; align-items: center; }
  #prefooter .inbox div span.fa { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-right: 15px; font-size: 24px; background: #1f3246; }
  #prefooter a { color: #fff; text-decoration: none; }

  #extrafooter { text-align: left; background:#355679; color: #ffffff; }
  #extrafooter .inbox { display: flex; flex-direction: column; gap: 30px; } 
  #extrafooter p.title { font-size: 115%; text-transform: uppercase; }
  #extrafooter a { color: #ffffff; }
  #extrafooter a.akabutton { font-size: 0.95rem; }
  #extrafooter li { padding: 5px 0 5px 15px; background: url('../images/smallarrow.png') left no-repeat; } 
  #extrafooter form { display: flex; gap: 0.5rem; align-items: center; }
  #extrafooter button { background: transparent; color: #fff; padding: 0.5rem; cursor: pointer; }

  footer { background: #355679; color: #ffffff; }
  footer .footerboxes div { padding: 2em 0; }
  footer .footerboxes div:last-child { padding-bottom: 0; } 
  footer a { color: #ffffff; }
  
  footer h4 { text-transform: uppercase; }
  footer ul { margin: 0.5em 0; }
  footer ul li { padding: 0.15em 0; }
                
  .copy { text-align: center; padding: 2em; border-top: 1px solid rgba(255,255,255,0.1); max-width: 80em; margin: 0 auto; }
  
  .reset { display: block; width: 100%; height: 1px; clear: both; overflow: hidden; }
  
  .unpaxbox1, .unpaxbox2, .unpaxbox3 { text-align: left !important; }
   
  #main ul.unpack { margin: 1em auto -1em auto; max-width: 25em; }
  #main ul.unpack li { list-style-type: none; padding: 0 0 2em 0; }
  #main ul.unpack li .question { padding: 0.75em 1.5em; color: var(--mainWhite); background: var(--mainColor); }
  #main ul.unpack li .question em { margin-right: 10px; }
  
  #main ul.unpack .answer { padding: 1.5em 1em 0 1em; }
  #main ul.unpack .answer p { padding: 0.5em 0; }
  
  /* kontakt v modrem boxu */
  .modry .kontaktosoba p { padding-top: 0; }
  
  .center { text-align: center; }
  .right { text-align: right; }
  .left { text-align: left; }
  .floatright { float: right; }
  .floatleft { float: left; }
  .uppercase { text-transform: uppercase; }
  
  .light { color: #778899; }
  strong { font-weight: 900; }
  .red { color: red; }
  
  /*img { max-width: 100%; }*/

  /* seznam kategorii */
  .itemboxes { }
  /* jedna kategorie - box */
  .itembox { border: 1px solid #EAEAEA; padding: 1em; margin: 0.5em; position: relative; transition: all 350ms ease; }
  .itembox:hover { color: var(--mainWhite); background: var(--mainBlue); }
  .itembox h2 { padding: 0; }
  .itembox a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; }

  /* vypis clanku - ruzne items */
  .items {}
  .item.box { margin-bottom: 1em; background: #fff; border: 1px solid #eee; box-shadow: 0 0 10px 0 rgba(0,0,0,0.1); }
  .item.box p { padding: 0; }
  .item.box .addonimage { margin-bottom: -3px; }
  .item.box div { padding: 1em; }
  .item.box div p { padding: 0.25em 0; }
  
  /* rockhshop */
  .items.eshop { display: flex; flex-wrap: wrap; align-items: top; justify-content: center; }
  .items.eshop .item { flex-basis: 100%; padding: 1rem; text-align: center; }
  .items.eshop .item p { padding: 0.25rem 0; }
  .items.eshop .item p.addonimage { position: relative; border-radius: 5px;; }
  .items.eshop .item p.title, .slider p.title { padding: 0.25rem 0; }
  .items.eshop .item p.title a, .slider p.title a { font-weight: 900; color: var(--mainColor); font-size: 24px; text-decoration: none; }
  .items.eshop .item p.distrcode,.slider p.distrcode { font-weight: 700; color: #111; }
  .items.eshop .item p.price, .slider p.price { color: var(--mainBlue); }
  .items.eshop img {  width: 100%; max-width: 300px; }
  
  /* podkategorie menu */
  #main ul.category-menu { padding: 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
  #main ul.category-menu li { flex: 0 1 auto; list-style-type: none !important; padding: 0 !important; }
  #main ul.category-menu a { display: block; padding: 10px 15px; background-color: #f0f0f0; color: #333; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; }
  #main ul.category-menu a:hover { background-color: #e0e0e0; }
  #main ul.category-menu a.active { color: #f0f0f0; background-color: var(--mainColor); }

  /* detail zbozi */
  .product_title { font-size: 175%; font-weight: 700; color: var(--mainColor); padding-bottom: 0; }

   /* cena */
  .price { font-size: 125%; font-weight: 700; }
  .price .nopad { color: var(--mainContrast); }
  
  .productinfo { padding: 1rem 0 0.5rem 0; }
  .productinfo div { padding-bottom: 0.5rem; }
  .productinfo span { color: var(--mainContrast); font-weight: 700; }
  
  .producttext {  }
  .producttext h2 { font-weight: 400; color: var(--mainColor); }
  
  .infoboxik { padding: 55px 1.5rem 0.5rem 1.5rem; margin: 1rem 0 2rem 0; background: #f1f1f1; border: 1px solid #eee; position: relative; font-size: 95%; }
  .infoboxik img { position: absolute; top: -15px; left: calc(50% - 75px); width: 150px; }
  .infoboxik a { color: var(--mainBlue); }
  
  .kosikdetail { display: flex; flex-direction: column; justify-content: center; padding: 0.5em; margin: 0.5em auto; max-width: 25em; background: var(--mainBlue); border-radius: 40px; transition: 350ms ease all; }
  .kosikdetail input[type=text] { margin: 0.25em 7px; font-size: 1.2em; width: 3em; padding: 0.35em; text-align: center; }
  .kosikdetail:hover { background: var(--mainColorOver); }
  .kosikdetail input[type=submit], .kosikdetail input[type=submit]:hover { color: #fff; font-size: 100%; padding: 1em 1.5em; background: transparent; text-transform: uppercase; cursor: pointer; }
  .kosikdetail .hiddeninpt { background: red; display: block; width: 25px; float: left; }  

  /* + - tlacitka v detailu */
  .quantity-wrapper { }
  .quantity-btn { padding: 0 10px; width: 30px; height: 30px; border: 1px solid #ccc; background: #f5f5f5; border-radius: 5px; cursor: pointer; }
  .quantity-btn:hover { background: #ddd; }

  /* progress bar vkosiku - doprava zdarma */
  .free-shipping-progress { margin: 20px 0; font-weight: 700; }
  .progress-bar { width: 100%; height: 20px; background-color: #f0f0f0; border-radius: 3px; overflow: hidden; }
  .progress { height: 100%; background: var(--mainBlue); transition: width 1s ease-in-out; }
  .free-shipping-progress p { margin-top: 10px; text-align: center; }  

  /* photogalerie */
  #photogallery { padding: 1em 0; }
  #photogallery a { text-decoration: none; }
  .galleryitem { display: inline-block; vertical-align: middle; padding: 1em; }
  
  /*imagesbox*/
  .imagesbox { position: relative; } 
  .imagesbox img { max-width: 100%; }  
  
  /* gallerybox */
  .gallerybox { margin-top: -1.4rem; }
  .gallerybox p { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .gallerybox a { width: calc(50% - 10px); }
  .gallerybox img { max-width: 100%; }
 
  /* stitky */
  .label { position: absolute; top: 10px; left: -5px; z-index: 100; display: block; padding: 10px 15px; background: #ccc; font-weight: 900; font-size: 90%; border-radius: 5px;  }
  .imagesbox .label { top: 30px; }
  .label.labelnew { color: #fff; background: #CE161E; }
  .label.labelsaled { color: #fff; background: #735A40; }
  .label.labelreserved { color: #fff; background: #28C115; }

  #pagging { padding-top: 1em; margin-top: 2em; text-align: center; border-top: 1px solid #E1DCD8; }
  #pagging a, #pagging span { font-size: 100%; display: inline-block; padding: 0.2em; }
  #pagging a { color: var(--mainColor); font-weight: 700; }
  #pagging a:hover { color: var(--mainColorOver); }
  
  #breadcrump { color: #fff; opacity: 0.75; }
  #breadcrump p { margin: 0; padding: 0.5rem 0 1rem 0; font-size: 95%; }
  #breadcrump a { color: #fff; }
  
  .tabulka { border: 1px solid #ccc; border-collapse: collapse; width: 95%; }
  .tabulka th, .tabulka td { border: 1px solid #ccc; border-collapse: collapse; padding: 5px 10px; }
  .tabulka th { background: #eee; }
  .tabulka p { margin: 0 !important; padding: 0 !important; }

  /* barevne odlisene boxy */
  .pruhledna { padding: 2em; }
  .seda1, .sedy1 { background: rgba(119,136,153,0.05); border: 1px solid rgba(119,136,153,0.1); padding: 2em; margin-bottom: 1em; }
  .seda2, .seda, .sedy2, .sedy { background: rgba(119,136,153,0.1); border: 1px solid rgba(119,136,153,0.2); padding: 2em; margin-bottom: 1em; }
  .seda3, .sedy3 { background: rgba(119,136,153,0.2); border: 1px solid rgba(119,136,153,0.3); padding: 2em; margin-bottom: 1em; }
  .seda4, .sedy4 { background: rgba(119,136,153,0.65); border: 1px solid rgba(119,136,153,0.75); color: var(--mainWhite); padding: 2em; margin-bottom: 1em; }
  .seda5, .sedy5 { background: rgba(119,136,153,0.80); border: 1px solid rgba(119,136,153,0.9); color: var(--mainWhite); padding: 2em; margin-bottom: 1em; }
  .seda6, .sedy6 { background: rgba(119,136,153,95); border: 1px solid rgba(119,136,153,1); color: var(--mainWhite); padding: 2em; margin-bottom: 1em; }
  .modra, .modry { background: var(--mainBlue); color: var(--mainWhite); padding: 2em; margin-bottom: 1em; }
  .zlata, .zlaty { background: var(--mainColor); color: var(--mainWhite); padding: 2em; margin-bottom: 1em; }
  
  .modry a, .zlaty a { color: var(--mainWhite); }
  
  /* tlacitka */
  .akabutton, .tlacitko { display: inline-block; color: #fff; background: #8abdef; border-radius: 30px; font-size: 0.95rem; padding: 12px 35px; margin-top: 1rem; max-width: 500px; text-decoration: none; }
  .akabutton:hover, .tlacitko:hover { background: #6d9ecf; }
  
  #mainarrowup { visibility: hidden; cursor: pointer; display: block; position: fixed; top: calc(50% - 50px); right: 10px; z-index: 2000; width: 40px; height: 40px; text-decoration: none; border-radius: 50%; -webkit-transition: all 500ms ease;-moz-transition: all 500ms ease;-ms-transition: all 500ms ease;-o-transition: all 500ms ease;transition: all 500ms ease; }
  #mainarrowup span { display: block; position: absolute; bottom: 0; right: 0; width: 50px; height: 50px; z-index: 2001; background: url('../images/arrowup.svg') center center no-repeat; background-size: 50px 50px; }

  /* formulare */
  form p { padding: 0.5rem 0; }
  input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],select,textarea { color: var(--mainBlack); background: var(--mainWhite); border: 0; padding:0.625em 1em; font-size: 16px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-transition: all 300ms; -moz-transition: all 300ms; transition: all 300ms; font-family: 'Bai Jamjuree',Arial,sans-serif; width: 100%; }
  input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,select:focus,textarea:focus{ font-style:normal; }
  input[type=submit]{ cursor: pointer; color:var(--mainWhite); background:var(--mainBlue); border:none; padding:0.5em 1em; font-weight:700; font-size:90%; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-transition: all 300ms; -moz-transition: all 300ms; transition: all 300ms; }
  input[type=submit]:hover{ color:var(--mainWhite); background:var(--mainColor); }

  /* kosik */
  .topsteps { display: flex; flex-direction: row; justify-content: center; gap: 1rem; padding: 0.5rem 0 1.5rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid #ebe8e8; }
  .topstep { display: flex;  gap: 0.5rem; align-items: center; justify-content: center; }
  .topstep strong { width: 2.5rem; height: 2.5rem; padding-top: 0.5rem; text-align: center; background: var(--mainBlue); color: var(--mainWhite); border-radius: 25px; }
  .topsteps .topstep span { display: none; }
  .topstep.active { color: var(--mainContrast); }
  .topstep.active strong { color: var(--mainWhite); background: var(--mainContrast); }
  
  .basketitem { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #ebe8e8; }
  .basketitem .item { display: flex; flex-direction: column; gap: 10px; font-weight: 900; }
  .basketitem .item .itemcode { min-width: 50px; }  
  .basketitem .item img { height: 60px;  }
  .basketitem .itemlink {  }
  .basketitem .basketprice {  }
  .basketitem .smallforms {  }
  .basketitem .itemnum { width: 50px; border: 1px solid #ccc; margin: 0 5px; text-align: center; }
  .basketitem .remove {  }
  .basketitem .remove .deleteitem { text-decoration: none; background: var(--mainBlue); display: inline-block; color: var(--mainColor); padding: 10px 15px; border-radius: 5px; }
  .basketitem .remove .deleteitem:hover { background: var(--mainColor); color: var(--mainWhite); }

  .recalculaterow {}
  .recalculaterow input[type="submit"].recalculate { color: rgb(51, 51, 51); background: rgb(200, 200, 200); }
  .recalculaterow input[type="submit"].recalculate:hover { color: rgb(200, 200, 200); background: rgb(10, 10, 10); }

  .basketfinalboxes { background: #f7f7f7; padding: 30px; margin-bottom: 30px; } 

  .sumarum { font-size: 120%; font-weight: 700; padding-bottom: 1rem; }
  .sumarum2 { color: var(--mainColor); font-weight: 900; } 

  input[type="submit"].bigbutton, .bigbutton { text-decoration: none; font-size: 110%; padding: 0.75em 1.5em; color: #fff; border-radius: 5px; }

  input[type="submit"].backbutton , .backbutton { font-weight: 300; background: #aaa; margin-bottom: 1rem; display: inline-block; }
  input[type="submit"].backbutton:hover, .backbutton:hover { background: #888; }

  /* formulare v kosiku */
  .formparagraf span { display: block; padding: 5px; }
  
  .formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular textarea {
    border: 1px solid #cecece;
    border-radius: 5px;
    background: #fff;
    padding: 10px 15px;
  }

  /* zvyrazneni info o platbe po odeslani objednavky */
  .bank-details { background: #f4f4f4; padding: 1em; }

  /* naseptavac */
  .ui-autocomplete {
    max-width: 300px;
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 0 0 4px 4px;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
  }

  .ui-menu-item {
      padding: 8px 10px;
      cursor: pointer;
      transition: background-color 0.2s;
  }

  .ui-menu-item:hover {
      background-color: #f0f0f0;
  }

  .ui-menu .ui-menu-item-wrapper {
      padding: 3px 1em 3px .4em;
  }

  .ui-state-active,
  .ui-widget-content .ui-state-active {
      border: none;
      background: #007bff;
      color: #fff;
  }

  .ui-helper-hidden-accessible {
      display: none;
  }

  /* Vyhledavani */
  #searchresults {}

  .stroked {
    display: inline-block;
    background: var(--mainBlue);
    padding: 5px 10px;
  }

  .searchform input[type="text"] {
    border: 1px solid #ddd;
  }

  #main .search-result-products {
    margin: 0;
  }

  #main .search-result-products li {
    padding: 0 !important;
    list-style-type: none !important;
  }

  .search-result-product a {
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
  }

  .search-result-product a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .search-result-product a span:nth-child(1) {
    flex-basis: calc(10% - 20px);
  }

  .search-result-product a span:nth-child(2) {
    flex-basis: calc(80% - 20px);
  }

  .search-result-product a span:nth-child(3) {
    flex-basis: calc(10% - 20px);
    color: var(--mainColor);
    font-weight: 700;
    text-align: right;
    font-size: 1.1em;
  }  

  .search-result-product img {
    max-width: 100px;
  }  

  /* Jmeny rejstrik */
  .rejstrik {
    text-align: left !important;
  }

  .letter-group {
    margin-bottom: 20px;
  }

  .letter-group h2 {
      background-color: #f0f0f0;
      padding: 5px 10px;
      border-radius: 5px;
  }

  .letter-group ul {
      list-style-type: none;
      padding-left: 20px;
  }

  .letter-group li {
      margin-bottom: 5px;
  }

  .letter-group a {
      text-decoration: none;
      color: #333;
  }

  .letter-group a:hover {
      text-decoration: underline;
      color: #007bff;
  }  

/* RESPONS */  
@media screen and (min-width: 25em) {  
  
}

@media screen and (min-width: 45em) {

  #aboutushp { flex-direction: row; }
  #aboutushp > div { flex-basis: 50%; padding: 2rem; align-items: center; }
  #aboutushp .ilubox { width: unset; min-height: 500px; }

  .rejstrik { columns: 2; }  

  .kosikdetail { flex-direction: row; }

  /* + - tlacitka v detailu */
  .quantity-wrapper { display: inline-flex; align-items: center; padding-left: 2em; }

}


@media screen and (min-width: 60em) {

  body { text-align: left; }

  .inbox { width: 60em; padding-left: 0; padding-right: 0; }

  header { }
  header .inbox { flex-direction: row; justify-content: space-between; align-items: center; }
  
  header #logo { order: 2; }

  header form { padding: 0; }
  
  header #toplinks { order: 3; position: relative; top: unset; right: unset; }  
  
  nav { order: 1; display: block; margin: 0; text-align: left; }
  html.js nav ul, nav ul { display: flex; gap: 0.5rem; }
  nav ul li { }
  nav ul li a { padding: 1.5em 0; font-size: 105%; border-top: none; }
  nav ul li a span { display: block; padding: 0.5em 1em; border-right: 1px solid rgba(255,255,255,0.2); }
  nav ul li:last-child a span { border-right: none; }
  nav ul li a:hover, nav ul li.over a { background: transparent; text-decoration: none; }
  
  html.js nav ul ul, nav ul ul { display: none; }
  
  #menucloser, html.js #menucloser { display: none; }                   
  
  #main .inbox { padding: 1em; }
  
  h1 { font-size: 300%; }
  h2 { font-size: 200%; }
  h3 { font-size: 140%; }

  /* dlazice HP */
  #guidehp .inbox .row { flex-direction: row; justify-content: space-between; }
  #guidehp .inbox .row:nth-child(1) a:nth-child(1) { flex-basis: 34.5%; }
  #guidehp .inbox .row:nth-child(1) a:nth-child(2) { flex-basis: 30%; }
  #guidehp .inbox .row:nth-child(1) a:nth-child(3) { flex-basis: 34.5%; }
  #guidehp .inbox .row:nth-child(2) a:nth-child(1) { flex-basis: 70%; }
  #guidehp .inbox .row:nth-child(2) a:nth-child(2) { flex-basis: 30%; }

  /* slider */
  .sliderbox { flex-direction: row; align-items: center; }
  .slidertext { flex-basis: 27%; }
  .slidertext p.title { max-width: 250px; }
  .slidertext p.text { max-width: 250px; }
  .slidertext p.slidercontrols { justify-content: flex-start; }

  .slider { flex-basis: 75%; } 

  /* Novinky */
  .news .newsitems { display: flex; flex-flow: row wrap; gap: 60px; }
  .news .newsitems .item { flex-basis: 30%; }  

  /* rockhshop */
  .items.eshop {  }
  .items.eshop .item { flex-basis: 25%; }
  
  /* detail zbozi */
  .product_title { font-size: 300%; }

   /* cena */
  .price { font-size: 150%; }

  /* tlacitko pridat do kosiku */
  .kosikdetail { margin: 0.5em 0; }

  .infoboxik { padding: 0.5rem 1.5rem 0.5rem 150px; margin-bottom: 0; }
  .infoboxik img { top: 20px; left: -20px; width: 150px; }

  /* kosik */
  .topsteps { justify-content: flex-start; }
  .topsteps .topstep span { display: unset; }
  
  /* formulare v kosiku */
  .formparagrafitems { display: flex; flex-direction: row; flex-wrap: wrap; }
  .formparagraf { flex-basis: 50%; } 
  .formparagraf.formparagraffull { flex-basis: 100%;} 

  .formparagraf12 { flex-basis: 12.5% !important; }
  .formparagraf25 { flex-basis: 25% !important; }
  .formparagraf33 { flex-basis: 33.333% !important; }
  .formparagraf50 { flex-basis: 50% !important; }
  .formparagraf66 { flex-basis: 66.666% !important; }
  .formparagraf75 { flex-basis: 75% !important; }

  .basketitem { flex-direction: row; }
  .basketitem .item { flex-basis: 15%; flex-direction: row; align-items: center; }
  .basketitem .itemlink { flex-basis: 45%; }
  .basketitem .itemlinkfull { flex-basis: 70%; }
  .basketitem .basketprice { flex-basis: 10%; }
  .basketitem .smallforms { flex-basis: 20%; white-space: nowrap; text-align: right; }
  .basketitem .remove { flex-basis: 10%; text-align: right; }

  .recalculaterow { text-align: right; }

  .sumarum { text-align: right; }

  .basketfinalboxes { display: flex; flex-wrap: nowrap; }
  .basketfinalboxes > div { flex-basis: 33.333%; }

  input[type="text"].itemnum, input[type="number"].itemnum { width: 75px; text-align: center; }

  #prefooter .inbox { flex-wrap: nowrap; flex-direction: row; justify-content: center; }
  #prefooter .inbox div { flex-basis: 25%; }

  #extrafooter { }
  #extrafooter .inbox { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 1rem; }  
  #extrafooter .inbox div { flex-basis: 25%; }

  #extrafooter ul { }
  #extrafooter ul li { }

  /* seznam kategorii */
  .itemboxes { display: flex; flex-direction: row; flex-wrap: wrap; }
  /* jedna kategorie - box */
  .itembox { flex-basis: 48%; display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding-right: 220px; }
  .itembox:nth-child(2n) { flex-break: after; }
  .itembox .addonimage { width: 150px; height: 150px; overflow: hidden; position: absolute; top: 15px; right: 45px; z-index: 3; }
  .itembox::after { display: block; content: ""; width: 50px; height: 50px; background: var(--mainColor); position: absolute; top: 15px; right: 30px; z-index: 2; }
  .itembox:hover { color: var(--mainWhite); background: var(--mainBlue); }

  /* vypis clanku - ruzne items */
  .items {}
  .item.box { display: flex; align-items: center; }
  .item.box .addonimage { flex-basis: 25%; }
  .item.box div { flex-basis: 75%; }  

  /* otazky a odpovedi - predelat */
  #main ul.unpack { margin: 2em 0; max-width: unset; }
  .unpaxbox1, .unpaxbox2, .unpaxbox3 { display: inline-block; vertical-align: top; padding-right: 1rem;  }
  .unpaxbox1 { width: 40%; }
  .unpaxbox2 { width: 30%; }
  .unpaxbox3 { width: 28%; }

  /* rozlozeni obsahu na strance pro 2, 3 a 4 boxy vedle sebe */
  .dvaboxy, .triboxy, .ctyriboxy { display: flex; gap: 40px; margin: unset; align-items: stretch; justify-content: center; }
  .dvaboxy.acenter, .triboxy.acenter, .ctyriboxy.acenter { align-items: center; }
  
  .box, .box1, .box2, .box3, .box4 { }
  .dvaboxy .box, .dvaboxy .box1, .dvaboxy .box2 { flex-basis: 50%; }
  .triboxy .box, .triboxy .box1, .triboxy .box2, .triboxy .box3 { flex-basis: 33.333%; }
  .ctyriboxy .box, .ctyriboxy .box1, .ctyriboxy .box2, .ctyriboxy .box3, .ctyriboxy .box4 { flex-basis: 25%; }

  .noscreen { display: none; }

}


@media screen and (min-width: 70em) {

  .inbox { width: 70em; }

  .rejstrik { columns: 3; }  

}

@media screen and (min-width: 80em) {

  .inbox { width: 80em; }
    
}

/* logo ma v HTML uvedene rozmery (kvuli poskakovani stranky), vyska se dopocita z sirky */
header #logo img { height: auto; }

/* mensi obrazek pozadi pro mobily (rychlejsi nacteni) */
@media screen and (max-width: 44.99em) {
  #sliderhp, #subheader { background-image: url('../images/bgslider-mobile.jpg'); }
}

/* hledani v hlavni grafice uvodni stranky */
.visuallyhidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#sliderhp .herosearch { display: flex; align-items: stretch; background: #fff; border-radius: 999px; padding: 5px; margin: 1.6rem 0 1rem 0; max-width: 560px; box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
#sliderhp .herosearch:focus-within { outline: 3px solid var(--mainBlue); outline-offset: 2px; }
#sliderhp .herosearch input[type=text] { flex: 1 1 auto; min-width: 0; width: auto; margin: 0; border: 0; outline: 0; background: transparent; color: #111; font-family: inherit; font-size: 1rem; padding: 0.7rem 1.1rem; border-radius: 999px; }
#sliderhp .herosearch button { flex: none; border: 0; border-radius: 999px; background: var(--mainColor); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; padding: 0 1.5rem; min-height: 46px; cursor: pointer; }
#sliderhp .herosearch button:hover { background: var(--mainColorOver); }
#sliderhp .herochips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; padding: 0; font-size: 0.9rem; max-width: 560px; }
#sliderhp .herochips a { display: inline-block; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.75); border-radius: 999px; padding: 0.4rem 0.9rem; background: rgba(20,40,60,0.35); }
#sliderhp .herochips a:hover { background: #fff; color: var(--mainColor); }
/* na uzsich displejich je obsah hlavni grafiky vycentrovany, na sirokych zarovnany vlevo */
#sliderhp .herosearch { margin-left: auto; margin-right: auto; }
#sliderhp .herochips { justify-content: center; margin-left: auto; margin-right: auto; }
.ui-autocomplete { text-align: left; }
@media screen and (min-width: 60em) {
  #sliderhp .herosearch, #sliderhp .herochips { margin-left: 0; margin-right: 0; }
  #sliderhp .herochips { justify-content: flex-start; }
}

/* ---------------- pristupnost ---------------- */
/* odkaz pro preskoceni menu: viditelny jen pri ovladani klavesnici */
.skiplink { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: var(--mainColor); font-weight: 700; padding: 0.8rem 1.2rem; border-radius: 0 0 6px 0; text-decoration: underline; }
.skiplink:focus { left: 0; outline: 3px solid var(--mainBlue); }
#main:focus { outline: none; }
/* dostatecny kontrast: tmavy text na svetle modrych tlacitkach, tmave modre odkazy aktualit */
.akabutton, .tlacitko, .news a.more { color: #14283c; font-weight: 400; }
.akabutton:hover, .tlacitko:hover, .news a.more:hover { color: #14283c; }
.news .newsitems .item a { color: var(--mainColor); }
.news .newsitems .item a:hover { color: var(--mainColorOver); }
/* vetsi dotykove plochy u telefonu a e-mailu */
#topstripe .top-contacts a { display: inline-block; padding: 6px 8px; }
#extrafooter a[href^="tel:"], #extrafooter a[href^="mailto:"] { display: inline-block; padding: 6px 0; }
