/*
Theme Name: Radeon2
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radeon2
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Radeon2 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: 'Conv_Effra_Lt', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: 'Conv_Effra_Lt', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
    padding: 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    line-height: 1;
    padding: .6em 1em .4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited {
    color: #db0436;
!important;
}

a:hover,
a:focus,
a:active {
    color: white;
!important;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: block;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row.nomargin {
    margin: 0;
}

/*--------------------------------------------------------------
## Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Conv_Effra_Rg';
    src: url('fonts/Effra_Rg.eot');
    src: local('☺'), url('fonts/Effra_Rg.woff') format('woff'),
    url('fonts/Effra_Rg.ttf') format('truetype'),
    url('fonts/Effra_Rg.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_Bd';
    src: url('fonts/Effra_Bd.eot');
    src: local('☺'), url('fonts/Effra_Bd.woff') format('woff'), url('fonts/Effra_Bd.ttf') format('truetype'), url('fonts/Effra_Bd.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_BdIt';
    src: url('fonts/Effra_BdIt.eot');
    src: local('☺'), url('fonts/Effra_BdIt.woff') format('woff'), url('fonts/Effra_BdIt.ttf') format('truetype'), url('fonts/Effra_BdIt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_It';
    src: url('fonts/Effra_It.eot');
    src: local('☺'), url('fonts/Effra_It.woff') format('woff'), url('fonts/Effra_It.ttf') format('truetype'), url('fonts/Effra_It.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_Md';
    src: url('fonts/Effra_Md.eot');
    src: local('☺'), url('fonts/Effra_Md.woff') format('woff'), url('fonts/Effra_Md.ttf') format('truetype'), url('fonts/Effra_Md.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_MdIt';
    src: url('fonts/Effra_MdIt.eot');
    src: local('☺'), url('fonts/Effra_MdIt.woff') format('woff'),
    url('fonts/Effra_MdIt.ttf') format('truetype'),
    url('fonts/Effra_MdIt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_Lt';
    src: url('fonts/Effra_Lt.eot');
    src: local('☺'), url('fonts/Effra_Lt.woff') format('woff'), url('fonts/Effra_Lt.ttf') format('truetype'), url('fonts/Effra_Lt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_LtIt';
    src: url('fonts/Effra_LtIt.eot');
    src: local('☺'), url('fonts/Effra_LtIt.woff') format('woff'), url('fonts/Effra_LtIt.ttf') format('truetype'), url('fonts/Effra_LtIt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_He';
    src: url('fonts/Effra_He.eot');
    src: local('☺'), url('fonts/Effra_He.woff') format('woff'), url('fonts/Effra_He.ttf') format('truetype'), url('fonts/Effra_He.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Conv_Effra_HeIt';
    src: url('fonts/Effra_HeIt.eot');
    src: local('☺'), url('fonts/Effra_HeIt.woff') format('woff'), url('fonts/Effra_HeIt.ttf') format('truetype'), url('fonts/Effra_HeIt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    padding-top: 75px;
    background: url('images/carbon-bg.png') 0 0 repeat;
}

body.page-template-page-scrolling-php {
    padding-top: 50px;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

header#fixed-bar {
    background: #000;
    color: #eee;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

header#fixed-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: 50px;
}

header#fixed-bar li {
    list-style: none;
    display: block;
}

ul.top-left-nav li:first-child a:after {
    content: "|";
    display: inline-block;
    color: #eee;
    margin-right: 5px;
}

ul.top-left-nav img {
    padding: 11px;
}

#fixed-bar .flex {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
}

.language-selector {
    margin-right: 1em;
    position: relative;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

.language-selector img {
    max-height: 30px;
    width: auto;
}

.language-selector.overflow {
    overflow: visible;
}

.language-selector > span, .language-selector > span > span {
    display: block;
    text-align: right;
    font-family: 'Conv_Effra_Lt', sans-serif;
}

.language-selector > span > a {
    color: #eeeeee;
}

ul#menu-top-right-menu li:first-child {
    margin-left: auto;
}

ul#menu-top-right-menu li {
    margin-left: 0;
}

#menu-top-right-menu a {
    padding: 15px;
    color: #9d9d9d;
    text-shadow: none;
    margin-top: 0px;
    font-size: 14px;
    font-family: Conv_Effra_Lt, sans-serif;
}

ul#menu-top-right-menu-chinese li:first-child {
    margin-left: auto;
}

ul#menu-top-right-menu-chinese li {
    margin-left: 0;
}

#menu-top-right-menu-chinese a {
    padding: 15px;
    color: #9d9d9d;
    text-shadow: none;
    margin-top: 0px;
    font-size: 14px;
    font-family: Conv_Effra_Lt, sans-serif;
}

.box-shadow {
    box-shadow: 0 0 10px #000;
}

.top-bar-logo {
    background: #000;
    color: #fff;
}

.top-bar-logo a {
    display: block;
    max-width: 300px;
    padding: 15px;
    width: 20%;
    margin: 0 auto;
}

/*--------------------------------------------------------------
## Hero Section
--------------------------------------------------------------*/

section#hero {
    background-size: cover;
    margin-left: -15px;
    margin-right: -15px;
    font-family: 'Conv_Effra_Lt', sans-serif;
}

.featured-header a {
    display: block;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.featured-header a:hover {
    background: rgba(0, 0, 0, 0.4);
}

.featured-header span {
    color: #9d9d9d;
    font-size: 16px;
    font-weight: bold;
}

.featured-header h1 {
    color: #EFEFEF;
    font-size: 25px;
}

.row.featured-columns > div {
    text-align: center;
    height: 200px;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
}

.row.featured-columns > div:nth-child(1) {
    background: rgba(0, 0, 0, 0.7);
}

.row.featured-columns > div:nth-child(2) {
    background: rgba(0, 0, 0, 0.8);
}

.row.featured-columns > div:nth-child(3) {
    background: rgba(0, 0, 0, 0.95);
}

.row.featured-columns > div > a {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    align-self: center;
    height: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

section#hero a:hover,
section#hero a:link,
section#hero a:visited,
section#hero a:active {
    text-decoration: none;
    outline: none;
    color: inherit;
}

.row.featured-columns > div:nth-child(1):hover {
    background: rgba(0, 0, 0, 0.4);
}

.row.featured-columns > div:nth-child(2):hover {
    background: rgba(0, 0, 0, 0.4);
}

.row.featured-columns > div:nth-child(3):hover {
    background: #db0436;
}

.row.featured-columns a span {
    display: block;
    width: 100%;
}

.row.featured-columns a span small {
    text-transform: uppercase;
    color: #9d9d9d;
    font-size: 14px;
    font-weight: bold;
}

.row.featured-columns a span h2 {
    color: #eeeeee;
    font-size: 22px;
    font-weight: 300;
    margin: 0.3em 0;
}

/*--------------------------------------------------------------
## Blog Features
--------------------------------------------------------------*/

section#category-bar {
    margin-left: -15px;
    margin-right: -15px;
    background: #000;
    font-family: 'Conv_Effra_Lt', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

section#category-bar nav.cats ul {
    margin: 0;
    padding: 0;
}

section#category-bar nav.cats li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

section#category-bar nav.cats li a {
    display: block;
    padding: 15px 25px;
    color: #eeeeee;
    cursor: pointer;
}

section#category-bar nav.cats li a:hover {
    background-color: #343131;
    text-decoration: none;
}

section#category-bar nav.cats li.current-menu-item a {
    background: #db0436;
}

form.search input[type="text"] {
    background: #111;
    color: #ddd;
    outline: none;
    border: none;
    width: 90%;
    margin-top: 10px;
    padding: 5px 10px;
}

section#blog-list {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #1d1d1d;
}

section#blog-list div.article-preview {
    margin-top: 1em;
}

section#blog-list div.article-preview.search:last-child {
    margin-bottom: 6em;
}

section#blog-list article {
    background: #000;
    font-family: 'Conv_Effra_Lt', sans-serif;
    padding-bottom: 15px;
}

.article-preview:nth-child(odd) {
    clear: left;
}

section#blog-list article img {
    display: block;
    width: 100%;
}

section#blog-list article h2 {
    padding: 0 15px;
    margin: 20px 0 10px 0;
    color: #EFEFEF;
    font-size: 16px;
    font-weight: 600;
}

article h2.chinese {
    display: none;
}

body.chinese article h2.chinese {
    display: block;
}

body.chinese article h2.english {
    display: none;
}

section#blog-list article h2 a {
    color: inherit;
}

section#blog-list article span.article-meta {
    display: block;
    margin-left: 15px;
    color: #9d9d9d;
    font-size: 13px;
}

section#blog-list article span.article-meta span.date {
    margin-right: 10px;
}

article span.article-meta span.author {
    color: #db0436;
}

span.article-share ul {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 32px;
    line-height: 32px;
    width: 160px;
    float: right;
}

span.article-share li {
    display: block;
    height: 32px;
    line-height: 32px;
    margin: 0 5px;
    float: left;
}

span.article-share li img, span.article-share li a {
    display: block;
    width: 32px;
    height: 32px;
}

span.tags {
    background: url('/wp-content/uploads/2016/07/tags.png') left center no-repeat;
    padding-left: 32px;
    background-size: 24px;
    color: #db0436;
    display: block;
    margin-top: 1em;
}

section#blog-list article:hover img {
    opacity: 0.6;
}

.alm-btn-wrap {
    text-align: center;
    display: block;
    clear: left;
    width: 100%;
}

button#load-more {
    font-family: 'Conv_Effra_Lt', sans-serif;
    padding: 20px 0px;
    background: transparent;
    box-shadow: none;
    border: none;
    text-shadow: none;
    color: #9d9d9d;
    margin: 1em auto;
    text-align: center;
    width: auto;
}

button#load-more:hover {
    color: #db0436;
}

button#load-more:focus, button#load-more:active, button#load-more:link, button#load-more:visited, button#load-more:hover {
    outline: none;
    border: 0;
}

button#load-more.done {
    color: #1d1d1d;
    cursor: default !important;
}

button#load-more.done:after {
    content: "No more posts to load...";
    opacity: 1;
    color: #ccc;
    display: block;
    margin-top: -15px;
}

body.chinese button#load-more.done:after {
    content: "已显示全部文章";
}

section#video-list {
    background: #181414;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 30px;
}

.video-box {
    margin-bottom: 20px;
}

.video-box:nth-child(4n+5) {
    clear: left;
}

.video-box img {
    display: block;
    width: 100%;
}

.video-box a {
    display: block;
    width: 100%;
    background: #000;
    color: #eeeeee;
}

.video-box a:hover {
    color: #eeeeee;
    text-decoration: none;
    opacity: 0.6;
}

.video-box a span {
    display: block;
    padding: 10px;
    font-family: 'Conv_Effra_Lt', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

#video-player {
    display: none;
    margin: 2em 0 1em 0;
}

#youmax {
    max-width: 100% !important;
    background: none !important;
}

#youmax-header, #youmax-tabs {
    display: none;
}

#youmax #youmax-encloser {
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
    padding-top: 0px;
}

#youmax #youmax-video-list-div {
    background-color: transparent;
    font-family: Conv_Effra_Rg, sans-serif;
    padding: 0px;
}

#youmax .youmax-video-tnail-box {
    background-color: #000;
    color: #EFEFEF;
}

#youmax .youmax-video-list-title {
    color: #EFEFEF;
    display: inline-block;
    padding: 2% 10px;
    padding-bottom: 0px;
    font-weight: normal;
    max-width: 250px;
    max-height: 49px;
    overflow: hidden;
    background-color: #000;
}

#youmax .youmax-video-list-views {
    color: #9d9d9d;
}

#youmax div#youmax-load-more-div {
    height: 40px;
    padding: 10px;
    margin: 0px 30px 15px 30px;
    font-size: 14px;
    border: none;
    color: #9d9d9d;
    cursor: pointer;
    background-color: transparent;
    font-family: Conv_Effra_Lt, sans-serif;
}

#youmax div#youmax-load-more-div:hover {
    color: #db0436;
}

.amdsocial {
    text-align: center;
    padding: 10px;
}

.amdsocial img {
    max-width: 24px;
}

section#twitter-list {
    background: #181213;
    margin: 0 -15px;
}

section#twitter-list * {
    color: #fff;
}

/*--------------------------------------------------------------
## Single Blog Post
--------------------------------------------------------------*/

section.featured-image {
    margin: 0 -15px;
}

section.featured-image img {
    width: 100%;
}

section.blog-content,
.entry-content {
    margin: 0 -15px;
    background: #080a0a;
    background: #212121;
    color: #eee;
    padding: 30px 30px 0 30px;
    font-family: Conv_Effra_Lt, sans-serif;
}

section.blog-content h1,
.entry-content h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 1em 0;
    text-align: center;
}

.blog-content .row {
    margin-left: -30px;
    margin-right: 0;
}

.row.entry-content,
.row.blog-entry-content {
    width: 100%;
}

.entry-content p,
.blog-entry-content p {
    margin-bottom: 10px;
}

.entry-content p:first-of-type::first-letter,
.blog-entry-content p:first-of-type::first-letter {
    color: #db0436;
    font-size: 1.2em;
}

.entry-content a,
.scrolling-sections a,
.blog-entry-content a {
    color: #db0436;
}

.entry-content a:hover,
.scrolling-sections a:hover,
.blog-entry-content a:hover {
    color: #fff;
    text-decoration: none;
}

.nav-links a {
    color: #eee;
}

.post-navs {
    background: #090909;
    margin: 0 -15px;
    padding: 30px;
    font-family: Conv_Effra_Lt, sans-serif;
}

.post-navs.navi {
    border-top: 1px solid #fff;
    display: none;
}

.post-navs nav.navigation.post-navigation {
    margin: 0;
}

.post-navs.comments {
    padding: 0 30px 30px 30px;
    background: #111111;
    color: #eee;
}

div#comments input,
div#comments textarea {
    background: #000;
    color: #eee;
    border: none;
}

div#comments a {
    color: #eee;
}

div#comments label {
    display: block;
    color: #e4e4e4;
}

div#comments input#submit {
    border: none;
    outline: none;
    text-shadow: none;
    box-shadow: none;
    padding: 10px;
    font-size: 12px;
    border-radius: 5px;
    margin-top: 1em;
}

div#comments input#submit:hover {
    cursor: pointer;
    background: #222;
}

/*--------------------------------------------------------------
## Scrolling Pages
--------------------------------------------------------------*/

.scrolling-sections hr {
    margin: 0;
}

section.scroll {
    position: relative;
    background-position: top center;
}

section.scroll img {
    width: 100%;
}

.box {
    width: 40%;
    min-width: 170px;
    max-width: 510px;
    padding: 20px;
    font-family: Conv_Effra_Lt, sans-serif;
    font-size: 18px;
}

.box h1 {
    margin: 0 0 .25em 0;
    font-size: 44px;
}

.box.colour_none {
    background: transparent;
}

.box.colour_white {
    background: rgba(255, 255, 255, 0.7);
}

.box.colour_grey {
    background: rgba(50, 50, 50, 0.7);
}

.box.colour_black {
    background: rgba(0, 0, 0, 0.7);
}

.box.text_white {
    color: #fff;
}

.box.text_grey {
    color: #555;
}

.box.text_black {
    color: #000;
}

a.red.cta {
    background: #db0436;
    color: #fff;
    font-size: 16px;
    padding: 8px 20px;
    display: inline-block;
    margin-top: 1em;
}

.box table th {
    font-size: 19px;
}

@media screen and (max-width: 768px) {
    .scrolling-sections {
        margin-top: 50px;
    }
}

@media screen and (max-width: 960px) {

    .box {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #333 !important;
        color: #fff !important;
        min-width: 0 !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 20px 5% !important;
    }

    .box table {
        width: auto;
        margin: 0 auto;
        text-align: center;
    }

    .box table * {
        text-align: center;
    }

}

.notfound h1 {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20vh 0;
    font-size: 10em;
    color: #db0436;
}

a.open-footnotes {
    color: #fff;
    font-size: 1.3em;
    margin: 1em 0;
    display: block;
}

a.open-footnotes:hover {
    color: #db0436;
}

.thefootnotes {
    display: none;
    color: #fff;
    margin-bottom: 40px;
}

section.related-articles {
    padding-bottom: 30px;
}

section.related-articles > .container {
    padding-right: 45px;
}

section.related-articles h3 {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

footer {
    margin: 0;
    background: #111;
    padding-top: 20px;
    color: #EFEFEF;
    font-family: Conv_Effra_Lt, sans-serif;
}

footer ul {
    margin: 1em 0 0 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5em;
}

footer a,
footer a:link,
footer a:hover,
footer a:active,
footer a:visited {
    color: #EFEFEF;
}

footer .base {
    margin-top: 2em;
    color: #9d9d9d;
    background: #000;
    padding: 20px 30px;
}

nav.footer ul {
    margin-top: 0;
}

nav.footer li {
    display: inline-block;
    margin-left: 20px;
}

nav.footer li a {
    color: #9d9d9d;
}

li.social {
    display: inline-block;
    width: 24px;
    overflow: hidden;
}

li.social a {
    display: block;
    width: 24px;
    height: 24px;
    overflow: hidden;
    text-indent: -999999px;
}

li.social.facebook a {
    background: url('images/icons/facebook.png') center center no-repeat;
}

li.social.twitter a {
    background: url('images/icons/twitter.png') center center no-repeat;
}

li.social.linkedin a {
    background: url('images/icons/linkedin.png') center center no-repeat;
}

li.social.instagram a {
    background: url('images/icons/instagram.png') center center no-repeat;
}

li.social.youtube a {
    background: url('images/icons/youtube.png') center center no-repeat;
}

@media screen and (max-width: 600px) {

    header#fixed-bar ul {
        justify-content: center;
    }

    #fixed-bar .flex {
        justify-content: center;
    }

    body {
        padding-top: 100px;
    }

    .top-bar-logo a {
        width: 50%;
    }

    section#category-bar nav.cats ul {
        margin-left: 10px;
    }

    section#category-bar nav.cats li a {
        padding: 10px 5px;
    }

    .video-box:nth-child(odd) {
        clear: left;
    }

}