/*  
Theme Name: treescience Blog
Theme URL: 

Description: treescience Blog Theme
Version: 1.0
Author: Web Profits
Author URL: http://www.webprofits.com.au/
*/

ol,ul,li {
    list-style: none;
    margin: 0;
    padding: 0;
}

img, button {
    border: none;
    outline: none;
}
iframe{
    max-width: 100%;
}
img{
    width: auto;
    max-width: 100%;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

p.wp-caption-text {
	font-size: 12px;
	text-align: center;
}

body {

}

.clear {
    clear: both;
    width: 100%;
    height: 0;
    line-height: 0;
}

a, a:visited {
    color:#7AB237;
    text-decoration: none;
    outline: none;
}

a:hover {
    color:#1B1B1B;
    text-decoration: none;
}

p {
    margin: 0;
    font-size: 15px;
    color: #5C5C5D;
    line-height: 24px;
    padding: 0 0 20px;
    font-family: 'gotham_roundedbook';
}

header {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
}


#mobile-nav, nav.mobile {
    display: none;
}

.container-blog {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 0 60px;
    position: relative;
}

#content {
    padding-bottom: 50px;
}

.post {
    /*	width: 292px;
            padding: 20px 15px;
            margin: 0 5px 20px 5px;*/
    border: 1px solid #e5e5e5;	
    width: 28%;
    padding: 10px 2% 0;
    margin: 0 0.5% 10px 0.5%;
}

.post.last {
    margin-right: 0;
}



h1 {
    color: #1B1B1B;
    font-size: 32px;
    font-family: 'gotham_roundedmedium';
    margin: 0;
    padding: 0 0 15px;
}

.post h1 {

}

h1 a {
    color: #1B1B1B !important;
    font-size: 26px;
    font-family: 'gotham_roundedmedium';
    margin: 0;
    padding: 0 0 35px;
}
h1 a:hover{
    color:#7AB237 !important;
    text-decoration: none !important;
}
h2 {
    color: #1B1B1B;
    font-size: 26px;
    font-family: 'gotham_roundedmedium';
    margin: 0;
    padding: 5px 0 10px;
}

h3 {
    color: #1B1B1B;
    font-size: 20px;
    font-family: 'gotham_roundedmedium';
    margin: 0;
    padding: 5px 0 10px;
}

.crp_related h3, #sidebar h2 {
    padding-bottom: 10px;
}

.more-link {
    display: table;
    margin-top: 20px;
    font-family: 'gotham_roundedbold';
    background: url(https://treescience.com.au/wp-content/themes/treescience/css/images/doubleborder.jpg) repeat-x bottom;
    color: #1A1A1A !important;
}
a.more-link:hover{
    background: none;

}

.feedback {
    font-size: 12px;
    margin-bottom: 15px;
    color:#999;
}

#navigation {
    padding: 10px 0;
    margin: 10px 0;
}

.image-container {
    margin-bottom: 10px;
    /* width: 100% !important; */
    max-width: 300px !important;
    max-height: 165px !important;
    position: relative;
    overflow: hidden;
    background:none;
    margin-top:0;
    margin-bottom: 10px !important;
    padding-bottom:0;
}

.image-container img {
    width: 100%;
    height: auto;
    position: absolute;
    top: -15%;
    left: 0;
    max-width: 100%;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
}

.isotope, .isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

#content-big {
    width: 70%;
    float: left;
    padding-right: 2%;
    border-right: 1px solid #F7F3ED;
}

#sidebar {
    width: 26%;
    float: right;
}

#sidebar li {
    margin-bottom: 40px;
}

#sidebar ul ul li {
    padding: 5px 0;
    margin: 0;
    font-size: 15px;
}

#sidebar li a  {
    text-decoration: none;
    display: block;
}

.crp_related {
    margin-top: 30px;
}

.post-big ul, .post-big ol {
    margin: 0 0 9px 30px;
    color: #5c5c5d;
    font-family: "gotham_roundedbook";
    font-size: 15px;
    line-height: 24px;
}

.post-big ul li {
    list-style: disc outside;
    padding-bottom:10px
}

.post-big ol li {
    list-style: decimal outside;
    padding-bottom:10px
}

#mobile-top-menu{
    display:none;
}

.f-content p{
    margin:0; line-height:25px; padding:0
}

#infscr-loading { position:absolute;bottom: 20px;left: 47%;text-align: center;} 

@media all and (max-width: 960px) {
    .main-nav{
        display:none;
    }
    .menu-top-menu-container{
        position:relative;
    }

    nav.mobile {
        display:block;
        height: auto;
        margin:5px 15px 0 0;
        height: auto;
        border-bottom: none;
        width: 15%;
        float: right;
    }

    nav.mobile li {
        float: right;
        padding: 0;
    }

    nav.mobile ul ul {
        position: static;
        width: 100%;
    }

    nav.mobile ul ul li {
        width: auto;
        padding-right: 0;
    }

    nav.mobile ul ul li a {
        padding: 10px 30px;
    }

    #mobile-nav {
        display: block;
        width: 100%;
        height: 43px;
        background: #fff;
    }

    #mobile-nav button {
        cursor: pointer;
        background: #fff;
        float: right;
        border: 1px solid #7AB237;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        margin: 5px 10px 0 0;
        padding: 5px;
    }

    #mobile-nav button:hover {
        background: #e5e5e5;
    }

    #mobile-nav button span {
        display: block;
        width: 26px;
        height: 4px;
        margin: 4px 0 0;
        background: #7AB237;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

    #mobile-nav button span:first-child {
        margin: 0;
    }

    .container-blog { 
        width: 94%;
        padding: 20px 3% 0;
    }

    .post {
        width: 95%;
        margin: 0 0 20px;
    }   

    header{    
    }   

    #mobile-nav{
        background: none;
    }

    #mobile-top-menu{
        position: absolute;
        top: 40px;
        right: 10px;
        width: 200px;
        background: #fff;
        z-index: 999;
        font-family: 'gotham_roundedbook';
        text-transform: uppercase;
    }
    #mobile-top-menu li{

    }
    #mobile-top-menu li a{
        color: #5C5C5D;
        padding: 9px 13px 10px;
        line-height: 100%;
        display: block;
    }
    #mobile-top-menu li a:hover{
        text-decoration: none;
        color: #FFF;
        background: #7AB237;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;  
    }

}

@media all and (max-width: 640px) {
    #sidebar, #content-big {
        float: none;
        width: 100%;
    }

}

@media all and (max-width: 768px) {
    .flare-horizontal {
        text-align: left !important;
    }
    .f-content{
        background: #2B2B2B;
    }
    .f-content ul{
        text-align: center;
    }
    .f-content ul li{
        float:none;
        border:none;
        display:inline-block;
    }
}

@media all and (max-width: 420px){
    #menu-top-menu{
        display:none;
    }
    a.logo {
        background: url(https://treescience.com.au/wp-content/themes/treescience/css/images/logo-small.png) no-repeat left top;
        width: 200px;
        height: 34px;
        float: left;
        display: block;
        margin: 0px 0 0 0;
    }
    nav.mobile{
        margin: 0px 15px 0 0;
    }
    .small-nav img.left{
        display:none;
    }
    .small-nav{
        width: 100%;
        margin-bottom: 20px;
    }
    .phone{
        text-align: center;
        width: 100%;
    }
}

#pagination{
    text-align: center;
    padding:20px 0;
}

#pagination a, #pagination span {
    padding: 0 5px;
    border-left: 1px solid #7AB237;
    text-decoration: none;
}

#pagination a:first-child, #pagination span:first-child {
    border: none;
}

#loader {
    display: none;
    position: fixed;
    z-index: 100000000;
    left: 50%;
    top: 50%;
    margin: -16px 0 0 -16px;
}

.wp-paginate {
	text-align: center;
}
  
.wp-paginate li {
	display: inline;
	padding: 0 5px;
}