/* Blog specific */

#footer-statements {
    display: none;
}

.footer {
    position: relative;
    z-index: 99999;
}



/* Blog list */

.ProductList_Custom_UL {
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

.ProductList_Custom_UL:after {
    content: '';
    display: block;
    clear: both;
}

.ProductList_Custom_UL > li,
.grid-sizer {
	list-style: none;
	position: relative;
	width: 33.333%;
	padding: 20px;
	color: #333;
	float: left;
	opacity: 0;
}

@media screen and (max-width: 48em) {
    .ProductList_Custom_UL > li,
    .grid-sizer {
        width: 100%;
        padding: 0;
        padding-bottom: 20px;
    }
}

.ProductList_Custom_UL.is-showing-items > li {
  opacity: 1;
}

.BlogPost {
    background: #eee;
}
.BlogPost .ProductImage img {
	display: block;
	width: 100%;
}
.BlogPost .BlogInfo {
	padding: 5px 10px 15px;
}

.BlogPost .ProductName a {
	font-size: 21px;
	font-weight: 300;
	color: #333;
	text-transform: uppercase;
	text-decoration: none;
}
.BlogPost .ShortDescription {
	font-weight: 300;
	font-size: 14px;
	text-transform: uppercase;
}

/* Blog nav */

nav#blog-nav {
    position: relative;
    top: 0;
    background: #eee;
    z-index: 6000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -moz-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -ms-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -o-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
}

nav#blog-nav.fade-in {
    opacity: 1;
}

nav#blog-nav button,
nav#blog-nav li {
    border: none;
    background: #eee;
    color: #666;
    text-transform: uppercase;
    outline: none;
    height: 40px;
}
nav#blog-nav a,
nav#blog-nav button {
    color: #666;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    padding: 0;
    -webkit-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -moz-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -ms-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    -o-transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
    transition: all 0.75s cubic-bezier(.55, 0, .1, 1) 0s;
}
nav#blog-nav a.active {
    background: #fff;
}
nav#blog-nav #blognav .is-checked {
    background: white;
}

#blognav a,
#blognav button {
    display: block;
    width: 100%;
}

@media only screen and (min-width:48.063em) {
   /*nav#blog-nav.button-group,*/
   nav#blog-nav ul.nav {
        display: flex;
        flex-direction: row;
    }

    /*nav#blog-nav button,*/
    nav#blog-nav li {
        flex-grow: 1;
    }
}

@media screen and (max-width: 48em) {
    #blognav {
        width: 100%;
        padding-bottom: 20px;
        border-top: 1px solid #ddd;
    }
    nav#blog-nav .navbar-header {
        text-align: center;
    }
    nav#blog-nav .navbar-toggle {
        float: none;
        margin: auto;
    }
    nav#blog-nav .navbar-toggle .icon-bar {
        background: #333;
    }
    nav#blog-nav .navbar-toggle .pull-left {
        line-height: 15px;
        padding-left: 10px;
    }
}


/* Blog general */

.blog.container {
    padding-right: 25px;
    padding-left: 25px;
}

.blog > .row {
    background: white;
    padding: 5px;
}

@media screen and (min-width: 40.063em) {
    .blog > .row {
        padding: 40px;
    }
}


.blog-ruler {
    width: 100%;
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding: 1rem 0;
}

/* Blog slider */

.nivoSlider:not(.dd-nivoSlider) img {
    max-width: 100%;
}
.nivoSlider:not(.dd-nivoSlider) img ~ img {
    display: none;
}

.dd-theme-default .nivo-controlNav {
    margin-top: -40px;
    z-index: 99;
}

.dd-theme-default .nivo-controlNav a:before {
    color: #fff
}

/* Blog post */

#blog-post {
    display: inline-block;
    position: relative;
}

@media screen and (min-width: 64.0625em) {
    #blog-post {
        padding: 20px 100px;
    }  
}

@media screen and (max-width: 48em) {
    #blog-post {
        display: flex;
        flex-wrap: wrap;
    }
    .aside-container {
        order: 0
    }
    .article-container {
        order: 1
    }
}

.article-container > section {
    float: left;
    width: 100%;
}


/* Blog header */

#blog-header {
    text-align: center;
    border-bottom: 1px solid #333;
    padding: 50px 0 50px;
    margin-bottom: 30px;
}

#blog-header h1 {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
}

#blog-header h2 {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 300;
}


/* Blog post content */

#blog-post-content img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

#blog-post-content iframe {
    max-width: 100%;
}

/* Blog news mail */

#blog-news-mail {
    background: #efefef url('../media/newsmail.svg') no-repeat 107% 50px;
    background-size: 120px;
    padding: 20px;
    font-style: italic;
    margin-top: 75px;
}

#blog-news-mail p {
    padding-right: 20%;
}

#blog-news-mail  input {
    display: inline-block;
    padding: 5px 10px;
    height: 30px;
}

#mce-EMAIL {
    width: 50%;
}

#mc-embedded-subscribe {
    width: 20%;
    margin-left: 10px;
}

@media screen and (max-width: 40em) {
    #blog-header {
        padding: 30px 0 20px;
        margin-bottom: 0;
        border: none;
    }
    #mce-EMAIL {
        width: 70%;
    }
    #mc-embedded-subscribe {
        width: 28%;
        margin-left: 2%;
    }
    #blog-news-mail {
        background-size: 80px;
    }
}


/* Sticky */

.sticky_parent_bottom {
    position: static !important;
    height: 100%;
    /* right: 0; */
}

.sticky_parent_bottom > div {
    height: 100%
}

/* Sidebar */


aside {
    font-style: italic;
}

aside h6 {
    font-weight: 400;
    font-size: 14px;
    padding-top: 2.5rem;
    margin-top: 0;
}

/* Date */

aside h6#date-created {
    padding-top: 0;
}

aside h6#date-edited {
    padding-top: 0;
    padding-bottom: 1rem;
} 

/* Author */

aside .author {
    display: table;
    margin-bottom: 1rem;
}

aside .author .img-container {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 100px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
}

aside .author p {
    display: table-cell;
    height: 50px;
    padding: 0 0 0 10px;
    position: relative;
    vertical-align: middle;
}

@media screen and (max-width: 48em) {
    aside #blog-author {
        border-top: 1px solid #333;
        padding-top: 20px;
        margin-top: 2rem;
    }
    aside #blog-author h6 {
        display: none;
    }
    aside .author {
        float: left;
        padding-right: 20px;
    }
    aside nav {
        display: none;
    }
    .aside-container aside .blog-ruler {
        float: left;
        border-top: none;
        border-bottom: 1px solid #333;
        margin-top: 0rem;
    }
    aside h6 {
        padding-top: 1rem;
        text-align: center;
        margin-bottom: 0;
    }
}


/* Table of content */

#blog-post-toc {
    padding: 0;
    margin: 0;
}

#blog-post-toc a {
    color: #333;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    padding-left: 0;
}
.toc-active {
    background: #336699;
    box-shadow: inset -5px 0px 10px -5px #000;
}


/* Related products */

.Related_Custom_DIV > div {
    margin-top: 2.5rem;
}
.Related_Custom_DIV img {
    width: 100%;
}
.Related_Custom_DIV a {
    color: #333;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    line-height: 15px;
    display: block;
}
.Related_Custom_DIV .ProductPrice {
    margin-top: 0.25rem;
}

.Related_Custom_DIV .ProductPrice strike {
    display: none;
}

.Related_Custom_DIV.slick-slider {
    padding: 0 40px;
    margin: 0 -20px;
    padding: 0;
    margin: 0 -30px;
}

.Related_Custom_DIV .slick-track {
    box-shadow: none;
    border: none;
}

.Related_Custom_DIV .slick-slide {
    margin: 0 10px;
}

.Related_Custom_DIV .slick-slide .no-padding {
    padding-left: 15px !important;
    padding-right: 15px !important;
}


/* Balanced Spaces */
@media screen and (min-width: 768px) {
    #spaces-products .Related_Custom_DIV {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #spaces-products .Related_Custom_DIV > div {
        flex-basis: 260px;
        padding: 10px 50px;
        text-align: center;
    }
    #spaces-products .Related_Custom_DIV .ProductImage {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 48em) {

    .balanced-spaces .aside-container {
        order: 1
    }
    .balanced-spaces .article-container {
        order: 0
    }
}

.balanced-spaces h1,
.balanced-spaces h2 {
    line-height: 1.4;
    max-width: 800px;
    margin: auto;
}

.balanced-spaces .preheader {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 50px;
}

.balanced-spaces #date-created {
    margin-top: 50px;
}

/* Instagram */

#instagram-slider {
    width: 100%;
    display: inline-block;
    padding: 0px 115px 20px;
}



@media screen and (max-width: 64em) {
    #instagram-slider {
        padding: 0 15px 20px;
    }
}

@media screen and (max-width: 40em) {
    #instagram-slider {
        padding: 0 20px 20px;
    }
}