/*側邊icon*/
.footer-content .contact-icon a {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 0%;
    background-color: #ff8813;
    margin-left: .5rem;
    margin-right: .5rem;
}

.footer-content .contact-icon a i {
    font-size: 1.2rem;
    color: #fff;
    line-height: 50px;
}


.footer-content .contact-icon a {
  display:block;
  width:50px;height:50px;
  margin-top: .5rem;
}  

.footer-content .contact-icon{
   display:block;
   position:fixed;right:-0.5%;top:45%;z-index:1000;
} 

/*body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#wrap{
 background:#fff;
}

.fcol.fcol-header{
  display:none;
}



/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }

@media only screen and (max-width: 767px) {
  #logo a img {
    margin: 0 auto;
  }
}


/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/ 
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background:#b71e1e;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}


@media(max-width:600px){
   .topnavbar .container {
  text-align: center;
 }
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    border-right: 0px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #fff;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #fff;padding-top:5px;}


#nav ul li.current a  {
    color: #ffc949;  
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}




/*南桃園有線電視*/
/*跑馬燈*/
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-1 .container{
  padding:60px 0 0;
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #003b8e, #0066cc);
  padding: 14px 0;
  border-radius:50px 50px 0 0;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeMove 20s linear infinite;
}

.marquee span {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/*電話號碼：放大＋柔閃 */
.phone {
  display: inline-block;
  margin: 0 8px;
  padding: 4px 14px;
  background: #ffffff;
  color: #003b8e;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  animation: phonePulse 1.6s ease-in-out infinite;
}

/* 跑馬燈動畫 */
@keyframes marqueeMove {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 官網感的閃爍放大 */
@keyframes phonePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(255,255,255,0.9);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
}

/* 手機優化 */
@media (max-width: 768px) {
  .marquee span {
    font-size: 16px;
  }
  .phone {
    padding: 3px 10px;
  }
}




/*========================南桃園有線電視2========================*/
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-2{
position: relative;
  background: linear-gradient(135deg,#00c6c6,#0052a3);
  border-top-left-radius: 250px;
}


#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-2 .container{
   padding:80px 20px 0;
}

 @media(max-width:767px){
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-2{
    border-top-left-radius: 0px;
  }
}



/* ===== Hero 首頁 ===== */
.hero-home {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 680px;
  background: linear-gradient(135deg,#f4f8ff,#ffffff);
  overflow: hidden;
   border-top-left-radius: 150px;
}



/* 左側內容 */
.hero-left {
  padding: 70px 40px 60px;
}

.badge {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero-left h1 span {
  display: block;
  font-size: 22px;
  color: #0066cc;
  margin-top: 8px;
}

.subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

/* 服務區塊 */
.service-block {
  margin-bottom: 22px;
}
.service-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* 膠囊標籤 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags span {
  background: #ffffff;
  border: 1px solid #dbe6f3;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  transition: all .25s ease;
}
.tags span:hover {
  background: #eaf4ff;
  border-color: #6bb7ff;
}

/* CTA */
.cta {
    margin-top: 30px;
    align-items: center;
    justify-content: center;
    display: flex;
}


.cta a {
    background-color: #F085C0; /* 中粉色 */
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    display: inline-block;
}

.cta a:hover {
    background-color: #F05C8D; /* 深粉色 */
}

.btn.line {
  background: #1cc75b;
  color: #fff;
}
.btn.phone {
  background: #ff7a00;
  color: #fff;
}



@media(max-width:767px){
 .cta {
    display: grid;
    gap: 16px;
    padding: 0 6%;
    margin: 56px 0 64px;
  }
} 

@media(max-width:480px){
.btn.line {
  width: 100%;
  }
}

@media(max-width:480px){
.btn.phone {
  width: 100%;
  }
}

  

/* 右側視覺 */
.hero-right {
  position: relative;
  background:transparent;
  border-top-left-radius: 80px;
}

.hero-right img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.2);
}


/* 品牌卡片 */
.brand-card {
  position: absolute;
  top: 0px;
  left: 40px;
  background: #004ea2;
  color: #fff;
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  border-radius: 0 0 50% 50%;
}
.brand-card h2 {
  font-size: 26px;
  margin-bottom: 6px;
}
.brand-card p {
  font-size: 15px;
  opacity: .9;
}

/* ===== RWD ===== */
@media (max-width: 1024px) {
  .hero-home {
    grid-template-columns: 1fr;
  }
  .hero-right {
    min-height: 380px;
    border-radius: 0;
  }
  .hero-right img {
    width: 100%;
  }
}

@media (max-width: 480px) {
.hero-home {
  display: block;
  }
}


/*============南挑園有線電視3==============*/

#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-3{
  background-color:#fff5f5;
  background:position:top center;
}


/* ===== 方案區 ===== */
.pricing {
  padding: 60px 40px;
  background: #fff5f5;
  text-align: center;
}

.pricing-title {
  font-size: 36px;
  margin-bottom: 60px;
}
.pricing-title span {
  display: block;
  font-size: 18px;
  color: #cc0000;
  margin-top: 10px;
}

.plan small{
  font-size:16px;
}

/* 方案排列 */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* 單一方案 */
.plan {
  background: #fff;
  border-radius: 26px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  position: relative;
  transition: transform .25s ease;
}
.plan:hover {
  transform: translateY(-10px);
}

/* 主推 */
.plan.main {
  border: 3px solid #d60000;
  transform: scale(1.05);
}

/* 標籤 */
.plan-tag {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #d60000;
  color: #fff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 14px;
}
.plan-tag.hot {
  background: linear-gradient(135deg,#ff0000,#b30000);
}

/* 文字 */
.plan h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color:#d60000;
  border-bottom:1px solid #d60000;
  padding-bottom:8px;
}
.plan-desc {
  color: #222;
  margin-bottom: 25px;
  line-height: 1.5;
  font-size: 18px;
  font-weight: bold;
}


/* 速度列表 */
.speed-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.speed-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}
.speed-list b {
  color: #d60000;
  font-size: 18px;
}

/* 單價 */
.single-price {
  margin-top: 30px;
}
.single-price strong {
  font-size: 46px;
  color: #d60000;
}
.single-price span,
.single-price em {
  font-size: 16px;
}

/* RWD */
@media (max-width: 992px) {
  .pricing-row {
    grid-template-columns: 1fr;
  }
  .plan.main {
    transform: none;
  }
}


/* ===== 活潑方案區 ===== */
.pricing-fun {
  padding: 100px 40px;
  background: linear-gradient(180deg,#fff1f1,#ffffff);
  text-align: center;
}

.fun-title {
  font-size: 38px;
  margin-bottom: 70px;
}
.fun-title span {
  display: block;
  color: #d60000;
  font-size: 18px;
  margin-top: 10px;
}

/* 方案排列 */
.fun-plans {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* 單卡 */
.fun-plan {
  background: #fff;
  border-radius: 32px;
  padding: 60px 30px 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  transition: all .3s ease;
}
.fun-plan:hover {
  transform: translateY(-14px) rotate(-0.3deg);
  box-shadow: 0 30px 60px rgba(214,0,0,.25);
}

/* 主推 */
.fun-plan.hot {
  border: 4px solid #d60000;
  transform: scale(1.06);
}
.fun-plan.hot:hover {
  transform: scale(1.08) translateY(-12px);
}

/* 皇冠 */
.crown {
  position: absolute;
  top: -28px;
  right: 20px;
  font-size: 36px;
}

/* 標頭 */
.plan-head {
  margin-bottom: 20px;
}
.plan-no {
  background: #ffdede;
  color: #d60000;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.fun-plan h3 {
  font-size: 26px;
  margin-top: 12px;
}

/* 速度 */
.speed {
  list-style: none;
  padding: 0;
  margin: 25px 0 40px;
}
.speed li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 16px;
}
.speed em {
  color: #d60000;
  font-style: normal;
  font-weight: 700;
}

/* 價格球 */
.price-ball {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #d60000;
  color: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  box-shadow: 0 15px 30px rgba(214,0,0,.4);
}
.price-ball.big {
  width: 110px;
  height: 110px;
  font-size: 22px;
}

/* 單價方案 */
.only strong {
  font-size: 46px;
  color: #d60000;
}

/* 備註 */
.note {
  display: block;
  margin-top: 20px;
  color: #777;
}

/* RWD */
@media (max-width: 992px) {
  .fun-plans {
    grid-template-columns: 1fr;
  }
  .fun-plan.hot {
    transform: none;
  }
  .price-ball {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }
}



/*============南挑園有線電視4==============*/
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-4{
  background:url(https://static.iyp.tw/409857/files/614bc410-6d0c-4349-9af5-4728a07bef42.jpg)no-repeat top center;
  min-height: 600px;
  background-size:cover;
}


#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-4 .container{
  padding:20px 20px;
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-4 .col-2{
    background:rgba(75,75,75,0.65);
  }
}

@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-4 .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}



/*owl*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}


.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  background: #fff;
  box-shadow: 0 5px 5px rgba(44,44,44,0.25);
  border: 1px solid #ccc;
  padding: 0px;
  border-radius: 8px;
}



@media(max-width:900px){  
#bodyinpage.rwd-collapse.viewmode.default.cable-tv .fcol.fcol-4 .col-2{
    flex: 0 0 100%;
    max-width: 100%;
    }
}

@media(max-width:900px){ 
  .catalogue.row .col-2{
     flex: 0 0 100%;
    max-width: 100%;
  }
}


.catalogue.row .col-2{
  margin-top:0%;
}


@media(max-width:767px){
.catalogue.row .col-2{
  margin-top:-5%;
  background:rgba(75,75,75,0.65);
 }
}



/*南桃園有限電視_5~6*/
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.s-taoyuan-tv .fcol.fcol-6{
  display:none;
}



/*南桃園寬頻網路*/
#bodyinpage.rwd-collapse.viewmode.s-taoyuan-net .fcol.fcol-3 {
  background:url(https://static.iyp.tw/409857/files/8862f2f2-a800-46f5-851a-3e7f4938b3cb.jpg)no-repeat top center;
  min-height: 600px;
  background-size:cover;
}


#bodyinpage.rwd-collapse.viewmode.s-taoyuan-net .fcol.fcol-3 .container{
   padding:20px;
}


@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.s-taoyuan-net .fcol.fcol-3 .col-2{
    background:rgba(75,75,75,0.65);
  }
}

@media(max-width:600px){
  #bodyinpage.rwd-collapse.viewmode.s-taoyuan-net .fcol.fcol-3  .col-2{
    flex:0 0 100%;
    max-width:100%;
  }
}






/* Hero */
.hero {
  padding: 80px 5%;
  background: linear-gradient(180deg,#FFF1F5,#FFFDF9);
}

.hero-inner {
  /*max-width: 1200px;*/
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text .brand {
  color: #AD1457;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 42px;
  margin: 18px 0;
  color: #6A1B3F;
}

.hero-text p {
  line-height: 1.8;
  color: #666;
  font-size: 16px;
}

.hero-image img {
  width: 480px;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}

/* Promise */
.promise {
  text-align: center;
  margin: 40px auto 40px;
}

.promise h2 {
  color: #7B1E46;
}

.promise p {
  color: #777;
}

/* Advantages */
.advantages {
  /*max-width: 1100px;*/
  margin: auto;
  display: flex;
  gap: 24px;
}

.adv-card {
  flex: 1;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.adv-card .icon {
  font-size: 34px;
}

.adv-card h3 {
  margin: 16px 0 8px;
  color: #8E244D;
}

/* Product */
.product {
  margin: 0px auto;
  /*max-width: 1000px;*/
}

.product-box {
  background: #FFF5F7;
  border-radius: 32px;
  padding: 48px;
  border: 1px solid #F3C6D3;
}

.product .tag {
  display: inline-block;
  background: #8E244D;
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
}

.product h3 {
  margin-top: 18px;
  color: #6A1B3F;
}

/* Services */
.service-list {
  text-align: center;
}

.service-list .list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.service-list span {
  padding: 12px 22px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #F0CCD8;
  color: #7A2A4F;
}





/* Hero */
/* =========================
   RWD - Tablet & Mobile
   ========================= */
@media (max-width: 1024px) {

  .hero-inner {
    gap: 32px;
  }

  .hero-image img {
    width: 100%;
    max-width: 420px;
  }
}

/* =========================
   RWD - Mobile
   ========================= */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    padding: 48px 6%;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0,0,0,.16);
  }

  /* Promise */
  .promise {
    margin: 56px 0 24px;
    padding: 0 6%;
  }

  .promise h2 {
    font-size: 22px;
  }

  /* Advantages */
  .advantages {
    display: flex;
    padding: 0 6%;
  }

  .adv-card {
    padding: 28px 24px;
  }

  /* Product */
  .product {
    padding: 0 ;
  }

  .product-box {
    padding: 32px 26px;
    border-radius: 26px;
  }

  /* Services */
  .service-list {
    padding: 0 6%;
  }

  .service-list .list {
    gap: 12px;
  }

  .service-list span {
    font-size: 14px;
    padding: 10px 18px;
  }

  /* CTA */
  .cta {
    display: flex;    
   align-items: center;
   justify-content: center;
    gap: 16px;
    padding: 0 6%;
    margin: 56px 0 64px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 18px 0;
  }
}



/* =========================
   RWD - Small Mobile
   ========================= */
@media (max-width: 390px) {

  .hero-text h1 {
    font-size: 26px;
  }

  .promise h2 {
    font-size: 20px;
  }
}


 /* Advantages */
@media (max-width: 480px) {
  .advantages {
    display: grid;
    padding: 0 6%;
  }
}








/*信和吉元有線電視*/
.catalogue.row {
  background:url(https://static.iyp.tw/409857/files/8862f2f2-a800-46f5-851a-3e7f4938b3cb.jpg)no-repeat top left 20%;
  min-height: 600px;
  background-size:cover;
}

#bodyinpage.rwd-collapse.viewmode.news.sj-tv .fcol.fcol-2 {
  display:none;
}



/*信和吉元寬頻網路*/
.catalogue.row {
  background:url(https://static.iyp.tw/409857/files/8862f2f2-a800-46f5-851a-3e7f4938b3cb.jpg)no-repeat top left 20%;
  min-height: 600px;
  background-size:cover;
}


/* 服務區域 */
.service-section {
    background-color: #F5B2D1; /* 淺粉色背景 */
    padding: 50px 15px;
    text-align: center;
}

.service-content h2 {
    color: #F085C0; /* 中粉色 */
    font-size: 2.5rem;
    font-weight: bold;
}

.service-content p {
    color: #D9A4A0; /* 奶油白色 */
    font-size: 1.2rem;
    margin: 20px 0;
}

.service-list {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

.service-item {
    font-size: 1.1rem;
    color: #F085C0;
    margin-bottom: 15px;
}

.checkmark {
    color: #F5A7C0; /* 淺粉色 */
    font-size: 1.3rem;
    margin-right: 10px;
}


/* 響應式設計 */
@media (max-width: 768px) {
    .service-content h2 {
        font-size: 2rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .service-item {
        font-size: 1rem;
    }

    .cta a {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-section {
        padding: 30px 10px;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .cta a {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}



/*footer*/
#foot-nav{
  display:none;
}


#footer {
  background:#b71e1e;
}

#footer .container{
  padding:15px
}


@media(max-width:900px){
  #footer .col-md-4,
  #footer .col-md-2{
    max-width:100%;
    flex:0 0 100%;
 }
}


@media(max-width:900px){
  #footer .col-md-5 .col-md-2{
    margin: 0 auto;
  }
}

@media(max-width:767px){
  #footer .col-md-5 {
  display:none;
  } 
}
  

#footer .col-md-2 img{
  width:60%
}

@media(max-width:767px){
  #footer .col-md-2 img{
   width:20%;
   height:auto; 
  }  
}


/*Foot-nav*/
#nav2 {
  display:inline-block;
  vertical-align:middle
}
#nav2 ul li {
  display:inline-block
}
#nav2 ul li a {
  white-space:nowrap;
  overflow:hidden;
  -ms-text-overflow:ellipsis;
  text-overflow:ellipsis;
  color: #fff;
  line-height:2;
  font-weight: normal;
  padding: 10px 18px;
  font-size: 100%;
  border-right: 0px #888 dotted;
  transition:all 0.5s;
}
#nav2 ul li a:hover {
  color:#fff
}

#nav2 ul li a:hover{
    color: #ffc949;
}


#nav2 ul li.current a  {
    color: #ffc949;  
}