/** DO NOT MODIFY THIS FILE. All code here are generated by MachForm Theme Editor **/

#main_body h1 a
{
background-image: url('https://www.fed.cuhk.edu.hk/pgt/images/utility/logo/CUHK-PGT-Logo-for-webform.png');
height: 80px;
}

html
{
background-color: #f7f5ff;
background-image: none;
}

#main_body h1
{
background-color: #d9d2e9;
background-image: none;
}

#form_container
{
background-color: #ffffff;
border-width: 0px;
border-style: solid;
border-color: #CCCCCC;
}

#main_body form li.highlighted,#main_body .matrix tbody tr:hover td,#machform_review_table tr.alt
{
background-color: transparent;
}

#main_body form .guidelines
{
background-color: #faffa1;
border-width: 1px;
border-style: solid;
border-color: #cccccc;
}

#main_body form .guidelines small
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 100%;
color: #444444;
}

#main_body input.text,#main_body input.file,#main_body textarea.textarea,#main_body select.select,#main_body input.checkbox,#main_body input.radio
{
background-color: transparent;
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 110%;
color: #666666;
}

#machform_review_table td.mf_review_value
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 110%;
color: #444444;
}

#main_body .form_description h2,#main_body .form_success h2
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 240%;
color: #444444;
}

#main_body .form_description p,#main_body form ul.payment_list_items li
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 110%;
color: #444444;
}

#main_body form li span.ap_tp_text
{
color: #444444;
}

#main_body form li label.description,#main_body form li span.description,#main_body .matrix caption,#main_body .matrix td.first_col,#main_body form li.total_payment span,#machform_review_table td.mf_review_label
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 130%;
color: #444444;
}

#main_body form li span label,#main_body label.choice,#main_body .matrix th,#main_body form li span.symbol,.mf_sigpad_clear,#main_body form li div label,#main_body form li div span.label
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
color: #444444;
}

#main_body form .section_break h3,#main_body form .media h3,#machform_review_table td .mf_section_title
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 140%;
color: #444444;
}

#main_body form .section_break p,#main_body form .media p,#machform_review_table td .mf_section_content
{
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 110%;
color: #444444;
}

#main_body form li.section_break
{
border-top-width: 1px;
border-top-style: dotted;
border-top-color: #CCCCCC;
}



/** Advanced CSS **/

#form_container{
  border-radius:0;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  width: min(850px, calc(100vw - 62px));
  overflow-wrap: break-word;
}

#main_body h1{
  border-radius:0;
}

#main_body h1 a{
    height: min(80px, calc(100vw*0.14));
    background-size: min(100vw, 600px);
}

#main_body input.text{
    border: 1px solid #ccc;
    border-radius: 0px;
    box-shadow: 0 0 0 0;
    padding: 6px;
    color: #666666;
    margin: 0.5em;
}

#main_body input.text:focus {
  box-shadow: 0 0 5px rgba(160, 68, 160, 1);
  //border: 1px solid rgba(160, 68, 160, 1);
}

#main_body .form_description p, #main_body form ul.payment_list_items li{
    padding:5px;
}

#main_body form > ul li, #main_body form > ul li.section_break {
  margin-bottom: 0.5rem;
}

#main_body .form_description li {
    display: list-item;
}

#main_body .confirm_email_label {
  margin-top: 0.5rem !important;
}

#main_body label.choice {
  font-size: 0.95rem;
}

.mf_review_section_break{
  background: #efefef;
}

.bg_purple{
  background:#d9d2e9;
}
.bg_grey{
  background:#fafafa;
  border:1px solid #ddd;
  font-size: 11px;
}