/*
 * Copyright (c) 2018.  ZipoSoft, Inc - All Rights Reserved
 *
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 * Written by Anthony Corriveau <ac@ZipoSoft.com>  2018
 */

/* GRID */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.phframe_shelter {
}

.phframe_show {
    display: inline;
    animation: fadein 1.5s;
    -webkit-animation: fadein 1.5s;
}

.phframe_show {
    display: inline;
    animation: fadein .5s;
    -webkit-animation: fadein .5s;
}

.phframe_controls {

    position: absolute;

    font-size: calc(4vw + 4vh + 15px);
    color: white;

    z-index: 999;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.phframe_controls > div {
    cursor: pointer;
}

.phframe_hide {
    display: none;
    opacity: 0;
}

.phframe {
    /* height:auto; */
    display: inline-block;
    z-index: 0;
    overflow: hidden;
    border: 0px;
    padding: 0px;
    margin: 0px;
    background: white;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /* width:100vw; */
    max-width: 1200px;
}

.phframe > img {

    transition: opacity .1s ease-in-out;
    cursor: pointer;
}

@media screen and (orientation: portrait) {
    .phframe_controls {
        max-width: 1200px;
        width: 100vw;
        top: calc(40vw + 200px);

    }

    .phframe {

    }

    .phframe > img {
        height: auto;
        width: 100%;
    }
}

@media screen and (orientation: landscape) {
    .phframe_controls {
        max-width: 1200px;
        width: calc(100vh - 100px);
        top: calc(30vh + 100px);
    }

    .phframe {
        width: 1200px;
        /* max-height: 1200px; */
        max-width: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
    }

    .phframe > img {
        height: 100%;
        width: 100%;

    }
}

@keyframes slowfadein {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }

}

