/*
 * inwendo CPT Products - Styles
 *
 ********************************************************/

/* List Shortcode */
.iw_cpt_prdl {
    margin-left: -15px;
    margin-right: -15px;
}

.iw_cpt_prdl form {
    max-width: 790px;
    margin: 15px auto;
}

.iw_cpt_prdl svg {
    fill: #1d1d1d;
}

/* Search Filter */
.iw_cpt_prdl .iw_cpt_search {
    padding: 0 0 50px 0;
}

.iw_cpt_prdl .iw_cpt_search input[type="text"] {
    font-size: 16px;
    line-height: 21px;
    width: calc(100% - 54px);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333333;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.iw_cpt_prdl .iw_cpt_search input:focus {
    outline: none;
}

.iw_cpt_prdl form {
    max-width: 790px;
    margin: 0 auto;
}

.iw_cpt_prdl .iw_cpt_search button.start_search {
    border: none;
    cursor: pointer;
    width: 54px;
    height: 54px;
    background-color: inherit;
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_search button:focus {
    outline: none;
}

.iw_cpt_prdl .iw_cpt_search .start_search svg {
    width: 20px;
    height: 20px;
}

/* Category Link Style */
.iw_cpt_prdl .category_link_wrapper a.category_link {
    text-decoration: none;
}

.iw_cpt_prdl .category_link_wrapper a.category_link:hover {
    color: #efef17;
}

.iw_cpt_prdl .category_link_wrapper.active a.category_link {
    color: #efef17;
}

/* Category Wrapper - Multi Line */
.iw_cpt_prdl .iw_cpt_categories {
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_categories .category_wrapper_inner.clearfix {
    padding: 17px;
}

.iw_cpt_prdl .category_link_wrapper {
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line .iw_cpt_categories_headline {
    float: left;
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line .all_links {
    float: left;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line .category_wrapper_inner .category_link_wrapper {
    float: left;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line button.open_rect {
    border: none;
    cursor: pointer;
    width: 54px;
    height: 54px;
    background-color: inherit;
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line button:focus {
    outline: none;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line .open_rect svg {
    width: 20px;
    height: 20px;
}

.iw_cpt_prdl .iw_cpt_categories.multi_line .category_wrapper_inner {
    padding: 17px;
    display: none;
}

/* Category Wrapper - One Line */
.iw_cpt_prdl .iw_cpt_categories.single_line .category_link_wrapper_area {
    display: flex;
    display: -ms-flexbox;
    justify-content: start;
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
}

.iw_cpt_prdl .iw_cpt_categories.single_line .category_link_wrapper_area .category_link_wrapper {
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
    text-align: left;
    flex-grow: 0;
}

/* Post List */
.iw_cpt_prdl article.iw_cpt_list_post {
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_list_post .post_thumbnail_area {
    overflow: hidden;
    position: relative;
    background: transparent;
}

.iw_cpt_prdl .iw_cpt_list_post .post_thumbnail_area img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.iw_cpt_prdl .post_thumbnail_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    background: none;
    transition: all 300ms;
}

.iw_cpt_prdl .post_thumbnail_overlay:hover {
    background: rgba(255, 255, 255, 0.6);
}

.iw_cpt_prdl .post_thumbnail_overlay .post_thumbnail_overlay_text_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 300ms;
    visibility: hidden;
    opacity: 0;
}

.iw_cpt_prdl .post_thumbnail_overlay:hover .post_thumbnail_overlay_text_wrapper {
    visibility: visible;
    opacity: 1;
}

.iw_cpt_prdl .post_thumbnail_overlay_text_wrapper .post_thumbnail_overlay_text {
    color: #EF17EF;
    font-size: 17px;
    line-height: 17px;
}

.iw_cpt_prdl .iw_cpt_list_post .post_content_area,
.iw_cpt_prdl .iw_cpt_list_post.even .post_content_area {
    background-color: #EFEF17;
    margin: 17px;
}

.iw_cpt_prdl .iw_cpt_list_post .post_content_area_headline a {
    margin: 0;
    padding: 0;
    font-size: unset;
    line-height: unset;
    font-weight: unset;
    text-decoration: none;
}

.iw_cpt_prdl .iw_cpt_list_post .post_content_area_headline a p.headline {
    padding: 17px;
    display: -webkit-box;
    height: 52px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    line-height: 17px;
    margin: 17px;
}

.iw_cpt_prdl .iw_cpt_list_post p.excerpt {
    padding: 17px;
    display: -webkit-box;
    height: 86px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    line-height: 17px;
    margin: 17px;
}

.iw_cpt_prdl .iw_cpt_list_post span.meta_info {
    padding: 17px;
}

/* Loading and no result */
.iw_cpt_prdl .loading_results,
.iw_cpt_prdl .no_result {
    text-align: center;
}

/* Pagination */
.iw_cpt_prdl .iw_cpt_pagination {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    -ms-flex-pack: center;
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
    padding: 17px;
}

.iw_cpt_prdl .iw_cpt_pagination .page {
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
    padding: 0 17px;
}

.iw_cpt_prdl .iw_cpt_pagination .prev_area .prev_arrow,
.iw_cpt_prdl .iw_cpt_pagination .next_area .next_arrow {
    width: 20px;
    height: 20px;
}

.iw_cpt_prdl .iw_cpt_pagination .prev_area .prev_arrow svg,
.iw_cpt_prdl .iw_cpt_pagination .next_area .next_arrow svg {
    width: 20px;
    height: 20px;
}

.iw_cpt_prdl .iw_cpt_pagination .prev_area {
    cursor: pointer;
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
    padding: 0 17px;
}

.iw_cpt_prdl .iw_cpt_pagination .prev_area .prev_text {
    float: left;
    margin: 0 0 0 17px;
}

.iw_cpt_prdl .iw_cpt_pagination .prev_area .prev_arrow {
    float: left;
}

.iw_cpt_prdl .iw_cpt_pagination .next_area {
    cursor: pointer;
    flex-wrap: wrap;
    -ms-flex-flow: wrap;
    padding: 0 17px;
}

.iw_cpt_prdl .iw_cpt_pagination .next_area .next_text {
    float: left;
    text-align: right;
    margin: 0 17px 0 0;
}

.iw_cpt_prdl .iw_cpt_pagination .next_area .next_arrow {
    float: right;
}

.iw_cpt_prdl.without_pagination .iw_cpt_pagination {
    display: none;
}

/* Columns */
.iw_cpt_prdl .cpt-col-1-1 {
    width: 100%;
    float: left;
}

.iw_cpt_prdl .cpt-col-1-2 {
    width: 50%;
    float: left;
}

.iw_cpt_prdl .cpt-col-1-3 {
    width: 33.333333%;
    float: left;
}

.iw_cpt_prdl .cpt-col-1-4 {
    width: 25%;
    float: left;
}

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

    /* Search */
    .iw_cpt_prdl .iw_cpt_search {
        width: 66.6666666%;
        margin: 0 auto;
    }

}

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

    /* Columns */
    .iw_cpt_prdl .cpt-col-1-3,
    .iw_cpt_prdl .cpt-col-1-4 {
        width: 50%;
    }

    /* Pagination */
    .iw_cpt_prdl .iw_cpt_pagination .prev_area .prev_text {
        display: none;
    }

    .iw_cpt_prdl .iw_cpt_pagination .next_area .next_text {
        display: none;
    }

}

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

    /* Columns */
    .iw_cpt_prdl .cpt-col-1-2,
    .iw_cpt_prdl .cpt-col-1-3,
    .iw_cpt_prdl .cpt-col-1-4 {
        width: 100%;
    }

}
