@charset "utf-8";
/* CSS Document by Becky*/

/*------------------------------------------
  General Settimg
-------------------------------------------*/

.font-bold{ font-weight:bold;}
.adv-resource img{ display:block; font-size:0;}


/*------------------------------------------
  Resources site name Style
-------------------------------------------*/
#container {
	background: #fff;
}
#advan-resources h1.portal-name {
	font-size: 36px;
	margin:20px 0 15px 0;
	font-weight: normal;
}
/*Overwrite content.css*/
#advan-resources h1 {
	margin-top: 0;
}
#advan-resources .title-desc {
	font-size: 16px;
	margin-bottom: 26px;
	font-weight: normal;
}
/*----------------------------------------------
  Corporate Sidebar for Topic menu
------------------------------------------------*/
.corporate-content-sidebar {
	max-width: 1200px;
	margin: 30px auto 30px auto;
}
.corporate-content-sidebar ul {
	list-style: none;
}
.corporate-content-sidebar ul li {
	font-size: 12px;
	line-height: 1.5em;
}
.corporate-content-sidebar ul li a {
	display: block;
	color: #004280;
	padding: 4px 0;
	padding-left: 10px;
	font-size: 14px;
}
.corporate-content-sidebar ul li.nav-heading {
	font-size: 16px;
	font-weight: bold;
	margin-left: 10px;
	padding: 4px 0;
}
.corporate-content-sidebar ul li.nav-heading a {
	display: inline;
	color: #4d4d4d;
	font-weight: bold;
	padding-left: 0px;
	line-height: 20px;
}
.corporate-content-sidebar ul li.nav-heading:hover a {
	color: #004280;
	background: #fff;
}
.corporate-content-sidebar ul li.nav-heading img {
	padding: 0px 0px 1px 5px;
}
/*------------------------*/

.filter-wrapper {
	width: 100%;
}
.filter-wrapper .categoriesLevel-1 > li {
	list-style-type: none;
}
.filter-wrapper .categoriesLevel-1 > li:first-child {
	padding-top: 0px;
}
.filter-wrapper .categoriesLevel-2 {
	display: none;
	width: 100%;
	height:auto;
	float: none;
	padding: 0;
	background: #f3f3f3;
	margin-top: 40px;
	border-top: #fff 2px solid;
}

.filter-wrapper .categoriesLevel-2 .categoriesLevel-2-inner {
	width:100%;
	height:100%;
	overflow: scroll;
	overflow-x: hidden;
}

@media screen and (max-width: 768px) {
.filter-wrapper .categoriesLevel-2 {
	margin-top: 14px;
}
}
/*--------------------------
  Topice menu - Overlay
----------------------------*/
.topice-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	padding-top: 450px;
	z-index: 3 !important;
	background: #000;
	opacity: .8;
}
/*------------------------*/

.interactive-btn {
	background-color: transparent;
	font-size: 16px;
	line-height: 1.7em;
	padding: 6px 35px 6px 35px;
	display: block;
	text-decoration: none;
	color: #406180;
	text-align: center;
	border: #406180 2px solid;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width:auto;
	height:41px;
	overflow:hidden;
}
.filter-inner .sub-filter-topic{ max-width:60%; margin-right:10px;}


.interactive-btn span {
	display: block;
	float: right;
	width: 12px;
	height: 8px;
	margin: 8px 0 0 10px;
	vertical-align: middle;
	background-image: url(https://advcloudfiles.advantech.com/ceres/css/css-img/arrow-down.png);
	background-repeat: no-repeat;
	background-position: right;
}
.interactive-btn:hover, .interactive-btn:active, .interactive-btn:focus {
	text-decoration: none;
}
.interactive-btn.on span {
	background-image: url(https://advcloudfiles.advantech.com/ceres/css/css-img/arrow-up.png);
	background-repeat: no-repeat;
	background-position: right;
}
/*-------------------------
       Topic Filter Btn
--------------------------*/

.filter-inner {
	position: relative;
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
}
.filter-inner .sub-filter-topic {
	top: -200px;
	float: left;
}
/*---------------------------------------------------
      Main filter style
-----------------------------------------------------*/

#advan-resources .main-filter {
	width: 100%;
	padding: 40px 0;
	background: #f2f2f2;
	display: block;
	font-size: 16px;
	min-height: 45px;
}
#advan-resources .main-filter .main-filter-topic {
	position: absolute;
	width: 100%;
}
.topic-z {
	z-index: 6;
}
#advan-resources .main-filter .sub-filter-type {
	float: right;
}
#advan-resources .main-filter .sub-filter-type form select {
	border: solid 1px #ccc;
	font-size: 16px;
	line-height: 1.5em;
	float: right;
	padding: 10px 20px 10px 5px;
	color:#333;
	font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
}
#advan-resources .main-filter .sub-filter-type form select option {
	font-size: 16px;
	display: block;
	height: 50px;
}


/*--------------------------------------------------
  Card - 3 columns outer frame
---------------------------------------------------*/
.adv-resource .col-3 {
	width: 100%;
	max-width:100%;
}

.adv-resource .col-3 .col-inner {
	width: 33.333%;
	float: left;
	
}

.adv-resource .col-3.card-group .card-item .card-item-wrapper {
     min-height: 380px;
}

/*--------------------------------------------------
  Card - 4 columns outer frame
---------------------------------------------------*/

.adv-resource .col-4 .col-inner {
	width: 25%;
	float: left;
}

.adv-resource .col-4.card-group .card-item .card-item-wrapper {
	min-height: 320px;
}

/*--------------------------------------------------
  Card - 5 columns outer frame
---------------------------------------------------*/

.adv-resource .col-5 .col-inner {
	width: 20%;
	float: left;
}

.adv-resource .col-5.card-group .card-item .card-item-wrapper {
	min-height: 310px;
}

.adv-resource .col-5.card-group .card-item .card-item-wrapper .textWrap h3 {
	max-height: 2.6em;
	overflow: hidden;
}
.adv-resource .col-5.card-group .card-item .card-item-wrapper .textWrap h4 {
	max-height: 4.5em; /* 3 lines of text */
	overflow: hidden;
}

/* only for hover*/
.adv-resource .col-5.card-group .card-item .card-item-wrapper .card-item-top .textWrap h4 {
	max-height:6em;
}




/*for Related Products Pages*/

.adv-resource .col-5.square-item .card-item-wrapper .card-item-content .imgWrap{
    max-width:  100%;
	height: 150px;
    position: relative;
    font-size: 0;
}

.adv-resource .col-5.square-item .card-item-wrapper .card-item-content .imgWrap .img-inner{
  width:100%; 
  height: 100%;
  position: absolute;
  text-align: center;
}

.adv-resource .col-5.square-item .card-item-wrapper .card-item-content .imgWrap img {
     max-width: 100%; 
     max-height: 100%;
     width: auto;
     height: auto;
     display: inline-block;
     vertical-align: middle;
}

.adv-resource .col-5.square-item .card-item-wrapper .card-item-content .imgWrap .img-inner:before{
     content: ' '; 
     display: inline-block;
     height: 100%;
     width: 0;
     vertical-align: middle;
}
	

/*--------------------------------------------------
  Card Style (Shared with the detail page)
---------------------------------------------------*/
.adv-resource{
	position:relative;
	/* margin: 0px -20px; */
}

.adv-resource .card-group {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*margin: 0px -10px;*/
	
}
.adv-resource .card-group .card-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 20px;
	list-style: none;
	display: block;
}

.adv-resource .card-group .card-item .card-item-wrapper {
	border: #ccc 1px solid;
	position: relative;
}

.adv-resource .card-group .card-item .card-item-wrapper a {
	color: #ffffff !important;
}

.adv-resource .card-item-wrapper .textWrap h3 {
	font-size: 18px;
	line-height: 1.3em;
	max-height: 3.9em;
	overflow: hidden;
	font-weight: normal;
	margin-bottom: 10px;
}
.adv-resource .card-item-wrapper .textWrap h4 {
	font-size: 14px;
	line-height: 1.5em;
	max-height: 7.5em; /* 5 lines of text */
	overflow: hidden;
	font-weight: normal;
	margin-top: 10px;
}

/*Card  - With images */

.card-item-wrapper .card-item-content .imgWrap {
	position: relative;
	text-align: center;
	overflow: hidden;
	border-bottom: #ccc 1px solid;
}
.card-item-wrapper .card-item-content .imgWrap img {
	width: 100%;
	height: auto;
}

.card-item-wrapper .card-item-content .imgWrap .img-inner{
  width: 100%;
  margin:0 auto;
  height: 0;
  padding-bottom: 56.2%;
  overflow: hidden;
}



/*----------------------------------------------------------------------------*/
/* Text setting */

.card-item-wrapper .card-item-content .textWrap {
	padding: 20px;
	min-height: 4.5em;
}

.card-item-wrapper .card-item-content .textWrap h3 {
	color: #004280;
}
.card-item-wrapper .card-item-content .textWrap h4 {
	color: #4d4d4d;
}
.card-item-wrapper .card-item-content .textWrap .textInfo {
	position: absolute;
	bottom: 20px;
	z-index: 2;
}
/*Shared with the detail page*/
.adv-resource .textInfo {
	font-size: 14px;
	color: #999;
	font-weight:normal;
}

/*---------------------------------------------------------------------------------------*/


/*Card - with shadow */
.card-group .card-item::after {
	content: "";
	display: block;
	height: 4px;
	background: #f3f3f3;
	margin: 0 2px;
}

/*Card - Without images*/
.card-item-wrapper.noPic .card-item-content .imgWrap {
	text-align: center;
	height: 45px;
	overflow: hidden;
	border-bottom: #ccc 1px solid;
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/card-title.png) no-repeat right, rgba(4, 25, 45, 0.95);
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/card-title.png) no-repeat right, -webkit-linear-gradient(90deg, rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/card-title.png) no-repeat right, -o-linear-gradient(90deg, rgba(64, 97, 128, 0.95));
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/card-title.png) no-repeat right, -moz-linear-gradient(90deg, rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/card-title.png) no-repeat right, linear-gradient(90deg, rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
}


/* Card - Video */
.card-item-wrapper.videoItem .card-item-content .imgWrap span {
	position: absolute;
	padding: 8px 10px;
	background: #002140;
	opacity: .9;
	font-size: 14px;
	bottom: 10px;
	left: 10px;
}
.card-item-wrapper.videoItem .card-item-content .imgWrap .play-icon {
	position: absolute;
	width: 70px;
	height: 70px;
	top: 50%;
	left: 50%;
	margin-top: -32px;
	margin-left: -32px;
	font-weight: 100;
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/play-icon2.png) no-repeat;
}

/* Card - Vertical images*/
.card-item-wrapper.verticalItem .card-item-content .imgWrap {
	position: relative;
    max-width:100%;
	height: 0;
	padding-bottom:56.2%;
    font-size: 0;
	background-image: url(https://advcloudfiles.advantech.com/ceres/css/css-img/Item-img-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	
}

.card-item-wrapper.verticalItem .imgWrap .img-inner{
  width:100%; 
  height: 100%;
  position: absolute;
  text-align: center;
  padding:5%;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.card-item-wrapper.verticalItem .card-item-content .imgWrap img {
     max-width: 100%; 
     max-height: 100%;
     width: auto;
     height: auto;
     display: inline-block;
     vertical-align: middle;	
}

.card-item-wrapper.verticalItem .imgWrap .img-inner:before{
     content: ' '; 
     display: inline-block;
     height: 100%;
     width: 0;
     vertical-align: middle;
}

/*--------------------------------------------------------
  Card Style - Hover
--------------------------------------------------------*/
.card-group .card-item .card-item-wrapper .card-item-top {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(4, 25, 45, 0.95);
	background: -webkit-linear-gradient(rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	background: -o-linear-gradient(rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	background: -moz-linear-gradient(rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	background: linear-gradient(rgba(64, 97, 128, 0.95), rgba(4, 25, 45, 0.95));
	opacity: 0;
	z-index: 1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 1.5em;
	padding: 20px;
	
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;

}
.card-group .card-item:hover .card-item-top {
	opacity: 1;
}

.card-group .card-item {
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.card-group .card-item:hover {
	-moz-transform: translateY(-3px);
	-webkit-transform: translateY(-3px);
	-o-transform: translateY(-3px);
	-ms-transform: translateY(-3px);
	transform: translateY(-3px);
}


.card-item-wrapper .card-item-top .textWrap h4::before {
	content: "";
	display: block;
	height: 1px;
	background: #fff;
	opacity: .2;
	margin-top: 5px;
	margin-bottom: 15px;
}
/* only for hover*/
.card-item-wrapper .card-item-top .textWrap h4 {
	max-height:9em;
}

/*----------------------------------------
   Card - More Btn
----------------------------------------*/

.card-moreBtn {
	display: table;
	width: 100%;
	margin: 50px 0 70px 0;
	color: #004280;
	font-size: 14px;
}
.card-moreBtn span {
	display: table-cell;
	padding: 0 10px;
	position: relative;
	bottom: -5px;
	white-space: nowrap;
}
.card-moreBtn span.arr {
	bottom: -2px;
	padding-left: 0;
	font-size: 18px;
}
.card-moreBtn:after, .card-moreBtn:before {
	content: '';
	width: 50%;
	display: table-cell;
	border-bottom: #e5e5e5 2px solid;
}

/*----------------------------------------
  Topic Menu Item
----------------------------------------*/

.topic-group {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: -5px;
	margin-left: -5px;
}
.topic-group .topic-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	padding-right: 5px;
	padding-left: 5px;
	margin: 10px 0;
	list-style: none;
	display: block;
}
.topic-group .topic-item .topic-item-wrapper {
	position: relative;
	/*height: 50px;*/
	font-size: 0;
}

.topic-group .topic-item .topic-item-wrapper a:link{
	display:block;
	height: 50px;
}

.topic-group .topic-item .topic-item-wrapper a:hover .textWrap {
	color: #004280;
	/*text-decoration: underline;*/
}
.topic-group .topic-item .topic-item-wrapper span {
	float: left;
	position: absolute;
	top: 50%;
	/*transform: translateY(-50%);*/
}
.topic-group .topic-item .topic-item-wrapper .imgWrap {
	width: 20%;
	height: 30px;
}
.topic-group .topic-item .topic-item-wrapper .textWrap {
	width: 80%;
	color: #333;
	color: #004280;
	font-size: 16px;
	line-height: 1.3em;
	margin-left: 35px;
}

/*icon*/
.topic-group .topic-item .topic-item-wrapper .topic-icon {
	background: url(https://advcloudfiles.advantech.com/ceres/css/css-img/filter-topic-icon.png) no-repeat;
	-webkit-transition: -webkit-transform 0.2s linear;
	-moz-transition: -moz-transform 0.2s linear;
	-o-transition: -o-transform 0.2s linear;
	transition: transform 0.2s linear;

}

.topic-group .topic-item .topic-item-wrapper a:hover .topic-icon {	
-moz-transform:translate(5px,0);
-webkit-transform:translate(5px,0);
-o-transform:translate(5px,0);
-ms-transform:translate(5px,0);
transform:translate(5px,0);
}

/*----------------------------------------------------
  Resources - Detail page 
------------------------------------------------------*/

#advan-resources .main-filter-bar {
	height: 8px;
	background: #f3f3f3;
}
#advan-resources .resources-article {
	padding-top: 40px;
}
#advan-resources .related-item:before {
	content: '';
	height: 4px;
	width: 100%;
	display: block;
	background: #f2f2f2;
}
#advan-resources .related-item .related-item-subtitle {
	font-size: 26px;
	font-weight: normal;
	margin-bottom: 20px;
	margin-top:20px;
	/*padding-left: 5px;
	padding-right: 5px;*/
}
#advan-resources .resources-article-content {
	padding-bottom: 30px;
}
.resources-sharing {
	margin-bottom: 30px;
}

/*----------------------------------
  Setting of jQ portamento
  Topic Menu Stick to the top
------------------------------------*/

#portamento_container {
	position: relative;
	width: 100% !important;
	min-height:40px!important;
	/*padding:40px 0;*/
}
#portamento_container #nav-sidebar {
	/*position: absolute;*/
	width: 100%;
	z-index: 10;
}
#portamento_container #nav-sidebar.fixed {
	position: fixed;
	top: 0 !important;
}
#portamento_container #nav-sidebar.fixed .main-filter {
	padding: 15px 0;
	background: #f2f2f2;
	opacity: 1;
}
#portamento_container #nav-sidebar.fixed .filter-wrapper .categoriesLevel-2 {
	margin-top: 13px;
}

/*----------------------------------------------------------------------
  ----------------------------------------------------------------------
  RWD Style 
  ----------------------------------------------------------------------
  ----------------------------------------------------------------------*/

@media screen and (max-width: 960px) {
.adv-resource .col-4 .col-inner,
.adv-resource .col-5 .col-inner {
	width: 33.333%;
}

.adv-resource .col-3.card-group .card-item .card-item-wrapper {
	min-height: 350px;
}

}

@media screen and (max-width: 768px) {
.adv-resource .col-3 .col-inner,
.adv-resource .col-4 .col-inner,
.adv-resource .col-5 .col-inner {
	width: 50%;
}


/*Card of one*/	
.card-item-wrapper .card-item-content .imgWrap {
	overflow: hidden;
}

/*Main Filter*/
#advan-resources .main-filter {
	padding: 15px 0;
	min-height: 95px;
}
#advan-resources .main-filter .sub-filter-topic {
	clear: both;
	width: 100%;
	margin-bottom: 10px;
}
#advan-resources .main-filter .sub-filter-type {
	clear: both;
	width: 100%;
}
#advan-resources .main-filter .sub-filter-type form select {
	width: 100%;
}

.filter-inner .sub-filter-topic{ max-width:100%;}



}

@media screen and (max-width: 480px) {
.adv-resource .col-3 .col-inner,
.adv-resource .col-4 .col-inner,
.adv-resource .col-5 .col-inner {
	width: 100%;
}


/*Main Filter*/
.topic-group {
	margin-bottom: 0;
	margin-top: 0;
}
.topic-group .topic-item {
	margin-bottom: 0px;
}
/*Card of one*/
.card-item-wrapper .card-item-content .imgWrap {
	overflow: hidden;
}
}



/*------------------------------------------
  For Advance DetailBox
-------------------------------------------*/

.advance-detailBox {
  display: none;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
  overflow: auto;
  position: fixed;
  z-index: 5001;
  opacity: 0;
  background:#fff;
}

.advance-detailBox.detailBox-open {
  display: block;
  opacity: 1;
}

/*for body scroll-bar*/
.overflow-hidden{
  overflow: hidden;
}



/*------------------------------------------
  START loading animated
  Source : http://tobiasahlin.com/spinkit/
-------------------------------------------*/
.sk-three-bounce-relative,
.sk-three-bounce-absolute{
	display:none;
}

.sk-three-bounce-relative.sk-open,
.sk-three-bounce-absolute.sk-open{
	display:block;
}


/*Full Page Setting with overlay*/
.sk-three-bounce-absolute .sk-three-bounce{
    top:50%;
	left:50%;
	position:fixed;
	z-index:5003;
	margin-left:-40px;
}
.sk-three-bounce-absolute::after {
	content: "";
	width:100%; 
	height:100%; 
	position:fixed; 
	z-index:5002; 
	background:#fff; 
	opacity:.7;
}

/*--------*/

.sk-three-bounce {
  margin: 40px auto;
  width: 80px;
  text-align: center; }
.sk-three-bounce .sk-child {
    width: 20px;
    height: 20px;
    background-color: #004280;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
            animation: sk-three-bounce 1.4s ease-in-out 0s infinite both; }
.sk-three-bounce .sk-bounce1 {
    -webkit-animation-delay: -0.32s;
            animation-delay: -0.32s; }
.sk-three-bounce .sk-bounce2 {
    -webkit-animation-delay: -0.16s;
            animation-delay: -0.16s; }
	
@-webkit-keyframes sk-three-bounce {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes sk-three-bounce {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1); } }
			
/*------------------------------------*/		

