/* Internal Styles*/

/*add joint applicants*/
.joint_applicant_type{
  display:block;
}
/*unfix submit from bottom of window*/
div#submit_section, div#subscribe_section{
  position:static;
  bottom:auto;
  border-top: none;
  box-shadow: none;
}
div#content {
  padding-bottom:20px;
}
  
  
/*MEDIA QUERIES*/
/*basic responsive styles*/
@media only screen and (max-width: 900px) {
  div#ad_sidebar{
    display:none;
  }
  div#content{
    margin:0 auto;
  }   
}
@media only screen and (max-width: 750px) {
  body {font-size:.85em; }
  div#content{
    width:94%;
  } 
  div#content.application_submitted{
    width:90%;
    margin:0 auto;
  }  
  li label{
    width:30%;
  }
  li.error.inline div{
    width:20%;
    padding-left:50%;
    right:0;
    line-height:1em;
    height:3em;
    top:0;
    margin-top:-0.75em;

  }  
  div#breadcrumb_section div.breadcrumb_item{
    font-size: 90%;
  }
}

@media only screen and (max-width: 480px) {
  body {font-size:.75em; }
  div#content{
    width:90%;
  }
  div#submit_section{
    width:100%;
    left:0;
    bottom:0;
  }
  div#content{
    padding:20px 0;
  }  
  li, li.nolabel{
    padding:0.25em 10px;
  }
  li.li_gross_income_1 label{
    float:none;
    width:100%;
    background-image: none;
  }
  span.sublabel{
    right:0;
    top:0.25em;
    text-align: right;
  }
  img.required_asterisk{
    width:12px;
    height:12px;
  }
  li.postcode_lookup{
    width:auto;
  }
  input[type="text"], input[type="password"], li label{
    width:90%;
  }
  li.li_vehicle{
    font-size:125%;
    height:75px;
  }
  li.li_vehicle input#vehicle{
    font-size:100%;
    margin:1em 0;
  }
  h1,h2{
    padding:0.25em 10px;
  }
  li.required{
    background-position: 98% center;
  }
  #submit_error{
    font-size: 0.7em;
  }  
  li.has_error{
    margin-bottom:2em;
  }
  li.error.inline{
    position:relative;
    height:0;
    margin:0 0.5em;
    padding:0;
    line-height: 0;
    width:auto;
  }  
  li.error.inline div{
    position:absolute;
    width:90%;
    line-height:1.25em;
    padding:4.5em 10px 0.25em 10px;
    height:auto;
    left:0px;
    right:auto;
    margin:1.25em 0 0 0;
    border-radius: 5px;
    z-index:1;  
  }
  li#error_vehicle.error.inline div{
    padding:0.25em 10px 0.25em 10px;
    margin:-20px 0 0 0;
  }
}
@media only screen and (max-width: 320px) {
  body {font-size:.70em; }
}  
  
 
