/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/

/*Top bar*/
.ar-top-bar {
    background: #ED1C24;
    color: #fff!important;
    padding: 0px 10px 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.ar-top-bar p {
    margin-bottom: 0;
    color: #fff!important;
    text-align: center;
	line-height: 1.5;
}

.page-stranica-naplate .ar-top-bar {display:none!important;}


/*paypal button fix*/

html .checkout.woocommerce-checkout[validation="true"] .woocommerce-terms-and-conditions-wrapper,
html .checkout.woocommerce-checkout[terms="false"][validation="true"] #wc-braintree-paypal-paypal-form{
    /*background-color: green;*/
    transition: all .5s;
    filter: grayscale(0%);
}

/*html .checkout.woocommerce-checkout[validation="false"] .woocommerce-terms-and-conditions-wrapper{*/
/*    !*background-color: red;*!*/
/*    opacity: 0.3;*/
/*    transition: all .5s;*/
/*    pointer-events: none;*/
/*    cursor: default;*/
/*    text-decoration: none;*/
/*    filter: grayscale(100%);*/

/*}*/

html .checkout.woocommerce-checkout[validation="false"] #wc-braintree-paypal-paypal-form,
html .checkout.woocommerce-checkout[terms="true"] #wc-braintree-paypal-paypal-form{
    opacity: 0.3;
    transition: all .5s;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    filter: grayscale(100%);
}


#wc-braintree-paypal-paypal-form{
    background-color: transparent;
}

/*
 * Add your own custom css below this text.
 */
select::-ms-expand {
     display: none !important;
}

#main .blok-knjizica .blok-knjizica-izdelki .product-thumbnail-wrapper img {
     max-height: 100%;
}

.footer-instagram img {
     padding: 0;
     position: relative;
     top: 4px;
}
.footer-inner {
     position: relative;
     top: 50%;
     transform: translateY(-50%);
}
.footer-icons-inner {
     display: inline-block;
     width: 190px;
}
#masthead .storefront-primary-navigation #site-navigation .megamenu-dropdown .dropdown-subitems {
     margin-top: 18px;
}
#content #main .ginput_recaptcha {
     margin: 30px 0 15px 0;
}
.servisni-center .ginput_recaptcha {
     text-align: center;
}
.servisni-center .ginput_recaptcha > div {
     display: inline-block;
}
body #novice-prijava .gform_wrapper .ginput_recaptcha {
     text-align: center;
}
body #novice-prijava .gform_wrapper .ginput_recaptcha > div {
     display: inline-block;
}

html #masthead .storefront-primary-navigation #site-navigation .nav-menu::after {
     display: none;
}

#masthead .storefront-primary-navigation #site-navigation .nav-menu {
     display: flex;
     justify-content: space-between;
}

.woocommerce-checkout #billing_address_2_field {padding-top: 33px !important;}
 .woocommerce-checkout #main .woocommerce-terms-and-conditions-checkbox-text::before{
     box-shadow:0 2px 9px 2px rgba(0,0,0,0.5);
}

/* PROVAC BADGE*/
.status-badge-provac {
     background-color: #d8232a;
}
.status-badge-provac span {
     top: 50%;
     -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
     -o-transform: translateY(-50%);
     transform: translateY(-50%);
}
/* PROVAC BADGE*/

/** Popravek linkov na obrazcu **/
body #content .gform_wrapper .gfield_checkbox label a{
     color: #d8232a;
}

body #content #novice-prijava .gform_wrapper .gfield_checkbox label a{
     color:#fff; 
}
#novice-prijava .validation_message{
     position: absolute;
}
#content .gform_wrapper .gfield_checkbox input:checked + label::before{
     background-image: url(images/check.svg);
     background-size: 77%;
     background-position: 50%;
     background-repeat: no-repeat;
}
@media only screen and (max-width: 767px) {
     .woocommerce-checkout #billing_address_2_field {
          padding-top: 0px !important;
     }
}

/*---- New CSS 202408 ----*/
body.single-product .free-shipping-container::before {
     content: url(/wp-content/uploads/2024/09/Delivery.svg);
     background-image: unset;
     transform: translateY(-7px);
 }
 body.single-product .free-shipping-container-fast-shipping {
     margin-top: 0px;
     position: relative;
     padding-left: 0px;
 }
 body.single-product .free-shipping-container-fast-shipping::before {
     content: url(/wp-content/uploads/2024/09/Delivery-1.svg);
     background-image: unset;
     transform: translateY(10px); 
     display: inline-block;
     margin-right: 15px;
 }
 .placilne-metode-wrapper {
     margin: 15px 0;
 }
 .placilne-metode-wrapper p {
      margin-bottom: 10px;
      font-size: 14px;
 }
 .placilne-metode-images {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 3%;
 }
 .garancija-zadovoljstva-wrapper::before {
     content: "";
     position: absolute;
     top: 4px;
     bottom: 0;
     left: 0;
     margin: auto;
     width: 100px;
     background-image: url(/wp-content/uploads/2024/09/image-4-1.png);
     background-repeat: no-repeat;
     background-size: 89px;
     background-position: center;
 }
 .garancija-zadovoljstva-wrapper {
     position: relative;
     background: #F5E9CB;
     padding: 10px 10px 10px 100px;
 }
 .garancija-zadovoljstva-naslov {
     font-size: 18px;
      font-weight: 700;
     color: #000;
 }
 .garancija-zadovoljstva-tekst {
     font-size: 14px;
     color: #000;
 }
 .status-single-upsell {
     display: flex;
     border: 1px solid #ED1C24;
     background: #F5F5F5;
     align-items: center;
     padding: 10px 20px;
     margin: 15px 0;
 }
 .status-single-upsell-left {
      width: 50%;
      color: #000;
      margin-right: 10px;
      font-size: 14px;
 }
 .status-single-upsell-center {
      width: 30%;
 }
 .status-single-upsell-right {
      width: 20%;
      margin-left: 10px;
 }
 .status-single-upsell-tekst {
      font-weight: 700;
 }
 .status-single-upsell-center {
     padding: 10px;
     border: 1px solid #ED1C24;
     background: #FFF;
     text-align: center;
     color: #000;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
 }
 .status-single-upsell-center::after {
      content: url(/wp-content/uploads/2024/09/kosarica-3.svg);
 }
 /* Set - prihranek */
.digi_set_prihranek_badge-wrapper {
     width: 100%;
     position: relative;
     display: block;
 }
 li.product > .digi_set_prihranek_badge-wrapper,
 li.product > .digi_free_gift_badge-wrapper {
     position: absolute;
     top: 0;
 }
 li.product > .digi_free_gift_badge-wrapper {
      right: 0;
 }
 .digi_set_prihranek_badge {
     position: absolute;
     right: 0;
     z-index: 9;
     background-image: url(https://www.status.si/wp-content/uploads/2024/09/badge-2.svg);
     width: 85px;
     height: 80px;
     text-align: center;
     color: #fff;
     font-weight: 700;
     padding: 9px 5px;
     line-height: 1.2;
      font-size: 16px;
 }
 li.product .digi_set_prihranek_badge {
      right: 10px;
 }
 .digi_set_prihranek_sp-wrapper {
     border: 1px dashed #ED1C24;
     background: #F5F5F5;
     padding: 10px 15px;
     margin-bottom: 20px;
 }
 .digi_set_prihranek_sp-wrapper p,
 .digi_free_gift_badge_wrapper p {
     color: #000;
      margin: 0;
 }
 .digi_set_prihranek_sp-wrapper p:last-child {
      color: #ED1C24;
      font-weight: 700;
 }
 .status-custom-image-wrapper {
	position: relative;
}
.status-custom-image-wrapper .digi_free_gift_badge {
    position: absolute;
    right: 0;
    top: 0;
    width: 85px;
    z-index: 999;
}
.digi_free_gift_badge_wrapper {
    border: 1px dashed #ED1C24;
    background: #F5F5F5;
    padding: 10px 15px;
    margin-bottom: 20px;
}
body.archive .status-product-badge.status-badge-percentage,
body.single-product .status-product-badge.status-badge-percentage {
    background-color: #d8232a;
    left: 15px;
    right: unset;
    z-index: 9;
}
 @media screen and (max-width: 600px) {
      .status-single-upsell {
           padding: 10px;
      }
      .status-single-upsell-center a {
           flex-direction: column;
           gap: 0;
           padding: 5px 0;
      }
      #masthead .storefront-handheld-footer-bar ul li.cart .count { display:block!important; }
      .storefront-handheld-footer-bar ul li.cart .count { background-color: #D8232A!important;    margin-left: 10px; }
 }
