
#dialogbg {
    width: 100%;
    height: 100%;
    z-index: 950;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    background-image: url('../img/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
}

#dialog {
    background-color: #EEEEEE;
    width: auto;
    height: auto;
    z-index: 960;
    position: fixed;
    left: 50%;
    margin-left: -25%;
    display: none;
    margin-top: 100px;
    border-radius: 5px;
    max-height: calc(100% - 200px);
    overflow: auto;

}

#dialog > #header {
    height: 50px;
    width: 100%;

    float: left;
    background: #ef7f02 url("../images/bot_bg.png") repeat-x;
}



#header a{
    padding: 0 16px 0 16px;
    line-height: 50px;
    margin: 0;
    color: #FFF;
    float: left;
    text-decoration: none;
    cursor: pointer;
}

#header a > img {
    vertical-align:middle;
    display: inline;

}

#header a > span {
    padding-left: 14px;
}

#header .line{
    float: left;
    width: 1px;
    height: 50px;
    background-color: #ee8d21;
    border-right: 1px solid #eca14c;
}

#header > #left {
    float: left;
}

#header > #right {
    float: right;
}



#dialog > #dialogContent {
    width: calc(100% - 50px);
    height: 100%;
    float: left;
    padding: 25px;


}



#dialog > #dialogContent header{
    width: calc(100% - 2px);
    height: 36px;
    float: left;
    border: 1px solid #CDCDCD;
    background-color: #EFEFEF;
}

#dialog > #dialogContent header > .icon{
    width: 36px;
    height: 36px;
    line-height: 36px;
    float: left;
    text-align: center;
    border-right: 1px solid #CDCDCD;
}

#dialog > #dialogContent header > .icon > img{
    vertical-align: middle;
}

#dialog > #dialogContent header > .title{
    font-size: 13px;
    font-weight: bold;
    font-style: italic;
    line-height: 36px;
    float: left;
    padding: 0 5px 0 16px;
    width: calc(100% - 58px);
}

#dialog > #dialogContent header > .title > .buttons{
    float: right;
    height: 36px;
}

#dialog > #dialogContent header > .title > .buttons > button{
    width: 198px;
    height: 25px;
    background: none;
    border: 0;
    border: 1px solid #52A552;
    border-bottom: 1px solid #448944;
    text-shadow: 0px -1px rgba(1,1,1, 0.3);
    background-color: #5BB75B;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    float: left;
    margin-top: 5px;
}
#dialog > #dialogContent header > .title > .buttons > button img{
    vertical-align: middle;
}

#dialog > #dialogContent  .content{
    width: calc(100% - 2px);
    margin-top: -1px;
    float: left;
    border: 1px solid #CDCDCD;
    background-color: #F9F9F9;
    margin-bottom: 25px;
}

#dialog > #dialogContent .left{
    width: calc(50% - 1px);
    border-right: 0;
}

#dialog > #dialogContent .right{
    width: calc(50% - 1px);
    border-left: 0;
}

#dialog > #dialogContent  form > div div {

    line-height: 47px;
    width: 100%;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
}

#dialog > #dialogContent  form > div > div > div:first-child {
    border-top: none;
}

#dialog > #dialogContent  form > div div:last-child {
    border-bottom: none;
}

#dialog > #dialogContent label {
    width: 170px;
    padding-right: 20px;
    line-height: 40px;
    text-align: right;
    float: left;
}

#dialog > #dialogContent  form > div div select {
    width: 238px;
}

#dialog > #dialogContent  form  button {
    width: 100%;
    height: 36px;
    background: none;
    border: 0;
    border: 1px solid #52A552;
    border-bottom: 1px solid #448944;
    text-shadow: 0px -1px rgba(1,1,1, 0.3);
    background-color: #5BB75B;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    float: left;

}


#dialog > #dialogContent input[type=text], #dialog > #dialogContent  > div  textarea, #dialog > #dialogContent input[type=password] {

    background-color: #FFFFFF;
    bordert: 1px solid #cccccc;

    width: 325px;
}