/*
Style sheet for Last Time Buyer Mortgages website

Font-weights...
Light:300
Regular:400
Semi-Bold:600
*/

/*Generic Styles*/
body{
	margin:0;
	font-family:"Gibson";
}

h1{
	font-size:35px;
	color:#06bee1;
}
h2{
	font-size:25px;
	color:#7a7d7d;
}

a{
	text-decoration:none;
}

/*Video Styles*/
.video-container-desktop{
	position:absolute;
	right:40px;
	top:0;
}
.video-container-desktop video{
	width:160px;
}

.site-container{
	max-width:1252px;
	margin:0 auto;
}

@keyframes primeButton{
    from {background:rgba(6,190,225,1);}
    to {background:rgba(6,190,225,0.5);}
}
@keyframes primeButtonBack{
    from {background:rgba(6,190,225,0.5);}
    to {background:rgba(6,190,225,1);}
}

@keyframes secondaryButton{
    from {background:rgba(208,207,207,1);}
    to {background:rgba(208,207,207,0.5);}
}
@keyframes secondaryButtonBack{
    from {background:rgba(208,207,207,0.5);}
    to {background:rgba(208,207,207,1);}
}

.btn{
	padding:8px 15px;
	font-weight:600;
	font-size:14px;
	text-transform:uppercase;
	position:relative;
	display:block;
	width:110px;
	margin:10px auto;
	text-align:center;
}
.primary-btn{
	color:#ffffff;
	background:rgba(6,190,225,1);
	animation-name:primeButtonBack;
    animation-duration:1s;
    animation-fill-mode:forwards;
}
.primary-btn:hover{
	animation-name:primeButton;
    animation-duration:1s;
    animation-fill-mode:forwards;
}
.secondary-btn{
	color:#7a7d7d;
	background:rgba(208,207,207,1);
	animation-name:secondaryButtonBack;
    animation-duration:1s;
    animation-fill-mode:forwards;
}
.secondary-btn:hover{
	animation-name:secondaryButton;
    animation-duration:1s;
    animation-fill-mode:forwards;
}

/*Top Bar*/
.top-bar{
	background:#06bee1;
	padding:10px 0;
	text-align:center;
	color:#ffffff;
	font-weight:600;
	font-size:14px;
}
.top-bar a{
	color:#ffffff;
}

/*Main Menu - Desktop*/
.main-menu-mobile{
	display:none;
}
.mobile-icon{
	display:none;
}
.main-menu-desktop{
	background:#ffffff;
	padding:20px 0;
	height:40px;
	display:flex;
}
.main-menu-desktop ul{
	list-style:none;
	margin:25px 0;
	padding:0;
}
.main-menu-desktop li{
	float:left;
	margin-right:20px;
	text-align:center;
	transition: .25s ease;
}
.main-menu-desktop .main-logo-list{
	margin-right:0;
	padding:0 20px;
	width:150px;
}
.main-menu-desktop li:nth-child(1), .main-menu-desktop li:nth-child(2){
	margin-right:38px;
}
.main-menu-desktop li:nth-child(3){
	margin-right:0;
}
.main-menu-desktop li:last-child{
	margin-right:0;
}
.main-menu-desktop li>a{
	color:#06bee1;
	font-weight:600;
	text-transform:uppercase;
	font-size:14px;
}
.main-menu-desktop li>a>img{
	position:relative;
	width:150px;
	margin-top:-28px;
	z-index:2;
}

/*Main Header*/
.base-header{
	position:relative;
	margin-top:100px;
	height:600px;
}
.header-bg{
	position:relative;
	height:100%;
}
.header-bg:before{
	content:"";
	position:absolute;
	top:0;
	height:100%;
	width:100%;
	background:linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,0) 100%);
	z-index:1;
}
.base-header .header-bg>img{
	width:100%;
	height:100%;
	object-fit:cover;
}

.header-content-container{
	position:absolute;
	z-index:2;
	top:0;
	left:0;
	right:0;
	margin:auto;
}
.white-box{
	position:absolute;
	width:250px;
	background:#ffffff;
	text-align:center;
	padding:15px;
	top:50px;
}
.white-box .box-heading{
	display:block;
	font-size:25px;
	font-weight:600;
	color:#7a7d7d;
	margin-bottom:40px;
}
.white-box .box-sub-heading{
	display:block;
	color:#06bee1;
	font-weight:600;
	font-size:25px;
	margin-bottom:40px;
}
.white-box .small-box-heading{
	margin-bottom:20px;
}
.left-box{
	left:40px;
}
.right-box{
	right:40px;
}
.centre-box{
	left:0;
	right:0;
	margin:auto;
}
.circle-image-container{
	width:75px;
	height:75px;
	border-radius:50%;
	margin:0 auto;
	margin-bottom:20px;
}
.circle-image-container img{
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:50%;
}

/*Introduction Section*/
.site-info-section{
	position:relative;
	margin:0 40px;
	height:440px; /*CHANGE TO 540px for screens 110px and lower*/
}
.site-info-section .info-content-container{
	float:left;
	width:45%;
	color:#7a7d7d;
	font-size:14px;
	font-weight:300;
	margin-bottom:40px;
}
.site-info-section .left-content{
	margin-right:5%;
}
.site-info-section .right-content{
	margin-left:5%;
}

/*Image Spacer*/
.image-spacer{
	position:relative;
	width:100%;
	height:400px;
}
.image-spacer img{
	position:absolute;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
}

/*Categories Section*/
.categories-section{
	display:inline-block;
	margin:20px 0;
}
.categories-section ul{
	list-style:none;
	padding:0;
	border:0;
}
.categories-section li{
	float:left;
	width:24%;
	margin-right:1%;
	text-align:center;
	margin-bottom:10px;
	height:200px;
}
.categories-section li:nth-child(4), .categories-section li:last-child{
	margin-right:0;
}
.categories-section li p{
	color:#7a7d7d;
	text-transform:uppercase;
	font-weight:600;
	font-size:14px;
}
.categories-section img{
	width:55%;
	height:55%;
	object-fit:contain;
}

/*CTA Section*/
.call-to-action-section{
	position:relative;
	height:400px;
}
.call-to-action-section:before{
	content:"";
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	background: linear-gradient(to left, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%);
	z-index:1; 
}
.cta-image-container{
	width:100%;
	height:100%;
}
.cta-image-container img{
	width:100%;
	height:100%;
	object-fit:cover;
}

.cta-content-container{
	position:absolute;
	top:60px;
	right:40px;
	z-index:2;
}
.cta-box{
	position:absolute;
	right:0px;
	top:0px;
	width:425px;
	background:#7a7d7d;
	color:#ffffff;
	padding:15px;
}
.cta-box .cta-button-group{
	float:right;
}
.cta-box .cta-button-group>.btn{
	display:inline-block;
	margin-bottom:0;
}
.cta-box .cta-button-group>.secondary-btn{
	margin-right:10px;
}

/*Testimonial Section*/
.pre-testimonial-section{
	display:inline-block;
	position:relative;
	width:100%;
	height:130px;
	margin-top:50px;
}
.pre-testimonial-box{
	position:absolute;
	height:100%;
	color:#7a7d7d;
	font-weight:600;
	text-align:center;
	top:0;
}
.pre-testimonial-section>.left{
	left:40px;
}
.pre-testimonial-section>.right{
	right:40px;
	font-size:13px;
}
.pre-testimonial-icon{
	position:absolute;
	left:0;
	right:0;
	margin:auto;
	width:75px;
}
.pre-testimonial-icon img{
	width:100%;
}

.testimonial-section h2{
	color:#06bee1;
	text-align:center;
	font-size:35px;
	margin-bottom:70px;
}
.testimonial-section-container{
	display:inline-block;
	margin-bottom:60px;
}
.testimonial-section-container ul{
	list-style:none;
	padding:0;
}
.testimonial-section-container li{
	float:left;
	width:30%;
	margin-right:1.665%;
	margin-left:1.665%;
	text-align:center;
}
.testimonial-section-container li>img{
	width:150px;
	height:150px;
	border-radius:50%;
	margin:0 auto;
	object-fit:cover;
}
.testimonial-section-container p{
	color:#7a7d7d;
	font-size:14px;
	margin-bottom:5px;
}
.testimonial-section-container .read-more-btn{
	text-transform:uppercase;
	color:#06bee1;
	font-weight:bold;
	font-size:14px;
}

/*Pre-Footer Section
.pre-footer{
	background:#7a7d7d;
	color:#ffffff;
	padding:40px;
	column-count:3;
}
.pre-footer h3{
	margin:0 0 10px 0;
}
.pre-footer ul, .social-media-bar ul{
	margin:0;
	list-style:none;
	padding:0;
}
.pre-footer li:last-child{
	margin-bottom:30px;
}
.pre-footer a{
	color:#ffffff;
	font-size:14px;
}*/

/*Social Media Bar*/
.social-media-bar{
	background:#d0cfcf;
	display:inline-block;
    width:100%;
    text-align:center;
    padding:32px 0;
}
.social-media-bar ul{
	display:flex;
    justify-content:center;
    padding-left:0;
}
.social-media-bar li{
	display:block;
	margin-right:20px;
	width:60px;
	float:left;
}
.social-media-bar li:last-child{
	margin-right:0;
}
.social-media-bar img{
	width:100%;
}

/*Single Pages*/
.single-header{
	height:400px;
	margin-top:50px;
}
.single-header .single-title-box{
	position:absolute;
	left:0;
	right:0;
	/*top:0; ADD WITH JS*/ 
	margin:auto;
	width:500px;
	background:rgba(255,255,255,0.8);
	z-index:1;
	text-align:center;
	padding:25px;
}
.single-header .single-title-box>h1{
	margin-top:0;
}

.single-page-container{
	margin:40px auto;
	width:90%;
}

/*About Page*/
.single-page-text-container{
	column-count:2;
	color:#7a7d7d;
	font-weight:300;
}
.single-page-text-container h3:first-child{
	margin-top:0;
}
.single-page-text-container a{
	color:#7a7d7d;
}
.single-page-text-container img{
	width:100%;
}

/*Rates Page*/
.single-page-container h2{
	text-align:center;
}
.single-page-container iframe{
	width:100%;
	height:1000px;
}

/*Calculator Page*/
.calculator-scripts .calc-link-heading{
	display:block;
	text-align:center;
	font-size:25px;
	margin-bottom:20px;
}
.calculator-scripts, .calculator-scripts a{
	color:#7a7d7d;
    font-size:14px;
}
.calculator-scripts .calc-disclaimer{
	text-align:center;
}

/*Footer Section*/
.prime-footer{
	text-align:center;
}
.prime-footer .primary-btn{
	color:#ffffff;
}
.prime-footer img{
	margin-top:50px;
	width:175px;
}
.prime-footer .footer-content{
	font-size:14px;
	color:#7a7d7d;
	width:90%;
	margin:30px auto 10px auto;
	font-weight:400;
}
.prime-footer a{
	color:#7a7d7d;
	font-size:14px;
}

.read-more-btn{
	display:none;
}


/*MOBILE STYLES...*/

/*Main Menu - Mobile*/
@media only screen and (max-width: 1090px) {
	.main-menu-desktop{
		display:none;
	}
	.main-menu-mobile{
		display:block;
	}

	.mobile-menu-logo{
		display:block;
		position:absolute;
	    left:40px;
	    top:52px;
	}
	.mobile-menu-logo>img{
		width:100px;
	}

	.mobile-icon{
		display:block;
		position:absolute;
		right:40px;
		top:54px;
		width:50px;
		height:50px;
		border-radius:50%;
		background:#06bee1;
		cursor:pointer;
	}
	.mobile-icon .icon-line{
		font-size:0;
		position:absolute;
		background:#ffffff;
		height:2px;
		width:25px;
		left:0;
		right:0;
		top:0;
		bottom:0;
		margin:auto;
	}
	.mobile-icon .icon-line:before{
		content:"";
		position:absolute;
		background:#ffffff;
		bottom:8px;
		height:2px;
		width:25px;
		left:0;
		right:0;
		margin:auto;
	}
	.mobile-icon .icon-line:after{
		content:"";
		position:absolute;
		background:#ffffff;
		top:8px;
		height:2px;
		width:25px;
		left:0;
		right:0;
		margin:auto;
	}

	.main-menu-mobile ul{
		display:none;
		position:absolute;
		list-style:none;
		background:#ffffff;
		top:135px;
		left:0;
		right:0;
		margin:auto;
		padding:40px 40px 25px 40px;
		z-index:4;
		text-align:center;
	}
	.main-menu-mobile li{
		margin-bottom:10px;
	}
	.main-menu-mobile li>a{
		color:#06bee1;
	}

	.video-container-desktop{
		display:none;
	}
	.video-container-mobile{
		position:relative;
    	margin:10px auto;
    	display:block;
    	width:200px;
	}
	.video-container-mobile video{
		width:80%;
    	margin-left:40px;
	}
}

/*Main Header - Mobile*/
@media only screen and (max-width: 978px) {
	.base-header{
		margin-top:10px;
		height:936px;
	}
	.left-box, .right-box{
		left:0;
		right:0;
		margin:auto;
	}
	.left-box{
		top:0px;
	}
	.centre-box{
		top:270px;
	}
	.right-box{
		top:660px;
	}
	.site-info-section{
		height:540px;
	}
}

@media only screen and (max-width: 543px) {
	.single-header{
		height:420px;
	}
	.single-header .single-title-box{
		width:100%;
		padding:25px 0;
	}
}

@media only screen and (max-width: 530px) {
	.mobile-icon{
		top:74px;
	}
}

@media only screen and (max-width: 500px) {
	.video-container{
		width:160px;
	}
}

@media only screen and (max-width: 460px) {
	h1{
		font-size:25px;
	}
	h2{
		font-size:18px;
	}

	.site-info-section .info-content-container{
		height:360px;
		overflow-y:hidden;
	}
	.expand-section{
		height:1080px;
	}
	.site-info-section .expand-text{
		height:900px;
	}

	.read-more-btn{
		display:inline-block;
    	margin:0px 80px;
	}

	.categories-section li{
		width:49%;
	}

	.cta-box{
		width:294px;
	}

	.pre-testimonial-section{
		height:270px;
	}
	.pre-testimonial-section>.left{
		left:0;
		right:0;
	}
	.pre-testimonial-icon{
		top:70px;
	}
	.pre-testimonial-section>.right{
		top:154px;
	}

	.testimonial-section h2{
		margin-bottom:45px;
	}

	.testimonial-section li{
		width:90%;
		margin-left:20px;
		margin-bottom:20px;
	}
}