/*
Theme Name: ARF Financial
Description: a custom child theme of The Gem
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

/* Theme Colors: 
	Gold - #cd9d2f
	Blue - #00659e
 Dk Blue - #174888
	Grey - #5f727f
*/


/* New Style */
form#loan ul li::before {
	content: "";
	background: none;
	position: static;
}
#approved a.bt {
	font-size: 4.5em;
	display: block;
	position: absolute;
	right: 1em;
	right: .5em;
	top: .125em;
	top: .1em;
	width: 50%;
	font-family: 'Source Sans Pro', Helvetica, Arial, Geneva, Verdana, sans-serif;
	text-transform: uppercase;
	color: #0a73ae;
	text-align: right;
	line-height: .9em;
	z-index: 5;
	text-shadow: 0 .03125em .0625em rgba(0,0,0,.3);
	transition: all 0.9s ease 0s;
}
#approved a.bt:hover {
	color: #174888;
	transition: all 0.9s ease 0s;
}
#approved::after{
	content:'' !important;
	position: static !important;
}
#loan, #calc_answer #approved{
	text-align: left;
}
#approved input {
	color: #0a73ae;
}
form#loan input, form#loan select{
	font-size: 14px;
}

.loanc_title {
	margin: 0 0 20px 0;
	text-align: center !important;
	font-weight: bold;
	font-size: 30px !important;
}
.calc {
	padding-top: 20px !important;
}

.page-title-title {
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
}
.page-title-title span {
	display: block;
	font-size: 22px;
	font-weight: 400;
}

#contact .combobox-wrapper{
	margin: 5px 0 !important;
}

#contact input{
  background: #ffffff;
  color: #9BA5B2;
}

#contact input[type="submit"]{
  background: #cd9d2f;
  color: #ffffff;
}

#contact ::placeholder{
  color: #9BA5B2;
}
#contact ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #9BA5B2;
}
#contact ::-moz-placeholder { /* Firefox 19+ */
  color: #9BA5B2;
}
#contact :-ms-input-placeholder { /* IE 10+ */
  color: #9BA5B2;
}
#contact :-moz-placeholder { /* Firefox 18- */
  color: #9BA5B2;
}

/* Added July/Aug 2018 */
@font-face {
    font-family: Digital;
    src: url('fonts/digital-7.ttf');
}

.knowledge-center .portfolio-filters a span {
    font-size: 1.2em !important;
	font-weight: 600;
    padding: 4px 7px;
    line-height: 1.2em;
}
.knowledge-center .portfolio-filters a {
	margin-right: 2.5%;
}

.blog-article-h1 {
    line-height: 1.25em !important;
    font-size: 1.9em;
    margin-bottom: 2%;
}

#loan ul.calc {
    background-image: url('images/loancalc-bkgd.png');
	background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: none !important;
    box-shadow: none !important;
	min-height: 604px;
}
#loan .calc h3 {
    color: #6e7368;
    font-family: Digital, serif !important;
    font-size: 1.8em !important;
    padding-top: 7%;
    text-transform: uppercase;
}
#loan .calc h5 {
	color: #000;
	line-height: 1.2em;
	margin: 7% auto 4%;
	max-width: 80%;
	text-align: center;
}
#loan .calc h5.safari-only {
	margin-bottom: 0;
}
#loan ul.calc li {
	display: inline-block;
	list-style-type: none;
	margin-bottom: 2%;
	width: 49%;
}
#loan ul.calc li.safari-only  {
	max-height: 30px;
}
#loan #sales {
	text-align: left !important;
}
#loan ul.calc li:nth-child(even) {
	padding: 0 3%;
}
#loan ul.calc li:nth-child(odd) {
	padding: 0 2% 0 5%;
}
#loan ul.calc li input, #loan ul.calc li input::placeholder,
#loan ul.calc li select {
	background-color: #d0d0d0;
	color: #00659e;
	border-radius: 5px;
    font-family: Digital, serif !important;
	height: 35px;
	width: 100%;
}
#loan #sales::-webkit-input-placeholder,
#loan #sales::-moz-placeholder,
#loan #sales:-ms-input-placeholder,
#loan #sales:-moz-placeholder,
#loan #sales:placeholder {
	color: #00659e !important;
}
#loan ul.calc li input {
	border: none !important;
	padding-left: 24px;
}
#loan ul.calc li select{
	padding: 0 20px;
}
#loan ul.calc li select option {
	color: #000;
    font-family: "Digital", serif !important;	
	font-size: 1em !important;
}
#loan ul.calc li .bt {
	background-color: #c89c1f !important;
	border-radius: 5px;
	color: #222;
	font-weight: 500;
	padding: 0 20px;
	text-transform: uppercase;
}
#loan ul.calc li .bt:hover {
	background-color: #89ba3e !important;
	cursor: pointer;
}

#loan ul#calc_answer {
    background: none !important;
    margin-top: -23.5%;
	min-height: 1px !important;
}
#loan ul#calc_answer li {
    margin: 0 5%;
	width: 90%;
}
#loan ul#calc_answer li input {
    background: none !important;
	color: #167500 !important;
	display: inline-block;	
	font-size: 1.6em !important;
	padding-left: 0;
	text-align: center !important;
	width: 49%;
}
#loan ul#calc_answer li:first-child {
    margin-left: 0;
}
#loan ul#calc_answer li input#amount,
#loan ul#calc_answer li input#amount3 {
	padding-left: 80px;
}
#loan ul#calc_answer li input#amount2,
#loan ul#calc_answer li input#amount3 {
	margin-top: 10.5%;
}
#loan ul#calc_answer li input#amount2.safari-only,
#loan ul#calc_answer li input#amount3.safari-only {
	margin-top: 11%;
}
#loan ul#calc_answer li input#amount2.edge-only,
#loan ul#calc_answer li input#amount3.edge-only {
	font-size: 1.4em !important;
	margin-top: 11%;
}
#loan ul#calc_answer li input#amount.edge-only,
#loan ul#calc_answer li input#amount1.edge-only {
	font-size: 1.4em !important;
}
#loan ul#calc_answer li#noloan-msg {
    background-color: #cd9d2f;
    color: #222;
    font-size: 0.7em;
	margin-left: 5%;
    margin-top: 32%;	
    padding: 5px 15px !important;
    text-align: center;
}
#approved:after, #approved:before {
	display: none !important;
}
#loan ul#calc_answer li#yesloan-msg {
	margin-top: 10%;
    text-align: center;
}
#loan ul#calc_answer li#yesloan-msg.safari-only {
	margin-top: 25%; 
}
#loan ul#calc_answer li#yesloan-msg a {
    font-weight: bold;
	padding: 8px 35px;
}
#loan input.edge-only, #loan input.ie-only {
	font-family: "Digital", sans-serif !important;
	max-width: 100%;
	width: 100%;
}
#loan input.ie-only {
	padding: 0 20px 4px !important;
}
#loan select.edge-only, #loan select.ie-only {
	font-family: "Digital", sans-serif !important;
	max-width: 100%;
	padding: 5px 20px 3px !important;
	width: 100%;
}

/* Custom form styles */
#mktoForm_1079{
  width: 100% !important;
}
#mktoForm_1079 .mktoFieldDescriptor{
  width: 50% !important;
}
#mktoForm_1079 .mktoFieldWrap{
  width: 100% !important;
}
#mktoForm_1079 .mktoLabel{
  display: none;
}

@media(max-width: 480px){
  #mktoForm_1079 .mktoFieldDescriptor{
    width: 100% !important;
  }
  #mktoForm_1079 .mktoFieldDescriptor:first-child{
    padding-right: 0px !important;
  }
}




.mktoForm input[type="text"],
.mktoForm input[type="email"],
.mktoForm input[type="tel"],
.mktoForm select.mktoField{
  background-color: #ffffff !important;
  height: 50px !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.mktoForm select.mktoField{
	-webkit-appearance: menulist-button;
}

form#mktoForm_1084.mktoForm select.mktoField{
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	color: #9291A6 !important;
	height: 40px !important;
}

.mktoForm p.sweepstakes-disclaimer{
	font-size: 12px;
	line-height: 1;
	margin-bottom: 10px;
}

@media screen and (max-width: 481px){
	form#mktoForm_1084 .mktoFormRow .mktoFieldDescriptor.mktoFormCol{
		width: 100% !important;
		padding: 0 !important;
	}

	form#mktoForm_1084.mktoForm input[type="text"],
	form#mktoForm_1084.mktoForm input[type="email"],
	form#mktoForm_1084.mktoForm input[type="tel"],
	form#mktoForm_1084.mktoForm select.mktoField{
		height: 50px !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	form#mktoForm_1084.mktoForm textarea.mktoField{
		height: 100px !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}

	form#mktoForm_1084.mktoForm select.mktoField{
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		color: #9291A6 !important;
	}
}


/* Loan Calculator */

.loan-calculator *{
  box-sizing: border-box;
}

.loan-calculator{
  position: relative;
  margin: 30px 0;
  width: calc(66% - 40px);
  background: url("images/metal-bg.jpg");
  padding: 20px;
  border-radius: 20px;
  border: 3px solid #f8f8f8;
  float: left;
}
  
.loan-calculator form{
  overflow: auto;
}
  
.loan-calculator h3{
  color: #6e7368;
  font-family: Digital, serif !important;
  font-size: 1.8em !important;
  line-height: 1;
  text-align: center;
  background: url(images/field-bg.jpg) repeat-x;
  padding: 8px 5px 12px 5px;
  margin: 0;
  text-transform: uppercase;
  border-radius: 10px;
  vertical-align: middle;
  border: 3px solid #f8f8f8;
}
  
.loan-calculator h5{color: #000;
  line-height: 1.2em;
  margin: 20px auto;
  max-width: 80%;
  text-align: center;
}
  
.loan-calculator input{
  border: 0;
  background-color: #d0d0d0;
  color: #00659e;
  border-radius: 5px;
  font-family: Digital, serif !important;
  width: calc(50% - 6px);
  margin: 10px 3px;
  float: left;
  height: 40px;
}

.loan-calculator select{
  width: calc(50% - 6px);
  margin: 10px 3px;
  float: left;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background-color: #d0d0d0;
  color: #00659e;
  font-family: Digital, serif !important;
}
  
.loan-calculator ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #00659e;
}
.loan-calculator ::-moz-placeholder { /* Firefox 19+ */
  color: #00659e;
}
.loan-calculator :-ms-input-placeholder { /* IE 10+ */
  color: #00659e;
}
.loan-calculator :-moz-placeholder { /* Firefox 18- */
  color: #00659e;
}
  
.loan-calculator #submit{
  background-color: #c89c1f !important;
  border-radius: 5px;
  color: #222;
  font-weight: 500;
  padding: 0 20px;
  text-transform: uppercase;
  width: 49%;
  float: left;
}
  
.loan-calculator-results{
  margin-top: 40px;
}
  
.loan-calulator-result-box{
  width: calc(50% - 6px);
  margin: 10px 3px;
  float: left;
}
  
.loan-calulator-result-box label{
  display: block;
  width: 100%;
  text-align: center;
  color: #000;
  padding: 0;
  margin: 0;
  line-height: 1;
}
  
.loan-calulator-result-box input{
  width: 100%;
  float: none;
  background: url(images/field-bg.jpg) repeat-x;
  border: 2px solid #f8f8f8;
  text-align: center;
}
  
.loan-calculator-disclaimer {
  color: #000;
  line-height: 1.4;
  font-size: 10px;
  text-align: center;
}

#yesloan-msg, #noloan-msg{
  display: none;
}
  
#yesloan-msg{
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

#yesloan-msg .bt{
  display: inline-table;
  padding: 10px 20px;
  background-color: #c89c1f !important;
  border-radius: 5px;
  color: #222;
  text-transform: uppercase;
}
  
#noloan-msg{
  background-color: #cd9d2f;
  color: #222;
  font-size: 0.7em;
  padding: 5px 15px !important;
  text-align: center;
}
  
.loan-calculator-quote{
  background: #ecf4f9;
  box-shadow: 0 .25em .5em rgba(0,0,0,.3);
  width: calc(33% - 40px);
  margin: 30px 0 30px 40px;
  float: left;
  padding: 20px;
}

.loan-calculator-quote .tsthide{
  display: none;
}
  
  .loan-calculator-quote h3{
    margin: 0 0 10px 0;
    text-align: center;
  }
.loan-calculator-quote input,
.loan-calculator-quote select{
  width: 100%;
  margin: 5px 0;
  height: 40px;
}

.loan-calculator-quote input.bt{
  height: auto !important;
  line-height: 1 !important;
  padding: 15px 0;
  margin-top: 20px;
}
  
    .loan-calculator-quote select{
    height: auto;  
  }
  
@media screen and (max-width: 960px){
  .loan-calculator input,
  .loan-calculator select{
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 880px){
  .loan-calculator,
  .loan-calculator-quote{
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 790px){
	.vc_row.vc_custom_1529011250044{
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
	.vc_custom_1529011250044 h1.title-xlarge span{
		font-size: 40px !important;
		line-height: 50px !important;
	}
	.vc_custom_1529011380654 p{
		font-size: 30px !important;
		line-height: 40px !important;
	}
}

.header-style-3 #primary-menu.no-responsive > li > a, 
.header-style-4 #primary-menu.no-responsive > li > a {
	padding: 0px 12px !important;
	cursor: pointer;
}

#site-header.fixed.shrink .header-style-3 #primary-menu.no-responsive > li > a, 
#site-header.fixed.shrink .header-style-4 #primary-menu.no-responsive > li > a {
	padding: 0px 10px !important;
}

/* about us page mobile view */
@media screen and (max-width: 500px){
	.our-mission-row .wpb_column.vc_column_container.vc_col-sm-3 {
		padding: 20px;
	}
	
	.vc_custom_1531311526285, .vc_custom_1531154189852 {
		margin-top: 0px !important;
	}
