body {
  text-rendering: optimizeLegibility;
  font-family: "Open Sans", Arial, sans-serif;
}

a, a:link, a:hover, a:active, a:visited {
  word-wrap: break-word;
}

button, button:focus {
  outline: none !important;
}

button:hover {
  cursor: pointer;
  cursor: hand;
}

h2 {
  font-size: 1.7rem;
  margin-top: 12px;
  font-weight: bold;
}

.none {
  display: none;
}

.container {
  /*max-width: 64.38rem; /* Set the MAX Width to 1030px, 1000 + 30 padding on .container */
  max-width: 62.5rem;
  /* Set the MAX Width to 1000px */
}

#member_login {
  vertical-align: middle;
  border: 0;
  font-size: 17px;
  padding: 2px 12px;
  border-radius: 5px;
  margin-right: 10px;
}

#member_login span {
  display: none;
}

span.world-flags-template {
  display: none;
}

nav.navbar {
  padding-right: 0;
  padding-left: 0;
  padding-top: 0.125rem;
  padding-bottom: 0.1875rem;
}

nav.navbar div.container {
  padding-right: 5px;
  padding-left: 5px;
}

nav.navbar div.navbar-nav {
  width: 75%;
}

nav.navbar div.navbar-nav h1 {
  margin-bottom: 0;
}

nav.navbar div.navbar-nav .navbar-brand {
  margin-right: 0;
}

.form_content {
  background-size: 127%;
  border-radius: 0px;
  margin-top: -50px;
  margin-bottom: 22px;
  background-position-x: right;
  background-repeat: no-repeat;
  display: table;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

div.home_container {
  padding-right: 5px;
  padding-left: 5px;
}

.mobile-head-img {
  background-color: #000;
  position: absolute;
  z-index: 0;
  right: 0;
  width: 127%;
}

.mobile-head-img img {
  width: 100%;
  opacity: 0.75;
}

h2.in-form-heading {
  display: none;
}

h2.form-header-out {
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 0 20px;
  text-align: center;
  font-size: 6.5vw;
  opacity: 1;
  text-shadow: 0.125rem 0.125rem 0.1rem #252525;
}

div.form-header-out {
  position: relative;
  width: 100%;
}

div.form-header-out-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

div.form_wrap {
  transition: all 0.25s ease-in-out;
  position: relative;
}

#search_elements, #search_elements_modal {
  text-align: left;
}

div.amAWrap, div.seekWrap {
  position: relative;
  margin-bottom: .5rem;
}

div.amAWrap label, div.seekWrap label {
  display: block;
  color: #2d2d2d;
  background: white;
  border-radius: 4px;
  font-size: 16px;
  padding: 10px;
  margin-bottom: 0;
  border-style: solid;
  border-width: 1px;
}

div.amAWrap::before, div.seekWrap::before {
  content: url(../images/si-glyph-arrow-down.svg);
  position: absolute;
  top: 14px;
  right: 16px;
  -webkit-transition: color 75ms linear;
  -moz-transition: color 75ms linear;
  transition: color 75ms linear;
  width: 20px;
}

div.emailWrap input[type=email], div.emailWrap #email, div.emailWrap #email_modal {
  border-style: solid;
  border-width: 1px;
}

#gender, #seeking, #gender_modal, #seeking_modal {
  opacity: 0;
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  font-size: 17px;
  line-height: 21px;
}

.search_form {
  border-radius: 5px;
  padding: 0 10px;
  margin: 16px;
  text-align: center;
  min-width: 275px;
  max-width: 363px;
}

.search_form h2 {
  font-size: 25px;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 14px;
  font-weight: bolder;
}

.search_form h3 {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 10px;
  margin: 0 !important;
  line-height: 1.4;
}

.search_form div.search {
  font-size: 0.95rem;
}

.search_form ul.listed {
  list-style: none;
  text-align: left;
  padding-left: 6px;
  max-height: 1000000px;
}

.search_form ul.listed li {
  position: relative;
  line-height: 200%;
  padding-left: 25px;
  font-size: 16px;
  max-height: 1000000px;
}

.search_form ul.listed li::before {
  position: absolute;
  content: url(../images/si-glyph-checked.svg);
  vertical-align: middle;
  top: 4px;
  left: 0;
  width: 20px;
}

.search_form button.btn-form {
  border: solid 1px #ccc;
  box-shadow: 0 0px 5px #999 !important;
  margin: 8px;
  min-width: 140px;
  font-size: 1.1rem;
}

.form_wrap {
  width: 100%;
  margin-top: 67%;
}

.form_wrap .search_form {
  border-style: solid;
  border-width: 2px;
  border-color: #adafb1;
  border-color: rgba(173, 175, 177, 0.35);
}

#profileBanner {
  max-height: 340px;
  overflow: hidden;
  text-align: center;
}

#profileBanner div.col {
  padding-right: 0;
  padding-left: 0;
}

#profileBanner ul {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

#profileBanner ul li {
  list-style: none;
  float: none !important;
  font-size: 12px;
  text-align: center;
}

.threeInfoWidgets {
  margin-bottom: 1.25rem;
}

.threeInfoWidgets ul.col {
  padding: 15px;
  margin-bottom: 0 !important;
  list-style: none;
}

.threeInfoWidgets ul.col:not(:last-child) {
  border-right-style: solid;
  border-right-width: 2px;
}

.threeInfoWidgets ul.col li {
  list-style: none;
}

.threeInfoWidgets ul.carousel-item {
  list-style: none;
  padding-left: 0;
}

.threeInfoWidgets ul.carousel-item li {
  list-style: none;
}

.threeInfoWidgets ul.carousel-item li * {
  max-height: 1000000px;
}

.threeInfoWidgets h3 {
  text-align: center;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}

.threeInfoWidgets .textwidget {
  font-size: 18px;
  line-height: 22px;
}

.threeInfoWidgets .textwidget a.take_the_tour {
  margin: 15px auto 0 auto;
  display: block;
  width: 185px;
  text-align: center;
  font-weight: 400;
  padding: .25rem 0;
  font-size: 1.3rem;
  line-height: 1.5;
  border-radius: 10px;
}

.threeInfoWidgets .textwidget a.take_the_tour:hover {
  text-decoration: none;
}

section.blankContent {
  padding: 25px;
  position: relative;
  margin: 12px auto 22px;
  background-color: #fff;
  border-radius: 20px;
}

section.blankContent h1 {
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  margin: .2em 0;
  text-shadow: 0 1px #FDFDFD;
}

section#content {
  position: relative;
  margin: 12px auto 22px;
  height: auto;
  min-height: 530px;
  padding-bottom: 20px;
  background-image: linear-gradient(to bottom, #dfdfdf 0, #fff 100%);
  border-radius: 20px;
}

section#content section.copy {
  position: static;
  padding-top: 30px;
}

section#content section.copy h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: bold;
  margin: 0.2em 0;
  text-shadow: 0 1px #FDFDFD;
}

section#content section.copy p {
  font-size: 14px;
  line-height: 24px;
  margin: 0.25em 0 0 0;
}

section#content p img {
  width: 100%;
  height: auto;
}

/* Footer Three Columns links */
footer {
  padding: 2.5rem 0 1.188rem 0;
}

footer ul.col-12 {
  list-style: none;
}

footer ul.col-12 li {
  font-size: 0.8rem;
  padding-bottom: 0.3125rem;
  padding-left: 1rem;
  float: left;
  list-style: none;
}

footer small {
  padding-top: 0.6875rem;
  display: block;
  text-align: center;
  clear: both;
  font-size: 0.75rem;
  padding-top: 0.625rem;
}

#carouselInfoWidgets {
  padding: 0.5rem 0.5rem 2.75rem 0.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#carouselInfoWidgets .carousel-control-next, #carouselInfoWidgets .carousel-control-prev {
  width: auto;
}

#carouselInfoWidgets .carousel-control-next-icon, #carouselInfoWidgets .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 17 17'%3E%3Cpath d='M2.16,6.246 C2.385,6.246 2.61,6.308 2.81,6.442 L9.039,10.598 L15.076,6.401 C15.617,6.042 16.346,6.188 16.705,6.729 C17.065,7.268 16.92,8 16.38,8.359 L9.692,12.989 C9.298,13.253 8.784,13.254 8.388,12.991 L1.508,8.402 C0.966,8.042 0.82,7.31 1.179,6.77 C1.407,6.429 1.78,6.246 2.16,6.246 L2.16,6.246 Z'/%3E%3C/svg%3E");
  transform: rotate(-90deg);
  height: 40px;
  width: 40px;
}

#carouselInfoWidgets .carousel-control-prev-icon {
  transform: rotate(90deg);
}

ol.carousel-indicators {
  margin-top: 5px;
  margin-bottom: 15px;
  bottom: 0;
  list-style: none;
}

ol.carousel-indicators li {
  background-color: #c8c8c8;
  background-color: rgba(221, 221, 221, 0.5);
  list-style: none;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  margin-left: 8px;
}

ol.carousel-indicators li.active {
  background-color: #dddddd;
}

.carousel-inner {
  max-width: 340px;
  min-width: 280px;
  padding: 0;
  margin: 0 auto;
}

button.signupNext {
  display: block;
  margin: 16px auto;
  transition: background 0.5s ease-in-out;
  font-size: 1.4rem;
  font-weight: 600;
}

#carouselInfoWidgets {
  display: block;
}

#carouselSignUp .carousel-inner {
  min-height: 400px;
}

#carouselSignUp ol.carousel-indicators li {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: opacity 0.15s ease-in-out;
  opacity: 0.4;
}

#carouselSignUp ol.carousel-indicators li.passed {
  opacity: 0.80;
}

#carouselSignUp ol.carousel-indicators li.active {
  opacity: 1;
}

/* Custom Arrow Buttons */
.btn-arrow-right {
  border: 0px solid transparent;
  position: relative;
  padding-right: 30px;
  padding-left: 36px;
}

.btn-arrow-right:focus {
  box-shadow: none;
}

.btn-arrow-right:after {
  /* make two squares (before and after), looking similar to the button */
  content: "";
  position: absolute;
  top: 7px;
  /* move it down because of rounded corners */
  width: 35px;
  /* same as height */
  height: 35px;
  /* button_outer_height / sqrt(2) */
  background: inherit;
  /* use parent background */
  border-left-color: transparent;
  /* hide left border */
  border-bottom-color: transparent;
  /* hide bottom border */
  border-radius: 0px 4px 0px 0px;
  /* round arrow corner, the shorthand property doesn't accept "inherit" so it is set to 4px */
  transform: rotate(45deg);
  right: -15px;
  z-index: 0;
}

input[type=text], input[type=password], input[type=email] {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 5px;
}

input.error {
  background-color: #FFEBCD;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3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OTA5LDYuNDY2NjY2NykiIGlkPSJnMjYiPjxwYXRoIGQ9Im0gMCwwIGMgMCwtMS42NTcgLTEuMzQ0LC0zIC0zLC0zIC0xLjY1NywwIC0zLDEuMzQzIC0zLDMgbCAwLDE5IGMgMCwxLjY1NyAxLjM0MywzIDMsMyAxLjY1NiwwIDMsLTEuMzQzIDMsLTMgTCAwLDAgWiIgaWQ9InBhdGgyOCIgc3R5bGU9ImZpbGw6I2U4MzgzMTtmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6bm9uZSIgLz48L2c+PC9nPjwvZz48L2c+PC9zdmc+);
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 4px;
}

/* Modal Box Styling */
div.modal-content button.close {
  position: absolute;
  top: 0;
  right: 6px;
  font-size: 2rem;
}

/* Datalist fix for Safari */
.datalist {
  list-style: none;
  display: none;
  background: white;
  box-shadow: 0 2px 2px #999;
  position: absolute;
  left: 0;
  top: 0;
  max-height: 300px;
  overflow-y: auto;
}

.datalist:empty {
  display: none !important;
}

.datalist li {
  padding: 3px;
  font: 13px "Lucida Grande", Sans-Serif;
}

.datalist li.active {
  background: #3875d7;
  color: white;
}

@media (min-width: 480px) {
  .form_wrap {
    margin-top: 45%;
  }
}

@media (min-width: 340px) {
  .search_form ul.listed li {
    font-size: 16px;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 400px;
  }
  footer ul.col-12 li {
    padding-left: 1.875rem;
    float: none;
  }
  span.world-flags-template {
    display: inline;
  }
  #profileBanner {
    max-height: 170px;
  }
  nav.navbar {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  nav.navbar div.navbar-nav {
    width: 75%;
  }
  h2.form-header-out {
    max-width: 70%;
  }
  /* Seven Column Grid */
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 100%;
    *width: 100%;
  }
}

@media (max-width: 768px) {
  .form_wrap {
    padding-top: 16px;
  }
  .form_wrap .search_form {
    margin: 0 auto;
    padding: 16px 10px;
  }
  .form_wrap .search_form button.btn-form {
    margin: 5px;
    padding: .25rem 0.75rem;
    min-width: 126px;
    font-size: 1rem;
  }
  .form_wrap .modal-title {
    font-size: 1.15rem;
    padding-top: 4px;
  }
  nav.navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
  nav.navbar .navbar-nav h1 {
    font-size: 0;
  }
  nav.navbar .navbar-nav .img-fluid {
    max-width: 75%;
  }
}

@media (min-width: 768px) {
  .threeInfoWidgets .textwidget {
    font-size: 14px;
    line-height: 20px;
  }
  section#content section.copy p {
    margin: 0.25em 5px 0 5px;
  }
  .form_content {
    margin-top: 0;
  }
  #carouselInfoWidgets {
    display: none;
  }
  #member_login span {
    display: inline;
  }
  .form_wrap {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
  }
  h2.in-form-heading {
    display: block;
  }
  .bootstrap-vertical-nav .collapse {
    display: block;
  }
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 100%;
    *width: 100%;
  }
  /* make sidebar nav vertical */
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
    max-height: none;
  }
  .sidebar-nav .navbar ul {
    float: none;
  }
  .sidebar-nav .navbar ul:not {
    display: block;
  }
  .sidebar-nav .navbar li {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (min-width: 992px) {
  nav.navbar div.container {
    padding-right: 15px;
    padding-left: 15px;
  }
  div.threeInfoWidgets {
    border-radius: 10px;
  }
}

/* IE10 and IE11 Style fixes */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .search_form ul.listed li::before {
    top: -59px;
  }
  div.amAWrap::before, div.seekWrap::before {
    top: -53px;
  }
}
