.custom-carousel-item {
    min-height: 220px !important;
}

.header {
    background-color: var(--primary-transparent);
    height: var(--margin-top);
    display: flex;
    align-items: center;
    transition: var(--transition-all);
}

.header.fixed {
    background-color: var(--primary);
}

.header .navbar {
    background-color: transparent !important;
    box-shadow: none;
}

.header .navbar-brand {
    width: 160px !important;
}

.dropdown-toggle:after {
    display: none !important;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.nav-close-button {
    width: 30px;
    height: 30px;
    padding: 9px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 3rem;
    top: 2rem;
    z-index: 11111111;
    outline: none !important;
}

.nav-close-button.absolute {
    position: absolute;
    right: 15px !important;
    top: 15px !important;
}

.nav-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.close-icon {
    width: 12px;
}

span.border {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) rotate(-90deg);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.nav-circle circle {
    stroke-dasharray: 92;
    stroke-dashoffset: 92;
    stroke: var(--white);
    stroke-width: 1px;
    transition: all 0.5s ease-in-out;
    fill: none;
}


.modal-header.filter .nav-circle circle {
    stroke: #fff;
}



.nav-close-button:hover .nav-circle circle {
    stroke-dashoffset: 0;
    transition: all 0.5s ease-in-out;
}

.hero {
    height: 100svh;
    width: 100svw;
    overflow: hidden;
    position: relative;
}

.hero.h-auto {
    height: auto !important;
}

.hero .hero-cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
    z-index: 10;
    background-color: var(--primary-transparent);
}

.hero-form button {
    background-color: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
    padding: .25rem !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-form input {
    background-color: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
}

.hero-form input::placeholder {
    color: var(--white) !important;
}

.letter-1px {
    letter-spacing: 1px !important;
}


/***** Button *****/


.button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 150px;
    padding: 0.5rem;
    border: 1px solid;
    letter-spacing: .64px;
    height: 49px !important;
}

.button.larger {
    width: 210px;
}

.button.extra.larger {
    width: 250px !important;
}

.button-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.button-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--text-white);
}

/***** Button END *****/

#carouselRecenzije .carousel-indicators {
    bottom: -1rem;
    margin-left: 0rem !important;
    left: 50% !important;
    transform: translateY(100%) translateX(-50%);
}

#carouselRecenzije .carousel-indicators .carousel-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-lighter);
    transition: var(--transition-all);
}

#carouselRecenzije .carousel-indicators .carousel-indicator.active {
    background-color: var(--primary);
    transition: var(--transition-all);
}


/***** Footer *****/

.footer-top .navbar-brand {
    width: 180px;
}

.social-holder {
    width: 35px;
    height: 35px;
}

.border-p-lighter {
    border-color: var(--primary-lighter) !important;
}

/***** Form *****/

.form-outline .form-control {
    border-radius: 0 !important;
}

.form-outline .form-control~.form-notch div {
    border-color: var(--border-secondary) !important;
    border: 0 !important;
}

.form-outline .form-control.select-input:focus~.form-notch .form-notch-leading,
.form-outline .form-control.select-input:hover~.form-notch .form-notch-leading,
.form-outline .form-control.select-input:focus~.form-notch .form-notch-trailing,
.form-outline .form-control.select-input:hover~.form-notch .form-notch-trailing,
.form-outline .form-control:focus~.form-notch .form-notch-middle,
.form-outline .form-control:hover~.form-notch .form-notch-middle {
    box-shadow: none !important;
    border-color: var(--primary) !important;
}

.form-outline .form-control~.form-label,
.form-outline .form-control.select-input:focus~.select-label,
.select-input.focused~.select-label {
    color: var(--text-primary) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.form-outline .form-control.active~.form-label,
.form-outline .form-control:focus~.form-label,
.form-outline .form-control.select-input.focused:focus~.select-label,
.form-outline .form-control.select-input:focus~.select-label {
    top: -50% !important;
    background-color: var(--white) !important;
    z-index: 10;
    transform: translateY(70%) scale(.8) !important;
    color: var(--primary) !important;
}

.form-outline .form-control.active~.form-label.contact-form-label,
.form-outline .form-control:focus~.form-label.contact-form-label {
    background-color: var(--gray) !important;
}

.form-outline .form-control.active~.form-label.message,
.form-outline .form-control:focus~.form-label.message,
.form-outline .form-control.select-input.focused:focus~.select-label.message,
.form-outline .form-control.select-input:focus~.select-label.message {
    top: -20% !important;
}


.form-control.select-input.active+.form-label,
.form-outline .form-control~.form-label {
    top: 50%;
    transform: translateY(-50%);
}

.form-control.select-input {
    box-shadow: none !important;
}


.form-outline .form-control.select-input:focus~.form-notch .form-notch-leading,
.select-input.focused~.form-notch .form-notch-leading,
.select-input.focused~.form-notch .form-notch-middle,
.form-outline .form-control.select-input:focus~.form-notch .form-notch-trailing,
.select-input.focused~.form-notch .form-notch-trailing {
    box-shadow: none !important;
}


.invalid-feedback {
    width: auto;
    color: #dc4c64;
    margin-top: 0 !important;
    top: unset !important;
    font-size: 11px !important;
    bottom: -20px !important;
}

.select-arrow {
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 7px !important;
    right: 15px !important;
}

.select-arrow:before {
    content: "";
    position: absolute;
    top: 0 !important;
    right: 0;
    border: none !important;
    width: 11px;
    height: 7px;
    background: url(/images/icons/advokat-beograd-arrow-down.svg) no-repeat;
    background-size: 100%;
    transform: rotateX(0);
    transition: transform .5s ease-out;
}

.form-outline .form-control:focus~.form-notch .form-notch-leading,
.form-outline .form-control:hover~.form-notch .form-notch-leading,
.form-outline .form-control:focus~.form-notch .form-notch-middle,
.form-outline .form-control:hover~.form-notch .form-notch-middle,
.form-outline .form-control:focus~.form-notch .form-notch-trailing,
.form-outline .form-control:hover~.form-notch .form-notch-trailing {
    box-shadow: none !important;
    border-color: var(--primary) !important;
}

.modal-header {
    border-bottom: 0 !important;
}

textarea.form-control {
    min-height: 8rem !important;
    max-height: unset !important;
    height: unset !important;
}


textarea.form-control.select-input.active+.form-label,
.form-outline textarea.form-control~.form-label {
    top: 15% !important;
}

.form-outline .form-control {
    padding: .75rem !important;
}

.form-check-input:checked {
    border-color: var(--primary) !important;

}

.form-check-input[type=radio]:checked:after {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

.form-check-input:checked:focus:before {
    box-shadow: 0 0 0 13px var(--primary) !important;
}

.form-control {
    height: 55px !important;
    border: 1px solid var(--primary-light) !important;
    transition: var(--transition-all);
}

.form-control:hover,
.form-control:focus {
    border: 1px solid var(--primary) !important;
    transition: var(--transition-all);
    box-shadow: none !important;
    outline: none !important;
}

@media(max-width: 991px) {
    .custom-carousel-item {
        min-height: 280px !important;
    }

    .about-text.hidden {
        max-height: 190px;
        overflow: hidden;
        transition: all 0.5s ease-in-out !important;
    }

    .about-text {
        max-height: 1135px;
        overflow: hidden;
        transition: all 0.5s ease-in-out !important;
    }

    .text-align-last-mobile {
        text-align-last: center !important;
    }

    .mobile-navigation-content {
        overflow-y: scroll;
        width: 100%;
        height: 100%
    }

    .mobile-navigation-back-link,
    .mobile-navigation-gray-link,
    .mobile-navigation-item,
    .mobile-navigation-list-link {
        height: 55px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: var(--mdb-gutter-x, 1rem);
        padding-left: var(--mdb-gutter-x, 1rem);
        position: relative;
        border-bottom: 1px solid var(--gray-light)
    }

    .mobile-navigation-gray-link span {
        border-bottom: 1px solid;
        padding: 1rem 0 !important
    }

    .mobile-navigation-gray-link {
        border-bottom: 0 !important
    }

    .mobile-navigation-back-link {
        justify-content: flex-start !important;
        font-size: 1rem !important;
        margin-bottom: 0 !important
    }

    .arrow {
        width: 20px;
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .mobile-navigation-back-link .arrow {
        transform: scale(-1, 1);
        margin-right: 3px
    }

    .active>.mobile-navigation-transform,
    .mobile-navigation-transform {
        transform-origin: left center 0px;
        transition: opacity 1s ease-in-out, transform .75s ease-in-out
    }

    .arrow,
    .mobile-navigation-back-link span,
    .mobile-navigation-item span,
    span {
        pointer-events: none !important
    }

    .mobile-nav-link,
    .mobile-nav-link:hover {
        color: var(--text-primary)
    }

    .mobile-navigation-transform {
        opacity: 0;
        transform: matrix(1, 1, 0, 1, 0, 0)
    }

    .active>.mobile-navigation-transform {
        opacity: 1;
        transform: matrix(1, 0, 0, 1, 0, 0)
    }

    .footer .arrow::after,
    .footer .arrow::before {
        display: block;
        position: absolute;
        top: 50%;
        width: 10px;
        height: 1px;
        background-color: var(--white) !important;
        content: "";
    }

    .footer .arrow::before {
        left: -4px;
        transition: .3sease-in-out;
    }

    .footer .active .arrow-wrapper .arrow::after,
    .footer .arrow::before {
        transform: rotate(45deg);
    }

    .footer .arrow::after {
        right: 3px;
        transform: rotate(-45deg);
        transition: .3sease-in-out;
    }

    .footer .arrow-wrapper {
        width: 15px;
        position: relative;
    }

    .footer .mobile-list.visible {
        max-height: 700px;
        font-size: 17px;
    }

    .footer .mobile-list {
        max-height: 0;
        overflow: hidden;
        transition: .3s ease-in-out;
    }

    .footer .active .arrow-wrapper .arrow::before {
        transform: rotate(-45deg);
    }

    .footer .active .arrow-wrapper .arrow::after,
    .footer .arrow::before {
        transform: rotate(45deg);
    }

    .border-holder {
        border-bottom: 1px solid;
    }

}

/* Xx-Small (manje od 500px) */
@media (max-width: 500px) {
    .cta-holder {
        position: unset !important;
        padding: 1.5rem 0rem;
    }

    .cta-holder .text-white,
    .cta-holder .text-w {
        text-align: center;
        color: black !important;
        text-align-last: center;
    }

    .cta-holder .social-media {
        width: fit-content;
        margin: 0 auto;
    }
}

/* X-Small (manje od 576px) */
@media (max-width: 575px) {
    .text-align-last-center-mobile {
        text-align-last: center !important;
    }

    .hero-form {
        bottom: 0rem !important;
        padding: 1rem 1.5rem !important;
        width: 100%;
    }

    .hero-form input {
        width: 100%;
    }

    .fs-xmd {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* Small (manje od 768px) */
@media (max-width: 767px) {}

/* Medium (manje od 992px) */
@media (max-width: 991px) {
    .mobile-fixed-nav.fixed {
        transform: translateY(0)
    }

    .mobile-fixed-nav {
        transition: var(--transition-all);
        transform: translateY(70px);
        z-index: 50
    }

    .mobile-fixed-nav .px-0 {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    .footer-bottom {
        padding-bottom: 80px !important;
    }
}

/* Large (manje od 1200px) */
@media (max-width: 1199px) {}

@media (max-width: 1260px) {
    .table-tarife .col-xl-4 {
        max-width: 420px !important;
        width: 420px !important;
        min-width: 420px !important;
        padding: 0 !important;
    }

    .table-tarife .col-xl-10 {
        padding: 0 !important;
    }

    .table-tarife .col-xl {
        max-width: 175px !important;
        width: 175px !important;
        min-width: 175px !important;
        padding: 0 !important;
    }

    .overflow-x-scroll-custom {
        overflow-x: scroll !important;
    }

    .overflow-x-scroll-custom .row {
        flex-wrap: nowrap !important;
        position: static !important;
    }
}

/* Extra Large (manje od 1400px) */
@media (max-width: 1399px) {}


/* Small (od 576px naviše) */
@media (min-width: 576px) {}

/* Medium (od 768px naviše) */
@media (min-width: 768px) {}

/* Large (od 992px naviše) */
@media (min-width: 992px) {
    .border-holder {
        border-right: 1px solid;
    }
}

/* Extra Large (od 1200px naviše) */
@media (min-width: 1200px) {}

/* Extra Extra Large (od 1400px naviše) */
@media (min-width: 1400px) {}


@media screen and (min-width: 500px) and (max-width: 1200px) {
    .cta .cover-img {
        min-height: 600px;
        object-fit: cover;
    }
}

.swiper .swipder-slide img {
    max-height: unset !important;
}

.swiper-buttons .swiper-button-next,
.swiper-buttons .swiper-button-prev {
    width: 49px !important;
    height: 49px !important;
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transition: var(--transition-all);
    outline: 0 !important;
    box-shadow: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
}

.swiper-buttons .swiper-button-next:hover,
.swiper-buttons .swiper-button-prev:hover {
    background-color: var(--tertiary);
    border-color: var(--tertiary);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    color: var(--white);
    transition: var(--transition-all);
}

.icon-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 1rem;
}

table {
    table-layout: fixed !important
}

.table-bordered>:not(caption)>*>* {
    word-wrap: break-word !important;
    font-family: Raleway-Regular, sans-serif;
}

.table th {
    font-family: Raleway-Medium, sans-serif;
}

.table>:not(:last-child)>:last-child>* {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    position: relative;
    text-align: center;
    vertical-align: middle;
    height: 80px !important;
}

.table thead {
    position: sticky;
    top: calc(var(--margin-top));
}

.table>:not(:last-child)>:last-child>*::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    height: 1px;
    width: 100%;
}

.table>:not(:last-child)>:last-child>*::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    height: 1px;
    width: 100%;
}

.fs-xxxsm {
    font-size: 11px !important;
}

.sticky-top {
    top: var(--margin-top) !important;
}

.w-fit.mx-auto {
    word-wrap: break-word;
    max-width: 100%;
}

.navbar-brand:hover .logo-shown {
    display: none !important;
}

.navbar-brand:hover .logo-hidden {
    display: inline !important;
}

.navbar-brand .logo-hidden {
    display: none !important;
}

.navbar-brand img {
    margin: 0 !important;
}