/* body>*{
  overflow-x: hidden;
} */
.navbar-brand {
  display:flex;
  flex-direction: row;
}

.CompanyName {
  font-size: 18px;
  color: lightgray;
  margin:auto 0px;
  font-weight: bold;
}
.nav-link {
  font-size: 20px; 
  font-weight: bolder;
}

.LogoSize {
  height: 30px;
  width: 30px;
  margin-left: 20px;
}


.p-banner {
  position: relative;
}

.bg {
  position: relative;
}

.rwd-image {
  display: block;
  width: 100%;
  height: auto;
}

.p-banner .bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 背景顏色 */
  z-index: 1;
}

.p-banner div[data-aos="fade-down"] {
  position: absolute;
  top: 50%;
  left: 45.556%;
  transform: translate(-50%, -50%);
  font-size: 32px; /* 文字大小 */
  color: #fff; /* 文字顏色 */
  z-index: 2;
}

#contact.p-content {
  padding: 0;
}

.p-content {
  padding: 90px 0;
  background-color: #fff;
  overflow: hidden;
}

#contact .top-wrap {
  font-size: 0;
}

.left-area {
  display: inline-block;
  width: 400px;
  height: 450px;
  vertical-align: middle;
  background-color: #abb0b5;
}

.main {
  padding: 40px;
}

.title {
  padding-bottom: 30px;
  font-size: 40px;
  font-weight: bolder;
}

.txt {
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.reset {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

li {
  padding: 5px 0 5px;
  font-size: 17px;
  background-position: 0 5px;
  background-repeat: no-repeat;
  -webkit-background-size: 24px 24px;
  -o-background-size: 24px 24px;
  background-size: 24px 24px;
}

.right-area {
  display: inline-block;
  width: calc(100% - 400px);
  height: 450px;
  vertical-align: middle;
}

.formBg {
  position: relative;
}

.formBg:before {
  pointer-events: none;
  content: "";
  position: absolute;
  z-index: 1;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background-size: auto 30px;
}

.formBg.two:after {
  height: 100%;
}

.formBg:after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  background-color: lightgray;
}

.form-wrap .p-wrap-2 {
  position: relative;
  z-index: 1;
}

.p-wrap-2 {
  max-width: 1000px;
  margin: 0 auto;
}

.p-subject {
  padding: 20px;
  position: relative;
  text-align: center;
}

.p-subject .tw {
  font-size: 30px;
  font-weight: bold;
}

.form-wrap .summary {
  font-size: 17px;
  color: #666;
  padding: 20px 0;
  text-align: center;
}

.form-wrap .subject {
  padding: 0 0 10px 10px;
  font-size: 20px;
  color: #ff0000;
  font-weight: bold;
}

.form-wrap .half {
  display: inline-block;
  padding: 5px 10px;
  width: 49%;
}

.form-wrap .group-box {
  position: relative;
}

.form-wrap .group-box .group-txt {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 1;
  color: #666;
  font-size: 17px;
  line-height: 52px;
}

.form-wrap .group-box .group-main {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}

.form-wrap .group-box .group-main .input, .form-wrap .group-box .group-main .textarea {
  display: block;
  padding: 10px 20px 10px 100px;
  width: 100%;
  color: #333;
  font-size: 17px;
  line-height: 32px;
  background-color: #fff;
  border: 2px solid #9e9494;
}

.form-wrap .group-select {
  padding-left: 130px;
}

.group-select {
  display: inline-block;
  width: 100%;
  position: relative;
  height: 56px;
  cursor: pointer;
  background-color: #fff;
  border: 2px solid #9e9494;
  vertical-align: top;
}

.group-select select {
  padding: 0 35px 0 0;
  width: 100%;
  color: #333;
  font-size: 17px;
  line-height: 50px;
  background-color: transparent;
  border: none;
  outline: none;
  -o-text-overflow: '';
  text-overflow: '';
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.group-select select option {
    color: #666;
    text-shadow: none;
}

.group-select:before, .group-select:after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 7px 0 7px;
  border-color: #2f425d transparent transparent transparent;
}

.form-wrap .full {
  display: inline-block;
  padding: 5px 25px 50px 10px;
  width: 100%;
}

.form-wrap .group-box .group-main .textarea {
    height: 150px;
}

.import {
  color: red;
}

.btn {
  margin-bottom: 60px; 
  width: 250px; 
  height: 70px; 
  font-size: 20px;
}

/* footer style */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.footer {
  background-color: #24262b;
  padding: 70px 0;
}

.footer-container {
  max-width: 1170px;
  margin: auto;
}

.footer .row {
  /* width:50rem; */
  display: flex;
  flex-wrap: wrap;
}
.footer-infor{
  width:15rem;
  /* display:flex; */
  padding:0 15px;
}

.footer-col {
  width: 40%;
  padding: 0 15px;
}
.footer-container{
  display:flex;
}

.footer-ul {
  list-style: none;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 10px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.social-icons {
  display: flex;
  justify-content: center;
}

/* all these icon should be 32X32 pixel */
.facebook:hover{
  background: url(/odb/assets/icon/facebook.png) no-repeat 4px center;
}
.facebook{
  background: url(/odb/assets/icon/gray-facebook.png) no-repeat 4px center;
}

.line:hover {
  background: url(/odb/assets/icon/line.png) no-repeat 4px center;
}
.line {
  background: url(/odb/assets/icon/gray-line.png) no-repeat 4px center;
}

.shopee:hover {
  background: url(/odb/assets/icon/shopee.png) no-repeat 4px center;
}
.shopee {
  background: url(/odb/assets/icon/gray-shopee.png) no-repeat 4px center;
}

.ruten:hover{
  background: url(/odb/assets/icon/ruten.png) no-repeat 4px center;
}
.ruten {
  background: url(/odb/assets/icon/gray-ruten.png) no-repeat 4px center;
}

.contactInfo {
  color: gray;
  display: flex;
  justify-content: center;
}

/********************** RWD Style **********************/

/* MEDIA QUERIES (MEDIUM DEVICES) */
@media (max-width: 990px) {
  .news-img-floatingBox {
    width: 600px;
    height: 450px;
  }

  .background-top-img {
    background-size: auto 100%;
    background-position: 25% 0;
  }

  .CompanyName {
    font-size: 30px;
  }

  .main {
    padding: 20px;
  }
  
  .left-area {
    display: inline-block;
    width: 250px;
    height: 450px;
    vertical-align: middle;
    background-color: #abb0b5;
  }

  .right-area {
    display: inline-block;
    width: calc(100% - 250px);
    height: 450px;
    vertical-align: middle;
  }  

  .form-wrap .half {
    display: inline-block;
    padding: 5px 10px;
    width: 49.5%;
  }

  .form-wrap .full {
    display: inline-block;
    padding: 5px 14px 50px 10px;
    width: 100%;
  }

  .navbar-toggler {
    margin-right: 20px;
  }

  .footer-col {
    width: 20rem;
    margin-bottom: 30px;
  }

  .footer-container {
    display: flex;
    justify-content: center;
    margin: auto;
  }    
}
@media screen and (min-width: 1000px) {
  .footer .row{
    width:35rem;
  }  
}
/* MEDIA QUERIES (SMALL DEVICES) */
@media screen and (max-width: 600px) {

  .CompanyName {
    margin-right: 20px;
    font-size: 18px;
  }

  .navbar-toggler {
    margin-right: 10px;
  }

  .p-banner {
    margin-top: 70px;
    position: relative;
  }

  .p-banner div[data-aos="fade-down"] {
    position: absolute;
    font-size: 32px;
    right: 0px;
    left: 0px;
    top: 35px;
    color: #fff;
    z-index: 2;
    text-align: center;
  }

  .main {
    padding: 20px;
  }
  
  .left-area {
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    background-color: #abb0b5;
  }

  .right-area {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    height: 400px;
  } 

  .form-wrap .half {
    display: inline-block;
    padding: 5px 10px;
    width: 100%;
  }

  .form-wrap .full {
    display: inline-block;
    padding: 5px 10px 50px 10px;
    width: 100%;
  }

  .footer-col {
    width: 100%;
  }
  
  .footer-container {
    width: 250px;
    margin: auto;
  }  

  .contactInfoMedia {
    display: flex;
    flex-wrap: wrap;
  }
  
  .phone {
    order: 1;
  }
  
}

/*navbar區塊*/
.navbar-nav .nav-link {
  color: #fff;
}
.dropend .dropdown-toggle {
  color: rgb(0, 0, 0);
}
.dropdown-item:hover {
  background-color: #fd6262;
  color: #000000;
}
.dropdown .dropdown-menu {
  display: none;
  
}

.nav-link{
  color: #000000;
}
.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
  display: block;
  
}
@media screen and (min-width: 990px) {
  .dropend:hover > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
  }

}