* {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: 'Roboto', Arial, "Microsoft JhengHei", "微軟正黑體", PMingLiU, "新細明體", Helvetica, sans-serif;
}

a:link {
	color: #3d82bb;
	-webkit-transition: all 0.35s;
	-moz-transition: all 0.35s;
	transition: all 0.35s;
	outline: 0;
}

a:hover, a:focus {
	color: #69abcb;
	text-decoration: none;
	outline: 0;
}

a:focus {
	color: #69abcb;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', Arial, "Microsoft JhengHei", "微軟正黑體", PMingLiU, "新細明體", Helvetica, sans-serif;
}

h1.section-title {
	margin: 0;
}

hr {
	border-width: 1px;
	border-color: #FFF;
	max-width: 50px;
}

p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 24px;
}

.bg-primary {
	background-color: #69abcb;
}

.bg-dark {
	background-color: #222222;
	color: white;
}

.bg-grey {
	background-color: #f4f7f9;
}

.text-faded {
	color: rgba(255, 255, 255, 0.8);
}

section {
	padding: 36px 0 48px 0;
}

.no-padding {
	padding: 0;
}

#video-background {
	position: fixed;
	right: 0; 
	bottom: 0;
	min-width: 100%; 
	min-height: 100%;
	width: auto; 
	height: auto;
	z-index: -100;
}

.video-filter {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	position: absolute;
	top: 0;
}

.no-padding {
	padding: 0;
}

footer {
	font-size: 14px;
	background-color: rgba(61, 130, 187, 0.05);
	color: #3d82bb;
	padding: 42px 0 52px;
}

footer .back-to-top { font-size: 22px; }
footer .back-to-top-wrapper { margin-bottom: 12px; }

.nav-tabs {
	font-size: 18px;
	border-bottom-color: #336699;
}

.nav-tabs > li > a {
	border: 1px solid transparent;
	border-radius: 6px 6px 0 0;
	padding: 8px 20px;
	margin-right: 8px;
}

.nav-tabs > li > a:hover {
	border: 1px solid transparent;
}

.nav.nav-tabs > li > a:hover,
.nav.nav-tabs > li > a:focus {
	background-color: transparent;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	color: #FFF;
	background-color: #336699;
	border: 1px solid transparent;
}

.tab-pane {
	padding: 16px 0;
}

.tab-pane img {
	width: 80%;
}

/* Scroll to top */
.scrollToTop:link,
.scrollToTop:visited,
.scrollToTop:focus {
	width: 48px; 
	height: 48px;
	line-height: 26px;
	
	background: #FFF;
	color: #69abcb;
	
	border: 4px solid #69abcb;
	
	-webkit-border-radius: 24px;
	-moz-border-radius: 24px;
	border-radius: 24px;
	
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
	
	opacity: 0.6;
	
	padding: 8px;
	
	position: fixed;
	bottom: 25px;
	right: 25px;
	display: none;
}

.scrollToTop span.glyphicon {
	margin-right: 0;
	margin-left: 1px;
}

.scrollToTop:hover{
	opacity: 1;
}

/* Carousel
/*-------------------------------------------------*/
.carousel-indicators {
	position: absolute;
	bottom: -48px;
	left: 50%;
	z-index: 15;
	width: 60%;
	padding-left: 0;
	margin-left: -30%;
	text-align: center;
	list-style: none;
}

.carousel-indicators li {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 4px;
	text-indent: -999px;
	cursor: pointer;
	background-color: #000 \9;
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 10px;
}

.carousel-indicators .active {
	width: 16px;
	height: 16px;
	margin: 0 4px;
	background-color: #fff;
}

.carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 10%;
	font-size: 20px;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
	background-color: rgba(0, 0, 0, 0);
	filter: alpha(opacity=50);
	opacity: .5;
}

/* Animation
/*-------------------------------------------------*/
.slideanim { visibility: hidden; }

.slide {
	animation-name: slide;
	-webkit-animation-name: slide;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	visibility: visible;			
}

@keyframes slide {
	0% {
		opacity: 0;
		-webkit-transform: translateY(70%);
	} 

	100% {
		opacity: 1;
		-webkit-transform: translateY(0%);
	}
}

@-webkit-keyframes slide {
	0% {
		opacity: 0;
		-webkit-transform: translateY(70%);
	} 
	100% {
		opacity: 1;
		-webkit-transform: translateY(0%);
	}
}

/* Navigation
/*-------------------------------------------------*/
.navbar-default {
	/*background-color: rgba(61, 130, 187, 0.85);*/
	background-color: transparent;
	font-family: 'Roboto', Arial, "Microsoft JhengHei", "微軟正黑體", PMingLiU, "新細明體", Helvetica, sans-serif;
	-webkit-transition: all 0.35s;
	-moz-transition: all 0.35s;
	transition: all 0.35s;
	padding: 8px 16px;
	border: 0;
}

.navbar-default .navbar-header .navbar-brand {
	width: 182px;
	height: 58px;
	background: url("../images/ctlogo-w.png") 0 0 no-repeat;
	background-size: cover;
	padding: 0;
	display: block;
}

.navbar-default .nav {
	margin-top: 8px;
	margin-bottom: 0;
}

.navbar-default .nav > li {
	margin-right: 6px;
}

.navbar-default .nav > li:last-child {
	margin-right: 0;
}

.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
	font-size: 18px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.8);
	padding: 10px 12px;
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
	color: #FFF;
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
	color: #FFF;
	background-color: rgba(255, 255, 255, 0.15);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover {
	color: #FFF;
	background-color: rgba(255, 255, 255, 0.3);
}

.navbar-default .nav .glyphicon {
	margin-right: 6px;
}

/* Navbar Toggle */
.navbar-toggle .icon-bar {
	position: relative;
	transition: all 300ms ease-in-out;
}

.navbar-toggle .icon-bar:nth-of-type(2) {
	top: 1px;
}

.navbar-toggle .icon-bar:nth-of-type(3) {
  	top: 2px;
}

.navbar-toggle.active .icon-bar:nth-of-type(1) {
	top: 6px;
	transform: rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-of-type(2) {
	background-color: transparent;
}

.navbar-toggle.active .icon-bar:nth-of-type(3) {
	top: -6px;
	transform: rotate(-45deg);
}

.highlight-article, .article-intro {
	width: 100%;
	color: white;
	text-align: center;
	min-height: inherit;
	background: url('../images/quitjob-article-bg.jpg') no-repeat center center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding-top: 72px;
	margin-bottom: 0;
	position: relative;
}

.article-intro {
	padding-top: 140px;
	padding-bottom: 92px;
}

.article-intro h1.article-title {
	font-weight: bold;
	margin-bottom: 20px;
}

.article-intro .article-date {
	margin-bottom: 0;
}

#article-01 {
	background-image: url('../images/QUIT-16929_1.jpg');
	z-index: -2;
}

.c-bg::after {	
	width: 100%;
	height: 100%;
	background-color: rgba(47, 91, 119, 0.4);
	position: absolute;
	left: 0;
	bottom: 0;
	content: "";
	z-index: -1;
}

.highlight-article .header-content {
	z-index: 1;
}

.section-heading {
	color: #FFF;
	font-weight: 400;
	margin-bottom: 28px;
	margin-top: 0;
}

.text-primary {
	color: #69abcb;
}

.no-gutter > [class*='col-'] {
	padding-right: 0;
	padding-left: 0;
}

/* Article Block
---------------------------------------------------*/
.article-blk {
	color: #444;
	position: relative;
	display: block;
}

.article-blk:link {
	color: #444;
}

.article-blk:hover {
	color: #3d82bb;
}

.article-blk .title {
	font-size: 26px;
	font-weight: bold;
	background-color: #FFF;
	text-align: left;
	border-bottom: 3px solid #666;
	padding: 12px 16px;
	-webkit-transition: border 0.35s;
	-moz-transition: border 0.35s;
	transition: border 0.35s;
	margin: 0;
	
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.article-blk:hover .title {
	border-bottom-color: #3d82bb;
}

/* Article Thumbnail */
.article-blk .thumbnail-container {
	position: relative;
	width: 100%;
}

.article-blk .thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
	overflow: hidden;
	border: 0;
	margin-bottom: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.article-blk .thumbnail img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
	width: 100%;
}

.article-list .heading {
	font-size: 22px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 12px;
}

.article-list .article-blk {
	margin-bottom: 24px;
}

.highlight-article .thumbnail-container {
	padding-bottom: 270px;
}

.article-list .thumbnail-container {
	padding-bottom: 175px;
}

.article-list .article-blk .theme-pic {
	height: 175px;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
}

.article-list .article-blk .title {
	font-size: 20px;
	padding: 8px 0;
}

.article-list .article-blk .caption {
	width: 100%;
	height: 100%;
	color: white;
	background-color: rgba(61, 130, 187, 0.9);
	opacity: 0;
	display: block;
	
	position: absolute;
	bottom: 0;
	text-align: center;

	-webkit-transition: all 0.35s;
	-moz-transition: all 0.35s;
	transition: all 0.35s;
	
	margin-bottom: 0;
}

.article-list .article-blk:hover .caption {
	opacity: 1;
}

.article-list .article-blk .caption .content {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 12px;
}

.article-list .article-blk .caption h2 {
	font-size: 22px;
	line-height: 1.3;
	margin: 0;
}

.article-list .article-blk .caption .date {
	font-size: 18px;
	margin-bottom: 8px;
}

/* Article Block
---------------------------------------------------*/
.article-w {
	font-size: 16px;
	color: #222;
	line-height: 1.5;
	letter-spacing: 1px;
}

.article-w .heading {
	font-size: 24px;
	font-weight: bold;
	color: #3d82bb;
	border-bottom: 2px solid #3d82bb;
	padding-bottom: 4px;
}

.article-w .art-info,
.ctfb-like {
	font-size: 16px;
	background-color: #f3f3f3;
	padding: 10px 16px;
}

.article-w .art-info .author {
	margin-right: 16px;
}

.article-w .art-content {
	padding: 28px 0;
}

.article-w .art-content img {
	margin: 0 auto 28px auto;
}

.article-w .art-content p {
	font-size: 16px;
	text-align: justify;
}

/* Article Tag */
.article-tag {
	margin-bottom: 28px;
}

.article-tag ul {
	padding: 0;
	margin: 0;
}

.article-tag ul li {
	display: inline-block;
}

.article-tag .title,
.article-tag ul {
	float: left;
}

.article-tag .title,
.article-tag .title span {
	margin-right: 8px;
}

/* Article info box */
.art-box .title {
	font-size: 24px;
	font-weight: 500;
	color: #3d82bb;
	letter-spacing: 0;
	border-bottom: 2px solid #3d82bb;
	padding-bottom: 4px;
}

.art-box a:link, .art-box a:visited {
	color: #222;
}

.art-box a:hover {
	color: #888;
}

.art-box ul {
	list-style: none;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
}

.art-box ul li {
	padding: 10px 0;
	border-bottom: 1px dashed #C3D5E2;
}

.art-box .date {
	font-size: 13px;
	color: #888888;
}

.art-box .view-more:link, .art-box .view-more:visited {
	color: #3d82bb;
}

.art-box .view-more:hover {
	color: #69abcb;
}

/* Related jobs */
.related-jobs ul li:last-child {
	border-bottom: 0;
}

.related-jobs .job-item {
	position: relative;
	padding-left: 24px;
}

.related-jobs .job-item span.glyphicon {
	font-size: 13px;
	color: #3284b7;
	position: absolute;
	left: 0;
	top: 3px;
}

.related-jobs .job-item a:link {
	font-size: 15px;
	line-height: 1.3;
	margin-bottom: 2px;
	display: block;
}

.related-jobs .job-item .job-title:link {
	font-size: 18px;
	font-weight: 500;
}

/* Video Interviews */
.video-interview ul li:last-child {
	border-bottom: 0;
}

.video-interview .video {
	margin-bottom: 8px;
}

.video-interview ul li {
	padding-top: 14px;
}

/* Related Articles */
.related-art ul li {
	padding-right: 16px;
}

.related-art .article-item .article-title {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.related-art .article-item .date {
	line-height: 1.2;
}

.related-jobs, .video-interview {
	margin-bottom: 20px;
}

/* Facebook Like */
.ctfb-like .ctfb-like-txt {
	float: left;
}

.addthis_inline_share_toolbox {
	float: right;
}

.sticky-back-to-top {
	width: 40px;
	height: 40px;
	background-color: #e0e8ef;
	color: #3d82bb;
	text-align: center;
	line-height: 40px;
    cursor: pointer;
	
    position: fixed;
    bottom: 16px;
    right: 16px;
	
    display: none;
	z-index: 10;
}

.sticky-back-to-top:focus {
	color: #3d82bb;
}

/* Media Queries
/*-------------------------------------------------*/
@media (min-width: 768px) {
	.navbar-default {
		border-bottom: 0;
	}
	
	.navbar-default .navbar-header .navbar-brand {
		color: rgba(255, 255, 255, 0.7);
	}
	
	.navbar-default .navbar-header .navbar-brand:hover,
	.navbar-default .navbar-header .navbar-brand:focus {
		color: white;
	}
	
	.navbar-default .nav > li > a,
	.navbar-default .nav > li > a:focus {
		color: rgba(255, 255, 255, 0.7);
	}
	
	.navbar-default .nav > li > a:hover,
	.navbar-default .nav > li > a:focus:hover {
		color: white;
	}
	
	.navbar-default.affix {
		background-color: rgba(61, 130, 187, 0.95);
		padding: 8px 16px 6px;
	}
	
	.navbar-default.affix .navbar-header .navbar-brand {
		width: 140px;
		height: 45px;
	}
	
	.navbar-default.affix .nav {
		margin-top: 2px;
	}
	
	.navbar-default.affix .nav > li > a,
	.navbar-default.affix .nav > li > a:focus {
		color: rgba(255, 255, 255, 0.7);
		font-size: 16px;
		padding: 8px 12px;
	}
	
	.navbar-default.affix .nav > li > a:hover,
	.navbar-default.affix .nav > li > a:focus:hover {
		color: #FFF;
	}
	
	.navbar-default .nav > li.active > a,
	.navbar-default .nav > li.active > a:focus {
		color: #FFF;
	}
}

@media (min-width: 1200px) {
	.art-container {
		width: 1100px;
	}
}

@media only screen and (max-width : 1200px){
	.related-art {
		margin-bottom: 28px;
	}

	.fb-page {
		width: 100%;
		text-align: center;
	}
}

@media only screen and (max-width : 992px){
	.navbar-default .navbar-header .navbar-brand {
		width: 159px;
		height: 48px;
	}
	
	.navbar-default .nav > li {
		margin-right: 0;
	}
	
	.navbar-default .nav > li > a,
	.navbar-default .nav > li > a:focus {
		font-size: 15px;
		padding: 10px 8px 12px 8px;
	}
	
	.navbar-default.affix .nav > li > a,
	.navbar-default.affix .nav > li > a:focus {
		font-size: 15px;
		padding: 10px 8px 12px 8px;
	}
	
	.highlight-article .thumbnail-container {
		padding-bottom: 179px;
	}
	
	.article-list .article-blk .theme-pic {
		height: 114px;
	}
	
	.sticky-back-to-top {
		bottom: 60px;
	}
}

@media only screen and (max-width : 768px){
	section {
		padding: 32px 0;
	}

	.navbar-default {
		background-color: rgba(61, 130, 187, 0.9);
		padding-top: 4px;
		padding-bottom: 5px;
	}

	.navbar-default .nav > li.active > a,
	.navbar-default .nav > li.active > a:focus {
		color: #FFF;
	}
	
	.navbar-default .navbar-header .navbar-brand {
		width: 130px;
		height: 42px;
		margin-top: 4px;
	}
	
	.navbar-collapse {
		border-top: none;
		box-shadow: none;
	}

	.navbar-collapse .nav > li {
		margin-bottom: 4px;
	}

	.navbar-collapse .nav > li:last-child {
		margin-bottom: 0;
	}

	.navbar-collapse .nav > li > a,
	.navbar-collapse .nav > li > a:focus {
		font-size: 16px;
		padding: 10px 12px 12px;
	}

	.navbar-toggle {
		margin-right: 0;
	}

	.navbar-default .navbar-toggle .icon-bar {
		background-color: #DDD;
	}

	.navbar-default .navbar-toggle:hover,
	.navbar-default .navbar-toggle:focus {
		background-color: rgba(255, 255, 255, 0.2);
	}
	
	.article-blk {
		margin-bottom: 16px;
	}
	
	.article-list .thumbnail-container {
		padding-bottom: 114px;
	}
	
	.highlight-article {
		padding-bottom: 14px;
	}
	
	.highlight-article .thumbnail-container .thumbnail img {
		width: 100%;
	}
	
	.addthis_inline_share_toolbox {
		margin-top: 8px;
		float: none;
	}
}

@media only screen and (max-width : 480px){
	section {
		padding: 20px 0;
	}
	
	hr {
		margin: 16px auto;
	}

	.highlight-article {
		padding-top: 80px;
	}
	
	.article-blk .title {
		font-size: 20px;
		padding: 8px 12px;
	}
	
	.article-list .thumbnail-container {
		padding-bottom: 235px;
	}
	
	.article-intro {
		padding-top: 100px;
		padding-bottom: 62px;
	}
	
	.article-intro h1.article-title {
		margin-bottom: 12px;
	}
	
	.article-intro .article-date {
		font-size: 18px;
	}
	
	.article-list .article-blk .title {
		font-size: 18px;
	}	
	
	footer {
		font-size: 13px;
		padding: 20px 16px 32px 16px;
	}
	
	.article-content-w footer {
		padding-bottom: 68px;
	}
}

@media only screen and (max-width : 320px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container {
		padding-bottom: 140px;
	}
}

/* Between breakpoints */
@media (min-width: 320px) and (max-width: 359px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container {
		padding-bottom: 142px;
	}
}

@media (min-width: 360px) and (max-width: 374px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 164px; }
}

@media (min-width: 375px) and (max-width: 419px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 171px; }
}

@media (min-width: 420px) and (max-width: 479px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container {
		padding-bottom: 195px;
	}
}

@media (min-width: 480px) and (max-width: 549px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 225px; }
}

@media (min-width: 550px) and (max-width: 619px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 262px; }
}

@media (min-width: 620px) and (max-width: 719px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 299px; }
}

@media (min-width: 720px) and (max-width: 767px) {
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container { padding-bottom: 350px; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.article-list .thumbnail-container { padding-bottom: 114px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.highlight-article .thumbnail-container { padding-bottom: 237px; }
	.article-list .thumbnail-container { padding-bottom: 153px; }
}

/*
@media only screen 
	and (min-device-width: 414px) 
	and (max-device-width: 736px) 
	and (-webkit-min-device-pixel-ratio: 3) { 
	.highlight-article .thumbnail-container,
	.article-list .thumbnail-container {
		padding-bottom: 200px;
	}
}*/
