/*

 * @wordpress-plugin
 * Plugin Name:       inwendo Help Center
 * Plugin URI:        https://inwendo.de
 * Author:            Dennis Bartels
 * Author URI:        https://inwendo.de
 * Author:            Enno Steppat
 * Author URI:        https://inwendo.de
 */

/* ****************************************************** */

/* iw Help Center List */
.iw_cpt_hcl .iw_cpt_search {
    max-width: 790px;
    margin: 0 auto;
    padding-bottom: 50px;
    text-align: center;
}

.iw_cpt_hcl form.search_form input {
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    color: #1D1D1D;
    background: #EFEFEF;
    padding: 13px 25px 14px 15px;
    border: none;
    -webkit-appearance: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    float: left;
}

.iw_cpt_hcl button.start_search {
    background: #EFEFEF;
    border: none;
    -webkit-appearance: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 8px 10px;
    margin-left: -10px;
}

.iw_cpt_hcl button.start_search svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.iw_cpt_hcl button.start_search svg .cls-1 {
    stroke: #1D1D1D;
}

.iw_cpt_hcl .iw_hc_list_search_result_wrapper {
    max-width: 790px;
    margin: 0 auto;
    padding: 0;
}

.iw_cpt_hcl .iw_cpt_help_center_list_posts_wrapper {
    margin-left: -15px;
    margin-right: -15px;
}

.iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-1 {
    width: 100%;
    float: none;
}

.iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-2 {
    width: 50%;
    float: left;
}

.iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.even {
    clear: both;
}

.iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-3 {
    width: 33.333333%;
    float: left;
}

.iw_cpt_hcl .iw_hc_list_ebc_headline {
    margin: 15px 15px 30px 15px;
    width: 100%;
}

.iw_cpt_hcl .iw_hc_list_ebc_headline h2 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

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

/* Pagination */
.iw_cpt_hcl .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_hcl.without_pagination .iw_cpt_pagination {
    display: none;
}

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

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

.iw_cpt_hcl .iw_cpt_pagination .prev_arrow,
.iw_cpt_hcl .iw_cpt_pagination .next_arrow {
    width: 20px;
    height: 20px;
}

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

.iw_cpt_hcl .iw_cpt_pagination .prev_arrow {
    float: left;
}

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

.iw_cpt_hcl .iw_cpt_pagination .next_arrow {
    float: right;
}

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

.iw_cpt_hcl .iw_cpt_help_center_request_wrapper,
.iw_help_center_item .iw_cpt_help_center_request_wrapper {
    max-width: 380px;
    margin: 0 auto;
    padding: 100px 0;
}

/* iw Help Center Item */
.iw_cpt_help_center_entry {
    margin: 15px;
}

.iw_cpt_help_center_entry .iw_cpt_hc_header_wrapper {
    cursor: pointer;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_headline {
    width: calc(100% - 24px);
    float: left;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_headline h3 {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_action {
    float: left;
    width: 24px;
    height: 24px;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_action svg {
    width: 24px;
    height: 24px;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_content_wrapper {
    height: 0;
    transition: all 0.6s ease 0s;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_content {
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    padding-top: 10px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s linear;
}

.iw_cpt_help_center_entry .iw_cpt_hc_entry_divider {
    border-bottom: 2px solid #DDDDDD;
    padding-top: 15px;
}

/* Request Element */
.iw_cpt_help_center_request .iw_cpt_hc_request_headline {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    color: #1D1D1D;
    text-align: center;
    padding: 20px 0;
}

.iw_cpt_help_center_request .iw_cpt_hc_request_button button {
    padding: 15px 30px 13px 30px;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    width: 100%;
}

.iw_cpt_help_center_request .iw_cpt_hc_request_button button {
    background-color: #EFEFEF;
    border: 2px solid #1D1D1D;
    color: #1D1D1D;
}

.iw_cpt_help_center_request .iw_cpt_hc_request_button button:hover {
    background-color: #1D1D1D;
    color: #FFF;
}

.iw_cpt_help_center_request .iw_cpt_hc_request_content_wrapper {
    height: 0;
    transition: all 0.6s ease 0s;
}

.iw_cpt_help_center_request .iw_cpt_hc_request_content {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s linear;
    display: none;
}

/* taxonomy.php */
.iw_help_center_taxonomy_item {

}

/* single.php */
.iw_help_center_taxonomy_item .iw_hc_item_single_navigation,
.iw_help_center_item .iw_hc_item_single_navigation {
    padding-top: 150px;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation {
    text-align: left;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action,
.iw_help_center_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action {
    float: left;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation a,
.iw_help_center_item .iw_hc_item_single_navigation a {
    display: inline-block;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action,
.iw_help_center_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action {
    float: left;
    width: 24px;
    height: 24px;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action svg,
.iw_help_center_item .iw_hc_item_single_navigation .iw_hc_item_single_nav_action svg {
    width: 24px;
    height: 24px;
}

.iw_help_center_taxonomy_item .iw_hc_item_single_navigation a .iw_hc_item_single_nav_headline,
.iw_help_center_item .iw_hc_item_single_navigation a .iw_hc_item_single_nav_headline {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    float: left;
    padding: 4px 0 0 10px;
    color: #1D1D1D;
}

.iw_help_center_item .iw_hc_item_single_col_wrapper {
    padding: 50px 0;
    margin-left: -15px;
    margin-right: -15px;
}

.iw_help_center_item .iw_hc_item_col-1-6 {
    width: 16.666666%;
    float: left;
    min-height: 1px;
    padding: 0;
    position: relative;
}

.iw_help_center_item .iw_hc_item_col-1-6 .iw_hc_item_single_same_cat_posts {
    padding: 0 15px;
    position: absolute;
    z-index: 1;
}


.iw_help_center_item .iw_hc_item_col-4-6 {
    width: 66.666666%;
    float: left;
    padding: 0 15px;
}

.iw_help_center_item .iw_hc_item_single_scp_headline {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
}

.iw_help_center_item .iw_hc_item_single_scp_action {
    width: 24px;
    height: 24px;
    display: none;
}

.iw_help_center_item .iw_hc_item_single_scp_action svg {
    width: 24px;
    height: 24px;
}

.iw_help_center_item .iw_hc_item_single_scp_content_wrapper {
    height: unset;
    transition: all 0.6s ease 0s;
}

.iw_help_center_item .iw_hc_item_single_scp_entry {
    padding: 10px 0;
}

.iw_help_center_item .iw_hc_item_single_scp_entry a {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: #1D1D1D;
}

.iw_help_center_item .iw_hc_item_single_scp_wrapper {
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px 15px;
}

.iw_help_center_item .iw_hc_item_single_headline {
    padding-bottom: 15px;
}

.iw_help_center_item .iw_hc_item_single_divider {
    border-bottom: 2px solid #DDDDDD;
    padding-top: 30px;
}

.iw_help_center_item .iw_hc_item_single_same_cat_posts .iw_hc_item_single_divider {
    padding-top: 15px;
    display: none;
}

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

    /* single.php */
    .iw_help_center_item .iw_hc_item_single_col_wrapper {
        padding: 50px 0;
        margin: 0;
    }

}

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

    /* taxonomy.php */
    .iw_help_center_taxonomy_item .taxonomy_header_area,
    .iw_help_center_taxonomy_item .taxonomy_content_area,
    .iw_help_center_taxonomy_item .taxonomy_content_area {
        padding: 0 15px;
    }

}


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

    /* single.php */
    .iw_help_center_item .space-col {
        display: none;
    }

    .iw_help_center_item .iw_hc_item_col-1-6 {
        width: 20%;
    }

    .iw_help_center_item .iw_hc_item_col-4-6 {
        width: 80%;
    }

    /* Break VC Cols at 1000px instead of 768px */
    .iw_help_center_item .vc_col-sm-12 {
        width: 100%
    }

    .iw_help_center_item .vc_col-sm-11 {
        width: 91.66666667%
    }

    .iw_help_center_item .vc_col-sm-10 {
        width: 83.33333333%
    }

    .iw_help_center_item .vc_col-sm-9 {
        width: 75%
    }

    .iw_help_center_item .vc_col-sm-8 {
        width: 66.66666667%
    }

    .iw_help_center_item .vc_col-sm-7 {
        width: 58.33333333%
    }

    .iw_help_center_item .vc_col-sm-6 {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .iw_help_center_item .vc_col-sm-5 {
        width: 41.66666667%
    }

    .iw_help_center_item .vc_col-sm-4 {
        width: 33.33333333%
    }

    .iw_help_center_item .vc_col-sm-3 {
        width: 25%
    }

    .iw_help_center_item .vc_col-sm-2 {
        width: 16.66666667%
    }

    .iw_help_center_item .vc_col-sm-1 {
        width: 8.33333333%
    }

}

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

    /* iw Help Center List */
    .iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-3 {
        width: 50%;
        float: left;
    }

}

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

    /* single.php */
    .iw_help_center_item .iw_hc_item_col-1-6 {
        width: 100%;
    }

    .iw_help_center_item .iw_hc_item_col-1-6 .iw_hc_item_single_same_cat_posts {
        position: inherit;
    }

    .iw_help_center_item .iw_hc_item_col-4-6 {
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .iw_help_center_item .iw_hc_item_single_scp_content_wrapper {
        height: 0;
    }

    .iw_help_center_item .iw_hc_item_single_scp_content {
        visibility: hidden;
        opacity: 0;
    }

    .iw_help_center_item .iw_hc_item_single_scp_headline {
        width: calc(100% - 24px);
        float: left;
    }

    .iw_help_center_item .iw_hc_item_single_scp_action {
        display: block;
        float: left;
    }

    .iw_help_center_item .iw_hc_item_single_scp_wrapper {
        border: 2px solid transparent !important;
        padding: 0;
    }

    .iw_help_center_item .iw_hc_item_single_scp_entry a {
        font-size: 16px;
        line-height: 19px;
        font-weight: 500;
        text-decoration: none;
    }

    .iw_help_center_item .iw_hc_item_single_scp_entry.active .iw_hc_item_single_scp_wrapper,
    .iw_help_center_item .iw_hc_item_single_scp_entry a:hover .iw_hc_item_single_scp_wrapper {
        color: #EF17EF;
        text-decoration: none;
    }

    .iw_help_center_item .iw_hc_item_single_same_cat_posts .iw_hc_item_single_divider {
        display: block;
    }

    /* iw Help Center List */
    .iw_cpt_hcl .iw_hc_list_headline {
        float: none;
        text-align: center;
        padding-bottom: 25px;
    }

    .iw_cpt_hcl .search_filter {
        float: none;
        text-align: center;
    }

    .iw_cpt_hcl form.search_form {
        display: inline-block;
    }

}

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

    /* iw Help Center List */
    .iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-3,
    .iw_cpt_hcl .iw_hc_list_entry_by_category_wrapper.col-2 {
        width: 100%;
        float: left;
    }

}
