

.terms_title img {
  width: 70px;
}
.terms_title{
  display: flex;
  padding: 0 50px ;
}
.lng-terms-title,.lng-aml-title,.lng-about-title{
  font-family: 'GilroyBold';
font-style: normal;
font-weight: bold;
font-size: 40px;
}
.terms_title > div{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}
.terms_section > div{
  background-color: white;
  padding: 50px;
  border-radius: 20px;
}


.terms_body{
  padding: 50px;
}

.terms_body p,.terms_body li{
  font-family: 'GilroyMedium';
font-style: normal;
font-weight: 500;
font-size: 18px;
color:gray;
}


@media screen and (max-width: 991px) {
  .terms_body{
    padding: 30px;
  }
  .terms_section > div{
    padding: 30px;
  }

  .terms_title{
    display: flex;
    padding: 0 30px ;
  }

  .lng-terms-title,.lng-aml-title{
  font-size: 30px;
  }
  .terms_title img {
    width: 50px;
  }

  .terms_body p,.terms_body li{
  font-size: 15px;
  }
}

@media screen and (max-width: 500px) {
  .terms_body{
    padding: 15px;
  }
  .terms_section > div{
    padding: 15px;
  }

  .terms_title{
    display: flex;
    padding: 0 15px ;
  }

  .lng-terms-title,.lng-aml-title{
  font-size: 20px;
  }
  .terms_title img {
    width: 30px;
  }

}

/* About page split layout */
.terms .about_office_photo {
  float: right;
  margin: 20px 0 20px 20px;
}
.terms .about_office_photo img {
  display: block;
}
.terms .terms_body {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .terms .about_office_photo {
    float: none;
    margin: 20px 0;
    text-align: center;
  }
}

/* About split refinements */
.about_split{
  display: flex;
  align-items: flex-start;
  column-gap: 24px;
  flex-direction: row-reverse;
}
.about_split .about_text{
  flex: 1 1 auto;
}
.about_split .about_text .terms_body{
  padding-top: 0;
}
.about_split .about_office_photo{
  flex: 0 0 360px;
  margin: 0 0 0 24px;
  align-self: flex-start;
}
.about_split .about_office_photo img{
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 640px) {
  .about_split{
    flex-direction: column;
  }
  .about_split .about_office_photo{
    flex: 0 0 auto;
    margin: 20px 0 0 0;
  }
}

/* Ensure text starts at exact top next to the image */
.about_split .terms_body p:first-child{
  margin-top: 0;
}
.about_split .terms_body{
  margin-top: 0;
  padding-top: 0;
}

/* About: center image above text */
.about_split{
  flex-direction: column;
  align-items: center;
}
.about_split .about_office_photo{
  flex: 0 0 auto;
  margin: 0 0 20px 0;
  align-self: center;
}
.about_split .about_text{
  align-self: stretch;
}

/* Force About image to center (override earlier float) */
.terms .about_split .about_office_photo{
  float: none;
  text-align: center;
}
.terms .about_split .about_office_photo img{
  margin: 0 auto;
}
