.marketplace.expert .wrap > .container {
  padding-top: 0;
  margin-top: -80px;
}

.profile-background {
  display: block;
  height: 220px;
  width: 100%;
  background: var(--banner-url, url('../../images/marketplace/banner.jpg'))
    center -60px no-repeat;
  background-size: cover;
}

.profile-container {
  overflow: hidden;
  flex-grow: 1;
}

.profile-container .alert {
  margin-top: 1em;
}

.main-container {
  padding-top: 140px;
}

.profile-avatar-wrapper {
  position: relative;
  max-width: 278px;
  max-height: 278px;
  width: 100%;
  display: inline-block;
}

.profile-actions {
  display: block;
  width: 100%;
  margin-top: 28px;
}

.profile-actions-toggle {
  display: none;
}

.profile-sidebar .sticky-wrapper {
  z-index: 2;
}

.is-sticky .sidebar {
  padding-top: 100px;
}

.sidebar {
  -webkit-transition: top, padding-top linear 0.5s;
  -moz-transition: top, padding-top linear 0.5s;
  -ms-transition: top, padding-top linear 0.5s;
  -o-transition: top, padding-top linear 0.5s;
  transition: top, padding-top linear 0.5s;
}

/* Cannot use mobile-first bc bootstrap grid is used */
@media (max-width: 768px) {
  .container .profile-main {
    width: 100%;
  }

  .profile-sidebar {
    float: none;
    width: 100%;
    padding-top: 60px;
    padding-left: 0;
    padding-right: 0;
  }

  .main-profile .profile-sidebar {
    float: left;
    width: 33.33%;
    padding-top: inherit;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 220px;
  }

  .profile-sidebar .text-center {
    width: 20%;
    float: left;
  }

  .main-profile .profile-sidebar .text-center {
    width: inherit;
    float: inherit;
  }

  .profile-avatar-wrapper {
    margin-left: 5px;
    width: 112%;
  }

  .profile-sidebar .profile-info {
    width: 80%;
    float: right;
    padding: 35px 10px 0 20px;
  }

  .main-profile .profile-info {
    width: inherit;
    float: inherit;
    padding: inherit;
  }

  .profile-sidebar .is-sticky .profile-info {
    padding-top: 15px;
  }

  .is-sticky .profile-name {
    margin-top: 0;
  }

  .profile-container {
    float: none;
    width: 100%;
  }

  .main-profile .profile-container {
    float: none;
    width: inherit;
  }

  .profile-actions {
    margin-top: 10px;
  }

  .main-profile .profile-actions {
    margin-top: 28px;
  }

  .profile-actions a {
    margin: 0.2em 0;
  }

  .profile-actions-toggle {
    display: block;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
  }
  .profile-actions-toggle:hover,
  .profile-actions-toggle:active,
  .profile-actions-toggle:focus {
    color: #666;
  }
  .profile-actions-toggle:before {
    display: inline-block;
    width: 16px;
    height: 16px;
    content: '▼';
  }
  .in + .profile-actions-toggle:before {
    content: '▲';
  }
  .profile-actions-group.in {
    height: auto;
  }

  .profile-actions-group {
    height: 0;
    overflow: hidden;
  }

  .main-profile .profile-actions-group {
    height: inherit;
    overflow: inherit;
  }

  .profile-actions .btn {
    font-size: 12px;
    padding: 0.3em;
  }

  .main-container {
    padding-top: 20px;
  }

  .is-sticky .sidebar {
    background-color: #f9f9f9;
    padding-top: 110px;
    left: 0;
    right: 0;
  }

  .main-profile .is-sticky .sidebar {
    background-color: inherit;
    padding-top: inherit;
    left: inherit;
    right: inherit;
  }

  .main-profile .tablet-device {
    display: block !important;
    border: none;
    text-align: left !important;
  }

  .main-profile .industry-details {
    padding-left: 50px;
    padding-right: 50px;
  }

  .marketplace footer {
    height: 172px;
  }
}

@media (max-width: 600px) {
  .main-profile .profile-sidebar {
    float: none;
    margin-left: auto;
    margin-right: auto;
    min-width: 260px;
  }

  .main-profile .is-sticky .sidebar {
    background-color: inherit;
    padding-top: inherit;
    left: inherit;
    right: inherit;
    position: inherit !important;
  }

  .main-profile .main-container {
    padding-top: 0 !important;
  }

  .main-profile .tablet-device {
    display: none !important;
  }

  .main-profile .industry-details {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .marketplace footer {
    height: 272px;
  }

  .profile-sidebar {
    padding-top: 0;
  }
  .is-sticky .sidebar {
    padding-top: 90px;
  }
  .profile-sidebar .is-sticky .profile-info {
    padding-top: 0;
  }
}

.profile-avatar-wrapper:before {
  content: '';
  display: block;
  padding-top: 100%; /* initial ratio of 1:1*/
}

.profile-avatar {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: no-repeat center center #fff;
  background-size: cover;
}

.profile-name {
  margin-top: 18px;
  padding: 0;
  font-weight: 600;
  word-break: break-word;
  hyphens: auto;
}

.availability-indicator {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 10px;
  padding: 1px 0;
  font-weight: 600;
  color: #fff;
  text-shadow: 1px 1px 0 #333;
  opacity: 0.8;
  border: 1px solid #000;
}

.availability-indicator.online {
  background-color: #00a65a;
  border-color: #008d4c;
  box-shadow: inset 0 0 12px #008d4c;
}

.availability-indicator.offline {
  background-color: #a73c39;
  border-color: #993734;
  box-shadow: inset 0 0 12px #993734;
}

.availability-indicator.occupied {
  background-color: #a7774d;
  border-color: #7d4f41;
  box-shadow: inset 0 0 12px #55372a;
}

.section {
  margin-top: 28px;
}

.body.schedule .user.login.container {
  width: auto;
}

#profile-map-container {
  display: block;
  height: 400px;
  width: 100%;
}

#profile-map-iframe {
  position: absolute;
  height: inherit;
}

#profile-map-container h5 {
  font-size: 18px;
}

#profile-map-container address {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.chat-declined-img {
  background: url('../../images/profile/expert_declined.png') no-repeat;
  width: 229px;
  height: 204px;
  margin: auto;
}

.chat-declined-schedule-appointment {
  margin-bottom: 25px;
}

.chat-declined-container {
  max-width: 420px;
  margin: auto;
}

.is-sticky {
  position: relative;
  z-index: 1;
}

/** new schedule inbound session **/
.main-profile {
  background-color: white;
}

.main-profile > .container {
  padding-bottom: 48px;
}

.main-profile .availability-indicator {
  position: inherit;
  background-color: inherit;
  border-color: inherit;
  box-shadow: inherit;
  border: none;
  color: #00b251;
  font-size: 12px;
  line-height: 16px;
  text-shadow: none;
  text-transform: inherit;
  text-align: center;
}

.main-profile .availability-indicator.offline {
  color: #993734;
}

.main-profile .industry-details {
  background-color: #f7f9fa;
  padding: 60px 100px;
}

.main-profile .profile-avatar-wrapper {
  max-width: 128px;
  max-height: 128px;
}

.main-profile .profile-avatar {
  border-radius: 5px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 4px #eee;
}

.marketplace .main-profile > .container {
  margin-top: -80px;
}

.main-profile .profile-name {
  margin-top: 7px;
}

.main-profile .container {
  font-family: 'Inter', sans-serif;
}

.main-profile .profile-container {
  color: #57626b;
  font-size: 16px;
  line-height: 24px;
}

.main-profile .profile-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.main-profile .expert-title-headline {
  color: rgba(87, 98, 107, 0.6);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.main-profile .profile-name,
.main-profile .title-headline,
.main-profile .availability-indicator {
  margin-top: 5px;
}

.main-profile .profile-actions-group > * {
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  padding: 7px 16px;
}

.main-profile .main-container {
  padding-top: 82px;
}

.main-profile .box-title {
  font-weight: 600;
  padding-bottom: 20px;
}

.main-profile .section .box-welcome {
  overflow: hidden;
}
.main-profile .section .box-welcome strong,
.main-profile .section .box-welcome b {
  font-weight: bold;
}

.main-profile .section .box-welcome.box-open {
  height: auto !important;
}

.main-profile .section .expand-welcome-section {
  display: none;
  border-bottom: 1px solid #e8e8e8;
  padding-top: 20px;
}

.main-profile .section .expand-welcome-wording {
  display: none;
  margin-top: -15px;
  width: 100px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #527783;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.industry-detail-title {
  font-weight: 600;
}

.main-profile .industry-detail-title {
  color: #57626b;
  font-size: 15px;
  font-weight: 600;
  line-height: 16px;
}

.main-profile .industry-detail-content {
  color: rgba(87, 98, 107, 0.6);
  font-size: 15px;
}

.main-profile .tablet-device {
  display: none;
}

.main-profile .show-more {
  display: block !important;
}

.tablet-device.btn-primary {
  color: #fff;
}

.main-profile .content-box-title {
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 15px;
}
@media (min-width: 1025px) {
  .main-profile .content-box-title {
    font-size: 30px;
    line-height: 48px;
  }
}

.main-profile .service-box .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eaeeee;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}
@media (min-width: 1025px) {
  .main-profile .service-box .icon {
    width: 64px;
    height: 64px;
  }
}

.main-profile .service-box .icon-experts_office {
  background-image: url('../../images/profile/icon-location.svg');
}

.main-profile .service-box .icon-expert_calls {
  background-image: url('../../images/profile/icon-phone.svg');
}

.main-profile .service-box .icon.icon-video {
  background-image: url('../../images/profile/icon-video.svg');
}

.contact-view input[type='text'],
.contact-view textarea {
  border: 1px solid #b8bdc2;
  border-radius: 4px !important;
  padding: 12px;
  font-size: 18px;
  display: block;
  width: 100%;
  color: #57626b;
}

.contact-view textarea {
  min-height: 9em;
}

.contact-view label,
.contact-view .has-error label,
.contact-view .has-success label {
  font-size: 16px;
  color: #57626b;
  font-weight: normal;
}

.checkbox-label a {
  font-weight: 600;
  text-shadow: 0.5px 0 #486c78;
}

.contact-view .send {
  height: 48px;
  min-width: 137px;
  border-radius: 4px;
  border: 0;
  line-height: 24px;
  text-align: center;
  padding: 0 1.5em;
}

.contact-view .send,
.button-text {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
}

/* Checkbox - Base for label styling */
.contact-view [type='checkbox']:not(:checked),
.contact-view [type='checkbox']:checked {
  position: absolute;
  opacity: 0;
}
.contact-view [type='checkbox']:not(:checked) + label,
.contact-view [type='checkbox']:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

/* Checkbox - checkbox aspect */
.contact-view [type='checkbox']:not(:checked) + label:before,
.contact-view [type='checkbox']:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25em;
  height: 1.25em;
  border: 1px solid #c9cacc;
  background: #fff;
  border-radius: 4px;
}

.contact-view [type='checkbox']:checked + label:before {
  border: 0;
}

/* Checkbox - checked mark aspect */
.contact-view [type='checkbox']:not(:checked) + label:after,
.contact-view [type='checkbox']:checked + label:after {
  content: '\2714';
  position: absolute;
  top: 0.21em;
  left: 0.25em;
  font-size: 1em;
  line-height: 0.8;
  color: #fff;
  border: 0;
}

/* Checkbox - checked mark aspect changes */
.contact-view [type='checkbox']:not(:checked) + label:after {
  opacity: 0;
}
.contact-view [type='checkbox']:checked + label:after {
  opacity: 1;
}

/* Checkbox - disabled */
.contact-view [type='checkbox']:disabled:not(:checked) + label:before,
.contact-view [type='checkbox']:disabled:checked + label:before {
  background-color: #ddd;
}
.contact-view [type='checkbox']:disabled:checked + label:after {
  color: #999;
}
.contact-view [type='checkbox']:disabled + label {
  color: #aaa;
}
