/* LOGO COLOR */
/* #9f1c38 */
/* #bdc3c7 */
.blue-color {
    color: #060aff;
}

.bordo-color {
    color: #9f1c38;
}

.grey-color {
    color: #787C96;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {

    font-size: 20px;
    font-weight: 100;
    font-family: 'Montserrat', 'sans-serif';
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a:hover {
    cursor: pointer;
}

/************************/
/****** MOBILE PHONE NAVIGATION ******/
/************************/

#nav-nohover {
    z-index: 100;
}

.navbar-menu-nohover-container {
    /* visibility: hidden; */
    width: 20px;
    height: 14px;
    position: fixed;
    top: 16px;
    right: 12px;
    z-index: 10;
}

.navbar-menu-nohover {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.navbar-menu-nohover {
    @media only screen and (min-width: 600px) and (hover:hover) {
        visibility: hidden;
    }
}

.navbar-checkbox {
    /* display: none; */
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    @media only screen and (max-width: 600px) {
        visibility: visible;
    }
}

.navbar-checkbox-span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background-color: #9f1c38;
    display: inline-block;
    transition: all 0.2s;
}

.navbar-checkbox-label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #9f1c38;
    transition: all 0.2s linear;
}

.navbar-checkbox-label:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #9f1c38;
    transition: all 0.2s linear;
}

.navbar-checkbox-label:hover:before {
    top: -2px;
}

.navbar-checkbox-label:hover:after {
    bottom: -2px;
}

.navbar-checkbox:checked ~ .navbar-checkbox-label:before {
    transform: rotate(135deg);
    top: 50%;
}

.navbar-checkbox:checked ~ .navbar-checkbox-label:after {
    transform: rotate(-135deg);
    top: 50%;
}

.navbar-checkbox:checked~.navbar-checkbox-span {
    opacity: 0;
}

.navbar-checkbox:checked~.navbar-nohover {
    /* display: block; */
    visibility: visible;
    opacity: 1;
    transform: translateX(145%);
}

.navbar-nohover {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: -100%;
    width: 68%;
    height: 100vh;
    background-image: linear-gradient(#aaaaaa, #ff7b7b);
    z-index: 100;
    transition: all 0.3s linear;
}

.navbar-submenu-nohover {
    position: absolute;
    top: 17%;
    left: 34%;
    transform: translate(-50%, -50%);
    list-style: none;
}

.navbar-submenu-nohover li {
    margin: 20px 0;
}

.navbar-a-nohover {
    position: relative;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #9f1c38;
}

.proizvodi-submenu-nohover {
    visibility: collapse;
    display: none;
    list-style: none;
    transition: all 0.4s;
}

.proizvodi-submenu-nohover li {
    margin: 5px 0;
    transition: all 0.4s;
}

.submenu_item-nohover a:link,
.submenu_item-nohover a:visited {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #4200c2;
}

.show-proizvodi-submenu-nohover {
    visibility: visible !important;
    display: block !important;
    position: absolute;
    margin-left: 5px;
    width: max-content;
    list-style: none;
}

/* .hide-proizvodi-submenu-nohover {
    visibility: collapse;
    display: none;
} */

.menu_kontakt {
    transform: translateY(0);
    transition: all 0.3s;
}

.moveDown-menu_kontakt {
    transform: translateY(296px);
}

/* .moveUp-menu_kontakt {
    transform: translateY(0);
} */

/************************/
/****** NAVIGATION ******/
/************************/

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #252525;
    z-index: 100;
    padding-bottom: 10px;
}


nav:not(.nav-vert, .nav-vert-nohover) {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(270deg, #787c96, 75%, #00000000);
}

.nav-logo {
    margin-left: 15px;
    margin-top: 15px;

    @media only screen and (max-width: 600px),
    only screen and (hover:none) {
        padding-top: 10px;
        background-color: white;
        width: 100%;
        text-align: center;
        margin: 0;
        position: fixed;
        top: 0;
        z-index: 10;
    }
}

.img-logo {
    height: 80px;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .img-logo {
        height: 60px;
    }
}

@media only screen and (max-width: 1200px) {
    .img-logo {
        height: 50px;
    }
}

@media only screen and (max-width: 1000px) {
    .img-logo {
        height: 40px;
    }
}

@media only screen and (max-width: 700px) {
    .img-logo {
        height: 35px;
    }
}

@media only screen and (max-width: 600px),
only screen and (hover:none) {
    .img-logo {
        height: 35px;
    }
}

.navbar {
    font-size: 105%;
    position: relative;

    @media only screen and (max-width: 600px),
    only screen and (hover:none) {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

}

.navbar ul {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-evenly;
    list-style: none;

}

.navbar ul li:not(.submenu li, .fa-navbar li) {
    align-content: center;
    margin: 0 50px;
    font-size: 60%;
    font-weight: 500;
    text-transform: uppercase;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 35px;
        font-size: 55%;
    }
}

@media only screen and (max-width: 1200px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 30px;
        font-size: 50%;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1000px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 35px;
        font-size: 45%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 900px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 25px;
        font-size: 40%;
    }
}

@media only screen and (max-width: 800px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 18px;
        font-size: 38%;
    }
}

@media only screen and (max-width: 700px) {
    .navbar ul li:not(.submenu li, .fa-navbar li) {
        margin: 0 10px;
        font-size: 38%;
    }
}

.navbar ul li a {
    text-decoration: none;
    color: #ffffff;
}

.navbar-a {
    position: relative;
    cursor: pointer;
    padding: 10px;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px),
only screen and (max-width: 1200px) {
    .navbar-a {
        padding: 5px 5px;
    }
}

@media only screen and (max-width: 1000px) {
    .navbar-a {
        padding: 3.5px 3.5px;
    }
}

@media only screen and (max-width: 700px) {
    .navbar-a {
        padding: 2.5px 2.5px;
    }
}

.navbar-a:before,
.navbar-a:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: transparent;
    transition: all 0.3s;

    @media only screen and (max-width: 1200px) {
        width: 6px;
        height: 6px;
    }
}


.navbar-a:before {
    top: -1.5px;
    left: -1.5px;
    border-top: 2.5px solid #9f1c38;
    border-left: 2.5px solid #9f1c38;

    @media only screen and (max-width: 1200px) {
        top: -0.5px;
        left: -0.5px;
        border-top: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1600px) {
        border-top: 1.5px solid #ffffff;
        border-left: 1.5px solid #ffffff;
    }
}

.navbar-a:after {
    bottom: -1.5px;
    right: -1.5px;
    border-right: 2.5px solid #9f1c38;
    border-bottom: 2.5px solid #9f1c38;

    @media only screen and (max-width: 1200px) {
        bottom: -0.5px;
        right: -0.5px;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1600px) {
        border-right: 1.5px solid #ffffff;
        border-bottom: 1.5px solid #ffffff;
    }

}

.navbar-a:hover::before,
.navbar-a:hover::after {
    width: 100%;
    height: 100%;
}

.menu_proizvodi:hover .submenu {
    visibility: visible;
    cursor: pointer;
}

.navbar .submenu {
    position: absolute;
    visibility: collapse;
    display: flex !important;
    flex-flow: column !important;
    /* background-color: #060aff; */
    background-color: #9f1c38;
    border: 1px solid #000000;
    border-radius: 30px;
    z-index: 10;
    padding: 15px;
    transition: visibility 0.5s;
}

.navbar .submenu li {
    position: relative;
    padding: 0 5px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 10px;
    border-radius: 30px;
    /* transition: background-color 0.3s ease-in-out, color 0.3s; */
    height: 28px;
    width: 100%;
    color: #eee;
    cursor: pointer;
}

.submenu_item a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 8px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.navbar .submenu_item a:hover,
.navbar .submenu_item a:active {
    color: #fff;
    cursor: pointer;
}

.navbar .submenu_item:before {
    content: '';
    position: absolute;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: #787C96;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform-origin: center;
    transition: transform .3s;
    transform: scale3d(0, 1, 0);
    z-index: -1;
}

.navbar .submenu_item:hover::before {
    transform: scale3d(1, 1, 1);
    transition: transform 0.3s;
}


.fa-navbar {
    padding: 0 30px;
}

.fa-navbar .fa-store,
.fa-envelope,
.fa-phone {
    margin-right: 5px !important;
}

@media only screen and (max-width: 1000px) {
    .fa-navbar {
        padding: 0;
        margin-right: 10px;
    }
}

.fa-navbar-nohover {

    display: none;
    margin-left: 5px;

    @media only screen and (max-width: 600px),
    only screen and (hover:none) {
        display: inline-block;
        position: fixed;
        top: 0;
        left: 0;
        font-size: 7px;
        font-weight: 300;
        list-style: none;
        z-index: 10;
    }
}

.menu-nohover {
    display: none;
}

.fa-navbar-nohover .fa-store,
.fa-envelope,
.fa-phone {
    margin-right: 5px;
}

.fa-navbar li {
    font-size: 14px;
    font-weight: 200;
    text-transform: none;
    cursor: default;
    color: #fff;

    @media only screen and (max-width: 1200px) {
        font-size: 12px;
        font-weight: 100;
    }

    @media only screen and (max-width: 1000px) {
        font-size: 10px;
        font-weight: 100;
    }

    @media only screen and (max-width: 700px) {
        font-size: 8px;
        font-weight: 100;
    }
}

.fa-phone {
    /* font-size: 100%; */
    color: #9f1c38;
    font-family: 'Montserrat';
}

.fa-store {
    color: #9f1c38;
    margin-right: 10px;
    /* font-size: 20px; */
}

.fa-envelope {
    color: #9f1c38;
    margin-right: 10px;
    /* font-size: 20px; */
}

/************************/
/****** HEADER ******/
/************************/

/* header {
    background-color:#787C96;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0 auto;
} */

/************************/
/****** PROIZVODI ******/
/************************/

#proizvodi {
    margin-top: 5%;
    display: flex;

    @media only screen and (hover:none) and (min-width: 1400px) {
        margin-top: 10%;
    }

    @media only screen and (hover:none) and (min-width: 1200px) and (max-width: 1400px) {
        margin-top: 12%;
    }

    @media only screen and (min-width: 1001px) and (max-width: 1200px) {
        margin-top: 8%;
    }

    @media only screen and (hover:none) and (min-width: 1001px) and (max-width: 1200px) {
        margin-top: 15%;
    }

    @media only screen and (max-width: 1000px) {
        display: inline-block;
    }

    @media only screen and (min-width: 601px) and (max-width: 1000px) {
        margin-top: 10%;
    }

    @media only screen and (hover:none) and (max-width: 1000px) {
        margin-top: 15%;
        /* display: inline-block; */
    }

    @media only screen and (max-width: 500px) {
        margin-top: 20%;
    }

    @media only screen and (max-width: 400px) {
        margin-top: 25%;
    }

}

.nav-vert {
    width: fit-content;
    height: fit-content;
    margin-top: 30px;
    border-radius: 0 30% 30% 0;
    background-image: linear-gradient(90deg, #9f1d3875, #ffffff);
    line-height: 40px;
    font-size: 16px;
    font-weight: 300;
    overflow: hidden;

    @media only screen and (min-width: 1000px) and (max-width: 1400px) {
        font-size: 14px;
    }

    @media only screen and (max-width: 999px) {
        opacity: 0;
    }

    /* @media only screen and (min-width: 801px) and (max-width: 1000px) {
        font-size: 13px;
    }

    @media only screen and (min-width: 601px) and (max-width: 800px) {
        font-size: 12px;
    }

    @media only screen and (max-width: 600px) {
        font-size: 10px;
    } */

}

.nav-vert-nohover {
    @media only screen and (min-width:1000px) {
        position: absolute;
        top: 15%;
    }

    @media only screen and (max-width: 600px) {
        margin-top: 5%;
    }
}

.nav-vert-submenu-nohover {
    display: flex;
    list-style: none;
}

.nav-vert-submenu-nohover li {
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.nav-vert-submenu-nohover li a {
    color: #333333;
    font-weight: 200;
    font-size: 14px;
}

.nav-vert-submenu {
    list-style: none;
    text-wrap: nowrap;
    width: 200px;

    /* @media only screen and (hover:none) {
        width: auto;
        display: flex;
        flex-flow: row;
        justify-content: flex-start;

    } */
}

.nav-vert-submenu a {
    cursor: pointer;
}

.nav-vert-li {
    line-height: 2.5;

    @media only screen and (hover:none) {
        border-bottom: none;
    }
}

.nav-vert-li:hover {
    background-color: #9f1c38;
    color: #eee;
    overflow: hidden;
}

.nav-vert-li a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: #000;
    padding-left: 10px;

    @media only screen and (hover:none) {
        padding: 0 5px;
    }
}

.nav-vert-li a:hover {
    color: #eee;
}

.proizvodi_article {
    width: 100%;
    height: 75vh;
    margin-left: 20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    overflow-y: scroll;

    @media only screen and (max-width: 1000px) {
        width: auto;
        margin: 5% 0 0 0;
    }
}


.proizvodi-content {
    position: relative;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    text-align: center;
    width: 22%;
    height: 32%;
    background-color: #fff;
    overflow: hidden;
    margin: 10px 10px;


    @media only screen and (max-width: 1000px) {
        display: inline-block;
        height: 30%;
        width: 30%;
    }

    @media only screen and (max-width: 700px) {
        width: 25%;
    }

    @media only screen and (max-width: 400px) {
        margin: 5px 10px;
        width: 40% !important;
        /* height: 140px; */
    }
}

.proizvodi-text {
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;

    @media only screen and (max-width: 1400px) {
        font-size: 12px;
    }

    @media only screen and (max-width: 1200px) {
        font-size: 10px;
    }

    @media only screen and (max-width: 800px) {
        font-size: 9px;
    }

}

.proizvodi-text-opis {
    font-size: 10px;
    font-weight: 400;
    margin-top: 5px;

    @media only screen and (min-width: 1200px) {
        font-size: 12px;
        line-height: 1.4;
    }
}

.proizvodi-content img,
.proizvodi-content i {
    object-fit: contain;
    width: 100%;
    height: 50%;
    transition: all 0.5s;

    @media only screen and (max-width: 1400px) {
        height: 50%;
    }

    @media only screen and (max-width: 1200px) {
        height: 50%;
    }
}

.proizvodi-content:hover,
.proizvodi-content:active {
    cursor: pointer;
}

/* .proizvodi-content:hover img,
.proizvodi-content:active img {
    transform: scale(1.1); */
/* opacity: 0.5; */
/* mask-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4));
} */

.okovzakapije-hover {
    opacity: 0;
    position: absolute;
    /* top: 0; */
    /* left: 0; */
    height: 100%;
    width: 100%;
}

.proizvodi-content:hover .okovzakapije-hover {
    opacity: 1;
    object-fit: contain;
    transition: all 0.5s;
    transform: scale(2.0);
    z-index: 10;
}

/************************/
/****** OKOV ******/
/************************/

.okov-submenu {
    visibility: collapse;
    display: none;
}

.okov-submenu-li {
    visibility: visible;
    list-style: none;
}

.okov-submenu-li a {
    padding-left: 20px;
}

.okov-submenu-li:hover {
    background-color: #9f1c38;
}

.okov-submenu-li:hover a {
    color: #eee !important;
}

.show {
    visibility: visible;
    display: block;
}

.hide {
    visibility: collapse;
    display: none;
}

/************************/
/****** BOJE I LAKOVI ******/
/************************/

#popup {
    opacity: 0;
    visibility: hidden;
    display: flex;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgb(1, 1, 1, 90%), rgb(1, 1, 1, 90%));
    transition: all 0.4s;
}

#popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    opacity: 0;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: white;
    width: 70%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    transition: all 0.4s;
}

#popup:target .popup-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#popup-ton-karta {
    opacity: 0;
    visibility: hidden;
    display: flex;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgb(1, 1, 1, 90%), rgb(1, 1, 1, 90%));
    transition: all 0.4s;
}

#popup-ton-karta:target {
    opacity: 1;
    visibility: visible;;
}

#popup-ton-karta:target .popup-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#ton-karta-container-3u1,
#ton-karta-container-temeljna,
#ton-karta-container-nitro-emajl,
#ton-karta-container-sintex,
#ton-karta-container-rapid,
#ton-karta-container-pyrostal,
#ton-karta-container-mehano,
#ton-karta-container-aqualin-emajl,
#ton-karta-container-antique,
#ton-karta-container-lazura {
    display: none;
}

.ton-karta-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    column-gap: 4px;
    row-gap: 8px;
    height: 70%;

}

.showTK {
    display: flex !important;
    position: absolute;
    opacity: 1 !important;
    visibility: visible !important;
}

.ton-karta-img {
    display: flex;
    width: 130px;
    height: 130px;
    border: 0.8px solid black;
}

.ton-karta-text {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    background-color: #f5f5f5e3;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 50px;
}

.popup-img {
    width: 20%;
}

.popup-text {
    column-count: 2;
    column-rule: 1px solid darkgrey;
    column-gap: 70px;
    font-size: 14px;
    line-height: 1.5;
    word-spacing: 2px;
    font-weight: 200;
    padding: 30px 60px;
}

.boje-text-span {
    border: 1px solid gray;
    padding: 5px;
    text-decoration: none;
    color: black;
}

.boje-text-span:hover {
    background-color: #9f1c38;
    color: #eee;
}