div.project-page p {
    font-size: 16px;
    padding-bottom: 20px;
}
div.project-page p:last-child {
    padding-bottom: 0;
}
ul.services p {
    padding-bottom: 6px;
}
div.content {
    display: table;
}
@media screen and (max-width: 991px) {
    div.top-content {
        padding-bottom: 50px;
    }
}
h4.projects-content {
    vertical-align: middle;
    display: table-cell;
}
h4.projects-content p {
    padding-left: 15px;
    padding-right: 15px;
    font-size: inherit;
}
img.clip {
    width: 150px;
}
div#projects-container {
    margin: 20px 0 20px 0;
}
div.blog-element {
    display: none;
}
a.blog-element-desktop {
    height:300px;
    background-size: cover;
    background-position: center center;
    position: relative;
    transition: background-color 0.5s ease;
    cursor: pointer;
}
a.blog-element-desktop.col-sm-6 {
    min-height:300px;
    height: 32vw;
    max-height: 420px;
}
a.blog-element-device {
    display: block;
    color: #000;
    padding-left: 0px;
    padding-right: 0px;
}
a.blog-element-device:hover {
    text-decoration: none;
}
a.blog-element-device p{
    position: relative;
    margin: 0;
    font-size:12px;
    line-height:20px;
    padding: 10px 20px 23px 0;
}
a.blog-element-device h3 {
    position: relative;
    margin: 0;
    padding: 15px 0 0 0;
}
a.blog-element-device > div:nth-child(1) {
    height:300px;
    background-size: cover;
    background-position: center center;
}
a.blog-element-device > div:nth-child(2) {
    background-color: #f5f0e9;
    padding-left: 10vw;
    padding-bottom: 10px;
}
a.blog-element-device > div:nth-child(2) img {
    display: block;
    position: absolute;
    top: 14px;
    left: -27px;
    width: 20px;
}
a.blog-element-desktop > div{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.5s ease;
}
a.blog-element-desktop:hover {
    text-decoration: none;
}
a.blog-element-desktop:hover > div {
    background-color:#f5f0e9;
}
a.blog-element-desktop:hover > div > div > span > p, a.blog-element-desktop:hover > div > div > span > h3 {
    color: #000 !important;
}

a.blog-element-desktop > div > div {
    display: table;
    height: 300px;
    width: 100%;
}
a.blog-element-desktop.col-sm-6 > div > div {
    min-height:300px;
    height: 32vw;
    max-height: 420px;
}
a.blog-element-desktop > div > div > span{
    display: table-cell;
    vertical-align: middle;
    width:  100%;
}
a.blog-element-desktop > div > div > span > h3 {
    padding-bottom:10px;
}
a.blog-element-desktop > div > div > span > p {
    padding-left: 30px;
    padding-right: 30px;
}
a.blog-element-desktop > div > div > span > p, a.blog-element-desktop > div > div > span > h3 {
    display: block;
    text-align: center;
    color: transparent !important;
    transition: color 0.5s ease;
}
ul.type-filter {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.type-filter li {
    float: left;
    margin-right: 50px;
}
ul.type-filter li a {
    color: #000;
}
@media screen and (max-width: 991px) {
    ul.type-filter li {
        margin-right: 16px;
        font-size: 14px;
    }
}
ul.type-filter li a.selected {
    border-top: 1px solid #00c4c4; /* Or whatever color you want */
    text-decoration: none;
    padding-top: 1px;
}
ul.type-filter li a:hover {
    text-decoration: none;
}




/**
    Single Page
*/

div#clip img.clip {
    float: right;
    width: 100px;
    margin-right: 4vw;
}
@media screen and (max-width: 1024px) {
    div#clip img.clip {
        margin-right: 0;
    }
}

div.headline h1 {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 30px;
}
@media screen and (max-width: 991px) {
    div.headline h1 {
        text-align: center;
    }
}
div.featured-image {
    overflow: hidden;
    min-height: 500px;
    max-height: 500px;
    -webkit-background-size:cover;
    background-size:cover;
    background-position: center center;
}
/*
@media screen and (min-width: 1400px) {
    div.featured-image {
        height: 500px;
    }
}*/
p.services {
    margin-top: 40px;
    padding-bottom: 6px;
}
ul.services {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.services li {
    margin: 0;
    padding-right: 6px;
    float: left;
}
@media screen and (max-width: 991px) {
    p.services {
        margin-top: 0px;
        padding-bottom: 6px;
    }
    div.project-overview-info > div {
        padding: 50px 10px 10px 50px;
    }
}
div.content {
    margin: 100px 0 100px 0;
    width: 100%;
}
div.content > div {
    display: table-cell;
}
div.content > div:nth-child(1) {
    text-align: center;
}
div.content > div:nth-child(2) > div {
    vertical-align: middle;
}
div.content img {
    max-width: 100%;
    max-height: 200px;
}
@media screen and (max-width: 991px) {
    div.content {
        margin: 0 0 50px 0;
        width: 100%;
    }
    div.project-content div:nth-child(1) {
        padding-bottom: 0;
    }
}

div.gallery {
    background-color: #f5f0e9;
    padding-top: 50px;
    padding-bottom: 50px;
}
div.gallery p.gallery-text {
    padding: 20px 0 20px 0;
}

/* Slider */
div.gallery-slider img {
    max-width: 100%;
    height: 275px;
    padding: 0 0.5vw 0 0.5vw;
}
@media screen and (max-width: 991px) {
    div.gallery-slider img {
        height: 200px;
    }
}
.mobile-featured-image {
    width: 100%;
}


div.content-block {
    margin-bottom: 100px;
}
@media screen and (max-width: 991px) {
    div.content-block {
        margin-bottom: 50px;
    }
}
div.content-block p:last-child {
    font-size: 16px;
    padding-bottom: 20px;
}
div.content-block p:last-child {
    padding-bottom:0px;
}
@media screen and (max-width: 991px) {
    div.content-block p {
        padding-left: 15px;
        padding-right: 15px;
    }
}

div.image-content img {
    width: 100%;
    height: auto;
}
@media screen and (max-width: 991px) {
    div.gallery > div:nth-child(1) {
        padding-bottom: 50px;
    }
    div.image-content img {
        width: 100%;
        height: auto;
    }
}
div.four-image-content-container {
    display: table;
    width: 100%;
    height: 800px;
}
div.four-image-content-container div.content-cell {
    display: table-cell;
    padding-right: 0;
}
div.four-image-content-container div.content-cell > div {
    height: 375px;
    vertical-align: middle;
    display: table-cell;
}
div.four-image-content-container div.content-cell > div:nth-child(1) {
    padding-right: 50px;
}
div.four-image-content-container div.content-cell div.bottom-text-image {
    height: 32.69vw;
    min-height: 350px;
    display: block;
    overflow: hidden;
}
@media screen and (min-width: 1400px) {
    div.four-image-content-container div.content-cell div.bottom-text-image {
        height: 470px;
    }
}
div.four-image-content-container div.images-cell {
    display: table-cell;
    padding: 0 15px 0 0;
}
div.four-image-content-container div.images-cell div.top-image {
    height: 450px;
    margin-bottom: 75px;
    overflow: hidden;
}
div.four-image-content-container div.images-cell div.bottom-image {
    height: 275px;
    overflow: hidden;
}
div.four-image-content-container div.images-cell img {
    height: 100%;
    width: auto;
    min-width: 100%;
}

div.three-image-content-container div.top-images-container {
    height: 500px;
    overflow:hidden;
}
div.three-image-content-container div.top-images-container div.col-xs-8 {
    margin-right: 0;
    padding-right: 0;
}
div.three-image-content-container div.top-images-container div.col-xs-4 {
    margin-left: 0;
    padding-left: 0;
}
div.three-image-content-container div.top-images-container div.col-xs-8 div.adaptable-image {
    overflow: hidden;
    height: 34.72vw;
    min-height:275px;
}
@media screen and (min-width: 1400px) {
    div.three-image-content-container div.top-images-container div.col-xs-8 div.adaptable-image {
        height: 500px;
    }
}
div.three-image-content-container div.top-images-container div.col-xs-4 div.adaptable-image {
    height: 425px;
    overflow:hidden;
}
div.three-image-content-container div.bottom-content-container {
    height: 375px;
    overflow:hidden;
    width: 100%;
}
div.three-image-content-container div.bottom-content-container div.col-xs-8 {
    margin-right: 0;
    padding-right: 0;
}
div.three-image-content-container div.bottom-content-container div.col-xs-4 {
    margin-left: 0;
    padding-left: 0;
}
div.three-image-content-container div.bottom-content-container div.col-xs-8 div {
    height: 375px;
    padding-right: 50px;
    vertical-align: middle;
    display: table-cell;
}
div.three-image-content-container div.bottom-content-container div.col-xs-4 div.height-preferred-adaptable-image {
    min-height: 375px;
    height: 35vw;
    overflow:hidden;
}
div.three-image-content-container div.bottom-content-container div.col-xs-4 div.height-preferred-adaptable-image {
    height: 100%;
    width: auto;
}
@media screen and (max-width: 991px) {
    div.xs-img-container div.adaptable-image {
        max-height: 500px;
        min-height: 200px;
        overflow: hidden;
    }
    div.xs-img-container > div {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    div.xs-img-container > div p {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/**/
/*xs-three-img-container*/
div.related-posts-headline {
    margin-top:100px;
    margin-bottom:40px;
    text-align: center;
}
div.related-posts {
    background-color: #f5f0e9;
    margin-bottom:100px;
}
@media screen and (max-width: 991px) {
    div.related-posts {
        margin-bottom:0;
    }
    div.device-button {
        margin-bottom:100px;
    }
    div.device-button > a {
        min-width:225px;
        width:50vw;
    }
    div.top-left-content-row {
        display: none;
    }
    p.client-container {
        display: none;
    }
}


div.related-posts > div > a {
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #000;
}
div.related-posts > div > a:hover {
    text-decoration: none;
}
div.related-posts > div > a img {
    width: 50px;
}
div.related-posts > div > a h3 {
    padding-top: 35px;
    padding-bottom: 50px;
}
div.no-margin {
    margin-bottom: 0;
}
.yt-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.yt-overlay  {
    position:absolute;
    width: 500px;
    height: 500px;
    background-color: #555;
    z-index:1;
    overflow: hidden;
    background-size: cover;
    cursor: pointer;
}
.yt-overlay:hover #play .stroke-solid {
    opacity: 1;
    stroke-dashoffset: 300;
}
yt-overlay:hover #play .icon {
    transform: scale(0.9);
}
.yt-video {
    display: none;
    width:100%;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*
div.gallery div.gallery-images {
    display: table;
}
div.gallery div.gallery-images div {
    overflow: hidden;
    display: table-cell;
    width: 200px;
}
div.gallery div.gallery-img-row-1 div:nth-child(1) {
    text-align: right;
}
div.gallery div.gallery-images div img {
    max-width: 200px;
    height: 200px;
}
div.gallery div.gallery-img-row-1 div:nth-child(1) img {
    max-width: 400px;
    padding-right: 5px;
    padding-bottom: 10px;
}
div.gallery div.gallery-img-row-1 div:nth-child(2) img {
    padding-left: 5px;
    padding-bottom: 10px;
}
div.gallery div.gallery-img-row-2 div img {
    padding-left: 10px;
}*/