#topLayer, .topLayer
{
    width: 361px;
    float: left;
    clear: both;
}

#popup_top
{
    width: 361px;
    height: 14px;
    background: url('../images/popup/bak_popup_top.png') no-repeat;
    float: left;
}
#popup_btm
{
    width: 361px;
    height: 12px;
    background: url('../images/popup/bak_popup_btm.png') no-repeat;
    float: left;
}
#popup_body, .popup_body
{
    width: 361px;
    padding-bottom: 10px;
    font-size: 11px;
    background: url('../images/popup/bak_popup.png') repeat-y;
    float: left;
}

#popup_header
{
    padding: 0 20px 0 10px;
    clear: right;
    text-align: left;
}
#popup_lheader
{
    font-size: 13px;
    font-weight: bold;
    color: #388E91;
}
#popup_rheader
{
    float: right;
}
#popup_close
{
    float: right;
    margin: 0px 20px 0 0;
}

#popup_content, .popup_content
{
    padding: 10px 20px 10px 10px;
    float: left;
    text-align: left;
}
.right
{
    float: right;
}
.dotted_line
{
    border-bottom: 1px dotted #999999;
}
#popup_content p
{
    padding-bottom: 10px;
}
#popup_content a
{
    color: #388E91;
}
#popup_content img
{
    vertical-align: middle;
}
#popup_content input, #popup_content textarea
{
    font-size: 11px;
}
#popup_content textarea
{
    vertical-align: top;
}

#album_group
{
    padding-bottom: 2px;
}

#popup_error
{
    color: #cc0000;
    padding-bottom: 10px;
}
#popup_progress
{
    width: 340px;
    font-weight: bold;
    text-align: center;
}

/* CSS required for popups to work */
#popup, #popup_CreateNewAlbum, #popup_DeleteAlbum, #popup_DeleteContact, #popup_LoadingCardImages, #popup_DeleteSelectedContacts, #popup_DeleteCard, #popup_UploadImages, #popup_CopyMoveImagesToAlbum, #popup_UpdateAlbumName
{
    width: 300px;
    top: 0px;
    left: 0px;
    visibility: hidden;
    position: absolute;
    z-index: 3;
}
#bottomLayer
{
    top: 0px;
    left: 0px;
    width: auto;
    height: auto;
    background: url(../images/popup/bottom_layer_tiler.gif);
    position: absolute;
    visibility: hidden;
    z-index: 2;
}

body:after
{
    content: url(/images/popup/bottom_layer_tiler.gif) url(/images/popup/bak_popup_top.png) url(/images/popup/bak_popup.png) url(/images/popup/bak_popup_btm.png);
    display: none;
}

.modalBackground
{
    background: url("../images/popup/bottom_layer_tiler.gif") repeat;
}

.popup_control_btns
{
    text-align: center;
}

