/** General style **/

body {
  background-color: white;
}
.h1, .h2, .h3, .h4, body, h1, h2, h3, h4, h5, h6, body .container .well p {
  font-family: "Avenir Next", "Lato", "Lucida Grande",Tahoma,Arial,sans-serif;
  font-weight: 400;
}
.pointer {
    cursor: pointer;
}
.table tbody>tr>td.vertical-align{
    vertical-align: middle !important;
}
.align-middle {
    vertical-align: middle !important;
}
.borderless-top th, .borderless-top td {
     border-top: none !important;
}
td.details {
    padding: 0 !important;
}
input[type="checkbox"], input[type="radio"] {
    height: 20px !important;
    width: 20px !important;
}
p {
    font-size: 1.1em;
    line-height: 1.6em;
}
.has-error .form-control {
  color: red;
}
.form-group .help-block {
    position: relative;
}
.form-group.is-focused .help-block.error {
    display: none;
}
.form-group.has-error .help-block {
    position: relative;
    display: inline;
}
b {
  font-weight: 500;
}
.form-control, .form-group .form-control {
    background-image: linear-gradient(lightgray, lightgray), linear-gradient(#D2D2D2, #D2D2D2);
    background-size: 100% 2px, 100% 1px;
}
.valign-middle {
    vertical-align: middle;
}
.no-margin-bottom {
    margin-bottom: 0px;
}
.no-padding-bottom {
    padding-bottom: 0px !important;
}
.no-bullets {
    list-style: none;
}
.table-borderless > tbody > tr > td, .table-borderless > tbody > tr > th {
    border: none;
}

/** Reports page **/

.btn-connect-23andme {
    text-transform: none;
    border-radius: 30px;
    background-color: #e50670 !important;
    text-decoration: none !important;
    color: white !important;
}
.clear-filter {
    cursor: pointer;
    margin-left: 3px;
}


/** Log In page **/

.line-thru {
    display: block;
    font-size: 1em;
    margin-bottom: 1em;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}
.line-thru:before {
    width: 40px;
    height: 10px;
    background-color: #fff;
    content: '';
    margin: -5px 0 0 -20px;
    left: 50%;
    position: absolute;
    top: 50%;
    z-index: -1;
}
 .line-thru:after {
    border-bottom: 1px solid #d2d2d2;
    content: '';
    display: block;
    position: absolute;
    top: 49%;
    width: 100%;
    z-index: -2;
 }


/** Sign Up page **/

#table-consent-items td {
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: top;
}

#consent-items-panel {
    padding: 20px;
    background-color: #eee;
}


/** Customize Theme **/

.navbar.navbar {
    background-color: #f7f7f7;
    color: #666666;
    border-top: 2px solid #00aabd;
    padding-left: 3%;
    padding-right: 3%;
}
.navbar a.active {
    color: #00aabd !important;
    border-bottom: 2px solid #00aabd;
}
fieldset {
    margin-bottom: 12px;
}

.form-group .checkbox label, .form-group .radio label, .form-group label {
    /* make label colors darker */
    color: #838383 !important;
}
label.error { /* for jquery validate plugin error messages */
    color: red !important;
}
/* end */


/* Increase navbar height */

.navbar-fixed-top {
    min-height: 40px;
}
.navbar-nav > li > a {
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 52px;
}
@media (max-width: 767px) {
    .navbar-nav > li > a {
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;}
}
/* end */


/* Make logo responsive */

.navbar-brand {
    width: 275px;
    height: 100% !important;
    padding: 8px 8px 0px 8px;
}


@media (min-width: 992px) and (max-width: 1199px) {
    .navbar .navbar-brand {
        padding: 6px;
        width: 235px;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-brand {
        padding: 4px;
        width: 220px;
    }
}

/* end */


/* Collapse nav menu earlier */

@media (min-width: 768px) and (max-width: 1150px) {
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar-header .collapse, .navbar-toggle {
        display:block !important;
    }
    .navbar-header {
        float:none;
    }
}
/* end */


/* Footer */

#img-footer-logo {
    width: 100%;
}
/* end */


/* Sticky footer styles */

html {
    position: relative;
    min-height: 100%;
}
body {
    padding-bottom: 300px;
}
@media (max-width: 991px) {
    body  {
      padding-bottom: 400px;
    }
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer-main {
    background-color: #f5f5f5;
}
.footer-sub {
    width: 100%;
    color: white;
    background-color: #00aabd;
}
.footer-sub {
    padding: 5px;
}
.footer-sub a {
    color: white;
}
/* end */


/* Social media buttons */

footer #social-media-links i {
    font-size: 1.5em;
    vertical-align: middle;
}
footer #social-media-links a {
    text-decoration: none;
}
footer #social-media-links a span {
    margin-left: 5px;
}
footer #social-media-links a:hover span {
    text-decoration: underline;
}
/* end */


/* Subscription modal */

.table-checkbox .form-group {
    padding:0px;
    margin: 0px;
    vertical-align: top;
}
.table-checkbox .form-group input {
    margin-top: 10px;
    margin-right: 5px;
}
/* end */


/* Static pages */

.section {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 10%;
  padding-right: 10%;
}
.section-white {
  background-color: white;
}
.section-gray {
  background-color: #f5f5f5;
}
.info h4 {
    font-weight: 500;
    font-size:1.8em;
    margin-top: 20px;
}
/* end */


/* Home page */

.photo-banner {
    margin-top: -20px;
    padding-top: 20px;
    min-height: 400px;
    background-position: center center;
    background-size: cover;
}
@media (max-width: 767px) {
    .photo-banner {
        background-position: center center !important;
    }
}
#intro-card {
  color: black;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px 10px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 5px;
}
.intro-card-right {
    margin-top: 5%;
    margin-bottom: 5%
}
.intro-card-left {
    margin: 5%;
}
#intro-card a {
    width: 200px;
    margin-right: auto;
    margin-left: auto;
}
#img-report {
    width: 100%;
    background-position: top;
    background-size: cover;
    border: 1px solid lightgray;
    margin: 0 auto;
}

/* end */


/* Home page - Basic carousel used for report screenshots and testimonials */

.carousel-basic.carousel {
  padding-bottom: 60px;
}
.carousel-basic.carousel .carousel-indicators {
  bottom: 10px;
}
.carousel-basic.carousel .carousel-indicators > li {
  background-color: #00aabd;
  border: none;
}
.carousel-basic.carousel blockquote {
    text-align: center;
    border: none;
}
.carousel-basic.carousel .profile-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 100px;
}

/* Home page - Quote carousel */

section#quote-carousel-container {
    padding-top: 50px;
    padding-bottom: 0px;
}
#quote-carousel-container .quote {
    color: rgba(0,0,0,.1);
    text-align: center;
    margin-bottom: 0px;
}


/* Home page - Banner Carousel */

#carousel-banner .carousel-control {
  width: 6%; /* avoid overlap to fix bug when trying to click a link in the banner */
}
#carousel-banner {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: -20px;
    min-height: 400px;
}
#carousel-banner .carousel-inner > .item > img,
#carousel-banner .carousel-inner > .item > a > img {
    width: 100%;
    height: 400px;
}
#carousel-banner .carousel-inner .item {
    background-size: cover;
    min-height:470px;
}
#carousel-banner #carouselContainer {
    margin-top:-20px;
    padding-right: 0px;
    padding-left: 0px;
}
@media screen and (max-width: 767px) {
    #carousel-banner .carousel-inner .item {
        min-height: 420px;
    }
}
#carousel-banner .carousel-inner #item-1 {
    background-position: center -40px;
}
#carousel-banner .carousel-inner #item-2 {
    background-position: center -40px;
}
#carousel-banner .carousel-inner #item-3 {
    background-position: 80%;
    background-size: 350px 500px;
    background-repeat: no-repeat;
    background-color: #00aabd;
}
@media screen and (max-width: 991px) {
    #carousel-banner .carousel-inner #item-3 {
        background-position: center;
    }
}
@media screen and (max-width: 767px) {
    #carousel-banner .carousel-inner .item {
        background-position: center center !important;
    }
}
@media screen and (max-width: 767px) {
    #carousel-banner .carousel-inner .item {
        background-position: center center !important;
    }
}
#carousel-banner .carousel-control .fa-chevron-right, .carousel-control .icon-next {
    right: 25px;
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
#carousel-banner .carousel-control .fa-chevron-left, .carousel-control .icon-prev {
    left: 25px;
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}


/* Home page - Report carousel */

#report-carousel .item {
    cursor: pointer;
}


/* Home page - steps */

#steps {
  margin-top: 80px;
}
@media screen and (max-width: 500px) {
    #steps {
       margin-top: 35px;
       margin-bottom: 35px;
    }
}
.section-header, .steps-header, .steps-name {
  color: #00aabd;
  font-weight: 400;
  font-size: 1.1em;
}
.steps-header {
  margin-bottom: 20px;
  text-align: center;
}
.steps-timeline {
  outline: 1px dashed rgba(255, 0, 0, 0);
}
.steps-timeline {
  border-left: 2px solid #00aabd;
  margin-left: 25px;
}
.steps-timeline:after {
  content: "";
  display: table;
  clear: both;
}

.steps-one,
.steps-two,
.steps-three,
.steps-four {
  outline: 1px dashed rgba(0, 128, 0, 0);
}
.steps-one,
.steps-two,
.steps-three,
.steps-four {
  margin-left: -14px;
}
.steps-one,
.steps-two,
.steps-three {
  padding-bottom: 60px;
}
.steps-four {
  margin-bottom: -100%;
}
.steps-img {
display: block;
margin: auto;
width: 25px;
height: 25px;
border-radius: 50%;
content: '';
background-color: #00aabd;
}
.steps-img {
  float: left;
  margin-right: 20px;
}
.steps-name {
  margin: 0;
  margin-top: 10px;
  padding-top: 5px;
}

/* end */

/* About Us */

#team-gallery {
    text-align: center;
}
#team-gallery img {
    margin: 0 auto;
    border-radius: 25px;
}
/* end */


/* Checkout pages */

#order-totals h4, #order-total h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}
#order-total-row td {
    padding-top: 0px;
}
/* end */


/* Back-to-top button */

#return-to-top {
    position: fixed;
    z-index: 999;
    bottom: 50px;
    right: 30px;
    background-color: gray;
    opacity: 0.4;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 15px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media screen and (min-width:1200px) {
    #return-to-top:hover {
        background: rgba(0, 0, 0, 0.9);
        opacity: 0.6;
    }
    #return-to-top:hover i {
        color: #fff;
        top: 5px;
    }
}

/* end */


/* Popover */
/* Override material css with bootstrap's classic css */

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  max-width: 276px;
  padding: 1px;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  font-family: inherit;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, .2);

  line-break: auto;
  color: #333;
}
.popover.top {
  margin-top: -10px;
}
.popover.right {
  margin-left: 10px;
}
.popover.bottom {
  margin-top: 10px;
}
.popover.left {
  margin-left: -10px;
}
.popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}
.popover-content {
  padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.popover > .arrow {
  border-width: 11px;
}
.popover > .arrow:after {
  content: "";
  border-width: 10px;
}
.popover.top > .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, .25);
  border-bottom-width: 0;
}
.popover.top > .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  content: " ";
  border-top-color: #fff;
  border-bottom-width: 0;
}
.popover.right > .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, .25);
  border-left-width: 0;
}
.popover.right > .arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}
.popover.bottom > .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, .25);
}
.popover.bottom > .arrow:after {
  top: 1px;
  margin-left: -10px;
  content: " ";
  border-top-width: 0;
  border-bottom-color: #fff;
}
.popover.left > .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, .25);
}
.popover.left > .arrow:after {
  right: 1px;
  bottom: -10px;
  content: " ";
  border-right-width: 0;
  border-left-color: #fff;
}
