:root {
  --fregular: 'Din-Regular';
  --fmedium: 'Din-Medium';
  --fbold: 'Din-Bold';
  --fprobold: 'Din-ProBold';
  --fpro: 'Din-Pro';
}

body {
  font-family: var(--fregular);
}

.faculty-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 15px;
}

/* FACULTY */
.faculty-banner {
  background: #031249;
  min-height: 352px;
  padding-top: 150px;
}

.wrap-faculty-banner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  align-items: flex-end;
}

.faculty-banner .left {
  width: 518px;
  padding-top: 0;
  position: relative;
}

.faculty-banner .left:after {
  content: '';
  position: absolute;
  background: #1595D9;
  height: 100%;
  width: 3px;
  top: 0;
  right: -60px;
}

.faculty-banner .right {
  width: calc(100% - 641px);
}

.faculty-banner .filter {
  /*background: #FFFFFF;
  border-radius: 20px;*/
  display: flex;
/*  padding: 32px 30px 36px 40px;*/
/*  margin-top: 25px;*/
  position: relative;
  padding: 0;
}

.box-user {
  width: 204px;
  height: 204px;
  overflow: hidden;
  border-radius: 50%;
}

.box-user a {
  display: flex;
  width: 100%;
  height: 100%;
}

.box-user img {
  width: 100%;
  height: 100%;
}

.faculty-banner .filter:after {
  content: '';
  display: block;
  height: 7.5px;
  width: 12px;
  position: absolute;
  top: 50%;
  right: 20px;
  background-image: url(../images/cfl-select.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  transform: translateY(-50%);
}

.faculty-banner h4 {
  text-transform: uppercase;
  color: #031249;
  font-size: 20px;
  line-height: 24px;
  border-right: 2px solid #EBEBEB;
  padding-right: 22px;
}

.faculty-banner select {
  border: unset;
  background: unset;
  color: #1495D9;
  font-size: 20px;
  line-height: 25px;
  margin-left: 22px;
  width: 100%;
  appearance: none;
  font-family: var(--fregular);
  cursor: pointer;
}

.faculty-banner h1 {
  font-size: 50px;
  line-height: 60px;
  color: #fff;
  font-family: var(--fbold);
}

.faculty-banner h2 {
  color: #fff;
  font-size: 30px;
  line-height: 40px;
  text-transform: uppercase;
  margin-bottom: 17px;
  font-family: var(--fbold);
}

.faculty-banner .filter.disabled,
.faculty.disabled {
  filter: contrast(0.5);
  pointer-events: none;
}

.faculty-banner p {
  font-size: 30px;
  line-height: 40px;
  color: #fff;
  font-family: var(--fregular);
}

.faculty-banner .filter-mb {
  display: none;
}

.faculty .list-faculty {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 35px;
  max-width: 93%;
  margin: 0 auto;
}

.faculty .item-faculty {
  display: flex;
  width: calc(calc(100% - 96px) / 2);
  align-items: center;
}

.faculty .content {
  max-width: 447px;
  width: calc(100% - 204px);
  padding-left: 34px;
  box-sizing: border-box;
}

.faculty h2 {
  font-size: 30px;
  line-height: 40px;
  color: #031249;
  text-transform: uppercase;
  margin-bottom: 88px;
  font-family: var(--fbold);
}

.faculty h3 {
  font-size: 24px;
  line-height: 30px;
  color: #1495D9;
  margin-bottom: 15px;
  font-family: var(--fbold);
}

.faculty h3 a {
  color: inherit;
}

.faculty {
  background: #F6F6F6;
  padding-bottom: 100px;
}

.faculty p {
  font-size: 18px;
  line-height: 26px;
  color: #494846;
}

.faculty .box-faculty {
  padding-top: 91px;
}

@media (min-width: 768px) {
  .faculty-banner-mb {
    display: none !important;
  }
}

@media (max-width: 1690px) and (min-width: 1024px) {
  .faculty-banner p {
    font-size: 20px;
  }

  .faculty-banner .left {
    width: 35%;
    padding-top: 0;
    padding-bottom: 10px;
  }

  .wrap-faculty-banner {
    align-items: flex-end;
  }

  .faculty-banner .right {
    width: calc(65% - 120px);
  }

  .faculty-banner .left:after {
    right: -42px;
  }

  .faculty-banner {
    padding-bottom: 15px;
  }

}

@media(max-width: 1600px) {
  .faculty-banner {
    padding-bottom: 20px;
  }
}

@media(max-width: 1279px) {
  .wrap-faculty-banner {
    gap: 60px;
  }

  .faculty-banner .left:after {
    right: -30px;
  }

  .faculty-banner .right {
    width: 60%;
  }

  .faculty-banner .left {
    width: calc(40% - 60px);
  }

  .faculty .list-faculty {
    max-width: 100%;
  }

  .faculty .item-faculty {
    width: calc(calc(100% - 35px) / 2);
  }
}

@media(max-width: 1024px) {
  .faculty .list-faculty {
    justify-content: space-between
  }

  .faculty .item-faculty {
    width: calc(calc(100% - 35px) / 2);
  }
}

@media(max-width: 991px) {

  .faculty .item-faculty,
  .faculty-banner .right {
    width: 100%;
  }

  .faculty-banner .left {
    width: 50%;
    padding-top: 0;
  }

  .faculty-banner .left:after {
    display: none;
  }

  .faculty .item-faculty {
    gap: 0;
    align-items: start;
  }
}

@media(max-width: 767px) {
  .faculty-banner {
    padding: 30px 0 20px;
  }

  .faculty-banner .left {
    width: 100%;
  }

  .wrap-faculty-banner {
    gap: 8.5px;
  }

  .faculty-banner h1 {
    font-size: 40px;
    line-height: 46px;
  }

  .faculty-banner h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .faculty-banner p {
    font-size: 15px;
    line-height: 20px;
  }

  .faculty-banner .filter-pc {
    display: none;
  }

  .faculty-banner .filter-mb {
    display: flex;
    margin-top: 19px;
    border-radius: 10px;
    padding: 24px 25px 23px 31px;
  }

  .faculty {
    padding-bottom: 63px;
  }

  .faculty h2 {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .faculty .item-faculty .box-user img {
    width: 103px;
    height: 103px;
  }

  .faculty h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .faculty p {
    font-size: 15px;
    line-height: 18px;
  }

  .faculty .list-faculty {
    gap: 30px;
  }

  .faculty .box-faculty {
    padding-top: 52px;
  }

  .faculty .box-faculty:first-child {
    padding-top: 13px;
  }

  .faculty-banner select {
    margin-left: 12px;
  }

  .box-user {
    width: 103px;
    height: 103px;
  }

  .faculty .content {
    width: calc(100% - 103px);
    padding-left: 17px;
    box-sizing: border-box;
  }

  .faculty p {
    font-family: var(--fregular);
  }

  .faculty-banner-mb {
    padding: 15px;
    min-height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translate(0, -100%);
    transition: all 0.3s linear;
    z-index: 100000;
  }

  .faculty-banner-mb .filter-mb {
    margin: 0;
  }

  .faculty-banner-mb:not(.canshow) {
    transform: translate(0, -100%);
  }

  .faculty-banner-mb.show {
    display: block;
    transform: translate(0, 0);
  }
}


.faculty-banner .left {
  width: 100%;
}

.faculty-banner .left:after {
  display: none;
}

.faculty-banner h1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: bold;
  margin: 0 0 21px;
}

.faculty-banner {
  padding-top: 154px;
  min-height: unset;
  padding-bottom: 80px;
}

.faculty-banner h2 {
  font-size: 24px;
  line-height: 40px;
  margin: 0 0 2px;
}

.faculty-banner p {
  font-size: 18px;
  line-height: 26px;
  max-width: 1000px;
}

/*.faculty-banner .filter {
  max-width: 450px;
  padding: 19px 20px;
  margin-top: 24px;
}*/

.faculty-banner h4 {
  font-size: 18px;
  line-height: 22px;
  color: #031249;
  font-family: var(--fbold);
}

.faculty-banner select {
  font-size: 18px;
  line-height: 22px;
  color: #1495D9;
}

/*Update filter*/
.cust-fac-filter-wrap {
    margin: 24px 0 0;
}
form#frmFacultySearch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
#frmFacultySearchButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  color: #FFF;
  font-size: 18px;
  line-height: 30px;
  font-family: var(--fbold);
  font-weight: bold;
  background-color: #F99922;
  padding: 0 91px;
  text-transform: uppercase;
  height: 60px;
  cursor: pointer;
}
.cust-fac-filter-select input {
    height: 60px;
    padding: 15px 20px;
    box-sizing: border-box;
    font-family: var(--fbold);
    font-weight: bold;
    font-size: 18px;
    color: #141414;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff;
    /* min-width: 234px; */
}
.cust-fac-filter-select input::placeholder{
  color: #DCDCDC;
}
.cust-fac-filter-wrap select{
  height: 60px;
  background: #FFF;
  margin: 0;
  padding: 0 20px;
  border-radius: 10px;
  color: #141414;
  font-family: var(--fbold);
  font-weight: bold;

}
.cust-fac-filter-btn {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cust-fac-reset-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fbold);
    font-weight: bold;
    color: #1495D9;
    cursor: pointer;
    min-width: 125px;
}

@media(min-width: 981px){
  .cust-fac-filter-select input{
    width: 300px;
  }
  .cust-fac-filter-wrap select{
    width: 400px;
  }
}

@media (max-width: 1700px) and (min-width: 768px) {
  .faculty-container {
    padding: 0 5%;
  }
}

@media (max-width: 840px) {
  .cust-fac-filter-select, .faculty-banner .filter, .cust-fac-filter-btn {
      width: 100%;
  }
  .cust-fac-filter-select input, .cust-fac-filter-wrap select{
    width: 100%;
  }
}

@media (max-width: 767px) {
  .faculty-banner.faculty-banner-hero {
    margin-top: 60px;
  }
  .faculty-banner {
    padding: 48px 0 40px;
  }

  .faculty-banner h1 {
    font-size: 40px;
    line-height: 46px;
    margin: 0 0 20px;
  }

  .faculty-banner h2 {
    font-size: 20px;
    line-height: 26px;
    margin: 0 0 14px;
  }

  .faculty-banner p {
    font-size: 15px;
    line-height: 20px;
  }

  /*.faculty-banner-mb .filter {
    margin-top: 16px;
    padding: 14px 19px;
  }*/

  .faculty-banner-mb .cust-fac-filter-wrap {
      margin: 0;
  }

  .faculty-banner-mb .filter {
    margin: 0;
  }

  .faculty-banner-mb {
    padding: 15px;
  }
  .cust-fac-filter-btn{
    gap: 20px;
  }
  #frmFacultySearchButton{
    width: calc(100% - 145px) !important;
  }
}
