/* Dopolnila k originalni temi (NopRoot + Bootstrap 3.2): lokalna pisava, odzivnost, arhivske posebnosti */

@font-face {
    font-family: 'Open Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(../fonts/open-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(../fonts/open-sans-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;
}

/* zgornji trak – namesto Registracija/Prijava */
.top-menu .container { position: relative; }
.top-menu .top-links { float: right; margin: 0; }
.top-menu .top-links > li { float: left; }
.top-menu .top-links > li > a { padding: 17px 8px; line-height: 20px; }

/* logotip naj se na ozkih zaslonih skrči */
a.logo { max-width: 100%; background-size: contain; }
.header-row .search-box { margin-top: 30px; }

/* naslovi v panelih so h1 (SEO), videti pa kot prej h3 */
.form-panel .panel-heading h1.h3 { margin: 0; }

/* stranski meni */
.side-nav-category .panel-title a.active { font-weight: 600; }
.side-nav .nav > li.active > a { font-weight: 600; }

/* seznam izdelkov: celotno ime (original ga je krajšal s »…«) */
.product-item .product-title { overflow: visible; white-space: normal; }
.product-item .no-picture, .no-picture-big {
    display: inline-block; width: 125px; height: 125px; line-height: 125px; text-align: center;
    background: #f5f5f5; color: #999; font-size: 12px;
}
.no-picture-big { width: 300px; height: 300px; line-height: 300px; max-width: 100%; }

/* mreža pivovarn / proizvajalcev */
.category-boxes { display: flex; flex-wrap: wrap; }
.category-boxes > div { display: flex; }
.category-boxes .item-box { width: 100%; }
.category-boxes .item-box .offer { height: 100%; }
.category-boxes .picture img { max-width: 100%; height: auto; }
.category-boxes .category-ash-box { height: auto; min-height: 60px; }
.category-boxes .category-ash-box .product-title { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }

/* galerija izdelka */
.gallery .picture img { max-width: 100%; height: auto; }
.picture-thumbs { margin-top: 10px; }
.picture-thumbs a { display: inline-block; margin: 0 6px 6px 0; border: 1px solid #ddd; }
.overview .stock, .overview .manufacturers { margin-bottom: 8px; }
.tab-content { padding-top: 15px; }
.product-specs-box .data-table { width: 100%; }
.product-specs-box .data-table td { padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; word-break: break-word; }

/* kazalo */
.sitemap-page h2 { margin-top: 25px; }
.sitemap-page h3 { margin: 15px 0 5px; }
.sitemap-cols { columns: 3 220px; column-gap: 30px; padding-left: 18px; }
.sitemap-cols li { break-inside: avoid; }

/* onemogočen kontaktni obrazec */
.form-disabled { opacity: .6; }
.archive-note { margin: 15px 0; }

/* iskanje */
.search-page .search-input { max-width: 500px; margin-bottom: 15px; }

/* noga */
.footer .footer-address li { color: inherit; }
.footer .copyrights { padding: 10px 0; }

@media (max-width: 767px) {
    body { padding-top: 60px; }
    .header-row .search-box { margin-top: 15px; padding: 0; }
    .masthead .navbar-brand { color: #fff; }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #ddd; }
    .product-details-page .gallery { text-align: center; margin-bottom: 15px; }
    .product-item .white-box { display: flex; align-items: center; }
    .product-item .picture.thumbnail { flex: 0 0 auto; margin-right: 12px; }
    .product-item .picture img { width: 90px; height: 90px; }
    .product-item .product-title { font-size: 17px; line-height: 1.3; margin: 0 0 4px; }
}
