@import url("/p/themify-icons/themify-icons.css");
@import "b2b-navigation.css";

/* region item banners */
.item-banner {
    display: block;
    width: 32px;
    height: 32px;
    background-color: #000;
    font-style: normal;
}

.item-banner:before {
    font-family: Themify;
    font-size: 16px;
    line-height: 32px;
    width: 32px;
    text-align: center;
    color: #fff;
    display: block;
}

.item-banner-yellow {
    background: #F8C239;
}

.item-banner-green {
    background: #39983F;
}

.item-banner-red {
    background: #ED1C24;
}

.item-banner-blue {
    background: #2493BA;
}

.item-banner-shipping {
    background: #999;
}

.item-banner-yellow:before {
    content: "\e678";
}

.item-banner-green:before {
    content: "\e674";
    content: "\f164";
    font-family: FontAwesome;
}

.item-banner-red:before {
    content: "%";
    font-weight: bold;
    font-family: inherit;
}

.item-banner-blue:before {
    content: "\e619";
}

.item-banner-shipping:before {
    content: "\f0d1";
    font-family: FontAwesome;
}

.item-special {
    position: absolute;
    left: 8px;
    top: -8px;
    width: 74px;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.price-user-best,
.price-action {
    background: #C51017;
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.15);
    position: relative;
}

.price-action:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 0 8px;
    border-color: transparent transparent transparent #85171B;
    position: absolute;
    right: -8px;
    top: 0;
}

.price-disc {
    font-weight: bolder;
    font-size: 18px;
    line-height: 20px;
    padding: 13px 0 10px 0;
    background: #ED1C24;
}

.price-old {
    font-size: 12px;
    line-height: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 7px;
    margin-bottom: 1px;
    text-decoration: line-through;
}

.price-new {
    font-size: 13px;
    line-height: 13px;
    font-weight: bolder;
    padding-bottom: 7px;
}

.price-user-best {
    width: auto;
    max-width: 120px;
    position: absolute;
    background: #C31520;
}

.price-user-best .price-action {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.price-user-best .price-action-old-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.price-user-best .price-old,
.price-user-best .price-new,
.price-user-best .price-disc {
    font-size: 11px;
    text-decoration: line-through;
    background: transparent;
    color: rgba(255,255,255,0.5);
    padding: 1px;
    line-height: 0.9em;
}
.price-user-best .price-old {
    padding-top: 16px;
}
.price-user-best .price-disc {
    padding: 18px 6px 10px;
    background: #ED1C24;
    font-size: 18px;
}

.price-user-best .prices-column {
    padding: 0 5px;
}

.price-user-best .prices-column div {
    width: 100%;
}

.price-user-best .price-action-user {
    float: left;
    width: 100%;
    clear: both;
    background: #1B9753;
    text-transform: uppercase;
}

.price-user-best .price-action-user h5 {
    margin: 5px 0 0 0;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
}

.price-user-best .price-action-user strong {
    font-size: 16px;
    display: block;
    padding: 0 0 5px 0;
}
.price-shipping {
    background: #999;
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.15);
    font-size: 11px;
    line-height: 13px;
    font-weight: bold;
    padding: 8px 0;
    position: relative;
}

.price-shipping.hastop:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 0 8px;
    border-color: transparent transparent transparent #11442A;
    position: absolute;
    right: -8px;
    top: 0;
}

.price-shipping .fa {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 1px;
}

.item-labels {
    background: #efefef;
    padding: 7px;
}

.item-stats ul {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

/* endregion */

/* region Overrides top menu icons */
.b2b-list-top-filter .fa-sun-o:before,
.nav .yellow .fa-sun-o:before,
.list-group .yellow .fa-sun-o:before {
    content: "\e678";
    font-family: "Themify";
}

.nav .green .fa-thumbs-up:before, .list-group .green .fa-thumbs-up:before {
    /*content: "\e674";
    font-family: "Themify";*/
}

/* endregion */

/* region Martin noob */
.b2b-menu.b2b-menu-normal .list-group .list-group-item a {
    font-size: 12px;
    line-height: 12px;
    padding-top: 0;
    padding-bottom: 0;
}

/* endregion */

/* region Menu title overrides */
.menu_title_yellow {
    background: #f8c239;
    color: #fff;
}

.menu_title_yellow:before {
    content: "\e678";
    font-family: "Themify";
}

.menu_title_red {
    background: #ed1c24;
    color: #fff;
}

.menu_title_red:before {
    content: "%";
    font-weight: bold;
    font-family: inherit;
}

.menu_title_green {
    background: #39983f;
    color: #fff;
}

.menu_title_green:before {
    content: "\f164";
    font-family: FontAwesome;
}

.menu_title_yellow, .menu_title_green, .menu_title_red {
    padding: 3px 10px !important;
    display: block;
    float: left;
}

.menu_title_yellow a, .menu_title_green a, .menu_title_red a {
    color: #fff;
    font-size: 14px;
    float: right;
    margin: 0 10px;
    line-height: 33px;
}

.menu_title_yellow:before, .menu_title_green:before, .menu_title_red:before {
    display: inline-block;
    margin-right: 15px;
    opacity: 0.5;
}

/* endregion */

/* region b2b top menu overrides */
#storeCategories .dropdown-menu {
    /*column-count: 2;*/
    column-gap: 1px;
    column-rule: 1px outset rgba(0, 0, 0, 0.3);
}

#storeCategories .dropdown-menu li a {
    font-size: 13px;
    border: 0;
    display: inline-block;
    width: 100%;
    /*white-space: normal;*/
}

/* endregion */

/* region b2b product properties */
#tabproperties td.product-property-name {
    white-space: nowrap;
}

.field-price strong {
    font-size: 16px;
}

/* endregion */


.b2b-list-top-filter .btn {
    border: none;
    margin: 0 5px 5px 0;
}

.b2b-list-top-filter .btn.disabled {
    background: #eee;
    color: #bdbdbd;
}

.b2b-list-top-filter .btn:hover {
    background: #000;
    color: #fff;
}

.b2b-list-top-filter .btn.active:hover {
    background: #5f5f5f;
}

.b2b-list-top-filter .btn .badge {
    background: rgba(0, 0, 0, 0.3);
}

.b2b-list-top-filter .btn.active {
    -webkit-box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    background: #ccc;
}
/* region carousel */
#entry-carousel .carousel-blur{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-position: center right;
    filter: blur(10px);
}
#entry-carousel .carousel-caption{
    background: rgba(0,0,0,0.37);
    color: #fff;
    top: 25px;
    right: 25px;
    bottom: 25px;
    left: initial;
    width: 50%;
    padding: 25px;
}
#entry-carousel .carousel-caption h2{
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: bold;
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.2);
    color: #fff;
}
#entry-carousel .carousel-caption .carousel-caption-content{
    font-size: 14px;
    line-height: 18px;
    text-align: left;
}
#entry-carousel .carousel-indicators {
    left: 10px;
    width: auto;
    margin-left: 0;
    bottom: 10px;
    margin: 0;
}

#entry-carousel .carousel-indicators li {
    width: 32px;
    height: 8px;
    background: #DFDFDF;
    border-radius: 0;
    margin: 0 8px 0 0;
    border: none;
}

#entry-carousel .carousel-indicators li.active {
    width: 32px;
    height: 8px;
    background: #ED1C24;
    margin: 0 8px 0 0;
}
/* endregion */


.lang-switcher-flags .lang-flag img {
    display: none;
}
.lang-switcher-flags .lang-flag {
    display: block;
    width: 28px;
    height: 20px;
    padding: 0;
    border-radius: 3px;
    background: red;
    background-size: cover;
    background-position: center;
    margin: 15px 5px;
}

.lang-switcher-flags .lang-flag-en {
    background-image: url(flag/en.png);
}
.lang-switcher-flags .lang-flag-hr {
    background-image: url(flag/hr.png);
}
.lang-switcher-flags .lang-flag-sl {
    background-image: url(flag/sl.png);
    background-position: -2px center;
}
.lang-switcher-flags .lang-flag-sr {
    background-image: url(flag/sr.png);
}
.item-yt{
    float: left;
    width: 100%;
    margin: 20px 0 10px 0;
}
/* region toolbar */
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner,.app-b2b_store .toolbar-left .ui-spinner{
    position: relative;
    padding-right: 16px;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-widget,.app-b2b_store .toolbar-left .ui-widget{
    float: left;
    border: none;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-button, .app-b2b_store .toolbar-left .ui-spinner-button{
    position: absolute;
    right: 0;
    cursor: pointer;
    background: #eee;
    border-radius: 0;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-button span, .app-b2b_store .toolbar-left .ui-spinner-button span{
    background: none!important;
    text-indent: 0;
    color: #eee;
    position: relative;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-up, .app-b2b_store .toolbar-left .ui-spinner-up{
    top: 0;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-down, .app-b2b_store .toolbar-left .ui-spinner-down{
    bottom: 0;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-button span:after, .app-b2b_store .toolbar-left .ui-spinner-button span:after{
    font-family: "FontAwesome";
    display: block;
    color: #52595f;
    left: 0;
    width: 16px;
    height: 16px;
    position: absolute;
    text-align: center;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-up span:after, .app-b2b_store .toolbar-left .ui-spinner-up span:after{
    content: "\f0d8";
    top: 0;
}
.app-b2b_store .list-thumb-item .modal-footer .toolbar .ui-spinner-down span:after, .app-b2b_store .toolbar-left .ui-spinner-down span:after{
    content: "\f0d7";
    bottom: 0;
}
.app-b2b_store .cart4.alert-danger {
    font-size: 16px;
}
/* endregion */
/* region responsive */
@media (max-width: 1299px){
    #entry-carousel .carousel-caption{
        top: 0;
        right: 0;
        bottom: 0;
    }
}
@media (max-width: 1199px){
    #entry-carousel .carousel-caption-content{
        display: none;
    }
    #entry-carousel .carousel-caption h2{
        font-size: 22px;
    }
    .has-app-nav #main-container{
        padding-top: 163px;
    }
    #storeCategories .dropdown-menu{
        column-count: 1;
    }
    .app-b2b_store h1, .app-b2b_store #items-list h1{
        float: none;
        display: inline-block;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .list-thumb-item p.field.title.truncate-ellipsis {
        font-size: 14px;
    }

    .app-b2b_store .list-thumb-item .toolbar .btn-success {
        font-size: 11px;
        padding: 8px;
    }

    .app-b2b_store .list-thumb-item .toolbar .options input {
        width: 28px;
    }

    .app-b2b_store .list-thumb-item .toolbar .btn.tooltip-top {
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media (max-width: 991px){
    #b2b-search-form .input-group-addon{
        display: none;
    }
    #b2b-search-form .chosenJs{
        display: none!important;
    }
    .app-b2b_store #menuCategories{
        font-size: 15px;
    }
    #b2bSearch .table-responsive{
        padding: 0;
        border: none;
    }
    #b2bSearch .table-responsive .btn-success{
        width: 100%;
    }
}
@media (max-width: 767px){

    .lang-switcher-flags{
        display: block!important;
    }
    .lang-switcher-flags .lang-flag{
        width: 20px;
        height: 14px;
        margin: 15px 5px 10px 5px;
    }
    .b2b-list-top-filter .btn{
        margin: 0 5px 5px 0;
    }
    #head-nav-bars .navbar-brand{
        width: 100px;
        background-size: contain;
    }
    .has-app-nav #main-container{
        padding-top: 117px;
    }
    #storeCategories .dropdown-menu li a{
        color: #fff;
        width: 100%;
    }
    #storeCategories .dropdown-menu{
        background: #D5D5D5;
    }
    #storeCategories .dropdown-menu li a{
        color: #222;
    }
    #b2bSearch .btn{
        padding-top: 7px;
        padding-bottom: 7px;
    }
    .b2b-search-select2-drop .select2-search input, #b2b-search-form .select2-container .select2-choice{
        height: 36px;
        padding: 7px 12px;
    }
    #b2bSearch{
        position: fixed;
        top: 58px;
        left: 130px;
        right: 115px;
        z-index: 103;
    }
    #storeCategories{
        position: fixed;
        top: 50px;
        right: 0px;
        left: 130px;
        z-index: 102;
        border: none;
    }
}
@media (max-width: 600px){
    #b2bSearch .select2-container .select2-choice > .select2-chosen{
        margin-right: 0;
    }
    .b2b-search-select2-drop .select2-search input, #b2b-search-form .select2-container .select2-choice{
        text-overflow: ellipsis;
    }
    #entry-carousel .carousel-caption{
        padding: 5px;
    }
    #entry-carousel .carousel-caption h2{
        font-size: 16px;
        line-height: 18px;
        margin-top: 10px;
    }
}
@media (max-width: 560px){
    #b2bSearch{
        position: static;
    }
}
@media (min-width: 600px) {
    #my-modal .flex-box {
        width: 50%;
    }
}

@media (min-width: 1000px) {
    #my-modal .flex-box {
        width: 33.333%;
    }
}
/* endregion */


#items-list .list-thumb-item .item-check {
    left: 5px;
    top: 170px;
    right: auto;
    border-radius: 4px;
    line-height: 1em;
}
#b2b-notification-modal .modal-header{
    padding: 0;
    min-height: 0;
    border: none;
    z-index: 1;
}
#b2b-notification-modal .modal-header .close{
    background: #000;
    color: #fff;
    padding: 2px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.8;
}
#b2b-notification-modal .modal-body{
    padding: 0;
}

@media (max-width: 1370px) {
    .app-b2b_store.not-mobile #main-container {
        padding-top: 163px;
    }
}