/*
Black: #080f0f;
Vision Money Text: #16213a;
Vision Money Blue: #05abe9;
White: #fcfcfc;
Gold: #ecce8e;

*/

@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css?family=Anonymous+Pro&display=swap');

body, *{margin:0;}

html{
	font-size:100%;
}

@media only screen and (max-width: 1200px){
	html{
		font-size:80% !important;
	}
	.btd_form div .fieldprefix, .btd_form div .fieldsuffix{
	   padding: 13px 0.9rem!important;
	}
	
	
}

@media only screen and (max-width: 400px){
	html{
		font-size:70%;
	
	}
}

@media only screen and (max-width: 1010px){
	header{grid-template-columns:none !important;}
	header h1, #headercontact{justify-self:center;align-self: center;width:100%;margin-bottom: 2rem;}
	#logowrap{margin-left:65px;margin-bottom: 2rem;}
	form{width:auto!important;    padding: 1rem 3rem 1rem 1rem;}
	.btd_form div .fieldprefix, .btd_form div .fieldsuffix{
	   padding: 13px 0.9rem!important;
	}
}

@media only screen and (max-width: 370px){
	body{background-color:#fff!important;}
	main{padding:0 0.8rem 2rem 0.8rem !important;}
}

header {
	display:grid;
	grid-template-columns: 1fr 2fr 1fr;
	padding: 1rem 3rem;
	background-color:#fff;
}


#logowrap{
	display: flex;
	align-items: center;
	justify-content: center;
}

#headercontact p a {
    color: #16213a;
    text-decoration: none;
    border-bottom: dashed 1px #00adef;
}

header h1{ align-self:center;}

#logo{
	background-image: url('../i/VisionMoneyLogo.png');
height: 60px;
background-size: contain;
width: 60px;
background-repeat: no-repeat;
float: left;
border-radius: 101px;
margin-right: 13px;
margin-top: -70px;
}

#logotxt{
	background-image: url('../i/VisionMoneyTxt.png');
	height: 110px;
	background-size: contain;
	width: 160px;
	background-repeat: no-repeat;
	float: left;
}

#headercontact{float:right;text-align:center; align-self:center;}

#headercontact p{padding:0;font-size:1rem; line-height:2;}

#headercontact p span{font-size:1.3rem; line-height:1;}

.at{
	background-color: #00adef;
	color: #fff;
	border-radius: 22px;
	padding: 1px 3px 4px;
	margin: 0 2px;
}

#hero{
	max-height: 24.5rem;
	background-color: #fff;
	width: 100%;
	/*display: flex;*/
	justify-items: center;
	align-items: center;
	background-size:cover;
}

#hero div{
	height:24.5rem;
}


#hero div h2{
position: absolute;

top: 8rem;

width: 95vw;

z-index: 99;

color: #fff;

font-size: 1.4rem;

}

.hero{
	height:100%;
	display:none;
	background-size: cover;
	  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

#hero p{
	color: #fff;
	font-size: 1.5rem;
	padding: 0 2rem;
}

#hero img{
	max-height: 100%;
	height:100%;
	width: 100%;
	object-fit: cover;

}

#caps div{padding: 1rem 2rem; text-align:center;  justify-content: center;align-content: center;}


.h1{background-image:url('https://previews.123rf.com/images/niserin/niserin1507/niserin150700191/43169081-modern-business-skyscrapers-high-rise-buildings-architecture-raising-to-the-sky-sun-concepts-of-fina.jpg');}
.h2{background-image:url('https://previews.123rf.com/images/aaabbbccc/aaabbbccc1807/aaabbbccc180700059/104092066-pink-and-yellow-flowers-in-front-of-defocused-bay-and-beach-in-st-ives-cornwall-england-uk-europe.jpg');}
.h3{background-image:url('');}



@keyframes fade {
  from {opacity:0.4;display:block !important;}
  to {opacity: 1;}
}


h1{
	font-size: 2.2rem;
text-align: center;
justify-content: center;
font-family: 'Montserrat';
color: #16213a;
font-weight: 1;
}

h2{
	color: #16213a;
	text-align: center;
	font-family: 'Montserrat';
	    font-weight: 100;
    margin: 0.5rem;
}

p{ 
    clear: both;
    padding-top:2rem;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    color: #16213a;
    font-size: 1.2rem;
}

#service{
	background-color: #fff;
	color: #eaebed;
	display: grid;
	grid-template-columns:repeat(3, 1fr);
	grid-gap:3rem;
	padding:3rem;
}

@media only screen and (max-width: 1200px){
	#service{
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	}
}


@media only screen and (max-width: 360px){
	#service{
		padding:0;
	}
}

.service:nth-of-type(n+1):hover h2{
	background-color:#009fe3;
	transition: 0.3s linear all;
}

.service{
	height: 15rem;
	border: #fff 1px solid; 
	background-color: #fff;
	background-size: cover;
	background-position: center;
	transition: 0.3s linear all;
}

.service:hover{
	cursor: pointer;
}
.service:nth-of-type(1){
	background-image: url('../i/hero_houses.jpg');
}

.service:nth-of-type(4){
	background-image: url('../i//services_grid/services_specialistmortgages.jpg')
}

.service:nth-of-type(2){
	background-image: url('../i/services_grid/services_equityrelease.jpg');
}


.service:nth-of-type(5){
	background-image: url('../i/services_grid/services_protection.jpg');
	background-position-y: top;
}

.service:nth-of-type(3){
	background-image: url('../i/services_grid/services_commercialfinance.jpg');
}

.service:nth-of-type(6){
	background-image: url('../i/services_grid_bridginganddevelopment.jpg');
}

.service h2 {
	padding-top: 10px;
	background-color: #16213a;
	color:#fff;
	padding-bottom: 10px;
	margin:0;
}

.service h2 span{
	background-color: #009fe3;
	padding: 0.25rem;
	border-radius: 100px;
	transform: rotate(-90deg);
	display: block;
	width: 30px;
	float: right;
	margin-top: -5px;
	margin-right: 5px;
	mix-blend-mode: luminosity;

}

.logo{
	height: 100px;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 20px;
}


nav{
	display: flex;
	justify-content: center;
	padding:1rem;
	background: #16213a;
}

nav ul{
	grid-area: list;
	align-self: center;
	justify-self: center;
	display: flex;
	text-align: center;
}

nav ul li{
	list-style: none;
	font-family: 'Montserrat', sans-serif;
	margin-right: 15px;
	border-radius: 5px;
	padding: 4px
}

nav ul li a{
	color:#fff;
}

#testimonial{
	padding: 3rem 0rem;
	position: relative;
	overflow: hidden;
	width: 80vw;
	margin: 0 auto;
}

#testimonial blockquote{
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5rem;
	color: #232324;
	quotes: "\201c" "\201d";
	text-align: center;
	line-height:1;
	padding: 10px;
}

@media only screen and (max-width: 1200px){
	#testimonial blockquote{
		font-size:1.2rem;
	}
}

#testimonial blockquote::before{
	content:open-quote;
	font-size:5rem;
	float:left;
}

#testimonial blockquote::after{
	content: close-quote;
	font-size:5rem;
	float:right;
}

#buttons #next{float:right;}

#buttons a{text-decoration: none;

color: #009fe3;

font-weight: 1000;

font-size: 1.5rem;}

#quotewrap{
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	overflow:hidden;
	width: 100%;
	position: relative;
}

.quote{
	width:100%;
}

.quote span{
	justify-content: center;
    align-content: center;
    display: flex;
    font-size: 1.1rem;
    color: #232324;
}

#subfooter{
	background-color:#009fe3;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

#contact{
	padding:1rem 2rem;
}

#contact h2{
	color:#fff;
}

#contact p{
	padding:0;
	line-height:0.6;
	color:#fff;
    margin-top:10px;
    text-align:center;
}

#contact p span{
	margin-right: 5px;
}

#details{
	margin-bottom:2rem;
}

#offices{
	display:grid;
/*	grid-template-columns: 1fr 1fr 1fr; */
    grid-template-columns:1fr 1fr;
	color: #fff;
	margin-top:15px;
}

#offices div{
	transition:0.3s linear all;
padding: 0.5rem 1rem;
font-size: 0.9rem;
}

#truro:hover,#falmouth:hover,#london:hover{
	background-color: #0c8fc8;
	transition:0.3s linear all;
	cursor: pointer;
}
#visionmoney:hover{
	background-color: #009fe3 !important;
	cursor:default;
}

#offices h3{
	margin-bottom:5px;
}

#map{
	background-color:#fff;
}

@media only screen and (max-width: 640px){
	#map{
		height:20rem !important;
		vertical-align: center;
	}
}

#visionmoney{
	background-color: #009fe3;
	background-image: url('../i/VisionMoneyBlueBG.gif');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	grid-area: 2 / 1 / 3 / 4;
	height: 11rem;
}
/*
@media only screen and (max-width: 960px){
	#visionmoney{
		height:15rem !important;
		width:100vw !important;
	}
}
*/

footer {
	background-color: #16213a;
}

footer p{
font-size: 0.85rem;
text-align: center;
color: #fcfcfc;
padding: 2rem;
}

.reg a{color:#fff;}

main h1{margin-bottom: 2rem;

font-weight: 1000;}

main h2{margin-top:3rem;}

main{margin:0rem 2rem;background-color:#fff;padding: 2rem 5rem 4rem 5rem;}


@media only screen and (max-width: 800px){
	main{margin:0rem 2rem;}
	form{    padding: 1rem 3rem 1rem 1rem!important;}

}

@media only screen and (max-width: 640px){
	main{margin:0rem;padding:2rem 1rem 4rem 1rem;}
	.btd_form .area {
    display: block !important;
    padding:1rem;
	}
	.btd_form .area div {
    width: 80%!important;
    margin: 0 auto !important;
}
.btd_form .area p{
    padding:1rem!important;
}

}

main .bold{font-weight:1000;}

main ul, main ol{
	margin: 1rem 0 1rem 1rem;
	background-color: #f3f3f5;
	padding: 1rem 4rem;
	border-radius: 1rem;
}



main ul li, main ol li{font-family: 'Montserrat', sans-serif;
color: #16213a;
font-size: 1.1rem;margin-bottom:0.4rem;}

body{background-color:#16213a;}
body.holding{background-color:#fff;}

table{
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media only screen and (max-width: 480px){
	table{
		font-size:0.8rem;
	}
}

tr:nth-of-type(1), tr td:nth-of-type(1){
	font-weight: 1000;
}

table.services tr, table.services td{
	font-weight:1;
}

table.services td{background-color: #16213a;

padding: 2rem;

color: #fff;

font-weight: 1000;}


tr:nth-of-type(2n+1) {
    background-color: #ebebeb;
}
tr:nth-of-type(1) {
    background-color: #16213a;
    color: #fff;
}


td{
padding: 1rem;
  
}

.collapsible {
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
outline: none;
font-size: 24px;
color: #16213a;
text-align: left;
font-family: 'Montserrat';
background-color: #e1e2e2;
transition:0.3s linear all;
font-weight:1000;
margin-top:2rem;
}

.collapsible::-moz-focus-inner {
  border: 0;
  background-color: #c9eefc;
}

.active, .collapsible:hover {
  background-color:#16213a;
  color:#fff;
  transition:0.3s linear all;

}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color:  #e1e2e2;
  color:#16213a;
}

.content p:last-child{
	padding-bottom:2rem;
}

.content ul, .content ol{
	background-color: #ffffff6e;
}

.services-hero{
	background-color: #16213a;
height: 350px;
margin-bottom:2rem;}

.services-hero img{
width: 100%;
height: 350px;
object-fit: cover;
mix-blend-mode: exclusion;

}

#services-header{

}

#services-header a{
font-family: 'Montserrat';
color:
#16213a;
width: 20rem;
}

a.service-link{
	text-decoration:none;
	height: 15rem;
display: block;
}



.er-reasons {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(5, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
text-align:center;
} .div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 2 / 1 / 3 / 2; }
.div5 { grid-area: 2 / 2 / 3 / 3; }
.div6 { grid-area: 2 / 3 / 3 / 4; }
.div7 { grid-area: 3 / 1 / 4 / 2; }
.div8 { grid-area: 3 / 2 / 4 / 3; }
.div9 { grid-area: 3 / 3 / 4 / 4; }
.div10 { grid-area: 4 / 1 / 5 / 2; }
.div11 { grid-area: 4 / 2 / 5 / 3; }
.div12 { grid-area: 4 / 3 / 5 / 4; }
.div13 { grid-area: 5 / 1 / 6 / 2; }
.div14 { grid-area: 5 / 2 / 6 / 3; }
.div15 { grid-area: 5 / 3 / 6 / 4; }

.er-reasons div {
    padding: 1rem;
    background-color: #d2d2d2;
    align-self: center;
    border-radius: 6rem;
    color: #16213a;
    margin: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 1000;
    min-height: 3rem;
}

.er-reasons div:nth-of-type(2n) {
    background-color: #16213a;
    color: #cfcfea;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
width: 100%;
display: flex;    align-items: center;
justify-content: center;
height: 100%;
}

.close {
  color: #00adef;
  float: left;
  font-size: 4rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.exnav ul li a{text-decoration:none;}

.exnav ul li a span{
	background-color:
#009fe3;

border-radius: 100px;

transform: rotate(-90deg);

display: block;

width: 20px;

float: right;

margin-right: 5px;

mix-blend-mode: luminosity;

margin-left: 5px;

padding: 2px;

margin-top: -2px;

}

.exnav ul li:hover{

    background-color: 

    #009fe3;
    transition: 0.3s linear all;

}

#myBtn{text-decoration: none;

padding: 0.2rem;

border-radius: 0.3rem;

transition: 0.3s linear;

border-bottom: 1px dashed
#00adef;

color:
#16213a;}

#myBtn:hover {
    background-color: 
#00adef;
color:
    #fff;
}
.collapsible span{float: right;

margin-right: 2rem;

transform: rotate(270deg);
transition:0.2s linear;}

.active span{transform:rotate(360deg);transition:0.2s linear;}

.backv{margin-right: 0.3rem;
transform: rotate(90deg);
transition: 0.2s linear;
background-color:
#16213a;
padding: 0.25rem;
border-radius: 100px;
display: block;
width: 21px;
text-align: center;
color:#fff;}

iframe{background-color:#fff;}

.social {
    height: 32px;
    width: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.social:hover {
    filter: contrast(0)brightness(1.5);
}

.social.fb {
    background-image: url('/i/facebook.svg');
}

.social-bar{
	    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:10px;
}

.social.ig {
    background-image: url('/i/instagram.svg');
}
.socialbar div {
    margin-left: 1rem;
}
.social.li { 
    background-position:center;
    background-size:85%;
    background-image: url('/i/linkedin.svg');
}
.social.tw {
    background-image: url('/i/twitter.svg');
}

#form-area{
	background-color:#16213a;
}

form{
	width:80%;
	margin:0 auto;
    padding: 1rem 7rem;
    background-color:#fff;
}

form p{
		font-size:1rem;
	}
label, select{
		text-align: center;
		padding: 1.5rem;
		font-family: "Montserrat";
	}


