// Base @import "base/orbitbar-override"; @import "base/sitemap-override"; @import "base/global"; @import "base/unity"; @import "base/utilities"; @import "base/pagination"; @import "base/accesskey"; @import "base/go_back_top"; @import "base/ckeditor-reset"; // Layout @import "layout/*"; // Modules @import "modules/*"; // Widget @import "widget/*"; //RWD @import "RWD"; .list-unstyled::after { content: ""; display: table; clear: both; } // input:focus, // input:hover { // outline: 3px solid #14324f!important; // background: #e6f0ff!important; // transition: all 0.2s ease-in-out!important; // } .visually-hidden{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .dropdown-toggle:focus { // outline: 2px solid #43B5FC; outline: transparent; } .container{ margin: auto; } // .layout-content{ // .response-container{ // @media (min-width: 769px)and(max-width: 820px) { // width: 768px!important; // } // } // } .internalfullwidth{ @media(min-width: $screen-lg){ transform: translateX(calc(-50vw + 585px)); width: 100vw; } @media(max-width:1199px)and(min-width:768px){ width: 100vw; transform: translateX(-1.95em); } @media(max-width:767px){ width: 100vw; transform: translateX(-0.95em); } } .layout-content2,.verticalhome{ .response-container,#onesection,.video-banner{ @media (max-width: 1200px) { padding: 0!important; } } } .header-common{ @media (min-width: $screen-lg) { max-width:1136px!important; // max-width:1136px!important; padding: 0; } } // container setting .response-container { position: relative; margin:auto; @media (max-width: $screen-xs) { width: 100%; } @media (min-width: $screen-sm) { width: 100%; } @media (min-width: $screen-md) { width: 100%; } @media (min-width: $screen-lg) { max-width:1280px; padding: 0; } } .dropdowns{ @media (min-width: $screen-md) { margin: auto; } } .header-buttom{ @media (min-width: $screen-md) { padding: 12px 0; } } .background { width: 100%; left: 0; top: 5px; z-index: -1; } .extra { clear: both; } // .tab-content .tab-pane { // display: block !important; // height: 0; // overflow: hidden; // } // .tab-content .tab-pane.active { // height: auto; // overflow: visible; // } //公告頁籤 ul.tab_nav { list-style-type: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; font-family: $main-font; width: 100%; li#tab-facebook.active { color: #3b5998; } li#tab-youtube.active { color: #bb0000; } li#tab-twitter.active { color: #00aced; } li#tab-facebook:hover { color: #3b5998; } li#tab-youtube:hover { color: #bb0000; } li#tab-twitter:hover { color: #00aced; } li { font-size: 1em; list-style: none; position: relative; padding: 0.5em 1em; margin: 0; cursor: pointer; transition: all 0.5s; -moz-transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; color: #B3B8B8; background-color: #fff; border-bottom-color: transparent; border-radius: 4px 4px 0 0; @media(max-width:$screen-xs){ text-align: center; } // &:before, // &:after{ // content:''; // position:absolute; // top:0; // right:0; // height:2px; // width:0; // background: $theme-color-second; // transition: all 0.3s; // } &:after{ right:inherit; top:inherit; left:0; bottom:2px; } &:hover{ background: none; border: 1px solid #ddd; margin-bottom: -1px!important; border-bottom: 1px solid #fff; color:#333; &:after,&:before{ width:100%; transition: all 0.3s; } } &.active { background: none; border: 1px solid #ddd; margin-bottom: -1px; border-bottom: 1px solid #fff; color:#333; &:before, &:after{ width:100%; transition: all 0.3s; } } } } .noscroll { overflow: hidden; position: fixed; } //覆蓋bootstrap 設定 .row { margin: 0; } .container>.navbar-collapse { @media (max-width: 767px) { margin-left: 0; margin-right: 0; } } //共用樣式 .title { @extend .unity-title; } .superBtn { a.btn-primary { color: $theme-white; border-color: #990000; background-color: #990000; font-size: 0.8125rem; padding: 0.3em 0.5em; &:hover { background-color: darken(#990000, 10%); border-color: darken(#990000, 10%); } } } .black-screen-social-window.reactable.right .content-social .social_wrap > div{ background-color: #ffffffc2; } .black-screen-social-window.reactable .content-social .social_wrap span{ padding: 0.5em; } .black-screen-social-window .content-social .social_wrap i{ font-size: 1.5em; } .black-screen-social-window.reactable .content-social .social_wrap > div{ line-height: unset; } .black-screen-social-window.reactable .content-social .social_wrap > div:hover, .black-screen-social-window.reactable .content-social .social_wrap > div.hover-class{ border-radius: 30px 0 0 30px; background: #fff; } .hide_sharer_button{ width: 1.65em; } .black-screen-social-window.reactable .content-social .social_wrap i, .black-screen-social-window.reactable .content-social .social_wrap img{ margin-right: 0.5em; padding-bottom:0; } .black-screen-social-window{ border-radius: 0!important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); background-color: #ffffffa6!important; min-width: fit-content; border:0!important; padding: 0; @media(max-width:768px){ right: 0px; left: auto!important; bottom: unset!important; top: 7em!important; } ul{ margin-top: 60px; width: 40px; padding: 0; } li{ list-style: none; } } .table-bordered{ border: 0; } .internal-page{ table{ tr{ @media(max-width:$screen-xs){ display: flex; flex-wrap: wrap; width: 100%; } } td,th{ @media(max-width: $screen-xs){ width:100%; } } } } #info-table { line-height: 1.8; font-size: 1.2em; border-collapse: collapse; width: auto; tr { border: 0 !important; } border: none; td { border:0; padding: 6px 0; vertical-align: top; } td:first-child { font-weight: bold; white-space: nowrap; font-weight: bolder; color: #04519c; width: 3em; } a{ color: #23bbf2; } } //td有rwd跳色 #tdstyle1{ tr{ &:nth-child(even){ } } tr{ @media(max-width: $screen-xs){ display: flex; flex-wrap: wrap; width: 100%!important; } } td,th{ @media(max-width: $screen-xs){ width:100%!important; } } @media(max-width: $screen-xs){ thead{ display: none; } } } //td有rwd #tdstyle5{ margin-top: 1.5em; tr{ @media(max-width: $screen-xs){ display: flex; flex-wrap: wrap; width: 100%!important; } } td,th{ @media(max-width: $screen-xs){ width:100%!important; } } ul{ padding: 0; } li{ font-weight: bold; background-color:#f2f2f2; margin-bottom: 0.5em; border-radius: 0.5em; list-style: none; padding: 0.5em; text-align: center; position: relative; } .firsttr1{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #f5c346; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 18.5em; left: 50%; top: -105px; width: 2px; background-color: #f5c346; z-index: 0; } } .firsttr2{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #5a89f5; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 16.5em; left: 50%; top:-60px; width: 2px; background-color: #5a89f5; z-index: 0; } } .firsttr3{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #464063; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 15.5em; left: 50%; top: -40px; width: 2px; background-color: #464063; z-index: 0; } } .firsttr4{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #ed7b77; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 16.5em; left: 50%; top:-62px; width: 2px; background-color: #ed7b77; z-index: 0; } } .firsttr5{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #afaac8; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 18.5em; left: 50%; top: -105px; width: 2px; background-color:#afaac8; z-index: 0; } } } //td無rwd #tdstyle2{ table td{ border: 1px solid #ddd!important; @media (max-width: 480px) { width: auto; } } td,th{ @media(max-width: $screen-xs){ width: auto ; } } tr{ display: table-row; } } //td有rwd灰底色 #tdstyle3{ tr{ background: #efefef !important; margin-bottom: 10px; border: 1px solid #ccc; } td{ border-bottom: #cacaca 1px solid !important; } } //td無rwd跳色 #tdstyle4{ table td{ border: 1px solid #ddd!important; @media (max-width: 480px) { width: auto!important; text-align: center; } } td,th{ @media(max-width: $screen-xs){ width: auto!important; text-align: center; } } tr{ &:nth-child(odd){ background-color:#f2f2f2; } } } #tdstylesp{ @media (max-width: 480px) { thead, tbody, tr, th, td { display: block; width: 100%; } /* thead 隱藏,改用 data-label 顯示 */ thead { display: none; } tbody tr { border: 1px solid #ddd; margin-bottom: 12px; } tbody td { position: relative; padding-left: 45%!important; text-align: left; border-bottom: 1px solid #eee; min-height: 72px; display: flex; align-items: center; justify-content: center; } /* 用 data-label 顯示對應標題 */ tbody td::before { content: attr(data-label); position: absolute; left: 8px; width: 40%; font-weight: bold; color: #333; white-space: normal; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; } /* 空白格不顯示 */ tbody td:empty, tbody td[data-label=""]::before { display: none; } } } .index-announcement-default .i-annc__table{ .i-annc__category{ border-radius: 50%; background: #3498db; width: 72px; height: 72px; float: left; color: #fff; border-color: transparent; display: flex; align-items: center; justify-content: center; padding: 0.5em !important; font-size: 1em; &:before{ display: none; } } .i-annc__content{ padding:0 1em; &:before{ display: none; } .i-annc__title{ font-size: 1.2em; font-weight: bold; } } .i-annc__postdate{ padding: 0; &:before{ display: none; } } .i-annc__postdate-content{ color: #f34e4e; text-align: right; display: block; } .i-annc__contact_info{ a{ color: #23bbf2; } } thead, tbody, tr, th, td { display: block; width: 100%; } /* thead 隱藏,改用 data-label 顯示 */ thead { display: none; } tbody tr { border:0!important; margin-bottom: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; position: relative; @media(max-width:480px){ justify-content: flex-start; margin-bottom: 2em; } &:nth-child(2n){ .i-annc__category{ background-color: #04519c!important; } } &:nth-child(3n){ .i-annc__category{ background-color: #737278!important; } } &:nth-child(4n){ .i-annc__category{ background-color: #9c8061!important; } } } tbody td { --bs-table-bg-type: transparent; position: relative; padding-left: 5.5em; text-align: left; border-bottom:0; // min-height: 72px; width: calc(100% - 72px); font-size: 1.2em; @media(max-width:480px){ width: 100%; } } /* 用 data-label 顯示對應標題 */ tbody td::before { content: attr(data-label); position: absolute; left: 1em; width: 5.5em; font-weight: bold; color: #04519c; white-space: normal; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; } /* 空白格不顯示 */ tbody td:empty, tbody td[data-label=""]::before { display: none; } } // //取消內頁tdrwd可加在內頁編輯 // .internal-page table td{ // border: 1px solid #ddd!important; // @media (max-width: 480px) { // width: auto !important; // } // } // tr{ // display: table-row!important; // } table.dataTable>tbody>tr.child{ padding:0; } #orbit_calendar{ width: 100% !important; } //預約系統 .fc-direction-ltr .fc-daygrid-event .fc-event-time{ white-space: nowrap; } .fc-daygrid-dot-event .fc-event-title{ white-space: nowrap; } .fc .fc-daygrid-event{ margin-top: 4px; } .modal-content{ box-shadow: 0 24px 38px 3px #00000024, 0 9px 46px 8px #0000001f, 0 11px 15px -7px #00000033; border-radius: 8px; border: 0; } .fc .fc-daygrid-day.fc-day-today{ background-color:transparent!important; .fc-daygrid-day-number{ color: #fff; background-color: #858585; border-radius: 0.65em; } } .calendar-modal .event_summary{ font-size: 1.2em; letter-spacing: 1px; } .calendar-modal > .modal-content h3{ font-weight: bold; } .fc .fc-daygrid-event-harness{ font-weight: bold; } .fc .fc-daygrid-day-number{ margin-top: 0.3em; } .table-striped{ a.btn-primary{ margin: 0; } } .form-horizontal .form-group{ margin-right: 0; margin-left: 0; } #calendar{ td{ border: 1px solid #dee2e6; } @media(max-width: $screen-xs){ tr{ display: table-row; } } } .w-calendar{ @media(max-width: $screen-xs){ tr{ display: table-row!important; } } } //動畫往上 .hide0{ opacity: 0; -webkit-transform: translateY(15%) translateZ(0); -moz-transform: translateY(15%) translateZ(0); -o-transform: translateY(15%) translateZ(0); -ms-transform: translateY(15%) translateZ(0); transform: translateY(15%) translateZ(0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible{ opacity: 1; -webkit-transform: translateY(0) translateZ(0); -moz-transform: translateY(0) translateZ(0); -o-transform: translateY(0) translateZ(0); -ms-transform: translateY(0) translateZ(0); transform: translateY(0) translateZ(0); } //動畫往右 .hide1{ opacity: 0; transform: translate3d(-120px, 0, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible1{ opacity: 1; transform: translateZ(0); } // 動畫往左 .hide2{ opacity: 0; transform: translate3d(120px, 0, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible2{ opacity: 1; transform: translatez(0); } // 動畫往下 .hide3{ opacity: 0; transform: translate3d(0, -100px, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible3{ opacity: 1; transform: translatez(0); } //動畫選轉 .rotate0{ transform: perspective(2500px) rotateY(-100deg); overflow: hidden; position: relative; } .animationrotate0{ transform: perspective(2500px) rotateY(0); transition-timing-function: ease; transition-duration: 1s; } // 放大 .zoomin{ opacity: 0; transform: scale(.6); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible5{ opacity: 1; transform: translatez(0) scale(1); } .fadeInUp { opacity: 0; transform: translateY(20px); animation: fadeInUpAnim 0.5s forwards; } @keyframes fadeInUpAnim { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fadeInDown { opacity: 0; transform: translateY(-20px); animation: fadeInDownAnim 0.5s forwards; } @keyframes fadeInDownAnim { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } //研討會 .seminar-index,.survey-index,.application_form-index{ th{ white-space: nowrap; @media(max-width: $screen-xs){ width: 100%; } } } #category_select_box{ display: none; } .moveform{ @media(min-width:576px){ position: absolute; right: 1em; top: 1em; } } /* 日曆按鈕 */ .search-cal-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.4rem 0.9rem; background: #ffffff; border: 1px solid #ccc; border-radius: 6px; cursor: pointer; font-size: 1em; color: #444; transition: background 0.2s, border-color 0.2s; height: stretch; } .search-cal-btn:hover { background: #f0f0f0; border-color: #999; } /* 搜尋放大鏡按鈕 */ .search-submit-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.4rem 0.9rem; margin-right: 0.25em !important; border: 1px solid #ccc; border-radius: 6px; cursor: pointer; font-size: 1em; transition: background 0.2s; } .search-submit-btn:hover { background: $theme-color-second; } /* 包裹容器,讓 dropdown 相對定位 */ .search-cal-wrap { position: relative; display: inline-flex; align-items: center; } /* 懸浮下拉選單 */ .search-cal-dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 999; background: #ffffff; border: 1px solid #ddd; border-radius: 8px; padding: 1rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); white-space: nowrap; min-width: 280px; } .search-cal-dropdown.is-open { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } /* dropdown 內的 input */ .search-cal-dropdown .search_box { border: 1px solid #ccc; border-radius: 6px; padding: 0.35rem 0.6rem; font-size: 0.9em; width: 130px; } .search-cal-dropdown .search_box:focus { outline: none; border-color: #0d2d6e; box-shadow: 0 0 0 2px rgba(13, 45, 110, 0.15); } /* ~ 分隔符 */ .search-cal-dropdown > span, .search-cal-dropdown { color: #666; } //內頁搜尋樣式 input.search_box{ background: #fff !important; border:1px solid #d8d8d8 !important; color: #333 !important; padding: 0.5em !important; margin-right: 0.25em !important; border-radius: 0.5em !important; margin-left: 0.25em !important; @media(max-width:1024px){ margin-top: 0.5em !important; } } ::placeholder { color: #333!important; } #category_select_box{ border-radius: 0.5em!important; background: #fff!important; color: #333!important; margin-right: 0.5em!important; @media(max-width:1024px){ margin-left: 0.25em !important; margin-top: 0.5em !important; } } #category_select_box>option{ background: #fff!important; color: #333!important; } .search_widget{ padding-top: 1em; padding-bottom: 1em; } .ui-datepicker-calendar{ tr{ flex-wrap:unset!important; } th{ width: auto!important; } } .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all{ background: #000000; border-color: #000000; color: #fff!important; } .ui-widget-header a{ color: #fff!important; } .ui-widget-header .ui-icon{ filter: brightness(500%); } a.ui-state-default{ background: #fff!important; border:0!important; text-align: center!important; &:hover{ background: silver!important; } } .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{ border: 0!important; background: silver!important; } .aligncenter{ display: flex; align-items: center; @media(max-width:$screen-xs){ justify-content: flex-start!important; } } .flexwrap{ display: flex; flex-wrap: wrap; } .flexreverse{ @media(max-width: 768px){ display: flex; flex-wrap: wrap-reverse!important; } } //search .searchclass{ background: #611987; overflow: hidden; border-radius: 2em; height: fit-content; input:focus, input:hover{ outline: 3px solid #e46bb7 !important; background: transparent !important; transition: all 0.2s ease-in-out !important; border-radius: 2em !important; } @media(max-width: 768px){ position: absolute; right: 5em; color: #fff; top: 0.5em; } } .search-box{ width: fit-content; height: fit-content; position: relative; } .input-search{ height: 50px; width: 50px; border-style: none; padding: 10px; font-size: 18px; letter-spacing: 2px; outline: none; border-radius: 25px; transition: all .5s ease-in-out; background:none; padding-right: 40px; color:#fff; z-index: 100; position: relative; @media(max-width:768px){ // color:#333!important ; } } .input-search::placeholder{ font-size: 18px; letter-spacing: 2px; font-weight: 100; @media(min-width:769px){ color:#fff!important; } @media(max-width:768px){ color:#333!important ; } } /* 當 input 被 focus 或 btn 被點擊時,讓按鈕跳到上層並可點擊 */ .search-box:focus-within .btn-search { z-index: 999; pointer-events: auto; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; } .search-box.searching .input-search { width: 200px; @media(max-width:$screen-xs){ width: 150px; } } .search-box.searching .btn-search { z-index: 999; pointer-events: auto; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; } .btn-search{ width: 50px; height: 50px; border-style: none; font-size: 20px; font-weight: bold; outline: none; cursor: pointer; border-radius: 50%; position: absolute; right: 0px; color:#fff; background-color:transparent; pointer-events: auto; // @media(max-width:768px){ // color:gray ; // width: 70px; // height: 30px; // } } .btn-search:focus ~ .input-search{ width: 150px; border-radius: 0px; background-color: transparent; border-bottom:1px solid rgba(255,255,255,.5); transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2); } .input-search:focus{ width: 150px; border-radius: 0px; background-color: transparent; border-bottom:1px solid rgba(255,255,255,.5); transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2); } hr{ border-top: 0.0625em solid #333; } .video_tablist li.now_view a{ background-color: #c9c9c9!important; } .video_tablist a{ background-color: #a2a2a2!important; } .modal-backdrop{ z-index: 2; } .video_tablist li.now_view a{ background-color: #c9c9c9!important; } .video_tablist a{ background-color: #a2a2a2!important; } .marqueeken { width: 100vw; overflow: hidden; position: absolute; .scroll .text1{ font-size:1000%; color:#e7e7e7 !important; letter-spacing: 8px; white-space: nowrap; text-transform: uppercase; animation: scroll 80s linear infinite; -webkit-animation:scrollken 80s linear infinite; line-height: 1; &:nth-child(2) { animation: scroll2 80s linear infinite; animation-delay: -40s; } } .scroll .text2{ font-size:1000%; color:#f5f5f5; letter-spacing: 8px; white-space: nowrap; text-transform: uppercase; animation: scroll 80s linear infinite; -webkit-animation:scrollken 80s linear infinite; line-height: 1; &:nth-child(2) { animation: scroll2 80s linear infinite; animation-delay: -40s; } } } @keyframes scrollken { from { transform: translateX(100%); } to { transform: translateX(-100%); } } @keyframes scroll2 { from { transform: translateX(0%); } to { transform: translateX(-200%); } }