@media screen and (min-width: 320px) and (max-width: 896px) and (orientation: landscape) {

    ._ama-please-rotate {
        /*display: flex;*/
    }

    .site-wrapper {
        /*display: none;*/
    }
}

/*
 * iPad and Up
 */
@media only screen
and (min-height: 768px)
and (orientation: portrait) {

    ._ama-order-wrapper {
        width: 400px;
        margin: 0 auto;
    }

    ._ama-order-qr-code {
        max-width: 250px;
    }

    ._ama-slider-image {
        max-height: 70%;
        max-width: 60%;
    }
}

/*
 * iPad and Up
 */
@media only screen
and (min-height: 768px)
and (orientation: landscape) {

    ._ama-order-wrapper {
        width: 400px;
        margin: 0 auto;
    }

    ._ama-order-qr-code {
        max-width: 250px;
    }

    ._ama-slider-image {
        max-height: 70%;
        max-width: 28%;
    }
}

/*
 * iPhone 8+
 */
@media only screen
and (max-height: 736px)
and (orientation: portrait) {

    ._ama-slider-image {
        max-height: 420px;
    }
}

/*
 * iPhone 8
 */
@media only screen
and (max-height: 667px)
and (orientation: portrait) {

    ._ama-slider-image {
        max-height: 330px;
    }

    [data-showineditmode="true"] img {
        height: 40px !important;
        width: 40px !important;
    }
}

/*
 * iPhone 5
 */
@media only screen
and (max-height: 568px)
and (orientation: portrait) {

    ._ama-guide-title-placed {
        font-size: 18px;
    }

    ._ama-slider-image {
        max-height: 230px;
    }

    .change-image-image {
        max-height: 75px !important;
    }

    [data-showineditmode="true"] img {
        height: 40px !important;
        width: 40px !important;
    }
}


/*
 * iPhone 5
 */
@media only screen
and (max-height: 568px)
and (orientation: landscape) {

    ._ama-please-rotate div {
        font-size: 25px;
    }
}