﻿.row>.col-7 {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% / 1.8 - 0.01px);
    max-width: calc(100% / 1.8 - 0.01px);
}

.worksphere-section-white,
.worksphere-section-green,
.worksphere-section-grey,
.worksphere-section-lightgreen,
.worksphere-section-kindadarkgrey,
.worksphere-section-darkgrey,
.worksphere-section-black {
    width: 100%;
    padding: 50px 0 50px 0;
    overflow: hidden;
}

.worksphere-section-green {
    background-color: #01916d;
    color: #FFFFFF;
}

.worksphere-section-grey {
    background-color: #D5D5D5;
}

.worksphere-section-lightgreen {
    background-color: rgba(1, 145, 109, 0.5);
}

.worksphere-section-darkgrey {
    background-color: #333333;
    color: #FFFFFF;
}

.worksphere-section-kindadarkgrey {
    background-color: #888888;
    color: #FFFFFF;
}

.worksphere-section-black {
    background-color: #000000;
    color: #FFFFFF;
}

.worksphere-icon-card {
    text-align: center;
    border-bottom: none !important;
}

.worksphere-icon-card .m-card__thumb {
    height: 130px;
}

.worksphere-icon-card img {
    width: 33% !important;
    filter: saturate(0);
    transition: filter 0.2s ease-out, width 0.1s ease-out;
}

.worksphere-icon-card:hover img {
    width: 36% !important;
    filter: saturate(1);
}

.worksphere-hover-image {
    box-shadow: 3px 3px 7px 2px rgba(0, 0, 0, 0.2);
    margin: 20px !important;
    transition: all 0.1s ease-out;
    background-color: #FFFFFF;
    color: #333333;
    cursor: pointer;
    opacity: 0.75;
}

.worksphere-hover-image img {
    padding: 15px;
}

.worksphere-hover-image p {
    font-weight: bold;
    padding: 10px 20px 10px 20px !important;
}

.worksphere-hover-image:hover {
    margin: -20px !important;
    opacity: 1;
    background-color: #01916d;
    color: #FFFFFF;
}

.worksphere-icon-container {
    margin: -10px 30px -10px 30px !important;
    transition: margin 0.1s ease-out;
    text-align: center;
}

.worksphere-icon-container img {
    width: 100%;
}

.worksphere-icon-container:hover {
    margin: -30px 10px -30px 10px !important;
}

.workspehere-parallax {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.worksphere-divider {
    border-bottom: solid 1px #656565;
    height: 1px;
}

.m-btn {
    display: block !important;
}

.worksphere-parallax-overlay {
    width: 40%;
    margin-top: -3px;
    margin-left: -2px;
}

.worksphere-header-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.worksphere-header-sticky+.worksphere-spacer {
    padding-top: 102px;
}

.worksphere-section-solution {
    max-height: 93vh;
}

.worksphere-section-solution .worksphere-section-solution-large {
    opacity: 0;
    height: 0;
    padding-top: 0;
    transition: height 0.5s ease-out, opacity 0.5s ease-out, padding-top 0.5s ease-out;
}

.worksphere-selected .worksphere-section-solution-large {
    opacity: 1;
    height: 75px;
    padding-top: 50px;
    position: relative;
    z-index: 99;
}

.worksphere-section-solution .worksphere-section-solution-small {
    opacity: 1;
    left: 0;
    position: relative;
    transition: left 0.5s ease-out, opacity 0.2s ease-out;
}

.worksphere-selected .worksphere-section-solution-small {
    left: 100%;
    opacity: 0;
}

.worksphere-section-solution .worksphere-section-solution-image {
    width: 50%;
    max-height: 80vh;
    text-align: center;
    margin: 0;
    position: relative;
    top: 0;
    transition: top 0.6s ease-out;
}

.worksphere-section-solution .worksphere-section-solution-image>img,
.worksphere-section-solution .worksphere-section-solution-image>video {
    max-height: 80vh;
    max-width: 100%;
    height: auto;
    transition: all 0.6s ease-out;
}

.worksphere-selected .worksphere-section-solution-image {
    top: -15vh;
    position: relative;
    width: 400% !important;
    left: -150%;
}

.worksphere-selected .worksphere-section-solution-image>img,
.worksphere-selected .worksphere-section-solution-image>video {
    height: 120vh;
    max-height: 120vh;
    max-width: initial;
}

.worksphere-close-solution {
    float: right;
    cursor: pointer;
}

.worksphere-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background-color 0.3s ease-out, backdrop-filter 0.3s ease-out;
}

.worksphere-popup>h5 {
    float: right;
    color: #FFFFFF;
    padding: 20px;
}

.worksphere-popup>div {
    left: 100%;
    transition: left, 0.3s ease-out;
}

.worksphere-popup-open {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.6);
}

.worksphere-popup-open>div {
    left: 0;
}

.workspherePopupCards {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.workspherePopupCards h5 {
    font-size: 2.5vh !important;
}

.workspherePopupCards p,
.workspherePopupCards li {
    font-size: 1.6vh !important;
}

.workspherePopupCards>div {
    height: 70vh;
    width: 20vw;
    background-color: #FFFFFF;
    margin: 2vh;
}

.workspherePopupCards>div>img {
    /*background-color: #CCCCCC;*/
    width: 100%;
}

.workspherePopupCards>div>div {
    padding: 2vh;
}

.m-banner .row>.col img {
    background-color: #FFFFFF;
}

.worksphere-icon-header img {
    width: 60px;
    float: left;
    margin-top: -5px;
    margin-right: 15px;
}

#worksphere-header {
    min-height: 75vh;
    background-position-y: top;
}

#whyFujifilm {
    background-image: url('../images/worksphere/why-fb-bg.jpg');
    min-height: 350px;
}

#whyFujifilm>img {
    width: 30%;
}

#whyFujifilmText {
    background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1024px) {
    .worksphere-popup {
        position: unset;
        display: none;
    }
    .worksphere-popup-open {
        display: block;
        backdrop-filter: unset;
        background-color: unset;
    }
    .worksphere-popup>h5 {
        display: none;
    }
    .workspherePopupCards {
        display: block;
        position: unset;
    }
    .workspherePopupCards>div {
        height: unset;
        width: unset;
        margin: unset;
        text-align: center;
        display: flex;
    }
    .workspherePopupCards>div>div {
        text-align: left;
    }
    .workspherePopupCards>div>img {
        max-height: 25vh;
        width: unset;
    }
}

@media screen and (max-width: 1000px) {
    .worksphere-hover-image {
        margin: -10px !important;
    }
    .worksphere-icon-card img {
        width: auto !important;
        height: 100%;
    }
    .worksphere-icon-card:hover img {
        width: auto !important;
    }
    .worksphere-icon-container {
        margin: 0 !important;
    }
    .worksphere-icon-container:hover {
        margin: -30px !important;
    }
    #whyFujifilm>img {
        width: 40%;
    }
}

@media screen and (max-width: 895px) {
    .worksphere-header-sticky {
        position: unset;
    }
    .worksphere-header-sticky+.worksphere-spacer {
        padding-top: 0;
    }
    .worksphere-parallax-overlay {
        width: 70%;
    }
    #worksphere-header {
        min-height: 50vh;
        background-position-y: -20vh;
    }
}

@media screen and (max-width: 767px) {
    .m-btn {
        display: flex !important;
    }
    .worksphere-section-solution-small .m-btn {
        justify-content: center;
    }
    .m-slider__item {
        display: flex !important;
        flex-direction: column;
    }
    .m-slider__item>img {
        max-height: 40vh;
        align-self: center;
    }
    .worksphere-section-solution .worksphere-section-solution-image {
        width: 100%;
        max-height: 40vh;
    }
    .worksphere-section-solution .worksphere-section-solution-image video {
        max-height: 40vh;
    }
    .worksphere-section-solution {
        max-height: unset;
    }
    .row>.col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .worksphere-icon-card .m-card__thumb {
        height: auto;
    }
    .worksphere-icon-card img {
        margin: -30px -30px -30px -30px;
        width: 40% !important;
    }
    .worksphere-icon-card:hover img {
        width: 40% !important;
    }
    .worksphere-hover-image {
        display: inline-block;
        margin: 0 !important;
    }
    .worksphere-hover-image:hover {
        margin: 0 !important;
    }
    .worksphere-hover-wrapper {
        text-align: center;
    }
    .worksphere-hover-image img {
        max-height: 40vh;
    }
    .worksphere-icon-container img {
        width: auto;
        max-height: 40vh;
    }
    .worksphere-icon-container:hover {
        margin: 0 !important;
    }
    #whyFujifilm>img {
        width: 60%;
    }
    #whyFujifilmText {
        background: rgba(255, 255, 255, 0.5);
    }
}

@media screen and (max-width: 499px) {
    .workspherePopupCards>div {
        display: unset;
    }
    .workspherePopupCards>div>img {
        max-height: unset;
    }
}