@charset "utf-8";
/*首頁服務項目*/
.image-block {
  max-width: 1300px;
  height: auto;
  margin: 50px auto 0;
  position: relative;
  transition: background-image 0.3s ease-in-out;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 25px;
  padding: 0;
}


.image-block:before {
  content: '';
    background: rgb(0 0 0 / 50%);
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s;25px;
  padding: 0;
}


.image-block:hover:before {
    background-position: 50% 50%;
    opacity: 1;
}


.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.image-item {
  position: relative;
  display: inline-block;
  margin-top: 0;
  width: 33.3%;
  text-align: center;
}






.small-image {
  width: 100%;
  height: auto;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 25px;
}


.image-titleen{
     opacity: 0;
     position: absolute;
     font-family: "Lato", sans-serif;
     color: rgba(255, 255, 255, 0.7);
     font-size: 50px;
     font-weight:bold;
     pointer-events: none;
}


.image-p{
     opacity: 0;
     position: absolute;
     color: rgba(255, 255, 255, 0.7);
     margin:0 auto;
     padding: 0 20px;
     box-sizing:border-box;
     /* text-align: left; */
     pointer-events: none;
     line-height: 1.5;
}

.image-title {
  position: absolute;
  top: 40px;
  left: 0px;
  font-size: 18px;
  color: #fff;
  background-color: #1F975C;
  padding: 0;
  border-radius: 0 25px 25px 0;
  opacity: 1;
  width: fit-content;
  height: 38px;
  line-height: 36px;
  letter-spacing: 2px;
  pointer-events: none;
  padding: 0 20px;
}

.image-block:hover .image-title {
  opacity: 0; 

}

.image-block:hover .image-p{
     opacity: 0;
    
}

.image-block:hover .image-titleen{
     opacity: 0;
}

.image-item:hover .image-titleen {
  opacity: 1;
  top: 22%;
  left:0%;
  right:0;
  margin:0 auto;
  z-index:1;
}


.image-item:hover .image-title {
  opacity: 1;
  top: 37%;
  left:0%;
  right:0;
  margin:0 auto;
  background:none;
  text-align:center;
  z-index:1;
}

.image-item:hover .image-p {
  opacity: 1;
  top: 47%;
  left:0%;
  right:0;
  margin:0 auto;
  z-index:1;
  font-size: 15px;
  max-width: 500px;
}



.image-item:hover {
  position: static;
 
}


.image-item:hover .small-image {
  opacity: 1;
  transform: scale(1.2);
}


.image-block:hover .small-image {
  opacity: 0; 
}



.image-item:nth-child(odd) {
  margin: 50px 0 0;
}

@media screen and (max-width: 1000px){
.image-titleen{
     font-size: 15px;
     line-height: 1.25;
}
    .image-item:hover .image-titleen {
  top: 8%;
}


.image-item:hover .image-title {top: 13%;}

.image-item:hover .image-p {
  top: 25%;
  font-size: 14px;
}

}

@media screen and (max-width: 767px){
.image-item:nth-child(odd) {
  margin: 0px 0 0;
}
    .image-item {
   width: 290px;
   max-width: 290px;
   height: 395px;
   display:block;
   border-radius: 25px;
   overflow: hidden;
   margin: 15px 0;
}
    .image-gallery {
 flex-direction: column;
 align-items: center;

}

  .image-block {
    background-image: none !important;
    margin: 30px auto 0;
  }

  .small-image {
    opacity: 1 !important;
    height: 100% !important;!i;!;!;
  }

  .image-title {
    opacity: 1 !important;
     
  }

.image-block:before{
      display: none;
}
.image-item:hover {
  position:relative;
 
}

    .image-item:before {
  content: '';
    background: rgb(0 0 0 / 50%);
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s;25px;
  padding: 0;
}


.image-item:hover:before {
    background-position: 50% 50%;
    opacity: 1;
}

}
/*首頁服務項目*/


/*內頁關於我們*/
.ablayout{
    max-width:1036px;
    margin:0 auto;
    position:relative;
    display: flex;
    flex-direction: column;
}

.ablayout::before {
    content: 'Department of Earth\A and Life Sciences';
    width: max-content;
    right: 0px;
    bottom: -6px;
    z-index: 2;
    position:absolute;
    font-family: "Lato", serif;
    font-weight: bold;
    white-space: pre;
    color:#D6D6D6;
    font-size:40px;
    line-height: 1;
}

.ablayout .col2{
    position:absolute;
    top:0;
    right:0;
    z-index:0;
}

.ablayout .col1{
    width:65%;
    z-index: 1;
    position: relative;
}


.ablayout .title{
    color: #333;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: 1px;
    margin: 0 80px 0px;
    font-weight: normal;
    position:relative;
    z-index:1;
}




.ablayout .title:after {
    content: '';
    display: block;
    background: #1F975C;
    width: 45px;
    height: 2px;
    position: relative;
    bottom: 0px;
    left: 0;
    margin: 10px 0 0px;
    visibility: visible;
}

.ablayout .title span{
     color: #A5A5A5;
    font-size: 18px;
    font-family: "Lato", serif;
}
.ablayout .title h2{
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: 2px;
    font-weight: normal;
    margin: 0;
}

.ablayout .abtxt{
    background:rgb(255 255 255 / 95%);
    padding: 35px 80px 60px;
    box-sizing: border-box;
    border-radius: 25px;
    font-size: 17px;
    color: #555;
    line-height: 1.75;
}

.ablayout .abtxt h3{
    color:#333333;
    font-size:22px;
    font-weight:normal;
    padding: 0 0 15px;
    border-bottom: 3px solid #E1E1E1;
    line-height: 1.5;
}
@media screen and (max-width: 1200px){
    .ablayout .col2{
    position:relative;
    top:0;
    right:0;
    z-index:0;
    order: 1;
    text-align: center;
}

.ablayout .col1{
    width:100%;
    z-index: 1;
    position: relative;
    order:2;
}

    .ablayout .abtxt{
     padding:10px 30px 20px;
   
}
    
.ablayout .title{
  text-align:center;
}




.ablayout .title:after {
  
    margin: 10px auto 0;
   
}
    .ablayout::before {
   display:none;
}
    .ablayout .title h2{
    font-size: 30px;
    
}
}
/*內頁關於我們*/

/*footer*/
.ic_mail{
    display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout01/common/siteinfo_mail_ic.png) no-repeat;
    width: 23px;
    height: 17px;
    margin-right: 8px;
}
.ic_fax{
    display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout01/common/siteinfo_fax_ic.png) no-repeat;
    width: 23px;
    height: 24px;
    margin-right: 8px;  
}
.ic_add{
     display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout01/common/siteinfo_add_ic.png) no-repeat;
    width: 23px;
    height: 24px;
    margin-right: 8px;
}
.site-info .ic-envelope{
    font-size: 18px;
    width: 20px;
    color: #159575;
    margin-right: 5px;
    position: relative;
    top: 2px;
    display: inline-block;
}
.site-info .ic-fax{
    font-size: 18px;
    width: 20px;
    color: #159575;
    margin-right: 5px;
    position: relative;
    top: 2px;
    display: inline-block;
}
.site-info .ic-map-marker{
    font-size: 21px;
    width: 20px;
    color: #159575;
    margin-right: 5px;
    text-align: center;
    position: relative;
    top: 3px;
    display: inline-block;
}
/*------------ about-editor ------------*/
.row_{
    display: flex;
}
.about-editor .row_1{
    justify-content: space-between;
    align-items: flex-start; 
    margin-bottom: 70px;
}
.about-editor .about-title{
    color: #262626;
    font-size: 29px;
    font-family:Roboto;
    font-weight: 300;
    margin: 0;
}
.about-editor .about-title:after{
    content: '';
    background: #4F4F4F;
    height: 1px;
    width: 60px;
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
}
.about-editor .row_2{
    margin-top: 40px;
}
.about-editor .row_2 .col{
    flex-basis:  50%;
    position: relative;
}
.about-editor .row_2 .txt_box{
    margin-top: 65px;
    border:solid 1px #4F4F4F;
    display: block;
    padding:50px;
    position: relative;
    margin-right: -100px;
    color: #000000;
    box-sizing: border-box;
}
.as_title{
    margin-bottom: 10px;
}
.as_txt{
    line-height: 2;
    padding-left: 35px;
}
.about-editor .row_2 .col1:after{
    content: '';
    display: block;
    position: absolute;
    width: 126px;
    background: #fff;
    height: 65px;
    right: -100px;
    bottom: 0;
    z-index: 3;
}
.about-editor .row_2 .col2{
    position: relative;
    z-index: 4;
    text-align: center;
}
.about-editor .row_3{
    align-items: flex-end;
}
.about-editor .row_3 .col{
    flex-basis:  50%;
}
.about-editor .row_3 .txt_box{
    margin-top: -65px;
    border:solid 1px #4F4F4F;
    display: block;
    padding:115px 50px 50px;
    position: relative;
    margin-left: -26px;
    color: #000000;
}
/*------------ service-editor ------------*/
.s_title{
    color: #FFFFFF;
    margin-bottom: 15px;
}
.s_txt{
    color: #ACACAC;
    margin-bottom: 40px;
}
.s_txt:last-child{
    margin-bottom: 0px;
}
.service-editor .row_{
    margin-bottom: 40px;
}
.service-editor .row_ .col1{
    width: 40%;
}
.service-editor .row_ .col2{
    width: 60%;
    padding:0px 30px;
}
/*------------ contact-editor ------------*/
.contact-editor{
    padding: 0 2%;
}
.contact-editor .col{
    float: left;
    padding: 0 2%;
}
.contact-editor .col1{
    width: 48%;
}
.contact-editor .col2{
    width: 52%;
}
.contact-map{
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.25);
    border: 8px solid #fff;
}
.contact-map iframe{
    display: block;
    max-height: 100%;
}
.contact-info-list{
    color: #555;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li{
    position: relative;
    padding: 2px 0 2px 40px;
    margin: 8px 0;
    line-height: 25px;
}

.contact-info-list li.tel:before{
    font-family: 'icon-font' !important;
    content: "\ff001";
    font-size: 21px;
    position: absolute;
    left: 9px;
    top: 3px;
    color: #1f975c;
}
.contact-info-list li.fax:before{
    font-family: 'icon-font' !important;
    content: "\ff002";
    font-size: 21px;
    position: absolute;
    left: 9px;
    top: 3px;
    color: #1f975c;
}
.contact-info-list li.mail:before{
    font-family: 'icon-font' !important;
    content: "\ff003";
    font-size: 21px;
    position: absolute;
    left: 9px;
    top: 3px;
    color: #1f975c;
}
.contact-info-list li.addr:before{
    font-family: 'icon-font' !important;
    content: "\ff004";
    font-size: 24px;
    position: absolute;
    left: 13px;
    top: 3px;
    color: #1f975c;
}
/*------------ video-editor ------------*/
.video-editor .pic{
    float: left;
    margin-right: 25px;
}
/*------------ terms-editor ------------*/
.terms-editor{
    font-size: 15px;
    line-height: 2;
    /*max-width: 1045px;*/
    margin: 0 auto;
}
.terms-editor .title{
    color: #1f975c;
    font-size: 16px;
    margin: 0;
}
.terms-editor p{
    text-indent: 0em;
    margin: 0 0 50px;
}
.terms-editor .row{
    margin: 0 -27px;
}
.terms-editor .col{
    padding: 0 27px;
    width: 50%;
    float: left;
    box-sizing: border-box;
}
/*------------ index-editor ------------*/
/*------------ rwd ------------*/
@media screen and (max-width: 1280px){
 .about-editor .row_2 .txt_box{
    padding:50px 90px 50px 50px;
 }
}
@media screen and (max-width: 1000px){
    .row_{
        display: block;
    }
    .about-editor .row_1 .col{
        margin-bottom: 20px;
    }
    .about-editor .row_1{
        margin-bottom: 40px;
    }
    .about-editor .row_2{
        margin-top: 20px;
    }
    .about-editor .row_2 .col1:after{
        display: none;
    }
    .about-editor .row_2 .col,.about-editor .row_3 .col{
        margin-bottom: 20px;
    }
    .about-editor .row_2 .txt_box,.about-editor .row_3 .txt_box{
        padding:0px;
        border:none;
        margin-right: 0px;
        margin-left: 0;
        margin-top: 0;
    }
    .about-editor .row_2 .col2{
        text-align: left;
    }
    .index-about-editor{
        padding: 0;
        height: auto;
    }
    .service-editor .row_ .col2,.service-editor .row_ .col1{
        width: 100%;
        margin-bottom: 20px;
    }
    .service-editor .row_ .col2{
        padding: 0
    }
    .contact-editor{
        padding: 0 2%;
    }
    .contact-editor .col{
        width: 100%;
        padding: 0;
    }
    .contact-map{
        height: 300px;
        margin-bottom: 1.8em;
    }
}
@media screen and (max-width: 767px){
    .terms-editor .row{
        margin: 0;
    }
    .terms-editor .col{
        padding: 0;
        width: 100%;
    }
     .contact-map{
        height: 200px;
    }
}
