@charset "utf-8";
/* CSS Document */

body {
     margin-left: auto;
     margin-right: auto;
     width:60vw;    /*IE ignores this.  Need to change .centerfix below. Can't delete this either to get centering work in non-IE*/

     font-family: Arial, Helvetica, sans-serif;
     font-size: 1vw;

     background-color: #FFFFFF;
 }
 .ie body {
     text-align: center;
 }

fieldset {
  margin-top:1.5vw;
}

p {
  margin-top:0;
  margin-bottom:1vw;
  text-align:justify;
}

a {
    color: #000000;
    text-decoration:none;
    cursor: pointer;
}
a:hover {
    text-decoration:underline;
}

a.dept_name{
   font-size:1.5vw;
}
a.uni_name{
   font-size:1.5vw;
}
table {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    border: 0vw;
}
td {
    vertical-align:top;
}

h1, h2, h3, h4 {
    font-family:Arial, Helvetica, sans-serif;
    /*font-family:Georgia, "Times New Roman", Times, serif;*/
}

h1 {
    font-size: 1.8vw;
    font-weight: normal;
    color: #dab018;
    text-shadow: 1px 1px 3px #DDDDDD;
}
h2 {
    font-size: 1.6vw;
    font-weight: normal;
    color: #ddbb58;
    text-shadow: 1px 1px 1px #DDDDDD;
}
h3 {
    font-size: 1.4vw;
    font-weight: normal;
    color: #dab018;
    text-shadow: 1px 1px 1px #FFFFFF;
}

h4 {
    font-size: 1.2vw;
    font-weight: normal;
    text-shadow: 1px 1px 1px #FFFFFF;
}
h5 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    font-weight: bold;
    text-shadow: 0.1vw 0.1vw 0.1vw #FFFFFF;
}

fieldset {
  border:2px solid #dddddd;
  border-radius:5px;
}

legend {
 color:#aaaaaa;
}

div.info1{
        clear:left;
        display:block;
	width:55vw;
        padding:0.3vw;
	border:0.1vw solid #dddddd; 
        background-color: #eeeeee;
}

div.verify{
  clear:left;
  display:block;
  padding:0.3vw; 
}

.box1, .datebox, .monthbox, .specifybox, .gpabox, .cardbox, img.verify, .divFile{
  border: 0.1vw solid #cccccc;
  padding: 0.5vw;
  background-color: #ffffff;
  border-radius:5px;
  margin:0.2vw;
  width:30vw;
}

img.verify{
  display:inline-block;
  vertical-align:middle;
  padding:0.3vw; 
  width:5vw;
}

select.box1{
   width:auto;
}
textarea.box1{
   width:95%;
   height:7vw;
}

.gpabox{
   width:3vw;
}

.cardbox{
   width:8vw;
}

.datebox{
   width:10.5vw;
}

.label1{
  margin:0.2vw;
  display:inline-block;
  width:20vw;
}

.label2{
  margin:0.2vw;
  display:inline-block;
  width:3vw;
}
.label3{
  margin:0.2vw;
  padding-bottom:0.5vw;
  display:inline-block;
  width:90%;
}

.header_items {
   font-size:2vw;
  font-weight: bold;
  float: left;
}
.header_icon {
  width:8vw;
  height:8vh;
  background-image: url('./images/CUHK-logo.gif');
  background-repeat:no-repeat;
  background-size:contain;

  float: left;
}
.header_icon2 {
  background-image: url('./images/cu_logo_4c_cmyk.jpg');
  background-repeat:no-repeat;
  height: 8vh;
  width: 8vw;
  float: left;
  margin-bottom: 0.5vw;
}
span.must1 {
   font-size:smaller;
   color:red;
}

span.spanbox{
  display:inline-block;
  margin-right:0.5vw;
}

button.button1, .button2{
  margin-left: 40%;
  background-color:#ccc;
  font-weight:normal;
  font-size:1vw;
  color:#000000;
  width:10vw;
  border-radius:2px;
  text-shadow:0px 1px 2px #999999;
  box-shadow: 0px 2px 10px #888888;
  -webkit-box-shadow: 0px 2px 5px 0px #888888;
  margin-bottom:5px;
  padding:5px;
}

button.button2{
  background-color:#ccc;
  font-weight:normal;
  font-size:1vw;
  color:#000000;
  width:10vw;
  border-radius:2px;
  text-shadow:0px 1px 2px #999999;
  box-shadow: 0px 2px 10px #888888;
  -webkit-box-shadow: 0px 2px 5px 0px #888888;
  padding:5px;
  margin-left:5px;
  vertical-align:middle;
}

/* -- Customize Checkbox -- */
/* Customize the label (the container) */
.chkcontainer {
  display: inline-block;
  position: relative;
  padding-left: 2vw;
  margin-left: 0vw;
  margin-right:2vw;
  margin-bottom: 1vw;
  cursor: pointer;
  font-size: 1vw;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.chkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.2vw;
  width: 1.2vw;
  background-color: #fff;
  border:1px solid #aaa;
}

/* On mouse-over, add a grey background color */
.chkcontainer:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkcontainer input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.chkcontainer input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.chkcontainer .checkmark:after {
  left: 0.4vw;
  top: 0vw;
  width: 0.35vw;
  height: 1vw;
  border: solid #333;
  border-width: 0 0.2vw 0.2vw 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* - Customized Radio - */
/* Customize the label (the radcontainer) */
.radcontainer {
  display: block;
  position: relative;
  padding-left: 2vw;
  margin-bottom: 1vw;
  cursor: pointer;
  font-size: 1vw;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0px;
  width: 0px;
}

input.specifybox {
   vertical-align:middle;
   margin-left:1vw;
   opacity: 100;
   width:5vw;
   height:0.6vw;
   border-radius:0px;
}

div.divspecify {
  visibility:hidden;
  padding:0;
  margin-top:-1vw;
  margin-left:2vw;
}
/* Create a custom radio button */
.radcheckmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.2vw;
  width: 1.2vw;
  background-color: #fff;
  border-radius: 50%;
  border:2px solid #aaa;
}

/* On mouse-over, add a grey background color */
.radcontainer:hover input ~ .radcheckmark {
  background-color: #eee;
}

/* When the radio button is checked, add a blue background */
.radcontainer input:checked ~ .radcheckmark {
  background-color: #bbb;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radcheckmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radcontainer input:checked ~ .radcheckmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
//.radcontainer .radcheckmark:after {
//  top: 9px;
//  left: 9px;
//  width: 8px;
//  height: 8px;
//  border-radius: 50%;
//  background: #bbb;
//}

div.divFile {
     display:inline-block;
     vertical-align:middle;
     cursor: pointer;
     cursor: hand;
     overflow:hidden;
     font-size:1vw;
     width:20vw;
     height:2vw;
}


@media only screen and (max-width:800px){
  body {
   width:100vw;
   font-size:2vw;
  }
 h5 {
  font-size:2.2vw;
 }
 h4 {
  font-size:2.4vw;
 }
 h3 {
  font-size:2.6vw;
 }
 h2 {
  font-size:2.7vw;
 }
 h1 {
  font-size:2.8vw;
 }
 p {
  font-size:2vw;
 }
 div.info1{
   width:100vw;
 }

  .box1{
    width:65vw;
    font-size:1.5vw;
  }
  select.box1{
   width:auto;
  }
  .datebox{
    width:70vw;
    font-size:1.5vw;
  }
a.dept_name{
   font-size:3vw;
}
a.uni_name{
   font-size:3vw;
}
.chkcontainer {
  font-size:1.5vw;
  padding-left:4vw;
}
.radcontainer {
  font-size:1.5vw;
  padding-left:4vw;
}
.label1{
  width:25vw;
}
.label2{
  width:5vw;
}
.radcheckmark{
  border:1px solid #aaa;
}
div.divspecify{
  font-size:1vw;
}
}

