/**
 * Custom css file for template changes
 * @author Samuel Alfano
 * @date 29.05.2017
 * @version v0.2
 */

.content-block-max {
    max-height: 100%;
}
.content-block-max-overflow {
    max-height: 100%;
}

@media screen and (min-width: 1024px) {
    .content-block-max {
        max-height: 100vh;
        overflow: hidden;
    }

    .content-block-max-overflow {
        max-height: 100vh;
        overflow: auto;
    }
}

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

    .slide-extralarge-title,
    .slide-large-title {
        font-size: 1.7em;
        line-height: 1.2em;
    }

    .slide-description-small {
        font-size: 1.4em;
        line-height: 1.2em;
    }
    .slide-nav {
        display: none;
    }
}
.home-post-image {
    height: 250px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.content-block-detail {
    height: 200px;
}

.related-post-thumbnail {
    height: 130px;
}

.content-block3.text-right .text-block {
    padding: 0 80px 0 60px;
}

.distributor-list {
    max-height: 650px;
    height: 650px;
    overflow-y: scroll;
}

.distributor-item {
    min-height: 130px;
    max-height: 130px;
    padding-right: 8px;
}

@media screen and (max-width: 768px) {
    .content-block3.text-right .text-block {
        padding: 0 15px;
    }

    .distributor-select-item {
        padding: 10px;
    }

    .distributor-item {
        width: 50%;
        float: left;
    }
}

.nav-inner-wrap > .logo > h1 {
    font-size: 3em;
}
.nav-inner-wrap > .logo > h1 > a {
    text-decoration: none;
    text-underline: none;
    color: #878787;
}

.footer-logo > h1 {
    font-size: 8em;
}

@media all and (max-width: 768px){
    .footer-logo > h1 {
        font-size: 3em;
    }
}

@media (min-width: 480px){
    .carousel-block-title h1 {
        font-size: 2.6em !important;
    }
}

/*
 * Blog
 */
.overlay-title {
    text-align: left;
}


.blog-entry-thumbnail {
    height: 200px;
}

.blog-entry-thumbnail img {
    width: 100%;
    height: auto;
    position: absolute;
    top: -200px;
}

/* Override style.css */
.more-item-link {
    /*background-color: #fff !important; */
    color: #878787 !important;
}

/* Post image */
img.img-post {
    max-width: 768px;
    margin-bottom: 15px;
}

@media screen and (max-width: 1024px) {
    .blog-entry-thumbnail img {
        top: 0;
    }
    img.img-post {
        max-width: 100%;
    }
}

.fit-img{
	background-position: top !important;
}

/*
 * Videos
 */
.video-text {
    color: #878787; 
}
.video-block-wrapper {
    max-width: 720px;
    margin: 0 auto;
}
.video-block {
    position: relative; 
    padding-bottom: 56.25%; /* 16:9 */
    height: 0; 
    overflow: hidden; 
    width: 100%; 
    height: auto;
}
  
.video-block iframe {
position: absolute; 
top: 0; left: 0; 
width: 100%; 
height: 100%;
}

.fit-vids-style {
  display: none;
}