/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
	margin-left: 15px;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: right;
	margin-bottom: 1em;
	width:auto;
	clear: both;
	text-align: right;
}

.sf-menu > li:last-child > a {
	/*padding-right: 0;*/
}

.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
  background: #222;
  text-align: left;
}
.sf-menu a {
	padding: 10px 15px;
	border:0;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #f1f1f1;
	color: rgba(255,255,255,.67);
	text-transform: uppercase;
}


.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul li {

}
.sf-menu ul ul li {

}
.sf-menu li:hover,
.sf-menu li.sfHover {

	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}


/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
    content: "\f107";
    position: absolute;
    right: 1px;
    font-family: FontAwesome;
    font-size: 13px;
}


.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
    position: absolute;
    right: 5px;
    font-family: FontAwesome;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}
/* Mortgage Calculator */

.mortgage-calculator {
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

.pagetitle {
	padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
    font-size: 40px;
	margin-bottom: 0;
}

.calc-wrapper {
	background: #f5f5f5;
	padding: 20px;
	overflow: hidden;
    margin-top: 70px;
}

.calc-form-wrapper,
.result-wrapper {
	width:100%;
	float:none;
	display: block;
	overflow: hidden;
	clear:both;
	margin-bottom: 30px;
}

.result-wrapper {
	background: #003e7e;
	color: #fff;
	padding: 25px 35px;
}

@media only screen and (min-width:768px) {

	.calc-form-wrapper,
	.result-wrapper {
		width:50%;
		display: block;
		overflow: hidden;
		margin-bottom: 0;
		clear:none;
	}

	.calc-form-wrapper {
		float: left;
	}

	.result-wrapper {
		float: right;
	}

	.calc-form-wrapper {
		padding-right: 60px;
	}
}

/*
    Date: 09/03/2021
*/

.field-single label {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-top: 20px;
}

#mt_calculator select {
    width:100%;
    height: 60px;
    border:0;
    background: #fff;
    padding:10px 7px;
}

p.desc {
    margin-bottom: 10px;
}

#mt_calculator input[type="text"],
#mt_calculator input[type="number"] {
    width:100%;
    height: 60px;
    border:0;
    background: #fff;
    padding:10px 7px;
}

/* 
input#purchase_price {
    width: 100%;
    padding-right: 15px;
}

input#borrowing_percentage {
    width: 100%;
    padding: 30px 15px;
}

input#interest_rate {
    width: 100%;
    padding: 30px 15px;
    font-size: 14px;
}

input#term_years {
    width: 100%;
    padding: 30px 15px;
    margin-bottom: 30px;
} */

input#calc_submit {
    width: 100%;
    padding: 15px 10px;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: 0.3s;
    height: 80px;
    text-transform: inherit;
    margin-top: 30px;
    font-weight: bold;
}

input#calc_submit:hover,
input#calc_submit:focus {
    background: #f79239;
}

/* right side */

div#calc_ajaxify {
    padding: 0 20px;
}

.result-single p {
    font-size: 20px;
    padding-bottom: 5px;
}

.result-single span {
    font-size: 14px;
}

p.result {
    border-bottom: 1px solid;
    font-size: 30px;
    padding-bottom: 30px;
    font-weight: 700;
}

.calc-note {
    padding-left: 20px;
    padding-bottom: 30px;
    padding-top: 10px;
}

.more-info {
    background: #0A355A;
    padding: 20px 25px;
}

.more-info p {
    font-size: 18px;
    font-weight: 500;
}

.more-info li {
    padding-top: 20px;
}

.more-info ul li>span {
    color: #f79239;
}

.contact-info-calc {
    margin-top: 40px;
}

.contact-info-calc a {
    width: 80%;
    display: block;
    margin: 0 auto;
    background: #fff;
    text-align: center;
    border-radius: 50px;
    transition: 0.3s;
    font-size:18px;
    color: #003e7e;
    font-weight: bold;
    height: 80px;
    line-height: 80px;
}

.contact-info-calc a:hover,
.contact-info-calc a:focus {
    color: #fff;
    background: #f79239;
}

.showcase-content {
    max-width: 100%;
}

/* Responsive from here */

@media screen and (max-width: 480px) {
    .result-wrapper {
        padding: 20px 0;
    }
    input#calc_submit {
        padding: 20px;
    }
  }

  @media screen and (max-width: 767px) {
    .contact-info-calc {
        margin-top: 40px;
    }
  }

  @media screen and (max-width: 906px) {
    .contact-info-calc {
        margin-top: 30px;
    }
  }

  @media screen and (min-width: 907px) and (max-width: 1013px) {
    .contact-info-calc {
        margin-top: 48px;
    }
  }

  body .select2-container--open .select2-dropdown {
      top:32px;
  }

  @media only screen and (max-width: 991px) {
    body div#showcase {
        height: 550px;
    }
  }

  @media only screen and (max-width: 767px) {
    body div#showcase {
        height: 465px;
    }

    body #showcase h1 {
        font-size: 30px;
    }
  }

  @media only screen and (max-width: 480px) {
    body div#showcase {
        height: 400px;
    }

    body button#c-button--slide-left {
        padding:13px;
    }

    body a.codexin_btn  {
        min-width:120px;
    }
  }