html, body, .page {  height: 100%;}
@media (min-width: 640px) { .page { padding-left: 1em; padding-right: 1em; margin-left: auto; margin-right: auto; }
.page:after { content: ""; display: table; clear: both; } }
.header-common { position: absolute; top: 0px; width: 260px; height: 100vh; overflow: auto; -webkit-transform: translateX(-100%); -moz-transform: translateX(-100%); -ms-transform: translateX(-100%); -o-transform: translateX(-100%); transform: translateX(-100%); background-color: #e0e0e0; }
.off-canvas-mask { position: fixed; top: 0; left: 260px; right: 0; }
.open-menu .page { overflow: hidden; }
.open-menu .container { -webkit-transform: translateX(260px); -moz-transform: translateX(260px); -ms-transform: translateX(260px); -o-transform: translateX(260px); transform: translateX(260px); }
.open-menu .off-canvas-mask { bottom: 0; opacity: 0.5; }
@media (min-width: 1024px) { .open-menu .container { -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); -o-transform: translateX(0); transform: translateX(0); } }
@media (min-width: 1024px) { .clock { display: block; position: relative; float: right; width: 89px; height: 89px; margin: -36px 0px; background: url(../images/clock.svg) no-repeat center; background-size: 100%; }
  .clock .hours, .clock .minutes { position: absolute; -webkit-transform-origin: 50% 80%; -moz-transform-origin: 50% 80%; -ms-transform-origin: 50% 80%; -o-transform-origin: 50% 80%; transform-origin: 50% 80%; }
  .clock .hours-container { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; -webkit-animation: rotate 43200s infinite linear; animation: rotate 43200s infinite linear; }
  .clock .hours { top: 18px; left: 25px; width: 40px; height: 32px; background: url(../images/short_hand.svg) no-repeat center; }
  .clock .minutes-container { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; -webkit-animation: rotate 3600s infinite steps(60); animation: rotate 3600s infinite steps(60); }
  .clock .minutes { top: 8px; left: 42px; width: 6px; height: 45px; background: url(../images/long_hand.svg) no-repeat center; } }
@-webkit-keyframes rotate { 100% { -webkit-transform: rotateZ(360deg); -moz-transform: rotateZ(360deg); -ms-transform: rotateZ(360deg); -o-transform: rotateZ(360deg); transform: rotateZ(360deg); } }
@keyframes rotate { 100% { -webkit-transform: rotateZ(360deg); -moz-transform: rotateZ(360deg); -ms-transform: rotateZ(360deg); -o-transform: rotateZ(360deg); transform: rotateZ(360deg); } }
body { width: 100vw; margin: 0px; padding: 0px; overflow-x: hidden; max-width: 100% }
@media (min-width: 640px) { body .page { padding: 0px; }
  body .main { margin-left: -32px; padding: 0px 2em; padding-right: 0px; } }
@media (min-width: 1024px) {
  body:before { content: ""; display: inline-block; position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: -1; width: 100%; height: 110px; border-bottom: 3px solid #04519c; background-color: #fafafa; }
  /*body .main { width: 90%; margin: 40px 24px; background-color: white; padding: 0px 32px; }*/
  body .main:after { content: ""; display: table; clear: both; }
  body .content { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; width: 59.32203%; float: right; margin-right: 0; }
  body .open-menu .page { overflow: visible; }
  body .open-menu .main { -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); -o-transform: translateX(0); transform: translateX(0); }
  body .open-menu .off-canvas-mask { display: none; } }
/*@media (min-width: 1200px) { body { max-width: 71em; padding-left: 2em; padding-right: 2em; margin-left: auto; margin-right: auto; }
  body:after { content: ""; display: table; clear: both; } }*/
@media (min-width: 1200px) { .header-common, .center-block{ max-width: 1136px; padding-left: 24px; padding-right: 24px; margin-left: auto; margin-right: auto; }
  body:after { content: ""; display: table; clear: both; } }


.header-common .pts-logo { float: left; display: none; }
.header-common .pts-logo a { display: inline-block; text-indent: -1999999px; overflow: hidden; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('../images/logo-pts.png?1445595350'); background-repeat: no-repeat; background-position: 50% 50%; width: 78px; height: 60px; background-image: none, url('../images/logo-pts.svg?1445595350'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }
.header-common .tv-program { position: relative; float: left; margin-left: 24px; padding: 0 10px 0 36px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; cursor: pointer; font-size: 14px; font-weight: bold; background-color: #04519c; display: none; }
.header-common .tv-program:hover { background-color: #03376a; }
.header-common .tv-program:before { content: ""; display: inline-block; position: absolute; top: 3px; left: 10px; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('../images/ic-tv.png?1445595349'); background-repeat: no-repeat; background-position: 50% 50%; width: 18px; height: 17px; background-image: none, url('../images/ic-tv.svg?1445595349'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }
.header-common .tv-program a { color: white; text-decoration: none; }
.header-common ul { left: 0px; width: 260px; margin: 0px; list-style-type: none; }
.header-common .channel-list { position: absolute; top: 60px; padding: 0px; background-color: #04519c; }
.header-common .channel-item { float: left; margin: 0px; padding: 0 18px; width: auto; height: 60px; line-height: 60px; }
.header-common .channel-item:nth-child(2) { border-left: white 1px solid; border-right: white 1px solid; }
/*.header-common .channel-item:last-child { padding: 0 20px; }*/
.header-common .channel-item:hover { background-color: #03376a; }
.header-common .channel-item.is-active { background-color: #056bce; }
.header-common .channel-item a { color: white; text-decoration: none; }
.header-common .navigation-list { position: absolute; top: 144px; margin: 0px; padding: 0px; }
.header-common .nav-item { width: 260px; border-bottom: 1px white solid; }
.header-common .nav-item a { display: inline-block; padding: 0 120px 0 15px; line-height: 60px; color: #333333; cursor: pointer; text-decoration: none; }
.header-common .nav-item a:hover { color: #999999; }
.header-common .nav-item.is-active { background-color: #04519c; color: white; }
.header-common .nav-item.is-active a { color: white; }
@media (min-width: 1024px) { .header-common { position: static; width: auto; height: 86px; overflow-y: hidden; padding: 24px 24px 0px 24px; background-color: transparent; -webkit-transform: translateX(0%); -moz-transform: translateX(0%); -ms-transform: translateX(0%); -o-transform: translateX(0%); transform: translateX(0%); }
  .header-common .pts-logo, .header-common .tv-program { display: block; }
  .header-common ul { width: auto; }
  .header-common .channel-list { position: relative; top: 0px; float: left; margin: 0px 24px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; cursor: pointer; font-size: 14px; font-weight: bold; color: white; background-color: #04519c; }
  .header-common .channel-item { -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; height: auto; padding: 0 10px; line-height: 24px; }
  .header-common .channel-item:nth-child(2) { -webkit-border-radius: 0px; -moz-border-radius: 0px; -ms-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; }
  .header-common .navigation-list { position: relative; float: left; top: 0px; width: auto; margin: 16px 0px 0px 13px; }
  .header-common .nav-item { display: inline-block; padding: 0px; width: auto; border-bottom: none; }
  .header-common .nav-item a { height: 46px; padding: 0 7px 0 7px; line-height: 24px; }
  .header-common .nav-item.is-active { position: relative; background-color: transparent; color: #333333; }
  .header-common .nav-item.is-active a { color: #333333; }
  .header-common .nav-item.is-active a:after { content: ""; position: absolute; bottom: 0px; left: 50%; margin-left: -10px; width: 0px; height: 0px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #04519c; } }
@media (min-width: 1200px) { .header-common .navigation-list { margin: 16px 0px 0px 10px; }
  .header-common .navigation-list a { padding: 0 13px 0 13px; } }

.search-pts { position: absolute; top: 0px; margin: 0px; padding: 0px; }
.search-pts #cse-search-form { padding-left: 24px; font-size: 16px; line-height: 48px; background: #e0e0e0; }
.search-pts .gsc-search-box { width: 100%; margin: 0px 0px 0px -15px; padding: 0px; font-size: 16px; }
.search-pts td.gsc-input { padding-left: 24px; position: relative; background: transparent; }
.search-pts td.gsc-input:after { white-space: nowrap; overflow: hidden; -ms-text-overflow: ellipsis; -o-text-overflow: ellipsis; text-overflow: ellipsis; content: "搜尋公視"; position: absolute; top: 4px; left: 24px; z-index: 0; color: #999999; }
.search-pts input.gsc-input { -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; position: relative; top: 0; left: 0; z-index: 2; margin: 0; padding: 21px 0px; width: 175px; border: none; font-size: 16px; -webkit-appearance: none; background-color: transparent !important; background-image: none !important; }
.search-pts input.gsc-input * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.search-pts input.gsc-input::-webkit-input-placeholder { /* WebKit browsers */ color: #333333; -webkit-font-smoothing: antialiased; }
.search-pts input.gsc-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #333333; }
.search-pts input.gsc-input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #4d4d4d; }
.search-pts input.gsc-input:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #333333; }
.search-pts input.gsc-input:focus { outline: none; background: #e0e0e0 !important; }
.search-pts input.gsc-search-button { position: absolute; top: 18px; right: -40px; border: none; background: transparent; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('../images/ic-search-blue-large.png?1445595349'); background-repeat: no-repeat; background-position: 50% 50%; width: 22px; height: 22px; background-image: none, url('../images/ic-search-blue-large.svg?1445595349'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }
.search-pts input.gsc-search-button:focus { outline: none; }
.search-pts .gsc-clear-button, .search-pts .gsc-branding { display: none; }
@media (min-width: 1024px) { .search-pts { position: relative; float: left; margin-left: -16px; }
  .search-pts #cse-search-form { padding-left: 24px; background: transparent; }
  .search-pts td.gsc-input:after { top: -12px; left: 36px; }
  .search-pts input.gsc-input { float: left; width: 326px; height: 16px; padding: 3px 0px 3px 10px; border: #d8d8d8 1px solid; -webkit-border-radius: 2px 0 0 2px; -moz-border-radius: 2px 0 0 2px; -ms-border-radius: 2px 0 0 2px; -o-border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px; font-size: 14px; }
  .search-pts input.gsc-input::-webkit-input-placeholder { /* WebKit browsers */ color: #999999; -webkit-font-smoothing: antialiased; }
  .search-pts input.gsc-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #999999; }
  .search-pts input.gsc-input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #b3b3b3; }
  .search-pts input.gsc-input:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #999999; }
  .search-pts input.gsc-input:focus { background: white !important; }
  .search-pts td.gsc-search-button { float: left; }
  .search-pts input.gsc-search-button { float: left; position: relative; top: 0px; left: -14px; padding: 12px 0px; -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; -ms-border-radius: 0 2px 2px 0; -o-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; background-color: #04519c; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('../images/ic-search-white-small.png?1445595349'); background-repeat: no-repeat; background-position: 50% 50%; width: 22px; height: 22px; background-image: none, url('../images/ic-search-white-small.svg?1445595349'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; width: 76px; } }
@media (min-width: 1200px) { .search-pts input.gsc-input { width: 408px; } }
.header-btn:before { content: ""; display: inline-block; position: absolute; top: 0px; left: 0px; width: 100%; height: 3px; background-color: #04519c; }
.header-btn .menu-btn { display: inline-block; float: left; margin: 22px 0px 0px 20px; cursor: pointer; text-decoration: none; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('../images/ic_menu.png?1445595349'); background-repeat: no-repeat; background-position: 50% 50%; width: 32px; height: 19px; background-image: none, url('../images/ic_menu.svg?1445595350'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }
.header-btn .pts-mobile-logo { position: absolute; top: 12px; left: 50%; margin-left: -50px; }
.header-btn .pts-mobile-logo a { display: inline-block; text-indent: -1999999px; overflow: hidden; text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('https://www.pts.org.tw/homepage/images/logo-small.png'); background-repeat: no-repeat; background-position: 50% 50%; width: 105px; height: 40px; background-image: none, url('https://www.pts.org.tw/homepage/images/logo-small.svg'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }
@media (min-width: 1024px) { .header-news { position: relative; height: 49px; padding: 24px 0px; }
  .header-btn .pts-mobile-logo { position: relative; float: left; top: 0px; left: 0px; margin: 0px 36px 0px 0px; }
  /*.header-btn .pts-mobile-logo a { text-indent: -119988px; overflow: hidden; text-align: left; background-image: url('/images/logo-news.png?1445595350'); background-repeat: no-repeat; background-position: 50% 50%; width: 88px; height: 43px; background-image: none, url('/images/logo-news.svg?1445595350'); background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; }*/
  .header-btn:before, .header-btn .pts-mobile-logo, .header-btn a.menu-btn { display: none; }
}
