/* clPopup */
#popupWrapper
{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 78%; /* 470px */
    overflow: hidden;        
}

.popup 
{ 
    font-size: 1.2rem;
    color:#FFF; 
    border: 0.1rem solid #A6A6A6;     
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647; /* absolute maximum */
    pointer-events: auto;
    
    border-radius: 0.25rem !important;
    -moz-border-radius: 0.25rem !important;
    -webkit-border-radius: 0.25rem !important;
  
    background-color: #646464 !important;
    background-color: rgba(100, 100, 100, 0.7) !important;
    background: -webkit-gradient(linear, 0 100%, 0 0%, from(#323232), to(#646464)) !important;
    background: -webkit-gradient(linear, 0 100%, 0 0%, from(rgba(50, 50, 50, 0.95)), to(rgba(100, 100, 100, 0.95))) !important;
}

#xClosesPopup
{
    position: absolute;
    background-color: red;
    font-size: 2rem;
    border-color: white;
    border: 0.1rem solid;
    top: 0%;
    left: 96%;
    width: 2rem;
    margin: 0;
    padding: 0;
    text-align: center;
    display: block; 
    cursor: pointer;
}

.popupDivCentered, .popupDivFloat1, .popupDivFloat2
{
    text-align: center;
}

.popupDivFloat1, .popupDivFloat2
{
    width:      50%;
}

.popupDivFloat1
{
    float:      left;
}

.popupDivFloat2 /*right*/
{
    float:      right;
}

.popupTitleDiv
{
    height:         5%;
    width:          100%;
    text-align:     center;
}

.popupTitle 
{ 
    color:      #FFF; 
    font-weight:bold; 
    height:     100%; 
    width:      100%;
    
    font-size:  2rem;
}

.popupHTMLText
{
    font-size:      1.2rem; 
    width:          99%;
    margin:         0 auto;
    height:         85%;
    text-align:     center;
}

.popupButtonArea
{
    height: 10%;
}

/* Obsolete! */
.popupCloseButton 
{
    background:#FFF; 
    color:#000; 
    font-weight:bold; 
    cursor:pointer; 
    display:block; 
    text-align:center; 
    position:absolute;
    height: 2rem; 
    width: 2rem; 
    right: 0.1rem; 
    top: 0.1rem; 
    bottom: 0.4rem; 
}

.popupCloseButton:hover
{
    background-color: #555;
}

/* Copy from .glassButton */
.popupButton
{
    text-align:center;
    font-size: 1.4rem;
    font-weight:bold;
    padding: 1rem;    
    border: 0.1rem solid #FFFFFF;
    
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    border-radius: 0.3rem;
    
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    
    /* see .blueBackground */
    /* must be separate because otherwise it will use the precedence in common.css and not get displayed as desired */
    color: #FFFFFF /*!important*/;
    background-color: #2980b9 /*!important*/;
    background-image: none /*!important*/;
}

.popupButton
{
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(#AAAAAA), to(#000000));*/
}

.popupButton:hover, .popupButton:focus, .popupButton:active 
{
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

.popupButton:hover
{
    /*background: #555;*/
}

.popupEntryText 
{    
    font-size: 1.2rem; 
    font-weight:bold;
    color:#FFF;  
}

.popupEntryTextTitle
{    
    font-size: 1.2rem; 
    font-weight:bold;
    color:#FFF;  
}

/* Obsolete! */
.popupOverlay 
{ 
    background:#000; 
    position: absolute;
    top:0; 
    right:0; 
    bottom:0; 
    left:0;
    display: block;
    z-index: 1000;
    height: 100%;
    width: 100%;
}

/* TODO: move to separate .css files! */
.popupMenuExtraEntryText
{
    min-width: 100px;
    padding: 5px;
    margin: 5px;
    display: inline-block;
    color: #FFF;
    border:2px solid #F4E83C; 
    border-radius:8px; 
    -moz-border-radius:8px; 
    -webkit-border-radius:8px;  
}

.popupPayPalExpressDiv
{     
    font-size: 1.2rem;
    background: #FFFFFF;
    color: #000;
    border:1px solid #CCCCCC; 
    border-radius:8px; 
    -moz-border-radius:8px; 
    -webkit-border-radius:8px;    
    /*min-width: 20%;
    max-width: 50%; */
    /*width: 30%;*/
    width: 200px;
    height: 45px;    
    text-align: center;
    vertical-align: middle;
    cursor:pointer; 
    margin:30px auto 0 auto;
    padding: 4px;    
}

.popupPayPalDiv 
{     
    font-size: 1.2rem;
    background: #FFF;
    color: #000;
    border:1px solid #8EC9C7; 
    border-radius:8px; 
    -moz-border-radius:8px; 
    -webkit-border-radius:8px;    
    width: 30%;
    height: 45px;    
    text-align: center;
    vertical-align: middle;
    cursor:pointer; 
    margin:30px auto 0 auto;
    padding: 4px;
    float: left;
}

#nagScreenTable, #tagTable
{
    width: 100%; 
    text-align: center;
    font-size: 2rem; 
    color: #FFFFFF;
}