* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

h1.article-head {
    font-family: arial;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1,
h2,
h3,
p,
a,
ul {
    font-family: arial;
    letter-spacing: 0.5px;

    color: black;
    text-decoration: none;
}

ul {
    list-style-position: inside;
    list-style-type: none;
}

span {
    font-size: 13px;
}

.body-text {
    font-size: 16px;
    line-height: 24px;
}

.body-text-2 {
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}
.body-text-3 {
    font-size: 13px;
    line-height: 18px;
}

.main {
    max-width: 1180px;

    margin: 0 auto;
}

header {
    padding-top: 30px;

    display: flex;
    justify-content: space-between;
}

.left-header {
    display: flex;
}

nav {
    display: flex;
}

nav a {
    line-height: 1.5;
}

.logo-wrapper,
.logo-wrapper-mobile {
    width: 300px;
    height: 42px;

    border: 2px solid black;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;

    margin-top: 5px;
}

.logo-wrapper-mobile {
    display: none;
}

#logo-v {
    margin-left: 12px;
    width: 10px;
}
#logo-dj {
    margin-right: 12px;
    width: 10px;
}

#logo-line {
    height: 2px;
    width: calc(100% - 37px);

    background: black;

    position: absolute;
    top: 18px;
    left: 50%;

    transform: translateX(-49.9%);
}

.about {
    margin-top: 40px;
}
.about picture img {
    padding-bottom: 40px;
}

.about-image {
    max-width: 1280px;
}
.about-image picture img,
.employee-image img {
    width: 100%;
}

.services,
.team {
    margin-top: 120px;
}

.services-banner,
.team-banner {
    width: 100%;
    border-bottom: 1px solid black;
}

.services-banner p,
.team-banner p {
    padding-bottom: 8px;
}

.services-wrapper,
.team-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.services-wrapper .cell {
    width: calc(50% - 12px);
    height: 60px;

    border-bottom: 1px solid black;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-top: 30px;
    padding-bottom: 6px;
}

.services-wrapper,
.team-wrapper .cell {
    cursor: pointer;
}
.services-wrapper .cell:hover .strelica,
.team-wrapper .cell:hover .strelica {
    transform: rotate(-90deg);
    transition: 0.05s;
}

.services-wrapper .cell:hover {
    background: transparent; /*from aabdc8 */
}

.team-wrapper .cell:hover {
    background: rgb(127, 127, 127);
}

.team-menu {
    margin-top: 30px;

    cursor: pointer;
}

.team-menu-link {
    display: inline-block;

    padding: 5px;
    margin-right: 10px;
}

.active {
    background: rgb(127, 127, 127);
}

.team-menu-link:hover {
    background: rgb(127, 127, 127);
}

.team-wrapper[style*="display: block"] {
    display: flex !important;
}

.team-wrapper .cell {
    width: calc(50% - 15px);

    margin-top: 30px;
}

.employee-info {
    height: 60px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding-bottom: 15px;

    border-bottom: 1px solid black;
}

#pripravnici,
#advokati {
    display: none;
}

.prikazi {
    display: flex !important;
}

footer {
    display: flex;
    justify-content: space-between;

    margin: 80px 0 60px 0;
    padding-top: 8px;

    border-top: 1px solid black;

    height: 40px;
}

footer p {
    display: inline-block;
}

.footer-contact p {
    margin-right: 10px; /** was left 60px klara */
}

li {
    width: 50%;
    border-bottom: 1px solid black;

    padding: 10px 0;
}

.services-overlay footer,
.team-overlay footer {
    margin-top: 60px;
}

.services-overlay,
.team-overlay {
    width: 100%;
    min-height: 100vh;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-overlay {
    background: transparent;
}
.team-overlay {
    background: rgb(127, 127, 127);
}

.services-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 60px;

    border-bottom: 1px solid black;
}

.services-overlay-content,
.team-overlay-content {
    min-height: calc(100vh - 250px);
}

.services-overlay-content {
    margin: 30px 0;
}

.team-overlay-content {
    display: flex;
    justify-content: space-between;

    flex-wrap: wrap;
}

.team-info {
    width: calc(50% - 20px);

    margin-top: 30px;
}

.team-info div {
    width: 100%;
}
.team-info img {
    width: 100%;
}

.team-info .cell {
    margin-bottom: 30px;
}

.team-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 30px;

    border-bottom: 1px solid black;

    margin-bottom: 15px;
}

@media screen and (max-width: 1280px) {
    .main {
        padding: 0 60px;
    }

    .footer-contact p {
        margin-left: 30px;
    }
}

@media screen and (min-width: 941px) {
    .ime {
        display: none;
    }
    .meni-mobile {
        display: none;
    }
}

@media screen and (max-width: 940px) {
    .ime {
        display: inline-block;
        width: 300px;
    }
    .ime-l {
        display: none;
    }

    .logo-wrapper {
        display: none;
    }

    .logo-wrapper-mobile {
        display: none;

        margin-bottom: 30px;
    }

    nav a {
        margin-left: 30px;
    }

    header {
        flex-direction: column;

        justify-content: space-between;
    }

    nav {
        justify-content: space-between;
    }

    .meni-open {
        display: none;
    }
    .meni-mobile {
        display: inline-block;
    }

    li {
        width: 100%;
    }

    .team-info {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .main {
        padding: 0 15px;
    }

    .footer-contact p {
        margin-left: 0px;
        margin-bottom: 8px;
    }

    .ime {
        width: 540px;
    }
    nav a {
        margin-left: 20px;
    }

    .services-wrapper .cell {
        width: 100%;
    }

    .team-wrapper .cell {
        width: calc(100% - 10px);
    }

    .employee-info {
        height: 45px;
    }

    footer {
        flex-direction: column;
    }

    .footer-contact {
        margin-top: 15px;
    }

    footer p {
        display: block;
    }

    .services,
    .team {
        margin-top: 60px;
    }

    .services-wrapper .cell {
        margin-top: 15px;
    }

    .about img {
        padding-bottom: 30px;
    }
    .about {
        margin-top: 20px;
    }

    .services-overlay,
    .team-overlay {
        padding: 10px;
    }
    .services-overlay-content {
        margin: 30px 0;
        min-height: calc(100vh - 230px);
    }

    .services-overlay footer,
    .team-overlay footer {
        height: 150px;
    }

    #logo-v {
        margin-left: 12px;
        width: 9px;
    }
    #logo-dj {
        margin-right: 12px;
        width: 9px;
    }
    #logo-line {
        width: calc(100% - 35px);
    }
}

@media screen and (max-width: 375px) {
    .ime {
        width: 600px;
    }
}

/* additional */

.service-section {
    margin-bottom: 54px;
}

.service-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    border-bottom: 1px solid black;
}

.service-content {
    margin: 30px 0 0;
    flex: 1;
}

.service-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    border-bottom: 1px solid black;
    margin-bottom: 15px;
}

.service-title,
.service-paragraph,
.service-anchor,
.service-tab {
    font-family: arial;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.service-title {
    line-height: 18px;
}

.service-title:not(.flat) {
    border-bottom: 1px solid black;
    margin: 0 0 18px;
    padding-bottom: 8px;
}

.service-title.bold {
    font-weight: 600;
    border-bottom: none;
}

.service-subtitle {
    font-size: 18px;
    margin: 18px 0;
}

.service-paragraph {
    line-height: 24px;
    text-align: justify;
}

.service-paragraph:not(.flat) {
    margin: 18px 0;
}

.service-paragraph.listed {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid black;
    width: 50%;
}

.service-anchor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: transparent;
    line-height: 24px;
    font-style: normal;
}

.service-anchor.flat {
    border-bottom: none;
}

.service-anchor.buffered {
    margin-top: 28px;
}

.service-anchor:not(.listed):not(.profile):not(.flat):hover {
    border-color: black;
}

.service-anchor.listed {
    width: 100%;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 10px;
    display: flex;
    align-items: flex-end;
}

.service-anchor.profile {
    flex-direction: column;
}

.service-anchor img:not(.service-image) {
    height: 17px;
    width: 17px;
    object-fit: contain;
    transition: 0.05s;
}

.service-anchor-text {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
    min-height: 60px;
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 30px;
    margin: 18px 0 36px;
}

.service-list.standard {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 0;
    margin: 15px 0;
}

.service-list.paragraph {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 18px 0;
}

.service-list.wide-gap {
    column-gap: 30px;
}

.service-list-item {
    min-height: 60px;
    padding: 0;
    width: 100%;
}

.service-list.paragraph .service-list-item {
    display: inline-flex;
    width: fit-content;
    align-items: center;
}

.service-list.paragraph .service-paragraph {
    display: inline-block;
    width: fit-content;
}

.service-list.paragraph .service-list-item:not(:last-of-type)::after {
    content: ",";
    margin-right: 4px;
    vertical-align: text-bottom;
}

.service-list-item.flat {
    margin: 0;
    border-bottom: none;
    min-height: unset;
    min-height: 24px;
}

.service-list-item.hover-background:hover,
.service-anchor.profile:hover {
    background: rgb(127, 127, 127);
}

.service-list-item:hover .service-anchor img:not(.service-image) {
    transform: rotate(-90deg);
}

.service-tabs {
    margin-top: 30px;
}

.service-tab-list {
    display: flex;
    gap: 14px;
}

.service-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    padding: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: black;
}

.service-tab[aria-selected="true"],
.service-tab:hover {
    background: rgb(127, 127, 127);
}

.service-image {
    width: 100%;
}

.service-image.padded {
    padding-bottom: 40px;
}

.service-person {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    flex: 1;
}

.service-person-card,
.service-person-info {
    margin-top: 30px;
}

.service-person-cell {
    margin-bottom: 30px;
}

@media (max-width: 940px) {
    .service-paragraph.listed {
        width: 100%;
    }

    nav a.service-anchor {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .service-person,
    .service-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-list img,
    .service-anchor img {
        padding: 0;
    }

    .service-image.padded {
        padding-bottom: 0;
    }
}
