/* --------------------------------------------
* This file (custom.css) is the css file that * 
* handles any overrides you want to do with   *
* joomla or the bootstrap css files, as it is *
* loaded as the last css file in the template *          *
* -------------------------------------------*/

/* Start - Joostrap Template Main Overrides
-----------------------------------------*/

body {
	background: #eeeeee url('../images/body-bg.png');
	padding: 0;
	margin: 0;
}
.container-fluid {  
	margin:0 auto; 
}
.row-fluid .first {
	margin-left: 0 !important;
}
#content .moduletable,
#sidebar .moduletable,
#sidebar-2 .moduletable {
	margin-bottom:18px;
	margin-left:10px;
}

form#form-login div.control-group div.controls a {
	display:block;
}

hr {
	border: 0;
	height: 2px;
	width: 100%;
	background: url('../images/hr-line.png') top center no-repeat;
}

/* Start - iFrame/Embed Responsive Overrides 
 * For things like YouTube & Vimeo
 * embed codes, etc...
------------------------------------------*/
.embed-container {
	position: relative;
	padding-bottom: 56.25%; /* 16/9 ratio */
	padding-top: 30px; /* IE6 workaround*/
	height: 0;
	overflow: hidden;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#map_canvas img {
	max-width:none;
}

/* Start - Login Override Menu Dropdown
-------------------------------------*/
#login-dropdown {
	width: 250px;
	padding: 10px;
}
#login-dropdown .input-prepend {
	margin-left: 10px;
}
div.login-remember {
	padding: 5px;
}
.navbar .nav.pull-right {
	float: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top:2px;
}


/* AFS Template Overrides // Links
-------------------------------------*/

a {
	  color: #666666;
}

a:focus {
  color: #666666;
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

a:hover,
a:active {
  color: #666666;
  text-decoration: underline;
  outline: 0;
}

/* AFS Template Overrides // Headings
-------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 100;
  line-height: 1;
  color: #555555;
  text-rendering: optimizelegibility;
}

.span3 h1,
.span3 h2,
.span3 h3,
.span3 h4,
.span3 h5,
.span3 h6 {
  color: #999999;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: 100;
  line-height: 1;
  color: #555555;
}

h1,
h2,
h3 {
  line-height: 40px;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 11.12px;
}

h1 small {
  font-size: 20px;
}

h2 small {
  font-size: 18px;
}

h3 small {
  font-size: 16px;
}

h4 small {
  font-size: 14px;
}

.page-header {
  padding-bottom: 0;
  margin: 0;
  border-bottom: 0;
}

/* AFS Template Overrides // Form Styles
-------------------------------------*/

#featured-left select,
#featured-left textarea,
#featured-left input[type="text"],
#featured-left input[type="password"],
#featured-left input[type="datetime"],
#featured-left input[type="datetime-local"],
#featured-left input[type="date"],
#featured-left input[type="month"],
#featured-left input[type="time"],
#featured-left input[type="week"],
#featured-left input[type="number"],
#featured-left input[type="email"],
#featured-left input[type="url"],
#featured-left input[type="search"],
#featured-left input[type="tel"],
#featured-left input[type="color"],
#featured-left .uneditable-input {
  background-color: #2d2d2d;
  padding: 4px 4px 4px 4px;
  font-size: 14px;
  color: #666666;
  border: 1px solid #444444;
  	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#featured-left textarea:focus,
#featured-left input[type="text"]:focus,
#featured-left input[type="password"]:focus,
#featured-left input[type="datetime"]:focus,
#featured-left input[type="datetime-local"]:focus,
#featured-left input[type="date"]:focus,
#featured-left input[type="month"]:focus,
#featured-left input[type="time"]:focus,
#featured-left input[type="week"]:focus,
#featured-left input[type="number"]:focus,
#featured-left input[type="email"]:focus,
#featured-left input[type="url"]:focus,
#featured-left input[type="search"]:focus,
#featured-left input[type="tel"]:focus,
#featured-left input[type="color"]:focus,
#featured-left .uneditable-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 255, 255, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 255, 255, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 255, 255, 0.6);
}

/* AFS Template Overrides // Homepage Contact Us Form
-------------------------------------*/

#featured-left .bfQuickMode .bfLabelLeft label {
 display: none;
}

#featured-left .bfQuickMode .bfRequired {
	 display: none;
}

#featured-left .bfQuickMode p input[type="text"], .bfQuickMode p textarea, .bfQuickMode p select {
	width: 98%;
}

#featured-left .bfQuickMode p textarea {
	width: 98%;
	height: 40px;
}

#featured-left .bfQuickMode .bfNoSection {
	margin: 0;
	padding: 0;
}

#featured-left h3 {
	margin: 0;
	padding: 0;
	line-height: 1;
}

#featured-left p {
	padding-top: 3px;
	padding-left: 0;
	padding-bottom: 3px;
	margin: 0 0 0 0;
	font-family: Georgia, Times, “Times New Roman”, serif;
	font-size: 18px;
	font-weight: 500;
	font-style: italic;
	color: #666666;
}

#featured-left .bfQuickMode .bfCaptcha img {
  float: left;
}

#featured-left .refresh  {
	margin-top: -13px;
	position: absolute;
	right: 5px;
}

#featured-left .bfQuickMode .bfCaptcha .ff_capimg {
	width: 45%;
	max-width: 200px;
 	height: 28px;
	float: left;
	margin: 0;
	padding: 0;
}

#featured-left input#bfCaptchaEntry {
	width: 45%;
	float: right;
	margin: -20px -4px 0 0;
}

#featured-left  .bfQuickMode .bfLabelLeft .bfElementGroupNoWrap, .bfQuickMode .bfLabelLeft .bfCaptcha {
	width: 100%;
}

.bfQuickMode .bfNextButton, .bfQuickMode .bfSubmitButton, .bfQuickMode .bfCancelButton, .afs-button,
.bfQuickMode button[type="submit"], .bfQuickMode button[type="reset"],
#contact-form button {
	width: 100%;
	line-height: 40px;
	color: #656565; /* text color + color overlay */
	font-family: "Georgia";
	font-size: 18px;
	font-weight: bold;
	font-style: italic;
	text-shadow: 0 1px 1px #111; /* drop shadow */
	margin-top: 5px;

	border: 5px solid #2a2929; /* stroke */
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px; /* border radius */
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box; /* prevents bg color from leaking outside the border */
	background-color: #656565; /* layer fill content */
	-moz-box-shadow: inset 0 1px 1px #434343; /* inner shadow */
	-webkit-box-shadow: inset 0 1px 1px #434343; /* inner shadow */
	box-shadow: inset 0 1px 1px #434343; /* inner shadow */
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzIxMjEyMSIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzMzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+); /* gradient overlay */
	background-image: -moz-linear-gradient(bottom, #212121 0%, #333 100%); /* gradient overlay */
	background-image: -o-linear-gradient(bottom, #212121 0%, #333 100%); /* gradient overlay */
	background-image: -webkit-linear-gradient(bottom, #212121 0%, #333 100%); /* gradient overlay */
	background-image: linear-gradient(bottom, #212121 0%, #333 100%); /* gradient overlay */

}


.bfQuickMode .bfNextButton:hover, .bfQuickMode .bfSubmitButton:hover, .bfQuickMode .bfCancelButton:hover, .afs-button:hover,
.bfQuickMode button[type="submit"]:hover, .bfQuickMode button[type="reset"]:hover,
#contact-form button:hover {
	color: #cccccc;
	text-shadow: 0 0 10px #cccccc; /* drop shadow */
	text-decoration: none;
     background-position: 0px !important;
  -webkit-transition:none;
     -moz-transition:none;
       -o-transition: none;
          transition: none;
          
}

.bfQuickMode button.bfCalendar {
	width: 100px;
	line-height: 1.5;
	color: #656565; /* text color + color overlay */
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
	text-shadow: 0 1px 1px #111; /* drop shadow */
	margin-top: 0px;
	border: 1px solid #2a2929; /* stroke */
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; /* border radius */
	padding-bottom: 2px;
	z-index: 999999999;
}

.afs-button {
	width: 100%;
	line-height: 40px;
	display: block;
	text-align: center;
	margin-left: -5px;
}


/* AFS Template Overrides // Contact Us Page Forms
-------------------------------------*/

.contact .inner {
	background: url('../images/hr-line.png') bottom center no-repeat;
	margin-bottom: 40px;
	padding-bottom: 40px;
}

legend {
	font-size: 13px;
}

#contact-form label {
	float: left;
}

#contact-form input#jform_contact_name,
#contact-form input#jform_contact_email,
#contact-form input#jform_contact_emailmsg,
#contact-form textarea#jform_contact_message {
	min-width: 320px;
}

#contact-form div {
	background: none;
}

/* AFS Template Overrides // Header
-------------------------------------*/
#header {
	height: 150px;
	background: #111111 url('../images/header-bg.png');
	border-bottom: 1px solid #ffffff;	
}

	#header #logo {
		margin-top: 20px;
		min-height: 115px;
		min-width: 280px;
	}
	
	#header #main-menu {
		margin-top: 100px;
		position: relative;
		z-index: 99;
		right: 0;
	}

	#header [class*="span"] {
	  margin-left: 0px;
	}
	
/* AFS Template Overrides // Featured Area / Slider / Contact Form
-------------------------------------*/
#featured-wrapper {
	margin-top: 40px;
}

#featured-right {
	border: 0 solid #444444;
	padding: 0;
	margin: 0 0 0 0;
	}

#featured-left {
	border: 1px solid #444444;
	background: #333333;
	color: #999999;
	margin: 0 0 0 0;
	padding: 20px 8px 15px 10px;
	}
	
	.tp-caption.afs {
			position: absolute; 
			color: #fff; 
			background-color: rgba(102, 102, 102, 0.9);
			font-family: Georgia, Times, "Times New Roman", serif;			
      		font-weight: bold;
      		font-style: italic;
			font-size: 24px;
  			text-align: right;
			line-height: 36px; 
			padding: 0px 4px; 
			padding-top: 1px;
			margin: 0px; 
		}	

/* AFS Template Overrides // Above Content / Loan Application Button / Product Icons
-------------------------------------*/

#above-wrapper {
	margin-top: 40px;
}

#above-left {
	border: 1px solid #444444;
	border-right: 0;
	background: #333333;
	color: #999999;
	margin: 0 0 0 -1px;
	padding: 20px 10px 15px 10px;
	height: 175px;
}

#above-left .loanapplication h3 {
	line-height: 50px;
	background: url('../../../images/icons/icon-write.png') top right no-repeat;;
}

#above-right {
	border: 1px solid #cccccc;
	border-left: 0;
	background: #cccccc;

	margin: 0 -1px 0 0;
	text-align: center;
	color: #999999;
	text-shadow: 0 1px 1px #ebebeb; /* drop shadow */
	font-size: 14px;
	line-height: 1.5;

}

#above-right a {
	color: #999999;
	text-shadow: 0 1px 1px #ebebeb; /* drop shadow */
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
}

#above-right .span2 {
	padding-top: 40px;
	padding-bottom: 33px;
}



#above-right .span2 img:hover {
-moz-transform: scale(1.05) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
-webkit-transform: scale(1.05) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
-o-transform: scale(1.05) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
-ms-transform: scale(1.05) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
transform: scale(1.05) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
}


/* AFS Template Overrides // Left Columns and Content Area
---------------------------------------------------*/

#content-wrapper {
	margin: 40px auto;
}

#content-main {
	padding-top: 20px;
}

#left {
}

#left .calculator h3 {
	line-height: 50px;
	background: url('../../../images/icons/icon-calculator.png') top right no-repeat;;
}

.dark {
	border: 1px solid #444444;
	background: #333333;
	color: #999999;
	margin: 0 0 40px -20px;
	padding: 20px 18px 15px 20px;
	height: auto;
}

.light {
	border: 1px solid #ebebeb;
	background: #cccccc;
	color: #999999;
	margin: 0 0 0 -20px;
	padding: 20px 18px 15px 20px;
	height: auto;
}

.light h3 {
	padding-left: 0;
	}
	
.ajaxscrl .title,
.ajaxscrl a {
	font-size: 13px;
	color: #666666;
}


/* AFS Template Overrides // Below-Content Area Specific Styles
---------------------------------------------------*/

#below-content {
	background: url('../images/hr-line.png') top center no-repeat;
	margin-top: 20px;
	padding-top: 20px;
}

#below-content h3 {
	padding-bottom: 20px;
}

.prev-button {
	margin-left: -60px;
}

.next-button {
	margin-right: -60px;
}

.prev-button,
.next-button {
	filter: alpha(opacity=50);
	opacity: 0.5;
}


.prev-button:hover,
.next-button:hover {
	filter: alpha(opacity=100);
	opacity: 1.0;
}



/* AFS Template Overrides // Footer
-----------------------------------*/

#footer {
	height: auto;
	min-height: 300px;
	background: #111111 url('../images/header-bg.png');
	border-top: 1px solid #ffffff;	
	padding-top: 20px;
	font-size: 13px;
	color: #cccccc;
	line-height: 1.8;
}

#footer h3 {
	color: #cccccc;
	padding-bottom: 10px;
}

#footer .nav-stacked {

}

#footer ul.nav-stacked {
	padding-left: 20px;
	list-style-type: square;
}

#footer a,
#footer .nav-pills > li > a {
	color: #cccccc;
	font-size: 13px;
	padding: 0;
	line-height: 1.4;
}

#footer a:hover,
#footer ul.nav-stacked a:hover {
	text-decoration: underline;
}

/* AFS Template Overrides // Copyright
-----------------------------------*/

#copyright {
	height: auto;
	background: #000000;
	border-top: 1px solid #333333;	
	font-size: 13px;
	color: #cccccc;
	line-height: 50px;
}

#copyright .pull-right {
	text-align: right;
}

#copyright a {
	color: #cccccc;
}


#copyright a:hover {
	text-decoration: underline;
}


/* AFS Template Overrides // Main Menu - Desktop
---------------------------------------------------*/

.nav-pills > li > a {
	color: #999999;
	font-size: 13px;
	padding-right: 6px;
	padding-left: 6px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.nav .dropdown-toggle .caret {
	margin-top: 6px;
	border-top-color: #999999;
	border-bottom-color: #999999;
}

.nav .active .dropdown-toggle .caret {
  border-top-color: #999999;
  border-bottom-color: #999999;
}

.nav .dropdown-toggle:hover .caret {
  border-top-color: #cccccc;
  border-bottom-color: #cccccc;
}

	.dropdown-menu {
	  position: absolute;
	  top: 100%;
	  left: 0;
	  z-index: 1000;
	  display: none;
	  float: left;
	  min-width: 160px;
	  padding: 0;
	  margin: 0;
	  list-style: none;
	  background-color: #2d2d2d;
	  border: 0;
	  *border-right-width: 0;
	  *border-bottom-width: 0;
	  -webkit-border-radius: 0px;
	     -moz-border-radius: 0px;
	          border-radius: 0px;
	  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	  -webkit-background-clip: none;
	     -moz-background-clip: none;
	          background-clip: none;
	}

	.nav-pills .dropdown-menu {
	  -webkit-border-radius: 0;
	     -moz-border-radius: 0;
	          border-radius: 0;
	}
	
	.dropdown-menu.pull-right {
	  right: 0;
	  left: auto;
	}
	
	.dropdown-menu .divider {
	  *width: 100%;
	  height: 1px;
	  margin: 9px 1px;
	  *margin: -5px 0 5px;
	  overflow: hidden;
	  background-color: #e5e5e5;
	  border-bottom: 1px solid #ffffff;
	}

	#header .dropdown-menu li > a {
	  display: block;
	  padding: 10px 20px;
	  clear: both;
	  font-weight: normal;
	  line-height: 20px;
	  color: #999999;
	  white-space: nowrap;
	  border-top: 1px solid #222222;
	  border-bottom: 1px solid #333333;
	}
	
	.dropdown-menu li > a:hover,
	.dropdown-menu li > a:focus,
	.dropdown-submenu:hover > a {
	  color: #ffffff;
	  text-decoration: none;
	  background-color: #222222;
	  background-image: none;
	  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='none', endColorstr='none', GradientType=0);
	}
	
	.dropdown-menu .active > a,
	.dropdown-menu .active > a:hover {
	  color: #ffffff;
	  text-decoration: none;
	  background-color: #222222;
	  background-image: none;
	  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='none', endColorstr='none', GradientType=0);
	}
	
	.dropdown-menu .disabled > a,
	.dropdown-menu .disabled > a:hover {
	  color: #999999;
	}
	
	.dropdown-menu .disabled > a:hover {
	  text-decoration: none;
	  cursor: default;
	  background-color: transparent;
	  background-image: none;
	}

	.nav-pills > .active > a,
	.nav-pills > .active > a:hover {
	  color: #cccccc;
	  background: none;
	}
	
	.nav > li > a:hover {
	background: none;
	}


/* Start - Bootstrap Overrides
----------------------------*/
div.nav-collapse.in.collapse {
	height:auto !important;
}
.form-search input, .form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
	max-width: 170px;
}
.custom {
	background:none;
	padding:0;
}

/* Media Query Overrides Below
----------------------------*/
/* Desktops
---------*/
@media (min-width: 980px) and (max-width: 1280px) {
	body {}	
	.prev-button,
	.next-button,
	.prev-button:hover,
	.next-button:hover {
		filter: alpha(opacity=0);
		opacity: 0.0;
	}
}		 
@media  (min-width: 1200px) {
.nav-pills > li > a {
	font-size: 16px;
	padding-right: 10px;
	padding-left: 10px;
}
#featured-left {
	padding-left: 15px;
	padding-right: 13px;
	height: 313px;
	}

#above-right a {
	font-size: 18px;
}	
	
#above-right {
	background: #cccccc url('../images/icons-bg-arrow.png') top left repeat-y;
}
#above-right .span2 {
	float: right;
	padding-top: 35px;
	padding-bottom: 26px;
}
#above-right .span2:first-child {
	padding-right: 20px;
}
#above-left {
	padding: 20px 13px 15px 15px;
}
.dark, .light {
	margin-left: -30px;
}

}
/* Portrait tablet to landscape and desktop
-----------------------------------------*/
@media (min-width: 768px) and (max-width: 979px) {
#header {margin-top: -20px;text-align: center;}
#header .span3 {width: 100%;}

#featured-right {
height: 350px !important;
}

#featured-left p {
	font-size: 15px;
}
#above-left {
	height: 190px;
	font-size: 12px;
}

#left {
	font-size: 12px;
}

#above-left .afs-button,
#left .afs-button {
	font-size: 12px;
	}


#above-right .span2 {
	padding-top: 33px;
	padding-bottom: 34px;
}
#above-left .loanapplication h3,
#left .calculator h3 {

	background: none;
}

}	 
/* Landscape phone to portrait tablet
-----------------------------------*/
@media (max-width: 767px) {
	body {margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; overflow-x: hidden;}
	.container {padding: 0 20px;}
	.navbar {padding: 0 20px; margin-bottom: 0;}
	#header {text-align: center;}
	#featured-left input#bfCaptchaEntry {
		margin-right: 0;
	}
.dark, .light {
	margin-left: 0;
}

#copyright,
#copyright .pull-right {
	text-align: center;
}
}
/* Landscape phones and down
--------------------------*/
@media (max-width: 480px) {
	body {}
	#featured-left input#bfCaptchaEntry {
		margin-right: 0;
	}
}	
/* Portrait phone
---------------*/
@media (max-width: 320px) {
	body {}	
}


/* Animations - Fade In
---------------*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
	opacity:0;  /* make things invisible upon start */
	-webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
	-moz-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;
	
	-webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
	
	-webkit-animation-duration:1s;
	-moz-animation-duration:1s;
	animation-duration:1s;
}

.fade-in.one {
-webkit-animation-delay: 0.5s;
-moz-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.fade-in.two {
-webkit-animation-delay: 1.0s;
-moz-animation-delay:1.0s;
animation-delay: 1.0s;
}
.fade-in.three {
-webkit-animation-delay: 1.5s;
-moz-animation-delay: 1.5s;
animation-delay: 1.5s;
}
.fade-in.four {
-webkit-animation-delay: 2.0s;
-moz-animation-delay: 2.0s;
animation-delay: 2.0s;
}
.fade-in.five {
-webkit-animation-delay: 2.5s;
-moz-animation-delay: 2.5s;
animation-delay: 2.5s;
}


/*vk changes*/

#main-menu .moduletable.hidden-phone ul.nav.nav-pills li.dropdown.parent:hover ul.dropdown-menu{display: block !important;}
#footer ul.nav.menu {
    padding-left: 20px;
    list-style-type: square;
}

#footer ul.nav.menu > li {
	line-height: inherit;
}

.tp-caption.medium_grey, .medium_grey{    
	padding: 10px !important;
    font-family: Georgia, Times, "Times New Roman", serif !important;
    font-weight: bold !important;
    font-style: italic;
    font-size: 24px !important;
    line-height: 36px !important;
    opacity: 0.9 !important;
}

.bottom-logos{text-align: center;}
.bottom-logos img {
    margin: 2px auto;
    background: #fff;
    border-radius: 5px;
}
.bottom-logos img:last-child {
   /* float: left; */
}

@media(max-width: 1199px){
	.bottom-logos img:last-child {
		float: none;
	}
}


/*calc*/
.VisiCalcClass {
background:url(/staticAssets/calculators/load.gif) 50% 15% no-repeat;
background-size: 80px 80px;
min-width: 750px;
min-height:800px;
margin:0; p
adding:0; }
#Loan_Repayment_Calculator { min-height:750px !important; }
#Borrowing_Power_Calculator { min-height:750px !important; }
#Budget_Planner { min-height:2850px !important; }
#Compound_Interest_Calculator { min-height:850px !important; }
#Credit_Card_Calculator { min-height:900px !important; }
#How_Long_to_Repay_Calculator { min-height:750px !important; }
#Interest_Only_Mortgage_Calculator { min-height:750px !important; }
#Saving_Calculator { min-height:600px !important; }
#Split_Loan_Calculator { min-height:800px !important; }
#Property_Selling_Cost_Calculator { min-height:700px !important; }
#Reverse_Mortgage_Calculator { min-height:1100px !important; }
#Stamp_Duty_Calculator { min-height:800px !important; }
#Mortgage_Switching_Calculator { min-height:1100px !important; }
#Rent_vs_Buy_Calculator{ min-height:1100px !important; }
#Fortnightly_Repayment_Calculator { min-height:900px !important; }
@media screen and (max-width: 767px) {
.VisiCalcClass {
min-width: 100%;
min-height:1250px;
margin:0;
padding:0;}
#Loan_Repayment_Calculator { min-height:1250px !important; }
#Borrowing_Power_Calculator { min-height:1800px !important; }
#Budget_Planner { min-height:5000px !important; }
#Comparison_Rate_Calculator { min-height:1450px !important; }
#Compound_Interest_Calculator { min-height:1200px !important; }
#Credit_Card_Calculator { min-height:1500px !important; }
#Extra_Repayment_Calculator { min-height:1450px !important; }
#Home_Loan_Offset_Calculator{ min-height:1400px !important; }
#How_Long_to_Repay_Calculator { min-height:1250px !important; }
#Interest_Only_Mortgage_Calculator { min-height:1450px !important; }
#Saving_Calculator { min-height:1250px !important; }
#Introductory_Rate_Loan_Calculator{ min-height:1400px !important; }
#Lump_Sum_Repayment_Calculator { min-height:1450px !important; }
#Split_Loan_Calculator { min-height:1550px !important; }
#Loan_Comparison_Calculator { min-height:1800px !important; }
#Property_Buying_Cost_Calculator { min-height:1850px !important; }
#Property_Selling_Cost_Calculator { min-height:1650px !important; }
#Reverse_Mortgage_Calculator { min-height:1900px !important; }
#Stamp_Duty_Calculator { min-height:1250px !important; }
#Mortgage_Switching_Calculator { min-height:2000px !important; }
#Rent_vs_Buy_Calculator{ min-height:2000px !important; }
#Fortnightly_Repayment_Calculator { min-height:2000px !important; }
}
/*End calc*/