body.single-temasider .related-carousel-wrapper .slick-prev {
    left: 40px;
}
body.single-temasider .related-carousel-wrapper .slick-next {
     right: 40px;
}

.temasider-posts-wrapper{
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
    flex: 0 1 100%;
    max-width: 100%;
    width: 100%;
}
.temasider-posts-wrapper *{
    box-sizing: border-box;
}
.temasider-posts .temasider-post{
    margin-bottom: 50px;
    flex: 0 1 100%;
    max-width: 100%;
    width: 100%;
}
.temasider-post .tsp-inner{
    display: block;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.temasider-post .image-thumbnail{
    position: relative;
}
.temasider-post .image-thumbnail a{
    display: block;
}
.temasider-post .image-thumbnail img{
    display: block;
    width: 100%;
    height: auto;
}
.temasider-post .image-thumbnail .terms{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
}
.temasider-post .terms span{
    display: inline-block;
    padding: 5px 8px;
    margin: 0 5px 5px 0;
    background: #004c59;
    color: #fff;
}

.temasider-post .title{
    padding: 15px;
}
.temasider-post .title a{
    display: block;
}
.temasider-post .title h2{
    font-size: 20px !important;
    color: #004c59;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.temasider-posts-wrapper .navigation{
    margin-top: 20px;
}
.temasider-posts-wrapper .navigation ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}
.temasider-posts-wrapper .navigation ul li{
    margin: 0 5px 5px;
}
.temasider-posts-wrapper .navigation ul li.active{
    background: none !important;
}
.temasider-posts-wrapper .navigation ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 33px;
    padding: 5px 10px;
    height: 33px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.27);
    color: #000;
}
.temasider-posts-wrapper .navigation ul li.active a{
    background: #004c59;
    color: #fff;
}

.temasider-search{
    position: relative;
}
.temasider-search button{
    background: none;
    display: inline-block;
    border: 0;
    color: #919191;
    font-size: 20px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9;
    cursor: pointer;
}
.temasider-search button:before{
    content: "\f002";
    font-family: awb-icons;
}
.temasider-search input{
    height: 55px !important;
    border-radius: 20px !important;
    padding-right: 50px
}

.temasider-search-filter{
    margin-bottom: 30px;
}
.temasider-search-filter .item{
    margin-bottom: 15px;
}
.temasider-search-filter h4{
    margin: 0 0 5px !important;
    font-size: 16px !important;
}
.temasider-search-filter .post-filter{
    display: flex;
    flex-flow: row wrap;
}
.temasider-search-filter .post-filter button,
.temasider-search-filter .post-filter a{
    padding: 3px 8px;
    font-size: 14px!important;
    background: none;
    border: 1px solid #004c59;
    color: #004c59;
    margin: 0 8px 5px 0;
    cursor: pointer;
}
.temasider-search-filter .post-filter button.selected,
.temasider-search-filter .post-filter a.selected{
    background: #004c59;
    color: #fff;
}

.temasider-search-posts .temasider-post{
    margin-bottom: 50px;
}

.temasider-search-posts-wrapper .search-term{
    margin-bottom: 85px;
    text-align: center;
}
.temasider-search-posts-wrapper .search-term span{
    color: #004c59;
}

.temasider-search-posts-wrapper  .temasider-search-filter .item:last-child{
    max-width: 55%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

body.single-temasider #main{
    padding-left: 0;
    padding-right: 0;
}
body.single-temasider #main>.fusion-row{
    max-width: 100%;
}
body.single-temasider #main>.fusion-row .fusion-row{
    padding-left: 30px !important;
    padding-right: 30px !important;
}

body.single-temasider .related-posts{
    padding-left: 30px;
    padding-right: 30px;
}

@media(min-width: 992px){
    .temasider-posts{
        display: flex;
        flex-flow: row wrap;
        margin-left: -25px;
        margin-right: -25px;
    }
    .temasider-posts .temasider-post{
        position: relative;
        padding-left: 25px;
        padding-right: 25px;
        flex: 0 1 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }
    .temasider-posts .temasider-post .tsp-inner{
        min-height: 100%;
    }
    .temasider-posts .temasider-post:nth-child(1){
        flex: 0 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .temasider-posts .temasider-post:nth-child(2),
    .temasider-posts .temasider-post:nth-child(3){
        flex: 0 1 50%;
        max-width: 50%;
        width: 50%;
    }
    body.post-type-archive-temasider.paged .temasider-posts .temasider-post:nth-child(1),
    body.post-type-archive-temasider.paged .temasider-posts .temasider-post:nth-child(2),
    body.post-type-archive-temasider.paged .temasider-posts .temasider-post:nth-child(3){
        flex: 0 1 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }

    body.post-type-archive-temasider .temasider-posts.filtered .temasider-post:nth-child(1),
    body.post-type-archive-temasider .temasider-posts.filtered .temasider-post:nth-child(2),
    body.post-type-archive-temasider .temasider-posts.filtered .temasider-post:nth-child(3){
        flex: 0 1 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }
    body.tax-temasider_cat .temasider-posts .temasider-post:nth-child(1),
    body.tax-temasider_cat .temasider-posts .temasider-post:nth-child(2),
    body.tax-temasider_cat .temasider-posts .temasider-post:nth-child(3){
        flex: 0 1 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }

    .temasider-search-filter{
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        margin-left: -15px;
        margin-right: -15px;
    }
    .temasider-search-filter .item{
        padding-left: 15px;
        padding-right: 15px;
    }
    .temasider-search-filter .item:first-child{
        flex: 0 1 35%;
        max-width: 35%;
        width: 35%;
    }
    .temasider-search-filter .item:last-child{
        flex: 0 1 65%;
        max-width: 65%;
        width: 65%;
    }

    .temasider-search-posts{
        display: flex;
        flex-flow: row wrap;
        margin-left: -25px;
        margin-right: -25px;
    }
    .temasider-search-posts .temasider-post{
        flex: 0 1 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
        padding-left: 25px;
        padding-right: 25px;
        margin-bottom: 50px;
    }
}

@media(max-width: 768px){
    .temasider-search-posts-wrapper .temasider-search-filter .item:last-child{
        flex: 0 1 100%;
        max-width: 100%;
        width: 100%;
    }
}