/*
Theme Name: Chinese Medicine
Template: jumpstart
Author: DigitalDevelopments
Version: 1.0
*/

body {
	background-color:#fff;
	line-height:1.5em;
    font-weight: 300;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    color: #6D6E71;
}
* {
    line-height: 1.5em;
}
*:focus {
    outline: 0 !important;
}

body.mobile-menu-right-on #wrapper {
	overflow:auto;
	position:absolute;
}

body.side-menu-on {
	position:static;
	overflow:auto;
}

/*
* Easy Query
* http://wordpress.org/plugins/easy-query/
* https://github.com/dcooney/easy-query
*
* Copyright 2015 Connekt Media - http://connekthq.com
* Free to use under the GPLv2 license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Author: Darren Cooney
* Twitter: @KaptonKaos
*/
/*
*  Generic listing Styles
*
*  @since 1.0.0
*/
.wp-easy-query {
}

.wp-easy-query .wp-easy-query-posts ul {
	margin:0;
	padding:0;
}

.wp-easy-query .wp-easy-query-posts ul > li {
	background: none;
	margin: 0 0 30px;
	padding: 0;
	display: block;
	position: relative;
	list-style: none;
}

.wp-easy-query .wp-easy-query-posts ul li.no-img {
	padding:0;
}

.wp-easy-query ul li img {
	position:absolute;
	left:0;
	top:0;
}

/*
*  Paging Styles
*
*  @since 1.0.0
*/
.wp-easy-query .wp-easy-query-paging {
	display:block;
	clear:both;
	overflow:hidden;
	border-top:1px solid #efefef;
	padding:15px 0 0;
	margin:15px 0 0;
	text-align:center;
}

.wp-easy-query .wp-easy-query-paging ul {
	list-style:none;
	background:none;
	margin:0;
	padding:0;
	text-align:center;
	width:100%;
	display:block;
}

.wp-easy-query .wp-easy-query-paging ul li {
	list-style:none;
	background:none;
	margin:0 5px;
	padding:0;
	display:inline-block;
	vertical-align:top;
}

.wp-easy-query .wp-easy-query-paging ul li.before,.wp-easy-query .wp-easy-query-paging ul li.current,.wp-easy-query .wp-easy-query-paging ul li a {
	padding:4px;
}

.wp-easy-query .wp-easy-query-paging ul li.current {
	font-weight:700;
}

.wp-easy-query .wp-easy-query-paging ul li a {
	display:block;
	padding:4px 2px;
}

/* #################################################### */

.site-header {
    background-color: #fff;
}

.header-top > .wrap, .header-above > .wrap, .header-content > .wrap, .header-nav > .wrap, .tb-floating-search > .wrap, .tb-sticky-menu > .wrap, .tb-featured-banner > .wrap, .site-breadcrumbs > .wrap, .site-inner > .wrap, .element-section > .element, .element.popout .jumbotron-wrap, .site-footer > .wrap {
    max-width: 1216px;
}
.header-content > .wrap {
    padding: 40px 10px;
}
.header-logo {
    text-align: center;
}
.tb-image-logo img {
    max-width: 95%;
}
.header-logo {
    float: left;
    text-align: center;
}

.tb-thumb-link.post:before {
    content: none;
}
.home-top .element-jumbotron .jumbotron-outer {
    padding: 260px 0px;
}
.font-weight-black {
    font-weight: 900 !important;
}
.font-weight-light {
    font-weight: 300 !important;
}
.tb-jumbotron .tb-text-block-wrap {
    margin-bottom: 0;
}
.tb-jumbotron .jumbotron-buttons {
    padding-top: 60px;
}
.tb-jumbotron .btn {
    font-size: 16px;
    padding: 20px 30px;
    background-color: transparent;
    border-color: #fff;
    box-shadow: none;
    color: #fff;
    border-radius: 8px;
    font-weight: 900;
    min-width: 300px;
    border: 2px solid #fff !important;
}
.tb-jumbotron .btn:hover,
.tb-jumbotron .btn:focus,
.tb-jumbotron .btn:active,
.tb-jumbotron .btn.active {
    background-color: rgba(255,255,255,.3);
    box-shadow: none;
    border-color: #fff;
}
.icon-boxes-headline h2 {
    font-weight: 300;
    font-size: 30px;
    text-transform: none;
    margin: 20px 0px 60px;
}
.icon-boxes h3 {
    color: #C91709;
    font-weight: 900;
    font-size: 30px;
}
.icon-boxes .element-image {
    min-height: 105px;
}
.icon-boxes .tb-headline p {
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
}
.icon-boxes .col:after {
    content: " ";
    background-color: #aaa;
    width: 1px;
    height: 100%;
    position: absolute;
    right: 1px;
    top: 0;
    min-height: 320px;
}
.icon-boxes .col:last-child:after {
    content: none;
}
.icon-boxes .col {
    padding: 30px 25px 0;
}
.arrows-in-circle {
    margin: 60px auto 10px !important;
}

.home-welcome {
    font-size: 16px;
    font-weight: 500;
}
.welcome-headline h2 {
    color: #C91709;
    font-size: 24px;
    font-weight: 900;
    margin: 20px 0 30px;
}
.welcome-headline p {
    font-size: 18px;
    font-weight: 500;
    max-width: 87%;
    margin: 0 auto 30px;
}
.social-media-icons {
    list-style-type: none;
    margin: 30px 0px 0px;
    padding: 0 !important;
}
.social-media-icons li {
    display: inline-block;
    margin: 0 0 0 20px;
}
.social-media-icons li:first-child {
    margin: 0;
}
.footer-bottom {
    background-color: #C81608;
    color: #FFF;
    font-size: 24px;
    line-height: 1.3em;
    padding: 30px;
}
.footer-bottom a {
    color: #fff;
}
.text-light {
    color: #FFF;
    text-shadow: none;
}
.btn {
    box-shadow: none;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 18px;
}
.btn:hover {
    box-shadow: none;
}
.btn.grey, .btn-default {
    background-color: #6D6E71;
    color: #fff;
    box-shadow: none;
    border: none;
}
.btn.grey:hover, .btn-default:hover {
    background-color: #5D5E61;
    color: #fff;
}
.recent-posts-widget h3 {
    font-weight: 900;
    font-size: 14px;
    margin: 0;
}
.recent-posts-widget h3 a {
    color: #C91709;
}
.entry-meta {
    color: #6D6E71;
    font-size: 12px;
    margin: 0px 0px 10px 2px;
    text-transform: uppercase;
}
.read-more {
    margin-bottom: 30px;
}
.recent-posts-widget > li {
    background: transparent none repeat scroll 0% 0%;
    margin: 0px 0px 30px;
    padding: 0px;
    display: block;
    position: relative;
    list-style: outside none none;
    border-bottom: 1px solid rgb(204, 204, 204);
}
h2 {
    font-size: initial;
    font-weight: 900;
    color: #C91709;
    margin-bottom: 0;
}
.intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 2em;
}
.fixed-sidebar:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}
.fixed-sidebar .widget-title {
    font-size: 24px;
    margin-top: 0px;
    color: #C91709;
    text-transform: uppercase;
    margin-bottom: 1.5em;
    font-weight: 900;
}
.fixed-sidebar .widget:first-child {
    padding-top: 0;
}
#heading-background {
    height: 360px;
    background: none #C81608 50% 50% / cover;
}
article.page {
    background: #FFF none repeat scroll 0% 0%;
    padding: 40px 30px 30px;
    min-height: 300px;
}
.fixed-sidebar.right-sidebar {
    margin-top: 40px;
}
#content {
    margin-top: 30px;
    background-color: #FFF;
    width: 60%;
    margin-left: 6%;
}
.sidebar-layout-full_width #content {
    width: 100%;
    margin-left: 0;
}
.entry-header {
    position: absolute;
    top: -40px;
    left: 0px;
}
.post .entry-header {
    top: -70px;
}
.entry-meta,
.entry-meta .fa,
.entry-title {
    color: #fff;
}
.entry-title {
    margin: 0px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 24px;
}
#sidebar_layout {
    margin-bottom: 50px;
}
.footer-menus {
    background-color: #6D6E71 !important;
    font-size: 12px;
    padding-bottom: 30px;
}
.footer-menus ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.footer-menus li {
    margin-bottom: 5px;
}
.footer-menus h3 {
    color: #FFF;
    font-weight: 900;
    font-size: 12px !important;
    text-transform: uppercase;
    margin: 0 0 5px 0 !important;
}
.footer-menus a {
    color: #fff;
    font-weight: 500;
    line-height: 1.3em;
}
.footer-menus a:hover {
    text-decoration: underline;
}
.footer-column {
    width: 13.28%;
    float: left;
    margin-right: 1%;
}
.btn-share:hover, .btn-share:focus {
    background-color: #C81608;
}
.blog-wrap > article > .featured-item, article.single > .featured-item {
    margin: -15px -30px 30px;
}

.header-nav {
    background: #87888A none;
    height: 50px;
    text-align: center;
}
.tb-primary-menu {
    display: inline-block;
}
.tb-primary-menu > li > .menu-btn {
    color: #FFF;
    font-size: 14px;
    padding: 18px 20px;
    font-weight: 900;
    text-transform: uppercase;
}
.tb-primary-menu > li.current_page_item:after,
.tb-primary-menu > li.current-menu-item:after,
.tb-primary-menu > li.current-post-parent:after,
.tb-primary-menu > li.current-post-ancestor:after {
    content: " ";
    background-color: #87888A;
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: calc(50% - 8px);
    bottom: -8px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 9999999;
}

.sf-menu-with-fontawesome > li > a > .sf-sub-indicator {
    display: none;
}
.sf-menu-with-fontawesome > li.sfHover:after {
    content: " ";
    background-color: #87888A;
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: calc(50% - 8px);
    bottom: -8px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 9999999;
    -webkit-transition:all .4s ease-in-out;
    -moz-transition:all .4s ease-in-out;
    -o-transition:all .4s ease-in-out;
    transition:all .4s ease-in-out;
}
.tb-primary-menu > li.menu-item-has-children > .menu-btn {
    padding-right: 20px;
}
.tb-primary-menu > li > a:hover {
    background: transparent none;
}
.sf-menu ul.non-mega-sub-menu {
    left: 50%;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.sf-menu ul.non-mega-sub-menu ul {
    transform: none;
}
.tb-primary-menu ul.non-mega-sub-menu, .tb-primary-menu .sf-mega {
    background: #6D6E71 none repeat scroll 0% 0%;
    border: medium none;
}
.tb-primary-menu ul.sub-menu a:hover {
    background: #5D5E61 none repeat scroll 0% 0%;
}
.tb-primary-menu ul.sub-menu .menu-btn, .tb-primary-menu .mega-section-header {
    color: #fff;
    font-size: 14px;
    line-height: 1.3em;
    padding: 0.77em 0.92em;
    font-weight: 900;
    text-transform: uppercase;
}
.tb-primary-menu > li > ul.non-mega-sub-menu, .tb-primary-menu .sf-mega {
    border-top: none solid #6D6E71;
    padding-top: 10px;
}
.tb-primary-menu li ul.non-mega-sub-menu {
    box-shadow: 0 7px 7px rgba(0,0,0,.3);
}
h1 {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: #C91709;
    margin: 0 0 30px;
}
.post_grid .entry-title {
    color: #C91709;
}
.post_grid .entry-meta {
    color: #6D6E71;
}
.post_grid .fa,
.post_grid .sep,
.post_grid .author,
.post_grid .comments-link {
    display: none;
}
.post_grid .entry-meta {
    font-size: 12px;
    margin: 5px 0px 20px;
}
.info-box-title.archive-title {
    display: none;
}
.archive .tb-info-box p {
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}
.btn-navbar {
    background: #C91709 none repeat scroll 0% 0%;
}
.tb-mobile-menu-wrapper, .tb-mobile-menu-wrapper .tb-mobile-menu, .tb-mobile-menu-wrapper .tb-mobile-menu .sub-menu li.non-mega-sub-menu:last-child {
    background-color: #87888A;
}
.tb-mobile-menu-wrapper .tb-mobile-menu a, .tb-mobile-menu-wrapper .tb-mobile-menu span, .tb-mobile-menu-wrapper .header-text, .tb-mobile-menu-wrapper .header-text a {
    color: #FFF;
    font-weight: 900;
    text-transform: uppercase;
}
.tb-mobile-menu-wrapper .sf-menu-with-fontawesome > li.sfHover:after {
    content: none;
}
.info .entry-meta .fa {
    color: #aaa;
}
.news-page-headline h1 {
    font-weight: 300;
    text-transform: none;
    font-size: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    color: #6D6E71;
}

@media screen and (min-width:1200px) {
    .container {
        width: 1216px;
    }
}

@media screen and (max-width: 1199px) {
    .header-top > .wrap, .header-above > .wrap, .header-content > .wrap, .header-nav > .wrap, .tb-floating-search > .wrap, .tb-sticky-menu > .wrap, .tb-featured-banner > .wrap, .site-breadcrumbs > .wrap, .site-inner > .wrap, .element-section > .element, .element.popout .jumbotron-wrap, .site-footer > .wrap {
        max-width: 940px;
    }
}

@media screen and (max-width:990px) {
    .header-logo {
        float: none;
    }
    .header-content > .wrap {
        padding: 20px 10px;
    }
    #content {
        margin-top: 30px;
        width: 100%;
        margin-left: 0%;
    }
    .blog-wrap > article, article.single {
        padding: 0px;
    }
    #heading-background {
        height: 200px;
    }
    #comments {
        background: #FFF none repeat scroll 0% 0%;
        padding: 0;
    }
    article.page {
        padding: 0px 30px 30px;
    }
    .entry-header {
        position: absolute;
        top: -74px;
        left: 45px;
    }
    .blog-wrap > article > .featured-item, article.single > .featured-item {
        margin: -10px 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .icon-boxes .col::after {
        content: none;
    }
    .footer-column {
        width: 23%;
        margin-right: 2%;
    }

}

@media screen and (min-width: 500px) and (max-width: 768px) {


}

@media screen and (max-width:600px) {
    .tb-image-logo img {
        display: none;
    }
    .tb-image-logo {
        display: block;
        background: transparent url("img/logo-mobile.png") no-repeat scroll 10px 50% / 94% auto;
        max-width: 95%;
        height: 70px;
    }
    .tb-jumbotron .btn {
        min-width: 200px;
        max-width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    }
    .archive .tb-info-box p {
        font-size: 30px;
        font-weight: 300;
        text-align: center;
        max-width: 100%;
        margin: 0px auto;
    }
    .footer-column {
        width: 48%;
        margin-right: 2%;
    }
    .social-media-icons li {
        margin: 0 0 0 10px;
    }
	
}