:root {
    --white: #fff;
    --blue: #3397d5;
    --lightblue: #f1f9fe;
    --black: #000;
    --paragraph: #555555;
    --border: #e5e5e5;
    --lightgray: #f5f8f9;
    --gray: #546166;
}

.as-h3 {
    font-size: 2rem;
    line-height: 2.5rem;
}

@media (max-width: 991px) {
    .as-h3 {
        font-size: 1.75rem;
        line-height: 2.125rem;
    }
}

table {
    border-top: 1px solid var(--border);
}

table:not(:last-child) {
    margin-bottom: 2rem;
}

table:not(:first-child) {
    margin-top: 2rem;
}

table td {
    padding: .75rem 0;
}

table tr {
    border-bottom: 1px solid var(--border);
}

table p {
    margin-bottom: 0 !important;
}

.section-bottom-spacing:not(:last-child) {
    margin-bottom: 7.5rem;
}

@media (max-width: 991px) {
    .section-bottom-spacing:not(:last-child) {
        margin-bottom: 3.5rem;
    }
}

.body ul {
    list-style: disc inside none;
}

.body ol {
    list-style: decimal inside none;
}

.body ul li::marker {
    color: var(--blue);
}

.body ol li::marker {
    font-weight: 600;
}

/* subpage */

.breadcrumb {
    padding: 3rem 0;
    margin: 0 .75rem;
    background-image: url("../img/theme/breadcrumb-background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.breadcrumb h1 {
    color: var(--white);
    font-size: 54px;
    letter-spacing: -1px;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.breadcrumb-ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-ul a {
    color: var(--white);
}

.breadcrumb-ul li svg {
    fill: var(--blue);
    margin: 0 .75rem;
}

.breadcrumb-ul li:last-child a {
    font-weight: 600;
}

@media (min-width: 1400px) {
    .header-main-contact {
        order: 2;
    }

    .header-main-nav {
        flex-wrap: nowrap;
    }
}

@media (min-width: 993px) {
    .header-main-contact {
        margin-left: auto;
    }
}

@media (max-width: 1920px) and (min-width: 1400px) {
    .breadcrumb {
        background-position: right;
    }
}

@media (max-width: 1400px) {
    .breadcrumb {
        background-position: center right -250px;
    }
}

@media (max-width: 993px) {
    .breadcrumb {
        background-position: center center;
        min-height: 175px;
        text-align: center;
        padding: 1.5rem 0;
    }

    .breadcrumb h1 {
        margin-bottom: 0;
        font-size: 2.5rem;
        line-height: 3.25rem;
    }

    .breadcrumb-ul {
        display: none;
    }
}


/* contact page */

.contact-wrapper {
    display: grid;
    grid-template-columns: .75fr 1fr;
    gap: 3rem;
}

.contact-map {
    margin-bottom: -13rem;
    height: calc(100% + 13rem);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item b,
.contact-item strong {
    color: var(--paragraph);
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    font-weight: 600;
}

p.contact-item-title {
    margin-bottom: .35rem;
    color: var(--black);
    font-weight: 600;
}

.contact-map iframe {
    min-height: 400px;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
}

.contact-socials {
    margin: 3rem 0 -3rem;
}

.contact-socials ul {
    list-style: none;
}

.contact-socials.footer-socials ul a:not(:hover) {
    background-color: #e4e4e4;
}

.contact-socials.footer-socials ul a svg {
    transition: all ease-in-out 0.15s;
}

.contact-socials.footer-socials ul a:not(:hover) svg {
    fill: var(--black);
}

.contactForm-wrapper {
    padding-top: 7.5rem;
    display: grid;
    grid-template-columns: .75fr 1fr;
    gap: 3rem;
}

.contactForm-left p {
    font-size: 21px;
    line-height: 32px;
    font-weight: 600;
}

.form-light .form-inputbox input,
.form-light .form-inputbox select,
.form-light .form-inputbox textarea {
    border-color: var(--white);
    color: var(--paragraph);
    filter: drop-shadow(6.582px 6.138px 14.5px rgba(0, 0, 0, 0.05));
}

@media (max-width: 1200px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-socials {
        margin: 2.25rem 0 0;
    }

    .contactForm-wrapper {
        grid-template-columns: 1fr;
        padding-top: 9rem;
    }
}

/* career */

.dropdowns-wrapper {
    border-top: 1px solid var(--border);
}

.dropdowns-item {
    border-bottom: 1px solid var(--border);
}

.dropdowns-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    text-decoration: none;
}

.dropdowns-item-header:hover {
    text-decoration: none;
}

.dropdowns-item-header h2 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 0;
}

.dropdowns-item-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 100ms linear, max-height 100ms linear;
    will-change: opacity, max-height;
}

.dropdowns-item-body-content {
    padding-bottom: 2rem;
}

.dropdowns-item.active .dropdowns-item-body {
    opacity: 1;
    max-height: 100%;
}

.dropdowns-item-header-left {
    max-width: 50%;
    gap: 1rem;
}

.dropdowns-item-header-left,
.dropdowns-item-header-right {
    display: flex;
    align-items: center;
}

.dropdowns-item-header-right {
    justify-content: flex-end;
    gap: 3rem;
}

.dropdowns-item-header-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.1s;
}

.dropdowns-item.active .dropdowns-item-header-icon {
    transform: rotate(180deg);
}

.dropdowns-item-header-icon svg {
    fill: var(--white);
}

.dropdowns-item-header-location {
    flex-shrink: 0;
    background-color: var(--lightgray);
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    color: var(--paragraph);
    font-size: 14px;
    line-height: 1.4;
}

.dropdowns-item-header-location strong {
    color: var(--paragraph);
}

.dropdowns-item-header-location img {
    flex-shrink: 0;
}

.dropdowns-item-header-small {
    flex-shrink: 0;
    color: var(--black);
    font-size: 16px;
    line-height: 1.4;
}

@media (max-width: 993px) {

    .dropdowns-item-header-left,
    .dropdowns-item-header-right,
    .dropdowns-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdowns-item-header {
        align-items: flex-start;
        padding-right: 3rem;
        position: relative;
    }

    .dropdowns-item-header-icon {
        position: absolute;
        top: 1.1rem;
        right: 0;
    }

    .dropdowns-item-header-left,
    .dropdowns-item-header {
        max-width: 100%;
        gap: .75rem;
    }
}

/* technologies */

.technologies-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3.5rem 1rem;
}

.technologies-item-header {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.technologies-item-header::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: all ease-in-out 0.15s;
    background-color: var(--gray);
    opacity: 0.85;
}

.technologies-item-header::after {
    position: absolute;
    z-index: 2;
    bottom: 1.25rem;
    right: 1.25rem;
    content: url("../img/icon/icon-plus.svg");
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 3px;
    transition: all ease-in-out 0.15s;
}

.technologies-item-header-name {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
}

.technologies-item-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.25s;
}

.technologies-item-header:hover .technologies-item-header-image img {
    transform: scale(1.1);
}

.technologies-item-text {
    margin-top: 1.75rem;
}

@media (max-width: 1475px) {
    .technologies-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 993px) {
    .technologies-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .technologies-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* about page */

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr .6fr;
    gap: 2rem 5rem;
}

.about-wrapper.about-wrapper-reversed,
.about-wrapper.about-wrapper-smalltext {
    grid-template-columns: .6fr 1fr;
}

.about-wrapper.about-wrapper-reversed .about-right {
    order: -1;
}

.about-photos {
    margin-left: auto;
    width: fit-content;
}

.about-wrapper.about-wrapper-reversed .about-photos {
    margin-left: 0;
}

.about-text-minititle {
    background-color: var(--lightblue);
    width: fit-content;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 15px;
    line-height: 1.4;
    color: var(--black);
    font-weight: 600;
    padding: .55rem 1.25rem;
    margin-bottom: 1.5rem;
}

.about-text-minititle svg,
.about-text-minititle img {
    flex-shrink: 0;
}

.about-text-minititle svg {
    fill: var(--blue);
}

.about-text-title h2 {
    margin-bottom: 1.5rem;
}

.about-text-title h2 a {
    color: var(--black);
}

.about-text-content ul {
    list-style: none;
    margin-top: 1.75rem;
}

.about-text-content>*:first-child {
    margin-top: 0;
}

.about-text-content li {
    background-image: url("../img/icon/icon-tick.svg");
    background-repeat: no-repeat;
    background-position: left top 1px;
    padding-left: 2.5rem;
    color: var(--black);
    font-weight: 600;
}

.about-text-content li:not(:last-child) {
    margin-bottom: .5rem;
}

.about-text-button {
    margin-top: 2rem;
}

.about-photos-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1200px) {

    .about-wrapper.about-wrapper-smalltext {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 993px) {

    .about-wrapper,
    .about-wrapper.about-wrapper-reversed {
        grid-template-columns: 1fr;
    }

    .about-wrapper.about-wrapper-reversed .about-right {
        order: 2;
    }

    .about-photos {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .about-photos-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* hp improvements */

.textimage-row {
    margin: 0 .75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: var(--blue);
}

.textimage-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.textimage-item h2,
.textimage-item p {
    color: var(--white);
}

.textimage-item-content {
    padding: 6rem;
    max-width: 700px;
}

.textimage-item-footer {
    margin-top: 3rem;
}

.button-white {
    color: var(--white);
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.55rem 2rem;
    width: fit-content;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 0.125rem solid var(--white);
    border-radius: 3px;
}

.button-white,
.button-white svg {
    transition: all ease-in-out 0.15s;
}

.button-white svg {
    fill: var(--white);
}

.button-white:hover {
    background-color: #fff;
    color: #3397d5;
    text-decoration: none;
}

.button-white:hover svg {
    fill: #3397d5;
}

.textimage-image {
    height: 100%;
}

.textimage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 993px) {

    .textimage-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .textimage-item-content {
        max-width: 100%;
        text-align: center;
        padding: 3.5rem 1.5rem;
    }

    .textimage-item-footer {
        margin-top: 2.5rem;
    }

    .textimage-item-footer a {
        margin: 0 auto;
    }
}

/* references page */

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1200px) {
    .gallery-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .gallery-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.section.documents {
    margin: 0 .75rem;
}

.section-block-download {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 950px;
    margin: 0 auto;
}

.section-block-download-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid transparent;
    padding: 1.5rem 2rem;
    transition: all ease-in-out 0.25s;
    filter: drop-shadow(6.582px 6.138px 14.5px rgba(0, 0, 0, 0.05));
}

.section-block-download-item:hover {
    background-color: var(--white);
    border-color: var(--blue);
}

.section-block-download-iconFile {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-block-download-iconFile svg {
    fill: var(--blue) !important;
    width: 32px;
    height: 32px;
}

.section-block-download-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    text-decoration: none;
}

.section-block-download-name:hover {
    text-decoration: none;
}

.section-block-download-name p {
    margin: 0;
    font-weight: 600;
    color: var(--black);
    font-size: 1.125rem;
    transition: color 0.25s;
    line-height: 1.25;
}

.section-block-download-item:hover {
    text-decoration: none;
}

.section-block-download-item:hover .section-block-download-name p {
    color: var(--blue);
}

.section-block-download-iconDownload {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blue);
    font-weight: 600;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: color 0.25s;
}

.section-block-download-iconDownload svg {
    fill: var(--blue) !important;
    transition: transform 0.25s;
}

@media (max-width: 768px) {
    .section-block-download-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .section-block-download-name {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .section-block-download-iconDownload {
        margin-left: 0;
    }
}

.services .row {
    gap: var(--bs-gutter-x) 0;
}

.services-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    transition: all ease-in-out 0.25s;
    margin-bottom: 2rem;
}

.services-box:hover {
    border-color: var(--blue);
}

.owl-carousel .services-box {
    margin-bottom: 0;
}

.services-box-image {
    margin-bottom: 1.75rem;
    border-radius: 4px;
    overflow: hidden;
}

.services-box-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.425;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.services-box-icon {
    margin-bottom: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--lightblue);
    border-radius: 50%;
}

.services-box-icon img,
.services-box-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--blue);
}

.services-box-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s;
}

.services-box-title:hover,
.services-box:hover .services-box-title {
    color: var(--blue);
    text-decoration: none;
}

.services-box-desc {
    color: var(--paragraph);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.services-box-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    transition: gap 0.2s ease-in-out, color 0.2s;
}

.services-box-more svg {
    fill: var(--blue) !important;
    transition: fill 0.2s;
}

.services-box-more:hover {
    color: var(--black);
    gap: 0.75rem;
    /* Šipka popojede kousek doprava */
    text-decoration: none;
}

.services-box-more:hover svg {
    fill: var(--black) !important;
}

@media (max-width: 991px) {
    .services-box {
        padding: 2rem 1.5rem;
    }
}


.footer .form-inputbox textarea {
    min-height: 9.5rem;
}

.footer .pt-5 {
    padding-top: 1.75rem !important;
}

@media (min-width: 992px) {

    .footer .pt-lg-5 {
        padding-top: 1.75rem !important;
    }
}

.homepageSlider-item-content-inner span {
    display: inline-block;
}

@media (max-width: 993px) {
    .header-main>.container {
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
    }
}

.body .textimage-row {
    background-color: #1f2429;
}

.body .textimage-row .button-white {
    background-color: #1f2429;
}

.body .textimage-row .button-white:hover {
    color: #1f2429;
    background-color: #fff;
}

.body .textimage-row .button-white:hover svg {
    fill: #1f2429;
}