﻿/*:root {
    --landscape-ticket-width: 820px;
    --portrait-ticket-width: 320px;
}*/

@media (orientation: landscape) {

    /*iframe*/
    /*.ovrly-lyr [data-role=close-icon] {
        min-width: var(--landscape-ticket-width);
    }*/
    /*iframe*/

    .ovrly-lyr [data-role=popup-container] table{
        width:500px;
    }
}

@media (orientation: portrait) {
    /*iframe*/
    /*.ovrly-lyr [data-role=close-icon] {
        min-width: auto;
    }*/
    /*iframe*/

    .ovrly-lyr [data-role=popup-container] table {
        width: 80%;
    }

    .ovrly-lyr{
        padding-bottom:70px;
    }
}

/*******************************/
/********** ovrly-lyr **********/
/*******************************/

.ovrly-lyr {
    flex-direction: column; /*iframe*/
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow: auto;
    z-index: 1041;
    padding: 20px;
}

.ovrly-lyr [data-role=close-icon] {
    /*padding: 20px;*/
}

.ovrly-lyr [data-role=close-icon] i {
    color: white;
}

.overlay-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/*************************************/
/********** order controls ***********/
/*************************************/

.submit-order {
    background-color: #007F0E;
    color: white;
    border-radius: 0.25rem;
    border: none;
    padding: 5px 0;
    width: 100%;
    font-size: 1.5rem;
    box-sizing: border-box;
}

/************************************/
/********** popup message ***********/
/************************************/

.ovrly-lyr [data-role=popup-container] {
    /*to be tested*/
    /*display: flex;*/
    justify-content: center;     
}

.ovrly-lyr .popup-header {
    background-color: white;
    color: #04AA6D;
    /*padding: 20px;*/
    border-radius: 0.5rem 0.5rem 0 0;
    text-align:center;
}

.ovrly-lyr .popup-content {
    background-color: #04AA6D;
    color: white;
    padding: 20px;
    border-radius: 0 0 0.5rem 0.5rem;
    text-align:center;
}

/***************************************/
/********** challenge iframe ***********/
/***************************************/

.embed-challenge {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

    .embed-challenge span {
        color: white;
        font-size: 30px;
        font-weight: bold;
        padding: 30px 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }



