.bg-contact-footer{
  position: relative;
}

.bg-contact-footer .wrapper{
  max-width: 1500px;
}

.bg-contact-footer figure img{
  width: 100%;
}

.bg-contact-footer::after{
  position: absolute;
  content: "";
  background: url(../images/top/bg-contact-footer.png) no-repeat;
  width: 100%;
  height: 596px;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.contact-pallarax1 {
  height: 600px;
  position: relative;
}

.contact-pallarax2 {
  height: auto;
  padding-top: 89px;
  padding-bottom: 85px;
  position: relative;
}

/* .contact-pallarax2::after {
  position: absolute;
  content: "";
  background: url(../images/top/bg-contact-footer.png) no-repeat;
  width: 100%;
  height: 506px;
  left: 0;
  bottom: 0;
  z-index: -1;
} */

.contact-pallarax1-list {
  /* background: #fff; */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

.contact-pallarax1-box {
  width: 600px;
  padding: 40px 0 45px;
}

.contact-pallarax1-box:first-of-type {
  border-right: 1px solid #f4f4f4;
  padding: 35px 0 36px;
  background: #fff;
}

.contact-pallarax1-box:last-of-type {
  background: url(../images/top/bg-contact1.png) no-repeat;
  background-size: cover;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.contact-pallarax1-box:last-of-type:hover {
  /* background: url(../images/top/bg-contact2.png) no-repeat;
  background-size: cover; */
  /* opacity: 0.9; */
}

/* .contact-pallarax1-box:last-of-type:hover h5 {
  color: #111;
} */

.contact-pallarax1-box .note {
  color: #d80000;
  text-align: center;
  font-size: 16px;
  line-height: 200%;
  letter-spacing: 4px;
  font-weight: bold;
}

.contact-pallarax1 h3 {
  font-size: 24px;
  text-align: center;
  line-height: 200%;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
  font-weight: bold;
  color: #5E945E;
  font-family: G-OTF-R;
  font-weight: normal;
}

.contact-pallarax1 h3 span {
  display: block;
  font-size: 12px;
  text-align: center;
  line-height: 200%;
  font-weight: normal;
  letter-spacing: 3px;
  padding-top: 4px;
  font-family: font-mei;
}

.contact-pallarax1 h4 {
  font-size: 14px;
  text-align: center;
  padding: 16px 0 5px;
}

.contact-pallarax1 h5 {
  text-align: center;
  font-size: 30px;
  line-height: 160%;
  color: #fff;
  font-weight: bold;
  margin-bottom: 13px;
  transition: 0.4s;
  font-family: G-OTF-R;
  font-weight: normal;
}

.contact-pallarax1 p {
  text-align: center;
  line-height: 200%;
  padding: 0;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
  font-size: 12px;
}

.contact-pallarax1 .phone {
  font-size: 34px;
  line-height: 100%;
  font-weight: bold;
  letter-spacing: 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 0;
}

.contact-pallarax1 .phone::before {
  content: "";
  width: 27px;
  height: 27px;
  background-image: url("../images/common/ic-phone.png");
  background-size: cover;
  margin-right: 12px;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.contact-pallarax1 .phone span {
  font-size: 20px;
}

.contact-pallarax1 p.last {
  padding: 11px 0 22px;
  letter-spacing: 2.5px;
}

.contact-pallarax1 .btn-2 {
  position: relative;
  z-index: 1;
}

@media all and (max-width: 1024px) {
  .contact-pallarax-box{
    width: 768px;
  }
  .contact-pallarax-box h3{
    padding-left: 0;
  }

  .contact-pallarax1-box{
    width: 768px;
  }
  .contact-pallarax1-box h3{
    padding-left: 0;
  }
  .contact-pallarax1-list{
    width: 90%;
  }
  .contact-pallarax1 .phone{
    padding-left: 0;
    justify-content: center;
  }
}

@media all and (max-width: 850px) {
  .contact-pallarax1 h4{
    font-size: 12px;
  }

  .contact-pallarax1-box h3{
    font-size: 18px;
  }

  .contact-pallarax1 .phone {
    font-size: 28px;
  }

  .contact-pallarax1 .phone::before{
    width: 20px;
    height: 20px;
  }
}

@media all and (max-width: 768px) {
  .contact-pallarax-box h3{
    font-size: 20px;
  }

  .contact-pallarax-box p{
    font-size: 12px;
  }

  .contact-pallarax{
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding-top: 0;
    height: 800px;
  }

  .contact-pallarax .flex{
    flex-wrap: wrap;
  }

  .contact-pallarax .flex figure{
    margin-right: 0;
  }

  .contact-pallarax .flex p{
    width: 100%;
    padding-bottom: 0;
    padding-left: 0;
  }

  .contact-pallarax-list{
    flex-wrap: wrap;
  }

  .contact-pallarax-box{
    width: 100%;
    padding: 30px;
    top: 0;
  }

  .contact-pallarax-box:first-of-type{
    border-right: 0;
  }

  .contact-pallarax-box:first-of-type{
    border-bottom: 1px solid #F4F4F4;
  }

  .contact-pallarax1-box h3{
    font-size: 20px;
    padding-top: 0;
  }

  .contact-pallarax1-box p{
    font-size: 12px;
    padding-bottom: 0;
  }

  .contact-pallarax1{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-pallarax1-list{
    flex-wrap: wrap;
  }

  .contact-pallarax1-box{
    width: 100%;
    padding: 30px 10px !important;
    top: 0;
  }

  .contact-pallarax1-box:first-of-type{
    border-right: 0;
    border-bottom: 1px solid #F4F4F4;
  }

}


@media screen and (max-width: 767px){
  .contact-pallarax1{
    height: 300px;
  }

  .contact-pallarax2{
    height: auto;
    padding: 50px 0;
  }
  .contact-pallarax .phone{
    font-size: 20px;
  }

  .contact-pallarax p{
    letter-spacing: 2px;
  }

  .contact-pallarax1 .btn{
    margin-right: 0;
  }

  .contact-pallarax1 .phone{
    letter-spacing: 1.5px;
    font-size: 23px;
  }

  .contact-pallarax1 .phone span{
    font-size: 14px;
  }

  .contact-pallarax1-list{
    width: 100%;
  }

  .contact-pallarax1 h5{
    font-size: 24px;
  }

  .contact-pallarax1 .phone::before{
    width: 17px;
    height: 17px;
  }

  .contact-pallarax1 h4{
    font-size: 11px;
  }

  .contact-pallarax1-box p{
    font-size: 10px;
  }
}

ul.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  width: 100%;
}
ul.pagination li.pre {
  /* background: #000; */
  font-weight: bold;
  color: #fff;
  margin-right: 50px;
}
ul.pagination li.next {
  /* background: #000; */
  font-weight: bold;
  color: #fff;
  margin-left: 50px;
}
ul.pagination li {
  border-radius: 50%;
}
ul.pagination li{
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0.4s;
  display: flex;
  margin: 0 5px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;

  font-size: 13px;
  line-height: 240%;
  padding: 0 !important;
}
ul.pagination li a{
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;

  font-size: 13px;
  line-height: 240%;
  padding: 0 !important;
}

ul.pagination li.active{
  background: #5E945E;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 5px;
  font-size: 13px;
  line-height: 240%;
  color: #fff;
}
ul.pagination li:hover {
  background: #5E945E;
  color: #fff;
}

ul.pagination li a{
  border: none !important;
}

/* ul.pagination li a:hover{
  background: #F2720F !important;
} */
