/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


body[data-type="fullpage"] #nav {
    font-size: 1rem;
    width: 100%;
}


#header .topnavbar .container {
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}


@media(min-width:1920px){
body[data-type="fullpage"] #footer .container {
    width: 1160px;
 }
}


/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  text-align: center;  
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}


.topnavbar {
    background-color: #fff;
    top: 0px;
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 0;
    height: 100px;
}




/*nav*/
#nav{background:#222;}

#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    background:#cd0000;
    color: #fff;
    border-radius:0 0 8px 8px;
    box-shadow: 0px -5px 20px -5px rgba(0,0,0,0.5) inset;
}


#nav ul li.current a  {
    background:#ff0000;
    color: #fff; 
    border-radius:0 0 8px 8px;
    box-shadow: 0px -5px 20px -5px rgba(0,0,0,0.5) inset;
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(219, 0, 0,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    color: #fff;
    text-align: left;
    width: 200px;
    border-radius:0px;
    box-shadow: none;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 0px 10px;
    border-radius:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-radius:0px;
}

#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;
  }



/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(500 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/42111/files/132217c6-d904-410d-876e-16cc63ba4135.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}

.ser-top span.ser-line {
    background: #ff0000;
    width: 50px;
    height: 5px;
    display: block;
} 
  

/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/42111/files/51d8f688-61f0-4259-a671-3d960581d1f1.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  min-height:350px;
}


span.cat-name {
  background: #ff0000;
  padding: 5px 15px;
  float: right;
  border-radius:15px;
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/42111/files/244b38c5-0a1f-4cbc-b0c0-b43c905d7b2c.png)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}



#service .list article {
  background: #fff;
  width: 90%;
  margin: 0%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  padding: 1rem 1rem 0;
  text-align: left;
  height: 300px;
}

@media screen and (max-width: 768px) {
  #service .list article {
    height: 300px;
  }
}

#service .list article a {
  display: block;
}

#service .list article .image_hover {
  height: 80%;
  display: flex;
  align-items: center;
}

#service p {
  font-size: 90%;
  padding: 8px 0px;
  color: #777;
}

#service p span {
  padding: 8px 0px;
  color: #000;
}

.image_hover {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image_hover img {
  margin: auto;
  transition: transform 0.6s ease;
}

.image_hover:hover img {
  transform: scale(1.2);
}

.project .dfd-folio-categories .byline.category {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}


span.cat-name2 {
    background: #ff0000;
    padding: 5px 15px;
    float: right;
    border-radius: 100px 0px 0 0;
    margin-right: -16px;
    margin-top: -8px;
} 


/*Index_4~6*/
#bodyinhome .fcol.fcol-4, #bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6{display:none;}


/*Proudct*/
/*table*/
th {
    border-bottom: 1px solid #d6d6d6;
}

tr:nth-child(even) {
    background: #fbe5d6;
}

table.w3-table-all {
    margin: 20px 0;
}

.w3-table-all {
    border: 1px solid #ccc;
}

.w3-table-all {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
}

.w3-white {
    color: #000 !important;
}

.w3-table-all td:first-child {
    padding-left: 16px;
}

.w3-table-all td{
    padding: 8px 6px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}


.w3-table-all td a{
    color:#222;
}

.w3-table-all {
    border-collapse: collapse;
    border-spacing: 0;
}


/*h1*/
.h1title{color:#000;border-bottom:1px dashed #000;}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

/*pd*/
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #000;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #cd0000;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}


/*黃頁隱藏*/
   #copyright {
     display: none;
    }

/*#copyright, #copyright a{color:#dcdcdc;}*/



.title{
  position: absolute;
  /*width: 15%;*/
  text-align: justify;
  text-align-last: justify;
  line-height: 1.2rem;
}

.title:before{
  position: absolute;
  left: 100%;
  content: '\FF1A';
}

.value{
  padding-left: 15%;
}

@media(max-width:767px){
  .title{
  position: absolute;
  width: 10%;
  text-align: justify;
  text-align-last: justify;
 } 
}

@media(max-width:767px){
 .value{
  padding-left: 15%;
 } 
}




