.home-menu-item{
    padding:30px;
}
.page-resources nav,.page-working-with-us nav, .page-your-team nav, .page-how-to-take-control nav{
    background:rgb(15, 100, 58) !important;
}
.page-resources #section_1,.page-working-with-us #section_1, .page-your-team #section_1, .page-how-to-take-control #section_1{
    padding-top: 150px;
}
.page-resources a{
    color: #666;
}
.page-resources header a{
    color: #fff;
}
.newsletter-links li span a{
    font-size:18px;
    line-height:1.8em;
}
.newsletter-links li span a:hover{
   text-decoration:underline;
}
.iteration{
    display:none;
}
.input-icon {
  position: relative;
}
.page-working-with-us #section_5{
    display:none;
}
.input-icon i{
  position: absolute;
  display: block;
  transform: translate(0, -50%);
  top: 50%;
  pointer-events: none;
  width: 25px;
  text-align: center;
  font-style: normal;
}

.input-icon input{
  padding-left: 25px;
  padding-right: 0;
}
.page-working-with-us #section_4{
    display:none;
}
.fa-envelope{
    color: #0F643A;
}
.fa-plus{
    font-size: 12px !important;
    line-height:1.5em !important;
}
.learnmore:hover{
    opacity:1 !important;
}
.floating-broker-check{
    right:0px;
    left:80px;
}
.learnmore:hover{
    color:#fff !important;
}
.subpage header{
    border-bottom:none;
}
.homepage #section_1{
    display:none;
}
.homepage header,.page-resources header,.page-working-with-us header,.page-your-team header,.page-how-to-take-control header{
    display:none;
}
.homepage nav, .page-resources nav, .page-working-with-us nav, .page-your-team nav, .page-how-to-take-control nav{
    background:none;
}
.homepage .new, .page-resources .new, .page-your-team .new, .page-working-with-us .new, .page-how-to-take-control .new{
    display: block;
    position: absolute;
    top: 0;
    z-index: 6;
    padding-top:0px;
}
.homepage nav ul li a:hover{
    background:#0F643A;
    color:#fff;
    padding:5px;
}
.page-how-to-take-control #section_3 .overlay{
    background:#F5F5F5;
}
.page-working-with-us #section_3 .overlay{
    background:#F5F5F5;
}
.homepage #section_0 .container, .page-resources #section_0 .container, .page-your-team #section_0 .container, .page-how-to-take-control #section_0 .container, .page-working-with-us #section_0 .container{
    max-width:none;
    width:100%;
    margin:0px;
    padding: 0px !important;
}
.homepage #section_0 .col-sm-12, .page-resources #section_0 .col-sm-12{
    padding: 0px !important;
}
.homepage .top-bar, .page-resources .top-bar, .page-how-to-take-control .top-bar, .page-your-team .top-bar, .page-working-with-us .top-bar{
    display:none;
}
.page-your-team #section_0{
    background-position:bottom !important;
}
.dollar-sign{
    font-size:1.5rem;
}
.investment-tab h2{
    color:rgba(15, 100, 58, .4);
}
.active .investment-tab h2{
    color:rgba(15, 100, 58, 1);
}
.nav li a:hover{
    background: #0F643A !important;
    color: #fff !important;
}
.nav li a:hover h2{
    color: #fff !important;
}
.planning-tab h2{
    color:rgba(15, 100, 58, .4);
}
.active .planning-tab h2{
    color:rgba(15, 100, 58, 1);
}
.navtabs a.planning-tab:hover{
    background: #0F643A;
    color: #fff;
}
.form-calc{
	padding: 2rem;
	background: #eeefee;
	max-width: 900px;
	margin: 1rem auto;
	font-family: 'Segoe UI', Arial, sans-serif;
}
.form-calc__title{
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
}
.form-calc__control{
	height: 50px;
	display: block;
	width: 100%;
	padding: 5px 15px;
	font-size: 2rem;
	color: #000;
	margin-bottom: 1rem;
}
.form-calc__result{
	margin-bottom: 1.5rem;
}
.form-calc__result-amount{
	font-weight: 700;
	font-size: 1.5rem;	
}
.form-calc__btn{
	display: block;
	padding: 15px 25px;
	width: 100%;
	background: #2E8B57;
	border: 1px solid #2E8B57;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
}
.form-calc__btn[disabled]{
	opacity: .7;
	cursor: not-allowed;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #108d6f;
    border-color: #108d6f;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #007b5e;
    border-color: #007b5e;
}

section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.title-desc{
    text-align:center; 
    width: 75%; 
    margin-right:auto;
    margin-left:auto;
}

#team .card {
    border: none;
    background: #ffffff;
}

.card{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    box-orient: vertical;
    box-direction:normal;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 2px solid rgba(0,0,0,.125);
    border-radius: .25rem;}
    
.card-text{
        padding-left:5px;
        padding-right:5px;
    }

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    width: 350px;
}

.frontside .card,
.backside .card {
    min-height: 320px;
}

.backside .card a {
    color: #007b5e !important;
}

.frontside .card .card-title,
.backside .card .card-title {
    color: #007b5e !important;
}

.frontside .card .card-body img {
    width: 180px;
    height: 180px;
    margin-top:10px;
}

.backside .card-body{
    padding-top:12%;
}
.videoContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

iframe {
  /* optional */
  width: 100%;
  height: 100%; 
}

.flex i{
    display: inline-block;
    float: left;
    margin: 0px 15px;
    font-size: 2.5em;
    background-color: rgb(15,100,58);
    padding: 20px;
    border-radius: 50%;
    color:white;
}

.flex h2{
    display: flex;
    align-content: center;
    font-size: 1.5em;
    padding-left: 10px;
    margin-bottom: 0px;
}
.flex{
    display: flex;
    align-items: center;
}

.flex p{
   color: #fff;
   margin-bottom:0px;
}

.center-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrap {
  width:80%;
  height: 91px;
  position:relative;
  background: #ffffff;
  -webkit-perspective: 500px;
     -moz-perspective: 500px;
       -ms-perspective: 500px;
        -o-perspective: 500px;
    perspective: 500px;
  float:left;
  margin:10px 0px;
    display: flex;
    padding: 0px 10px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    cursor: pointer;
}
.video-wrap:hover div{
  -webkit-transform: rotateX(0deg);
     -moz-transform: rotateX(0deg);
       -ms-transform: rotateX(0deg);
        -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
}
.video-wrap:hover .video-title{
    background: rgb(15,100,58);
}
.video-wrap h2{
    display:flex;
    flex-direction: column;
}
.video-wrap span{
    font-size:.7em;
    padding-top:5px;
    font-style: italic;
    margin-left: 25px;
}
.row-flex{
    flex-direction: row !important;
}
.video-title {
  position:absolute;
  left:0;
  bottom:0;
  width: 100%;
    display: flex;
  height: 89px;
  -webkit-box-sizing: border-box; 
    box-sizing: border-box;
  color: white;
  transition: all .3s ease;
  -webkit-transform: rotateX(-90deg);
     -moz-transform: rotateX(-90deg);
       -ms-transform: rotateX(-90deg);
        -o-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
  padding: 0px 10px;
  box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.nav-tabs .active {
    color: #0F643A;
    cursor: default;
    border:none;
    background-color: #fff;
    border-bottom: 2px solid #0F643A;
    font-weight: 700;
}

.nav-tabs li{
    width: 50%;
    text-align:center;
}

.nav-tabs .active a{
     color: #0F643A;
}

#myVideo {
    position: relative;
    right: 0;
    bottom: 0;
    max-width: 100%;
}

.new {
  width: 100%;
  height: 25vh;
  z-index:6;
}

.logo {
  position: fixed;
  left:40%;
  margin: 16px 36px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}
.left{
  float:left;
}
.right{
  float:right;
}

.homepage nav,.page-resources nav,.page-working-with-us nav,.page-your-team nav,.page-how-to-take-control nav {
  position: fixed;
  width: 100%;
  padding-top:30px;
  transition: 1s;
}

#topbar{
  background:rgba(15, 100, 58, .5);   
  color:#fff;
  height:40px;
}

.homepage nav ul, .page-resources nav ul, .page-how-to-take-control nav ul, .page-your-team nav ul, .page-working-with-us nav ul{
  list-style: none;
  background: rgba(0, 0, 0, 0);
  overflow: hidden;
  color: #fff;
  text-align: center;
  margin: 0;
  height:100px;
  padding:20px 50px 10px 50px;
  display:flex;
  justify-content:space-around;
}

nav.black{
  background: rgb(15, 100, 58);
}

nav ul li{
  display: inline-block;
  padding: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}

.menu-icon {
  width: 100%;
  background: #000;
  text-align: right;
  box-sizing: border-box;
  padding: 15px 24px;
  cursor: pointer;
  color: #fff;
  display: none;
}

@media(max-width: 1000px) {
  .logo {
    position: fixed;
    top: 0;
    left:10%;
    margin-top: 16px;
  }
  
  nav ul {
    max-height: 0px;
    background: #000;
  }
  
  nav.black ul {
    background: #000;
  }
  
  .showing {
    max-height: 20em;
  }
  
  nav ul li {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 0;
    text-align: center;
  }

  .menu-icon {
    display: block;
  }
}

.content-home-hero {
    position: absolute;
    bottom: 35%;
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
    text-align:center;
    z-index:5;
}
.content-home-nav{
    position: absolute;
    top: 0;
    padding: 0px;
    text-align:center;
    width:100%;
}
.content-home-hero h1{
    text-transform:none;
    color:#fff !important; 
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
}
.home-menu-item:hover{
    background:none;
    padding:none;
}
.home-menu-item span{
    visibility:hidden;
    padding:0px 100px;
}



@media all {
				.lightbox { display: none; }}
				
@media screen and (min-width:1920px){
    #myVideo{
    max-width: none;
    width: 100%;
    }
}
				
@media screen and (max-width:800px){
    .frontside,.backside{
        width:270px;
    }
}

@media screen and (max-width:1200px){
 .homepage #topbar a,.page-resources #topbar a,.page-your-team #topbar a,.page-how-to-take-control #topbar a,.page-working-with-us #topbar a{
     font-size:12px;
 }   
 .homepage .logo img,.page-resources .logo img,.page-your-team .logo img,.page-how-to-take-control .logo img,.page-working-with-us .logo img{
     width:250px !important;
 }
 .homepage .menu a,.page-resources .menu a,.page-your-team .menu a,.page-how-to-take-control .menu a,.page-working-with-us .menu a{
     font-size: 14px;
 }
 .homepage .menu li,.page-resources .menu li,.page-your-team .menu li,.page-how-to-take-control .menu li,.page-working-with-us .menu li{
     padding: 20px 10px;
 }
 .frontside, .backside{
     width:300px;
 }
}
				
@media screen and (max-width:1000px){
    .homepage header,.page-resources header,.page-your-team header,.page-how-to-take-control header,.page-working-with-us header{
        display:block;
    }
    .homepage header.new,.page-resources header.new,.page-how-to-take-control header.new,.page-your-team header.new,.page-working-with-us header.new{
        display:none;
    }
}
@media screen and (min-width:480px) and (max-width:991px){
    .video-title{
        display:none;
        -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
    }
    .video-wrap:hover .video-title{
        display:flex !important;
    }
    .video-wrap:hover .video-title p{
        font-size: .8em;
    }
}
@media screen and (min-width:481px) and (max-width:991px){
    .navbar-header{
        top: -30px;
    }
}
@media screen and (max-width:991px){
    .result-amount{
        margin:15px;
    }
    .homepage nav ul, .page-resources nav ul, .page-how-to-take-control nav ul, .page-your-team nav ul, .page-working-with-us nav ul{
        overflow: visible;
        width: 100%;    
        display: block;
        
    }
    .page-resources #section_1,.page-working-with-us #section_1, .page-your-team #section_1, .page-how-to-take-control #section_1{
    padding-top: 10px;
}
}
@media screen and (max-width:768px){
    page-resources #section_1,.page-working-with-us #section_1, .page-your-team #section_1, .page-how-to-take-control #section_1{
    padding-top: 0px;
    background: none !important;
    margin-top: -50px;
}
}
@media screen and (max-width:600px){
    .form-calc{
        display:none;
    }
.right-align{
    text-align:center !important;
}
.left-align{
    text-align:left !important;
}
li.active a{
    text-align: center;
    background: rgba(0, 0, 0, .05);
    box-shadow: -2px 2px 5px #ddd;
}
.nav.nav-tabs{
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.nav.nav-tabs li h2{
    color:rgba(15, 100, 58, .4);
}
.nav.nav-tabs li.active h2{
    color:rgba(15, 100, 58, 1);
}
}