/*version 1.0.1*/
/*sizing and responsive behavior of OOBE host frames for illustrations and controls*/
/*Default Sizing*/
.main {
    padding: 5%;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.Container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: calc(100% - 104px); /*48px taskbar + 4px padding x 2 for top and bottom*/
    max-width: 1200px; /*default dimensions dubbed 1x scale - for most clamshell*/
    max-height: 760px;
}

.Container.fullscreen, .Container.fullscreen.intro {
    animation: containerGrow 666ms cubic-bezier(0,0,0,1) forwards;
    animation-delay: 333ms;
}

.Container.fullscreen .content {
    animation: transparentBG 666ms cubic-bezier(0,0,0,1) forwards;
    box-shadow: none;
}
.Container.fullscreen .halfSection.graphic {
    animation: fadeOut 333ms cubic-bezier(0,0,0,1);
}
.Container.fullscreen .halfSection.graphic.collapsed {
    display: none;
    width: 0px;
    transition: all 999ms cubic-bezier(0,0,0,1);
}

.Container.fullscreen .halfSection.graphic.collapsed ~ .halfSection.controls {
    width: 100%;
    height: 100%;
    padding: 0;
    transition: all 999ms cubic-bezier(0,0,0,1);
}

.Container.fullscreen .footerview {
    width: 100%;
    z-index: 10000;
}

.Container.intro {
    animation: containerIntro 666ms cubic-bezier(0, 0, 0, 1);
}

.Container.intro .content .halfSection {
    animation: ContentFadeIn 1332ms linear;
}

.content {
    width: 100%;
    margin-bottom: 4px;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-flow: row;
    border-radius: 8px;
    box-shadow: 0px 7.2px 21.6px rgba(0,0,0,0.09),0px 38.4px 86.4px rgba(0,0,0,0.11);
}

.halfSection {
    width: calc(50% - 1px);
    height: 100%;
    position: relative;
    display: inline-block;
    margin: 0px;
}

.controls {
    padding: 40px;
    box-sizing: border-box;
}

.graphic {
    display: flex;
}

.graphic > div {
    align-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 40px;
}
@media only screen and (max-width: 1440px) and (orientation: landscape) {
    .Container {
        max-width: 1048px;
        max-height: 664px;
    }
}
/*When screen width is no less than 2560px(QHD) and height is no greater than 1354 ((1024+104)*1.2) container size*/
@media only screen and (min-width: 2560px) and (orientation: landscape) {
    .Container {
        max-width: 1600px;
        max-height: 1024px;
    }
}

/*When screen width is no less than 2560px(QHD) and height is no less than 1354 ((1024+104)*1.2) container size*/
@media only screen and (min-width: 2560px) and (min-height: 1354px) and (orientation: landscape) {
    .Container {
        max-width: 1600px;
        max-height: 1024px;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/*When screen width is between 1921px and  2559px container size*/
@media only screen and (min-width: 1921px) and (max-width: 2559px) and (orientation: landscape) {
    .Container {
        max-width: 1440px;
        max-height: 912px;
    }
}

@media only screen and (orientation: portrait) {

    .halfSection {
        width: 100%;
    }

    .halfSection.graphic {
        height: 35%;
    }

    .halfSection.controls {
        height: 65%;
        padding:40px 80px;
    }

    .halfSection:nth-child(1) {
        margin-top: -4px;
    }

    .Container {
        max-height: 1440px;
        max-width: 912px;
    }

    .helpertools {
        width: 100%;
    }

    .content {
        flex-flow: column;
    }
}

@media (-ms-high-contrast){
    .content {
        border: 1px solid Highlight;
    }
}

@keyframes containerGrow {
    to {
        max-width: 100vw;
        max-height: 100vh;
        width: calc(100% - 104px);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes transparentBG {
    to {
        background: rgba(255,255,255,0);
    }
}

@keyframes containerIntro {
    from {
        max-width: 100vw;
        max-height: 100vh;
        height: 100%;
        width: 100%;
        opacity: 1;
    }
}

@keyframes ContentFadeIn {
    0% {
        opacity: 0;
    }

    66% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
