/*
 Theme Name:     Jolly Roger Two
 Theme URI:      http://www.envywebsites.net
 Description:    Example child theme using the Jolly Roger framework
 Author:         Envy Websites
 Author URI:     http://www.envywebsites.net
 Template:       envy-jollyroger
 Version:        1.0.0
*/
 
@import url("../envy-jollyroger/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/*@import url('http://fonts.googleapis.com/css?family=Roboto+Slab:400,300,100,700');
@import url('http://fonts.googleapis.com/css?family=Raleway:200');*/

body {
font-family:'Open Sans';
margin-top:70px;
}

body.admin-bar {
margin-top:40px;
}

#wrapper {

}

#main-nav button {
-webkit-box-shadow: none;
}

#main-nav button {
background-color:#333;
}

#site-title {
position:absolute;
/*overflow:hidden;*/
top:0;
z-index:999;
height:200px;
}

#site-title a {
position:absolute;
z-index:999;
}

#site-title h1:hover {
cursor:pointer;
}

#site-title h1 span {

}

#site-title h1 span:hover {
cursor:pointer;
}

#site-title a:hover {
text-decoration:none;
}

h1, h2, h3 {
margin:0;
font-family:'Roboto Slab';
}

h1 i, h2 i, h3 i {
padding-right:.2em;
}

span p {
display:inline-block;
width:auto;
}

aside ul {
margin:0;
}

aside ul li {
list-style-type:none;
}

.sidebar h2 {
margin-bottom:15px;
}

.sidebar aside li {
margin-bottom:1em;
border-bottom:1px solid #dedede;
padding-bottom:1em;
}

div#loader {
position:fixed;
top:0;bottom:0;left:0;right:0;
background-color:#fff;
z-index:999;
overflow:hidden;
}

.wf-loading {
visibility:hidden;
}

.wf-active div#loader {
visibility:hidden;
}

#site-title h1 {
font:100 4em 'Roboto Slab';
text-transform:uppercase;
line-height:1.1em;
display:inline;
background-color:#1d3454;
color:#fff;
/*box-shadow: 24px 0 0 #1d3454, -24px 0 0 #1d3454;*/
transition: all 0.4s ease;
}

#site-title h1 span.sp1 {
color:#f5c1d6; /*#ffde00*/
background-color:#1d3454;
}

#site-title h1 span.sp2 {
color:#fff;
}

.shrink #site-title h1, .home .shrink #site-title h1 {
font:100 2em 'Roboto Slab';
position:relative;
top:15px;
}

#site-title h1 span.sp1:before, #site-title h1 span.sp2:before {
content:"\00a0";
}

#site-title h1 span.sp1:after, #site-title h1 span.sp2:after {
content:"\00a0";
}

.shrink #site-title h1 span.sp1:after, .shrink #site-title h1 span.sp2:after, .shrink #site-title h1 span.sp1:before, .shrink #site-title h1 span.sp2:before {
content:"";
}

#main-nav.shrink {
background-color:#1d3454;
}

.home #site-title h1 {
font: 100 2.5em 'Roboto Slab';
text-transform: uppercase;
line-height: 1.1em;
display: inline;
background-color: #1d3454;
color: #fff;
/*box-shadow: 30px 0 0 #1d3454, -30px 0 0 #1d3454;*/
}

.page-top {
background-color:#81bed7;
height:100px;
}

.post-top {
margin:0 auto;
max-width:1170px;
height:100%;
position:relative;
}

.post-category {
height:100%;
position:relative;
margin-right:25px;
}

.post-meta {
height:auto;
min-height:70px;
}

header.entry-header {
background-color:#d8eaf2;
padding:3em 0 1em 0;
}

h1.entry-title {
font:400 3em 'Roboto Slab';
}

.single .post-container {
margin-top:3em;
}

.single .entry-content {
margin-top:0;
}

.single .featured-image {
float:left;
}

.page aside .featured-image {
float:left;
}

.single aside h2, .page aside h2 {
margin-bottom:1em;
padding-bottom:.4em;
border-bottom:1px solid #bbb;
}

.single aside.f1 h2:after {
content:"";
display:block;
float:left;
width:30%;
height:5px;
margin-top:.4em;
background-color:#ffde00;
}

.single aside h3, .page aside h3 {
display:block;
clear:none;
float:left;
width:225px;
font:400 1.3em 'Roboto Slab';
margin:0 0 0.5em 0;
}

.single aside .entry, .page aside .entry {
display:block;
clear:none;
float:left;
width:225px;
}

.single aside .featured-image, .page aside .featured-image {
margin-right:1em;
vertical-align:text-top;
}

.single aside  div.entry-meta, .page aside div.entry-meta {
float:left;
}

.single aside ul {
margin:0;
}

.single aside li, .page aside li {
display:block;
margin-bottom:1.5em;
padding-bottom:1.5em;
border-bottom:1px solid #efefef;
}

.single aside li:after, .page aside li:after {
content:"";
display:block;
clear:both;
}

.page .page-top {
margin-bottom:2em;
}

.post-aside .entry i {
display:inline-block;
float:left;
}

.post-image .entry {
background-color:#555;
}

.post-image .entry .caption {
padding:15px;
}

.post-image i {
color:#efefef;
font-size:2em;
height:28px;
padding-right:8px;
vertical-align:text-top;
display:inline;
}

.post-image .entry .caption p {
font:300 28px 'Roboto Slab';
color:#fff;
vertical-align:text-top;
display:inline;
}

.archive .post-container {
padding:0;
}

.archive #primary article .post {
background:none;
}

.archive #primary article .entry {
background-color:#efefef;
padding-bottom:0;
}

.archive #main article.post-0 {
padding-left:0;
}

.archive #main article.post-0 {
min-height:478px;
max-height:478px;
}

.archive #main article.post-0 .entry {
background-color:#445772;
position:relative;
min-height:220px;
}

.archive #main article.post-0 .post {
padding-top:1.5em;
}

.archive #main article.post-0 .post .entry-meta {
display:none;
}

.archive #main article.post-0 .post h2 {
font-weight:300;
margin:0 1em 1em 1em;
max-height:62px;
min-height:62px;
}

.archive.category-showreels #main article.post-1 .post h2 {
font-weight:300;
margin:0 1em 1em 1em;
max-height:62px;
min-height:62px;
}

.archive #main article.post-0 .post a, .archive #main article.post-0 .post h2, .archive #main article.post-0 .post p {
color:#fff;
}

.archive #main .entry a:hover {
text-decoration:none;
}

.archive #main article.post-0 p {
font:300 1.1em 'Roboto Slab';
position:absolute;
height:auto;
bottom:0;
margin:0;
padding:1.5em;
color:#fff;
background-color:rgba(0,0,0,0.5);
}

.archive .post-status .entry, .archive .post-aside .entry {
padding:1.5em;
min-height:220px;
}

.archive .post-1.post-status .entry, .archive .post-1.post-aside .entry, .archive .post-2.post-status .entry, .archive .post-2.post-aside .entry {
min-height:434px;
max-height:434px;
overflow:hidden;
}

.archive .post-status .entry h2 {
color:#333;
font-weight:300;
margin-bottom:.75em;
}

.archive .post-3  {
padding-left:0;
}

.archive .post-1.post-status h2, .archive .post-2.post-aside h2 {
font:300 1.8em 'Roboto Slab';
margin-bottom:1em;
}

.archive .post-status .entry p {
font:300 1.3em 'Roboto Slab';
}

.archive .post-1.post-status p, .archive .post-2.post-aside p {
font:300 1.5em 'Roboto Slab';
}

.entry-content .attachment-post-thumbnail {
margin-bottom:2.5em;
}

.entry-content p {
margin:0 40px 1.5em 0;
font:300 1.2em 'Roboto Slab';
line-height:1.6em;
}

.entry-content p:first-child {
font:400 1.4em 'Roboto Slab';
}

.page-top h2 {
display:inline-block;
font:300 3em 'Roboto Slab';
text-align:right;
position:absolute;
padding:5px 15px 0 15px;
right:0;
top:15px;
background-color:#fff;
}

.page-top.f1 h2:after {
content:"";
display:block;
width:100%;
padding-top:5px;
float:right;
border-bottom:5px solid #ffde00;
position:relative;
left:15px;
}

.archive .page-top {
background-color:#d8eaf2;
}

#slider {
background-color:#d8eaf2;/*
/background:url('assets/jenniegow1.jpg') 45% 50% no-repeat;*/
height:600px;
position:relative;
z-index:-2;
}

#content {
padding-bottom:20px;
background: #d8eaf2; /* Old browsers /*
background: -moz-linear-gradient(top,  #bfe8f9 0%, #bfe8f9 200px, #ffffff 200px, #ffffff 100%); /* FF3.6+ 
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfe8f9), color-stop(200px,#bfe8f9), color-stop(200px,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ 
background: -webkit-linear-gradient(top,  #bfe8f9 0%,#bfe8f9 200px,#ffffff 200px,#ffffff 100%); /* Chrome10+,Safari5.1+ 
background: -o-linear-gradient(top,  #bfe8f9 0%,#bfe8f9 200px,#ffffff 200px,#ffffff 100%); /* Opera 11.10+ 
background: -ms-linear-gradient(top,  #bfe8f9 0%,#bfe8f9 200px,#ffffff 200px,#ffffff 100%); /* IE10+ 
background: linear-gradient(to bottom,  #bfe8f9 0%,#bfe8f9 200px,#ffffff 200px,#ffffff 100%); /* W3C 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfe8f9', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

header#masthead {
position:relative;
background-color:#1d3454;
z-index:10;
}

footer.site-footer {
padding:1.5em;
background-color:#81bed7;
}

footer.site-footer a {
font-weight:bold;
color:#
}

#comments {
background-color:#d8eaf2;
padding:1em;
}

#comments h2.comments-title {
padding:0 0 1em;
}

#comments ol {
margin:0;
}

#comments ol li {
list-style-type:none;
padding:1em;
margin:0 0 1em;
background-color:#eaf9ff;
border-left:8px solid #4c8097;
position:relative;
}

#comments .comment-content {
padding-top:1em;
}

#comments .comment-metadata {
position:absolute;
bottom:0; right:0;
padding:0.5em;
background-color:#fff;
width:auto;
text-transform:uppercase;
font-weight:bold;
}

#comments #respond {
padding-top:1em;
}

#main-nav {
position:fixed;
background-color:#262626;
margin:0;
font-family:'Raleway';
font-weight:200;
font-size:1.5em;
}

.navbar-collapse.in {
overflow-y:visible;
height:auto;
}

.navbar ul li {
font-size:1.25em;
list-style-type:none;
border-bottom:10px solid #f5c1d6;
}

.navbar ul li a {
display:block;
color:#fff;
text-align:center;
}

.navbar-toggle-text {
display:none;
}

.navbar ul li {
transition: all 0.5s ease;
}

.navbar ul li:hover a {
text-decoration:none;
}

.navbar ul li:hover {
transform: translateY(-5px);
-webkit-transform: translateY(-5px);
-webkit-animation-fill-mode: forwards;
}

header nav ul {
margin:0;
}

.featured-image {
display:block;
height:100%;
position:relative;
}

.home .featured-image {
display:block;
min-height:247px;
position:relative;
}

.featured-image i {
display:block;
position:absolute;
left:0;right:0;top:0;bottom:0;
margin:auto;
color:#fff;
}

.featured-image i:before {
display:block;
margin:auto;
line-height:128px;
width:128px;
height:128px;
text-align:center;
opacity:0.45;
font-size:128px;
position:absolute;
left:0;right:0;top:0;bottom:0;
}

.featured-image i:hover::before {
opacity:0.75;
}

.home .featured-image img, .archive .featured-image img {
width:100%;
}

.post-category a, .post-category a h2 {
color:#666;
}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
	.navbar-toggle-text {
	display:none;
	}
	#main-nav button {
	margin:1em 0;
	background-color:#fa72a8;
	border:0;
	}
	nav .container {

	}

}

@media screen and (min-width: 768px) {
.navbar ul 		{ position:relative; z-index:998; height:2.7em; margin:20px 0 0 0; text-align:right; overflow:hidden;}
.navbar ul li 		{ display:inline-block; width:auto; padding:0; margin:0 10px; line-height:2.1em;}
.navbar ul li a	{ text-align:right; float:right; }
}

@media screen and (min-width: 992px) {
.navbar ul li {
font-size:1.1em;
position:relative;
top:10px;
}
.home #site-title {
width:25%;
}
.home #site-title h1 {
font-size:3em;
}

}

#masthead .container {
height:75px;
}

@media screen and (min-width: 1200px) {
.navbar ul li {
font-size:1.3em;
position:relative;
top:0px;
}
#site-title {
width:25%;
}
.home #site-title h1 {
font-size:4em;
}
}

@media screen and (max-width: 1200px) {
#site-title {
width:30%; 
}
#slider {
height:500px;
}
}

@media screen and (max-width: 991px) {
#main-nav {
background-color:#1d3454;
position:fixed;
}
#site-title {
width:30%; 
}
.navbar-header {
z-index:999;
right:0;
}

.navbar-collapse {
max-width:50%;
float:right;
border-top:0;
-webkit-box-shadow:none;
}
.navbar ul {
height:auto;
text-align:right;
}
.navbar ul li {
font-size:1.3em;
display:block;
border:0;
text-align:right;
padding:10px;
height:auto;
}
.navbar ul li:after {
content:"";
clear:both;
}
.navbar ul li:hover {
    -webkit-transform: none; /* Safari and Chrome */
       -moz-transform: none; /* Firefox */
        -ms-transform: none; /* IE 9 */
         -o-transform: none; /* Opera */
            transform: none;
}
.navbar ul li a {
text-align:right;
float:none;
line-height:normal;
}

.archive #main article {
padding:1em;
margin:0;
}

.archive #main article.post-0  {
height:auto;
min-height:0;
max-height:none;
padding:1em 15px;
}

.archive .post-3 {
padding-left:15px;
}

.archive #main article.post-0 p {
position:static;
background:none;
padding-top:0;
font-size:1.4em;
padding-top:0;
}
.archive #main article.post-0 .post h2 {
min-height:0;
max-height:none;
}
.archive #main article p {
font-size:1.4em;
padding-top:0;
}

.archive #main article .featured-image img {
width:100%;
min-width:275px;
position:static;
float:right;
margin-left:20px;
}

.archive #main .post:after {
content:"";
clear:both;
}

.featured-image i {
display:none;
}

.archive.category-showreels #main article.post-0 .post h2, .archive.category-showreels #main article.post-1 .post h2 {
min-height:62px;
max-height:none;
}

.archive .post-1.post-status .entry, .archive .post-1.post-aside .entry, .archive .post-2.post-status .entry, .archive .post-2.post-aside .entry {
min-height:0px;
max-height:none;
overflow:hidden;
}

.archive aside, .archive article {
padding-bottom:2em;
}

#slider {
height:400px;
}

.shrink #site-title {
width:50%!important;	
}

}
@media screen and (max-width: 768px) {

#site-title {
height:auto;
}

#main-nav button {
margin:1em 1em 1em 0;
}
#site-title {
width:50%;
}

.home aside, .home article, .archive aside, .archive article  {
width:50%;
display:inline-block;
}

.archive #main article {
width:100%;
}

.archive #main aside {
width:49.5%;
}

#secondary {
padding-left:15px;
padding-right:15px;
}

.archive .post-1.post-status h2, .archive .post-2.post-aside h2  {
font-size:30px;
}

}
@media screen and (max-width: 660px) {
.row {
margin:0;
}
.home #site-title {
width:65%;
}
.home #site-title h1 {
font-size:3.2em;
}
.page #site-title h1, .post #site-title h1, .archive #site-title h1, .shrink #site-title h1, .home .shrink #site-title h1, .single #site-title h1 {
font:100 1.75em 'Roboto Slab';
position:relative;
top:10px;
background-color:transparent;
    -webkit-box-shadow: none; /* Safari and Chrome */
       -moz-box-shadow: none; /* Firefox */
        -ms-box-shadow: none; /* IE 9 */
         -o-box-shadow: none; /* Opera */
            -box-shadow: none;
}
.home .shrink #site-title, .shrink #site-title {
background-color:transparent;
}
.home .shrink #site-title h1, .shrink #site-title h1 {
background-color:transparent;
    -webkit-box-shadow: none; /* Safari and Chrome */
       -moz-box-shadow: none; /* Firefox */
        -ms-box-shadow: none; /* IE 9 */
         -o-box-shadow: none; /* Opera */
            -box-shadow: none;
}

.page #site-title, .post #site-title, .archive #site-title, .shrink #site-title, .home .shrink #site-title, .home #site-title {
height:auto;
}
#slider {
background-position:50% 50%;
background-size:cover;
max-height:450px;
}
.navbar-collapse {
max-width:100%;
}
.archive #main article.post-0, .archive .post-3 {
padding:0 15px 15px;
}

.archive .post-3 {
padding-bottom:2em;
}

.page-header {
padding:15px;
}
.archive #main article .featured-image img {
width:100%;
min-width:0;
max-width:100%;
}
.archive #main article p, .archive #main article.post-0 p {
font-size:1.1em;
}

.shrink #site-title, #site-title {
width:100%!important;
}

#site-title h1 span.sp1:after, #site-title h1 span.sp2:after {
content:"";
}

#site-title h1 span.sp1:before, #site-title h1 span.sp2:before {
content:"";
}

#slider {
height:auto;
}

}

@media screen and (max-width: 580px) {

#site-title {
width:85%;
}

#site-title h1 {
font-size:2em!important;
padding-top:10px;
}

.home aside, .home article, .archive aside, .archive article  {
width:100%;
}

#site-title h1 span.sp1:after, #site-title h1 span.sp2:after, #site-title h1 span.sp1:before, #site-title h1 span.sp2:before {
content:"";
}

}

@media screen and (max-width: 460px) {
.page #site-title h1, .post #site-title h1, .archive #site-title h1, .shrink #site-title h1, .home .shrink #site-title h1, .single #site-title h1 {
font-size:1.5em;
}
.home #site-title {
width:85%;
}
#main-nav button {
margin:.75em 1em 1em 0;
}
.archive #main article.post-0 .post, .archive #main article.post-0 .entry {
height:auto;
}
.archive #main article .featured-image {
min-width:100%;
max-width:100%;
}
.archive #main article .featured-image img {
margin:0;
min-width:100%;
max-width:100%;
float:none;
}

.archive #main article p, .archive #main article.post-0 p {
padding:1em;
}

.archive #secondary article {
width:100%!important;
}

.single-content {
padding:0!important;
}

.single-content .entry-content p {
margin-right:10px;
}

.home aside, .archive #main aside  {
width:100%;
}

.shrink #site-title, #site-title {
width:100%!important;
}

#site-title h1 span.sp1:after, #site-title h1 span.sp2:after {
content:"";
}

#site-title h1 span.sp1:before, #site-title h1 span.sp2:before {
content:"";
}

}

@media screen and (max-width: 360px) {
.page #site-title h1, .post #site-title h1, .archive #site-title h1, .shrink #site-title h1, .home .shrink #site-title h1 {
font-size:1.5em;
}
.page #site-title h1, .post #site-title h1, .archive #site-title h1, .home .shrink #site-title h1 {
top:7px;
}
.home #site-title h1 {
font-size:2.6em;
}

}

/* Home posts */

.container.home-posts a {
//transition: all 0.5s ease;
text-decoration:none;
}

.container.home-posts a:hover {
text-decoration:none;
//transform: translateY(10px);
//-webkit-transform: translateY(10px);
//-webkit-animation-fill-mode: forwards;
}

.container.home-posts-first {
margin-top:-90px;
padding:0;
}

.home #posts-main {
margin-top:-120px;
padding:2em 0 0 0;
}

.container.home-posts .post-wrapper {
height:auto;
}

.container.home-posts .home-post .post {

}
/*
.home-post.post-half {
padding:0;
}

.home-post.post-0 {
padding-right:10px;
}

.home-post.post-1 {
padding-left:10px;
}

.home-post.post-0 .post, .home-post.post-1 .post {
background-color:#fff;
padding:20px 20px 20px 25px;
border-left:10px solid #fa72a8;
position:relative;
min-height:200px;
}

.home-post.post-0 h2, .home-post.post-1 h2 {
font-size:2.3em;
font-weight:300;
color:#1d3454;
margin-bottom:0.2em;
width:50%;
max-height:80px;
}

.home-post.post-0 p, .home-post.post-1 p {
width:50%;
padding:0 10px 0 0;
}

.home-post.post-0 img, .home-post.post-1 img {
position:absolute;
top:0;
right:0;
}

.home-post.post-0 h2 a, .home-post.post-1 h2 a {
color:#1d3454;
}
*/
.home .home-post.post-third {
margin-bottom:2em;
}

.home-post.post-third .post {
background-color:#fff;
border-top:10px solid #fa72a8;
}

.home-post.post-third .post img {
width:100%;
}

.home-post.post-third .post, .home-post.post-third .entry {
padding:20px 0;
}

.archive #secondary {
background-color:#d8eaf2;
margin-top:1.5em;
padding-top:2em;
}

.archive .entry {
padding-top:0;
}

.archive .home-post.post-third .entry {
padding-top:0;
}

.archive .home-post.post-status .entry, .archive .home-post.post-aside .entry {
padding:20px 0;
}

.home-post.post-third h2 {
margin-bottom:.2em;
padding:0 20px;
/*font-size:2.3em;*/
font-weight:300;
color:#1d3454;
}

.home .post-video h2, .home-post.post-third.post-video h2 {
margin-bottom:15px;
}
.home .home-post.post-third.post-video .post {
padding-bottom:0;
}
.home .post-video {
padding-bottom:0;
}

.home-post.post-third h2 a {
color:#1d3454;
}

.home-post.post-third p {
padding:20px;
}

.home-post.post-third .post .entry-meta, .archive .post .entry-meta {
padding:0 20px 15px 20px;
}

.archive  .post .entry-meta {
padding-bottom:15px;
}

.post-aside .entry {
background-color:#fff0f6;
}

.post-aside .entry h2 {
font-weight:500;
}

.post-status .entry {
background-color:#81bed7;
color:#fff;
}

.post-status .entry h2 {
font-weight:400;
}

.post-status .entry s {
text-decoration:none;
}

.post-status .entry a {
color:#1d3454;
}

.post-status .entry span.invisible {
display:none;
}

.post-video .entry .post {
background-color:#1d3454;
border-top:10px solid #fa72a8;
}

.post-video .entry .post p, .post-video .entry .post h2, .post-video .entry .post h2 a {
color:#fff;
}

.home .post-video .entry .post p {
background-color:#1d3454;
}

.home-post.post-third.post-image .featured-image {
min-height:227px;
}

.home-post.post-third.post-image .entry {
padding:15px;
background-color:#fff;
}

.home aside.post-image {
margin-bottom:2em;
}

.home aside.post-image span p {

}

.home article.home-post.post-third .entry {
padding-top:0;
padding-bottom:0;
}

.home-post.post-third .entry p {
font-family:'Roboto Slab';
font-size:1.2em;
font-weight:300;
}

.home-post.post-third.post-aside .entry p {
font-size:1.4em;
} 

.thumb-caption {
padding:10px 0;
}

.grid-sizer { width: 30%; }

#content ul.term-links {
margin:0;padding:0;
display:inline-block;
margin-bottom:15px;
}

span.posted-on {
background-color:#efefef;
font-size:0.9em;
text-transform:uppercase;
font-weight:bold;
color:#666;
padding:2px 2px;
}

span.posted-on a {
color:#666;
}

.post-aside span.posted-on {
background-color:#fa72a8;
}

.post-aside span.posted-on a {
color:#fff;
}


#content ul.term-links li {
display:inline-block;
font:700 0.9em 'Open Sans';
text-transform:uppercase;
margin:0 5px 0 0;padding:2px 2px;
background-color:#f5c1d6;
color:#1d3454;
}

#content ul.term-links li.f1 {
color:#262626;
background-color:#ffde00;
}

#content ul.term-links li a {
color:#1d3454;
}

#content ul.term-links li.f1 a {
color:#262626;
}

.post-image span.byline {
color:#fff;
}

nav button {
z-index:9999!important;
}

header.page-header {
margin-right:20px;
margin-left:20px;
}

.shrink #site-title {
height:75px;
}

body.admin-bar nav.navbar-fixed-top {
top:32px!important;
}

body.admin-bar div.page-top {
margin-top:32px;
}

div.listing-item {
width:25%;
display:block;
padding:10px 10px 10px 0;
float:left;
}

div.listing-item img {
margin-bottom:10px;
vertical-align:top;
}

div.listing-item a {
font-family:'Roboto Slab';
font-size:1.3em;
font-weight:bold;
color:#000;
}

div.listing-item a.image {
height:auto;
}

.post-aside .posted-on {
color:#fff;
}

.home .post-status .twitter-follow-button {
margin:0 0 20px 20px;
}

p.tweet-text {
margin-bottom:0;
}

.social-sharing {
margin-bottom:20px;
}

.home .home-post.post-third.post-status {
margin-bottom:6em;
}

.archive .post-0 .post, .archive .post-0 .entry {
padding-bottom:0;
max-height:485px;
overflow:hidden;
}

/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
	max-height:600px !important;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

.slider-wrapper {
position:relative;
z-index:-1;
}

@media screen and (max-width: 660px) {
.home #posts-main {
  margin-top: 0px;
 }
}