.apbct_settings-page {
    padding-right: 10px;
}

.apbct_settings-field_content,
.cleantalk_link-auto,
.cleantalk_link-manual,
.ct-warning-test-failed,
.ct_rate_block,
.ct_settings_banner,
i.animate-spin {
    display: inline-block;
}

#apbctTopWarning {margin-bottom: 5px;}
#apbctTopWarning h3{margin: 10px 0 5px 0;}
#apbctTopWarning h4{margin: 10px;}
#apbctTopWarning h4 span{margin-top: 5px;}

/* Main title */
/*.apbct_settings-title{ display: inline-block; }*/
.apbct_settings-subtitle{
    position: relative;
    top: -15px;
    margin: 0;
}

/* Setting fields */
.apbct_settings-field_wrapper{
    margin: 15px 0;
}
.apbct_settings-field_wrapper--sub{ margin-left: 30px !important; }

.apbct_settings-field_title{  }
.apbct_settings__label{
    margin-right: 10px;
    font-size: 17px;
    vertical-align: text-bottom;
}

.apbct_settings-field_content{ display: inline-block; }
.apbct_settings-field_content--checkbox{  }
.apbct_settings-field_content--radio,
.apbct_settings-field_wrapper > .apbct_settings-field_description {
    width: 70%;
    padding-bottom: 10px;
}
.apbct_settings-field_content--text{  }

.apbct_settings-field_title{}
.apbct_settings-field_title--checkbox{}

.apbct_settings-field_title--select,
.apbct_settings-field_title--textarea{
    margin: 0;
    width: 210px;
    padding-right: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    vertical-align: top;
}
.apbct_settings-field_title--radio{
    display: inline-block;
    margin: 0;
    width: 210px;
    padding-right: 10px;
    font-size: 14px;
    vertical-align: top;
}
.apbct_input_text{min-width: 255px; width: 400px;}

.apbct_settings-long_description---show:hover{
    color: #aaaaaa;
    cursor: pointer;
}

.apbct_setting_textarea {
    min-width: 300px;
}

.cleantalk_link {
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    margin: 10px 0 0 0;
    padding: 0 10px 1px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.cleantalk_link-auto{
    background: #ccc;
    border-color: #999;
    -webkit-box-shadow: inset 0 1px 0 rgba(200,200,200,.5),0 1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 1px 0 rgba(200,200,200,.5),0 1px 0 rgba(0,0,0,.15);
    color: #000;
    display: inline-block;
    height: 28px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
.cleantalk_link-auto:hover {color: #fff;}
.cleantalk_link-auto.cleantalk_link_text_center {
    text-align: center;
}
.cleantalk_link-manual {
    background: #2ea2cc;
    border-color: #0074a2;
    -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5), 0 1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5), 0 1px 0 rgba(0, 0, 0, .15);
    color: #fff;
    display: inline-block;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
}
.cleantalk_link-manual:hover {color:black;}
.cleantalk_link[disabled=disabled]{
    background: #5d9db5; color: #000;
}

.apbct_status_icon{
    vertical-align: text-bottom;
    margin: 0 5px 0 8px;
}

.apbct-icon-upload-cloud {
    margin-left: 3px;
}

a.ct_support_link{
    color: #666;
    margin-right: 0.5em;
    font-size: 10pt;
    font-weight: normal;
}

.ct-warning-test-failed {
    display: inline-block;
    position: relative;
    padding: 5px;
    margin: 4px;
    border: 3px solid rgba(240,50,50,1);
    border-radius: 5px;
    background-color: rgba(255,200,200,1);
}

/* Settings banners  */
.ct_settings_banner{
    text-align: right;
    display:inline-block;
    width: 100%;
    margin: 1em 0;
    vertical-align: top;
}

#ct_translate_plugin {margin-left: 0;}
.ct_rate_block {
    display: inline-block;
    width: 370px;
    margin-right: 3em;
    padding: 0.8em 0.8em 15px 0.8em;
    text-align: center;
    border: 1px dashed #666;
}

#ct_translate_plugin .apbct_button_rate{margin-bottom: 10px;}

.apbct_long_desc{
    position: absolute;
    background: #5a5a5a;
    min-width: 80px; min-height: 80px;
    max-width: 500px;
    padding: 10px;
    color: white;
    z-index: 10;
}
.apbct_long_desc a {
    color: rgba(120,200,230,1);
}
i.animate-spin{
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
    display: inline-block;
    margin: 0 auto;
    font-size: 25px;
    line-height: 20px;
    color: rgba(120,200,230,1);
    margin: 25px;
}
@keyframes spin {
    to{transform: rotate(359deg);}
}
.apbct_long_desc__cancel{
    position: absolute;
    top: 5px; right: 5px;
    color: rgba(255,255,255,0.5);
}
.apbct_long_desc__cancel:hover{
    color: white;
}
.apbct_long_desc__angle{
    position: absolute;
    top: 5px; left: -17px;
    width: 10px; height: 10px;
    background: #5a5a5a;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}
.apbct_long_desc__title{
    color: rgba(120,200,230,1);
    margin: 0;
}

.--hide{ display: none; }
.apbct_preloader_button{ height: 15px; margin-left: 5px; vertical-align: text-top; display: none; }

.--invisible{ visibility: hidden; }
.apbct_preloader{
    height: 1em;
    width: 1em;
    margin-left: 0.5em;
    display: inline-block;
}
.key_changed_sync {
    font-size: 1.5em;
    line-height: 2em;
    vertical-align: middle;
}
.key_changed_success {
    font-size: 1.5em;
    line-height: 2em;
    vertical-align: middle;
}
.--upper-case {
    text-transform: uppercase;
}

/* Modal Window Stiles */
#cleantalk-modal-content {
    text-align: center;
}
#cleantalk-modal-content > * {
    display: block;
    width: 100%;
}

.cleantalk-confirm-modal_header {
    font-size: 15px;
    font-weight: 500;
}

.cleantalk-confirm-modal_text-block {
    padding: 10px 0;
}

.cleantalk-confirm-modal_text {

}

.cleantalk-confirm-modal_buttons-block {
    display: flex !important;
    gap: 10px;
    justify-content: center;
}

button.ct_support_link{
    border: none;
    background: transparent;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}
.apbct-btn-as-link {
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    color: gray;
    border: 0 none;
    border-bottom: 1px solid;
    cursor: pointer;
}
#apbct-account-email[contenteditable="true"] {
    padding: 6px;
    background-color: #fff;
    border: 1px solid #ccc;
}
button[value="save_changes"]:disabled {
    color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
}
#apbct_settings__advanced_settings {
    position: relative;
}
#apbct_settings__advanced_settings_inner {
    width: 70%;
}
#apbct_hidden_section_nav {
    position: absolute;
    top: 0;
    /*right: 20px;*/
    right: 0;
    width: 200px;
}
#apbct_hidden_section_nav ul {
    /*position: fixed; !!!*/
    z-index: 9999;
    width: 100%;
    top: 40px;
}
.apbct_settings__position_main_save_button {
    text-align: right;
    margin-right: 40px;
}
#apbct_settings__after_advanced_settings{
    margin-bottom: 20px;
    width: 70%;
}
#apbct_settings__button_section {
    position: static;
    z-index: 9999;
    padding-bottom: 40px;
    bottom: 0;
}

.apbct_highlighted{
    outline-offset: 5px;
    outline-color: red;
    outline-width: 3px !important;
    outline-style: solid !important;
}

.apbct_notice_inner{
    display: flex;
    margin-top: 10px !important;
}

.apbct_notification__advanced_settings {
    margin: 20px 0;
    font-weight: 400;
}

.apbct_settings_top_info__div{
    float: right;
    padding: 0 20px 0 0;
    font-size: 13px;
    position: relative;
}

.apbct_settings_top_info__p {
    padding: 0;
    margin: 2px;
}

.apbct_settings_top_info__btn {
    display: inline-flex;
    gap: 10px;
}

.apbct_hidden_section_nav_mob_btn {
    display: none;
    background-image: url("images/menu.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
}

.apbct_hidden_section_nav_mob_btn-close {
    display: none;
}

.apbct_settings__footer {
    background: #c2c2c2;
    position: absolute;
    left: 0;
    /* right: 0; */
    /* bottom: 0; */
    padding-bottom: 30px;
    padding-left: 21px;
    /* height: 501px; */
    z-index: -1;
}


.apbct_settings_top_info__sub_btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.apbct_settings__key_line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.apbct_settings__key_line__elements {
    margin-right: 10px;
}

.apbct_setting__key_line__buttons {
    margin: 0;
}

.apbct_setting__key_line__get_key_manual_chunk {
    margin: 10px 0 10px 0;
    border: 1px solid lightgray;
    border-radius: 3px;
    padding: 10px;
    background: #FFF;
}

.apbct_settings__key_line__service_block{
    margin-left: 10px;
}

#apbct_settings__public_offer {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#cleantalk_apikey_wrapper {
    max-width: 65%;
}

.apcbt_contact_data_encoder__line {
    max-width: 70%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.apbct_warning_red_point {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: red;
    border-radius: 100%;
    margin: 0 10px 3px 3px;
    vertical-align: middle;
    position: relative;
}

.apbct_warning_red_point::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(255, 2, 2, .65);
    border-radius: 50%;
    animation: apbct_pulsate 1.2s ease-out infinite;
    opacity: .7;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/*SUMAARY AND SUPPORT SECTION*/

#apbct_summary_and_support {
    display: flex;
    flex-wrap: wrap;
    width: -webkit-fill-available;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
    background: #ededed;
    margin-top: 4em;
}

#apbct_summary_and_support-left_side {
    width: 69%;
    padding: 0 20px 0 0 ;
}

#apbct_summary_and_support-right_side {
    width: 31%;
    padding: 0 20px;
    border-left: 1px solid #dcdcde;
}

#apbct_summary_and_support-sides_wrap {
    display: flex;
    flex-direction: row;
    margin: 10px 0 10px;
    width: 100%;
}

.apbct_summary_and_support-side_header {
    margin: 0.5em 0;
}

.apbct_summary_and_support-inner_header {
    margin: 2em 0 .5em;
    font-size: medium;
}

.apbct_summary_and_support-inner_header::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,#d3d3d357 0,rgba(211,211,211,.14) 10%,transparent 100%);
    margin-top: 5px;
}

.apbct_summary_and_support-support_buttons_wrapper {
    display: flex;
    flex-direction: column;
}

#apbct_summary_and_support-create_user_button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.apbct_summary_and_support-user_creation_result {
    background: #eee;
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #d3d3d3;
    display: none;
}

.apbct_summary-list_of_items {
    display: flex;
    flex-direction: column;
}

.apbct_summary_list_item {
    margin-bottom: 2px;
}

.apbct-green {
    color: green;
}

.apbct-red {
    color: red;
}

#apbct_negative_reports_table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 5px;
}

#apbct_sending_report_div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}

#apbct_sending_report_disabled_notice {
    margin-right: 5px;
}

.apbct-real-user-popup-img {
    align-self: start;
    margin: 0!important;
    height: max-content;
    vertical-align: sub;
}

@keyframes apbct_pulsate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .apbct_settings_top_info__btn {
        display: inline-grid;
        width: 100%;
        gap: 5px;
    }
    #apbct_settings__after_advanced_settings,
    #apbct_settings__advanced_settings_inner {
        width: 100%;
    }

    .apbct_settings-field_content--radio,
    .apbct_settings-field_wrapper > .apbct_settings-field_description {
        width: 100%;
    }

    .apbct_settings_top_info__sub_btn .apbct_bottom_links--left,
    .apbct_settings_top_info__sub_btn .apbct_bottom_links--other {
        margin-left: 0;
        margin-right: 0;
    }

    #apbct_hidden_section_nav ul {
        display: none;
        background-color: #dadee3bd;
        margin: 0;
        padding: 10px;
        border-radius: 3px;
        right: 0;
        width: auto;
    }

    #apbct_hidden_section_nav {
        right: 0;
        min-width: 167px;
    }

    .apbct_setting_radio::before {
        height: 6px !important;
        width: 6px !important;
        margin: 4px !important;
    }

    .apbct_setting_checkbox::before {
        height: 15px !important;
        width: 15px !important;
        margin: 0 -.05rem !important;
    }

    .apbct_setting_checkbox,
    .apbct_setting_radio {
        height: 16px !important;
        width: 16px !important;
    }

    .apbct_hidden_section_nav_mob_btn {
        display: block;
        width: 32px;
        height: 28px;
        right: 20px;
        top: 20px;
        position: fixed;
    }

    .apbct_hidden_section_nav_mob_btn-close {
        display: block;
        position: relative;
        float: right;
        width: 20px;
        height: 22px;
        top: -5px;
        right: -5px;
        background-image: url(images/cancel.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position-y: center;
        text-align: center;
    }

    .apbct_long_desc {
        left: -2% !important;
        max-width: 95%;
        margin-top: 10%;
    }
    .apbct_long_desc__angle {
        display: none;
    }
    .ct_rate_block{
        max-width: 240px;
        margin-right: 20px;
    }
    .apbct_settings__key_line {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }
    .apbct_settings__key_line__elements {
        margin: 5px 0 5px 0;
    }
    .apbct_setting__key_line__buttons, #apbct_setting_apikey, .apbct_settings__key_line__elements {
        width: 100%;
    }
    #cleantalk_apikey_wrapper {
        max-width: 100%;
    }
    #apbct_settings__button_section {
        position: fixed;
        right: 20px;
    }

    .apcbt_contact_data_encoder__line {
        max-width: 100%;
        margin-top: 5px;
    }

    #apbct_summary_and_support-right_side {
        border-top: 1px solid #dcdcde;
        border-left: 0;
        margin: 35px 0 0;
        padding: 0;
        width: -webkit-fill-available;
    }

    #apbct_summary_and_support-left_side {
        border-top: 1px solid #dcdcde;
        width: -webkit-fill-available;
    }

    #apbct_summary_and_support-sides_wrap {
        flex-direction: column;
    }
}
