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

#main_body h1 a
{
background-image: url('https://www.neilmed.com/samplerequest/cphy/images/form_resources/machform.png');
background-repeat: no-repeat;
height: 40px;
}

html
{
background-image: url('https://www.neilmed.com/samplerequest/cphy/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: transparent;
}

#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 **/

#main_body h1 a {
    background-image: none !important;
    height: 10px;
}

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

#main_body form li span.description{
     font-size: 16px !important;
     margin-bottom: 20px !important;
}

#main_body form li.three_columns div span{
    margin: 10px 0px !important;
    width: 30% !important;
}

.product-image{
    min-width: 100% !important;
}

.description div{
     font-size: 20px !important;
}

.phone .description{
    position: relative;
    top: -20px;
}

.phone.column_2 .description{
    width: 100% !important;
}

.phone_1 input, .phone_2 input, .phone_3 input{
     position: relative;
     top: -10px;
}

.phone span{
     width: 85px;
}

.phone label{
     padding-top: 0 !important;
}


.phone_1 input, .phone_2 input{
     width: 50px !important;
     margin-right: 10px !important;
}

.phone_3 input{
     min-width: 70px !important;
}

.formImg{
    max-width: 100%;
    margin: auto;
    display: inherit;
}

#main_body form ul{
     display: flex;
     flex-wrap: wrap;
}

#main_body .form_description h2{
     text-align: center;
}

#main_body{
     padding: 25px;
}

#main_body .form_description h1, h2, h3, h4, h5, h6, p{
     color: #00529C !important;
}

#main_body .form_description h2{
     font-size: 250% !important;
}

#main_body .form_description img{
     max-width: 100%;
}

#main_body form li span.description{
     color: #00529C !important;
}

#main_body form .section_break h3{
     color: #00529C !important;
     text-align: center;
}

fieldset legend img{
     display: none !important;
}

.ap_table_pagination{
     table-layout: fixed;
}

.ap_tp_arrow{
    font-size: 150% !important;
    color: #00529C !important;
    font-family: 'Roboto' !important;
}

#main_body .name input.text, .address input.text, .column_2 input.text, .no-border input.text, .no-border .textarea{
     border: none !important;
     color: #000 !important;
     width: 100%;
}

#main_body form li fieldset{
     margin: 10px 0;
}

.no-border .description{
     width: 100%;
}

#main_body .form_description{
     border: none;
}

.simple_name_1{
     margin-right: 40px !important;
}

.simple_name_1, .simple_name_2{
     width: 40%;
}

.simple_name_1 input.text, .simple_name_2 input.text{
     width: 100%;
}

.two_columns .description{
     width: 100% !important;
}

div input[type="text"]{
     height: 30px;
}

label{
     display: inline-block;
     float: left;
     clear: left;
     width: 250px;
     text-align: left;
     color: #00529C !important;
}

input {
     display: inline-block;
     float: left;
}

.name label{
     max-width: 5em !important;
     margin-right: 0 !important;
}

.email label{
     max-width: 5em !important;
     margin-right: 0 !important;
}

#main_body form .section_break p{
     color: #00529C !important;
}

#main_body form .guidelines {
    background-color: #00539c;
    border-width: 1px;
    border-style: solid;
    border-color: #f5f5f5;
}

.no_guidelines form.left_label span.description{
     max-width: 5em !important;
}

.name span:not(.description) label{
     font-size: 120% !important;
}

.address span:not(.description) label{
     font-size: 120% !important;
}

#main_body form li span label{
     padding-top: 10px;
}

#main_body form li.address div span {
     padding-bottom: 2em;
}

#main_body form li.address input{
     min-height: 42px;
}

#main_body form li.address fieldset legend{
     display: none;
}

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

/*#li_12{
     padding-top: 20px !important;
}*/

.privacy-policy .description{
     text-align: right;
}

#main_body label.choice{
     padding-top: 7px;
     font-size: 1.1em;
}

#main_body input.checkbox{
     margin-top: 0;
}

.privacy-policy .required{
     position: absolute;
     left: 0;
     top: 20%;
}

#main_body form.left_label span.description{
     margin: 0;
}

#main_body select.select{
     height: 42px;
     border: none;
     color: #000 !important;
}

#main_body select.select option{
     color: #000 !important;
}

#li_captcha{
     display: flex !important;
     margin-left: 0 !important;
}

#li_captcha div:first-child{
     order: 1;
     display: inline-block;
     width: auto;
}

#li_captcha label{
     order: 2;
}

#li_buttons{
     margin-left: 0 !important;
}

#main_body .buttons input {
    font-size: 120%;
    margin-right: 5px;
    background: #FFF;
    color: #00529C;
    border: 1px solid #00529C;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    padding: 6px 9px;
    text-decoration: none;
}

#main_body .buttons input:hover {
    background: #00529C;
    color: #FFFFFF;
    border: 1px solid #FFF;
}

.req-fields{
     color: #00529C !important;
     margin-top:  20px;
}

#main_body form .required, #main_body .matrix span.required{
     color: #00529C !important;
}

.form_description h2{
     margin-bottom: 20px;
}

.form_description p:first-child{
     margin-bottom: 0 !important;
}

.choice a{
     color: #00529C;
}

li a{
      color: #00529C !important;
}

#main_body input.radio{
     background: #FFF !important;
}

.date_mm, .date_dd, .date_yyyy{
     margin-right: 15px !important;
}

.date_field .date_mm, .date_dd{
     max-width: 40px;
}

.date_field .date_mm label, .date_field .date_dd label {
     max-width: 20px !important;
}

.date_field .date_yyyy{
     max-width: 80px;
}

.datepick-trigger{
     padding: 12px !important;
     background: #FFF !important;
}

#main_body form li.li_pagination{
    border-bottom: 1px solid #50a2de !important;
    border-top: 1px solid #50a2de !important;
    padding-top: 10px !important;
    margin-bottom: 20px !important;
}

#main_body form li.li_pagination h3{
     color: #00529C !important;
}

#main_body input.other{
     margin: 0 !important;
}

.multi-choice table tr:nth-child(odd) td {
     color: #00529C !important;
}

.media_image img{
    border: 3px solid #00529C;
    border-radius: 12px;
}

.privacy-policy .description{    
    text-align: left !important;
    margin-top: 20px !important;
    margin-left: 5px !important;
}

/*****Standard Mobile Devices*****/
@media (max-width: 767px){
#main_body{
     padding: 0 !important;
}
h3 img{
     max-width: 100%;
}
#main_body .form_description h2{
     font-size: 150%;
}
#main_body .form_description{
     width: 100% !important;
}
#main_body input.text{
     min-width: 98%;
}
#main_body form li span label{
     font-size: 100% !important;
}
#main_body li.simple_name .simple_name_1, .simple_name_2{
     min-width: 100%;
}
li.checkboxes div span{
     border: 0 !important;
}

.checkboxes .description{
     width: auto !important;
     display: inline-block !important;
     float: left !important;
}

.checkboxes .description .required{
     margin: 0 !important;
}

.privacy-policy .required{
     position: absolute;
     top: auto;
     left: auto;
}
#li_captcha {
    margin-left: 1.5em !important;
}

#li_buttons {
    margin-left: 8em !important;
}

#main_body input[type="radio"] + label::before{
     background: #FFF !important;
}

#main_body input[type="radio"]:checked + label::before {
     background-color: #50A2DE !important;
}
#main_body input.other{
     margin: 0;
}

#main_body form li div span.right, #main_body form li div span.left{
     min-width: 100% !important;
     margin-bottom: 30px !important;
}

.phone span{
     width: inherit;
}

#main_body li.phone input.text {
    min-width: 60px !important;
}

#main_body li.phone .phone_1, #main_body li.phone .phone_2 {
    width: 25%;
}

html{
     min-width: 100vw;
     overflow: auto;
}

body{
     overflow: hidden;
}
}

@media screen 
  and (min-device-width: 1200px)  { 
#form_container {
    width: 50% !important;
}
}