@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.two-way-sync-btn {
    background: #005E54 !important;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.column-sync span.sync-loader img {
    width: 100%;
    max-width: 20px;
    margin: 0 0 0 6px;
}

span.sync-success {
    color: #005E54;
    margin: 2px 0 0 0px;
    display: block;
}

.instawp-green-btn {
    background: #005E54 !important;
    color: white;
    border: none;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.bulk-sync-popup {
    display: none;
}

.change-event-main .top-title {
    display: flex;
    align-items: center;
}

.change-event-main .bulk-sync {
    margin-left: 10px;
}

/****************2 sync popup [start]**********************/
input:focus,
textarea:focus {
    outline: none;
}

body.show {
    overflow: hidden;
}

.bulk-sync .instawp-green-btn {
    padding: 1px 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.bulk-sync-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 114, 128, 0.75);
    z-index: 99999;
    text-align: center;
    overflow: auto;
}

.bulk-sync-popup::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.instawppopwrap {
    background: #fff;
    border-radius: 10px;
    padding: 25px 25px 25px;
}

.topinstawppopwrap {
    padding: 0 20px;
}

.instawppopwrap,
.instawppopwrap h3,
.instawppopwrap div,
.instawppopwrap p,
.instawppopwrap label,
.instawppopwrap li {
    font-family: 'Inter', sans-serif;
}

.instawp-popup-main {
    text-align: center;
    max-width: 715px;
    padding: 15px;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    margin: auto;
    vertical-align: middle;
}

.instawp-popup-main h3 {
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    text-transform: capitalize;
    margin: 0 0 37px;
}

.destination_form label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
}

.destination_form input#destination-url,
.destination_form textarea {
    height: 42px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    width: 100%;
    margin-top: 5px;
    color: #6b7280;
    font-size: 16px;
    line-height: 24px;
    padding: 13px;
}

.destination_form textarea {
    height: 65px;
}

.destination_form input::-webkit-input-placeholder {
    color: #6b7280;
}

.destination_form input:-ms-input-placeholder {
    color: #6b7280;
}

.destination_form input::placeholder {
    color: #6b7280;
}

.textarea_json.destination_form {
    margin-top: 30px;
}

.instawp_category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    column-gap: 30px;
}

.instawp_category > div {
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    padding: 22px 22px;
}

.instawp_category > div > ul {
    margin: 0;
}

.instawp_category > div.instawpcatlftcol ul.list {
    list-style: disc;
    font-size: 14px;
    padding-left: 30px;
    color: #4B5563;
}

.instawp_category > div.instawpcatlftcol ul.list li {
    margin-bottom: 8px;
}

.instawp_category > div.instawpcatlftcol ul.list li:last-child {
    margin: 0;
}

.instawp_category > div.instawpcatrgtcol > ul {
    position: relative;
    z-index: 1;
}

.instawp_category > div.instawpcatrgtcol > ul::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: #E5E7EB;
    top: 0;
    left: 10px;
    z-index: -9;
}

.instawp_category > div.instawpcatrgtcol > ul::before {
    z-index: -1;
    position: absolute;
    content: "";
    height: 33.33%;
    background: #E5E7EB;
    width: 2px;
    left: 10px;
    top: 10px;
}

.instawpcatrgtcol ul li {
    margin-bottom: 0;
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.025em;
    padding-left: 39px;
    padding-bottom: 26px;
    color: #3c434a;
}

.instawpcatrgtcol ul li:last-child {
    padding-bottom: 0;
}

.instawpcatrgtcol ul li::after {
    height: 20px;
    width: 20px;
    border: 2px solid #D1D5DB;
    background: #fff;
    content: "";
    position: absolute;
    border-radius: 50%;
    left: 0;
    top: -3px;
}

.instawpcatrgtcol ul li.process_complete::after {
    border: 2px solid #005E54;
    background: #005E54;
}

.instawpcatrgtcol ul li.process_complete::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 1;
}

.instawpcatrgtcol ul li.process_inprogress::before {
    height: 8px;
    width: 8px;
    background: #005E54;
    position: absolute;
    content: "";
    top: 3px;
    left: 6px;
    z-index: 1;
    border-radius: 50%;
}

.instawpcatrgtcol ul li.process_inprogress {
    color: #005E54;
}

.instawp_buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    margin-top: 56px;
}

.instawp_buttons a {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #E5E7EB;
    text-decoration: none;
    color: #1F2937;
    font-weight: 600;
}

.instawp_buttons a:focus {
    outline: none;
    box-shadow: none;
}

.instawp_buttons a.changes-btn.sync-changes-btn {
    background: #005E54;
    border-color: #005E54;
    color: #fff;
    position: relative;
}

.disable-a {
    pointer-events: none;
}

.instawp-events-catagory {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 88px;
}

.instawp-events-catagory ul.list li {
    font-size: 28px;
    margin: 0 0px 20px 0px;
    text-align: left;
    list-style: disc;
    color: #1a1a1a;
    padding: 0 12px;
}

.insta-wp-catagory-name {
    border: 1px solid;
    text-align: left;
    padding: 40px 106px 40px 35px;
}

.insta-wp-catagory-name ul li {
    font-size: 21px;
    margin: 0 0 20px;
    color: #1a1a1a;
}

.insta-wp-catagory-name ul li:last-child {
    margin: 0;
    padding-left: 52px;
}

.insta-wp-catagory-name ul li img {
    width: 100%;
    max-width: 32px;
    vertical-align: middle;
    margin-right: 20px;
}

.insta-wp-buttons a {
    margin: 0px 19px;
}

.column-direction img {
    width: 12px;
}

.sync-features {
    padding: 40px;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
    background: #fff;
    margin: 20px 20px 20px 0;
}

.sync-features h3 {
    color: #005E54;
}

.sync-features ul {
    list-style: square;
    padding-left: 30px;
}

.sync-features ul li::marker {
    color: #005E54;
}

.sync_error_success_msg p.error {
    color: #9d6464;
    margin-top: 20px;
    background: #fae3e3;
    padding: 10px;
}

.sync_error_success_msg p.warning {
    color: #000000;
    margin-top: 20px;
    background: #ece796;
    padding: 10px;
}

.tablenav.bottom .bulk-sync-popup-btn {
    display: none;
}

.sync_completed {
    color: #005E54 !important;
    font-weight: 500;
}

.selected-sync-popup-btn {
    display: none;
    margin: 0px 0px 0px 8px;
}

.tablenav.bottom .selected-sync-popup-btn {
    display: none !important;
}

.selected-events-info {
    display: none;
}

/****************2 sync popup [end]**********************/
#wpbody-content {
    position: relative;
}

.sync-complete {
    background: #005E54;
    border-color: #005E54 !important;
    color: #fff !important;
}

/*Toggle Switch*/
.instawp_is_event_syncing {
    margin-left: 10px;
    margin-top: 10px !important
}

.events-head-left .instawp_is_event_syncing {
    margin-top: 0 !important
}

.syncing_status_msg p.success {
    margin: 0 0 0 6px !important;
    font-size: 14px;
    color: #005E54;
}

/*Media css*/
@media (max-width: 640px) {
    .instawp_category {
        grid-template-columns: repeat(1, 1fr);
    }

    .instawpcatlftcol {
        margin-bottom: 20px;
    }

    .instawppopwrap {
        padding: 48px 14px 48px;
    }
}

select#destination-site, select#staging-site-sync, select#filter-sync-events {
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    color: #6b7280;
    padding: 4px 24px 4px 12px;
    max-width: 280px;
}

select#destination-site {
    max-width: 100%;
    width: 100%;
}

select#event-action-type {
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    color: #6b7280;
    padding: 5px 21px 4px 10px;
}

.events-head {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.events-head .events-head-right {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.events-head .events-head-right .button-ct {
    gap: 10px;
}

.events-head .events-head-right .button-ct .instawp-green-btn {
    padding: 10px 10px !important;
}

/*.events-head .events-head-right .select-ct select{*/
/*    margin: 0 !important;*/
/*    padding: 5px !important;*/
/*}*/

.btn-single-sync {
    position: relative;
}

.btn-single-sync.loading > span, .changes-btn.loading > span, td.event-sync-cell.loading > span {
    visibility: hidden;
    opacity: 0;
}

.instawp-box-loading:after,
.event-progress-text.loading:after,
.btn-single-sync.loading:after,
.changes-btn.loading:after,
td.event-sync-cell.loading:after,
.exclude-files-container > .loading:after,
.staging-plan-container > .loading:after,
.exclude-database-container > .loading:after {
    content: ' ';
    position: absolute;
    height: 16px;
    width: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid rgba(74, 138, 244, 0.2);
    border-right-color: #fff;
    animation: loading 1s linear infinite;
    margin: -8px -8px;
}

td.event-sync-cell.loading,
.exclude-files-container > .loading,
.staging-plan-container > .loading,
.exclude-database-container > .loading {
    padding: 20px;
    text-align: center;
    position: relative;
}

.select2-field-wrapper {
    display: grid;
}

.select2-selection--single {
    line-height: 47px !important;
    font-size: 14px;
}

span.select2-selection.select2-selection {
    border: 1px solid #dedede !important;
}

.select2-container .select2-selection {
    min-height: 50px !important;
}

.select2-selection__arrow {
    top: 12px !important;
}

.select2-selection__rendered {
    line-height: unset !important;
}

#select-all-event:checked, .single-event-cb:checked {
    border-color: #6b7280 !important;
    background: #fff !important;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.event-progress-text.loading::after {
    left: 10px !important;
}

.event-type-count-show-more {
    list-style: none;
}

a.changes-btn.sync-changes-btn.disabled {
    pointer-events: none;
    background: #3eafa3;
    border-color: #3eafa3;
}

.instawp-event-title-td {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
}

#event-sync-pagination {
    margin-top: 25px;
}

#event-sync-pagination .page-numbers {
    padding: 10px;
    background: #fefefe;
    border: 1px solid #f5f1f1;
}

#event-sync-pagination span.page-numbers.current {
    background: #11BF85;
    color: #fff;
}