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

#main_body h1 a
{
background-image: url('https://forms.cps.ca/images/form_resources/machform.png');
background-repeat: no-repeat;
height: 40px;
}

html
{
background-image: url('https://forms.cps.ca/images/form_resources/grey-mild.png');
background-repeat: repeat;
}

#main_body h1
{
background-color: #525252;
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: #FFF7C0;
}

#main_body form .guidelines
{
background-color: #F5F5F5;
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: 80%;
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: #FBFBFB;
font-family: 'Lucida Grande','Lucida Grande',Tahoma,Arial,sans-serif;
font-weight: 400;
font-style: normal;
font-size: 100%;
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: 100%;
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: 160%;
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: 95%;
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: 700;
font-style: normal;
font-size: 95%;
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: 110%;
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: 85%;
color: #444444;
}

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



/** Advanced CSS **/

.form_success {
    clear: both;
    width: 80%;
    margin: auto;
    padding: 3px 15px;
    text-align: center;
    background-color: #6AAF6A;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-top: 15px;
}

.form_success {
    clear: both;
    margin: auto;
    padding: 20px 0;
    text-align: center;
}

.form_success h2 {
    font-size: 110% !important; 
    color: #ffffff !important;
}

.form_success p a {
    color: #ffffff !important;
}

#main_body form li.section_break {
    padding-left: 0;
}

#main_body form li.no_top_border {
    border-top: none !important;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-top: 0;
    width: 97% !important;
    font-size: 105% !important;
}

#main_body form .section_break p, #machform_review_table td .mf_section_content {
    font-family: Tahoma, verdana, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 105% !important;
    color: #444444;
}

#main_body label.description, #main_body 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: Tahoma, verdana, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 95%;
    color: #444444;
}

#main_body form .section_break h3 {
    font-family: Tahoma, verdana, sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 120% !important;
    color: #444444;
}

#main_body form .section_break p {
   margin-top: 15px;
}

#main_body .buttons input {
    font-size: inherit !important;
    margin-right: 5px;
}

#main_body input.button_text {
    overflow: visible;
    width: auto;
    outline: none;
    padding: 6px 9px;
    font: 300 1em 'Helvetica Neue', Arial, 'Lucida Grande', sans-serif;
    color: #333;
    text-shadow: 0 1px 0 #f0f0f0;
    background: #ebebeb;
    background: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dddddd));
    background: -moz-linear-gradient(top, #fefefe, #dddddd);
    border-width: 1px;
    border-style: solid;
    border-color: #bbb #bbb #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 0 #f8f8f8;
    -moz-box-shadow: 0 1px 0 #f8f8f8;
    box-shadow: 0 1px 0 #f8f8f8;
}

#main_body form li {
    display: block;
    margin: 0;
    padding: 10px 0;
    position: relative;
    clear: both;
}

#main_body .buttons {
    clear: both;
    display: block;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* .uploadifive-button {
   margin-top: 10px !important;
} */

#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 {
    margin-bottom: 10px;
}


#error_message {
    background: #fff;
    border: none;
    margin-bottom: 1em;
    padding-left: 0;
    padding-right: 0;
    padding-top: 4px;
    text-align: left;
    width: 97%;
}

#error_message_desc {
    color: #000;
    font-size: 100%;
    margin: 1rem 0 .8em !important;
}

#main_body form li.error {
    background-color: #FFFFFF !important;
    border-bottom: none; 
    border-right: none;
    margin: 3px 0;
}

#error_message_desc strong {
    background-color: #FFDFDF;
    color: #c10000;
    padding: 2px 3px;
}

#error_message_desc strong {
    background-color: #ffffff;
    color: #c10000;
    padding: 2px 3px;
}

#main_body form li.highlighted > select
{
	background-color: #ff0000 !important;
}

li.error > label > select {
    background-color: #ff0000;
}


#main_body form li.error select.select, 
#main_body form li.error input.text,
#main_body form li.error input.radio {
    background-color: #FF9494;
    color: #000000;
}