/* globals */
#inner-page-wrapper>.container {
  padding: 0 !important;
  width: 100% !important;
}

#inner-page-wrapper {
  margin-bottom: 0;
}

#content-full {
  margin-top: 0;
}

.ip-banner::before {
  background-color: #000;
  opacity: .30;
}

.ip-banner canvas {
  height: 299px;
}

.ip-banner .ip-custom-breadcrumbs {
  background-color: rgba(0, 0, 0, 0.6);
}

.section {
  font-size: 0;
}

#content h1,
#content h2,
#content h3 {
  margin: 0;
  font-size: initial;
}

#content {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
}

#content p {
  margin: 0;
}

#ip-about .about-sec-title {
  text-transform: uppercase;
}

#ip-about .about-sec-title h1,
#ip-about .about-sec-title h2 {
  font: normal 600 100px/1 'Barlow Semi Condensed', sans-serif;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-align: left;
}

#ip-about .about-sec-title span {
  display: inline-block;
  font: normal 600 55px/1 'Josefin Sans', sans-serif;
  letter-spacing: .005em;
  color: var(--color-accent);
}

.about-sec-title-inner {
  display: inline-block;
  text-align: right;
}

.about-sec-title .top-title {
  padding-right: 99px;
}

.line-accent {
  position: relative;
}

.line-accent::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
  width: 100vw;
  height: 3px;
  background-color: #dddddd;
}

.line-accent.accent-left::after {
  right: calc(100% + 26px);
}

.line-accent.accent-right::after {
  left: calc(100% + 26px);
}

/* about */
.about {
  padding: 0 0 104px;
  position: relative;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-bg::after,
.about-bg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.about-bg::before {
  background-color: #fff;
  opacity: .90;
}

.about-bg::after {
  background: -webkit-gradient(linear, left bottom, left top, from(white), color-stop(70%, transparent));
  background: linear-gradient(to top, white, transparent 70%);
}

.about-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  background-image: url("../../images/about/bg-about.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.about .container {
  position: relative;
  z-index: 5;
}

.about-col {
  float: none;
  display: inline-block;
  vertical-align: middle;
}

.about-title {
  margin-left: -104px;
  margin-top: 0px;
}

.about-photo {
  margin-left: 22px;
  margin-right: calc((1140px - 100vw) / 2);
}

.about-photo canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.about-text {
  padding-left: 68px;
  margin-top: 47px;
  max-width: 1066px;
}

#ip-about .about-text p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .005em;
  line-height: 30px;
  color: #000;
  margin-bottom: 30px;
}

/* meet our team */
.team {
  position: relative;
  z-index: 2;
  padding: 0 0 279px;
}

.team-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 71.1%;
  z-index: 2;
}

.team-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("../../images/about/bg-team.jpg");
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.team-bg::before,
.team-bg::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.team-bg::before {
  background: #fff;
  opacity: .92;
}

.team-bg::after {
  background: -webkit-gradient(linear, left top, left bottom, from(white), color-stop(10%, transparent)), -webkit-gradient(linear, left top, left bottom, from(white), color-stop(41%, transparent));
  background: linear-gradient(to bottom, white, transparent 10%), linear-gradient(to bottom, white, transparent 41%);
}

.team>.container {
  position: relative;
  top: -44px;
  z-index: 5;
}

#ip-about .team-title {
  text-align: center;
  margin-bottom: 70px;
}

#ip-about .team-title .top-title {
  padding-right: 186px;
}

#ip-about .team-title .accent-right::after {
  left: calc(100% + 46px);
  width: 278px;
}

.team-list {
  margin: 0 -10px;
}

.team-box {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% / 4);
  padding: 10px;
}

.team-box canvas {
  display: block;
  width: 100%;
}

.title-box {
  position: relative;
}

.team-list-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#ip-about .team-list-title h2 {
  font-size: 72px;
}

#ip-about .team-list-title span {
  font-size: 22px;
}

.team-list-title h2::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: var(--color-accent);
  margin-bottom: 7px;
}

.team-list-title .top-title {
  padding-right: 47px;
}

.agent-item a {
  display: block;
  position: relative;
}

.team-list-img {
  position: relative;
  z-index: 1;
}

.team-list-img canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.team-list-img::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #000;
  opacity: 0;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

a:hover .team-list-img::after {
  opacity: .43;
}

.team-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 15px;
  text-align: center;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  -webkit-transform: translateZ(0) scale(1.1);
  transform: translateZ(0) scale(1.1);
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

a:hover .team-details {
  opacity: 1;
  -webkit-transform: translateZ(0) scale(1);
  transform: translateZ(0) scale(1);
}

.team-name {
  font-size: 16px;
  line-height: 20px;
}

.team-name::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 36px;
  height: 3px;
  background-color: var(--color-accent);
  margin-top: 8px;
}

.team-desc {
  margin-top: 14px;
}

.team-list.staff-list {
  margin-top: 26px;
}

.staff-item a {
  position: relative;
  display: block;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1440px) {

  #ip-about .about-sec-title h1,
  #ip-about .about-sec-title h2 {
    font-size: 65px;
  }

  #ip-about .about-sec-title span {
    font-size: 42px;
  }

  .about-sec-title .top-title {
    padding-right: 79px;
  }

  .about-title {
    margin-left: -38px;
  }

  #ip-about .team-title .top-title {
    padding-right: 146px;
  }

  #ip-about .team-list-title h2 {
    font-size: 56px;
  }

  #ip-about .team-list-title span {
    font-size: 18px;
  }

  .team-list-title .top-title {
    padding-right: 35px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1366px) {
  .about-title {
    margin-left: 0;
  }

  #ip-about .about-title .accent-left::after {
    right: calc(100% + 10px);
  }

  .team-list {
    margin: 0;
  }

  .team-list-title {
    left: 30px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .about-photo {
    margin-right: calc((940px - 100vw) / 2);
  }

  .team>.container {
    top: 0;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  .about-col {
    display: block;
  }

  #ip-about .about-title {
    text-align: center;
    margin-bottom: 50px;
  }

  .about-photo {
    margin: 0 auto;
    max-width: 500px;
  }

  .about-text {
    padding: 0;
    text-align: center;
  }

  .team-list {
    max-width: 520px;
    margin: 0 auto;
  }

  .team-box {
    width: 50%;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  #ip-about .team-title .top-title {
    padding-right: 120px;
  }

  #ip-about .team-title .accent-right::after {
    width: 140px;
  }

  .team-box {
    width: 100%;
    display: block;
    max-width: 290px;
    margin: 0 auto;
  }

  .title-box {
    max-width: unset;
    padding: 0;
    text-align: center;
  }

  .team-list {
    max-width: unset;
  }

  .title-box canvas {
    display: none;
  }

  .team-list-title {
    position: relative;
    top: unset;
    left: unset;
    -webkit-transform: unset;
    transform: unset;
    margin-bottom: 60px;
  }

  .team {
    padding: 80px 0;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .about-sec-title .top-title {
    padding-right: 35px;
  }

  #ip-about .about-sec-title h1,
  #ip-about .about-sec-title h2 {
    font-size: 46px;
  }

  #ip-about .about-sec-title span {
    font-size: 20px;
  }

  #ip-about .team-title .top-title {
    padding-right: 70px;
  }

  #ip-about .team-title .accent-right::after {
    width: 79px;
    left: calc(100% + 20px);
  }
}