﻿body {
    position: relative;
    max-width: 1024px;
    width:100%;
    margin: auto;
    font-family: "times new roman", serif;
}

#header {
    position: absolute;
    width: 93.8%;
    top: 0;
    color: #ffffff;
    background-color: #FFFFFF;
    height: 140px;
}

#menu {
    position: absolute;
    top: 150px;
    left: 0;
    width: 20%;
}

#content {
    position: absolute;
    top: 150px;
    right: 0;
    text-align: center;
    width: 100%;
}

#footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #003366;
    color: #ffffff;
}


#main_content {
    position: absolute;
    top: 150px;
    right: 0;
    text-align: center;
    width: 100%;
    border: 1px solid #CCCCCC
}

#mainpage {
    background-image: url("../image/background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    width: 1024px;
    height: 768px;
}

#login {
    position: absolute;
    top: 150px;
    left: 280px;
    color: #FFF;
    height: 430px;
    width: 480px;
    background-color: #27568b;
    border: 1px solid #777;
    -moz-box-shadow: 0px 0px 25px gray;
    -webkit-box-shadow: 0px 0px 25px gray;
    box-shadow: 0px 0px 25px gray;
}

.specifyTextbox {
    width: 500px;
}

@media only screen and (max-width:600px){
    /*General*/
    html{
        padding:0;
        margin:0;
    }
    
    body{
        width:100%;
        min-width:500px;
    }

    .labelText{
        padding-left:0px !important;
    }

    /*AAUP*/
    #aaup_tbl{
        padding:0px 5px;
    }

    #aaup_tbl tr td{
        font-size:13px;
    }

    /*Survey*/
    #main_content{
        left:5px;
        top:100px;
        right:0;
    }

    #main_content div{
        padding: 5px !important;
    }

    /*Q07*/
    div#Q07 div .q07-radiobutton{
        float:left;
    }

    #myPanel3{
        float:left;
        width:100%;
    }

    /*Q16*/
    div#Q16 div {
        overflow: scroll;
    }

    /*Q20*/
    div#Q20 table#q20-tbl{
        padding:0 !important;
    }

    .specifyTextbox{
        max-width:500px;
        width:auto;
    }
}
