.abInfo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f2ed;
  background-position: center;
  position: relative;
  background-image: url("/static/image/LGbj.jpg");
  height: 56vh;
  background-size: cover;
  height: 800px;
}
.abInfo svg {
  position: absolute;
  bottom: -3%;
  width: 100vw;
}
.abInfo h1 {
  color: white;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.immigration {
  background-color: #f5f2ed;
}

body {
  font-family: "Heiti TC";
  overflow-x: hidden;
}

.immigrationInfoSection {
  margin-top: 3%;
}
.immigrationInfoSection .imgBhind {
  position: absolute;
  top: -3em;
  left: 50%;
  transform: translateX(46%);
  -webkit-transform: translateX(46%);
  -moz-transform: translateX(46%);
  -ms-transform: translateX(46%);
  -o-transform: translateX(46%);
}

.immigrationInfo .immigrationNav {
  text-align: center;
}
.immigrationInfo .immigrationNav .act {
  border-bottom: 3px solid #a7985b;
  padding-bottom: 23px;
}
.immigrationInfo .immigrationNav hr {
  border-color: #a7985b;
  opacity: 0.3;
}
.immigrationInfo .immigrationNav a {
  font-size: 1.3rem;
  text-decoration: none;
  color: #a7985b;
  margin: 0px 7%;
  line-height: 40px;
}
.immigrationInfo .immigrationNavContainer {
  margin: 30px 0 60px 0;
}
.immigrationInfo .immigrationDetails .col-8 {
  padding-left: 0;
}
.immigrationInfo .immigrationDetails h2 {
  font-size: 2.4rem;
}
.immigrationInfo .immigrationDetails p {
  line-height: 28px;
  font-weight: 100;
  font-size: 1.1rem;
}

.immiCardsSection {
  margin-top: 40px;
}

.immiCards .row {
  margin: 0;
  flex-wrap: initial;
}
.immiCards .cards {
  padding: 0 !important;
  position: relative;
  width: 25vw;
  height: fit-content;
}
.immiCards .cards img {
  width: 100% !important;
  min-height: 400px;
  object-fit: cover;
}
.immiCards .cards .cardsContent {
  position: absolute;
  width: 74%;
  bottom: 4%;
  right: 0;
}
.immiCards .cards .cardsContent .title {
  background-color: rgba(167, 152, 91, 0.9);
}
.immiCards .cards .cardsContent .title h3 {
  color: white;
  font-size: 1.5rem;
  line-height: 50px;
  max-width: 90%;
  margin: auto;
}
.immiCards .cards .cardsContent .content {
  background-color: rgba(255, 255, 255, 0.9);
}
.immiCards .cards .cardsContent .content p {
  max-width: 80%;
  margin: auto;
  padding: 10px 0;
  font-size: 1.1rem;
  line-height: 28px;
}
.immiCards > .row > .cards {
  margin: initial !important;
}

@media only screen and (min-width: 651px) {
  .abInfo h1 {
    display: none;
  }

  .immigrationInfoSection .imgBhind img:nth-child(2) {
    display: none;
  }

  .immiCardsSection .immiCardsSm {
    display: none;
  }

  #cityab {
    width: 100vw;
  }

  #cityab2 {
    display: none;
  }
}
@media only screen and (max-width: 650px) {
  .abInfo {
    background-image: url("../images/vectorsmall.png");
    background-position: center;
    height: 400px;
  }

  .immigrationInfoSection .imgBhind {
    top: 0;
    right: 0;
    left: initial;
    transform: translate(42%, 137%);
    -webkit-transform: translate(42%, 137%);
    -moz-transform: translate(42%, 137%);
    -ms-transform: translate(42%, 137%);
    -o-transform: translate(42%, 137%);
    z-index: -1;
    opacity: 0.1;
  }
  .immigrationInfoSection .imgBhind img:nth-child(1) {
    display: none;
  }

  .immigrationInfo {
    max-width: 95vw;
  }
  .immigrationInfo .immigrationNavContainer {
    padding-top: 24px;
    margin-bottom: 24px !important;
  }
  .immigrationInfo .immigrationNavContainer hr {
    margin: 0;
  }
  .immigrationInfo .immigrationNav {
    padding: 0 33px;
    display: flex;
    justify-content: space-between;
  }
  .immigrationInfo .immigrationNav a {
    font-size: 1.25rem !important;
    margin: 0 !important;
    padding: 0;
    line-height: 60px !important;
  }
  .immigrationInfo .immigrationNav .act {
    padding: 0;
  }
  .immigrationInfo .immigrationDetails h2 {
    font-size: 2rem !important;
    text-align: center;
  }
  .immigrationInfo .immigrationDetails p {
    margin-top: 6%;
    line-height: 28px !important;
    font-size: 1.15rem !important;
  }

  .immiCards {
    display: none;
  }

  .immiCardsSm {
    display: flex;
  }
  .immiCardsSm .cardImg1 {
    width: 50vw;
    background-image: url("../images/card1.png");
    background-size: cover;
  }
  .immiCardsSm .cardImg2 {
    float: left;
    height: 100%;
    width: 50vw;
    background-image: url("../images/card2.png");
    background-size: cover;
  }
  .immiCardsSm .cardImg3 {
    float: left;
    height: 100%;
    width: 50vw;
    background-image: url("../images/card3.png");
    background-size: cover;
  }
  .immiCardsSm .cardImg4 {
    float: left;
    height: 100%;
    width: 50vw;
    background-image: url("../images/card4.png");
    background-size: cover;
  }
  .immiCardsSm img {
    float: left;
    height: 100%;
    width: 50vw;
  }
  .immiCardsSm .cardsContent {
    background-color: rgba(255, 255, 255, 0.9);
    height: 100%;
    float: left;
    width: 50vw;
  }
  .immiCardsSm .cardsContent .title {
    background-color: rgba(167, 152, 91, 0.9);
  }
  .immiCardsSm .cardsContent .title h3 {
    color: white;
    font-size: 1.15rem;
    line-height: 24px;
    max-width: 90%;
    margin: auto;
    padding: 8px 0;
  }
  .immiCardsSm .cardsContent .content {
    padding: 22px 0;
    font-size: 1.15rem;
  }
  .immiCardsSm .cardsContent div:nth-child(2) {
    height: max-content;
    display: flex;
    align-items: center;
    padding: 0 16px;
  }

  #cityab2 {
    width: 100vw !important;
  }

  #cityab {
    display: none;
  }
}
@media only screen and (max-width: 1200px) {
  .immiCards .cards .cardsContent {
    bottom: 0%;
    width: 100%;
  }
  .immiCards .cards .cardsContent .content p {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 930px) {
  .immiCards .cards .cardsContent .title h3 {
    font-size: 1.3rem;
    line-height: 35px;
  }
  .immiCards .cards .cardsContent .content p {
    max-width: 90%;
    font-size: 1rem;
    line-height: 20px;
    margin: auto;
  }
}