@font-face {
    font-family: "Averta";
    src: url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.eot");
    src: url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/f036e81e6040acc6b43aabc036862d21.svg#Averta")format("svg");
}

.fa-clock-o:before {
    content: "\f017"!important;
}

body {
    font-family: "Averta"!important;
}

p {
    font-family: 'Open Sans', sans-serif;
}

.custom-slider-wrapper {
    max-width: 600px;
    margin: auto;
}

.custom-controls {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 10px;
}

.custom-controls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.slider-status {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.progress-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.progress-bar-background {
    flex: 1;
    width: 5rem;
    height: 6px;
    background-color: #ccc;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #333;
    transition: width 0.3s ease;
}

.slide-counter {
    white-space: nowrap;
    font-size: 16px;
}

.image-grid-ref {
    column-count: 4;
    column-gap: 10px;
}
.image-grid-ref img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    display: block;
}

@media (max-width: 1200px) {
    .image-grid-ref {
        column-count: 3;
    }
}
@media (max-width: 768px) {
    .image-grid-ref {
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .image-grid-ref {
        column-count: 1;
    }
}

.text-white {
    color: white;
}

.text-justify {
    text-align: justify;
}

.proizvod-opis-dropdown {
    text-align: justify!important;
    font-size: 1.4rem;
}

.proizvod-opis-dropdown ul p {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .only-mob {
        display: block!important;
    }
    .only-desk {
        display: none!important;
    }
    #desktop-slider { display: none!important; }
    #mobile-slider { display: block!important; }

    .table-no-border {
        width: 100%!important;
    }

    .conf-white-line {
        border-bottom: 2px solid white;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 769px) {
    .only-mob {
        display: none!important;
    }
    .only-desk {
        display: block!important;
    }
    #desktop-slider { display: block!important; }
    #mobile-slider { display: none!important; }

    .table-no-border {
        width: 75%!important;
        margin: 0 auto;
    }

    .mi-inspirisemo h2 {
        font-size: 2rem!important;
    }

    .mi-inspirisemo p {
        font-size: 1rem!important;
    }

    .mi-inspirisemo button {
        font-size: 1rem!important;
        line-height: 1.1rem!important;
    }

    .porodican-posao a {
        font-size: 1rem!important;
        line-height: 1.1rem!important;
    }

    .edukacija a {
        font-size: 1rem!important;
        line-height: 1.1rem!important;
    }

    .lideri-na-trzistu a {
        font-size: 1rem!important;
        line-height: 1.1rem!important;
    }

    .lideri-na-trzistu h2 {
        font-size: 2rem!important;
    }

    .lideri-na-trzistu p {
        font-size: 1rem!important;
    }

    .porodican-posao h2 {
        font-size: 2rem!important;
    }

    .porodican-posao p {
        font-size: 1rem!important;
    }

    .edukacija h2 {
        font-size: 2rem!important;
    }

    .edukacija p {
        font-size: 1rem!important;
    }
}

.carousel-indicators button {
    width: 12px!important;
    height: 12px!important;
    border: 2px solid white!important;
    border-radius: 50%!important;
    background-color: transparent!important;
    margin: 20px 5px!important;
    transition: opacity 0.3s ease!important;
}

.carousel-indicators .active {
    background-color: white!important;
}

.desktop-slide img {
    width: 100vw;
    height: 56.25vw;
    max-height: 90vh;
    object-fit: cover;
}

.mobile-slide img {
    width: 100vw;
    height: 177.78vw;
    max-height: 90vh;
    object-fit: cover;
}

.grid-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item .overlay {
    padding-top: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
}

.grid-item .overlay::after {
    content: "";
    display: block;
    width: 45px;
    height: 45px;
    background: url('/static/plus.png') no-repeat center;
    background-size: contain;
}

.btn-transparent {
    border: 1px solid #333;
    background: transparent;
    color: #333;
    font-size: 14px;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    line-height: 1rem;
}
.btn-transparent:hover {
    background: #333;
    color: #fff;
}

.small-lh {
    line-height: 1rem;
}

.div-hr {
    height: 0.1rem;
    background-color: #bcbcbc;
    width: 100%;
    margin: 20px 0;
}

.product-plus:hover {
    cursor: pointer;
}

.table-no-border {
    border-collapse: collapse;
    width: 100%;
}
.table-no-border td, 
.table-no-border th {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
    width: 50%;
}
.table-no-border td:first-child, 
.table-no-border td:first-child {
    text-align: right;
}
.table-no-border td:last-child, 
.table-no-border td:last-child {
    text-align: left;
}
.table-no-border tr:first-child td {
    border-top: none;
}
.table-no-border tr:last-child td {
    border-bottom: none;
}
.table-no-border tr td:first-child, 
.table-no-border tr td:first-child {
    border-left: none;
}
.table-no-border tr td:last-child, 
.table-no-border tr td:last-child {
    border-right: none;
}

.black-plus {
    height: 3rem!important;
    width: 3rem!important;
    filter: invert(1) brightness(0);
    margin-top: 1rem;
}

.toggle-plus-minus {
    filter: invert(1) brightness(0);
    height: 1.5rem!important;
    width: 1.5rem!important;
    margin-bottom: 0.3rem;
}

.toggle-next {
    font-size: 1.5rem;
}

.toggle {
    cursor: pointer;
}

.mi-inspirisemo h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

.mi-inspirisemo p {
    font-size: 0.8rem;
    margin: 2rem 1rem;
    color: #8d8d8d;
}

.mi-inspirisemo button {
    font-size: 0.6rem;
    line-height: 0.8rem;
    color: #8d8d8d;
    margin-bottom: 2rem;
}

.lideri-na-trzistu a {
    font-size: 0.6rem;
    line-height: 0.8rem;
    color: #8d8d8d;
    margin-bottom: 1rem;
}

.porodican-posao a {
    font-size: 0.6rem;
    line-height: 0.8rem;
    color: #8d8d8d;
    margin-bottom: 1rem;
}

.edukacija a {
    font-size: 0.6rem;
    line-height: 0.8rem;
    color: #8d8d8d;
}

.lideri-na-trzistu h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

.lideri-na-trzistu p {
    font-size: 0.8rem;
    margin: 2rem 2rem;
    color: #8d8d8d;
}

.lideri-na-trzistu p img {
    width: 2rem!important;
    height: 2rem!important;
}

.porodican-posao h2 {
    font-size: 1.4rem;
    margin-top: 1rem;
    line-height: 1.8rem;
}

.porodican-posao p {
    font-size: 0.8rem;
    margin: 1rem 2rem;
    color: #8d8d8d;
}

.porodican-posao p img {
    width: 2rem!important;
    height: 2rem!important;
}

.edukacija h2 {
    font-size: 1.4rem;
    margin-top: 1rem;
    line-height: 1.8rem;
}

.edukacija p {
    font-size: 0.8rem;
    margin: 2rem 1rem;
    color: #8d8d8d;
}

.edukacija p img {
    width: 2rem!important;
    height: 2rem!important;
}

.carousel-caption {
    left: 0!important;
    right: 0!important;
}

.slider-text {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6rem;
    text-shadow: 1px 1px 2px black;
}
.slider-button {
    border: 1px solid #1ffff8;
    color: #1ffff8;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.slider-button:hover {
    color: white!important;
    font-size: 17px;
}

.top-text-prod {
    font-weight: 400;
    color: #b6b6b6;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.bottom-text-prod {
    font-weight: 500;
    color: white;
    position: relative;
    top: -4rem;
}

.full-width {
    position: relative;
    left: 0;
    width: 100%;
    background-color: #2f2f2f;
    padding-top: 3rem;
    padding-bottom: 1rem;
    text-align: center;
}

.conf-name {
    color: #04fcfc;
}

.scrolling-text-container {
    overflow: hidden;
}

.scrolling-text-inner {
    display: flex;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
}

.scrolling-text {
    display: flex;
}

.scrolling-text-item {
    padding: 0 30px;
    text-align: center;
}

.scrolling-text-inner>div {
    animation: var(--direction) var(--marquee-speed) linear infinite;
}

.scrolling-text-container:hover .scrolling-text-inner>div {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.scrolling-text-item span:nth-of-type(1) {
    color: #c4c4c4;
    font-size: 0.8rem;
    font-weight: 500;
}

.scrolling-text-item span:nth-of-type(2) {
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.scrolling-text-item span:nth-of-type(3) {
    font-size: 0.8rem;
    display: block;
    font-weight: 500;
    margin-top: -0.3rem;
}

.toggle-next:hover {
    cursor: pointer;
}

.form-group-custom {
    display: flex;
    margin-bottom: 8px;
}

.label-box {
    background-color: #0F1E41;
    color: white;
    padding: 10px;
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 500;
}

.input-box {
    flex: 1;
}

.input-box input {
    border: 1px solid #ccc;
    border-left: none;
    height: 100%;
    width: 100%;
    padding: 10px;
}

.submit-btn {
    background-color: #0F1E41;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    font-weight: 500;
    border-radius: 0;
}

.submit-btn:hover {
    background-color: #1c356f;
}

/* TAB */
.toggleTab {
    position: fixed;
    bottom: 8rem;
    right: 0;
    z-index: 9999;
    pointer-events: none;
}

.toggleTab-inner {
    display: flex;
    transform: translateX(calc(100% - 30px));
    transition: transform 0.3s ease-in-out;
}

.toggleTab.active .toggleTab-inner {
    transform: translateX(0);
}

.toggleTab-tab {
    background-color: #0F1E41;
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0 8px 8px 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-orientation: mixed;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13rem;
    width: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.toggleTab-box {
    background: #f8f9fa;
    padding: 1rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    min-width: 200px;
    pointer-events: auto;
}

/* TAB KRAJ */