html, body, form {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: verdana, sans-serif;
    font-size: 12px;
    background-color: #f6f6f6;
}

label {
    padding-top: 4px;
    display: inline-block;
    width: 100px;
    margin: 4px;
    margin-left: 3%;
}

input, select, textarea {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#divHead {
    padding-left: 4px;
    padding-top: 4px;
    height: 42px;
    background: -moz-linear-gradient(top, #ffffff 4%, #dadada 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(4%,#ffffff), color-stop(100%,#dadada));
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dadada',GradientType=0 );
}

#divDomainDialog, #divSystemDialog, #divUserDialog {
    width: 94%;
    max-width: 480px;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #fff;
    border: 2px solid #333;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
    -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
}

#divSystemDialog, #divUserDialog {
    width: 98%;
}

#divSubTitle {
    width: 98%;
    max-width: 350px;
    text-align: left;
    padding-left: 10px;
}

#progressContainer {
    height: 8px; 
    border: 1px solid #333; 
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

#progressDiv {
    width: 0; 
    height: 8px; 
    background-color: #698aab;
    background: -moz-linear-gradient(top, #698aab 4%, #8aa4bd 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(4%,#698aab), color-stop(100%,#8aa4bd));
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#698aab', endColorstr='#8aa4bd',GradientType=0 );
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#messageDiv {
    width: 98%;
    max-width: 350px;
    text-align: left;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 11px;
}

.header {
    background-color: #081830;
    text-shadow: #002244 2px 1px 0;
    height: 24px;
    font-size: 12px;
}

#rowTitle {
    padding-left:8px;
    line-height: 24px;
    color: White;
}

#lblMessage {
    line-height: 28px;
}

.txtbox {
    padding-left: 4px;
    box-sizing: border-box;
    width: 94%;
    margin-left: 3%;    
    margin-right: 3%;
    max-width: 320px;
    font-family: verdana, sans-serif;
    font-size: 16px;
    border: 1px solid #3d556c;
}

.sel {
    padding-left: 4px;
    box-sizing: border-box;
    width: 94%;
    margin-left: 3%;    
    margin-right: 3%;
    max-width: 324px;
    font-family: verdana, sans-serif;
    font-size: 16px;
    border: 1px solid #3d556c;
}

#imgCaptcha {
    margin-top: 4px;
    margin-bottom: -4px;
    box-sizing: border-box;
    width: 94%;
    margin-left: 3%;    
    margin-right: 3%;
    max-width: 320px;
    border: 1px solid #3d556c;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

@media screen and (max-width: 500px) {
	.txtbox, .sel, #imgCaptcha {
		max-width: 94%;
	}
}

#lblAccept {
    display:inline;
    margin: 0;
    text-decoration:underline;
    cursor: pointer;
    margin-left: 2%;
}

.tdSubmit {
    text-align: right;
    margin: 13px 23px;
}

#btnSubmit, #btnInstall {
    background-color: #246;
    border: 1px solid #000;
    color: #fff;
    padding: 3px 6px;
}

#btnCancel {
    background-color: #fff;
    border: 1px solid #000;
    color: #246;
    padding: 3px 6px;
}

#btnSubmit:hover, #btnSubmit:focus, #btnInstall:hover, #btnInstall:focus {
    background-color: #2a70b8;
}

@media (orientation: portrait) {
    #divDomainDialog, #divSystemDialog, #divUserDialog {
        box-sizing: border-box;
        width: 100%;
        height: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #f6f6f6;
        border: 2px solid #333;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
}