/*
 Theme Name:   SimplicityZen Child
 Theme URI:    http://www.kenming.idv.tw
 Description:  The child theme based on SimplicityZen
 Author:       Kenming Wang
 Author URI:   http://www.kenming.idv.tw
 Template:     simplicityzen
 Version:      1.0.0
 Tags:         custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 Text Domain:  simplicityzen-child
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Header
# Elements
# Navigation
# FrontPage
# Blog Posts
# Single Post
# courses custom type
# Product Area
# Comment Area
# Sidebar
# Footer Area

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#masthead {
    margin-bottom: 20px;
}

.head-footer form {
    margin : 16px 16px 0 0;
}

input[type="submit"] {
    font-size : 0.95rem;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
#content a,
  #content a:visited {
    color : #0056C4;
}

#content a {
    text-decoration: none;
}

h1.site-title, p.site-title {
    margin: 4px 0 0 -2px;
	font-size: 24px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
nav.navbar .site-branding a,
  nav.navbar .site-brandinga:visited{
    color : #5191DC !important;
}

nav.navbar #menu-primary-menu li a,
  nav.navbar #menu-primary-menu li a:visited{
    color : #1a1a1a !important;
}

nav.navbar #menu-primary-menu li a:hover, 
  nav.navbar #menu-primary-menu li a:active{
    background : #F8F9FA !important;
    color : #1D93CA !important;
}

nav.navbar #menu-primary-menu .dropdown-menu {
    margin : 0 10px;
    padding : 2px 6px;
    font-size : 14px;
}

nav.navbar ul#menu-primary-menu li#menu-item-21072 {
    border-bottom: 1px solid darkgray;
}

.content-area nav ul.pagination li.active a{
    color : #F8F9FA !important;
}

/*--------------------------------------------------------------
# FrongPage
--------------------------------------------------------------*/
.boxes{
    text-align: center;
    background:#fff;
    margin: 0 12px 24px 12px;
}

.box{
    padding:15px;
    border:#ccc 1px solid;
}

/* 最新課程與產品資訊 */
section.front-recent-courses {
    margin : 10px;
}

section.front-recent-courses .card-body {
    padding : 1px 4px 6px 4px;
    text-align: center;
}

section.front-recent-courses img.card-img-top {
    width : 340px;
    height : auto;
}

section.front-recent-courses .card-body h5.card-title {
    font-size : 17px;
    font-weight: bolder;
    text-align: left;
    padding-left : 4px;
    margin : 4px 0;
}

section.front-recent-courses .card-body h6.card-sub-title{
    font-size: 13px;
    font-weight: bolder;
    font-family: "Comic Sans MS", sans-serif, Arial;
    color : red;
    padding-bottom: 4px;
    border-bottom: 1px solid #CCC;
}

section.front-recent-courses .card-body p.card-text {
    font-size: 14px;
    margin-bottom: 2px;
}

section.front-recent-courses .card-body .read-more {
    display : inline-flex;
    float : right;
    font-size: 14px;
    border-radius: 2px;
    border : 1px solid rgb(180, 230, 230);
    padding : 4px;
}

.more-courses {
    margin-bottom : 16px;
}

/* 最新文章與軟體專欄 */
section.front-recent-posts .card {
    margin : 10px 12px 10px 12px; 
    align-content: center;
}

section.front-recent-posts .card-group .read-more a,
  section.front-recent-posts .card-group .read-more a:visited {
    display : inline-block;
    background-color: #231598;
    color : #fff !important;
    padding : 10px;
    margin-bottom: 16px;
    text-decoration: none;
    border-radius: 3px;
    border : 1px solid #0F3647;
}

section.front-recent-posts .card-group .read-more a:hover {
    background-color: #0F3647;
}

section.front-recent-posts .card-img-top img {
    width : 480px;
    height : auto;
    padding : 0 10px 0 10px;
    align-content: center;
}

section.front-recent-posts .card-body {
    padding : 4px 0 0 0;
    text-align : center;
}

section.front-recent-posts .card-body h5.card-title {
    font-size : 1rem;
    padding : 4px 6px;
}

/*--------------------------------------------------------------
# Blog Posts
--------------------------------------------------------------*/
article {
	color : #333333;
	margin-left : 2px;
	margin-bottom : 12px;
    padding : 10px 16px;
    font-family : 微軟正黑體, Verdana, "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
	border : 2px solid #eee8aa;
}

article a {
    text-decoration: none;
}

article header.entry-header h2.entry-title {
	color : #517ED0;
    font-size : 24px;
    font-size : 1.5 rem;
	font-weight : bold;
	line-height : 1.5;
	margin : 4px 6px 0 2px;
}

article header.entry-header h2.entry-title a,
  article header.entry-header h2.entry-title a:visited{
    text-decoration: none;
	color: #517ED0;
}

article blockquote {
    background-color: #F4F5F7;
    border: 1px dashed #CCC;
    padding: 5px 10px;
    margin: 12px 20px;
}

article blockquote, q {
    quotes: none;
}

article .entry-content p {
    font-size: 16px;
    font-size: 1rem;
    margin-top: 8px;
    margin-bottom: 14px;
}

article .entry-content ul,
  article .entry-content ol {
    margin : 16px 0;
    padding : 0;
}

article .entry-content ul li,
  article .entry-content ol li {
      margin : 0 0 12px 24px;
  }

article .entry-content a.more-link {
    display : inline-block;
    background-color: #231598;
    color : #fff !important;
    padding : 6px;
    margin: 16px 0 10px 4px;
    text-decoration: none;
    border-radius: 3px;
    border : 1px solid #0F3647;
}

article .entry-content a.more-link:hover {
    background-color: #0F3647;
}

article footer.entry-footer {
    margin : 10px 0 5px 0;
}

article footer.entry-footer .tag {
    margin-top : 6px;
}

article footer.entry-footer .tag a {
    display : inline-block;
    text-decoration: none;
    border : 1px solid #D3D3D3;
    padding : 2px;
    color : #696969;
}

article footer.entry-footer .addtoany_shortcode {
    margin-bottom : 10px;
}


/*--------------------------------------------------------------
# Single Post Content
--------------------------------------------------------------*/
.single-post a {
    text-decoration: none;
}

.single-post .navbar ul.nav li.nav-item a,
  .single-post .navbar ul.nav li.nav-item a:visited {
    color: #517ED0;
}

.single-post .navbar ul.nav li.nav-item a:hover,
  .single-post .navbar ul.nav li.nav-item a:active{
    color : #f5f5dc !important;
    background-color: rgb(51, 69, 233);
}

.single-post article .entry-content .box{
    border:#ccc 1px solid;
    margin : 18px 0;
    padding : 5px 12px 12px 12px;
}

.single-post article .entry-content h4{
    font-weight: bold;
    color : #356db6;
    padding-top: 16px;
}

.single-post article .entry-content h5{
    font-weight: bold;
    color : #719acf;
    padding-top: 8px;
}

.single-post article .entry-content h6{
    font-weight: bold;
    color : #719acf;
}

/* Course Signup butoon */
.single-post article.courses .entry-content h5 a.fasc-button {
    background-color: #5FBF5F !important;
    color: #fff !important;
    border : 2px solid #5FBF5F;
    border-radius: 5px 5px 0 0;
    padding : 6px;
}

.single-post article .entry-content img{
    margin-top : 12px;
}

.single-post .navigation {
    margin-top : 16px;
    margin-bottom : 20px;
}

/* Table Style */
.single-post article table {
    border: 1px solid #429fff; /* 表格邊框 */
    border-collapse: collapse; /* 邊框重疊 */
}

.single-post article table th {
    border: 1px solid #429fff; /* 行、列名稱邊框 */
    font-weight: bold;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

.single-post article table thead th {
    background-color: #d2e8ff;
}

.single-post article table thead tbody {
    background-color: #F5F1F5;
}
  
.single-post article table td {
    height : 50px;
    border: 1px solid #429fff; /* 儲存格邊框 */
    text-align: left;
    padding: 4px;
}

/* 延伸參考資訊 */
.single-post .extra-info {
    font-size: 15px;
    border: 2px solid #eee8aa;
    margin : 0 1px 0 1px;
}

.single-post .extra-info ul {
    margin : 16px 0 16px 6px;
    padding : 0;
}

.single-post .extra-info .thisday {
    margin : 1em;
}

.single-post .extra-info p {
    font-size : 16px;
    margin : 6px 0 6px 5px;
}

.single-post .extra-info a,
  .single-post .extra-info a:link {
    text-decoration: none;
    font-weight: normal;
}

.single-post .extra-info .yarpp-related {
    margin-left : 8px;
}

.single-post .extra-info ul li {
    list-style : disc;
    margin-bottom: 6px;
}

/*--------------------------------------------------------------
# Archive List for course custom type
--------------------------------------------------------------*/
.courses-list table {
    border: 1px solid #429fff; /* 表格邊框 */
    border-collapse: collapse; /* 邊框重疊 */
}

.courses-list table caption {
    caption-side: top;
    text-align: left;
    margin-bottom: 16px;
    padding : 3px 10px 2px 5px;
    font-weight: bold;
    font-size: 1.6rem;
    color : #517ED0;
    background-color: #f0f7ff;
    border: 1px solid #429fff; /* 表格標題邊框 */
}

.courses-list table tbody tr:nth-child(even) {
    background : #F4F5F7;
}
.courses-list table tbody tr:nth-child(odd) {
    background : #FDFDFA;	/* 米白色 */
}

.courses-list table th {
    border: 1px solid #429fff; /* 行、列名稱邊框 */
    background-color: #d2e8ff;
    font-weight: bold;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

.courses-list table td {
    height : 50px;
    border: 1px solid #429fff; /* 儲存格邊框 */
    text-align: right;
    padding: 4px;
  }

.courses-list table tbody tr td a,
  .courses-list table tbody tr td a:visited {
    color : #517ED0;
}

.courses-list table tbody tr td a:hover {
    background : #f5f5dc;
}

.courses-list table tfoot tr td ol {
    margin-left : 10px;
    padding : 10px;
    list-style: none;
    counter-reset: li;
}

.courses-list table tfoot tr td ol li::before {
    content: counter(li);
    color: red;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.courses-list table tfoot tr td ol li {
    counter-increment: li;
}

/*--------------------------------------------------------------
# Product Area
--------------------------------------------------------------*/
#ealogoimage {
    margin-top: 0px;
    width: 36px;
}

.blue_ea {
    color: #00356b;
}

.orange_ea {
    color: #ff9900;
}

nav#navbar-eaprice ul {
    margin: 0;
}

.page-ea-pricing article header {
    margin: 18px 0 64px;
}

.page-ea-pricing article header .ea-logo-header {
    margin-bottom: 18px;
}

.page-ea-pricing article header ul.ea-pricing-note {
    font-size: 1.2rem;
}

.page-ea-pricing article section {
    margin-bottom: 48px;
}

.page-ea-pricing article section h2 {
    font-size: 3.8em;
    font-weight: 400;
    color: #666;
    margin: 0px;
    font-family: "Roboto",sans-serif;
}

.page-ea-pricing article section h3 {
    font-size: 1.3em;
    color: #666;
    margin: 16px;
    font-family: "Roboto",sans-serif;
}

.ea-logo-header {
    display: inline-block;
    font-weight: 800;
    vertical-align: top;
    font-size: 32px;
}

.page-ea-pricing article section .card {
    margin: 40px auto 10px auto;
    width: 88%;
    border: solid 1px #D6D6D6;
    padding: 10px 0px 0px 0px;
    border-radius: 15px;    
}


/*--------------------------------------------------------------
# Comment Area
--------------------------------------------------------------*/
#comments {
    margin-top : 24px;
}

.single-post .navigation, .comment-navigation {
    margin-top : 8px;
    margin-bottom: 8px;
}

.comments-area h4.comments-title {
    font-family: "Comic Sans MS", sans-serif, Arial;
}

.comments-area article {
    border : none;
    margin-bottom: 0;
}

.comments-area article footer {
    margin-bottom: 8px;
}

.comments-area article footer.comment-meta time {
    font-family: "Comic Sans MS", sans-serif, Arial;
    font-size: 13px;
}

.comments-area ol.comment-list {
	margin: 0;
	padding: 0;
}
.comments-area ol li {
	list-style:none;
}

.comments-area ol.comment-list li.comment {
    border : 1px solid #eee8aa;
    margin-bottom : 8px;
}

.comments-area ol.comment-list li.comment .comment-respond {
    margin : 0 12px;
}

.comment-respond {
    margin-top : 28px;
}

.comment-respond small {
    font-family: "Comic Sans MS", sans-serif, Arial;
    font-size: 14px;
}


/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

aside.widget-area .widget {
    font-size: 16px;			/* default sidebar font size */
    font-size: 1rem;			/* default sidebar font size */
	margin-right: 10px;
	margin-bottom: 12px;
	border: 1px solid #EEE8AA;
}

aside.widget-area .widget a:link,
  aside.widget-area .widget .wp-widget a:visited{
	color: #006ED8;
	text-decoration:none;
}
aside.widget-area .widget a:hover{
	color: #006400;
	font-weight: bold;
	background: #F0FFF0;
	text-decoration: none;
}
aside.widget-area .widget h2.widget-title {
	background: #f5f5dc;
	text-align: center;
    font-size: 18px;
    font-size: 1.2rem;
	font-weight: bold;
	font-family: "Comic Sans MS Bold", sans-serif, Arial;
}

aside.widget-area .widget ol,
  aside.widget-area .widget ul{
    margin-left : 8px;
    padding : 2px 6px 2px 0;
    text-align : left;
	list-style-position: inside;
}

aside.widget-area .widget ul li,
  aside.widget-area .widget ul li ul li {
	list-style: none;	 /* 將原本的項目符號設為隱藏 */
}

aside.widget-area .widget ul li.cat-item::before {
    font-family : 'Font Awesome 5 Free';
    font-weight : 900;
    content : "\f02d";
    display : inline-block;
    width : 25px;
    color :#ADD8E6;
}

aside.widget-area .widget ul li.cat-item ul.children li.cat-item::before{
    content : "\f35a";
}

/* Archive */
aside.widget-area .widget select {
    border:1px solid #CCCCCC;
	font:12px Tahoma,Arial,sans-serif;
	margin:5px 0 10px 12px;
	padding:5px !important;
	width:185px;
}

/* recent post by thumbnail plugin */
.widget .rpwwt-widget ul li {
    margin-bottom : 6px;
}

/* nav-tab */
.widget .tabbed-content a:hover,
.widget .tabbed-content a:focus{
    text-decoration: none;
    outline: none;
}
.widget .tabbed-content .nav-tabs{
    border: none;
    border-bottom: 2px solid #079fc9;
    margin: 0;
}
.widget .tabbed-content .nav-tabs li a{
    padding: 10px 20px;
    margin: 0 10px -1px 0;
    font-size: 17px;
    font-weight: 600;
    color: #293241;
    text-transform: uppercase;
    border: 2px solid #e6e5e1;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
}
.widget .tabbed-content .nav-tabs li a:hover,
.widget .tabbed-content .nav-tabs li.active a{
    background: #fff;
    color: #079fc9;
    border: 2px solid #079fc9;
    border-bottom-color: transparent;
}
.widget .tabbed-content .nav-tabs li a:before{
    content: "";
    display: block;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

/* custom recent comments */
ul.widget-recent-comments {
    margin : 12px 0;
}

ul.widget-recent-comments li .author-meta img{
    display: table-cell;
    width : 48px;
    float : left;
}

ul.widget-recent-comments li .author-meta p{
    display: table-cell;
    padding-left : 0.8rem;
    vertical-align: middle;
}

ul.widget-recent-comments li p.comment-body {
    margin-top : 8px;
    padding-top : 8px;
    font-size : 0.85rem;
}

/* custom random posts */
ul.widget-rand-posts {
    margin : 12px 0;
}

ul.widget-rand-posts li {
    overflow: hidden;
}

ul.widget-rand-posts li img {
    display : table-cell;
    float : left;
    width : 80px;
    height: 80px;
    margin : 0.3rem 0.75rem 0.75rem 0;
}

/*--------------------------------------------------------------
# Footer Area
--------------------------------------------------------------*/
.site-footer {
    background : #fafdfdfd;
    margin : 16px 0;
    padding-top : 6px;
    border : 1px solid #cef0f5fd;
}

.site-footer a, 
  .site-footer a:visited {
    color : #0056C4;
    text-decoration: none;
}

.site-footer .site-info {
    margin : 10px 0;
}

.site-footer .site-info .site-logo {
    margin-bottom : 12px;
}

.site-footer .site-info .contact ul{
    margin : 0 2px;
    padding : 2px;
    list-style: none;
}

.site-footer .site-info .contact h5,
  .site-footer .site-info .personal h5{
    font-family: "Comic Sans MS", sans-serif, Arial;
}

.site-footer .site-info .copyright {
    font-family: "Comic Sans MS", sans-serif, Arial;
    color : #CCCCCC;
    padding-top : 20px;
}

.site-footer .site-info .social-icons {
    text-align : left;
}

.site-footer .site-info .social-icons .icon{    
    background : #55C9FF;
    display: inline-block;
    color: #ffffff !important;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    vertical-align: middle;
    margin: 0 1px 8px;
    -webkit-border-radius: 18px; 
    -moz-border-radius: 18px; 
    border-radius: 18px; 
}

.site-footer .site-info .social-icons a.facebook{
    background: #5577CE;
}

.site-footer .site-info .social-icons a.twitter {
    background : #55C9FF;
}

.site-footer .site-info .social-icons a.youtube {
    background : #FA3939;
}

.site-footer .site-info .social-icons a.googleplus {
    background : #D63D36;
}

.site-footer .site-info .social-icons a.line {
    background : #82C91E;
}

.site-footer .site-info .social-icons a.flickr {
    background : #FF0084;
}

.site-footer .site-info .social-icons a.github {
    background : #282828;
}