/* CAROUSEL **/
.owl-carousel-banner {
    height: 100%;
}

button:focus {
  outline: none;
}

.owl-carousel-banner * {
    height: auto;
}

.owl-carousel-banner .owl-nav {
  display: none;
}

.owl-theme .owl-dots .owl-dot span {
  width: 20px;
  height: 20px;
  background: white;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #ff9533 !important;
}

.page-header {
  position: sticky;
  top: -104px;
  z-index: 100;
}

.owl-carousel-banner  .owl-dots {
  bottom: 48px;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  width: 30%;
}


@media only screen and (max-width: 767px) {
  .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: black;
  }
  .owl-carousel-banner  .owl-dots {
    bottom: 0px;
    width: 100%;
  }
}

/* HEADER */
/*
#knjizni-program:hover #knjizni-program-list, #knjizni-program-list:hover,#glasbeni-program:hover #glasbeni-program-list, #glasbeni-program-list:hover,
#solski-program:hover #solski-program-list, #solski-program-list:hover,#akcije-in-prednarocila:hover #akcije-in-prednarocila-list, #akcije-in-prednarocila-list:hover  {
  display: block !important;
}
*/


.header-url {
  color: #fff;
}

.header-url:hover {
  color:#fff
}

.nav.navigation li.level-top.parent > div {
  color: #fff;
  padding-right: 44px;
  position: relative;
  z-index: 0;
  line-height: inherit;
}

.header-wrapper:hover {
    opacity: 1;
    transform: rotateY(0deg);
    transition: 0.3s ease;
    background: #333333;
}

.header-wrapper i {
  color: #fff;

}


.bans-extra-padding.bans-1_ban-1 {
	padding-right:10px;
}

.bans-extra-padding.bans-1_ban-2 {
	padding-left:10px;
}

@media (max-width: 576px) {
	 .bans-extra-padding.bans-1_ban-1 {
		padding-right:unset;
	}

	.bans-extra-padding.bans-1_ban-2 {
		padding-left:unset;
	}

}

@media (min-width: 992px) {
  nav.navigation li.level-top > div {
      display: block;
      font-weight: 400;
      padding: 21px 34px 18px;
      position: relative;
      z-index: 0;
      transition: none;
  }
  .f-mobile {
    display: none;
  }

  .navigation .parent.ui-menu-item:hover .level0.submenu {
    display: block !important;
  }

}

@media (max-width: 991px) {
  nav.navigation > .ui-menu li > div {
      color: #777777;
      padding: 17px;
      border-bottom: 1px solid #e1e1e1;
      position: static;
      display: block;
  }

  .header-url {
    color: #777777;
  }

  .header-wrapper i {
    color: #777777;
  
  }

  .header-wrapper:hover {

      background: #9b9b9b;
  }

    .header-wrapper:hover a {

      color:white;
  }
    
  .level-top i {
    float: right;
  }

  .sm-desktop .tm-top-navigation > .ui-menu {
    padding-right:0px;
  }


  #shopping-cart-table .actions-toolbar i {
    font-size: 25px;
  }

  .levelMain > .level-top > a {
    pointer-events: none;
  }
  .f-desktop {
    display: none;
  }
}



.level0.submenu, .level1.submenu {
  display: none;
}

.level1.ui-menu-item:hover .level1.submenu {
  display: block !important;
}

.level1.submenu {
  top: calc(100% - 10px) !important;
}



#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    /* change if the mask should have another color then white */
    z-index: 800;
    /* makes sure it stays on top */
  }


  .modules-product-wrapper .grid-main {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2
  }

  .modules-product-wrapper .grid-left {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1
  }

  .modules-artikel-wrapper .column.main {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-left: -20px;
    margin-right: -20px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .modules-artikel-wrapper .product-info-main {
    padding-left: 20px;
    padding-right: 20px;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 50%;
  }

  .modules-artikel-wrapper .product.media{
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
  }

  .modules-artikel-wrapper .product.info{
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    margin: 2rem 0;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    background: #fff;
  }

  .modes-mode {
    font-size: 20px;
    padding: 10px 10px 10px 14px;
  }

  .artikel-thumbs img {
    max-height: 150px;
  }

  .owl-theme.artikel-thumbs .owl-dots .owl-dot span {
    background-color: gray;
  }
  

  .artikel-img img {
    max-height: 500px;
    max-width: 250px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .outer, .owl-item {
    width: 100%;
    height: 100%;
  }

  .owl-item.current {
    border: solid 1px grey;
  }



  .navigation.tm-top-navigation a:hover {
    text-decoration: none;
  }


  .sm-header-nav-toggle {
    padding: 8px 8px 8px 12px;
  }
  .sm-header-nav-toggle div {
    width: 25px;
    height: 3px;
    background-color: #fbfbfb;
    margin: 7px 0;
    transition: 0.4s;

  }
  .sm-header-nav-toggle.active .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
  }
  .sm-header-nav-toggle.active .bar2 {opacity: 0;}
  .sm-header-nav-toggle.active .bar3 {
    transform: translate(0, -9px) rotate(45deg);
  }


  .control-search .mobile-close-search, .control-search .mobile-submit-search {
    display: none;
  }


  .mobile-close-search , .mobile-submit-search  {
    position: absolute;
    right: 0;
    color: orange !important;
    top: 0;
    font-size: 31px;
    padding: 14px;
  }

  .mobile-submit-search {
    right: 50px;
  }

  .close-shopping-cart, .close-user-popup {
    display: none;
  }

  .showcart.active .close-shopping-cart, .user-wrapper.active .close-user-popup{
    display: block;
    color: white;
    font-size: 20px;
    padding: 0px 0px 0px 3px;
  }

  .showcart.active .fa-cart-shopping, .user-wrapper.active .fa-user {
    display: none;
  }



  @media only screen and (max-width: 992px) {
    .action.showcart .text{
      margin-right: 30px;
      font-size: 20px;
      padding: 3px !important;
    }
    .showcart.active .close-shopping-cart, .user-wrapper.active .close-user-popup{
      font-size: 30px;
    }

    .user-wrapper.active .close-user-popup{
      padding-top: 3px;
    }

    .sm-header_customer-menu-toggle .fa-user{
      color:white;
      font-size: 20px;
      padding: 20px;
    }
    .control-search {
      display: none;
    }
    .control-search input {
      height: 56px;
    }

    .control-search .mobile-close-search, .control-search .mobile-submit-search {
      display: block;
    }

    .search .fa-magnifying-glass {
      font-size: 20px;
      color: white;
      padding: 20px;
    }

    .action.search,.block.block-wishlist {
      display: none;
    }

    .sm-header-menu-wrap {
      z-index: -8888 !important;
      pointer-events: none;
    }
    .sm-header-menu-wrap.active {
      z-index: 8888 !important;
      pointer-events: auto;
    }

    .modules-artikel-wrapper .product-info-main,.modules-artikel-wrapper .product.media {
      max-width: 100%;
      flex-basis: 100%;
    }




  }

  .sm-header_customer-menu-toggle:focus {
    outline: none;
  }


  /*
  ARTIKLI
  */

  .control select {
    max-width: max-content;
  }

  


  /*
    KATEGORIJA
  */

  .grid .product-item-info {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .grid .product-item-details {
    margin-top: auto
  }

  .product-item-photo {
    height: 100%;
  }

  .page-main .owl-stage-outer .product-item img {  
    object-fit: contain;
    object-position: center;
    overflow: hidden;
    height:50vh;
    max-height: 400px;
  }


  .kategorija-show-more {
    position: absolute;
    right: 5px;
    top: 5px
  }


  .filter-options-item.active .kategorija-show-more, .block.active .kategorija-show-more  {
    transform: rotate(180deg);
  }

  .category-filters-icon {
    display: none;
  }

  @media (max-width: 991px) {
  
      .field.limiter,.toolbar-sorter.sorter.field {
        flex-basis: 50%;
      }

      .field.limiter {
        text-align: right;
      }

      .field.limiter #limiter {
        float: right;
      }

      .modes, .filter-options,.block-title.filter-title,.toolbar p.toolbar-amount,
      #shopping-cart-table thead  {
        display: none;
      }

      .category-filters-icon {
        display: inline-block;
        float:right;
      }
      
      .block-subtitle.filter-subtitle.active .category-filters-icon  {
        transform: rotate(180deg);
      }
      .filter-options-item {
        padding: 5px 0 !important;
      }
  
      .filter-value {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    
      }

      .table:not(.totals).table {
        font-size: 13px;
      }

      table:not(.totals).table th, table:not(.totals).table td {
        padding: 2px;
      }

      .post-item {
        text-align: center;
      }

      .toolbar-products.toolbar-filters {
        display: none;
      }

      .logo.sub-page img {
        height: auto !important;
      }

      .header-content .container {
        padding: 0px;
      }

  }

  .news-content-img {
    height: 250px;
    width: auto !important;
  }

  /*
  WISHLIST 
  */

  .account-nav ul{
    display: block;
  }

  /*
  SIDEBAR
  */

  .nav.item.current, .nav.item.current a {
    font-weight: 900 !important;
  }


  .my-account-table {
    font-size: 16px;
  }
  .my-account-table tr td:first-child {
    font-weight: 700;
    min-width: 150px; 
  }

  input.error {
    border:solid 1px red;
  }

  .error {
    color:red;
  }

  .col-method #dostava-error{
    position: absolute;
    top: -50px;
    left: 0;
    width: 200px;
  } 
  .col-pay-method #placilo-error {
    position: absolute;
    top: -28px;
    left: 0;
    width: 200px;
  }


  .scrollToTop i {
    font-size: 25px;
    color: orange;
  }
  

  /*
  REGISTRATION
  */

.alert-success {
    color: #fff;
    background-color: #28a745;
    border-color: #23923d;
}

.alert-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #d32535;
}


.owl-prev.fa-angle-left::before, .owl-next.fa-angle-right::before {
  content: none;
}

.col-price {
  width: 10%;
}

.col-method input {
  top: 0px;
}


.col-type {
  width: 80%;
}

.col-pay-method, .col-method {
  width:10%;
}
.col-pay-method input{
  top: -9px;
}


.artikel-wrapper .fotorama__fullscreen-icon {
  background: url('../img/bg.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
  width: 100% !important;
  height: 100% !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 10 !important;
}


.table-order-items td,.table-order-items th {
  width: 10%;
}

.table-order-items td.actions,.table-order-items th.actions {
  width: 20%;
}

.bans-2-a  {
  color:white;
}

.bans-2_text-wrap .bans-2-a {
  padding-left: 60px;
}

.bans-2-a:hover {
  text-decoration: none;
  color:white;
}



.tm-switch-image-container {
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-top: auto;
  margin-bottom: auto;
  height: 100%;
}

.tm-switch-image-container img {
  height: auto;
    max-height: 350px;
    width: auto;
    max-width: 100%;
}

.block-posts-list .post-items .post-image a img {
  width: 100%;
  vertical-align: top; 
  max-height: 400px;
}
.block-posts-list .blog-items .post-image  {
	text-align:center;
}
.block-posts-list .blog-items .post-image a img {
  width: unset!important;
  vertical-align: top; 
  max-height: 400px;
}

.block-posts-list .post-items .post-item .item-wrapper {
  padding-bottom: 43px; 
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.block-posts-list .post-items .post-image {
  margin-top: auto;
  margin-bottom: auto;
}

.reladted .product-image-photo {
  height: 250px;
}

#shopping-cart-table .cart.item td .product-image-photo {
  width: 140px;
  max-width: none; 
}

.shipping-delivery-page .arhiv-wrapper  ul li:before {
  margin-right: 15px;
  position: relative;
  top: -3px;
}

.shipping-delivery-page .arhiv-wrapper  ul li a {
  font-size: 17px;
}

.arhiv-wrapper h3  {
  margin-bottom: 0px;
  font-size: 20px;
}

.arhiv-wrapper i {
  color: orange;
}

.arhiv-wrapper em span {
  color: transparent;
}

@media (min-width: 480px) {
  .catalog-product-view .box-tocart button.action {
    width: 195px !important;
  }
}

button.action.primary.outline:not(:hover) {
    background-color: #fff !important;
    color: #ff9533 !important;
    border: 2px solid #ff9533 !important;
}

.icon-helidon {
  display: inline-block;
  background: url('https://www.zalozba-obzorja.si/media/icons/helidon.svg') no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}