﻿html {
	background: url(../Content/background.jpg) no-repeat;
	background-position: center top;
	background-attachment: fixed;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	-webkit-background-size: 100%;
	background-size: 100%;
	background-size: cover;

	height: 100%;
	overflow: hidden;
}

body {
	background: none;
	
	height: 100%;
	overflow-y: scroll; /* has to be scroll, not auto */
	-webkit-overflow-scrolling: touch;

	font-family: "utopia-std", sans-serif;
	font-size: 18px;
	line-height: 24px;
	position: static;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "utopia-std",sans-serif;
}

h1 {
	font-size: 32px;
	font-weight: normal;
	line-height: 32px;
}

h2,
h3,
h4 {
	font-weight: bold;
	margin: 0;
}

h2 {
	font-size: 22px;
}

h3,
h4 {
	font-size: 20px;
}

p {
	margin: 11px 0 0 0;
}

i {
	font-size: 14px;
}

a {
	color: #000;
	text-decoration: none;
}

fieldset legend {
	background: inherit;
}

a:hover {
	color: #000;
	text-decoration: underline;
}

fieldset {
	border: 0;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
button,
.button,
select {
	border-radius: 5px;
}

button,
.button {
	background: #f5822a;
}

button:hover,
.button:hover,
button:focus,
.button:focus {
	background: #d06e24;
}

button.green,
.button.green {
	background: #8dc63f;
}

button.green:hover,
.button.green:hover,
button.green:focus,
.button.green:focus {
	background: #74a334;
}

button.green,
.button.green {
	color: #fff;
}

.darkgreen {
	color: #5f852a;
}
/* wrapper */

#layout-wrapper {
	margin: 0 20px 50px 20px;
}

#layout-wrapper-center {
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
}

/* colors */

.green	{ color: #8dc63f;}
.orange { color: #f5822a;}
.icons	{ color: #3e3c3b;}


/* navigation */

.widget-navigation {
	display: inline-block;
}

#layout-navigation {
	position: absolute;
	right: 0;
	z-index: 2;
	top: 0;
}

#layout-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#layout-navigation ul li {
	display: inline;
	margin: 0 15px;
}

#layout-navigation ul li.first {
	margin-left: 0;
}

#layout-navigation ul li.last {
	margin-right: 0;
}

#layout-navigation ul li.current {
	text-decoration: underline;
}

#mobile-navigation {
	display: none;
}

#userNavigation {
	display: inline-block;
	position: relative;
	padding: 20px;
	padding-bottom: 0;
	padding-top:0;
	border-top-right-radius: 20px;
}

#userNavigation.signed-in {
	cursor: pointer;
}

#userNavigationIcon {
	background: url('../Content/sprite.png') -43px -186px no-repeat;
	height: 23px;
	width: 15px;
	margin-right: 5px;
	position: relative;
	top: 5px;
}	

.user-menu-wrapper {
	display: none;
	position: absolute;
	right: 0;
	min-width: 100%;
	background: #f1f0dd;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#userNavigation ul li {
	display: block;
	text-align: center;
	margin: 0;
}

#userNavigation ul li:hover,
#userNavigation ul li:focus {
	background: #dadada;
}

#userNavigation ul li:last-of-type {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#userNavigation.visible .user-menu-wrapper {
	display: block;
}

.user-menu-wrapper a {
	display: block;
	padding: 10px 40px;
}

/* brand */

#layout-brand {
	margin-left: 90px;
	max-width: 150px;
	max-height: 145px;
	padding-top: 50px;
	margin-bottom: 85px;
}

#layout-brand img {
	height: 100%;
	width: 100%;
	max-width: 150px;
	max-height: 143px;
}

/* phone */

#layout-phone {
	width: 100%;
	max-width: 264px;
	height: 75px;
}

#layout-phone .zone-phone p {
	margin-left: 75px;
}

#layout-phone.box {
	padding: 0;
}

.phone-icon {
	position: absolute;
	margin: 7px 0 0 20px;
	background: url('../Content/sprite.png') -18px -613px no-repeat;
	height: 38px;
	width: 35px;
}

/* Footer */

#layout-footer {
	margin-top: 80px;
	width: 100%;
	background: rgba(255, 255, 255, 0.8);
	padding: 40px 20px;
	text-align: center;
}

/* content wrapper */

#layout-content-wrapper {
	padding: 0;
}

#layout-content {
	padding: 40px;
}

.zone-messages {
	margin-bottom: 20px;
}

.message-Information,
.message-Warning,
.message-Error {
	font-style: italic;
}

.message-Warning,
.message-Error {
	color: red;
}

#layout-after-content {
	padding: 0;
	padding-bottom: 40px;
}

#layoutAfterContentFooter {
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#layoutAfterContentFooter a {
	margin: 0;
	padding: 5px 0;
	display: block;
	color: #f5822a;
}

/* loan */

#loanConfirmWrapper,
#loanWrapper {
	margin-top: 0;
	background: #fff;
}

#loanWrapper {
	padding: 0;
}

#layout-loan header {
	padding: 40px 40px 17px 40px;
	background: url('../Content/white-bg.png') repeat;
	border-top-right-radius: 20px;
}

#loan-icon {
	background: url('../Content/sprite.png') -23px -218px no-repeat;
	height: 55px;
	width: 54px;
	margin-top: -10px;
	margin-left: -5px;
}

.widget-loan .icon-header .icon-title {
	top: auto;
}

.no-margin {
	margin: 0;
}

.margin-bottom {
	margin-bottom: 20px;
}

#loanFormWrapper {
	background: #ebebeb;
	padding-top: 1rem;
	padding-bottom: 65px;
}

.loan-content {
	padding: 0 40px;
}

.loan-content label {
	display: inline-block;
}

.loan-content button[type="submit"] {
	width: 100%;
}

.slider-field-wrapper {
	text-align: right;
	margin-bottom: 1rem;
}

.input-addon {
	cursor: default;
}

.spinner-desc-left,
.spinner-desc-right {
	margin: 20px 20px;
	font-weight: bold;
}

.spinner-desc-left {
	float: left;
	margin-right: 0;
}

.spinner-desc-right {
	float: right;
	margin-left: 0;
}

.refinance-title {
	display: inline-block;
	margin: 7px 0;
}

.refinance-radio-wrapper {
	display: inline-block;
	float: right;
	clear: both;
	margin-bottom: 20px;
}

#loanSummaryInput {
	padding-top: 10px;
	padding-bottom: 10px;
}

.green-bold {
	color: #8dc63f;
	font-weight: bold;
}

#loanSummaryCalculated {
	padding-top: 20px;
	padding-bottom: 20px;
}

.green-bold.large {
	font-size: 30px;
}

#loanSummaryCalculated small {
	display: block;
}

/* contact & blog wrapper*/

#layout-contact-blogs-wrapper {
	padding: 0;
}

.widget-contact,
.chat,
#layoutBlogsContainer {
	padding: 40px;
}

.widget-contact {
	padding-bottom: 0;
}

#layout-contact {
	background: rgba(255, 255, 255, 0.7);
	border-top-right-radius: 20px;
}

#layout-contact.contact-only {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#layout-contact hr {
	margin-top: 40px;
	margin-bottom: 20px;
}

.chat {
	padding-top: 0;
	padding-bottom: 26px;
}

/* contact */

.chat-icon {
	background: url('../Content/sprite.png') -28px -281px no-repeat;
	height: 42px;
	width: 45px;
	vertical-align: top;
}

.chat .content {
	display: inline;
}

.chat h2 {
	display: inline-block;
	margin: 0;
	padding-top: 5px;
}

.chat-online {
	display: none;
}

.chat-online.show {
	display: block;
}

.chat-status-online {
	background: url('../Content/sprite.png') -23px -589px no-repeat;
	height: 13px;
	width: 13px;
	margin-right: 5px!important;
}

.chat-offline {
	margin-top: 10px;
	display: none;
}

.chat-offline.show {
	display: block;
}

#livechat-compact-container {
	display: none;
}

/* blogs wrapper */

#layoutBlogsContainer {
	padding-top: 26px;
	padding-bottom: 0;
}


#blog-icon {
	background: url('../Content/sprite.png') -24px -333px no-repeat;
	height: 51px;
	width: 53px;
}

.blog-posts,
.widget-blogs ul {
	list-style: none;
	margin: 0;
}

.blog-posts .published,
.widget-blogs .published {
	font-weight: bold;
}

.blog-post {
	margin-top: 30px;
}

.blog-post .summary-header {
	font-weight: bold;
}

.last .blog-post {
	margin-bottom: 30px;
}

.first .blog-post {
	margin-top: 20px;
}

.blog-post p:first-of-type {
	margin-top: 0;
}

#layoutAfterBlogs {
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#layoutAfterBlogs a {
	margin: 0;
	padding: 5px 0;
	display: block;
	color: #f5822a;
}

/* application */

/* other */

.box {
	padding: 40px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 20px;
	border-top-left-radius: 0;
	margin: 10px 0;
}

.border-horizontal {
	height: 15px;
	background: url(../Content/grey-bg.png);
}

.desktop-only,
.tablet-only,
.mobile-only {
	display: none;
}


#layout-column-left,
#layout-loan,
#layout-column-right {
	display: inline-block;
	vertical-align: top;
}

.icon {
	display: inline-block;
	margin-right: 20px;
}

.icon-header {
	position: relative;
}

.icon-title {
	margin: 0;
	display: inline-block;
	position: absolute;
	top: 13px;
}

hr {
	border: 0;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #fdfdfd;
	margin: 20px 0;
}

hr.no-margin-top {
	margin-top: 0;
}

hr.no-margin-bottom {
	margin-bottom: 0;
}

#mediaQueryWidth {
	display: none;
}

/*radio*/
input[type=radio] {  
	display: none;  
}  

input[type=radio] + label:after {
	content: "";  
	display: inline-block;  
  
	width: 25px;  
	height: 25px;
	margin-right: 10px;  
	position: relative;  
	top: 8px;
	left: 8px; 
	background: url('../Content/sprite.png') -23px -554px no-repeat;
}

input[type=radio]:checked + label:after {  
	background: url('../Content/sprite.png') -23px -519px no-repeat; 
}

/* aftercontent */
.after-content-item-wrapper {
	background: rgba(241, 240, 221, 0.7);
	border-bottom: 1px solid #dadada;
	min-height: 80px;
	max-height: 80px;
}

.after-content-item-wrapper.expand {
	max-height: none;
}

.after-content-item-wrapper header {
	padding: 26px 40px 10px 40px;
	cursor: pointer;
	white-space: nowrap;
}

.after-content-item-wrapper .icon {
	background: url('../Content/sprite.png') -23px -394px no-repeat;
	margin: 0;
	height: 28px;
	width: 28px;
	float: right;
}

.after-content-item-wrapper.expand .icon {
	background: url('../Content/sprite.png') -23px -432px no-repeat;
}

.after-content-item-wrapper header h1 {
	margin: 0;
	display: inline-block;
	font-size: 24px;
}

.after-content-item-wrapper .content {
	display: none;
	padding: 0 40px 26px 40px;
}

.after-content-item-wrapper .fade-layer {
	opacity: 0;
}

/* page-specific styles */

/* logon */

#logon-icon {
	background: url('../Content/sprite.png') -32px -120px no-repeat;
	height: 56px;
	width: 38px;
}

.logon-header {
	position: relative;
}

.login-form {
	text-align: right;
}

.login-form label {
	display: inline-block;
	text-align: left;
}

.login-form .primaryAction {
	margin-top: 10px;
	padding: 10px 50px;
}

.logon-no-account {
	font-style: italic;
}

.logon-username-wrapper {
	margin-bottom: 1rem;
}

.login-form a {
	font-size: 10pt;
}

/* forms */

.field-wrapper {
	display: inline-block;
	padding-right: 10px;
	vertical-align: top;
	margin-bottom: 1rem;
	float: left;
	width: 50%;
}

.field-wrapper.no-margin {
	margin: 0;
}

.field-wrapper.small {
	width: 25%;
}

.field-wrapper.full-width {
	width: 100%;
}

label {
	margin-bottom: 0;
}

input[type="text"].input-validation-error,
.input-validation-error {
	border: red solid 1px;
}

input[type="checkbox"].input-validation-error {
	outline: red solid 1px;
}

.field-validation-error {
	color: red;
	font-size: 0.875rem;
	display: block;
}

input[type="text"],
select {
	margin-bottom: 0;
}

/* reveal modal */

.reveal-modal {
	background: #fff;
	border-radius: 20px;
	border-top-left-radius: 0;
	-moz-box-shadow: 0 3px 7px rgba(0,0,0,.25);
	-webkit-box-shadow: 0 3px 7px rgba(0,0,0,.25);
	box-shadow: 0 3px 7px rgba(0,0,0,.25);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}