@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');

 .header h2{display: inherit}
.header h3{display: inherit}

	@media (max-width: 770px) {
	 .header h2{display: none}
.header h3{display: none}
}

html, body {margin: 0; font-family: 'Source Sans Pro', sans-serif;}

/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #ea6334; color:#fff; text-shadow: none; }
::selection { background:#ea6334; color:#fff; text-shadow: none; }
/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #ea6334; }

/* Primary style  */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	
}

body, html {
  /* prevent horizontal scrolling */
  overflow-x: hidden; background: #f2f2f2;
}
section strong {    font-weight: 600;}
section ul {margin-bottom: 30px; margin-top:20px;
    padding-left:15px;
	padding-bottom:0px;}
section li {
    color: #222;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
	list-style-position: outside;
	list-style: none;
	text-indent: 0em;
	margin-left: 10px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	list-style-image: url(../img/bull.png);
    
}

.calc {width:140px; margin-bottom: 0px;}
.padtop {margin-top: 140px;}
.header {width:100%; height: 140px; background: #fff; position: absolute; z-index: 2}
.header h2{position: absolute; top:-10px; right:100px; color:#2f395b; font-family: 'Source Sans Pro', sans-serif; font-size:2.4rem;}
.header h3{
    position: absolute;
    top: 45px;
    right: 99px;
    color: #2f395b;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.6rem;
    font-weight: 300
}
.header h3 a{color:#ea6334}

.border {border-width: 1px; border-style: solid; border-color:#333;}

.callout {background-color: #dddddd; padding-bottom: 5px; padding-top: 15px; padding-left: 20px; padding-right: 20px; margin-left: 20px; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);}
.callout h4{color:#2f395b; margin: 0px;}

.knowledge  {  background: url("../img/knowledge.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.contact  {  background: url("../img/contact.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.remortgage  {  background: url("../img/residential2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.insurance {  background: url("../img/insurance2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.firsttime {  background: url("../img/newbuild2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.buyto {  background: url("../img/buytolet2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}

.about {  background: url("../img/about-us2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}


.about-pic { background-image: url("../img/about-us.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; right:0; margin-top: -60px; overflow-y: hidden;}
.insurance-pic { background-image: url("../img/insurance.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover; width:45%; height:520px; position: absolute; left:0; margin-top: -60px; overflow-y: hidden;}
	@media (max-width: 1019px) {
		.about-pic {display:none;}	
		.insurance-pic {display:none;}	 
		.callout {background-color: #dddddd; padding: 20px; margin-left: 0px;}
}

.logo {position: absolute; top:20px; left:30px; z-index: 99}
.logo img{width:140px;}

/* FONTS*/
a {text-decoration: none}
p {

    font-family: 'Source Sans Pro', sans-serif;

; font-size:1rem; line-height: 1.6;}
h1, h2, h3, h4, h5 ,h6 {

    font-family: 'Source Sans Pro', sans-serif;

;}



h1 {font-size: 3.6rem;line-height: 1.2; padding-bottom: 20px;}
h2 {font-size: 3rem;line-height: 1.6; }
h3 {font-size: 1.4rem; line-height: 1.6}
h4 {font-size: 2rem;line-height: 1.6}
h5 {font-size: 1.4rem;line-height: 1.6}
h6 {font-size: 1rem;line-height: 1.6}


	@media (max-width: 768px) {
		h1 {font-size: 3rem;line-height: 1.2}
h2 {font-size: 2rem;line-height: 1.2; padding-bottom: 20px;}
h3 {font-size: 1.4rem; line-height: 1.6}
h4 {font-size: 1.6rem;line-height: 1.2}
h5 {font-size: 1.2rem;line-height: 1.2}
h6 {font-size: 1rem;line-height: 1.2}
		
}

	@media (max-width: 460px) {
		h1 {font-size: 2.3rem;line-height: 1.2}
h2 {font-size: 2rem;line-height: 1.2; padding-bottom: 20px;}
h3 {font-size: 1.2rem; line-height: 1.6}
h4 {font-size: 1.6rem;line-height: 1.2}
h5 {font-size: 1.2rem;line-height: 1.2}
h6 {font-size: 1rem;line-height: 1.2}
		
}


/* SECTION*/

	section {max-width:1400px; margin-left: auto; margin-right: auto;  padding-left: 20px; padding-right: 20px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 20px;
      align-items: start; 
 }
section img {max-width: 100%; margin-bottom:20px;}


/* COLUMNS*/

		.one-col {grid-column: 1 / span 1;  grid-column-start:auto;  }
		.two-col {grid-column: 1 / span 2;   grid-column-start:auto; }
		.three-col {grid-column: 1 / span 3;  grid-column-start:auto;}
		.four-col {grid-column: 1 / span 4;  grid-column-start:auto; }
		.five-col {grid-column: 1 / span 5;  grid-column-start:auto;}
		.six-col {grid-column: 1 / span 6;  grid-column-start:auto;}
		.seven-col {grid-column: 1 / span 7;  grid-column-start:auto;}
		.eight-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		
		
		@media (max-width: 1019px) {
		.one-col {grid-column: 1 / span 2;  grid-column-start:auto;  }
		.two-col {grid-column: 1 / span 4;   grid-column-start:auto; }
		.three-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.four-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.five-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.six-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.seven-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.eight-col {grid-column: 1 / span 8;  grid-column-start:auto;}
			
		}
		
		@media (max-width: 768px) {
				.one-col {grid-column: 1 / span 8;  grid-column-start:auto;  }
		.two-col {grid-column: 1 / span 8;   grid-column-start:auto; }
		.three-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.four-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.five-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.six-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.seven-col {grid-column: 1 / span 8;  grid-column-start:auto;}
		.eight-col {grid-column: 1 / span 8;  grid-column-start:auto;}
			
		}


.hero {width:100%; height:600px; position: relative; margin-top: 140px; width:100%;  background: #2f395b; overflow: hidden;}

 .down {position:absolute; left:50%; margin-left:-27px; z-index:99; top:640px; 
height: 50px;
	width: 50px;
	opacity: 100;
	filter: alpha(opacity=1);
	text-align: center;
	color: #fff;
	transform: rotate(-180deg); background: url(../img/cd-top-arrow.svg) no-repeat center ; }


.hero2 {width:100%; height:500px; position: relative;  width:100%; margin-top: 140px;   display: table;}

.hero2inner {width:100%; height:500px; position: relative;  display: table-cell; vertical-align: middle; text-align: center;}

.hero2inner h2{color:#fff; line-height: 1rem;
padding-bottom: 0px; margin-top: 0px;
font-size: 4rem;
font-weight: 700; font-family: 'Source Sans Pro', sans-serif; }


.hero2inner h3{color:#fff; font-size: 1.4rem;
line-height: 1.6;
font-weight: 300; font-family: 'Source Sans Pro', sans-serif; padding-left: 20px; padding-right: 20px; max-width: 1020px; margin-left: auto; margin-right: auto; }


@media (max-width: 768px) {
	.hero2inner h2{color:#fff; line-height: 2.6rem;
padding-bottom: 0px; margin-top: 0px;
font-size: 2.3rem;
font-weight: 700; font-family: 'Source Sans Pro', sans-serif; }


.hero2inner h3{color:#fff; font-size: 1.1rem;
line-height: 1.4;
font-weight: 300; font-family: 'Source Sans Pro', sans-serif; }
	
}

 .down2 {position:absolute; left:50%; margin-left:-27px; z-index:99; top:580px; 
height: 50px;
	width: 50px;
	opacity: 100;
	filter: alpha(opacity=1);
	text-align: center;
	color: #fff;
	transform: rotate(-180deg); background: url(../img/cd-top-arrow.svg) no-repeat center ; }

.heroinner {position: absolute; width:1000px; left:40px; bottom:150px;}

.heroinner h1{color:#fff; letter-spacing: -4px; font-size: 7rem; line-height: 0.8; font-family: 'Source Sans Pro', sans-serif; font-weight: 700}

.main a{color:#ea6334;}
.main a:hover{color:#2f395b;}

.main {width:100%; padding-top: 60px; padding-bottom: 100px; position: relative; float: left;
	background: #f2f2f2; 
}
.main  h1 {font-weight: 700;  color:#2f395b; margin-bottom: 0px; margin-top: 0px; font-family: 'Source Sans Pro', sans-serif; }
.main  h2 {font-weight: 700;  color:#2f395b; margin-bottom: 0px; margin-top: 0px; font-family: 'Source Sans Pro', sans-serif; }
.main  h3 {font-weight: 300;
color: #ea6334;
margin-bottom: 20px;
font-family: 'Source Sans Pro', sans-serif;
margin-top: 10px; }
.main  h4 {font-weight: 700;  color:#2f395b; margin-bottom: 0px; margin-top: 0px; font-family: 'Source Sans Pro', sans-serif; font-size: 1.4rem; margin-bottom: 10px; }
.main  p {color:#222; font-weight: 300; margin-top: 0px; }

.grad1 {width:100%; padding-top: 20px; padding-bottom: 0px; margin-bottom: -24px; position: relative; float: left;
	background: #1E1E28; 
}

.grad1  h2 {font-weight: 600!important; font-size: 2.4rem!important;  color:#fff;  margin-bottom: 10px;  font-family: 'Source Sans Pro', sans-serif;  }
.grad1  p {color:#fff; font-weight: 300; margin-top: 0px; margin-bottom: 20px;}


.grad2 {width:100%; padding-top: 60px; padding-bottom: 100px; position: relative; float: left;
	background: #ea6334; 
}

.grad2 h2 {font-weight: 700;  color:#fff;  margin-bottom: 0px;  font-family: 'Source Sans Pro', sans-serif;}
.grad2  p {color:#fff; font-weight: 300; margin-top: 0px; margin-bottom: 20px;}

.a1 {width:270px; padding-top: 40px; margin-bottom: 0px}


.footer {width:100%; padding-top: 60px; padding-bottom: 60px;
	background: #2f395b; position: relative; float: left;

}
.social {margin-top: 20px;}
.fa-2x {margin-right: 8px; color:#fff!important}
.social a{color:#fff!important}

.footer  p {color:#fff; font-weight: 300; margin-top: 0px; text-shadow: 1px 1px 1px #212A49;}
.footer  h3 {font-weight: 700;  color:#fff;  margin-bottom: 10px; font-family: 'Source Sans Pro', sans-serif;  margin-top: 10px; }
.footer  h4 {font-weight: 300;  color:#fff;  margin-bottom: 5px; font-family: 'Source Sans Pro', sans-serif;  margin-top: 10px; line-height: 1.4 }
.footer  h5 {font-weight: 700;  color:#fff;  margin-bottom: 5px; font-family: 'Source Sans Pro', sans-serif;  margin-top: 10px; }
.footer a{color:#9AA8D5}
.footer a:hover{color:#ea6334}
.footer strong {font-weight: 700}
.small {font-size:0.8rem;}
.padleft {margin-left: 40px; }
@media (max-width: 1020px) {
	.padleft {margin-left: 0px; }
}


.tri_blue {width:40px; height:40px; background: #ea6334; position:absolute; left:50%; margin-left: -20px; transform: rotate(45deg); margin-top: -80px;}

.tri_white {width:40px; height:40px; background: #f2f2f2; position:absolute; left:50%; margin-left: -20px; transform: rotate(45deg); margin-top: -80px;}

/* -------------------------------- 

Main Components 

-------------------------------- */
main {
  position: relative;
  z-index: 2;
  /* fix bug on iOS */
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
 
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.7s;
  -moz-transition: -moz-transform 0.7s;
  transition: transform 0.7s;
  -webkit-transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -moz-transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
  transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
}

.navigation-is-open main {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
}


.cd-nav-trigger {
  position: absolute;
  z-index: 3;
  right: 40px;
  top: 20px!important;
  height: 54px;
  width: 54px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  transition: transform 0.5s;
}
.cd-nav-trigger .cd-nav-icon {
  /* icon created in CSS */
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 32px;
  height: 2px;
  background-color: #2f395b;
}
.cd-nav-trigger .cd-nav-icon::before {
  /* upper and lower lines of the menu icon */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.5s, width 0.5s, top 0.3s;
  -moz-transition: -moz-transform 0.5s, width 0.5s, top 0.3s;
  transition: transform 0.5s, width 0.5s, top 0.3s;
}
 .cd-nav-trigger .cd-nav-icon:after {
  /* upper and lower lines of the menu icon */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-color: inherit;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.5s, width 0.5s, top 0.3s;
  -moz-transition: -moz-transform 0.5s, width 0.5s, top 0.3s;
  transition: transform 0.5s, width 0.5s, top 0.3s;

}
.cd-nav-trigger .cd-nav-icon::before {
  -webkit-transform-origin: right top;
  -moz-transform-origin: right top;
  -ms-transform-origin: right top;
  -o-transform-origin: right top;
  transform-origin: right top;
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
  transform: translateY(-8px);
}
.cd-nav-trigger .cd-nav-icon::after {
  -webkit-transform-origin: right bottom;
  -moz-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  -o-transform-origin: right bottom;
  transform-origin: right bottom;
  -webkit-transform: translateY(8px);
  -moz-transform: translateY(8px);
  -ms-transform: translateY(8px);
  -o-transform: translateY(8px);
  transform: translateY(8px);
	
}
.no-touch .cd-nav-trigger:hover .cd-nav-icon::after {
  top: 2px;  	 background-color: #fff;
}
.no-touch .cd-nav-trigger:hover .cd-nav-icon::before {
  top: -2px; 	 background-color: #fff;
}




.cd-nav-trigger svg {
  position: absolute;
  top: 0;
  left: 0; 
}
.cd-nav-trigger circle {
  /* circle border animation */
  -webkit-transition: stroke-dashoffset 0.4s 0s;
  -moz-transition: stroke-dashoffset 0.4s 0s;
  transition: stroke-dashoffset 0.4s 0s; 
}
.navigation-is-open .cd-nav-trigger {
  /* rotate trigger when navigation becomes visible */
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
	
}


.navigation-is-open .cd-nav-trigger .cd-nav-icon {
  /* icon created in CSS */
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 32px;
  height: 2px;
  background-color: #fff;
}


.navigation-is-open .cd-nav-trigger .cd-nav-icon::after,
.navigation-is-open .cd-nav-trigger .cd-nav-icon::before {
  /* animate arrow  from hamburger to arrow */
  width: 50%;
  -webkit-transition: -webkit-transform 0.5s, width 0.5s;
  -moz-transition: -moz-transform 0.5s, width 0.5s;
  transition: transform 0.5s, width 0.5s;
		 background-color: #fff;
}
.navigation-is-open .cd-nav-trigger .cd-nav-icon::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
		 background-color: #fff;
}
.navigation-is-open .cd-nav-trigger .cd-nav-icon::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
		 background-color: #fff;
}
.no-touch .navigation-is-open .cd-nav-trigger:hover .cd-nav-icon::after, .no-touch .navigation-is-open .cd-nav-trigger:hover .cd-nav-icon::before {
  top: 0; 	 background-color: #fff;
}

@media only screen and (min-width: 1170px) {
  .cd-nav-trigger {
    top: 40px;
  }
}

.cd-nav {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #2f395b;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.7s;
  -moz-transition: visibility 0s 0.7s;
  transition: visibility 0s 0.7s;
}
.cd-nav .cd-navigation-wrapper {
  /* all navigation content */
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
 
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: -webkit-transform 0.7s;
  -moz-transition: -moz-transform 0.7s;
  transition: transform 0.7s;
  -webkit-transition-timing-function: cubic-bezier(0.86, 0.01, 0.77, 0.78);
  -moz-transition-timing-function: cubic-bezier(0.86, 0.01, 0.77, 0.78);
  transition-timing-function: cubic-bezier(0.86, 0.01, 0.77, 0.78);
}
.navigation-is-open .cd-nav {
  visibility: visible;
  -webkit-transition: visibility 0s 0s;
  -moz-transition: visibility 0s 0s;
  transition: visibility 0s 0s;
}
.navigation-is-open .cd-nav .cd-navigation-wrapper {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.82, 0.01, 0.77, 0.78);
  -moz-transition-timing-function: cubic-bezier(0.82, 0.01, 0.77, 0.78);
  transition-timing-function: cubic-bezier(0.82, 0.01, 0.77, 0.78);
}
.cd-nav h2 {
  position: relative;
  margin-bottom: 1.7em;
  font-size: 1.3rem;
  font-weight: 800;
  color: #080b0f;
  text-transform: uppercase;
}
.cd-nav h2::after {
  /* bottom separation line */
  content: '';
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 1px;
  width: 60px;
  background-color: currentColor;
}
.cd-nav .cd-primary-nav {
  margin-top: 100px;
}

.cd-half-block:last-child {margin-top: -60px; margin-left: -60px; margin-left: -80px;}

@media only screen and (max-width: 1334px) {
.cd-half-block:last-child {margin-top: -60px; margin-left: -60px; margin-left: 0px;}	
}

.cd-nav .cd-primary-nav li {
 list-style: none;
}
.cd-nav .cd-primary-nav a {
font-family: 'Source Sans Pro', sans-serif;
	font-weight: 700;
	margin-bottom: 5px;
  font-size: 1.6rem;
	
  color: rgba(255, 255, 255, 0.3);
  display: inline-block;
}
.cd-nav .cd-primary-nav a.selected {
  color: #ffffff;
}
.cd-nav .cd-primary-nav a:hover {
  color: #4381c5;
}
.no-touch .cd-nav .cd-primary-nav a:hover {
  color: #ffffff;
}
.cd-nav .cd-contact-info {
  margin-top: 80px;
}
.cd-nav .cd-contact-info li {
  font-family: "Merriweather", serif;
  margin-bottom: 1.5em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.3);
}
.cd-nav .cd-contact-info a {
  color: #ffffff;
}
.cd-nav .cd-contact-info span {
  display: block;
}
.cd-nav .cd-contact-info li, .cd-nav .cd-contact-info a, .cd-nav .cd-contact-info span {
  font-size: 1.6rem; list-style: none;
}
@media only screen and (min-width: 1334px) {

  .cd-nav .cd-navigation-wrapper::after {
    clear: both;
    content: "";
    display: table;
  }
	
	.cd-nav .cd-half-block:first-child {
    width: 600px;
    float: left;
    margin-top: 8%;
    margin-left: 5%;
}
 .cd-nav .cd-half-block {
    width: 600px;
    float: left;
    margin-top: 10%;
  
}
  .cd-nav .cd-primary-nav {
    margin-top: 0;
  }
  .cd-nav h2 {
    font-size: 1.5rem;
    margin-bottom: 5.6em;
  }
  .cd-nav .cd-primary-nav li {
    margin: 0em 0;
    margin-top: 0em;
    margin-right: 0px;
    margin-bottom: 0em;
    margin-left: -40px;
list-style: none; list-style: none;
  }
  .cd-nav .cd-primary-nav a {
    font-size: 3rem;
  }
  .cd-nav .cd-contact-info {
    margin-top: 120px;
    text-align: right;
  }
  .cd-nav .cd-contact-info li {
    margin-bottom: 2.4em;
  }
  .cd-nav .cd-contact-info li, .cd-nav .cd-contact-info a, .cd-nav .cd-contact-info span {
    font-size: 2rem;
  }
}

.no-js main {
  height: auto;
  overflow: visible;
}

.no-js .cd-nav {
  position: static;
  visibility: visible;
}
.no-js .cd-nav .cd-navigation-wrapper {
  height: auto;
  overflow: visible;
  padding: 100px 5%;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}




/* Common button styles */
.button {
	
	min-width: 180px;
	max-width: 180px;
	display: block;
	
	padding: 1.6em 1em;
	border: none;
	background: none;
	color: inherit;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	-webkit-backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
}
.button:focus {
	outline: none;
}
.button > span {
	vertical-align: middle;
}

/* Common button styles */
.button2 {
	
	min-width: 180px;
	max-width: 180px;
	display: block;
	
	padding: 1.2em 1em;
	border: none;
	background: none;
	color: inherit;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	-webkit-backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
}
.button2:focus {
	outline: none;
}
.button2 > span {
	vertical-align: middle;
}




/* Individual button styles */


/* Aylen */
.button.button--aylen {
	background: #2f395b;
	color: #fff;
	overflow: hidden;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	text-align: center;
	text-decoration: none;
	margin-top: 30px;
		 font-family: 'Source Sans Pro', sans-serif;
	  text-transform: uppercase;
	  font-size: 0.8rem;
	  font-weight: 400;
	
	
}
.button--aylen.button--inverted {
	background: #4D4E52;
	color: #fff;
	
}
.button--aylen::before,
.button--aylen::after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	bottom: 100%;
	left: 0;
	z-index: -1;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
	transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}
.button--aylen::before {
	background: #515E8D;
}
.button--aylen::after {
	background: #1D2643;
}
.button--aylen:hover {
	color: #fff!important;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}
.button--aylen:hover::before,
.button--aylen:hover::after {
	-webkit-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
}
.button--aylen:hover::after {
	-webkit-transition-delay: 0.175s;
	transition-delay: 0.175s;
}

/* Aylen2 */
.button.button--aylen2 {
	background: #2f395b;
	color: #fff;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	text-align: center;
	text-decoration: none;
	margin-top: 20px;
		 font-family: 'Source Sans Pro', sans-serif;
	  text-transform: uppercase;
	  font-size: 0.8rem;
	  font-weight: 400;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	height:60px;
	line-height: 30px;
}
.button--aylen2.button--inverted {
	background: #4D4E52;
	color: #fff;
	
}
.button--aylen2::before,
.button--aylen2::after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	bottom: 100%;
	left: 0;
	z-index: -1;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
	transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}
.button--aylen2::before {
	background: #1D2643;
}
.button--aylen2::after {
	background: #ea6334;
}
.button--aylen2:hover {
	color: #fff;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}
.button--aylen2:hover::before,
.button--aylen2:hover::after {
	-webkit-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
}
.button--aylen2:hover::after {
	-webkit-transition-delay: 0.175s;
	transition-delay: 0.175s;
}









/* Aylen2 */
.button2.button--aylen2 {
	background: #2f395b;
	color: #fff!important;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	text-align: center;
	text-decoration: none;
	margin-top: 20px;
		 font-family: 'Source Sans Pro', sans-serif;
	  text-transform: uppercase;
	  font-size: 0.8rem;
	  font-weight: 400;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	height:60px;
	line-height: 30px;
}
.button2--aylen2.button--inverted {
	background: #4D4E52;
	color: #fff;
	
}




.fclink  {text-decoration: underline; color:#fff; font-family: 'Source Sans Pro', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 3px;}


.arrow {width:40px; height:40px; background-image: url("../img/arrow.svg"); background-repeat: no-repeat; margin-bottom: 50px;}




.flexouter {width:100%;  position: relative; float: left}

.flexcontainer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}



.flexcontainer .item {
  display: grid;
  margin: auto;
  position: relative;
  flex: 1;
  color: white;
  transition: .3s;
  max-width: 33.333%;
height: 500px;
  min-width: 10%;
  background-color: rgba(47, 57, 91, 0.6);
}
.flexcontainer .item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center bottom;
  background-size: cover;
  z-index: -1;
}
.flexcontainer .item:first-child:before {
  background-image: url("../img/newbuild.jpg");
}
.flexcontainer .item:nth-of-type(even):before {
  background-image: url("../img/residential.jpg");
}
.flexcontainer .item:last-child:before {
  background-image: url("../img/buytolet.jpg");
}
.flexcontainer .item:hover {
  transition: .5s;
  max-width: 40% !important;
  flex-grow: 2;
  cursor: pointer;
  color: #fff;
   background-color: rgba(47, 57, 91, 0.9);
}

.item p{max-width: 330px;}
.item h3{margin-bottom: 0px; font-size: 1.8rem;}
.flexcontainer .item:hover p {
  -webkit-transform: none;
          transform: none;
  transition: .3s;
	
}
.flexcontainer .content {
  margin: 50px;
  font-size: 2em;
}

@media (max-width: 1440px) {
.flexouter {max-width:1400px; }
}

@media (max-width: 1250px) {
	.item p{max-width: 800px;}
	.flexcontainer {
  display: block;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;}
	
	
	.flexcontainer .item {
  
  margin: auto;
  position: relative;
  color: white;
  transition: .3s;
 max-width: 100%;
height: 480px;
		
  
  background-color: rgba(47, 57, 91, 0.6);
}
	
	.flexcontainer .item:hover {
  max-width: 100% !important;
  flex-grow: none;
  cursor: pointer;
  color: #fff;
    background-color: rgba(47, 57, 91, 0.9);
}
	
}



/* -------------------------------- 

Form

-------------------------------- */
.red {color:#DB1D51}
.cd-form {
  width: 100%;

  margin: 1.2rem auto;
}
.cd-form::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form fieldset {
  margin: 24px 0;
}
.cd-form legend {
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 2rem;
  border-bottom: 1px solid #ecf0f1;
}
.cd-form div {
  /* form element wrapper */
  position: relative;
  margin: 20px 0;
}
.cd-form h4, .cd-form .cd-label {
  font-size: 0.75rem;
  color: #444;
	font-weight: 600;
  margin-bottom: 10px;
}
.cd-form .cd-label {
  display: block;
}
.cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.8rem;
  color: #2a2a2e;
}
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select,
.cd-form legend {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select {
  /* general style for input elements */
  padding: 10px;
  border: 1px solid #cfd9db;
  background-color: #ffffff;
  
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
  outline: none;
  border-color: #2c97de;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}
.cd-form .cd-select {
  /* select element wapper */
  position: relative;
}
.cd-form .cd-select::after {
  /* arrow icon for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  pointer-events: none;
}
.cd-form select {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.cd-form select::-ms-expand {
  display: none;
}
.cd-form .cd-form-list {
  margin-top: 16px;
}
.cd-form .cd-form-list::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form .cd-form-list li {
  /* wrapper for radio and checkbox input types */
  display: inline-block;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0 26px 16px 0;
  float: left;
}
.cd-form input[type=radio],
.cd-form input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;
}
.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
  padding-left: 24px;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="checkbox"] + label::before {
  border: 1px solid #cfd9db;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after {
  border-radius: 50%;
}
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  border-radius: .25em;
}
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::after {
  background-color: #2c97de;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
  display: none;
}
.cd-form input[type="radio"] + label::after {
  /* custom image for radio button */
  background-image: url("../img/cd-icon-radio.svg");
}
.cd-form input[type="checkbox"] + label::after {
  /* custom image for checkbox */
  background-image: url("../img/cd-icon-check.svg");
}
.cd-form input[type="radio"]:focus + label::before,
.cd-form input[type="checkbox"]:focus + label::before {
  /* add focus effect for radio and check buttons */
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
}
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::after {
  display: block;
}
.cd-form input[type="radio"]:checked + label::before,
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::before,
.cd-form input[type="checkbox"]:checked + label::after {
  -webkit-animation: cd-bounce 0.3s;
  -moz-animation: cd-bounce 0.3s;
  animation: cd-bounce 0.3s;
}
.cd-form textarea {
  min-height: 100px;
  resize: vertical;
  overflow: auto;
}

.cd-form input[type="submit"]:hover {
  outline: none;
  background: #67686e;
}

.cd-form [required] {
  background: url("../img/cd-required.svg") no-repeat top right;
}


@media only screen and (min-width: 600px) {
  .cd-form div {
    /* form element wrapper */
    margin: 10px 0;
  }
  .cd-form legend + div {
    /* reduce margin-top for first form element after the legend */
    margin-top: 20px;
  }
  .cd-form h4, .cd-form .cd-label {
    font-size: 0.75rem;
	  font-weight: 600;
    margin-bottom: 5px;
  }
 
}

@-webkit-keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
  }
}
@-moz-keyframes cd-bounce {
  0%, 100% {
    -moz-transform: scale(1);
  }
  50% {
    -moz-transform: scale(0.8);
  }
}
@keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
}
/* -------------------------------- 

Custom icons

-------------------------------- */

.cd-form .ficon input {
  padding-left: 5px !important;
}

 .cd-form .ficon select {
  padding-left: 5px !important;
}

.cd-form .ficon textarea {
  padding-left: 5px !important;
}
.cd-form .user {
  background: url("../img/cd-icon-user.svg") no-repeat right center; 
}

.cd-form .company {
  background: url("../img/cd-icon-company.svg") no-repeat right center;
}

.cd-form .email {
  background: url("../img/cd-icon-email.svg") no-repeat right center;
}



/* -------------------------------- 

FLoating labels 

-------------------------------- */
.js .floating-labels div {
  margin: 28px 0;
}
.js .floating-labels .cd-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 1.6rem;
  cursor: text;
  -webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
  -moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
  transition: top 0.2s, left 0.2s, font-size 0.2s;
}
.js .floating-labels .ficon .cd-label {
  left: 56px;
}
.js .floating-labels .cd-label.float {
  /* move label out the input field */
  font-size: 1.2rem;
  top: -16px;
  left: 0 !important;
}
@media only screen and (min-width: 600px) {
  .js .floating-labels legend + div {
    /* reduce margin-top for first form element after the legend */
    margin-top: 16px;
  }
  .js .floating-labels .cd-label {
    top: 20px;
  }
}
