/*-------------------------------------------------------------------------------------------------------------------------*/
/*                                                     4D Wand Web Katalog                                                 */
/*                                              Datum zadnje izmjene: 02.03.2020.                                          */
/*-------------------------------------------------------------------------------------------------------------------------*/

html,
body {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    font-family: 'Open Sans', Arial, sans-serif;
}

.empty {
    display: none !important;
}

html {
    font-size: 13px;
}

.Fade {
    min-height: 600px;
}

main {
    margin-top: 15px
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

a, button {
    color: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
        text-decoration: none;
    }

ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.fa-heart,
.fa-heart-o {
    color: #DC0000 !important;
}

.gray-box {
    background-color: #edf2f7;
    border: 1px solid #b8cbe0;
    border-radius: .25rem;
    text-align: center;
}

.gray-box-outline {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.img-fluid-smaller {
    _width: 50%;
    margin: 0 auto !important;
    position: relative;
    _left: 24%;
    _height: 115px;
    max-height: 15rem;
}

.img-fluid-even-smaller {
    margin: 0 auto !important;
    height: 80px;
}

thead {
    background-color: #e9ecef;
    color: #495057;
    padding: .5rem;
    font-weight: bold;
}

th {
    vertical-align: top;
}

body {
    /*background: rgba(0,0,0,.03);
    */
    background-color: rgba(0, 0, 0, .03);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23000' fill-opacity='0.15' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    background-attachment: fixed;
}

.card {
    overflow: hidden;
    border-radius: .5rem !important;
}

.card-outline-primary {
    -webkit-transition: all linear .1s;
    -o-transition: all linear .1s;
    transition: all linear .1s;
}

    .card-outline-primary:hover {
        border-color: rgba(68, 110, 155, .4);
        -webkit-box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
        -moz-box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
        box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
    }

.card-header,
.modal-header {
    background-color: #446e9b;
    color: white;
    margin-bottom: .5rem;
    font-size: 1.5rem;
}

.modal-header-danger {
    background: #DC0000 !important;
}

.modal-header .close {
    color: white;
    opacity: .8;
}

.close:not(:disabled):not(.disabled):hover {
    color: #d9d9d9;
}

.card-header a {
    color: inherit;
}

.input-group-text-primary {
    background: #446e9b;
    color: white;
}

/* Resetiranje bitnih default Bootstrap izgleda */
.btn {
    -webkit-transition: all linear .2s;
    -o-transition: all linear .2s;
    transition: all linear .2s;
}

    .btn:hover {
        -webkit-filter: brightness(110%);
        filter: brightness(110%);
        -webkit-transition: all linear .1s;
        -o-transition: all linear .1s;
        transition: all linear .1s;
    }

.bg-primary {
    background: #446e9b !important;
}

.primarni-header,
.banner {
    -webkit-box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    -webkit-transition: all linear .2s;
    -o-transition: all linear .2s;
    transition: all linear .2s;
}

    .primarni-header .navbar {
        font-size: 1rem !important;
    }

.navbar-toggler {
    background: #446e9b;
    color: white !important;
    cursor: pointer;
    height: 100%;
    border: none;
    border-radius: .25rem !important;
    padding: .5rem .75rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .btn .fa {
        margin-left: .25rem;
        margin-right: .25rem;
    }

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:active,
.dropdown-item:not(.disabled):hover,
.dropdown-item:not(.disabled):active {
    background: #446e9b !important;
    color: white !important;
    border-color: #446e9b !important;
}

    .btn-primary:focus {
        color: white;
        border-color: #446e9b !important;
    }

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: transparent !important;
    color: #446e9b !important;
    border-color: #446e9b !important;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active {
    background: #DC0000;
    border-color: #DC0000;
    outline-color: #DC0000;
    color: white !important;
}

.btn-outline-danger,
.btn-outline-danger:active {
    background-color: white !important;
    border-color: #DC0000 !important;
    color: #DC0000 !important;
}

    .btn-outline-danger:hover {
        background-color: #DC0000 !important;
        color: white !important;
    }

.alert-primary {
    background-color: #446e9b33;
    color: #446e9b;
}

    .alert-primary a {
        color: #446e9b;
        text-decoration: underline;
    }

.alert-success a {
    color: #155724;
    text-decoration: underline;
}

.alert-danger {
    background-color: #DC000033;
    color: #DC0000;
}

    .alert-danger a {
        color: #DC0000;
        text-decoration: underline;
    }

a {
    color: #446e9b;
    outline: none;
}

.btn,
.form-control {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.nav-link {
    color: #495057 !important;
    -webkit-transition: all linear .15s;
    -o-transition: all linear .15s;
    transition: all linear .15s;
    border-radius: 4px;
    padding: 0 0.5rem;
}

    .nav-link:hover,
    .nav-link:active {
        background: #446e9b;
        color: white !important;
    }


/*-------------------------------------------------------------------------------------------------------------------------*/


/* globalno */


/*-------------------------------------------------------------------------------------------------------------------------*/

body {
    overflow-y: scroll;
}

html,
body {
    width: 100%;
}

.ctrlbar .btn {
    font-size: .875rem;
    flex-grow: 1;
}

/* Vertikalni razmak između polja na formama */

.form-group {
    margin-bottom: 8px;
}


/* polje za unos količina */

.input-group-sm .form-control {
    padding: 8px;
    min-width: 50px;
    _height: 2.5rem;
}


/* prikaz jedinice mjere i dostupnosti na malom addonu (na tabeli i košari)*/

.input-group-sm .input-group-addon,
.input-group > .input-group-append > .input-group-text {
    padding: 3px 6px;
    min-width: 37px;
    _height: 2.5rem;
}

del {
    color: #DC0000;
}

.list-group-item:hover {
    background-color: #eee
}


/*-------------------------------------------------------------------------------------------------------------------------*/
/* custom classes */
/*-------------------------------------------------------------------------------------------------------------------------*/

/* zadaje se row klasi */

.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}


/* zadaje se row klasi */

.small-gutter > [class*='col-'] {
    padding-right: 4px;
    padding-left: 4px;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* navbar */


/*-------------------------------------------------------------------------------------------------------------------------*/

.primarni-header {
    border-top: solid 4px #446e9b;
    border-bottom: solid 0px rgba(0, 0, 0, .2);
    background: rgba(255, 255, 255, .925);
}

.navbar-collapse {
    min-height: 1px !important;
}

.bg-light {
    background-color: transparent !important;
}

.logo {
    width: 200px;
    height: 80px;
    position: relative;
}

    .logo .navbar-brand {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        background: url('../css/logo.png') center left no-repeat;
        background-size: contain;
        width: 100% !important;
        height: 100% !important;
        margin-right: 0px;
    }

@media screen and (max-width: 767px) {
    .logo {
        height: 60px;
        width: 150px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------------*/
/* body-content */
/*-------------------------------------------------------------------------------------------------------------------------*/

.body-content {
    /* padding-top se zadaje ako se postavi navbar-fixed-top*/
    _padding-top: 80px;
}


/*-------------------------------------------------------------------------------------------------------------------------*/
/* Prostor za prikaz kategorija */
/*-------------------------------------------------------------------------------------------------------------------------*/


/* Tipka za prikaz kategorija treba da bude lijevo i odvojena od searcha */

#kategorije-toggle {
    float: left;
    margin-right: 4px;
}


/*-------------------------------------------------------------------------------------------------------------------------*/
/*kategorije-tree*/

#kategorije-tree-wrapper {
    /*
    padding: 16px 0px 6px 0px;*/
}

#kategorije-tree {
    overflow: hidden;
    /* ova dva donja reda služe da se skati visina grupa i doda scroll bar
    overflow: auto;
    max-height: 400px;
    */
    border-radius: 4px;
}

#kategorije-tree-header {
}

    #kategorije-tree-header h2 {
        margin: 0px;
        padding: 8px;
        font-size: 1.25rem;
    }

#kategorije-tree-list {
    _font-stretch: condensed;
    _letter-spacing: -1px;
    _font-size: 13px;
    _border: 1px solid #ddd;
}

    #kategorije-tree-list .panel {
        margin-bottom: 0px;
    }

    #kategorije-tree-list a {
        color: inherit;
    }

.no-transition {
    -webkit-transition: height 0;
    -o-transition: height 0;
    transition: height 0;
}

[class*='dubina-'] {
    margin: 0;
    padding: .3rem .5rem !important;
    display: block !important;
    cursor: pointer;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
    border-left: solid 3px transparent;
}

    [class*='dubina-']:hover,
    [class*='dubina-']:focus {
        text-decoration: none;
        color: #446e9b !important;
        border-left-color: #446e9b;
    }


/*Favorite btn click*/

.heart {
    font-size: 1rem;
    _color: red;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.btn-fav {
    color: #DC0000;
    background-color: transparent;
    border-color: #446e9b;
    border-left: none;
    flex-grow: 1 !important;
    _margin-right: .1rem;
}

    .btn-fav:hover > .heart {
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
        -webkit-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }

.heart-notification {
    _position: absolute;
    _right: 30px;
    color: red;
    float: left;
}

.star {
    font-size: 20px;
    color: gold;
}

.dropdown-menu {
    cursor: pointer;
}

@media screen and (min-width: 772px) and (max-width: 1400px) {
    .dropdown-menu {
        left: -5rem;
    }
}


/*Signal Zaliha*/

.signal {
    position: relative;
    overflow: hidden;
    top: -2em;
}

.signal-1 {
    width: 0.2em;
    color: red;
}

.signal-2 {
    width: 0.4em;
    color: orange;
}

.signal-3 {
    width: 0.6em;
    color: yellow;
}

.signal-4 {
    width: .8em;
    color: greenyellow;
}

.signal-5 {
    width: 1em;
    color: green;
}


/*Zavrsi narudzbu*/

.end-order {
    overflow: hidden;
    margin-top: -10px;
    padding-bottom: 8px
}

.btn-end-order {
    position: relative;
    float: right
}


/*Thumbnail Pop-up*/


/*#thumbwrap {
    margin: 75px auto;
    width: 252px;
    height: 252px;
}*/


/*Ćelije thumb*/

.thumb {
    _float: left;
    /* must be floated for same cross browser position of larger image */
    _position: relative;
    margin: 3px;
    display: inline-block;
}

    .thumb img {
        _border: 1px solid #000;
        vertical-align: bottom;
        max-height: 10rem;
    }

    .thumb:hover {
        border: 0;
        /* IE6 needs this to show large image */
        z-index: 2;
    }

    .thumb span {
        position: absolute;
        visibility: hidden;
        cursor: url(/Content/images/zoom.ico), auto;
        z-index: 3;
        top: 0px;
        left: 15px;
        background: #fff;
        width: 100%;
    }

    .thumb:hover span {
        visibility: visible;
        border: 1px solid #000;
    }

.thumb-hover:hover {
    -webkit-box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
    -moz-box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
    box-shadow: 3px 3px 5px 0px rgba(68,110,155,0.4);
}

.angle:after {
    content: '';
    background: url(/Content/images/zoom-angle.png);
    display: block;
    width: 33px;
    height: 33px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer
}


/*Tabelica thumb*/

.thumbT {
    _float: left;
    /* must be floated for same cross browser position of larger image */
    position: relative;
    margin: 3px;
}

    .thumbT img {
        _border: 1px solid #000;
        vertical-align: bottom;
    }

    .thumbT:hover {
        border: 0;
        /* IE6 needs this to show large image */
        z-index: 2;
    }

    .thumbT span {
        position: absolute;
        visibility: hidden;
        cursor: url(/Content/images/zoom.cur), auto;
        z-index: 2;
        top: -50px;
        left: 180px;
        background: #fff;
    }

    .thumbT:hover span {
        visibility: visible;
        border: 1px solid #000;
    }

.img-artikl {
    _margin-top: -18px !important;
    display: flex;
    height: 15rem;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width:1200px) {
    .thumb:hover span {
        visibility: hidden;
    }

    .thumbT:hover span {
        visibility: hidden;
    }

    .angle {
        display: none
    }

    .img-artikl {
        margin-top: 0 !important;
    }
}

.zoomContainer {
    float: right;
    z-index: 888 !important;
}


/*Top botun*/

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 70px;
    right: 15px;
    z-index: 999;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    overflow: hidden;
    _text-indent: 100%;
    white-space: nowrap;
    background: #e0e0e0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -o-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s
}

    .cd-top.cd-fade-out,
    .cd-top.cd-is-visible,
    .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -o-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s
    }

    .cd-top.cd-is-visible {
        visibility: visible;
        opacity: .8
    }

    .cd-top.cd-fade-out {
        opacity: .5
    }

.no-touch .cd-top:hover {
    background-color: #4078c0;
    opacity: 1
}

@media only screen and (min-width:768px) {
    .cd-top {
        right: 20px;
        bottom: 60px
    }
}

@media only screen and (min-width:1024px) {
    .cd-top {
        height: 45px;
        width: 45px;
        right: 60px;
        bottom: 60px
    }
}


/*Banner CSS*/

.inner-banner {
}

.inner-banner-slika {
}

.inner-banner-tekst {
    top: 10px;
    position: relative;
    -o-object-fit: cover;
    object-fit: cover;
}

.banner-slika {
}

.banner {
    padding-left: 0;
    padding-right: 0;
    z-index: -1;
    max-height: 956px;
    width: 100%;
    z-index: 1;
}

.slikaBanner {
    width: 330px;
}

@media only screen and (min-width: 1830px) {
    .banner {
        width: 330px;
    }
}

@media only screen and (max-width: 1830px) {
    .banner {
        display: none;
    }
}


/*Fixed Sidebar Kategorije*/

.sidebar-outer {
    position: relative;
}

@media (min-height: 991px) {
    .sidebar {
        _position: fixed;
    }
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
    .sidebar {
        width: 240px;
    }
}

@media screen and (min-width: 1200px) {
    .sidebar {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .kos-kol-pak {
        display: none;
    }

    .kos-kol-zal {
        display: none;
    }
}

.atribut-title {
    border-bottom: .25rem solid #446e9b;
}

.hover-blue:hover {
    color: #446e9b;
}

.filterMarg {
    margin-top: 12px;
    color: #303437
}

.lista-input-group {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.ctrlbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ctrlbar-dugme {
    width: 23%;
    margin-right: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .ctrlbar-dugme > .fa {
        padding: 0 !important;
        margin: 0 !important;
    }

.btn-art {
    color: #446e9b;
    background-color: transparent;
    border-color: #446e9b;
    margin-right: .5rem;
}

    .btn-art:last-child {
        margin-right: 0;
    }

    .btn-art:hover {
        color: #fff;
        background-color: #446e9b;
        border-color: #446e9b;
    }

.btn-view {
    color: #446e9b;
    background-color: transparent;
    border-color: #446e9b;
    _margin-right: .5rem;
    flex-grow: 1 !important;
    padding: 0.875rem;
}

    .btn-view:last-child {
        margin-right: 0;
    }

    .btn-view:hover {
        color: #fff;
        background-color: #446e9b;
        border-color: #446e9b;
    }

.btn-add {
    color: #446e9b;
    background-color: transparent;
    border-color: #446e9b;
    _margin-right: .5rem;
    flex-grow: 1 !important;
    padding: 0.875rem;
}

    .btn-add:last-child {
        margin-right: 0;
    }

    .btn-add:hover {
        color: #fff;
        background-color: #446e9b;
        border-color: #446e9b;
    }

.btn-check {
    color: #fff;
    background-color: #446e9b;
    border-color: transparent;
}

[class*='dubina-'] i {
    color: #446e9b;
}

.dubina-fav {
    padding: 0px 0px 0px 4px;
    color: #000;
    _border-left-color: #446e9b;
}

    .dubina-fav:hover,
    .dubina-fav:active {
        color: #446e9b;
    }

    .dubina-fav span {
        color: red;
        vertical-align: text-top
    }

#Filter {
    background: rgba(0, 0, 0, .05);
    border-top: 1px solid rgba(0, 0, 0, .2);
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    padding: .25rem .5rem 1rem;
}

.dubina-filter {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: .25rem !important;
    border-top: 1px solid rgba(0, 0, 0, .2);
}

    .dubina-filter:first-child {
        border-top: none;
    }

.dubina-0 {
    padding: 0px 0px 0px 4px;
    color: #000;
}

    .dubina-0:hover {
        color: #446e9b;
    }

    .dubina-0 span {
        color: #446e9b;
        vertical-align: text-top;
    }

.kontejner {
    border-top: 1px solid rgba(0, 0, 0, .2);
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.dubina-1 {
    position: relative;
}

.dubina-2 {
    background: rgba(0, 0, 0, .05);
}

.dubina-3 {
    background: rgba(0, 0, 0, .1);
    padding-left: 16px !important;
}

.dubina-4 {
    padding-left: 24px !important;
    background: rgba(0, 0, 0, .15);
}

.dubina-5 {
    padding-left: 40px;
    background: rgba(0, 0, 0, .2);
}

.dubina-selected {
    font-weight: bold;
    color: #446e9b !important;
    border-left-color: #446e9b;
}

#FAV {
    border-left: solid 3px #DC0000;
}

    #FAV .dubina-fav {
        border-left: none;
    }

        #FAV:hover,
        #FAV:active,
        #FAV .dubina-fav:hover,
        #FAV .dubina-fav:active {
            color: #DC0000 !important;
            border-left-color: #DC0000;
        }

.sortArrow:hover {
    cursor: pointer
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* Prostor za prikaz artikala, košarice, searcha,... */


/*-------------------------------------------------------------------------------------------------------------------------*/

#page-content-wrapper {
    /*
    padding-top: 6px;
    padding-bottom: 6px;
    _float: right;*/
    margin: 0
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* search polje i button */

.search-form {
    display: none;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* breadcrumb */

.breadcrumb {
    font-size: 12px;
    line-height: 14px;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* alert ekrani: neispravan login, košara prazna i sl.*/

.alert {
    margin-top: 12px;
    margin-bottom: 12px;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* statusline - naziv grupe, search pojam,... */

#statusline {
    margin-top: 5px
}

    #statusline .input-group-addon {
        color: #fff;
        background-color: #446e9b
    }

    #statusline h4 {
        margin-top: 10px;
        padding: 8px;
    }

#filterCijena .input-group-addon {
    color: #fff;
    background-color: #446e9b
}

#F_0 {
    _border-left: 3px solid #446e9b;
}

    #F_0:hover,
    #F_0:active,
    #F_0 .dubina-filter:hover,
    #F_0 .dubina-filter:active {
        color: #446e9b !important;
        _border-left: 3px solid #446e9b80;
    }

    #F_0 .input-group-addon {
        color: #446e9b;
        background-color: #fff;
        border: 1px solid #446e9b;
    }

#filterCijena {
    display: none;
}

.pagination {
    margin: 0;
    margin-top: .25rem !important;
}

    .pagination:not(:empty) {
        margin-bottom: .5rem;
    }

.page-link {
    -webkit-transition: all linear .15s;
    -o-transition: all linear .15s;
    transition: all linear .15s;
}

.page-item.active .page-link {
    background-color: #446e9b;
    border-color: #446e9b;
}

.page-item:hover .page-link,
.page-item.active:hover .page-link {
    background-color: #e9ecef;
    border-color: #e9ecef;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* Thumbnail na tabeli i detalju artikla */

.thumbnail {
    _min-height: 165px;
    display: block;
}

.thumbnail-video {
    position: relative;
}

    .thumbnail-video::before {
        content: "\f144";
        font-family: 'FontAwesome';
        position: absolute;
        left: 24px;
        top: 16px;
        color: gray;
        font-size: 27px;
    }

.thumbnail li {
    min-height: 60px
}

/*-------------------------------------------------------------------------------------------------------------------------*/


/* Tabela artikala sa slikama - treba prilagoditi svakom korisniku */

.hoverable-row:hover {
    background: rgba(0, 0, 0, .075);
}

.tabela-naslovartikla {
    padding-bottom: .5rem;
}

.tabela-slika {
    height: 120px;
    text-align: center;
    /* align the inline(-block) elements horizontally */
    font: 0/0 a;
}

    .tabela-slika:before {
        /* create a full-height inline block pseudo=element */
        content: ' ';
        display: inline-block;
        vertical-align: middle;
        /* vertical alignment of the inline element */
        height: initial;
    }

    .tabela-slika a {
        /* ovdje ne može biti teksta jer je font stavljen na 0 */
        display: inline-block;
        vertical-align: middle;
        /* vertical alignment of the inline element */
    }

        .tabela-slika a img {
            max-height: 120px;
            max-width: 200px;
        }

.tabela-caption {
    _font-stretch: condensed;
    _letter-spacing: -1px;
    _margin-top: .5rem;
    /* min-height se upisuje da bi visina svake ćelije u redu bila jednaka */
    min-height: 40px;
}

    .tabela-caption p {
        margin-bottom: .1rem;
    }

.tabela-cijena p {
    margin-bottom: 0px;
}

.tabela-kolicina {
    /* "display" određuje da li se vidi unos količine na glavnoj tabeli */
    _display: none;
    flex-grow: 1;
}

    .tabela-kolicina .input-group {
        _max-height: 35px;
        min-height: 35px;
    }

.zalihaOK {
    color: green !important;
}

.zalihaNotOK {
    color: #DC0000 !important;
}

.slikaLista {
    float: left
}

.fa {
    cursor: pointer;
}

.pagerline {
    overflow-x: auto;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* Detalj artikla */


/* Ovdje se zadaje boja strelica za listanje slika lijevo-desno */

.carousel-control {
    color: black;
}

.dark-carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.dark-carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.detalj-fotografije li {
    margin-bottom: 0px;
}

.detalj-fotografije > span {
    padding: 0px;
}

.detalj-fotografija {
    margin-top: 4px;
    margin-left: 4px;
}

    .detalj-fotografija a img {
        cursor: pointer;
        /* Ovo se aktivira ako se želi fiksna visina sličica ispod carousela */
        height: 60px;
    }

.carousel-inner,
.carousel-inner-limitiran {
    margin-left: auto;
    margin-right: auto;
}

.carousel-inner-limitiran {
    max-height: 150px !important;
    height: 150px !important;
}

#detaljCarousel .carousel-inner {
    width: auto;
    max-height: 300px !important;
    min-height: 300px;
}

@media(max-width: 800px) {
    .carousel-slika > img,
    .thumb img {
        pointer-events: none !important;
    }

    .zoomLens {
        display: none;
    }
}

.detalj-red {
    color: #DC0000;
}

    .detalj-kolicina .input-group {
        padding-bottom: 6px;
    }


/*-------------------------------------------------------------------------------------------------------------------------*/
/* basket-line je statusni red košarice */
/*-------------------------------------------------------------------------------------------------------------------------*/

#basket-line {
    margin-top: 10px;
    line-height: 34px;
    margin-bottom: 4px
}

/* basket-content je sadržaj košarice */

#basket-content {
    display: none;
}

    #basket-content td {
        vertical-align: middle !important;
    }

        #basket-content td .kosara-kolicina-input {
            max-width: 240px;
            min-width: 70px;
        }


    /* td.basket-desc i td.basket-desc div trebaju za tabelu kada se detalji artikla "otvaraju" ispod reda tabele */

    #basket-content table tr td.basket-desc {
        padding: 0;
        margin: 0;
    }

        #basket-content table tr td.basket-desc div {
            display: none;
            overflow: hidden;
        }


/*-------------------------------------------------------------------------------------------------------------------------*/


/*list-content*/

#list-content {
    padding: 0px;
}

    #list-content td {
        vertical-align: middle;
    }

        #list-content td .list-rabat {
            margin: 0 0 0 12px;
            color: #DC0000;
        }

        #list-content td .kosara-kolicina-input {
            max-width: 240px;
            min-width: 100px;
        }


    /* td.list-desc i td.list-desc div trebaju za tabelu kada se detalji artikla "otvaraju" ispod reda tabele */

    #list-content table tr td.list-desc {
        padding: 0;
        margin: 0;
    }

        #list-content table tr td.list-desc div {
            display: none;
            overflow: hidden;
        }

        #list-content table tr td.list-desc td {
            vertical-align: top;
        }


/*-------------------------------------------------------------------------------------------------------------------------*/


/* narudzbaforma */
    #narudzbaforma h4 {
        margin: 0px 15px 0px 15px;
        padding: 8px;
    }

    #narudzbaforma h5 {
        margin: 4px 0px 4px 15px;
        padding: 8px;
    }


/*-------------------------------------------------------------------------------------------------------------------------*/


/* styles for validation helpers */


/*-------------------------------------------------------------------------------------------------------------------------*/

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


/*-------------------------------------------------------------------------------------------------------------------------*/


/* Skrivanje ikonica gore-dolje */


/*-------------------------------------------------------------------------------------------------------------------------*/


/*input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance:textfield;
}*/


/*-------------------------------------------------------------------------------------------------------------------------*/


/* Small Devices, Tablets */


/*-------------------------------------------------------------------------------------------------------------------------*/

h3 {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }

    .p-md-1 {
        padding: 0.25rem !important;
    }

    .p-md-2 {
        padding: 0.5rem !important;
    }
    /* kada je nav bar smanjen, ne treba razmak iznad stavki menija (buttona) */
    .navbar .nav li {
        margin-top: 0px;
        padding-left: 2px;
        padding-right: 2px;
    }
    /* kada je nav bar smanjen buttoni će zauzimati cijeli red */
    .navbar .nav a {
        width: 100%;
    }
    /* kada je svaki artikl u jednom redu ne treba prilagodba za visinu teksta ispod slike */
    .tabela-caption {
        min-height: 0px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------------*/
/* Bootstrap definicije */
/*-------------------------------------------------------------------------------------------------------------------------*/

/* Very Large desktops and laptops */
@media (min-width: 1340px) {
    .container {
        max-width: 1340px;
    }
}


/* Extra Large desktops and laptops */
@media (min-width: 1560px) {
    .container {
        max-width: 1560px;
    }
}

/* Large desktops and laptops */
@media (min-width: 1200px) {
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .grupe-menu nav > ul > li > a {
        font-size: 12px !important;
    }

    .nivo-2 > a {
        font-size: 12px !important;
    }

    .nivo-3 > a {
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .hidden-md-down {
        display: none;
    }
}

/* Portrait tablets and small desktops */

@media (min-width: 768px) and (max-width: 991px) {
    .logo a {
        max-width: 152px;
        background-size: 152px;
    }

    .nav.navbar-nav {
        font-size: 2em;
    }
}


/* Landscape phones and portrait tablets */

@media (max-width: 767px) {
    .slikaLista {
        float: none;
        margin-bottom: 8px
    }

    .zoomContainer {
        display: none
    }

    .inner-banner-slika {
        max-height: 75px;
        max-width: 150px;
    }

    .inner-banner-tekst {
        top: 0;
        position: static;
    }

    .nav.navbar-nav {
        font-size: 2em;
    }

    .card-body {
        padding: 0.5rem;
    }
}

.rslides {
    position: relative;
    list-style-type: none !important;
    list-style: none !important;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

    .rslides div {
        -webkit-backface-visibility: hidden;
        position: absolute;
        list-style-type: none !important;
        list-style: none !important;
        display: none;
        width: 100%;
        left: 0;
        top: 0;
    }

        .rslides div:first-child {
            position: relative;
            display: block;
        }

    .rslides img {
        display: block;
        height: auto;
        float: left;
        width: 100%;
        border: 0;
    }

.fa-carousel-icon {
    font-size: 2rem;
    color: white;
}

    .fa-carousel-icon.inverted {
        color: #446e9b;
    }

.icons-on-hover .carousel-control-prev,
.icons-on-hover .carousel-control-next {
    opacity: 0;
    -webkit-transition: opacity linear .15s;
    -o-transition: opacity linear .15s;
    transition: opacity linear .15s;
}

.icons-on-hover:hover .carousel-control-prev,
.icons-on-hover:hover .carousel-control-next {
    opacity: 1;
}

.sort-grupa > *:nth-child(1) {
    -ms-flex-preferred-size: 35%;
    flex-basis: 35%;
}

.sort-grupa > *:nth-child(2) {
    -ms-flex-preferred-size: 45%;
    flex-basis: 45%;
}

.sort-grupa-sm > *:nth-child(1) {
    -ms-flex-preferred-size: 55%;
    flex-basis: 55%;
}

.sort-grupa-sm > *:nth-child(2) {
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%;
}


/*
 * CSS pravila za Microsoft Edge
 */

@supports (-ms-ime-align: auto) {
    table [id*="kol-"] {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
    }
}

.table thead th {
    vertical-align: middle !important;
}


/* Banner skrollanje prema gore */

.UpScroll .carousel-item-next.carousel-item-left,
.UpScroll .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.UpScroll .carousel-item-next,
.UpScroll .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100% 0);
}

.UpScroll .carousel-item-prev,
.UpScroll .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}


/* Banner skrollanje prema dolje */

.DownScroll .carousel-item-next.carousel-item-left,
.DownScroll .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.DownScroll .carousel-item-next,
.DownScroll .active.carousel-item-right {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100% 0);
}

.DownScroll .carousel-item-prev,
.DownScroll .active.carousel-item-left {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}


/* Banner skrollanje prema lijevo */

.LeftScroll .carousel-item-next.carousel-item-left,
.LeftScroll .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.LeftScroll .carousel-item-next,
.LeftScroll .active.carousel-item-right {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.LeftScroll .carousel-item-prev,
.LeftScroll .active.carousel-item-left {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}


/* Banner skrollanje prema desno */

.RightScroll .carousel-item-next.carousel-item-left,
.RightScroll .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.RightScroll .carousel-item-next,
.RightScroll .active.carousel-item-right {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.RightScroll .carousel-item-prev,
.RightScroll .active.carousel-item-left {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.col-res {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

@media screen and (max-width: 767px) {
    .col-res {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .container {
        margin-left: 0;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
}

#mobile-kosara {
    max-width: 100vw;
}

#mobile-nav {
    color: white;
    padding: 0;
    -webkit-box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(68, 110, 155, .925);
    max-width: 100vw;
    height: 10vh;
    min-height: 60px;
    z-index: 999;
}

    #mobile-nav .navbar-nav {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        width: 100%;
        height: 100%;
    }

    #mobile-nav .nav-item,
    #mobile-kosara .nav-item {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, .2);
    }

#movile-nav .nav-item:last-child {
    border-right: none;
}

#mobile-nav .nav-link {
    color: inherit !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}

#mobile-nav .fa,
#mobile-nav .badge {
    font-size: 1.5rem;
}

#mobilePretragaUpit {
    min-height: 45px !important;
    font-size: 1.2rem;
}

#mobilePretraga {
    position: fixed;
    left: 0;
    right: 0;
}

th,
td {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
    border-left: 1px solid rgb(206, 212, 218);
}

    th:first-child,
    td:first-child {
        border-left: none;
    }

#tabela-izgled-list > tbody > tr > td {
    border: none !important;
}

#tabela-izgled-list > tbody > tr {
    border-bottom: 1px solid rgb(206, 212, 218) !important;
}

    #tabela-izgled-list > tbody > tr:first-child,
    #tabela-izgled-list > tbody > tr:last-child,
    #tabela-izgled-list > tbody > tr:nth-last-of-type(2),
    #tabela-izgled-list > tbody > tr:nth-of-type(odd) {
        border-bottom: none !important;
    }

.table-hover tbody > tr:hover > td,
.table-hover tbody > tr:hover > th,
.hoverable-row:hover {
    background-color: rgba(68, 110, 155, .1);
    color: rgba(68, 110, 155, 1);
}

    .table-hover tbody tr:hover a,
    .hoverable-row:hover a {
        text-decoration: none;
    }

table {
    table-layout: auto;
}

[class*='table-responsive-'] {
    overflow-y: hidden;
}

@media screen and (min-width: 1200px) {
    .table-not-responsive-on-large-devices {
        overflow-x: hidden;
    }
}

#detaljCarousel .list-inline {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

#detaljCarousel .carousel-indicators {
    position: static;
    left: initial;
    width: initial;
    margin-left: initial;
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
    margin-right: 0 !important;
    flex-wrap: wrap;
}

    #detaljCarousel .carousel-indicators > li {
        background: transparent;
        width: initial;
        height: initial;
        text-indent: initial;
        border: 1px solid rgba(0, 0, 0, .2);
        margin: 2px;
    }

        #detaljCarousel .carousel-indicators > li img {
            width: 80px;
            -webkit-transition: opacity linear .15s;
            -o-transition: opacity linear .15s;
            transition: opacity linear .15s;
        }

        #detaljCarousel .carousel-indicators > li:hover img {
            width: 80px;
            opacity: 0.5;
        }

        #detaljCarousel .carousel-indicators > li.active img {
            opacity: 0.3;
            cursor: default !important;
        }

.carousel-inner {
    width: 100%;
    height: auto;
}

.tablica {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .tablica li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        border: 1px solid black;
        border-bottom-width: 0px;
        padding: .5rem;
    }

        .tablica li:last-child {
            border-bottom-width: 1px;
        }

    .tablica div {
        margin: 0;
        padding: 0;
    }

        .tablica div label,
        .tablica div span {
            display: block;
            margin: 0;
            padding: 0;
        }

        .tablica div label {
            opacity: .8;
            text-transform: uppercase;
            font-size: .85rem;
        }

.modal.show .modal-dialog.aside {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    opacity: .85;
}

.kosara-stavke .btnremoverow {
    height: 30px;
    width: 30px;
}

.hidden {
    visibility: hidden;
}

    .modal.fade:not(.show) .modal-dialog {
        transform: translate3d(0, 25%, 0);
        -webkit-transform: translate3d(0, 25%, 0);
    }


/*------------------------------------*
 *            B A N N E R I           *
 *------------------------------------*/

#BannerCarousel-Gornji,
#BannerCarousel-GornjiIspod,
#Banner-Desni {
    min-height: 1px;
}

    #BannerCarousel-Gornji img,
    #BannerCarousel-GornjiIspod img,
    #Banner-Lijevi img,
    #Banner-Desni img {
        min-width: 1px;
    }

#Banner-Lijevi,
#Banner-Desni {
    background: transparent !important;
    position: fixed !important;
    width: 325px;
    height: 100% !important;
}

    #Banner-Lijevi .carousel-inner,
    #Banner-Desni .carousel-inner {
        height: 100% !important;
    }

#Banner-Lijevi {
    left: 0 !important;
    height: 100% !important;
}

#Banner-Desni {
    right: 0 !important;
    height: 100% !important;
}

@media screen and (max-width: 1749px) {
    #Banner-Lijevi,
    #Banner-Desni {
        display: none !important;
    }
}

.racun-artikl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px dotted black;
    padding: .5rem 0 .2rem;
}

.racun-artikl-line {
    border: none;
    border-bottom: 1px dotted black;
    margin: .25rem 0 0;
    padding: 0;
    height: auto;
}

.racun-artikl:last-child {
    border-bottom: none;
}

mark {
    background: inherit;
    display: inline;
    font-size: inherit;
    color: inherit;
    font-family: monospace;
    font-weight: bold;
}

*:focus.input-validation-error {
    border-color: red;
}

.upute-ikona .fa {
    color: #446e9b;
    fill: #446e9b;
}

.rezultati-alert:empty {
    display: none;
}


/*

    CSS PRVAILA ZA PRIKAZ KOSARE

*/

.inner-kosara {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    border-top: 1.5px solid rgba(0, 0, 0, .1);
    margin-top: 1rem !important;
    padding-top: 1rem !important;
}

    .inner-kosara:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none;
    }

.inner-kosara-slika {
    display: inline-block;
    width: 10%;
    overflow: hidden;
    padding: .1rem;
}

    .inner-kosara-slika > img {
        width: 100% !important;
        height: auto;
        /*100% !important;*/
        margin: 0 auto;
    }

.inner-kosara-sadrzaj {
    display: inline-block;
    width: 89%;
    height: 100%;
}

.inner-kosara-sadrzaj-naslov,
.inner-kosara-sadrzaj-detalji {
    display: block;
    height: 50%;
    margin: 0 !important;
    padding: 0 !important;
}

.inner-kosara-sadrzaj-detalj {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 19%;
    margin: 0 !important;
    padding: 0 !important;
}

    .inner-kosara-sadrzaj-detalj > *:first-child {
        font-weight: bold;
        width: 100%;
    }

    .inner-kosara-sadrzaj-detalj > *:nth-child(2) {
        margin-bottom: 0;
        width: 100%;
    }

.kosara-kolicina-input {
    width: 80%;
}

@media screen and (max-width: 991px) {
    .inner-kosara-slika {
        display: none;
    }

    .inner-kosara-sadrzaj {
        display: block;
        width: 100% !important;
    }
}

@media screen and (max-width: 500px) {
    .inner-kosara-sadrzaj-detalji {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        padding-bottom: 1rem !important;
    }

    .inner-kosara-sadrzaj-detalj {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        width: 100%;
        padding-bottom: 1rem;
    }

        .inner-kosara-sadrzaj-detalj > *:first-child {
            font-weight: bold;
            width: 29%;
            margin-right: 1rem;
        }

            .inner-kosara-sadrzaj-detalj > *:first-child:after {
                content: ':';
            }

        .inner-kosara-sadrzaj-detalj > *:nth-child(2) {
            margin-bottom: 0;
            width: 69%;
        }

    .inner-kosara-sadrzaj-detalji {
        position: relative;
    }

        .inner-kosara-sadrzaj-detalji > *:last-child {
            position: absolute !important;
            bottom: -14px !important;
            width: 50% !important;
            left: 0 !important;
        }

        .inner-kosara-sadrzaj-detalji > .oznaka {
            position: absolute !important;
            bottom: 0px !important;
            right: 0 !important;
            width: 50% !important;
        }

    .kosara-kolicina-input {
        width: 30% !important;
    }
}

.artikl-banner-sadrzaj {
    position: relative;
}

    .artikl-banner-sadrzaj > *:first-child {
        position: absolute;
        left: 0;
        bottom: 0;
        top: 0;
        z-index: 300;
        border: none;
        border-right: 1px solid rgba(0, 0, 0, .1);
        background-color: #F2F2F2 !important;
    }

    .artikl-banner-sadrzaj > *:last-child {
        position: absolute;
        right: 0;
        bottom: 0;
        top: 0;
        z-index: 300;
        border: none;
        border-left: 1px solid rgba(0, 0, 0, .1);
        background-color: #F2F2F2 !important;
    }

.artikl-banner-artikl {
    padding: 0 3rem;
}

.slick-dots li button {
    font-size: 0;
}

.btn-banner {
    background-color: #f3f3f3;
    color: #446e9b;
    padding: 1rem;
    cursor: pointer;
    outline: none !important;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

    .btn-banner:hover {
        background-color: #fff !important;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    }

#zalihaBody {
    overflow-y: auto;
    max-height: 70vh;
}

[id^=kos-dostupnost] {
    color: #DC0000;
}

    [id^=kos-dostupnost].dostupno {
        color: green;
    }

.racun-artikl-final {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.kosara {
    overflow-y: scroll;
    height: 100%;
}

.mobile-fullscreen-modal .modal-content {
    height: 90vh;
}

.racun {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 310px;
    padding: 5px;
}

.kosara {
    -webkit-box-shadow: inset 0 0px 10px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem .5rem;
}

@media (max-width: 600px) {
    .pull-right {
        float: none !important;
    }

    .mobile-fullscreen-modal {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
    }

        .mobile-fullscreen-modal .modal-dialog {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            width: 100%;
            height: 100%;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
        }

        .mobile-fullscreen-modal .modal-content {
            width: 100%;
            height: 100%;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
        }

        .mobile-fullscreen-modal.force-scroll .modal-content {
            overflow-y: scroll !important;
        }

        .mobile-fullscreen-modal.force-scroll .modal-body {
            height: auto !important;
        }

        .mobile-fullscreen-modal .modal-body {
            padding-bottom: 1rem !important;
            margin-bottom: 0 !important;
            height: auto !important;
        }

        .mobile-fullscreen-modal .kosara {
            overflow-x: hidden !important;
            overflow-y: scroll !important;
            padding-bottom: 15%;
            height: 87%;
            min-height: 20px;
        }

        .mobile-fullscreen-modal .modal-header {
            display: none;
        }

        .mobile-fullscreen-modal .modal-footer {
            background: white;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 10%;
            min-height: 60px;
            padding: 0 !important;
            background: rgba(68, 110, 155, .925) !important;
            color: white !important;
            justify-content: space-between;
        }

            .mobile-fullscreen-modal .modal-footer > * {
                height: 100%;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -ms-flex-direction: column;
                flex-direction: column;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
                width: 33% !important;
                margin: 0 !important;
                padding: 0 !important;
                color: inherit !important;
                background-color: transparent !important;
                border: none;
                border-right: 1px solid rgba(255, 255, 255, .2) !important;
            }

                .mobile-fullscreen-modal .modal-footer > * > .fa {
                    font-size: 1.5rem;
                    margin-bottom: .5rem;
                }

    .inner-kosara-sadrzaj-detalj {
        width: 100% !important;
    }

    .detalj-ikona {
        width: 100% !important;
        display: inline-block;
        margin-bottom: .5rem;
    }

        .detalj-ikona > * {
            width: 100% !important;
        }

        .detalj-ikona *:first-child:after {
            content: '';
        }

        .detalj-ikona > * > i {
            _width: 100% !important;
            text-align: center;
            -webkit-box-orient: horizontal !important;
            -webkit-box-direction: normal !important;
            -ms-flex-direction: row !important;
            flex-direction: row !important;
            display: inline;
            font-size: 1rem !important;
        }

            .detalj-ikona > * > i:after,
            .detalj-ikona > *:after {
                content: attr(data-original-title) !important;
                margin-left: .5rem;
                font-family: 'Open Sans', sans-serif;
                font-size: 1rem !important;
            }

    .detalj-ikona-gumb {
        border-radius: .25rem;
        margin: 0 auto !important;
        padding: 0 .5rem .7rem !important;
        margin-top: 1rem !important;
        width: 200px !important;
        font-family: 'Open Sans', sans-serif;
        font-weight: normal !important;
        font-size: 1rem !important;
    }

    .kosara-napomena {
        display: none !important;
    }

    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
    }

    .kosara-stavke {
        padding-bottom: 4rem !important;
    }
}

@media (max-width: 767px) {
    #zalihaBody {
        max-height: 55vh;
    }

    [class^="tooltip"] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    .btn {
        min-width: 44px;
        min-height: 44px;
    }

    .primarni-header > .navbar > .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        .primarni-header > .navbar > .container > .row {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between;
            align-items: center;
        }

            .primarni-header > .navbar > .container > .row > div {
                flex: .5 0 50% !important;
                width: 50% !important;
            }

                .primarni-header > .navbar > .container > .row > div:last-child > #primarni-izbornik > .row > div:last-child > div > ul > li.nav-item:not(.d-none) {
                    text-align: center !important;
                    display: inline-block;
                    width: 33.3333%;
                }

    .btnispraznikosaru {
        display: flex;
        flex-direction: column;
    }
}

.color-inherit {
    color: inherit;
    background-color: inherit;
}

img {
    pointer-events: none !important;
}

.fa-spin {
    -webkit-animation: fa-spin .5s infinite linear;
    animation: fa-spin .5s infinite linear;
}


/*
 * CSS pravila koja vrijede isključivo samo na Internet Exploreru
 *
 * (Napomena: Microsoft Edge se NE podrazumijeva kao Internet Explorer)
 */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #detaljCarousel .carousel-indicators {
        left: 0px;
        margin-left: 0px;
        width: 100%;
    }

        #detaljCarousel .carousel-indicators li {
            text-indent: inherit;
        }

        #detaljCarousel .carousel-indicators .thumbnail {
            width: auto;
            height: auto;
            text-indent: inherit;
        }

    table [id*="kol-"] {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
    }

    .ms-card {
        max-height: 150px;
    }

    .card-img-top {
        height: 170px;
    }

    .card-body {
        width: 100%;
    }

    .kosara-stavke {
        padding: 1.5rem 0 3rem !important;
    }

    .row-no-flex {
        display: block !important;
    }

        .row-no-flex > .col-12 {
            width: 99%;
        }

        .row-no-flex > .col-sm-6 {
            width: 49%;
            display: inline-block;
        }

        .row-no-flex > .col-sm-8 {
            width: 65%;
            display: inline-block;
        }

        .row-no-flex > .col-sm-4 {
            width: 40%;
            display: inline-block;
        }
}

.carousel-control-prev,
.carousel-control-prev:hover,
.carousel-control-prev:active,
.carousel-control-prev:focus,
.carousel-control-next,
.carousel-control-next:hover,
.carousel-control-next:active,
.carousel-control-next:focus {
    color: #436D9A;
    opacity: 1 !important;
}

.carousel-item {
    min-height: inherit !important;
}

    .carousel-item img {
        -moz-user-select: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }

.slide {
    transition-duration: .1s;
}


/*Novi izgled detalja artikla*/

.product-gallery {
    position: relative;
    float: left;
    width: 50%;
    border-right: 1px solid #d8d8d8;
}

.product-info {
    float: right;
    width: 50%;
}

.product-top {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.product-category {
    display: block;
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    _font-family: Dosis, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #9b9b9b;
    padding-bottom: 5px;
}

    .product-category a {
        color: #9b9b9b;
    }

.product-title {
    display: block;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    padding-bottom: 0;
    _font-family: Roboto, Arial, Helvetica, sans-serif;
}

.product-ident {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 17px;
    color: #404040;
}

.product-zaliha {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 17px;
    color: #404040;
}

.product-price-content {
    position: relative;
    display: block;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.price-item {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
}

.item-price {
    width: 100%;
}

.product-old-price,
.product-price-label {
    display: block;
    font-size: 15px;
    line-height: 18px;
    padding-bottom: 0;
}

.product-current-price {
    display: block;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    padding-bottom: 0;
}

.product-tax {
    display: block;
    font-size: 11px;
    line-height: 13px;
    color: #9b9b9b;
    font-weight: 300;
    padding-bottom: 0;
}

.add-to-cart-container {
    display: flex;
    position: relative;
    margin-top: 6%;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.variation-add-to-cart {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.fz0 {
    font-size: 0;
}

.cd-qty {
    display: inline-block;
    width: auto;
    line-height: 0;
    margin-bottom: 0.5rem;
}

.cd-qty-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wp-btn-qty {
    display: inline-block;
    width: 22px;
    height: 47px;
    position: relative;
    cursor: pointer;
}

    .wp-btn-qty:before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        font: 15px/47px fontawesome;
        top: 0;
        left: 0;
        color: #353535;
    }

.wp-btn-dec:before {
    content: "\f068";
}

.wp-btn-inc:before {
    content: "\f067";
    text-align: right;
}

.wp-input-qty {
    display: inline-block;
    width: 72px;
    height: 47px;
    text-align: center;
    padding: 0 5px;
    font-size: 15px;
    font-weight: 600;
}

.wp-unit {
    display: block;
    position: absolute;
    font-size: 11px;
    line-height: 14px;
    _font-family: Dosis, Arial, Helvetica, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
    left: 0;
    right: 0;
}

.cd-qty .wp-unit {
    position: relative;
}

.btn-primary2 {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 14px;
    line-height: 18px;
    _font-family: Dosis, Arial, Helvetica, sans-serif;
    font-weight: 600;
    _text-transform: uppercase;
    background: #446e9b;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 15px 20px;
    transition: all .3s;
}

.product-btn-add {
    border-radius: 0;
    width: auto;
    text-align: center;
    font-size: 15px;
    line-height: 19px;
    /*/*/
    margin-left: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #446e9b;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 14px 24px;
    transition: all .3s;
}

    .product-btn-add span {
        padding-left: 30px;
        position: relative;
    }

        .product-btn-add span:before {
            position: absolute;
            display: block;
            width: 18px;
            height: 18px;
            content: "\f291";
            font: 15px/18px fontawesome;
            top: 0;
            left: 0;
            color: #fff;
        }

@media (max-width: 767px) {
    .product-gallery {
        float: none;
        width: 100%;
    }

    .product-info {
        float: none;
        width: 100%;
        border-left: none;
    }
}

.current-price {
    font-size: 1.3rem;
    font-weight: bolder;
}

.old-price {
    text-decoration: line-through;
    font-size: 1.15rem;
    color: #6c757d;
}

.fs-1 {
    font-size: 1rem;
}

.fs-11 {
    font-size: 1.11rem;
}
.fs-15 {
    font-size: 1.15rem;
}
.fs-2 {
    font-size: 1.2rem;
}
.fs-25 {
    font-size: 1.25rem;
}
.fs-5 {
    font-size: 1.5rem;
}


/*Bootstrap Lightbox*/

.ekko-lightbox {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-right: 0 !important
}

.ekko-lightbox-container {
    position: relative
}

    .ekko-lightbox-container > div.ekko-lightbox-item {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%
    }

.ekko-lightbox iframe {
    width: 100%;
    height: 100%
}

.ekko-lightbox-nav-overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex
}

    .ekko-lightbox-nav-overlay a {
        -ms-flex: 1;
        flex: 1;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        opacity: .2;
        transition: opacity .5s;
        color: #446e9b;
        font-size: 30px;
        z-index: 1
    }

        .ekko-lightbox-nav-overlay a > * {
            -ms-flex-positive: 1;
            flex-grow: 1
        }

        .ekko-lightbox-nav-overlay a > :focus {
            outline: none
        }

        .ekko-lightbox-nav-overlay a span {
            padding: 0 30px
        }

        .ekko-lightbox-nav-overlay a:last-child span {
            text-align: right
        }

        .ekko-lightbox-nav-overlay a:focus {
            outline: none
        }

        .ekko-lightbox-nav-overlay a.disabled {
            cursor: default;
            visibility: hidden
        }

.ekko-lightbox a:hover {
    opacity: 1;
}

.ekko-lightbox .modal-dialog {
    display: none
}

.ekko-lightbox .modal-footer {
    text-align: left
}

.ekko-lightbox-loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

    .ekko-lightbox-loader > div {
        width: 40px;
        height: 40px;
        position: relative;
        text-align: center
    }

        .ekko-lightbox-loader > div > div {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #fff;
            opacity: .6;
            position: absolute;
            top: 0;
            left: 0;
            animation: a 2s infinite ease-in-out
        }

            .ekko-lightbox-loader > div > div:last-child {
                animation-delay: -1s
            }

.modal-dialog .ekko-lightbox-loader > div > div {
    background-color: #333
}

@keyframes a {
    0%, to {
        transform: scale(0);
        -webkit-transform: scale(0)
    }

    50% {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}

.cookie-banner {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    height: auto;
    min-height: 70px;
    background-color: #446e9b;
    color: #eaeaea;
}

.cb-col {
    display: table-cell;
    vertical-align: middle;
    padding: 15px 20px;
    position: relative;
    text-align: justify;
    text-justify: inter-word;
}

    .cb-col > a {
        color: #fff;
        font-weight: 700;
        text-decoration: underline;
    }

.btn-white {
    background: #fff;
    color: #446e9b;
    border-color: #fff;
}

@media screen and (max-width: 991px) {
    .cb-col {
        display: block;
    }

    .btn-white {
        margin: 0;
        width: 100%;
    }
}

.checkout-btn {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 20px;
}

.checkout-note {
    width: 230px;
    display: block;
    font-size: 12px;
    line-height: 14px;
    color: #9b9b9b;
    text-align: center;
    margin-top: 5px;
}

.radio-border {
    border-color: #446e9b !important;
    background-color: #edf2f7;
}

input[type="radio"]:focus {
    outline: none;
}
/*Header top*/
.header-top-inner {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-top-right > ul > li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.header-top-right > ul > li {
    display: inline-block;
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
}

    .header-top-right > ul > li > a {
        color: #495057;
        text-transform: none;
        line-height: 45px;
        _font-size: 14px;
        cursor: pointer;
        display: inline-block;
        font-weight: 400;
        letter-spacing: 0.3px;
    }

.header-top-left {
    display: flex;
}

    .header-top-left ul li {
        display: inline-block;
    }

    .header-top-left label, .header-top-left ul.follow_link li a {
        margin-bottom: 0;
        margin-right: 20px;
        _font-size: 14px;
    }

    .header-top-left ul li a {
        color: #495057;
        font-weight: 400;
        _font-size: 18px;
    }

/*Košarica btn*/
.main-cart-wrapper {
    position: relative;
    margin: 10px;
}

    .main-cart-wrapper > a {
        font-size: 1rem;
        font-weight: 400;
        display: block;
        color: #495057;
    }

        .main-cart-wrapper > a span.cart-kol {
            position: absolute;
            left: 37px;
            width: 21px;
            height: 21px;
            line-height: 19px;
            text-align: center;
            background: #495057;
            border-radius: 25%;
            top: -7px;
            font-size: 10px;
            color: #fff;
        }

        .main-cart-wrapper > a:hover {
            color: #446e9b;
        }

            .main-cart-wrapper > a:hover > .cart-kol {
                background: #446e9b;
            }

        .main-cart-wrapper > a span {
            font-size: 32px;
            padding-right: 2px;
        }
/*Grupe novi izgled*/
.grupe-header {
    background: #446e9b;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
}

.grupe-menu nav > ul > li {
    display: inline-block;
    position: relative;
}

    .grupe-menu nav > ul > li.grupe-items {
        position: static;
    }

    .grupe-menu nav > ul > li .podgrupe-menu {
        position: absolute;
        min-width: 100%;
        padding: 25px 30px 30px 30px;
        background: #fff;
        box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.1);
        -webkit-transform: perspective(600px);
        transform: perspective(600px);
        -webkit-transform-origin: 0 0 0;
        transform-origin: 0 0 0;
        left: 0;
        right: auto;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: 0.2s;
        transition: 0.2s;
        z-index: 99;
        top: 100%;
        text-align: left;
    }

    .grupe-menu nav > ul > li:hover .podgrupe-menu {
        opacity: 1;
        visibility: visible;
        transform: perspective(600px) rotateX(0deg);
    }

.podgrupe-items {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

    .podgrupe-items > li {
        flex-basis: 25%;
        margin-top: 1rem;
    }

.nivo-1 > a {
    display: block;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    line-height: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    text-align: center;
}

.nivo-1:hover {
    background-color: #5f8bb9;
}

.nivo-2 > a {
    color: #495057;
    font-size: 1rem;
    line-height: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

    .nivo-2 > a:hover {
        color: #446e9b;
    }

.nivo-3 > a {
    font-size: 1rem;
    line-height: 16px;
    display: block;
    margin-bottom: 4px;
}

.nivo-4 > a {
    font-size: 11px;
    line-height: 16px;
    display: block;
    margin-bottom: 4px;
}

/*Pretraga*/
.pretraga-base {
    border: 1px solid #e1e1e1;
    border-radius: 2px;
}

    .pretraga-base > input {
        width: 100%;
        height: 50px;
        padding: 4px 70px 0 18px;
        border: 0;
    }

    .pretraga-base > button {
        position: absolute;
        width: 50px;
        height: 50px;
        display: block;
        right: 0;
        top: 0;
        background: 0 !important;
        padding: 0;
        font-size: 16px;
        z-index: 120;
    }
/* Rotate */
.rotate img {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.rotate:hover img {
    -webkit-transform: rotate(15deg) scale(1.2);
    transform: rotate(15deg) scale(1.2);
}