/*--- Header ---*/
.mi-header {
    padding: 12px 0;
}
.collapse.navbar-collapse {
    flex-grow: unset;
}
.mi-header .nav-item {
    margin-left: 30px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1000px) {
    .navbar-nav {
        background-color: var(--secondary-bg);
    }
    .nav-item {
        margin: 10px 0;
    }
}
.mi-service-item {
    min-height: 320px;
}
.mi-list-color {
    color: var(--secondary-bg);
}
.mi-section-services-text {
    margin: 0 20%;
    padding-top: 20px;
}
.mi-section-services-text li {
    padding-bottom: 10px;
    font-size: 20px;
}
/*--- Footer ---*/
.mi-footer {
    padding: 40px;
    background-color: #F3F3F3;
    font-size: 16px;
}
.mi-footer-info {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
}
.mi-footer .mi-logo {
    margin-bottom: 24px;
}
.mi-footer-menu {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}
.mi-footer h4 {
    margin-bottom: 20px;
}
.mi-footer-contact {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 13px;
}
.mi-footer-contact img {
    display: block;
    width: 14px;
    margin-right: 7px;
}
h4 + .mi-footer-contact {
    align-items: flex-start;
}
h4 + .mi-footer-contact > img {
    margin-top: 7px;
}
.mi-footer-contact a {
    color: var(--font-main);
    text-decoration: none;
}
.mi-footer-contact a:hover {
    color: var(--main-red);
}
@media (max-width: 1000px) {
    .mi-footer-menu {
        align-items: flex-start;
        margin: 30px 0;
    }
}

/*--- Main Page - Start Section ---*/
.mi-section-start {
    width: 100%;
    height: calc(100vh - var(--header-height));
    /*background-color: var(--secondary-bg);*/
    background-color: #2b276d;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.mi-section-start-text {
    width: 54%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}
.mi-section-start .mi-container {
    height: 100%;
}
.mi-section-start h1 {
    margin-bottom: 23px;
    color: white;
}
.mi-section-start h3 {
    margin-bottom: 43px;
}
.mi-section-start:after {
    content: '';
    display: block;
    width: 46%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url('/images/section_1_1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 1000px) {
    .mi-section-start:after {
        display: none;
    }
    .mi-section-start-text {
        width: 100%;
    }
}
@media (min-width: 1000px) {
    .mi-section-start {
        min-height: 694px;
    }
}

/*--- Main Page - About Section ---*/
.mi-section-about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 100px;
}
.mi-section-about-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}
.mi-section-about-image {
    width: 50%;
    overflow: hidden;
    max-height: 454px;
}
.mi-section-about-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.mi-section-about-content {
    margin-top: 70px;
}
.mi-section-about-text {
    max-width: 500px;
    width: 50%;
    padding-left: 70px;
}
.mi-section-about-text .mi-toggle {
    margin-top: 20px;
}
@media (max-width: 1000px) {
    .mi-section-about-image {
        width: 100%;
    }
    .mi-section-about-text {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin-top: 70px;
    }
    .mi-section-about-content {
        display: block;
    }
}

/*--- Main Page - Services Section ---*/
.mi-section-services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.mi-section-services-content {
    margin-top: 70px;
}
.splide__slide.is-prev > .mi-service-item {
    float: right;
    margin-right: 30px;
    opacity: 0.4;
    transform: scale(0.9);
}
.splide__slide.is-next > .mi-service-item {
    float: left;
    margin-left: 30px;
    opacity: 0.4;
    transform: scale(0.9);
}


/*--- Main Page - Cooperation Section ---*/
.mi-section-cooperation {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 70px;
}
.mi-section-cooperation-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}
.mi-section-cooperation-image {
    width: 50%;
    overflow: hidden;
    max-height: 454px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}
.mi-section-cooperation-image > div {
    background: #696969;
    width: 585px;
    height: 445px;
}
.mi-section-cooperation-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.mi-section-cooperation-content {
    margin-top: 70px;
}
.mi-section-cooperation-text {
    max-width: 500px;
    width: 50%;
    padding-left: 70px;
}
.mi-section-cooperation-text .mi-toggle {
    margin-top: 20px;
}
@media (max-width: 1000px) {
    .mi-section-cooperation-image {
        width: 100%;
    }
    .mi-section-cooperation-text {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin-top: 70px;
    }
    .mi-section-cooperation-content {
        display: block;
    }
}

/*--- Projects Page - Project Section ---*/
.mi-projects-section {
    margin-bottom: 100px;
}
.mi-projects-section.start {
    margin-top: 70px;
}
.mi-project-title {
    font-weight: 800;
    font-size: 30px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.mi-project-text p {
    margin-bottom: 30px;
}
.mi-project-image {
    height: 100%;
}
.mi-project-image > img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
.mi-project-image > video {
    height: 100%;
    width: 100%;
}
.mi-project-image.video {
    position: relative;
    overflow: hidden;
}
.mi-project-image.video:after {
    content: '';
    display: block;
    width: 63%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-image: url('/images/project-video-mokup.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: 700ms;
    transition-delay: 0ms;
    transition-property: all;
}
.mi-project-image.video.active:after {
    right: -63%;
}
.pdf-container {
    text-align: center;
    padding: 10px;
}
.pdf-container a:hover {
    transform: scale(1.1);
}
.pdf-container a {
    display: flex;
    flex-flow:column;
    justify-content: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    min-height: 175px;
    text-decoration: none;
    color: var(--secondary-bg);

}
.lb-h2 {
    padding: 20px 0px;
    text-align: center;
}
@media (max-width: 1000px) {
    .mi-projects-section {
        padding: 15px;
    }
    .mi-project-image > img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    .mi-project-image {
        margin-top: 40px;
    }
    .mi-projects-section.inverse .row {
        flex-flow: column-reverse;
    }
}