.mainWindowContainer
{
    position: absolute;
    display: none;
    border: 1px #000 solid;
    -webkit-box-shadow: 12px 10px 8px -3px rgba(0,0,0,0.49);
    -moz-box-shadow: 12px 10px 8px -3px rgba(0,0,0,0.49);
    box-shadow: 12px 10px 8px -3px rgba(0,0,0,0.49);
    z-index: 99999999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgba(255,255,255,1);
    padding: 4px;
    clear: both;
    min-width: 300px;
}

.mainWindowTransparentBackground
{

    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
}

.mainWindowBar
{
    position: relative;
    padding: 0px;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 30px;
}

.mainWindowBarTitle
{
    position: relative;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-family: Arial;
    font-weight: bold;
    color: #000;
    font-size: 15px;
    width: 100%;
}

.mainWindowBarHelp
{
    position: absolute;
    top: -4px;
    right: 40px;
    height: 90%;
    width: 30px;
    cursor: pointer;
    text-align: center;
}

.mainWindowBarHelp img
{
    height: 90%;
}

.mainWindowBarHelp img:hover
{
    background-color: #324a5f;
}

.mainWindowBarCloseDynamic
{
    position: absolute;
    right: -10px;
    top: -10px;
    margin-top: -1px;
    margin-right: 3px;
    height: 38px;
    width: 38px;
    cursor: pointer;
    text-align: center;
    z-index: 999;
    /*background-color: #cf4c36;*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.mainWindowBarClose
{
    position: absolute;
    right: -4px;
    top: 4px;
    margin-top: -1px;
    margin-right: 3px;
    height: 25px;
    width: 25px;
    padding: 2px 5px 4px 5px;
    /*background-color: #cf4c36;
    border: 1px #000 solid;*/
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
}

.mainWindowBarClose:hover{
    background-color: #ededed;
}

.mainWindowBarClose img, .mainWindowBarCloseDynamic img
{
    margin: 0px auto;
    width: 15px;
    height: 15px;
}

.mainWindowBody
{
    position: relative;
    width: 100%;
    color: #000000;
    font-family: Arial;
    background-color: #ffffff;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    overflow-y: auto;

    min-height: 200px;
}

.mainWindowEditorMenu
{
    width: 100%;
    min-height: 30px;
    padding: 0px 3px;
    background-color: #c9c9c9;
    border-bottom: 1px #333333 solid;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mainWindowEditorMenu img
{
    float: left;
}

.mainWindowEditorMenu img:hover
{
    background-color: #7e7e7e;
    cursor: pointer;
}

.mainWindowEditorBody
{
    position: relative;
    display: inline-block;
    width: 100%;
    min-height: inherit;
    height: inherit;
    padding: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-X: hidden;
}

.mainWindowEditorBody table{
    width: 100%;
    font-size: 1em;
}

#mainWindowYes
{
    border: 1px #000 solid;
    padding: 5px 9px;
    background-color: #699c04;
    color: #ffffff;
    font-weight: bold;
    font-family: Arial;
    cursor: pointer;
}

#mainWindowYes:hover
{
    background-color: #456603;
}

#mainWindowNo
{
    border: 1px #000 solid;
    padding: 5px 9px;
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    font-family: Arial;
    cursor: pointer;
}

#mainWindowNo:hover
{
    background-color: #cb0202;
}

/* Messages */

#mainMessagesContainer{

    position: fixed;
    top: 40px;
    right: 2px;
    padding: 4px;
    width: 100%;
    max-width: 300px;
    z-index: 999999999999999999;

}

#mainMessagesContainer .message{

    background-color: #2e2e2e;
    color: #fff;
    border: 1px #666 solid;
    width: 100%;
    padding: 8px 8px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    min-height: 40px;

}

#mainMessagesContainer .message:not(first-child){
    margin-top: 5px;
}



