/*

Theme Name: Happy Theme
Theme URI: http://yourHappyMedium.com/
Author: Happy Medium
Author URI: http://yourHappyMedium.com/
Description: All of our custom modifications to X in this child theme.
Version: 1.1.2
Template: x

*/
/*********
TOC
-Typography
	font-family: 'Montserrat', sans-serif;
-General
-Header
-Footer
-Homepage
-Form
*********/


/************
Typography */
#top h1 {
    font-size: 24px;
    font-weight: 400;
}
#top h2 {
    font-size: 24px;
    color: #646464;
    margin: 0 0 30px;
}
#top .alternate_color h1, #top .alternate_color h2, #top .alternate_color h3, #top .alternate_color p {
    color: #fff;
}
.white-font, .white-font h1, .white-font h2, .white-font h3, .white-font p {
    color: #fff;
}
/************
General */
body {
    background-color: #ffffff !important;
}
.subHeaderMenu {
    background-color: #00b050 !important;
    padding: 50px 0px !important;
}
.x-brand {
    width: 250px;
    background-image: url(/wp-content/uploads/2019/05/white-logo.png) !important;
    height: 53px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    color: #ffffff !important;
}
body.blog-post-single .x-brand {
    background-image: url(/wp-content/uploads/2019/07/blog-header-logo-white.png) !important;
}
.hero-section {
    min-height: calc(75vh);
    display: flex;
    align-items: flex-start;
    padding-top: 20% !important;
}
#top .x-btn, #top .button, #top [type="submit"] {
    text-shadow: none;
    text-transform: uppercase;
    padding: 20px 40px;
    min-width: 220px;
    font-size: 12px;
    font-weight: bold;
}
#top .x-btn + .x-btn {
    margin-left: 35px;
}
.right-angle-bullets ul {
    list-style: none;
}
.right-angle-bullets li {
    position: relative;
    margin-bottom: 15px;
}
.right-angle-bullets li::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    color: #00b050;
    margin-right: 5px;
}
.eacs-testimonial-content {
    position: relative;
    padding: 20px 80px;
}
.eacs-testimonial-content::before, .eacs-testimonial-content::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f10d";
    color: #646464;
    font-size: 50px;
    margin-right: 5px;
    position: absolute;
    left: 0;
    top: 0;
}
.eacs-testimonial-content::after {
    left: initial;
    right: 0;
    content: "\f10e";
}
.eacs-testimonial-image {
    display: none;
}
.eacs-testimonial-content .eacs-testimonial-user, .eacs-testimonial-content .eacs-testimonial-user-company {
    float: none;
}
.eacs-testimonial-content .eacs-testimonial-user {
    font-weight: bold;
}
#top .slick-dots li.slick-active button:before {
    color: #fff !important;
}
#top .accordionMore .x-accordion-group {
    border: none !important;
    box-shadow: none !important;
}
#top .accordionMore .x-accordion-heading .x-accordion-toggle {
    background-color: transparent !important;
    font-family: 'Montserrat', sans-serif;
    color: #646464;
    font-size: 1em;
    font-weight: bold;
}
#top .accordionMore .x-accordion-inner {
    background-color: transparent !important;
    font-weight: normal;
    text-align: left;
}

@media screen and (min-width: 767px) {
.site .content .x-section {
    padding: 160px 0 160px 0;
}
.site .content .no-section-padding {
    padding: 0;
}
.no-section-padding .x-column {
    padding: 130px 70px;
}
}

@media screen and (max-width: 767px) {
#top .x-btn + .x-btn {
    margin: 15px auto;
}
}
/*********
Header */
.x-navbar {
    position: absolute;
    width: 100%;
    top: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
}
.x-navbar-wrap {
    position: relative;
    z-index: 9000;
}
/* Enable Mobile Navbar on Desktop */
.x-navbar .x-nav-wrap .x-nav > li > a {
    border: none;
    padding-left: 20px;
}
.x-navbar .desktop {
    display: none !important;
}
.x-navbar .x-btn-navbar {
    display: inline-block;
    float: right;
    color: #fff;
    background: transparent;
    box-shadow: none;
}
.x-navbar .x-icon-bars::before {
    font-size: 1.5em;
}
.x-btn-navbar.collapsed:hover {
    color: #fff;
    background: transparent;
    box-shadow: none;
}
.x-nav-wrap.mobile.collapse.in {
    display: block;
}
.x-nav-wrap.mobile.collapse {
    display: none;
}
.x-nav-wrap.mobile {
    display: block;
    background: rgba(255, 255, 255, 0.75);
}
.x-navbar-inner .x-container.max {
    max-width: 100% !important;
}
/* Search Icon */
.cta-by-menu {
    display: inline-block;
    float: right;
    /*     margin-top: 37px; */
    margin-top: 18px;
}
.cta-by-menu a {
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
.cta-by-menu a:hover {
    color: #00b050;
}
.cta-by-menu a + a {
    margin: 0 20px;
}
.cta-by-menu label {
    width: 75%;
    float: left;
    margin-right: 10px;
}
.cta-by-menu input[type="search"] {
    width: 100%;
}
#top .cta-by-menu [type="submit"] {
    padding: 7px 20px;
    min-width: inherit;
}
.spicewpsearchform {
    display: block;
    width: 500px;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 1px;
    z-index: 9999;
    background: rgba(255, 255, 255, .8);
    padding: 20px;
}
#spicewpsearchform input[type="text"] {
    width: 78%;
    height: auto;
    border: 1px solid #5ca2df;
    padding: 11px 12px;
    border-radius: 0px !important;
}
#spicewpsearchform input[type="submit"] {
    line-height: 1;
    padding: 14px 20px;
    border-radius: 0px;
    height: auto;
    font-size: 15px;
    display: inline-block;
    border: 1px solid #5ca2df;
}
#spicewpsearchform:before {
    border-color: transparent transparent #d05353;
    border-style: solid;
    border-width: 0.5em;
    content: "";
    display: block;
    position: absolute;
    right: 22px;
    top: -20px;
    z-index: 10;
}

@media screen and (max-width: 767px) {
.spicewpsearchform, .cta-by-menu label {
    width: 100%;
}
#top .cta-by-menu [type="submit"] {
    float: right;
}
}
/*********
Footer */
.x-colophon {
    background-color: #2d3034;
    color: #fff;
}
#top .x-colophon a {
    color: #fff;
}
.x-colophon.top .x-column.x-1-4 {
    width: 15%;
}
.x-colophon.top .x-column.x-1-4:first-of-type {
    width: 43%;
}
.x-colophon .textwidget {
    font-size: 12px;
    font-weight: 400;
    text-shadow: none;
}
.x-colophon .textwidget ul {
    list-style: none;
}
.h-widget {
    color: #fff;
    text-shadow: none;
    font-size: 14px;
}
.x-colophon.bottom {
    text-align: left;
    box-shadow: none;
    border: none;
}
#menu-footer-menu li {
    padding-right: 10px;
    border-right: 1px solid #fff;
    margin-bottom: 5px;
}
#menu-footer-menu a {
    color: #fff;
    letter-spacing: 0;
    text-transform: inherit;
}
.x-colophon.bottom .x-colophon-content {
    font-size: 9px;
    letter-spacing: 0;
    color: #fff;
}
.footer-social strong {
    display: block;
}
.footer-social a {
    margin-right: 20px;
}
.footer-social .fab {
    font-size: 20px;
}
#top .x-colophon .x-container.max {
    max-width: 1200px;
}
/*********
Homepage */
.run-numbers-section {
    max-width: 300px;
    margin: 0 auto;
}
.put-good-in-mortgage-row .x-column.x-1-3 {
    background: #e3e2e4;
    padding: 40px 20px;
}
#top .put-good-in-mortgage-row p {
    color: #646464;
}
.get-started-contact {
    font-size: 20px;
}
.get-started-contact div {
    display: inline-block;
    margin: 40px 10px 40px 10px;
    ;
}

@media screen and (max-width: 767px) {
.put-good-in-mortgage-row .x-column.x-1-3 {
    margin: 15px auto;
}
.get-started-contact div {
    margin: 5px auto;
}
.get-started-contact {
    margin-bottom: 90px;
}
.get-started-contact div:nth-of-type(3) {
    font-size: .75em;
}
.fifty-fifty-section .x-column {
    padding: 20px;
}
.fifty-fifty-section .x-column:nth-of-type(1) {
    padding: 100px 20px;
}
.affiliates-section .x-img {
    margin: 0;
    max-width: 50%;
}
}

/* Forms
******************/

@media only screen and (min-width : 900px) {
.form-left-col {
    width: 47%;
    float: left;
    margin-right: 6%;
}
.form-right-col {
    width: 47%;
    float: left;
}
.wpcf7-response-output {
    margin-top: 3em !important;
}
}
#top .mathcaptcha-943 input {
    width: inherit;
}
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden;
    margin-bottom: 10px;
}
.clearfix {
    display: block;
}
.one-half, .one-third {
    position: relative;
    margin-right: 2%;
    float: left;
    margin-bottom: 20px;
}
.one-half {
    width: 48%;
}
.one-third {
    width: 30.66%;
}
.one-forth {
    width: 20.66%;
}
.one-forth {
    position: relative;
    margin-right: 1%;
    float: left;
    margin-bottom: 20px;
}
.last {
    margin-right: 0 !important;
    clear: right;
}

@media only screen and (max-width: 767px) {
.one-half, .one-third, .one-forth {
    width: 100%;
    margin-right: 0;
}
}
select, .site input[type="text"], input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    border-radius: 0;
    height: 48px;
}
textarea {
    border-radius: 0;
}
 body ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
 color: #646464;
 opacity: 1; /* Firefox */
}
 body :-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #646464;
}
 body ::-ms-input-placeholder { /* Microsoft Edge */
 color: #646464;
}
.popForm h4, .popForm p, .popForm div, .popForm span, .popForm .wpcf7-validation-errors {
    color: #646464 !important;
}
.wpcf7-submit {
    font: bold 12px/1em "Montserrat", sans-serif;
    padding: 18px 60px !important;
}
/* End of Forms
******************/


/* Other styles starts */
.top-menu-apply-now {
    padding: 10px 30px!important;
    min-width: 110px !important;
    background-color: transparent !important;
    border: 2px #ffffff solid !important;
}

.sticky-header .top-menu-apply-now {
	background-color: #00b050 !important;
	border: 2px #00b050 solid !important;
}

.cta-by-menu {
    margin-top: 34px;
}
.x-nav-wrap.collapse.in {
    z-index: 1002;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    text-align: center;
    background: #2d3034;
    opacity: 1;
    color: white;
    transition: 0.5s;
}
div.nav_close_icon {
    padding-right: 114px;
    padding-top: 24px;
    display: block;
    text-align: right;
    height: 60px;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}
div.nav_close_icon a {
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
}
#menu-primary-menu-1 li, #menu-blog-menu-1 li {
    height: 60px;
}
#menu-primary-menu-1 li a, #menu-blog-menu-1 li a {
    font-size: 2.8em;
    color: #00b050;
    font-family: 'Montserrat', sans-serif;
    line-height: 0px;
}
#menu-primary-menu-1 li a:hover, #menu-blog-menu-1 li a:hover {
    color: rgba(255,255,255,0.5);
}
.x-navbar .mobile .x-nav {
    margin: 50px 0;
}

@media only screen and (max-width: 480px) {
.x-navbar .mobile .x-nav {
    margin: 5px 0;
}
.cta-by-menu {
    margin-top: 2px;
}
.sticky-header {
    height: 105px !important;
    opacity: 0.95 !important;
}
.top-menu-apply-now {
    min-width: 130px !important;
    display: none !important;
}
#top .alternate_color h3 {
    padding-top: 30px;
}
#menu-primary-menu-1 li a, #menu-blog-menu-1 li a {
    font-size: 2em;
}
}
header {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 !important;
    box-shadow: 0 0 !important;
}
.sticky-header {
    background: #2d3034 !important;
    opacity: 0.95 !important;
}
body.blog-post-single .sticky-header .x-navbar{
	  background: #2d3034 !important;
    opacity: 0.95 !important;
}
section.calculator .ui-widget.ui-widget-content {
    border: 1px solid #d8d8d8 !important;
}
.col-lg-12.center-block.fN {
    margin-top: 30px;
    font-size: .98em;
}
.affiliates-section {
    padding: 40px 0 40px 0 !important;
	text-align: center;
}
.affiliates-section .badge {
    max-width: 110px;
}
body.hidePhoneApply .cta-by-menu{
	display: none;
	
}

/* edit by canwill technology */
.x-video-inner .mejs-mediaelement video.x-mejs {
	min-height:700px;
  object-fit: cover;
}
/* edit by canwill technology */