#orderPopupDiv
{
    height: 100%;
    text-align: center;
}

#orderPopupTitleDiv
{
    height: 5%;
    width: 100%;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 2rem;
}

.tagInfostring
{
    height: 5%;
    width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 1.5rem;
    overflow: hidden;
}

#orderPopupContent
{
    width: 100%;
    height: 82%;
    color: #FFFFFF;
}

#orderPopupImage
{
}

#orderPopupImage>img
{
    /*float: left;*/
    border: 0.1rem solid white;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    /*-box-shadow: 0.1rem 0.1rem 0.07rem #999999;
    -webkit-box-shadow: 0.1rem 0.1rem 0.07rem #999999;
    -moz-box-shadow: 0.1rem 0.1rem 0.07rem #999999;*/
}

#orderPopupImage>p
{
    margin: 0;
    padding: 0;
}

/*#orderPopupImage>div
{
    height: 90%;
    border: 0.1rem solid white;
    border-radius: 5%;
    -webkit-border-radius: 5%;
    -moz-border-radius: 5%;
    -box-shadow: 0.1rem 0.1rem 0.07rem #999999;
    -webkit-box-shadow: 0.1rem 0.1rem 0.07rem #999999;
    -moz-box-shadow: 0.1rem 0.1rem 0.07rem #999999;
}*/

#orderPopupTextWrapper
{
    border: 0.1rem solid #FFFFFF;
    border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
}

#orderPopupText
{
    width: 100%;
    /*margin: 0 auto;*/
    height: 100%;
    z-index: 1;
    padding: 0.5rem;
    white-space: inherit;
    /*display: flex;
    flex-wrap: wrap;*/
}

.ingredientTitle
{
    font-size: 2rem;
    text-align: center !important;
}

#ingredientWrapper
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.orderPopupIngredient
{
    flex-basis: 49%;
    flex-shrink: 0;
    flex-grow: 0;
    margin-bottom: 2rem;
    border: 0.1rem solid #fff;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

#orderPopupText>div
{
    /*height: 50%;
    flex-basis: 50%;
    margin: 1%;
    flex-shrink: 0;
    flex-grow: 0;
    /*margin-bottom: 2rem;
    float: left;
    width: 50%;*/
}

#orderPopupText>p
{
    padding: 0;
    margin: 0;
    word-break: break-word;
    text-align: left;
    width: 100%;
}

#orderPopupText a:link, #orderPopupText a:hover, #orderPopupText a:visited
{
    color: #ccffff;
}

/*#orderPopupText img
{
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}*/

#orderPopupButtonRow
{
    height: 8%;
    padding-top: 0.5rem;
    text-align: right;
    width: 99%;
}

#orderPopupButtonRow>div
{
    display: inline-block;
}
/*
#orderPopupButtonRow>div
{
    display: table;
    width: 100%;
}

#orderPopupButtonRow>div>div
{
    display: table-row;
    width: 100%;
}

#orderPopupButtonRow>div>div>div
{
    display: table-cell;
    width: 30%;
}*/

.orderPopupButtons>div
{
    display: inline-block;
    min-width: 5rem;
    font-size: 3rem;
}

.orderPopupButtonsInc>div
{
    display: inline-block;
    min-width: 5rem;
    font-size: 3rem;
}

.orderPopupButtons>div>p, .orderPopupButtonsInc>div>p
{
    padding: 0;
    margin: 0;
}

@media only all and (orientation: portrait)
{
    #orderPopupImage
    {
        height: 30%;
        width: 99%;
        margin: 0 auto;
    }

    #orderPopupImage>img
    {
        max-height: 95%;
        max-width: 95%;
        height: auto;
        width: auto;
    }

    .orderPopupButtons
    {
        width: 99%;
        margin: 0 auto;
        height: 10%;
    }

    .orderPopupButtonsInc
    {
        width: 99%;
        margin: 0 auto;
    }

    #orderPopupTextWrapper
    {
        height: 60%;
        width: 99%;
        margin: 0 auto;
    }
}

@media only all and (orientation: landscape)
{
    #orderPopupContent
    {
        height: 80%;
        position: relative;
    }

    #orderPopupImage
    {
        height: 90%;
        width: 48%;
        float: left;
    }

    .orderPopupButtons
    {
        position: absolute;
        bottom: 0;
        left: 65%;
    }

    #orderPopupImage>img
    {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
    }

    #orderPopupTextWrapper
    {
        height: calc(90% - 2rem);
        width: 48%;
        margin-left: 1%;
        float: left;
    }

    #orderPopupButtonRow
    {
        height: 10%;
    }
}

.ingredientimage
{
    width: 100%;
    height: 50%;
    text-align: center;
    position: relative;
    display: none;
}