﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

*{padding:0; margin:0;}

.clearfix {
	overflow: auto;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}


/*Start Clearfix Styles*/
/* float clearing for IE6 */ 
* html .clearfix{ 
  height: 1%; 
  overflow: visible; 
} 
 
/* float clearing for IE7 */ 
*+html .clearfix{ 
  min-height: 1%; 
} 
 
/* float clearing for everyone else */ 
.clearfix:after{ 
  clear: both; 
  content: "."; 
  display: block; 
  height: 0; 
  visibility: hidden; 
  font-size: 0; 
}
/*End clearfix styles*/

html {
	background: transparent;
}

body{
	font-family: 'Open Sans', sans-serif;
	color:#000;
	font-size: 13px;
	background: transparent;
}
	 

h1 {
    display:none;
}

h2 {
	margin-bottom: 1em;
    font-size:24px;
    color: #777 !important;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0px !important;
}

input, select {
	box-sizing: border-box;
	font-family: 'Roboto Condensed', sans-serif;
	width:300px;
	font-size: 16px;
    padding: 8px 10px;
}


#appForm {
	box-sizing: border-box;
	width:calc(100% - 20px);
	margin:10px auto;
	padding-bottom: 5px;
}

#appForm div ul{list-style:none;}
#appForm div ul li{float:left;margin-right: 10px;}
#appForm div ul li label{width: auto;float:left;clear:none;}
#appForm div ul li input{float:left;}

#appForm > .section{clear:both; width: 100%; margin-bottom:40px;}



#appForm > .section .preamble{
    display: block;
    margin-bottom: 1em;
}

#appForm > .section .sectionhead
{
	font-weight: bold;
    width: 100%;
    margin: 0 0 5px 0;
    color: #c32d2a;    
	/* white-space:nowrap; */
	/* padding-left:5px; */
    text-transform:uppercase;
    letter-spacing: 1px;
}

#appForm .section .fields {
	position: relative;
	padding: 0;
	padding-bottom: 5px;
    overflow-x: hidden;
}

#appForm #specialInstructions {
    min-width: 400px;
}

/*
#appForm .section .fields > div {
	min-height: 22px;
	clear: none;
	display: inline-block;
	padding-bottom: 3px;
}
*/

#appForm .section .fields {
	/* min-height: 22px; */
	/* clear: none; */
	/* display: flex; */
	/* align-content: center; */
	/* padding-bottom: 3px; */
	/* float: left; */
	/* margin-bottom: 10px; */

    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 1rem;
}

#appForm .section .fields .cell {
    padding: .25em 0;
}

#appForm .section .fields > div.complex {
	/* min-height: 30px; */
    width: 100%;
}

.buttons {
	box-sizing: border-box;
	width:100%;
	margin-top: 5px;
	padding-left: 20px;
}




.buttons .submitButton {
	width:150px;
	float:left;
	clear:left;
	margin: 5px 5px 0 0;
}

#appForm .fields label {
	padding-right: 10px;
	display: block;
	float:left;
	margin-top: 0px;
    margin-bottom: .25em;
    white-space: nowrap;
    font-weight: 600;
}

.creditapp .section .cell {
    display: flex; 
    flex-direction: column;
    /* align-items: center */
}

@media screen and (min-width: 64em) {

    #appForm .fields .cell {
        width: calc(25% - 1rem);
    }

}

#appForm .fields input, #appForm .fields select {
  font-family: 'Roboto Condensed', sans-serif;
	float:left;
}


#appForm .complex span{
    margin-bottom: 1em;
}

/* #appForm .fields div ul li label{clear:none !important;width: auto !important;} */

#briefDescription{width: 50%;}

#resultsForm{width:100%;margin: 10px auto;background-color: #eee;padding-bottom: 5px}
#resultsForm div h2{clear:left;}

.fieldLabel{font-weight:bold;}




.requiredmarker::after {
	content: " *";
	color: #FF0000;
}




/* field specific adjustments */


div ul li input, div ul li select {
	width: auto;
	text-align: left;
}

#aip {
	padding-left: 20px;
}


select {
    height: 2.4375rem;
    margin: 0;
    padding: .5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28138, 138, 138%29'></polygon></svg>");
    background-origin: content-box;
    background-position: right .25rem center;
    background-repeat: no-repeat;
    background-size: 9px 6px;
    padding-right: 1.5rem;
    -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
    transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
    transition: box-shadow .5s,border-color .25s ease-in-out;
    transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
}

[type='text'], [type='password'], [type='date'], [type='datetime'], 
[type='datetime-local'], [type='month'], [type='week'], [type='email'], 
[type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 2.4375rem;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid #cacaca;
  border-radius: 0;
  background-color: #fefefe;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  font-family: inherit;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  color: #0a0a0a;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
  appearance: none; 
}

[type='text']:focus, [type='password']:focus, [type='date']:focus, [type='datetime']:focus, 
[type='datetime-local']:focus, [type='month']:focus, [type='week']:focus, [type='email']:focus, 
[type='number']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, 
[type='url']:focus, [type='color']:focus, textarea:focus {
    outline: none;
    border: 1px solid #8a8a8a;
    background-color: #fefefe;
    box-shadow: 0 0 5px #cacaca;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out; 
}

textarea {
  max-width: 100%; 
}

textarea[rows] {
    height: auto; 
}

[type='text'].error, [type='password'].error, [type='date'].error, [type='datetime'].error, 
[type='datetime-local'].error, [type='month'].error, [type='week'].error, [type='email'].error, 
[type='number'].error, [type='search'].error, [type='tel'].error, [type='time'].error, 
[type='url'].error, [type='color'].error, textarea.error {
    border: 1px var(--color-red) solid;
    box-shadow: 0 0 5px var(--color-red);
}


input[type=submit] {
     display: inline-block;
	 cursor: pointer;
	 background: #a61117;
	 color: #eee;
	 font-size: 16px;
     margin: 0px 0px 0px 0px;
     border: none;
}

input[type=submit]:hover {
	 background: #dc2029;
	 color: #fff;
}

.FieldContainer {
	position: relative;
}




.required-field-inform {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    height: 1px;
    line-height: 6px;
    margin-top: auto;
    margin-bottom: auto;
    color: #ff0000;
    display: block;
	font-size: 14px;
	z-index: 10px;
}

.legalText {
	display: block;
	float: left;
	width: 100%;
	font-size: 16px;
	clear: both;
	height: auto !important;
	padding-top: 10px;
}


.new-line  { clear: left !important; }

.width-100 {width: 100px;}
.width-200 {width: 200px;}
.width-400 {width: 400px;}
.width-500 {width: 500px;}
