@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

/*
Theme Name: VIDOVIC_D.O.O.
Author: Popravi.net D.O.O.
Description: Stovariste Vidovic, vidovic stovariste, vidovic stovariste zvornik, oraovac, gradjevinsko stovariste, blokovi, crijep, fasade, građevinski materijal, gradjevinski materijal, stiropol, Kompanija Vidovic D.O.O. se bavi prodajom gradjevinskog materijala, proizvodnjom armaturnih mreža, i prodajom svih materijala od temelja do krova
Text Domain: Vidovic
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



:root{
    --naslov-color: rgba(77, 77, 77);
    --dugme-color : #f19426;
    --dugme-hover: #fbb244;
    --footer-boja: #1f1f24;
    --footer-plava: #222534;
    --slova-footer: rgba(255, 255, 255, 0.7);
    
}

/*SECTION 1*/

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    transition: 0.5s;
    background-color: #222534;
    padding-top: 10px;
    padding-bottom: 10px;
}

header ul {
    position: relative;
    display: flex;
    align-items: center;
}

header ul li {
    position: relative;
    list-style: none;
    padding-right: 15px;
    padding-left: 15px;
}

header ul li a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    padding-left: 10px;
    padding-right: 15px;
}

header ul li a:hover {
    padding-left: 10px;
    padding-right: 15px;
}

header ul li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    /* background-color: #f0b90b;
    transition: width 0.7s ease; */
}

header ul li a:hover::before {
    width: 100%;
}

header ul li:first-child a:hover::before {
    width: 0%;

}

header ul li.logo {
    padding: 0;
}

header ul li:first-child {
    padding-left: 0px;
}

header a .logo {
    max-width: 150px;
    padding-top: 10px;
    margin-right: 60px;
}

header .logo a img {
    width: 100%;
}


header .logo2 {
    display: none;
}

.no_desk {
    display: none;
}

.meni_lijevo {
    display: flex;
    align-items: center;
}

.z_linija {
    /* border-bottom: 3px solid #f0b90b;*/
    padding-left: 10px;
    padding-right: 15px;
}

header .contact {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dugme-color);
    padding: 5px 20px;
    border-radius: 50px;
    background: var(--dugme-color);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), transparent);
    color: var(--slova-footer);
    margin-right: 30px;
}

header .contact p a {
    margin-left: 5px;
    text-decoration: none;
    color: white;
}

header .meni_desno_desno{
    display: flex;
    align-items: center;
    justify-content: center;
}


/*SECTION 2*/

.section2 {
    background-color: #e0e0e0;
    max-height: 700px;
    position: relative;
}

.section2 {
  position: relative;
  background-image: url(assets/logo/Vidovic_homepage.jpg);
  background-position: center;
  background-repeat: no-repeat;
  /*min-height: 800px;*/
  min-height: 100vh;
  display: flex;
  align-items: center;
}


.section2 img{
    position: absolute;
    top: 220px;
    right: 40px;
}
 

.section2 .dugme-pocetno {
    position: absolute; /* Dodano */
    top: 600px; /* Udaljenost od dna */
    right: 0px; /* Udaljenost od lijeve strane */
    transform: translate(-50%, -50%);
}

.dugme-pocetno-poruci{
    padding: 15px 75px;
  background: #222534;
  border-radius: 5rem;
  letter-spacing: 1.5px;
  font-size: 20px;
  font-family: 'Gilroy-Bold', sans-serif;
  font-weight: 500;
  color: white;
  text-decoration: none;
}


/* SECTION 2-2 */

.section2-2 {
    background-color: rgba(248, 248, 248);
    padding-left: 235px;
    padding-right: 235px;
    text-align: center;  
    padding-bottom: 20px;
}

.section2-2 .naslov {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
    font-size: 24px;
}

.section2-2 .naslov h2 {
    color: var(--naslov-color);
    padding-bottom: 20px;
}

.section2-2 .naslov p {
    font-size: 20px;
    padding-bottom: 10px;
}

.br-razmak {
    display: inline;
}

.section2-2-2{
    background: linear-gradient(to right, #583212, #a76019);
    text-align: center;
    padding-top: 80px;
    padding-bottom: 70px;  
}

.section2-2-2 video{
    max-width: 100%; /* Prilagodi veličinu videa ako je potrebno */
    height: auto; 
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3); 
}


/*SECTION 3*/

.section3 {
    background-color: rgba(248, 248, 248);
    padding-left: 235px;
    padding-right: 235px;
    min-height: 100vh;
}

.section3 .naslov {
    text-align: center;
    padding-top: 40px;
    margin-bottom: 30px;
    font-size: 20px;
}

.section3 .naslov h2 {
    color: var(--naslov-color);

}


.section3 .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    padding-left: 5px;
    padding-right: 5px;
}

.section3 .content a{
    text-decoration: none;
}

.section3 .content a .section3Bx {
    display: flex;
    align-items: center;
    /* Centriraj vertikalno */
    justify-content: center;
    /* Centriraj horizontalno */
    background: #fff;
    color: var(--naslov-color);
    width: 250px;
    height: 250px;
    margin: 20px;
    text-align: center;
    transition: transform 0.4s ease;
    position: relative;
}

.section3 .content a .section3Bx:hover {
    transform: scale(1.1);
}

.section3Bx h3{
    font-size: 22px;
}

.section3 .content a .section3Bx img {
    max-width: 100%;
}

.section3 .content a .section3Bx.manja-slika img {
    max-width: 80%;
}

/*SECTION 4*/

.section4{
   background-color: rgba(248, 248, 248);
   padding-left: 20px;
   padding-right: 20px;
   padding-top: 20px;
   padding-bottom: 40px;
}

.section4 .naslov {
    text-align: center;
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
}

.section4 .naslov h2{
    color: var(--naslov-color);

}

.section4-container{
    display: flex;
    align-items: center;
   justify-content: space-around;
}
.opis{
    max-width: 500px;
}

.section4-container .opis h2 {
    margin-bottom: 30px;
    color: var(--dugme-color);
    font-size: 30px;
}

.section4-container .opis p i {
    color: var(--naslov-color);
    font-size: 30px;
    margin-right: 15px;
}


/* FOOTER */


.footer {
    font-size: 14px;
    background-color: var(--footer-plava);
    color: rgba(255, 255, 255, 0.7);
  }

  .footer .container{
    text-align: center;
  }
  
  .footer .icon {
    /*margin-right: 15px;*/
    font-size: 24px;
    line-height: 0;
  }
  
  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    color: #fff;
  }

  .row1{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 50px;
  }

  .custom-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  
  .footer .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
  }

  .footer .social-links a:last-child {
    margin-right: 0px;
  }
  
  .footer .social-links a:hover {
    color: #fff;
    border-color: #fff;
  }
  
  .footer .copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer .credits {
    padding-top: 4px;
    text-align: center;
    font-size: 13px;
    padding-bottom: 25px;
  }
  
  .footer .credits a {
    color: #fff;
  }


/*CSS ZA STRANICE KATEGORIJIE PROIZVODA*/

.naslov2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.naslov2 h3 {
    color: var(--naslov-color);

}

.bottom-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 0;
    text-align: left;
    font-size: 20px;
}

.section3 .content a .section3Bx .img-category {
    position: absolute;
    top:0;
    left: 0;
}

.section3 .content a .section3Bx .img-category-mladost {
    position: absolute;
    top:100px;
    left: 0;
    padding: 20px;
}

.section3 .content a .section3Bx .img-category-mladost2 {
    position: absolute;
    top: -15px;
    left: 0;
    padding: 20px;
}

.section3 .content a .section3Bx .img-category-univerzum {
    position: absolute;
    top:100px;
    left: 0;
}

/*CSS TERAN I MLADOST LESKOVAC ******************/

.naslov-teran{
    text-align: center;
    margin-top: 20px;
}

.naslov-teran h2{
color: var(--naslov-color);
}

.desk-display-none{
display: none;
}

.container-tabela .naslov-teran{
    margin-top: 30px;
    margin-bottom: 30px;
}

.container-tabela p{
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 40px;
}

.mladost-leskovac-slika{
    margin-bottom: 60px;
    margin-top: 60px;
    text-align: center;

}

.mladost-leskovac-slika img{
    max-width: 100%;
}

.category {
    cursor: pointer;
    margin-bottom: 10px; /* Dodajte ovu liniju za vertikalni razmak */
    padding: 0 5px;
    background-color: var(--footer-plava); 
    color: #bdbdbd;;
    
}

select {
    color: white !important; /* Crna boja slova */
    background-color: var(--dugme-color) !important; /* Svetlija nijansa boje */
}

.finish-dropdown select option,
.color-dropdown select option {
    color: black; /* Boja teksta */
    background-color: white; /* Pozadinska boja */
}

.color-dropdown {
    display: none;
    margin-left: 20px;
}



.categories-terran{
    margin-top: 31.5px;
}

.margin-top{
    margin-top: 97px
}


.categories-terran ul{
    max-width: 350px;
    cursor: pointer;
    background-color:var(--footer-plava) ;
    color: #bdbdbd;
    padding: 3px 20px;
}

.category-terran:first-child{
    padding-top: 10px;
}

.category-terran:last-child{
    padding-bottom: 10px;
}


ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    color: #bdbdbd;
    max-width: 300px;
}

ul.subcategories, ul.colors-terran {
    display: none;
    cursor: pointer;
    max-width: 260px;
    color: #bdbdbd;
}

button#searchButton, #search-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 50px;
    background-color: var(--dugme-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
}

button#searchButton:hover, #search-button:hover {
    background-color: var(--dugme-hover);
}


.colors-terran li:hover {
    background-color: var(--dugme-hover);
    color: black;
    color: white;
}

.minwidth{
min-height: 350px;
}

/*SIDEBAR I TABELA TABELA KOJA IDE SA SIDEBAROM*/

.container-sidebar-tabela{
    display: grid;
    grid-template-columns: 20% 80%;
    padding: 0 15px;
}

.container-sidebar-tabela h2{
    display: none;
   }


#category-options{
    background-color: var(--footer-plava); 
    padding: 20px;
    margin-right: 10px;
    max-width: 350px;
    color: var(--slova-footer);
    margin-top: 31px;
}
.containersidebar{
    grid-column: 1 / 2;
}
.containertabela{
    grid-column: 2 / 3;
    min-height: 100vh;
}

#container-sidebar-tabela-terran {
    display: grid;
    grid-template-columns: 20% 80%;
    padding: 0 15px;
}

a.button.wpt_woo_add_cart_button {
    background-color: var(--dugme-color);
}

a.button.wpt_woo_add_cart_button:hover {
    background-color: var(--dugme-hover);
}

.wpt-wrap table.wpt_product_table>tbody tr.wpt_row td a.single_add_to_cart_button {
    background-color: var(--dugme-color);
    color: white;
}

.wpt-wrap table.wpt_product_table>tbody tr.wpt_row td a.single_add_to_cart_button:hover {
    background-color: var(--dugme-hover);
}

.colors-terran .active{
    background: var(--dugme-hover);
    color: white;
}

.wpt-wrap>div {
margin-bottom: 20px;
}

.wpt-wrap .wpt_table_pagination span.page-numbers.current{
    background-color: var(--dugme-color) !important;
    border: 1px solid var(--dugme-color) !important;
}

.wpt-wrap .wpt_table_pagination a.page-numbers{
    border: 1px solid var(--dugme-color) !important;
}

.wpt-wrap .wpt_table_pagination a.page-numbers:hover{
    background-color: var(--dugme-hover) !important;
}


/*CSS WOOCOMMERCE*/

/*page.php*/

.content-area{
    padding-left: 250px;
    padding-right:250PX ;
    min-height: 100vh !important;
    margin-top: 20px;
}

.col h1{
    color: var(--naslov-color);
}

/*cart u hederu*/
.korpa2 .fa-cart-shopping{
    color: var(--slova-footer);

}

.items{
color: white;
background-color: var(--dugme-color);
width: 53px;
/*height: 53px;*/
border-radius: 10px;
display: inline-block;
text-align: center;
}

/*TABELA ZA PROIZVODE*/
.tables_cart_message_box{
    display: NONE;
}

.search_box_label{
display: none;
}

.search_single{
    display: none;
}

.wpt-stats-report{
    display: none !important;
}

.search_single {
    display: none !important;
}

.wpt_table_header_row {
    background-color: var(--footer-plava) !important; 
}

.reset_variations{
    display: none !important;
}

/*polje za unos kolicine*/
.wpt-wrap .wpt_quantity input.input-text.qty.text {
    min-width: 80px !important;
}

.wpt-wrap .all_check_header_footer {
    display: none !important;
}



/*singe-product*/

/*CART STRANICA*/

.wp-block-woocommerce-cart-order-summary-block{
    display: none;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    margin-top: 20px;
    color: white;
    background-color: var(--dugme-color);
    text-decoration: none;
    
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: black;
    text-decoration: none;
}


/*css za checkout*/

/*KOD ZA CITAVO DESNIO DIO UKUPNO PORUCENO SVE SA SLIKOM U CHECKOUT*/

/*.wp-block-woocommerce-checkout-order-summary-block{
       
}*/

/*POCINJE KOD ZA ODVOJENE*/
    .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    display: none;
}

.wp-block-woocommerce-checkout-order-summary-subtotal-block {
   display: none;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    display: none;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    display: none;
}

.wc-block-components-order-summary__button-text{
    display: none;
}

.wc-block-components-panel__button[aria-expanded=true] {
    display: none;

}

/*zavrsava se kod za odvojene*/



.wc-block-checkout__payment-method{
    display: none;
}

.wp-block-woocommerce-checkout-terms-block{
    display: none;
}

/*CHECKOUT 2 HVALA ZA NARUDŽBINU*/

 .woocommerce-thankyou-order-received{
    margin-bottom: 20px;
}

.woocommerce ul.order_details li:last-of-type {
    display: none;
}

tfoot{
    display: none;
}

.wc-block-grid__products{
    display: none !important;
}

.woocommerce .woocommerce-customer-details .woocommerce-column__title {
    display: none !important;
}
/*OSTATAK CSS JE NA STRANICI CUSTOM-SINGLE-PRODUCT-STYLE.CSS*/

.related {
    display: none;
}

/*STRANICA MALOPRODAJA STOVARIŠTA*/

.card-container-novi{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 100px;
    margin-bottom: 20px;
    max-width: calc(4 * 325px + 3 * 25px); /* Maksimalna širina za 4 kartice i 3 razmaka */
    margin-left: auto; /* Centriranje */
    margin-right: auto; /* Centriranje */
}

.card-novi{
    width: 325px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
   /* transition: transform 0.1 ease;*/
   transition: transform 0.4s ease;
}

.card-novi-electro img{
    max-height: 205px;
}

.card-novi:hover{
     transform: scale(1.1);
}

.card-novi img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-content-novi{
    padding: 20px;
}


.card-content-novi h1{
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--naslov-color);
}

.card-content-novi p{
    font-size: 15px;
    color: var(--naslov-color);
    margin-bottom: 20px;
}



/*RESPONSIVE*/

@media (max-width: 1483px) {
     .section3 {
        padding-left: 10px;
        padding-right:10PX ;
    }

    .section2-2 {
        padding-left: 10px;
        padding-right:10PX ;
    }
}

@media (max-width: 1483px) {

    .no_mobile-text{
        display: none;
    }
}


@media (max-width: 983px) {
    .no_mobile{
        display: none;
    }
    .desk-display-none{
        display: block;
    }

    header .contact {
        display: none;
    }

    /*STRANICA POCETNA SECTION 4 SEKCIJA 4*/

    .section4-container{
        display: flex;
        flex-direction: column;
        text-align: center;
       
    }

    /*.section4-container .opis p:first-of-type{
        text-align: center;
    }*/

    .section4-container .lokacija-mob{
        margin-top: 40px;
    }


    /*  STRANICA TERRAN  */

    #container-sidebar-tabela-terran {
        display: flex;
        flex-direction: column; /* Postavlja elemente jedan ispod drugog */
        min-height: 100vh;
        align-items: center;
    }

    .categories-terran ul {
        min-width: 300px;
    }

    ul.subcategories, ul.colors-terran {
        min-width: 260px;
    }

    .margin-top {
        margin-top: 17px;
    }

    /*STRANICA MLADOST LESKOVAC*/

    .container-sidebar-tabela{
        display: flex;
        flex-direction: column; /* Postavlja elemente jedan ispod drugog */
        min-height: 100vh;
        align-items: center;
    }

    #category-options{
        min-width: 300px;
        margin-top: 15px;
    }

    .container-sidebar-tabela h2{
    display: none;
   }




    /*FOOTER*/
    footer{
        /*margin-top: -45px;*/
        padding-top: 10px;
    }

    .footer .icon {
        margin-right: 15px;
    }

    .row1{
        flex-direction: column;
        padding: 0px 0px;
        padding-bottom: 20px;
      }

      .custom-col:last-child{
        margin-top: 30px;
      }

      /*WOOCOMMERCE*/

      /*CHECKOUT*/
      .content-area {
        padding-left: 100px;
        padding-right: 100px;
      }
}

@media (max-width: 631px) {
    
    /*HEADER MENI*/

    .no_desk {
        display: block;
    }

    .checkbox {
        position: absolute;
        display: block;
        height: 33px;
        width: 34px;
        top: 30px;
        right: 40px;
        z-index: 2;
        opacity: 0;
        cursor: pointer;
    }

    .menu {
        position: fixed;
        top: 0px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        min-width: 100%;
        height: 100%;
        background: #fff;
        transition: 0.5s;
        z-index: 1;
    }

    .menu.active {
        left: 0;
    }

    header {
        display: flex;
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 20px;
    }

    .toggle {
        position: absolute;
        /*top: -20%;*/
        right: 20%;
        width: 70px;
        height: 70px;
        background: url(menu.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
    }

    .toggle.active {
        background: url(close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer;
        z-index: 1000;
        filter: invert(1);
    }

    .toggle:not(.active) {
        background-color: transparent;
    }


    header ul li a {
        font-size: 24px;
        margin: 10px;
    }

    header ul li a {
        color: #0006;
    }

    header ul li:hover a {
        color: #000;
    }

    header ul li a:hover::before {
        width: 0%; 
      }

    header ul li:first-child {
        padding-left: 10px;
    }

    header ul li a:hover,
    .z_linija {
        border-bottom: none;
        padding-left: 0;
        padding-right: 0;
    }

    a .logo {
        width: 100px;

    }

    a img .logo {
        z-index: 10;
    }

    .content-area {
        padding-left: 10px;
        padding-right:10PX ;
    }


    /*/////////////////////*/

    /*SECTION 2*/

    .section2 {
        background-color: #e0e0e0;
        min-height: 300px;
        position: relative;
    }

    .section2 img{
        position: absolute;
        top: 60px;
        /*left: 4px;*/
        max-height: 140px;
    }

    .section2 .dugme-pocetno {
        display: none;
    }
    

    .section2-2-2{
        background: rgba(248, 248, 248);
    }

    .br-razmak {
        display: none;
    }
    
    .section2-2-2 {
        padding-top: 5px;
        padding-bottom: 15px;
    }
        

    /*SECTION 3*/

    .section3 .content a .section3Bx {
        width: 220px;
        height: 220px;
        margin: 10px;
    }

    .section3 .naslov {
        padding-top: 15px;
        margin-bottom: 15px;
        font-size: 20px;
    }

    /*SECTION 4*/

    .section4 .naslov {
        padding-top: 15px;
        margin-bottom: 15px;
        font-size: 20px;
    }

}
@media (max-width: 400px) {
.toggle {
    right: 24%;
}
}