.upper-background-small {
  background: linear-gradient(183.23deg, #DD4E96 0%, #94519B 55.8%, #3868BC 100%);
  height: 250px;
}

.profile-wrapper {
  margin-top: -81px;
}

.profile-tabs {
  border: 0;
  flex: 1;
}

.errorMessage {
 color: #a94442;
}

.profile__main-picture {
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-top: -128px;
  width: 100%;
}

.profile__location {
  font-size: 16px;
  color: #454545;
  font-family: 'Muli', sans-serif;
}

.profile__location__icon {
  width: 24px;
}

.profile__looking-for {
  color: #D44491;
  font-size: 14px;
  font-family: 'Muli', sans-serif;
  background: rgba(212, 68, 145, 0.15);
  border-radius: 4px;
  font-weight: bold;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 16px;
  margin-right: 12px;
}

.profile-tabs__item {
  display: block !important;
  float: none !important;
  margin-bottom: 0 !important;
}

.profile-tabs__item__link {
  border-left: 4px solid transparent !important;
  font-size: 18px;
  font-family: 'Muli', sans-serif;
  padding: 16px 32px !important;
  width: 25%;
  color: #D44491 !important;
  border-left: 4px solid #D44491 !important;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.profile-tabs__item__link__plus-highlight {
  width: 15px !important;
  margin-left: 4px;
}

.profile-tabs__item.active a {
  color: #D44491 !important;
  border-left: 4px solid #D44491 !important;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.profile-question-container {
  padding: 16px 0;
  font-family: 'Muli', sans-serif;
  font-size: 16px;
  color: #454545;
}

.profile-question-container + .profile-question-container {
  border-top: 1px solid #D7D7D7;
}

.profile-question-container__title {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 16px;
  font-family: 'Muli', sans-serif;
}

.profile-gifts {
  font-family: 'Muli', sans-serif;
  font-size: 16px;
  color: #454545;
  margin-bottom: 24px;
}

.profile-gifts--has-border {
  border-top: 1px solid #ccc;
  padding-top: 16px;
}

.profile-gifts__item {
  margin-bottom: 16px;
  font-size: 14px;
}

.profile-gifts__item__image {
  margin-right: 4px;
  width: 30px;
}

.profile-box {
  display: flex;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin: 3px 0 !important;
}

.profile-box__content {
  flex: 3;
  background: #ffffff;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  padding: 24px;
  z-index: 1;
}

.profile-box__description {
  font-family: 'Muli', sans-serif;
  line-height: 24px;
  font-size: 16px;
  color: #454545;
  white-space: pre-line;
  display: none;
}

.profile-box__description--visible {
  display: block;
}

.profile-box__description-short {
  font-family: 'Muli', sans-serif;
  line-height: 24px;
  font-size: 16px;
  color: #454545;
  white-space: pre-line;
  display: none;
}

.profile-box__description-short--visible {
  display: block;
}

.profile-box__show-more, .profile-box__show-less {
  display: none;
  border: 0;
  color: #0076D0;
  padding: 0;
  font-size: 16px;
  font-family: 'Muli', sans-serif;
  background: none;
}

.profile__edit-own-stuff {
  display: flex;
  padding: 16px 0;
  justify-content: center;
}

.profile__edit-own-stuff__edit-profile-button {
  color: #ffffff !important;
  padding: 0 24px;
  font-size: 16px;
  font-family: 'Muli', sans-serif;
  font-weight: bold;
  background: #0076D0;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.profile__edit-own-stuff__edit-seeking-button {
  color: #0076D0 !important;
  padding: 0 24px;
  font-size: 16px;
  font-family: 'Muli', sans-serif;
  font-weight: bold;
  background: #ffffff;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.profile-box__show-more--visible {
  display: inline-block;
}

.profile-box__show-less--visible {
  display: inline-block;
}

.profile-header {
  background: rgba(0, 0, 0, 0.1);
}

.profile-header .profile-header__content + .kd-flash-messages {
  z-index: 1;
  position: absolute;
  right: 200px;
}

.profile-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}


/* facelift-2016 */

.gift-container img {
  max-height: 35px;
}

#yearly_income_display {
  width: 100%;
}

.profile-header-name {
  font-family: 'Muli', sans-serif;
  text-transform: none;
  font-size: 28px;
  margin: 0;
  padding: 16px 0;
  color: #ffffff;
}

.profile-action-buttons {
  padding: 16px 0;
}

.profile__buttons {
  display: flex;
}

.profile__buttons .kd-gifts-select-button {
  height: 100%;
  color: #0076D0;
  border-color: #D7D7D7 !important;
}

.profile__send-message-button {
  color: #ffffff !important;
  padding: 0 24px;
  font-size: 16px;
  font-family: 'Muli', sans-serif;
  font-weight: bold;
  background: #0076D0;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.profile__send-message-button--disabled {
  opacity: 0.7;
}

.profile__send-message-button__icon {
  margin-right: 8px;
}

.profile__more-actions-button {
  color: #0076D0 !important;
  height: 48px;
  margin-left: 16px;
  border-color: #D7D7D7 !important;
}

.profile__more-actions-dropdown-menu .btn {
  border: 0;
  text-align: left;
  padding: 4px 16px;
  color: #454545;
  border-radius: 0;
}

.profile__more-actions-dropdown-menu .btn i {
  color: #727272;
  font-size: 16px !important;
  padding: 0 !important;
  width: 24px;
  display: inline-block;
}

.profile__looking-for-separator {
  border-top-color: #D7D7D7;
}

.profile-action-buttons .btn i,
.profile-action-buttons .btn span {
  font-size: 20px;
  padding: 0 5px;
  line-height: 30px;
  margin: 0;
}

.profile-action-buttons .btn span.glyphicons {
  display: none;
}

.profile-action-buttons .btn span.glyphicons-ok {
  color: #117711;
}

.profile-action-buttons .btn span.glyphicons-remove {
  color: #aa2222;
}

.profile-action-buttons .dropdown-menu {
  left: auto;
  right: 0;
}

.profile-section__title {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  color: #454545;
  font-family: 'Muli', sans-serif;
  margin-bottom: 8px;
}

.profile-section__list {
  padding: 0;
  margin-bottom: 24px;
  max-width: 450px;
}

.profile-section__list__item {
  text-align: right; 
  padding: 8px;
  display: flex;
  font-size: 16px;
  color: #454545;
  font-family: 'Muli', sans-serif;
}

.profile-section__list__item:nth-child(even) {
  background: #F9F9F9;
}

.profile-section__list__item__label {
  color: #727272;
  text-align: left;
  margin-right: auto;
}

.profile-dropdown-mobile {
  display: none;
  padding: 16px 16px 0;
  background: #ffffff;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
}

.profile-dropdown-mobile__select {
  font-size: 14px;
  background: #ffffff;
  color: #454545;
  font-family: 'Muli', sans-serif;
  padding: 12px;
  border: 1px solid #D7D7D7;
  border-radius: 4px;
  width: 100%;
}

.profile-message-modal {
  color: #454545;
  font-family: 'Muli', sans-serif;
}

.profile__already-messaged {
  background: #D9EBF8;
  border-radius: 4px;
  font-size: 14px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.profile__already-messaged__link {
  color: #0076D0 !important;
  display: block;
}

.profile-message-modal__dialog {
  max-width: 512px;
}

.profile-message-modal__send-button {
  background: #0076D0 !important;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  border: 0;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 32px;
  display: block;
  margin: 0 auto 8px;
}

.profile-message-modal__cancel-button {
  border: 0;
  font-size: 16px;
  color: #0076D0 !important;
  display: block;
  margin: 0 auto;
}

.profile-message-modal__textarea {
  border: 1px solid #D7D7D7;
  border-radius: 4px;
  box-shadow: none;
  font-size: 16px;
  resize: vertical;
}

#reportArea {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.profile__upper-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile__last-seen {
  color: #727272;
  font-size: 16px;
}

@media (max-width: 991px) {
  .profile__edit-own-stuff {
    position: fixed;
    bottom: 0;
    z-index: 2;
    background: #fff;
    left: 0;
    right: 0;
    padding: 16px;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.15);
  }

  .profile__edit-own-stuff__edit-profile-button {
    padding: 0 16px;
    font-size: 14px;
  }
  
  .profile__edit-own-stuff__edit-seeking-button {
    padding: 0 16px;
    font-size: 14px;
  }

  .profile-header-name {
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .profile__upper-info {
    display: block;
  }

  .profile__last-seen {
    margin-bottom: 16px;
  }

  .profile-wrapper {
    margin-top: -190px;
  }

  .profile__main-picture {
    margin-top: 0;
  }

  .profile-header {
    background: transparent;
  }

  .profile-header .kd-flash-messages {
    top: 0;
    right: auto;
  }

  .profile-report {
    margin-bottom: 64px;
  }

  #reportArea {
    margin-bottom: 64px;
  }

  .profile-dropdown-mobile {
    display: block;
  }
  
  .profile-tabs {
    display: none;
  }
  
  .profile-box {
    flex-direction: column;
  }

  .profile-box__content {
    padding: 16px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 5px;
  }

  .kd-gifts-select-container ul {
    top: auto;
    bottom: 100%;
  }

  .profile__buttons {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    background: #ffffff;
    z-index: 2;
    padding: 16px;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.15);
  }

  .profile__send-message-button {
    padding: 0 16px;
    margin-right: auto;
    width: 100%;
    margin-right: 8px;
  }

  .profile__more-actions-button {
    margin-left: 8px;
  }

  .profile__more-actions-dropdown-menu {
    top: auto;
    bottom: 100%;
  }
  .profile-tabs__item__link {
    border-left: 4px solid transparent !important;
    font-size: 18px;
    font-family: 'Muli', sans-serif;
    padding: 16px 32px !important;
    border-bottom: 0 !important;
    width: 100%;
    color: #D44491 !important;
    border-left: 4px solid #D44491 !important;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  }
}

.motto {
  font-family: 'Muli', sans-serif;
  padding-left: 32px;
  position: relative;
}

.motto__text {
  font-size: 16px;
  color: #454545;
  font-style: italic;
}

.motto-quote {
  position: absolute;
  left: 0;
  top: 4px;
  color: #D44491;
}

.match-percent {
  font-family: 'montserrat';
  font-weight: bold;
  color: white;
  background-color: #993366;
  display: inline-block;
  padding: 0.15em 0.6em 0.1em;
  font-size: 1.8em;
  float: left;
  margin-right: 0.6em;
}

.profile-match-info {
  font-size: 18px;
  line-height: 2.2em;
}

.profile-match-info-button {
  color: white;
  background-color: #993366;
  border-radius: 1em;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  display: inline-block;
  width: 1.1em;
  line-height: 1.1em;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
}

.profile-match-info-button:active,
.profile-match-info-button:hover {
  color: white;
}

.profile-relationship {
  font-size: 16px;
}

.profile-relationship__title {
  color: #454545;
  font-family: 'Muli', sans-serif;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .profile-relationship > span {
    margin-bottom: 10px;
  }
}

.profile-relationship span.glyphicons {
  font-size: 1.4em;
  margin-right: 0.4em;
}

/* profile-edit facelift-2016 */
#profile-edit-header .navbar-brand, #seek-edit-header .navbar-brand {
  padding: 15px 15px;
  color: white;
}
#profile-edit-header .edit-match, #seek-edit-header .edit-profile {
  margin-left: 15px;
}
#profile-edit-header > .container-fluid,
#seek-edit-header > .container-fluid {
  padding-bottom: 15px;
}
#profile-edit-header .navbar-toggle .icon-bar {
  background-color: white;
}
#profile-edit-header .navbar-header button:focus {

}

#profile-edit .submit.row, #seek-edit .submit.row {
  margin-bottom: 20px;
}

.gift-container {
  margin-left: 15px;
  margin-bottom: 15px;
}

.profile-gift-selection .form-group {
  margin-bottom: 0;
}

.profile-orientation span.glyphicons {
  font-size: 1.4em;
  margin-right: 0.4em;
}

/* Feb 2017 */
.btn.btn-large-tab {
  background-color: white;
  border-radius: 0;
  color: #993366;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  padding: 10px;
}

.btn.btn-large-tab:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 12px 8px 8px 12px;
}

.btn.btn-large-tab.active-tab {
  background-color: rgb(51, 51, 51);
  color: white;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.stat-element {
  display: inline-block;
  width: 100%;
  padding: 1em;
}
@media all and (max-width: 767px) {
  .stat-element {
    padding-left: 0;
    padding-right: 0;
  }
}
.stat-icon {
  max-height: 70px;
  max-width: 50px;
  float: left;
  margin: 5px 20px 0 20px;
}
.stat-content {
  float: left;
  font-family: 'montserrat-bold', sans-serif;
  text-transform: uppercase;
}

/* title, count, detail */
.stat-title {
  margin-bottom: 5px;
  color: #993366;
}
.stat-bold {
  font-size: 24px;
  margin-bottom: 5px;
}

.stat-detail {
  margin: 0;
}
.stat-detail span {
  font-family: 'montserrat', sans-serif;
}

.stat-detail-container {
  float: left;
}
.stat-detail-container a {
  font-family: 'montserrat', 'sans-serif';
}
.stat-detail-container:first-of-type {
  margin-right: 20px;
}

.stats-columns {
  margin-left: 0;
  margin-top: 40px;
}
@media all and (min-width: 768px) {
  .stats-columns {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    max-width: 768px;
  }
}
/* */

