

body {
	background-color: #d4d7d5;
	/*margin-bottom: -5px;*/
}

.background-white{
	background-color: white;
	width: 960px;
	height: auto;
	margin: 0 auto;
}

#toggle {
  display: block;
  width: 28px;
  height: 30px;
	position: absolute;
	

	top: 8%;
	right: 1%;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 7px;
  background-color: #ffffff;
     -moz-box-shadow:    inset 0 0 1px #000000;
   -webkit-box-shadow: inset 0 0 1px #000000;
   box-shadow:         inset 0 0 1px #000000;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 3px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
  box-shadow: none;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + .menu {
  opacity: 1;
  visibility: visible;
}

.menu-links {
	position: absolute;
	width: 40%;
	height: 2%;
	top: 4%;
	right: 2%;
  color: white;
  font-family: 'Open Sans', Times, sans-serif;
  font-weight: lighter;
  font-size: 14px;
  text-align: center;
  text-shadow: 1px 1px 3px black;

}

.menu-links a{
	text-decoration: none;
	color: white;
}

/* menu appearance*/
.menu {
	position: absolute;
	width: 15%;
	z-index: 2;
	top: 17%;
	right: 4%;
  color: #999;
  width: 200px;
  padding: 10px;
  
  font-family: 'Open Sans', Times, sans-serif;
  font-weight: lighter;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  background: gray;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  /* just for this demo */
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s;
}

ul, li, li a {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
li a {
  padding: 5px;
  color: #ffffff;
  text-decoration: none;
  transition: all .2s;
  border-bottom: 1px solid #a5a7a6;
}
li a:hover,
li a:focus {
  background: #1ABC9C;
  color: #fff;
}

.banner-subpage {
	position: relative;
	width: 960px;
	height: 200px;
	margin: -22px auto;
	background-repeat: no-repeat;
}

.banner-business{
	position: relative;
	background-image: url("images/banner-business.jpg");
}

.banner-retirement{
	background-image: url("images/banner-retirement.jpg");
}

.banner-mortgages{
	background-image: url("images/banner-mortgages.jpg");
}

.banner-estate{
	background-image: url("images/banner-estate.jpg");
}

.banner-college{
	background-image: url("images/banner-college.jpg");
}

.banner-tax{
	background-image: url("images/banner-tax.jpg");
}

.banner-contact{
	background-image: url("images/banner-contact.jpg");
}

.banner-terms{
	background-image: url("images/banner-terms.jpg");
}

#logo{
	position: absolute;
    width: 180px;
	height: 98px;
	top: -2%;
	left: 2%;
}
#logo h4{
    color: white;
    text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	font-size: 16px;
	margin-top: -15px;
}

.title {
	position: relative;
	top: 37%;
	margin-left: 30%;
	color: white;
    text-align: left;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
}

.title h1 {
	font-size: 32px;
}

.title h4 {
	font-size: 16px;
	margin-top: -20px;
}

.personal-info {
	position: relative;
	width: 960px;
	height: auto;
	margin: 0 auto;
	background: white;
	display: flex;
}

.personal-pic{
	position: relative;
	/*padding: 20px 20px 20px 40px;*/
	background-repeat: no-repeat;
	width: 180px;
	height: 270px;
	top: -20px;
	left: 2%;
	box-shadow: 0px 6px 8px #a2a1a1;
}



.ryan-cataldo{
	background-image: url("images/ryan-cataldo-personal.jpg");
}

.paul-cella{
	background-image: url("images/paul-cella-lg.jpg");
}

.gabriel-gillen {
	background-image: url("images/gabriel-gillen-lg.jpg");
}

.stuart-gavzy {
	background-image: url("images/stuart-gavzy-lg.jpg");
}

.robert-feil {
	background-image: url("images/robert-feil-lg.jpg");
}
.robert-zigman {
	background-image: url("images/robert-zigman-lg.jpg");
}


#personal-descr{
	position: relative;
	width: 75%;
	height: auto;
	padding-left: 60px;
	padding-right: 30px;
	float: left;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	font-size: 15px; 
	float: right;
}

.text-wide {
	margin: 0 auto;
}

.learning-center-header{
	position: relative;
	margin: -20px auto;
	width: 960px;
	height: auto;
	background: white;
}

.learning-center-header h1{
	margin: 0 auto;
	width: 30%;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	font-size: 22px;
	border-bottom: 1px solid gray;
	padding-bottom: 5px;
	text-align: center;
}

.learning-center-header p{
	padding-bottom: 20px;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	font-size: 16px;
	text-align: center;
}

.learning-main {
	position: relative;
	margin: -20px auto;
	width: 960px;
	height: auto;
	background: white;
	display: flex;
}

.learning-column{
	width: 45%;
	padding-left: 3.3%;
	height: auto;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: black;
	font-size: 15px;
	text-align: left;
}

.learning-column a{
	text-decoration: none;
	color: black;
}

.learning-column a:hover {
  border-bottom: 1px black dotted;
}

.call-contact{
	position: relative;
	margin: 0 auto;
	width: 960px;
	height: auto;
	background: white;
}

.call-contact h1{
	margin: 0 auto;
	width: 60%;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	font-size: 22px;
	text-align: center;
}

.call-contact a{
	color: black;
	font-weight: bolder;
	text-decoration: none;
}

.book{
	position: relative;
	margin: -20px auto;
	width: 960px;
	height: auto;
	background: white;
	display: flex;
}

#book-cover {
	width: 376px;
	height: 371px;
	float: left;
	margin-left: 5%;
	margin-top:2%;
	background-image: url("images/book.png");
	background-repeat: no-repeat;
}

#book-text {
	width: 55%;
	float: right;
	padding-right: 5%;
	margin-left: -5%;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	font-size: 16px;
}


.button{
  position: relative;
  width: 60px;
  left: 21%;
  top: -30px;
  border-radius: 2px;
  background:rgba(0,0,0,0);
  border: 1px solid #000;
  padding: 8px 16px;
  color: black;
  margin-top:0px;
  text-align: center;
}

.button a {
  text-decoration: none; 
  font-size: 16px; 
  color: black;
  font-family: 'Open Sans', Times, sans-serif;
  font-weight: lighter;
}
.button:hover a, .button:focus a, .button:hover, .button:focus {
	background: #000;
	color: #ffffff;
	transition-duration: 0.5s;
}

.white-space{
	width: 960px;
	height: 50px;
	margin: -20px auto;
	background-color: white;
}

.call-to-action {
	position:relative;
	width: 40%;
	margin: -20px auto;
	padding-top: 20px;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	background-color: white;
	/*opacity: 0;*/
}

.call-to-action p{
	font-size: 22px;
    margin-top: 30px;
    margin-left:20px;
}

.contact {
	position:relative;
	display: flex;
	width: 960px;
	height: auto;
	margin: -25px auto;
	padding-top: 20px;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	background-color: white;
	padding-bottom: 30px;
}

.companies-banner {
	position:relative;
	width: 40%;
	margin: -20px auto;
	padding-top: 20px;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	background-color: white;
	
}

.companies-banner h1{
	font-size: 30px;
	padding-bottom: 6px;
	border-bottom: 1px solid #c5c4c4
}

.companies-banner p{
	font-size: 16px;
    margin-top: -10px;
}

.companies-banner a {
	text-decoration: none;
	color: #363737;;
}

.companies {
	display: flex;
	position:relative;
	width: 960px;
	margin: -20px auto;
	padding-top: 20px;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	background-color: white;
	/*opacity: 0;*/
}

.company-info {
	position:relative;
	width: 25%;
	height: auto;
	margin-right: 3%;
	float: left
	/*opacity: 0; */
}


.company-info h1{
	font-size: 30px;
	padding-bottom: 10px;
	border-bottom: 1px solid #c5c4c4
}

.company-info p{
	font-size: 20px;
}

.form-all {
	padding-top: 25px;
	padding-left: 5%;
	width: 60%;
}

#form {
	
	height: auto;
	padding-right: 3%;
	display: inline-flex;
}

.feedback-input {
  display: flex;
  color:black;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight:200;
  font-size: 16px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:1px solid #c5c4c4;
  transition: all 0.3s;
  padding: 9px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
  margin-right: 5%;
  margin-bottom: 2%;

}

.left {
	float:left;
}

.right {
	float:right;
}

.submit-button {
  outline:none;
  height: 40px;
  text-align: center;
  width: 130px;
  border-radius:40px;
  background: #cfd9d8;
  border: 1px solid #60706f;
  color: #60706f;
  letter-spacing:1px;
  text-shadow:0;
  font-size:12px;
  font-weight:bold;
  cursor: pointer;
  transition: all 0.25s ease;
  float:right;
  margin-right: 5%;
}
.submit-button::hover {
    color:white;
    background: #839998;
}
.submit-button::active {
    letter-spacing: 2px ;
}
.submit-button::after {
    content:"SUBMIT";
}

.onclic {
  width: 40px;
  border-color:gray;
  border-width:3px;
  font-size:0;
  border-left-color: #40f5ea;
  -webkit-animation: rotating 2s 0.25s linear infinite;
   -moz-animation: rotating 2s 0.25s linear infinite;
    -ms-animation: rotating 2s 0.25s linear infinite;
     -o-animation: rotating 2s 0.25s linear infinite;
        animation: rotating 2s 0.25s linear infinite;
}
.onclic::after {
    content:"";
 }
.onclic::hover {
    color:green;
    background: white;
}
.validate {
  font-size:13px;
  color: white;
  background: #8fc8b7;
 }
.validate::after {
    font-family:'FontAwesome';
    font-size:20px;
    content:"\f00c";
 }

@keyframes rotating {
  from {
  	-moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        -ms-transform:rotate(0deg);
        -o-transform:rotate(0deg);
      
    transform: rotate(0deg);
  }
  to {
  	-moz-transform:rotate(360deg);
        -webkit-transform:rotate(360deg);
        -ms-transform:rotate(360deg);
        -o-transform:rotate(360deg);
    transform: rotate(360deg);
  }
}



#form-messages{
 
  width: 89%;
  float:left;
}

.success {
  padding: 1em;
 
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.error {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.antspm { 
	display:none;
}

.map {
	position: relative;
	display: flex;
	margin: 0 auto;
	width: 960px;
	height: 300px;
	background-color: white;
}

.map-each {
	position: relative;
	margin: 0 auto;
	width: 50%;
}

.margin-up {
	margin-top: -25px;
}

/*POP-UP*/

/*.popup-main{
  position:absolute;
  left:20%;
  top:5%;
  width: 60%;
  max-height: 60%;
  height: auto;
  overflow: scroll;
  /*margin-left:-202px;*/
/*  z-index:2;
  background-color: white;
  border: 1px solid gray;
  opacity:0;
  
}*/
/*
.popup-text{
	width: 80%;
	padding:5%;
	margin-top:5%;
	position:relative;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	font-size: 15px;
	color: black;
	opacity:0;
}*/

.popup {
  display: none;
  position: fixed;
  left:20%;
  top:5%;
  width: 60%;
  max-height: 60%;
  height: auto;
  overflow: scroll;
  background-color: white;
  font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	font-size: 15px;
	color: black;
  z-index: 20;
}

#popup2:after {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  z-index: -2;
}

#popup2:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #FFF;
  z-index: -1;
}


#popup-close{
  width:20px;
  height:20px;
  position:absolute;
  right:2%;
  top:1%;
  cursor:pointer;
}



/*.comment {
	position:relative;
	display: flex;
	width: 960px;
	height: auto;
	margin: 24px auto;
	padding-top: 20px;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	color: #363737;
	background-color: white;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}


.comment-large {
	width: 50%;
	margin: 0 auto;
}

.comment-large p {

	font-size: 15px;
}

.comment-left {
	margin-left: 20px;
	margin-right: 10px;
	opacity:0;
}

.comment-right {
	margin-left: 10px;
	margin-right: 20px;
	opacity: 0;
}*/

/*#transparent{
  position:absolute;
  top:0;
  left:0;
  display:none;
  z-index:1;
}*/

.footer {
	position: relative;
	background-image: url("images/footer.jpg");
	width: 960px;
	height: 43px;
	margin: -31px auto;
	background-repeat: no-repeat;
	text-align: center;
	font-family: 'Open Sans', Times, sans-serif;
	font-weight: lighter;
	font-size: 12px;
	color: white;

}

.footer a {
	color: white;
	text-decoration: none;
}

.footer p{
	padding-top: 10px;
}