/* Variables
-------------------------------------------------------------- */
/* Quick Project Resets
-------------------------------------------------------------- */
#seo-area *, #footer * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; }

body {
  font-size: 100%;
  line-height: 1.3;
  color: #333333; }

ul, ol, li, dl {
  list-style: none;
  margin: 0;
  padding: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0; }

/* Clearfix
-------------------------------------------------------------- */
.cf:before,
.cf:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.cf:after {
  clear: both; }

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
  *zoom: 1; }

/* Container
-------------------------------------------------------------- */
.content-container {
  width: 960px;
  margin: 0 auto;
  position: relative; }

/* Half Assed Grid
-------------------------------------------------------------- */
.one-third {
  width: 300px;
  float: left; }

.two-thirds {
  width: 630px;
  float: left; }

.one-half {
  width: 465px;
  float: left; }

.push {
  margin-right: 30px; }

/* SEO Class
-------------------------------------------------------------- */
.seo {
  width: 100%; }

.seo:nth-of-type(odd) {
  background: white; }

.seo:nth-of-type(even) {
  background: #c6d5dc; }

/* Typography
-------------------------------------------------------------- */
.seo h2 {
  font-size: 20px;
  font-weight: bold;
  color: #444;
  font-family: "ProximaNova", helvetica-neue, sans-serif; }

.seo h3 {
  font-size: 16px;
  font-weight: bold; }

.seo p {
  font-size: 16px;
  font-family: "ProximaNova", helvetica-neue, sans-serif;
  padding: 5px 0; }

span.small-text {
  font-size: 12px; }

.seo a {
  color: #328aa1; }

/* About Founder Row
-------------------------------------------------------------- */
.founder-info {
  padding-top: 50px; }

  .founder-photo img {
    margin-top: 3px;
    height: 710px;
  }

.about-the-founder {
  padding-bottom: 50px; }

.question > div {
  width: 300px;
  float: left; }

.happy-image {
  height: 250px;
  margin-top: 35px;
  background: url(../images/lgn/png-sprite.png) no-repeat;
  background-position: 0px -531px;
  text-align: center; }

.happy-couples {
  padding-top: 160px; }

.happy-image p {
  padding: 0;
  margin: 0; }

/* Four Easy Steps Row
-------------------------------------------------------------- */
#steps {
  padding-top: 50px;
  padding-bottom: 30px; }

.steps {
  width: 315px;
  float: left; }

.trusted {
  width: 615px;
  float: left; }

/* Step Ribbons */
.step {
  font-size: 16px !important;
  /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */
  width: 300px;
  height: 80px;
  position: relative;
  color: #fff;
  margin: 0 0 20px -10px;
  /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */ }

.step:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-bottom: 40px solid transparent;
  /* left arrow slant */
  border-top: 40px solid transparent;
  /* right arrow slant */
  border-right: 15px solid #c6d5dc;
  /* bottom, add background color here */
  font-size: 0;
  line-height: 0;
  z-index: -0; }

.step:after {
  content: "";
  position: absolute;
  top: 18px;
  left: 8px;
  width: 44px;
  height: 44px;
  background: url(../images/lgn/png-sprite.png) no-repeat; }

.step:nth-of-type(1) {
  background: #328aa1;
  margin-top: 20px; }

.step:nth-of-type(1):after {
  background-position: 0 0; }

.step:nth-of-type(2) {
  background: #fbb024; }

.step:nth-of-type(2):after {
  background-position: -45px 0; }

.step:nth-of-type(3) {
  background: #8fb43e; }

.step:nth-of-type(3):after {
  background-position: -90px 0; }

.step:nth-of-type(4) {
  background: #a12847; }

.step:nth-of-type(4):after {
  background-position: -135px 0; }

.step-content {
  width: 194px;
  float: right;
  position: relative;
  font-size: 16px;
  right: 40px;
  top: 12px; }

/* Marriages Row
-------------------------------------------------------------- */
#marriages {
  padding-top: 50px;
  padding-bottom: 30px; }

.newlyweds {
  padding-right: 30px; }

.marriages-image {
  height: 385px;
  background: url(../images/lgn/png-sprite.png) no-repeat;
  background-position: -375px 0; }

/* Diversity Row
-------------------------------------------------------------- */
#diversity {
  padding-top: 50px;
  padding-bottom: 30px; }

.free-profile {
  width: 315px;
  float: left; }

.meet-people {
  width: 615px;
  float: left; }

.meet-people ul {
  width: 75%;
  padding-top: 20px; }

.meet-people ul li {
  display: inline-block;
  margin-right: 8px;
  font-size: 16px; }

.meet-people ul li:after {
  content: "|";
  padding-left: 8px; }

.meet-people ul li:last-of-type:after {
  content: ""; }

/* Local Singles Row
-------------------------------------------------------------- */
#local-singles {
  padding-top: 50px;
  padding-bottom: 30px; }

.find-local-singles {
  padding-right: 45px; }

.singles-image {
  height: 77px;
  background: url(../images/lgn/png-sprite.png) no-repeat;
  background-position: 20px -448px; }

.find-local-singles img {
  display: block;
  margin: 0 auto;
  padding: 15px 0; }

.eh-advice {
  height: 85px;
  background: url(../images/lgn/png-sprite.png) no-repeat;
  background-position: -450px -586px; }

/* Start Today / More Personal
-------------------------------------------------------------- */
.start-dating {
  width: 445px;
  padding: 50px 0 30px;
  float: left; }

/* Signup Form
-------------------------------------------------------------- */
/* Form Size - Background - Setup */
.signup-form {
  width: 466px;
  height: 606px;
  margin-left: 19px;
  padding: 15px 55px 30px 30px;
  float: left;
  background: url(http://static.eharmony.com/files/corp/images/lgn/sem-form.jpg) no-repeat; }

.signup-form:before {
  content: "";
  background: url(../images/lgn/png-sprite.png) no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  width: 466px;
  height: 13px;
  background-position: 0 -394px;
  margin-top: -13px; }

.signup-form:after {
  content: "";
  background: url(../images/lgn/png-sprite.png) no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 466px;
  height: 14px;
  background-position: 0 -413px;
  margin-bottom: -13px; }

/* Free to Communicate image */
.free-communicate {
  height: 240px;
  background: url(../images/lgn/png-sprite.png) no-repeat;
  background-position: 10px -70px; }

.form-area {
  padding: 10px 20px; }

/* Form inputs and elements */
#bottom-form input {
  height: 30px;
  border-radius: 4px;
  border: 0;
  border: 1px solid #ababab;
  outline: 0;
  padding: 5px;
  width: 100%; }

.input-full {
  width: 100%; }

.input-half {
  width: 48%; }

.push-left {
  margin-left: 2%; }

.push-right {
  margin-right: 2%; }

/* Find Compatibility & Success Stories
-------------------------------------------------------------- */
#compatibility {
  padding: 50px 0; }

.true-compatibility {
  padding-right: 15px; }

.success-stories {
  padding-left: 15px; }

/* Footer
-------------------------------------------------------------- */
#footer:before {
  content: "";
  height: 4px;
  width: 100%;
  position: absolute;
  top: 0;
  background: url(../images/lgn/footer-top.png); }

#footer {
  height: 350px;
  position: relative;
  background: #0a0a0b;
  padding: 40px 0;
  font-size: 14px; }

#footer p, #footer li {
  font-size: 14px; }

#footer a {
  color: white; }

#footer nav {
  margin-bottom: 30px; }

#footer ul {
  display: inline-block;
  vertical-align: top;
  width: 187px; }

#footer ul:first-of-type {
  padding: 0; }

#footer ul:nth-of-type(n+2) {
  padding-left: 50px; }

#footer ul:last-of-type {
  padding-left: 70px; }

#footer ul li {
  margin-bottom: 7px; }

#footer p {
  color: white; }

.patent p {
  text-align: right;
  padding-right: 10px; }

/* Form
-------------------------------------------------------------- */
#seo-area .form-container {
  height: 480px;
  position: relative;
  padding: 0;
  width: 100%;
  margin: 0; }

#seo-area .form-container section {
  clear: both; }

#seo-area .half {
  width: 50%;
  margin: 0; }

#seo-area .left {
  float: left; }

#seo-area .right {
  float: right; }

#seo-area .form-container section:before, #seo-area .form-container section:after {
  content: "";
  display: table; }

#seo-area .form-container section:after {
  clear: both; }

#seo-area .form-container .regform {
  background: none;
  border: 0;
  border-radius: 10px;
  height: 380px;
  position: absolute;
  width: 100%;
  padding: 0;
  z-index: 3;
  box-shadow: none; }

#seo-area .form-container h3 {
  margin-bottom: 15px; }

#seo-area .form-container .frame {
  float: left;
  width: 100%;
  padding: 0; }

#seo-area .form-container h5 {
  font-weight: 700;
  color: #514A3E;
  font-size: 14px;
  margin: 0; }

#seo-area .form-container form {
  overflow: hidden; }

#seo-area .frame-container {
  width: 200%; }

#seo-area .regform .text select {
  margin-left: -2px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: inherit;
  width: 120%;
  height: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0; }

#seo-area .regform select {
  margin: 0; }

#seo-area .regform section {
  margin-bottom: 15px;
  position: relative; }

#seo-area .regform section div.text {
  background: url(../images/lgn/updownarrow.png) no-repeat 97% center white;
  overflow: hidden; }

#seo-area .regform section .placeholder {
  display: block;
  text-align: left;
  color: #222;
  line-height: 1.15em;
  font-size: 1.15em;
  height: 1.15em;
  padding: .5em; }

#seo-area .regform .frame {
  transition: all .4s ease-in-out; }

#seo-area .regform .frame.hidden {
  visibility: hidden; }

#seo-area .regform #frame1.frame.hidden {
  margin-left: -400px; }

#seo-area .regform .text.invalid {
  border: 1px solid #bf202f;
  color: #bf202f;
  background: #fcf9cf !important;
  -moz-transition: background .4s ease;
  -webkit-transition: background .4s ease;
  -ms-transition: background .4s linear; }

#seo-area .regform .text.valid {
  color: #222;
  border: 1px solid #8fb42c;
  background: url(../images/landing/valid.png) no-repeat 98% white;
  -moz-transition: background .4s ease;
  -webkit-transition: background .4s ease;
  -ms-transition: background .4s linear; }

#seo-area .regform .text.valid[type=password] {
  background: url(../images/landing/lock-green.png) no-repeat 98% white; }

#seo-area .regform .text.woman {
  background: url(../images/ko/female-icon.png) no-repeat 97% bottom white; }

#seo-area .regform .text.man {
  background: url(../images/ko/male-icon.png) no-repeat 97% bottom white; }

#seo-area .regform .tip {
  font-size: 11px;
  color: #bf202f;
  height: 1em;
  margin: 2px 0 -1em 8px;
  font-weight: 700;
  display: block;
  clear: both; }

#seo-area .regform .submitbox {
  text-align: center;
  margin-top: -10px; }

#seo-area .regform .submitbox p {
  font-size: 11px;
  color: #666;
  margin-top: 23px; }

#seo-area .regform hr.dotted {
  border: 2px dotted #888;
  border-width: 2px 0 0;
  margin: 0 0 14px; }

#seo-area .regform section .placeholder {
  display: block;
  text-align: left;
  color: #222;
  line-height: 1.15em;
  font-size: 1.15em;
  height: 1.15em; }

#seo-area .regform #genders-dd {
  margin-bottom: 30px; }

#seo-area #frame2 .button {
  display: inline-block;
  margin-left: 10px; }

#seo-area #frame2 .submitbox a {
  display: inline-block;
  text-decoration: underline;
  color: #1F86A5; }

#seo-area #frame2 .go-back {
  text-align: left; }

#seo-area .extra-data {
  bottom: 0;
  color: #fff;
  font-size: .75em;
  margin-top: 15px;
  position: absolute;
  text-align: center; }

/* edits
-------------------------------------------------------------- */
#seo-area #frame1, #seo-area #frame2 {
  width: 50%; }

#seo-area #frame1 {
  float: left; }

#seo-area .regform .text {
  border: 1px solid #888;
  border-radius: 6px;
  font-size: 16px;
  height: 42px;
  line-height: 42px;
  padding: 0 0 0 15px;
  width: 100%; }

#seo-area .regform .half .text {
  width: 100%;
  overflow: hidden;
  max-width: none;
  display: inline-block; }

#seo-area input[type="submit"] {
  outline: 0;
  border: 0;
  padding: 0; }

#inlinks .right a {
  background: url(../images/lgn/social-sprite.png) no-repeat;
  display: block;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 2px; }

#inlinks .right a.fb {
  background-position: -4px -2px; }

#inlinks .right a.tw {
  background-position: -36px -2px; }

#inlinks .right a.yt {
  background-position: -68px -2px; }

#inlinks .right span {
  margin-top: 2px; }

  #seo-area .regform section .zip {
    width: 48%;
    margin-right: 2%;
}


@media screen and (min-height: 840px) {
  #main {
    height: 768px;
  }
}

@media screen and (min-height: 1040px){
  #main {
    height: 834px;
  }
}

/* Dogfish Edits
============================================================== */
#start-today {
  padding: 50px 0;
}

/* Tooltip 
============================================================== */
.tooltip {
  background:#1e5969;
  color:#FFF;
  display:none;
  font-family:"ProximaNova", sans-serif;
  font-size:13px;
  margin-top:-42px;
  padding:15px 28px;
  position: absolute;
  right:-260px;
  width:230px;
}
.tooltip::before {
  content:" ";
  display:block;
  left:-14px;
  position:absolute;
  top:18px;
  width: 0; 
  height: 0; 
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;  
  border-right:14px solid #1e5969; 
}
