﻿ .cms-main-content{background: #fff; overflow: hidden;}
/**----------------
 about 
--------------------*/
.cms-about h4 { font-size: 1.75rem; display: block;margin:6% auto; font-weight: 700;  }
#cms-main .cms-about p { font-size:0.9375rem; font-weight:400; line-height:1.875rem; width: 100%; display: block; margin-bottom: 2%;}
.cms-about figure img{ width: 100%; max-width: 100%;}
/*about us----*/
.cms-main-wrap{ width: 100%; max-width: 1200px; margin: auto; height: auto;  display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; position: relative;z-index: 1;}
.cms-main-facility { width: 100%; padding:0;position: relative; display: flex; flex-wrap: wrap; margin: 0 auto;background: url("../images/awward/a-bg-2.jpg") no-repeat left bottom; background-size:auto  80%;}
.cms-main-facility-item { width: 55%; display: flex; flex-wrap: wrap;  padding:30px 60px; position: relative; background-image: linear-gradient(to bottom, #fff 0%, #ffedf3 100%); }
.cms-main-txt{width: 100%;  margin:1% 0; position: relative;z-index: 3; }
#cms-main .cms-main-facility  p { width: 100%; padding: 5px; margin-bottom: 20px; font-size:1.125rem;font-weight: 400;color: #4b4948; }
.cms-main-facility-item  .cms-title-3{ position: relative; z-index: 3;}
 
.cms-box::after { content: "";  border: 1px solid #e60044;  width: 100%; height: 100%;  min-height: 385px; position: absolute;  z-index: 1; top: -30px; left: -4%; }
.cms-box-wrap { padding: 5% 0 2.5% 0;}
.cms-box-wrap h3{ margin: 20px auto 40px auto;text-align: center; }


.cms-main-card { width:45%;  margin:0px; padding:0px;  display: flex; flex-wrap: wrap;position: relative; z-index: 1;}
.cms-main-card figure { display: block;  width: 100%; max-width:100%; margin:0 auto;   }
.cms-main-card figure:before{content: ""; display: block; width:100px; height:200px;top:-5%; left:-3%;  position:absolute;z-index:0; background: #e60044; }
.cms-main-card figure:after{content: ""; display: block; width:90px; height:90px;bottom:-10px; left:90%; right: auto; position:absolute;z-index:0; background:#e60044;   } 
.cms-main-card figure img {  width: 100%; max-width: 100%; transition: all 0.3s; position: relative; z-index: 1; }
 
.cms-main-icon-wrap {width: 100%; height: auto;   padding:40px 20px 0px 40px;  margin: auto; display: flex; flex-wrap: wrap; align-content: center; align-items: center; }
.cms-main-icon-list{ width: 100%;  max-width: 80%;  margin: auto;   padding:0px;  display: flex; flex-wrap: wrap; justify-content: center; } 
.cms-main-icon-list li{  display: flex; flex-wrap: wrap;flex-direction: column;  justify-content: space-between;  align-content: center; width: calc(100%/2 - 30px); margin:0px 15px 30px 15px;  list-style: none;  padding:10px; transition: all 0.5s ease 0s;}
.cms-main-icon-list li:hover{  transform: scale(1.1);   }
#cms-main .cms-main-icon-list li h3{ margin: 10px auto 0px auto; font-size:1.75rem; font-weight:700;  color:#e60044; text-align: center;}
#cms-main .cms-main-icon-list li h4{ margin: 10px auto 0px auto; font-size:1.15rem; font-weight:400;  color:#006f8a; text-align: center;}

#cms-main .cms-main-icon-list li p{ color: #4b4948; font-size: 1rem;  text-align: center; }
.cms-main-icon-wrap i { display: block; width:100px; height:100px;  margin:0 auto; position: relative;  }
.icon-all{display: block; margin: auto; background-repeat: no-repeat; background-position: center; background-size: 90px 90px;}
.icon-1{background-image: url("../images/icon/a-1.svg"); }
.icon-2{background-image: url("../images/icon/a-2.svg"); }
.icon-3{background-image: url("../images/icon/a-3.svg"); }
.icon-4{background-image: url("../images/icon/a-4.svg"); }
@media (max-width:1024px) {
.cms-main-facility {  padding:100px 0 0px 0px; margin:0; position: relative; display: flex; flex-wrap: wrap;  }
.cms-main-card figure:after{ width:60px; height:60px;bottom:80px; left:80%; right: auto; position:absolute;z-index:0; background: #e0e0e0; }
.cms-main-facility-item .cms-title-h3 { margin:0 0 2% -10%; }
.cms-main-facility-item .cms-title-h3:before{right: -10%; }
.cms-main-txt{ padding-left: 10%;}
}
 @media (max-width: 768px) {
.cms-main-facility { margin-top:30px; padding:0px 15px; background: linear-gradient(to bottom, #fff 0%, #fdf7f9 60%,#fff 100%); }
.cms-main-facility-item { width: 100%; padding-top: 30px;}
.cms-main-card { width:100%; padding:0px 0px 0px 0px;}
.cms-main-card figure{ max-width: 80%;}   
.cms-main-card figure:before{content: ""; display: block; width:50px; height:50px;top:-5%; left:3%;  position:absolute;z-index:0; background: #e60044; }
.cms-main-card figure:after{ bottom:-20px;  }
.cms-title-h3 { margin:0 0 2% 0;padding-left:50px;}
.cms-title-h3:before{ left:10%; right: auto; width: 3px; height: 100px; -webkit-transform: skew(0deg); -ms-transform: skew(0deg); transform: skew(0deg); }    
.cms-main-txt{ padding-left: 0px; padding-top: 0px;}  
.cms-box::after {width: 96%;  z-index: 0; top: -30px; left: 4%; }
.cms-main-icon-wrap{padding:40px 0px 0px 0px; }   
.cms-main-icon-list{  max-width: 100%;   }  
#cms-main .cms-main-icon-list li h3{ font-size:1.15rem;  }
} 
 
 @media (max-width: 767.98px) {
 .cms-main-facility-item {   padding: 30px 10px 20px 30px;}
 .cms-main-icon-list li{  width: calc(100% - 30px); margin: auto; padding: 15px; }   
 #cms-main .cms-main-icon-list li p{ width: 90%; display: block; margin:auto;  color: #4b4948; font-size: 1rem;  text-align: center; }
    
}
 

/*-------------------*/
/***** product  *****/
/*------------------*/
.cms-main-product { width: 100%; padding:100px 15px;  margin:0 auto; position: relative; z-index: 0; background: linear-gradient(-45deg, transparent 120px, #f7f7f7 0);  }
.cms-main-product:after{content: "";  width: 100% ;  height: 100%; right: -5%; top:0px; position: absolute;  z-index: 0;background: url("../images/index/bg-line.svg") no-repeat right top; background-size: 50% auto;  }
@media (min-width: 992px) and (max-width: 1199.98px) {
.cms-main-product {  padding:100px 15px 50px 15px; }
}
@media (max-width: 1199.98px) {
.cms-main-product {  padding:100px 15px 50px 15px; }
}
@media (max-width: 768px) {
    
.cms-main-product {  padding:15px; }
 }

/*----------------------------------------/
產品總覽頁Product
----------------------------------------*/
.cms-product-cate { width:100%; max-width: 1000px; margin:0px auto;  padding:0px 0px 30px 0px; position:relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center;   }
.cms-product-cate li{ width: calc(100%/2 - 30px);  margin:0px 15px; padding:0px; display: flex; flex-wrap: wrap; justify-content: center;  position: relative; z-index: 1;overflow: hidden;  transition: all 0.3s linear 0s;  }
/* Common style */
.cms-product-cate li figure { position: relative; float: left; overflow: hidden; margin: 10px 0px;width: 100%;  width: 400px;  height:auto;text-align: center; cursor: pointer;	}
.cms-product-cate li figure img { position: relative; display: block; min-height: 100%; max-width: 100%; opacity:1;}
.cms-product-cate li figure figcaption { padding: 2em; color: #fff; text-transform: uppercase; font-size: 1.25rem; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cms-product-cate li figure figcaption::before,.cms-product-cate li figure figcaption::after {pointer-events: none;}
.cms-product-cate li figure figcaption,.cms-product-cate li figure figcaption > a { position: absolute; top: 0; left: 0; width:100%; height: 100%;}
 /* Anchor will cover the whole item by default For some effects it will show as a button*/
.cms-product-cate li figure figcaption > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0;}
.cms-product-cate li figure h2 {word-spacing: -0.15em;  font-size: 150%;  font-weight: 400;}
.cms-product-cate li figure h2 span {font-weight: 700;}
.cms-product-cate li figure h2,.cms-product-cate li figure p {margin: 0; color: #fff;  }
.cms-product-cate li figure p { font-size:100%; font-weight: 700;}
/*---------------*/
/***** Bubba *****/
/*---------------*/
figure.effect-bubba { background: #000;}
figure.effect-bubba img {opacity: 0.7; -webkit-transition: opacity 0.35s; transition: opacity 0.35s;}
figure.effect-bubba:hover img {opacity: 0.4;}
figure.effect-bubba figcaption::before,figure.effect-bubba figcaption::after { position: absolute; top:16px; right:16px; bottom: 16px; left: 16px; content: ''; opacity:1; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s;}
figure.effect-bubba figcaption::before { border-top: 1px solid #fff; border-bottom: 1px solid #fff; -webkit-transform: scale(0,1); transform: scale(0,1);}
figure.effect-bubba figcaption::after { border-right: 1px solid #fff; border-left: 1px solid #fff; -webkit-transform: scale(1,0); transform: scale(1,0);}
figure.effect-bubba h2 { padding-top: 30%; -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s; -webkit-transform: translate3d(0,-20px,0); transform: translate3d(0,-20px,0);}
figure.effect-bubba p { padding: 0px; opacity: 1; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(0,-20px,0); transform: translate3d(0,-20px,0);}
figure.effect-bubba:hover figcaption::before,figure.effect-bubba:hover figcaption::after { opacity: 1; -webkit-transform: scale(1); transform: scale(1);}
figure.effect-bubba:hover h2,figure.effect-bubba:hover p { opacity: .7; -webkit-transform: translate3d(0,20px,0); transform: translate3d(0,20px,0);}
.cms-product-cate .slick-prev { left:0; }
.cms-product-cate .slick-next { right:0 }
.cms-product-cate .slick-prev, .cms-product-cate .slick-next { font-size: 0; line-height: 0; position: absolute; top: 40%; z-index:1; display: block; width:36px; height: 36px; padding: 0;background:#d80a4a; border-radius:99rem; outline: none;}
 .cms-product-cate .slick-prev:before,.cms-product-cate .slick-next:before { color: #fff; font-size: 1.15rem;  }










.cms-about { margin:0 auto; width: 100%; padding:5vh 5vw; display: flex; flex-wrap: wrap; position: relative;  } 
.cms-about-box {width: 100%;  max-width: 1400px; margin:0 auto; padding:15px;  display: flex; flex-wrap: wrap; justify-content: space-between;position: relative;  }
.cms-about-box-left{ width:40%; padding: 35px;   display: flex; flex-wrap: wrap; align-content: center; align-items: center;    }
.cms-about-box-right{ width: 60%; justify-content: flex-end; padding:30px 50px;position: relative; z-index: 0; }
.cms-about-box-right .cms-main-txt{ width:90%; margin: auto;  }
.cms-about-wrap{width: 100%;  margin:0 auto; padding: 20px; display: flex; flex-wrap: wrap; justify-content: center;}
 
.cms-core-list{width:100%; max-width:900px; margin:0 auto; padding: 0px;  display: flex; flex-wrap: wrap; align-content: center; align-items: center; } 
.cms-core-list-title{ width: 40%; padding:20px; margin: 0px; display: flex; flex-wrap: wrap;  }
.cms-core-list-box{ width: 60%; padding:20px; margin:0px; ;   display: flex; flex-wrap: wrap;  border-bottom: dashed 1px #e5e5e5;  }
.cms-core-list h3,.cms-core-list em{ font-size: 1.5rem; font-weight:700; color:#016f89; font-style: normal;  }
.cms-core-list ul{ width: 100%;display: block; margin: 10px 0px; padding: 0px; }
.cms-core-list ul li{ width: 100%; display: block; margin: 10px 0px; padding: 0px 0px 0px 15px;  color: #000;  background: url("../images/icon/dot.svg") no-repeat left 7px; background-size: 6px auto;   }
.cms-core-list:last-child{ border-bottom: none; }
 
.cms-core-cirecle{ width: 200px; height: 200px;  display: flex; flex-wrap: wrap; justify-content: center;align-content: center; align-items: center; border: solid 6px #016f89; border-radius:50%;position: relative;  }
.cms-core-cirecle:after{content: ''; width:3px; height: 50px;  position: absolute; z-index:9; left:50%; bottom:-50px;  background:#016f89;    }
.cms-core-cirecle:before{content: ''; width:40px; height: 3px;  position: absolute; z-index:9; right:-25%;top:50%;  background:#016f89;    }
.cms-core-end:after{ display: none; content: '';   }

 @media (max-width: 767.98px) {
.cms-core-list h3,.cms-core-list em{ font-size: 1.15rem; font-weight:700; color:#016f89; font-style: normal;  }
 .cms-core-list-title{ width: 100%;  }
.cms-core-list-box{ width: 100%;  }
.cms-core-cirecle:before{ display: none; }
.cms-core-end:after{ display: block; content: '';   }

}

/*-------------------*/

/***** bg *****/
/*------------------*/
.cms-bg-1 {   width: 100%; background: url("../images/about/about-02.jpg") no-repeat right bottom #fff; background-size: 100% auto;  }
.cms-bg-light{background:#f6fafd;}
.cms-bg-light:after{ content: 'Awards'; width:100%; position: absolute; z-index:9; left:-3%; top:0;  font-size:180px; font-weight: 700; letter-spacing:-10px;  color: rgba(49,149,175,.1);  }
.cms-about-box .cms-about-box-style{ padding:30px; background: #fff;  box-shadow: 0 55px 30px -30px rgba(125, 125, 125, 0.7);}
.cms-bg-body{ background-image: url("../images/index/dot-line.svg"),url("../images/index/style-1.svg"); background-position: left top, -5% top; background-repeat: repeat-y,repeat-y; background-size:100% auto,25% auto; }
.cms-bg-body-light { margin: 5% auto 0 auto; background: url(images/about/bg.jpg) no-repeat bottom, linear-gradient(to bottom, #fff 0%, #fff 23%, #F0F0F0 23%, #FAFAFA 100%);}


@media (max-width: 1024px) {
.cms-about{padding:1vh 5vw;}
.cms-about-box-left{ width:100%; }     
.cms-about.cms-bg-1 { margin:0px auto; padding:0px 2vw 300px 2vw!important;   }   
.cms-about-box-right{ width: 100%; justify-content: flex-start; }
.cms-bg-1 { padding-bottom: 300px; }
.cms-about-box-right .cms-main-txt{ width: 100%;padding-top:0; padding-left:5%;}
 }

 @media (max-width: 768px) {
 .cms-about.cms-bg-1 { background-size: 200% auto; background-position:left bottom;}   
.cms-bg-1 .cms-about-box .cms-about-box-left{ display: none; } 
.cms-about-box .cms-about-box-style{ padding:30px; background-color:transparent;  box-shadow:none;}   
}
@media (max-width: 767.98px){
.cms-about-box .cms-about-box-style { padding:0px; }
.cms-about.cms-bg-1 { margin:0px auto; padding:0px 1vw 182px 1vw!important;  } 
.cms-title-h2 h2{padding-left: 0;}   
}
/*-------------------*/
/***** Technology *****/
/*------------------*/

.cms-technology{position: relative; z-index: 0; padding:0; margin: 0 auto; background: url("../images/about/about-bg.jpg") left bottom no-repeat; background-size: 100% auto;   }
.cms-technology-box{width:100%; max-width: 1400px;  margin: 0 auto; padding: 50px 20px; display: flex; flex-wrap: wrap; justify-content: center;  align-content: center; align-items: center;position: relative;}
.cms-technology-txt{width: 50%; margin:0 ; padding:30px 60px; line-height:2.5rem;  color:#000; word-break: keep-all;  background: #fff;box-shadow: 0px 55px 30px -30px rgba(125, 125, 125, 0.7);}
.cms-technology-pic{width:45%; margin-top:0px; padding:0px;position: relative; z-index:1;   }
.cms-technology-pic img{position: relative; z-index: 1; }
.cms-technology-pic::before{display: block; content: ''; background: linear-gradient(145deg, rgb(0, 0, 0), rgb(255, 255, 255));
 width:50px; height:50px; position: absolute; left:-20px; top: -1vh; z-index: 0; }
.cms-technology-pic::after{display: block; content: ''; width:300px; height:200px; position: absolute; right:-20px; bottom: -20px; z-index: 0; background:rgba(255,255,255,.5);}
#cms-main .cms-technology-txt p {margin-bottom: 15px; color: #000;font-size:1rem; line-height: 2rem; word-break: normal;  }
#cms-main .cms-technology-txt h3 {margin-bottom: 15px;  line-height: 2.5rem;  font-weight: 700; }
@media (max-width: 1199.98px) {
.cms-technology-txt{  padding:30px; }
}

@media (min-width: 1400px){
.cms-technology::before{ position: absolute; left:0; top: 30vh;  }
.cms-technology-content { max-width: 1400px;}
}
 @media (max-width: 991.98px) {
 .cms-technology-box{  padding:20px;   }
}
@media (max-width: 767.98px) {
.cms-technology{  background:none;   }   
.cms-technologyt-box{ flex-direction: column-reverse; padding-top: 0;}
.cms-technology-txt{width: 100%; margin:0 ; padding:30px 15px; line-height:2.5rem;  color:#000; word-break: keep-all;  }
.cms-technology-pic{width:100%; margin-top:0px; padding:0px;position: relative; z-index:1;   }
.cms-technology-pic::after{  bottom: -30px; }
}



.about-bottom {position: relative; margin: auto; z-index: 1; }
.about-bottom .about-bottom-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0;}
.about-bottom .about-bottom-bg .img-wrapper { position: absolute;}
.about-bottom .about-bottom-bg .img-wrapper.img-1 { z-index: 2; top: 0; right: calc(50% - 500px + 500px); width:700px; height: 360px;}  
.about-bottom .about-bottom-bg .img-wrapper.img-2 { top: 30%; left: calc(50% - 600px + 520px);  width:700px; height: 360px;}
.about-bottom-inner { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;  -webkit-box-align: center; -ms-flex-align: center;  align-items: center;  min-height: 400px;  padding: 75px 0;position: relative; z-index: 5;}
.about-bottom-inner .text-box { max-width: 600px; padding: 20px 70px 50px 70px; background: #d4dde1; background: radial-gradient(ellipse at center, #fff 30%,#d4dde1 100%); box-shadow: 3px 5px 15px rgba(0,0,0,.2);} 

.about-bottom .about-bottom-bg .img-wrapper.img-1::before { content: ""; position: absolute; top: 35px;  right: -50px;  display: block; width: 100%; height: calc(100% - 15px); border: 4px solid #E2E2E2; border-radius: 7.5px; opacity: 0.5; -moz-transform: skew(-8.5deg, 0deg);-o-transform: skew(-8.5deg, 0deg); -ms-transform: skew(-8.5deg, 0deg); -webkit-transform: skew(-8.5deg, 0deg); transform: skew(-8.5deg, 0deg); -moz-transform-origin: top right; -o-transform-origin: top right; -ms-transform-origin: top right; -webkit-transform-origin: top right; transform-origin: top right;}
.about-bottom .about-bottom-bg .img-wrapper .item { -moz-transform: skew(-8.5deg, 0deg);  -o-transform: skew(-8.5deg, 0deg);  -ms-transform: skew(-8.5deg, 0deg); -webkit-transform: skew(-8.5deg, 0deg); transform: skew(-8.5deg, 0deg); height: 100%; overflow: hidden;border-radius: 15px;}
   
 @media (max-width: 768px) {
 .about-bottom {padding-top: 100px; }
 .about-bottom .about-bottom-bg .img-wrapper.img-1 { top: 0; right: calc(50% - 500px + 500px); }  
.about-bottom .about-bottom-bg .img-wrapper.img-2 { top: 40%; left:20%;  }
 }
 @media (max-width: 767.98px) {
 .about-bottom .about-bottom-bg .img-wrapper.img-2 { top: 80%; left:20%; width:100%; height: auto;}
  .about-bottom-inner .text-box { width: 88%; padding:0px 40px 30px 40px; }   
}
   /*technology*/
.bg1:after { content: ""; width: 100%; height: 100%; left:0px; top: 0px; position: absolute; z-index: 0;  background: url(../images/index/bg-t-2.jpg) no-repeat left bottom; background-size: 100% auto;}
.bg1{   }
.bg2{ background: radial-gradient(ellipse at center, #ffffff 0%,#fff 84%);}
.bg2:after { content: ""; width: 100%; height: 100%; left:0px; top: 0px; position: absolute; z-index: 0;  background: url(../images/index/bg-t-1.jpg) no-repeat right bottom; background-size: 100% auto;}
.bg3{padding: 140px 0px!important; background: url(../images/index/bg-t-3.jpg) no-repeat left bottom; background-size: 100% auto;}
.technology-wrap{width: 100%;  margin:0 auto; padding:50px 0px; position: relative;}
.technology-wrap .cms-wrapper{display: flex; flex-wrap: wrap; justify-content: center;}
.technology-title{ width: 40%; display: flex;}
.technology-list{ width: 60%; display: flex;}
 @media (max-width: 768px) {
.technology-wrap{width: 100%;  padding:0px;  margin:50px auto auto auto;position: relative;}
.technology-title,.technology-list{ width: 100%;  }
.bg1:after,.bg2:after {background-position: left top; }
.reverse{ flex-direction: column-reverse;}
 .bg3{padding: 0px 0px 50px 0px!important; }
    
}




.technology-list-pic {width: 100%;  margin:20px 0px; padding: 0px; display: flex; flex-wrap: wrap; position: relative; z-index: 1;  }
.technology-list-pic li{ width:calc(100%/3 - 30px); margin: 5px 15px; list-style: none;    }
.technology-list-pic figure{width:100%; display: block;  margin:0px auto;   overflow: hidden;   }
.technology-list-pic figure img{width:100%;  height: auto;}
.technology-list-pic p{ font-size:0.9375rem; }

  @media (max-width: 991.98px) {
.cms-about { padding:0px 2vw;  }   
.cms-about-list-pic li{ width:calc(100%/2 - 30px); margin: 3% 15px;}
}

 @media (max-width: 767.98px) {
 .cms-about-list-pic li{ width:calc(100% - 30px); margin: 3% 15px;}
.technology-list-pic li{ width:calc(100%/2 - 30px); margin: 5px 15px; list-style: none;    }

}

.cms-about-wrap .edit{ display: inline-block; margin:2% auto 2% 40%; max-width:100%; padding:2vh 0; text-align: right;}
.cms-about-wrap .edit-half{display: inline-block; width:70%; margin:0 auto; padding: 2rem; }
 
/*----------------------------------------/
timeline
----------------------------------------*/
.cms-about-time {padding:10vh 0 20vh 0; background-image:url("../images/about/bg-history.jpg"),url("../images/about/bg-history-line.jpg"); background-repeat: no-repeat, repeat-x; background-position: center bottom,center bottom; background-size: 70% auto;  position: relative; z-index: 0; }
.cms-about-time:after{ content: 'History'; width:100%; position: absolute; z-index:9; left:0; top:0;  font-size:180px; font-weight: 700; letter-spacing:-10px;  color: rgba(49,149,175,.1);  }
.cms-about-time .cms-title-block { width: 100%;  max-width: 1200px; margin: 20px auto; }
 

.timeline { position: relative; max-width: 1200px;  margin: 0 auto;    z-index:1;}
.timeline::after {  content: '';  position: absolute; width: 1px; background-color:#9e2b2f; top: 0; bottom: 0;  left: 50%;  margin-left: -3px; z-index:1;}
.timewrap { padding: 10px 40px; position: relative; background-color: inherit; width: 50%;z-index:9;}
.timewrap::after { color: #fff; margin:0px;  content: attr(data-year)' '; position: absolute; font-weight:700;  width: 66px; height: 66px; right: -33px; background-color:#9e2b2f;  border-color:#9e2b2f; border-style: solid;  border-width:1px; top: 15px; border-radius: 50%; z-index:9; line-height: 65px; text-align: center;}
.circlecontainer { color: #184598; content: " "; position: absolute; width: 66px; height: 66px; right: -33px; background-color: #774e36; border-color:#9e2b2f; border-style: solid;  border-width:1px; top: 15px;  border-radius: 50%;  z-index:99;}
.left { left: 0; text-align:right;}
.right { left: 50%; text-align:left; }
.right::after { left: -36px;}
.time-content { color:#774e36; padding: 20px 30px; position: relative; border-radius: 6px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; flex-direction: column; }
.time-content figure{ margin: 0 auto 20px auto; }
.contentboxr { color:#184598; padding: 20px 30px; background-color: #181818; position: relative; border-style: solid;  border-left: 1px; border-left-color:#181818; border-width:1px; left:-43px;  z-index:5; line-height:1.2;}
.containerbox { padding: 10px 40px; position: relative; background-color: inherit;  width: 50%;}
.contentboxr::after { display: none !important; visibility: hidden;}
@media screen and (max-width: 600px) {
.timeline::after { left: 51px; }
.flex-container { display:none; visibility:hidden; }
.timewrap {  width: 100%; padding-left: 70px; padding-right: 25px; }
.contentboxr { color:#184598; padding: 10px 20px; background-color: #181818;  position: relative; border-style: solid; border-left: 0px; border-left-color:#181818; border-right: 0px; border-right-color:#181818; width:330%;}
.timewrap::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent;}
.left::after, .right::after { left: 15px; }
.right {  left: 0%; text-align:left;}
.left { text-align:left; }
}



 