
/* ================= 信息单页版块 - faqs,  study news ================= */

.news-content .nc-header {
	margin-bottom: 40px;
}

.news-content .nc-header .last-updated {
	display: inline-block;
	padding: 8px 20px;
	font-size: 0.95rem;
	color: var(--accent-color);
	background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	border-radius: 30px;
}

.news-content .nc-subheader {
	margin: 4rem 0;
}

.news-content .nc-header h1 {
	color: var(--heading-color);
}

.news-content .nc-header p {
	color: var(--heading-color);
	font-size: 1rem;
}

.news-content .nc-subheader h2 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 2.5rem;
	font-weight: 600
}

/* ================= Content ================= */

.news-content .nc-content {
	margin-bottom: 50px;
	scroll-margin-top: 100px;
}

/* H2 左侧小圆角色块标记 */
.news-content .nc-content h2 {
    font-size: 1.6rem;
    margin: 36px 0 16px;
    color: var(--content-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-content .nc-content h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    border-radius: 4px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.news-content .nc-content h3 {
    font-size: 1.4rem;
    margin: 18px 0 14px;
    color: var(--content-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.news-content .nc-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 65%);
}

.news-content .nc-content h4 {
    font-size: 1.25rem;
    margin: 18px 0 12px;
    color: var(--content-color);
    font-weight: 600;
    padding-left: 10px; 
    position: relative;
}
.news-content .nc-content h4::after {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%; 
    width: 3px;  
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 45%);
}

.news-content .nc-content h2 + h3 {
    margin-top: 4px;
}

.news-content .nc-content p {
	margin-bottom: 1.2em;
	line-height: 1.8;
}

.news-content .nc-content p:last-child {
	margin-bottom: 0;
}

.news-content .nc-content strong {
	font-weight: 600;
    color: var(--icon-color);
	letter-spacing: 0.5px;
	padding-left: 3px;
	padding-right: 3px;
}

.news-content .nc-content em {
	font-style: italic;
}

.news-content .nc-content hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 30px 0;
}

.news-content .nc-content blockquote {
	background: url(../images/bgcode.webp);
	border: 1px solid #f0f0f0;
	border-left: 6px solid #f06;
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 12px;
	line-height: 160%;
	color: #1c154b;
}

.news-content .nc-content img {
	display: block;
	width: 50% !important;
	margin: 30px auto;
	border-radius: 10px;
	height: auto !important;
	transition: transform .3s ease, filter .3s ease;
}

.news-content .nc-content img:hover {
	filter: brightness(1.15);
}

.news-content .nc-content figure {
	text-align: center;
	margin: 25px auto;
}

.news-content .nc-content figcaption {
	font-size: 0.85rem;
	color: #666;
	margin-top: 8px;
}

.news-content .nc-content a {
	padding: 1px 5px;
	height: 18px;
	text-decoration: none;
	background-color: transparent;
	border-bottom: 2px solid #cf007d;
	transition: background .14s ease, color .14s ease;
}

.news-content .nc-content a:hover {
	text-decoration: none !important;
	color: #cf007d !important;
}


.news-content .nc-content .faq-list {
    margin: 10px 0 30px;
}

.news-content .nc-content .faq-item {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--faqs-color), transparent 82%);
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 96%);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-content .nc-content .faq-item:hover {
    border-color: color-mix(in srgb, var(--faqs-color), transparent 65%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.news-content .nc-content .faq-item h3 {
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 10px;
    padding-left: 14px;
    color: var(--content-color);
    font-weight: 600;
    position: relative;
    display: block;
	font-family: var(--default-font);
}

.news-content .nc-content .faq-item h3::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: calc(100% - 26px); 
    top: 13px; /* ⚠️ 記得 top 也要同步調整為減去值的一半，線才會維持垂直居中 */
    border-radius: 2px;
    background-color: var(--faqs-color);
}

.news-content .nc-content .faq-item h3::after {
    display: none;
}

.news-content .nc-content .faq-answer p {
    margin: 0;
    padding-left: 14px;
    line-height: 1.8;
}

.news-content .nc-content .application-steps {
    margin: 10px 0 30px;
}

.news-content .nc-content .application-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    position: relative;
    padding-bottom: 28px;
}

.news-content .nc-content .application-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 54px;
    bottom: 0;
    width: 2px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 75%);
}

.news-content .nc-content .step-number {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);

    color: var(--heading-color);
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.news-content .nc-content .step-content {
    padding-top: 1px;
}

.news-content .nc-content .step-content h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0 0 8px;
    color: var(--content-color);
    font-weight: 600;
    display: block;
	font-family: var(--default-font);
}

.news-content .nc-content .step-content h3::after {
    display: none;
}

.news-content .nc-content .step-content p {
    margin: 0;
    line-height: 1.8;
}

/* ================= Tables ================= */

.news-content .nc-content table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 20px 0;
	padding: 8px;
	color: #212529;
	background-color: var(--contrast-color);
	border-radius: 10px;
}

.news-content .nc-content th,
.news-content .nc-content td {
	padding: 10px;
	font-size: .975rem;
	color: #1c154b;
	word-break: break-word;
}

.news-content .nc-content th {
	font-weight: 700 !important;
	border-bottom: 2px solid #212529;
}

.news-content .nc-content tr {
	border-bottom: 1px solid #212529;
}

.news-content .nc-content tr:last-child {
	border-bottom: none;
}

/* ================= Lists ================= */

.news-content .nc-content ul, .news-content .nc-content ol {
	padding: 25px;
	margin-top: 20px;
	background: url(../images/bgcode.webp);
	background-color: var(--surface-color);
	border-left: 4px solid var(--accent-color);
	border-radius: 15px;
}

.news-content .nc-content li {
	list-style: none;
	padding: 5px 0;
	line-height: 180%;
	color: #1c154b;
	border-bottom: 1px solid #e3e3e3;
	position: relative;
}

.news-content .nc-content li:last-child {
	margin-bottom: 0;
}

.news-content .nc-content li::before {
	content: "\e964";
	font-family: icomoon;
	font-size: 0.95rem;
	color: var(--accent-color);
	margin-right: 10px;
	display: inline-block;
	width: 1.2em;
}

.news-content .nc-content li:has(ul) {
	border-bottom: none;
}

.news-content .nc-content ul ul {
	background: none;
	border-left: none;
	padding: 5px 0 5px 15px; 
	margin-top: 5px;
}

.news-content .nc-content ul ul li:last-child {
	border-bottom: none;
}

.news-content .nc-content ul ul li {
	border-bottom: none;
	padding: 3px 0;
}

.news-content .nc-content ul ul li::before {
	content: "\e93b"; 
	font-size: 0.85rem; 
	opacity: 0.85;  
}

.news-content .nc-content blockquote ul {
    border-left: none !important;
    padding-left: 15px; 
}

.news-content .nc-content li p {
	display: inline;  
	margin: 0;   
	padding: 0;  
}

/* Ordered Lists */
.news-content .nc-content ol {
	padding-left: 25px;
	margin-top: 20px;
}

.news-content .nc-content ol li {
	margin-bottom: 8px;
	line-height: 1.8;
}

/* ================= Code Blocks ================= */

.news-content .nc-content pre,
.news-content .nc-content code {
	background: #f7f7f7;
	padding: 12px 15px;
	border-radius: 8px;
	font-family: Consolas, monospace;
	font-size: 0.9rem;
	overflow-x: auto;
	display: block;
	margin: 20px 0;
}

/* ================= Media Embeds ================= */

.news-content .nc-content iframe,
.news-content .nc-content video,
.news-content .nc-content audio {
	max-width: 100%;
	width: 100%;
	border: none;
	margin: 20px 0;
}

/* ================= CMS Cleanup ================= */

.news-content .nc-content [style] {
	max-width: 100%;
	height: auto !important;
}

/* ================= date ================= */

.news-content .news-date {
	font-size: 0.8rem;
	color: #666;
 /* 可选，让日期更弱化 */
	margin-left: 8px;
}

/* ================= newsList ================= */

.newsList-content {
	position: sticky;
	top: 120px;
}

.newsList-content h3 {
	margin: 20px auto;
	text-align: center;
}

.newsList .newsList-card {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	height: 100%;
	background: url(../images/bgcode.webp);
	box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 92%);
	transition: all 0.4s ease-in-out;
	margin-bottom: 2rem;
}

.newsList .newsList-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.newsList .newsList-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--accent-color);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}

.newsList .newsList-card:hover::before {
	transform: scaleY(1);
}

.newsList .newsList-card.featured .newsList-header,
.newsList .newsList-card.featured .newsList-bottom {
	display: flex;
	gap: 25px;
	align-items: flex-start;
}

.newsList .newsList-card.featured .newsList-header {
	padding: 20px 20px 0 20px;
}

.newsList .newsList-card.featured .newsList-bottom {
	padding: 0 20px 20px 20px;
}

.newsList .newsList-image {
	position: relative;
	flex-shrink: 0;
}

.newsList .newsList-image img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 12px;
}

.newsList .country-badge {
	position: absolute;
	top: -10px;
	right: -10px;
	background: var(--default-color);
	color: var(--contrast-color);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 20px;
}

.newsList .newsList-info h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.newsList .newsList-bottom p {
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 768px) {
	
	.news-content .nc-header h1 {
	font-size: 1.3rem;
}

	.news-content .nc-content h1 {
	font-size: 1.3rem;
}
	
    /* H2 */
    .news-content .nc-content h2 {
        font-size: 1.65rem;
        margin: 34px 0 18px;
        padding-left: 12px;
    }

    .news-content .nc-content h2::before {
        width: 4px;
    }

    /* H3 */
    .news-content .nc-content h3 {
        font-size: 1.4rem;
        line-height: 1.5;
        margin: 28px 0 15px;
    }

    .news-content .nc-content h3::after {
        bottom: -3px;
        height: 2px;
    }

    /* H4 */
    .news-content .nc-content h4 {
        font-size: 1.15rem;
        line-height: 1.55;
        margin: 22px 0 10px;
        padding-left: 9px;
    }

    .news-content .nc-content h4::after {
        width: 3px;
        top: 12%;
        height: 76%;
    }
	
    .news-content .nc-content .faq-item {
        padding: 15px 16px;
        margin-bottom: 12px;
        border-radius: 7px;
    }

    .news-content .nc-content .faq-item h3 {
        font-size: 1.08rem;
        line-height: 1.55;
        padding-left: 12px;
        margin-bottom: 8px;
    }

    .news-content .nc-content .faq-item h3::before {
        width: 3px;
        top: 5px;
        height: calc(100% - 10px);
    }

    .news-content .nc-content .faq-answer p {
        padding-left: 12px;
        line-height: 1.75;
    }
	
 .news-content .nc-content .application-step {
        grid-template-columns: 42px 1fr;
        column-gap: 12px;
        padding-bottom: 24px;
    }

    .news-content .nc-content .application-step:not(:last-child)::before {
        left: 20px;
        top: 42px;
    }

    .news-content .nc-content .step-number {
        width: 42px;
        height: 42px;
        font-size: 0.78rem;
        border-width: 1.5px;
    }

    .news-content .nc-content .step-content h3 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 7px;
    }

    .news-content .nc-content .step-content p {
        line-height: 1.75;
    }
	
	
	
	
	
.news-content .nc-content img {
	width: 70% !important;
	margin-bottom: 40px;
	margin-top: 20px;
}

	.newsList .newsList-card.featured .newsList-header .newsList-image img {
		width: 100px;
		height: 100px;
	}

	.newsList .newsList-card.featured .newsList-header .newsList-info h4 {
		font-size: 16px;
	}

	.newsList .newsList-card.featured .newsList-header .newsList-info .contact-info a {
		font-size: 13px;
	}
}

/* 1. 容器 */
.sidebar-box {
  width: 100%;
  margin-bottom: 1.5rem;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fff;
    padding:15px;
}

/* 2. 标题 */
.sidebar-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
	padding-left: 5px;
}

/* 3. 列表项 */
.sidebar-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sidebar-box li {
  margin-bottom: 0.6rem;
}

.sidebar-box li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background-color: #ffffff;
  color: #111;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #f1f3f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-box li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  color: #0d6efd;
  border-color: #e9ecef;
}

/* 4. 高亮选中项 (Active) */
#course #mainNav .course a,
#school #mainNav .school a,
#study1 #mainNav .study1 a, #study2 #mainNav .study2 a, #study3 #mainNav .study3 a, #study4 #mainNav .study4 a, #study5 #mainNav .study5 a,
#study6 #mainNav .study6 a, #study7 #mainNav .study7 a, #study8 #mainNav .study8 a, #study9 #mainNav .study9 a, #study10 #mainNav .study10 a,
#study11 #mainNav .study11 a, #study12 #mainNav .study12 a, #study13 #mainNav .study13 a, #study14 #mainNav .study14 a, #study15 #mainNav .study15 a,
#study16 #mainNav .study16 a, #study17 #mainNav .study17 a, #study18 #mainNav .study18 a, #study19 #mainNav .study19 a, #study20 #mainNav .study20 a,
#study21 #mainNav .study21 a, #study22 #mainNav .study22 a, #study23 #mainNav .study23 a, #study24 #mainNav .study24 a, #study25 #mainNav .study25 a,
#study26 #mainNav .study26 a, #study27 #mainNav .study27 a, #study28 #mainNav .study28 a, #study29 #mainNav .study29 a, #study30 #mainNav .study30 a,
#study31 #mainNav .study31 a, #study32 #mainNav .study32 a, #study33 #mainNav .study33 a, #study34 #mainNav .study34 a, #study35 #mainNav .study35 a,
#study36 #mainNav .study36 a, #study37 #mainNav .study37 a, #study38 #mainNav .study38 a, #study39 #mainNav .study39 a, #study40 #mainNav .study40 a,
#study41 #mainNav .study41 a, #study42 #mainNav .study42 a, #study43 #mainNav .study43 a, #study44 #mainNav .study44 a, #study45 #mainNav .study45 a,
#study46 #mainNav .study46 a, #study47 #mainNav .study47 a, #study48 #mainNav .study48 a, #study49 #mainNav .study49 a, #study50 #mainNav .study50 a,
#study51 #mainNav .study51 a, #study52 #mainNav .study52 a, #study53 #mainNav .study53 a, #study54 #mainNav .study54 a, #study55 #mainNav .study55 a,
#study56 #mainNav .study56 a, #study57 #mainNav .study57 a, #study58 #mainNav .study58 a, #study59 #mainNav .study59 a {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25) !important;
}

#study1 #mainNav .study1 a .badge, #study2 #mainNav .study2 a .badge, #study3 #mainNav .study3 a .badge, #study4 #mainNav .study4 a .badge, #study5 #mainNav .study5 a .badge,
#study6 #mainNav .study6 a .badge, #study7 #mainNav .study7 a .badge, #study8 #mainNav .study8 a .badge, #study9 #mainNav .study9 a .badge, #study10 #mainNav .study10 a .badge,
#study11 #mainNav .study11 a .badge, #study12 #mainNav .study12 a .badge, #study13 #mainNav .study13 a .badge, #study14 #mainNav .study14 a .badge, #study15 #mainNav .study15 a .badge,
#study16 #mainNav .study16 a .badge, #study17 #mainNav .study17 a .badge, #study18 #mainNav .study18 a .badge, #study19 #mainNav .study19 a .badge, #study20 #mainNav .study20 a .badge,
#study21 #mainNav .study21 a .badge, #study22 #mainNav .study22 a .badge, #study23 #mainNav .study23 a .badge, #study24 #mainNav .study24 a .badge, #study25 #mainNav .study25 a .badge,
#study26 #mainNav .study26 a .badge, #study27 #mainNav .study27 a .badge, #study28 #mainNav .study28 a .badge, #study29 #mainNav .study29 a .badge, #study30 #mainNav .study30 a .badge,
#study31 #mainNav .study31 a .badge, #study32 #mainNav .study32 a .badge, #study33 #mainNav .study33 a .badge, #study34 #mainNav .study34 a .badge, #study35 #mainNav .study35 a .badge,
#study36 #mainNav .study36 a .badge, #study37 #mainNav .study37 a .badge, #study38 #mainNav .study38 a .badge, #study39 #mainNav .study39 a .badge, #study40 #mainNav .study40 a .badge,
#study41 #mainNav .study41 a .badge, #study42 #mainNav .study42 a .badge, #study43 #mainNav .study43 a .badge, #study44 #mainNav .study44 a .badge, #study45 #mainNav .study45 a .badge,
#study46 #mainNav .study46 a .badge, #study47 #mainNav .study47 a .badge, #study48 #mainNav .study48 a .badge, #study49 #mainNav .study49 a .badge, #study50 #mainNav .study50 a .badge,
#study51 #mainNav .study51 a .badge, #study52 #mainNav .study52 a .badge, #study53 #mainNav .study53 a .badge, #study54 #mainNav .study54 a .badge, #study55 #mainNav .study55 a .badge,
#study56 #mainNav .study56 a .badge, #study57 #mainNav .study57 a .badge, #study58 #mainNav .study58 a .badge, #study59 #mainNav .study59 a .badge {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

@media (min-width: 992px) {
    #mainNav{
        position: sticky;
        top: 20px;
        align-self: flex-start;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    #mainNav::-webkit-scrollbar{
        width: 6px;
    }

    #mainNav::-webkit-scrollbar-thumb{
        background: #d5d5d5;
        border-radius: 20px;
    }
	
}


/* ================= Visa Content (仅保留特有样式，其余复用 nc-content) ================= */

.visa-content {
	padding-bottom: 100px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* 标题专属颜色与字号设置 */
.visa-content h1 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 50px 0 20px 0;
	color: #003473;
}

.visa-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 40px 0 20px 0;
	color: #ee2464;
}

.visa-content h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 30px 0 15px 0;
	color: #005F9B;
}

.visa-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 20px 0 15px 0;
	color: #26384e;
}

.visa-content h5 {
	font-size: 1rem;
	font-weight: 700;
	margin: 15px 0 10px 0;
	color: #15004A;
}

/* 特殊深蓝色下划线链接 (unia) */
a.unia:link, 
a.unia:visited {
	padding: 2px 5px;
	text-decoration: none;
	background-color: transparent;
	border-bottom: 3px solid #002172;
	transition: background .14s ease, color .14s ease;
}

a.unia:hover {
	text-decoration: none !important;
	color: #cf007d !important;
}


.timeline{list-style:none;padding:20px 0 20px;position:relative}
.timeline:before{top:0;bottom:0;position:absolute;content:" ";width:3px;background-color:#eee;left:50%;margin-left:-1.5px}
.timeline>li{margin-bottom:20px;position:relative}
.timeline>li:after,.timeline>li:before{content:" ";display:table}
.timeline>li:after{clear:both}
.timeline>li:after,.timeline>li:before{content:" ";display:table}
.timeline>li:after{clear:both}
.timeline>li>.timeline-panel{width:46%;float:left;border:1px solid #d4d4d4;background-color:#fff;border-radius:2px;padding:20px;position:relative;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.175);box-shadow:0 1px 6px rgba(0,0,0,.175)}
.timeline>li>.timeline-panel:before{position:absolute;top:26px;right:-15px;display:inline-block;border-top:15px solid transparent;border-left:15px solid #ccc;border-right:0 solid #ccc;border-bottom:15px solid transparent;content:" "}
.timeline>li>.timeline-panel:after{position:absolute;top:27px;right:-14px;display:inline-block;border-top:14px solid transparent;border-left:14px solid #fff;border-right:0 solid #fff;border-bottom:14px solid transparent;content:" "}
.timeline>li>.timeline-badge{color:#fff;width:50px;height:50px;line-height:50px;text-align:center;font-size:1.1rem;position:absolute;left:50%;margin-left:-25px;background-color:#999;border-top-right-radius:50%;border-top-left-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:50%}
.timeline>li:nth-child(odd) .timeline-panel{float:right}
.timeline>li:nth-child(odd) .timeline-panel::before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}
.timeline>li:nth-child(odd) .timeline-panel::after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}
.timeline-badge.primary{background-color:#2e6da4!important}
.timeline-badge.success{background-color:#3f903f!important}
.timeline-badge.warning{background-color:#f0ad4e!important}
.timeline-badge.danger{background-color:#d9534f!important}
.timeline-badge.info{background-color:#5bc0de!important}
.timeline-title{margin-top:0;color:inherit}
.timeline-body>p,.timeline-body>ul{margin-bottom:0;font-size:.9rem}
.timeline-body>p+p{margin-top:5px}
.timeline-body img{max-width:200px}
.text-muted{font-size:.8rem;color:#556}
@media(min-width:768px){.timeline-body img{float:right;max-width:200px}
#button{margin:30px}
}
@media(max-width:980px){.timeline:before{top:0;bottom:0;position:absolute;content:" ";width:3px;background-color:#eee;left:6%;margin-left:-1.5px}
.timeline>li>.timeline-badge{color:#fff;width:40px;height:40px;line-height:40px;text-align:center;position:absolute;left:6%;margin-left:-20px;background-color:#999;border-top-right-radius:50%;border-top-left-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:50%;font-size:.8rem}
.timeline>li>.timeline-panel{width:84%}
.timeline>li>.timeline-panel{float:right}
.timeline>li>.timeline-panel:before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}
.timeline>li>.timeline-panel:after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}
}

