
/*** Resources ************************************************************************/

div.resources
{
    position: absolute;
    top: 0px; left: -9998px;
}

div.template
{
    display: none;
}


/*** DropDown ************************************************************************/

select.replaced
{
    position: absolute;
    left: -9998px;
}

div.dropDown
{
    display: block;
    position: relative;
    
    cursor: default;
    padding-top: 1px;
}

div.dropDown span
{
    border: 1px solid #000;
    background: #fff;
    
    display: block;
}

div.dropDown ul
{
    position: absolute;
    left: 0; top: 100%;
    width: 100%;
    display: none;
    list-style: none;

    border: 1px solid #000;
    background: #fff;
}

div.dropDown ul li
{
    display: block;
    padding: 2px;
}

div.dropDown.dropped ul
{
    display: block;
}


/*** Popup ****************************************************************************/

div.popup
{
    background: #fff;
    display: none;
    position: absolute;

    border: solid 20px #fff;
    background: #fff url(Images/Backgrounds/PopupBg.gif) repeat-x scroll left top;
    
    padding: 0 5px;
}

div.popupContainer
{
    overflow: visible;
    background: transparent;
    text-align: left;
    
    width: 100%; height: 100%;
    
    position: absolute;
    z-index: 100;
    
    left: 0px; top: 0px;
    
    margin: 0px;
    display: none;
}

div.popup h1
{
    display: block;
    
    color: #008caa;
    font: normal 36px Georgia, Serif;
    text-align: center;

    margin: 0; padding: 10px 0px 0px 0px;
    height: auto; width: auto;

    background: transparent;
}

div.popup p
{
    padding: 10px 0px 0px 0px;
}

div.popup span.buttons
{
    display: block;
    text-align: center;
    padding-top: 10px;
}

div.popup ul.tabs
{
    display: block;
    text-align: left;
    padding-top: 10px;
    height: 39px;
}

div.popup .tabPanel
{
    margin-top: 2px;
    border-top: solid 2px #d0d0d0;
    padding-top: 10px;
}

div.popup form.generic fieldset
{
    margin-bottom: 20px;
}

div.popup form.generic dl
{
    display: block;
}

div.popup form.generic dl dd
{
    display: block;
    float: left;
    width: 200px;
    vertical-align: top;
    padding: 12px;
}

div.popup form.generic dl dd span.remarks
{
    color: #ccc;
}

div.popup form.generic dl dt
{
    display: block;
    float: left;
    width: 400px;
    padding: 5px;
}

div.popup form.generic dl dt label
{
    padding: 6px 0px 0px 0px;
    display: block;
}



/*** LoadingControl *******************************************************************/

div.tplLoadingControl
{
    display: none; 
    width: 160px;
    height: 70px;
    margin-left: -80px; margin-top: -35px; 
    
    position: absolute; 
    top: 50%; left: 50%; 
    text-align: center;
}

div.tplLoadingControl div.loading
{
    width: 160px;
    height: 70px;
    background: transparent url(Images/Loading.gif) no-repeat scroll left top;    
}

div.tplGlobalLoading
{
    width: 200px;
    height: 160px;
}



/*** ClickEditor **********************************************************************/

.clickEditorHover
{
    color: #999;
}

input.clickEditorInput
{
}

textarea.clickEditorInput
{
}



/*** MenuBar **************************************************************************/

.menuBar
{
    display: block;
    height: 45px;
    padding-top: 5px;
    
    background: #fff url(Images/Backgrounds/MenuBarBg.gif) repeat-x scroll left top;
    border-bottom: solid 5px #eee;
    vertical-align: middle;
}

.menuBar ul
{
    display: inline;
    vertical-align: middle;
}

.menuBar ul li
{
    display: inline;
    margin: 0 10px;
    line-height: 42px;
}

.menuBar ul li a
{
    color: #424242;
}

.menuBar ul li a
{
    display: inline-block;
    line-height: 22px;
    color: #424242;
    text-decoration: none;
    padding: 10px; 
}

.menuBar ul li a:hover
{
    border: solid 2px #d0d0d0;
    background: #fff;
    padding: 8px;
}




/*** MultiEdit ************************************************************************/

.multiedit
{
    position: relative;
    background: #fffff8;
    width: 590px; height: 190px;

    border: solid 2px #d0d0d0;
    padding: 5px;
    margin-top: 10px;

    overflow: auto;
}

.multiedit ul
{
    padding-bottom: 5px;
}

.multiedit ul li
{
    position: relative;
    display: block;
    list-style: none;
    
    padding: 5px 12px;
    height: 38px;
    line-height: 38px;
    
    border: none;
    
    cursor: pointer;
}

.multiedit ul li:hover
{
    background: #fff;
    border: solid 2px #e0e0e0;
    padding: 3px 10px;
}

.multiedit ul li a.edit
{
    display: block;
    color: #424242;
    text-decoration: none;
    height: 38px;
}

.multiedit ul li a.edit span
{
    display: block;
    float: left;
    width: 200px; height: 38px;
    padding-right: 10px;
    line-height: 38px;
    
    cursor: pointer;
}

.multiedit ul li a.add
{
    display: block;
    color: #999;
    text-decoration: none;
    
    cursor: pointer;
}

.multiedit ul li span.options
{
    visibility: hidden;
    position: absolute;
    
    right: 10px;
    top: 3px;
    
    height: 36px;
    line-height: 36px;
    vertical-align: middle;
}

.multiedit ul li:hover span.options
{
    visibility: visible;
}

.multiedit ul li:hover span.options a
{
    color: #008caa;
    padding: 0 5px;
}

.multiedit ul li:hover span.options span
{
    color: #ddd;
    padding: 0 5px;
}

.multiedit ul li:hover span.options a:hover
{
    color: #67b6c7;
}

.multiedit ul li form fieldset
{
    position: relative;
    left: -5px;
    top: 2px;
}

.multiedit ul li form input
{
    display: block;
    float: left;
    width: 180px;
    margin-right: 10px;    
}

.multiedit ul li form span.buttons
{
    position: absolute;
    padding: 0;
    right: 2px;
    top: 2px;
}

.multiedit ul li:hover form span.buttons
{
    right: 0px; top: 0px;
}