/*
Theme Name:   China IP Law Update
Description:  child theme of Twenty Sixteen
Author:       scribe
Author URL:   https://firstscribe.com
Template:     twentysixteen
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  china-ip-law-update
*/

/* Write here your own personal stylesheet */


@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500|Noto+Serif|Roboto:500&display=swap');

* { 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    box-sizing: border-box; 
}

body {
    font-family: 'Noto Serif', serif;
    font-size:16px;
    font-size:1rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    font-size:1.875rem;
    font-weight: 500;
    color:#58595b;
    line-height: 1.4;
}

h2 {
    font-family: 'Noto Serif', serif;
    font-size:30px;
    font-size:1.875rem;
    color:#333333;
    line-height: 1.4;
}

h2.entry-title {
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    font-size:1.875rem;
    font-weight: 500;
    color:#58595b;
}

h3 {
    font-family: 'Noto Serif', serif;
    font-size:25px;
    font-size:1.563rem;
    color:#333333;
    line-height: 1.8;
}

a:focus {
    outline: none;
}

.entry-content a, 
.entry-summary a, 
.taxonomy-description a, 
.logged-in-as a, 
.comment-content a, 
.pingback .comment-body > a, 
.textwidget a, 
.entry-footer a:hover, 
.site-info a:hover {
    box-shadow: none;
}

blockquote,
.entry-content blockquote:not(.alignleft):not(.alignright), 
.entry-summary blockquote, 
.comment-content blockquote {
    margin-left:0;
    font-family: 'Noto Serif', serif;
    font-size:25px;
    font-size:1.563rem;
    color:#333333;
    line-height: 1.8;
    border-color:#ae222a;
}

body:not(.search-results) article:not(.type-page) .entry-content,
body:not(.search-results) article:not(.type-page) .entry-footer,
.entry-content,
.entry-footer {
    float:none;
    width:auto;
}

.button {
    display: inline-block;
    padding:17px 24px;
    text-decoration: none;
    color:#ae222a;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size:16px;
    font-size:1rem;
    border:solid 2px #ae222a;
}

.button:hover {
    color:#71171c;
    border:solid 2px #71171c;
    text-decoration: none;
}

.noto-serif {
    font-family: 'Noto Serif', serif;
}

.montserrat {
    font-family: 'Montserrat', sans-serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

/* Page Base */
#page {
    margin:0;
}

.site-header {
    padding:30px 20px 25px;
    margin-bottom:60px;
    border-bottom:solid 1px #e3e2e5;
	background-color:white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header-main {
    max-width:1180px;
    margin:0 auto;
    -webkit-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

.site-header #site-header-menu {
    display: flex !important;
    -webkit-flex: 0 1 auto !important;
    -ms-flex: 0 1 auto !important;
    flex: 0 1 auto !important;

}

.site-header #menu-toggle {
    display: none !important;
}

.site-inner {
    max-width:100%;
}

.site-content {
    max-width:1200px;
    margin:0 auto;
    padding:220px 20px 0;
}

.site-main article {
    margin-bottom:65px;
    padding-bottom: 52px;
    border-bottom:solid 1px #e3e2e5;
}


body:not(.search-results).group-blog .byline,
body:not(.search-results) article:not(.sticky) .posted-on {
    display: inline-block;
}

.site .avatar {
    border:solid 1px #e3e2e5;
    border-radius: 50px;
}

.site .byline,
.site .posted-on {
    font-family: 'Roboto', sans-serif;
    font-size:14px;
    font-size:0.875rem;
}

.site .byline {
    display: inline-block;
    margin-bottom: 10px;
}

.site .author > a.url,
.site .posted-on {
    padding:0 10px;
}

.site .posted-on {
    border-left:solid 1px #e3e2e5;
}

.single .site .site-main > .author-info {
    display: none;
}

/* Navigation */
.site-header .main-navigation a {
    font-size:16px;
    font-size:1rem;
    color:#ae222a;
}

.site-header .main-navigation a:hover {
    color:#71171c;
}

.site-header .main-navigation ul,
.site-header .main-navigation ul li {
    border:none !important;
}

/* Widgets */
.widget {
    border:none;
    padding-top:0;
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    font-size:1rem;
}

.widget .widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size:22;
    font-size:1.375rem;
    color:#58595b;
}

.widget ul {
    list-style: none;
    margin-left: 0;
}

.widget ul li {
    margin-bottom: 25px;
}

.widget ul li:last-child {
    margin-bottom: 0;
}

.widget_search form.search-form {
    position: relative;
}

.widget_search input.search-field {
    padding-left:10px;
    border-radius: 90px;
    border:solid 1px #e3e2e5;
    background-color:#ffffff;
    width:100% !important;
}

.widget_search button.search-submit {
    position: absolute;
    right:0; 
    background-color:transparent;
}

.widget_search button.search-submit:before {
    color:#ae222a;
}

/* Pagination */
.pagination {
    border:none;
}

.pagination .nav-links:before,
.site .pagination:before {
    content:'\f105';
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
    background-color:white;
    font-size: 32px;
    line-height: 51px;
    text-align: center;
}

.pagination .nav-links:after,
.site .pagination:after  {
    content:'\f104';
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
    background-color:white;
    font-size: 32px;
    line-height: 51px;
    text-align: center;
}

.pagination .page-numbers {
    width:42px;
    height:42px;
    padding:0;
    line-height: 42px;
    background-color:transparent;
    border:solid 2px #ae222a;
    border-radius: 42px;  
    font-family: 'Roboto', sans-serif;
    color:#ae222a;
    text-align: center;
}

.pagination .page-numbers:hover {
    color:#71171c;
    border:solid 2px #71171c;
}

.pagination .page-numbers.current {
    font-weight: normal;
    background-color:#ae222a;
    color:#ffffff;
}

.pagination .page-numbers.dots {
    border-color:transparent;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    height:52px;
    width:52px;
    background-color:white;
    border:none;
    border-radius: 0;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background-color: white;
}

.pagination .prev:before {
    content:'\f104';
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
}

.pagination .next:before {
    content:'\f105';
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
}

.post-navigation {
    border:none;
}

.post-navigation .meta-nav {
    display: none;
}

.post-navigation .nav-links {
    clear:both;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: inline-block;
    border:none;    
}

.post-navigation .post-title {
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    font-size:1rem;
    color:#ae222a;
}

.post-navigation .nav-previous {
 float:left;
}

.post-navigation .nav-previous .post-title:before {
    content:'\f104';
    position: relative;
    bottom: -6px;
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
    font-size:32px;
    font-size:2rem;
    line-height: 16px;
    padding-right:15px;
}

.post-navigation .nav-next {
    float:right;
}

.post-navigation .nav-next .post-title:after {
    content:'\f105';
    position: relative;
    bottom: -6px;
    font-family: 'Font Awesome 5 Pro';
    font-weight:400;
    font-size:32px;
    font-size:2rem;
    line-height: 16px;
    padding-left:15px;
}

/* Single Post */
.single-post .entry-content {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap; 
}

.single-post .entry-body-sidebar {
    width:30%;
    padding-right:65px;
}

.single-post .entry-body {
    width:70%;
}

.single-post .entry-body-sidebar .wrap {
    margin-bottom:30px;
}

.single-post .entry-body-sidebar .label {
    font-family: 'Montserrat', sans-serif;
    font-size:16px;
    font-size:1rem;
    font-weight: 500;
}

.single-post .entry-body-sidebar .entry-date,
.single-post .entry-body-sidebar .entry-author {
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    font-size:1rem;
    color:#ae222a;
}

.single-post .entry-body-sidebar .addtoany_list {
    display: block;
}

.single-post .entry-body-sidebar .addtoany_list a {
    display: block;
    margin-bottom: 10px;
}

.author-info {
    border-top:solid 1px #e3e2e5;
}

.author-info .author-description {
    display: inline-block;
}

.author-info .author-title {
    font-family: 'Montserrat', sans-serif;
    font-size:16px;
    font-size:1rem;
}

.author-info .author-bio {
    font-size:16px;
    font-size:1rem;
}

.single-post .comment-reply-title {
    padding-top:0;
    border:none;
}

/* Footer */
.site-footer {
    padding-top:50px;
    padding-bottom:50px;
    border-top:solid 1px #e3e2e5;
    font-family: 'Roboto', sans-serif;
}

.site-footer .site-title:after {
    content:'|';
}

.site-footer .site-info {
    max-width:1180px;
    margin:auto;
}

@media(max-width: 56.875em) {
    .site-header .main-navigation ul {
        display: flex;
    }

    .site-header .main-navigation ul li a {
        padding: 20px 10px;
    }
}

@media screen and (min-width: 44.375em) {
    .single-post .entry-header,
    .single-post .entry-content {
        margin-right: 7.6923%;
    }

    .single-post .entry-body-sidebar {
        padding-right: 30px;
    }
}

@media screen and (max-width: 650px) {
    .single-post .entry-body,
    .single-post .entry-body-sidebar {
        width:100%;
        padding-right:0;
    }

    .single-post .entry-body-sidebar {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -ms-flex-wrap:wrap;
        flex-wrap:wrap; 
        flex: 0 1 auto;
    }

    .single-post .entry-body-sidebar .entry-date,
    .single-post .entry-body-sidebar .entry-author {
        padding-right:20px;
    }

    .single-post .entry-body-sidebar .addtoany_list a {
        display: inline-block;
    }
}

@media(max-width: 420px) {
    .site-branding {
        margin: auto !important;
    }

    .site-header #site-header-menu {
        -webkit-flex: 1 1 auto !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
        justify-content: center;
    }
}
