/* =====================================================================================================
   Tab Switch ( for Html) (不適用 Webcms 基本模組)
   ===================================================================================================== */


/* 直播/ 首播前 >> Button Status (變淡/ 不能點選) */
.UPS-runtime-tab .btn-group.Coming-Soon {
    opacity: 0.6;
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
  }

/* 切換標籤 >> Date Icon */
.UPS-runtime-tab.Date-Tab .img-fluid {
    display: inline-block;
    position: relative;
    width: 9%;
    margin-right: 4%;
    top: -2px;
    transform: scale(1, 0.95);
  }

/* 切換標籤 >> Application Icon */
.UPS-runtime-tab .img-fluid {
	/*width: 22%;*/
	width: 24%;
	/*margin: 0 auto;*/
	margin: -5px auto -5px;
	display: block;
	/*opacity: 0.4;*/
	opacity: 0.7;
	transition: all 0.2s ease-in-out 0s;
}

/* Application Icon > Active */
.UPS-section-runtime .UPS-runtime-tab a.active img, .UPS-section-runtime .UPS-runtime-tab a.active:hover img {
	opacity: 0.9;
	/* 藍色 filter: invert(0.4) sepia(1) saturate(4) hue-rotate(150.9deg) brightness(1);*/

	/*綠色 */
	filter: invert(0.4) sepia(1) saturate(20) hue-rotate(54deg) brightness(1.2) !important;
	transition: all 0.2s ease-in-out 0s;
}

/* Application Icon > Hover */

.UPS-section-runtime .UPS-runtime-tab a:hover img {
	/*opacity: 1.0;*/
	opacity: 0.8;
	filter: invert(0.4) sepia(0) saturate(1) hue-rotate(0deg) brightness(0.78);
	transition: all 0.2s ease-in-out 0s;
}

.UPS-runtime-content .ss-pull-left {
	padding-left: 30px;
}

.UPS-runtime-content img {
	/*border-radius: 7px;*/
	border: 1px solid #eaeaea;
	margin-bottom: 20px;
}

.UPS-comparison-table {
	max-width: 1400px;
	box-sizing: border-box;
	padding: 0 15px;
	margin: 0px auto;
	color: #555;
}

.UPS-comparison-table table {
	width: 100%;
	border-collapse: collapse;
}

.UPS-comparison-table table th {
	padding: 8px 5px;
	background: #717171;
	text-align: center;
	font-weight: bold;
	color: #fff;
}

.UPS-comparison-table table th p {
	font-weight: 400 !important;
	color: #fff !important;
}

.UPS-comparison-table table td:first-child {
	background: #eee;
}

.UPS-comparison-table table p {
	padding: 0;
	margin: 0;
	font-size: 1em !important;
}

.UPS-comparison-table table a {
	color: #fff;
}

.UPS-comparison-table table th.UPS-name {
	text-align: center;
}

.UPS-comparison-table table img {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

.UPS-comparison-table table td {
	padding: 8px 5px;
	text-align: center;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.UPS-comparison-table table td:first-child {
	text-align: left;
}

.UPS-comparison-table table td:last-child {
	border-right: 0;
}

@media screen and (max-width: 768px) {
	.UPS-comparison-table {
		padding: 0;
		margin-top: 0;
		overflow: hidden;
	}
	.UPS-comparison-table table th {
		padding: 8px 2px;
	}
	.UPS-comparison-table table td {
		padding: 8px 2px;
	}
	.UPS-comparison-table table p {
		font-size: 0.8em !important;
	}
}

/* runtime */

.UPS-section-runtime {
	/* background: #e9e9e9;*/
	/*margin-top: 70px;*/
	margin-top: 40px;
	/*padding-bottom: 50px;*/
}

/* 透明 Tab Menu
.UPS-section-runtime .UPS-runtime-inner{
	background: rgba(255,255,255,0.5) !important;
}
*/

.UPS-section-runtime .UPS-runtime-inner {
    /*background: #fff;*/
    /* Tab 有 Icon 使用 */
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 8%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 8%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 8%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    /* Tab 無 Icon 使用 
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 4%, rgba(255,255,255,0) 33%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 4%,rgba(255,255,255,0) 33%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 4%,rgba(255,255,255,0) 33%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );*/
    max-width: 1400px;
    margin: 0 auto;
    /*filter: drop-shadow(1px 1px 10px rgba(27,58,65,0.1));*/
    /*filter: drop-shadow(1px 1px 15px rgba(27,58,65,0.9));*/
    /*filter: drop-shadow(1px 1px 15px rgba(15, 30, 42, 0.9));*/
    /*box-shadow: 0px -20px 20px 5px rgba(0, 0, 0, 0.03);
    -webkit-box-shadow: 0px -20px 20px 5px rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0px -20px 20px 5px rgba(0, 0, 0, 0.03);*/
}

.UPS-section-runtime .UPS-runtime-tab {
	display: flex;
	box-shadow: 0px -10px 10px 0px rgba(0, 0, 0, 0.07);
	-webkit-box-shadow: 0px -10px 10px 0px rgba(0, 0, 0, 0.07);
	-moz-box-shadow: 0px -10px 10px 0px rgba(0, 0, 0, 0.07);
}

/* 透明 Tab Menu
.UPS-section-runtime .UPS-runtime-tab a{
	background-color: rgba(255,255,255,0.5) !important;
}
*/

.UPS-section-runtime .UPS-runtime-tab a {
	font-weight: 400;
	/* 淡色 color: #737678;
	background-color: #f8f9f9;*/
	/* 深色 */
	color: #3d3f40;
	background-color: #f1f2f2;
	display: block;
	/*四個  */
	width: 25%;
	/* 三個 width: 33.33%; */
	text-align: center;
	/*font-size: 1.5em;*/
	font-size: 1.7em;
	letter-spacing: -0.01em;
	box-sizing: border-box;
	/*padding: 10px;*/
	padding: 15px;
	/*border-top: 5px solid #fff;*/
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	transition: all 0.2s;
}

.UPS-section-runtime .UPS-runtime-tab a:hover {
	/* 淡色 */
	color: #737678;
	background-color: #f8f9f9;
	/* 深色 color: #3d3f40;
	background-color: #f1f2f2;*/
}

.UPS-section-runtime .UPS-runtime-tab a:first-child {
	/*border-right: 1px solid #fff;*/
	border-left: 1px solid #e2e2e2;
}

.UPS-section-runtime .UPS-runtime-tab a:last-child {
	/*border-right: 1px solid #fff;*/
	border-left: 1px solid #e2e2e2;
}

/* 透明 Tab Menu
.UPS-section-runtime .UPS-runtime-tab a.active{
  background: rgba(255,255,255,0.8) !important;
}
*/

.UPS-section-runtime .UPS-runtime-tab a.active {
	/*border-top: 5px solid #1ba0a3;*/
	background-color: #fff;
	border-top: 5px solid #46a2d1;
	border-bottom: 1px solid #fff;
	/*color: #1ba0a3;*/
	color: #4da5ca;
	font-weight: 500;
	box-shadow: 5px 0px 3px rgba(0, 0, 0, 0.02);
	z-index: 10;
}

.UPS-section-runtime .UPS-runtime-tab a.active:hover {
	background-color: #fff;
}

.UPS-section-runtime .UPS-runtime-tab a.active::after {
	display: inline-block;
	width: 30px;
	height: 30px;
	content: "";
	background: url(//assets.aten.com/webpage/shared/Product-Landing-Page/VP/New/Icon_Arrow_Learn_More-XSmall_Down.png) no-repeat center center;
	background-size: auto;
	background-size: 105%;
	/* 藍色 filter: invert(0.4) sepia(1) saturate(4) hue-rotate(150.9deg) brightness(1);*/

	/*綠色 */
	filter: invert(0.4) sepia(1) saturate(20) hue-rotate(54deg) brightness(1.2) !important;
	margin-left: 6px;
	position: relative;
	top: 9px;
	transition: all 0.3s ease-in-out 0s;
}



.UPS-section-runtime .UPS-runtime-content {
	/*padding: 70px 25px 80px;*/
	padding: 70px 15px 5px;
	overflow: hidden;
}

.UPS-section-runtime .UPS-runtime-content table {
	width: 100%;
	border-collapse: collapse;
}

.UPS-section-runtime .UPS-runtime-content table th {
	font-weight: 500;
	border: 1px solid #ccc;
	/*background: #717171;*/
	background: #6b7274;
	color: #fff;
	padding: 10px 5px;
	font-weight: normal;
	text-align: center;
}

.UPS-section-runtime .UPS-runtime-content table td {
	border: 1px solid #ccc;
	padding: 10px 5px;
	text-align: center;
	vertical-align: middle;
}

.UPS-section-runtime .UPS-runtime-content table td:first-child {
	/*background: #eee;*/
	background: #eff0f0;
	width: 15%;
}

.UPS-section-runtime .UPS-runtime-content table .diagonal {
	/*
  background-image: linear-gradient(
    to top right,
    #717171 49%,
    #fff,
    #717171 51%
  );
  */
}

.UPS-section-runtime .UPS-runtime-content table:nth-of-type(2) td1 {
	background-image: linear-gradient( to top right, papayawhip calc(50% - 1px), black, papayawhip calc(50% + 1px));
}

.UPS-section-runtime .UPS-runtime-content h3 {
	/*text-align: center;
	margin-top: 30px;*/
	/*font-size: 1.47em;*/
	font-size: 1.46em;
	line-height: 28px;
	text-align: left;
	margin-top: -5px;
	transform: scale(1, 0.95);
}

.UPS-section-runtime .UPS-runtime-content .UPS-chart {
	text-align: center;
}

.UPS-section-runtime .UPS-runtime-content .UPS-chart img {
	max-width: 100%;
}

/* 1410 以下 */
@Media (max-width: 1410px) {
    .UPS-section-runtime .UPS-runtime-inner {
    max-width: 85%;
    }
}

@media screen and (max-width: 768px) {
    .UPS-section-runtime .UPS-runtime-tab a {
    font-size: 1em;
    padding: 10px 5px;
    }
}

@media screen and (max-width: 500px) {
    .UPS-section-runtime .UPS-runtime-tab a {
    font-size: 0.8em;
    padding: 10px 2px;
    }
}


/* iPad >> 979 以下 */
@Media (max-width: 979px) {

    .UPS-section-runtime .showcase_content {
    width: 70%;
    padding: 5% !important;
    margin: 15px auto 55px !important;
    text-align: center !important;
    text-align: left !important;

    width: 85%;
    padding: 3% !important;
    margin: 15px auto 55px !important;
    }

    .UPS-section-runtime .UPS-runtime-tab.Date-Tab a {
    font-size: 1.4em;
    }

}

@media screen and (max-width: 768px) {

    .UPS-section-runtime .UPS-runtime-content {
    padding: 80px 5px 40px 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
	cursor: grab;
    }
    .UPS-section-runtime .UPS-runtime-content table {
    font-size: 0.8em;
    }
    .UPS-section-runtime .UPS-runtime-content table th {
    padding: 10px 2px;
    }
    .UPS-section-runtime .UPS-runtime-content table td {
    padding: 10px 2px;
    }

}


/* 480 以下 */
@Media (max-width: 480px) {

	.UPS-section-runtime .row.Tab_Row_Content {
	margin-right: 0px !important;
	}

    .UPS-section-runtime .UPS-runtime-inner {
    max-width: 95%;
    }

	.UPS-section-runtime .showcase_content {
	width: 89% !important;
	}

}