/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 * {
    box-sizing: border-box;
}

#deactivate-membership-for-woocommerce:hover ,#deactivate-membership-for-woocommerce:focus{
    color:inherit !important;
}
#deactivate-membership-for-woocommerce-pro:hover ,#deactivate-membership-for-woocommerce-pro:focus{
    color:inherit !important;
}

/*Appearance Section start*/

.wps_membership_card_div_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.wps-membership-appearance-section-hidden {
    display: none;
}


/*Appearance Section End*/


/*Custom designing for admin pannel start*/


/*Removing Focus*/

select#wps_membership_plan_offer_price_type_id:focus,
#wps_membership_plan_access_type:focus,
#wps_membership_plan_duration_type:focus,
#poststuff .toggle-indicator:focus,
#poststuff .handlediv:focus,
td.membership_view.column-membership_view a:focus,
.import_csv_field_wrapper>input:focus,
.import_member_csv_field_wrapper>input:focus,
#wps_membership_manage_content:focus,
ul.select2-selection__rendered:focus,
button.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close:focus,
.wps_membership_free_shipping_link a.button:focus,
a#post-preview:focus,
#posts-filter input[type="submit"]:focus,
.wrap a.page-title-action:focus,
#wpbody-content input[type="submit"]:focus,
#wpbody-content input[type="text"]:focus,
#wpbody-content input[type="email"]:focus,
#wpbody-content input[type="tel"]:focus,
#wpbody-content input[type="radio"]:focus,
#wpbody-content input[type="button"]:focus,
#wpbody-content textarea:focus,
#wpbody-content select:focus,
#wpbody-content input[type="number"]:focus,
.wps_membership_gateway_div .button:focus,
.wps_membership_manage_gateways a:focus,
.mfw_overview_help a:focus,
.mfw_overview-contact a:focus {
    box-shadow: none;
    outline: none;
}


/*Input fields styling*/

.meta-box-sortables input[type="text"]:focus,
.meta-box-sortables input[type="checkbox"]:focus,
.wps_membership_plans_creation_setting input[type="checkbox"]:focus,
.wps_membership_plans_creation_setting input[type="text"]:focus {
    box-shadow: none;
}

.postbox-container input[type="checkbox"],
.wps_membership_plans_creation_setting input[type="checkbox"] {
    background-color: #1a3365;
    border-radius: 35px;
    border: none;
    height: 20px;
    position: relative;
    width: 33px;
}

.postbox-container input[type="checkbox"]:before,
.wps_membership_plans_creation_setting input[type="checkbox"]:before {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 1px 0px 3px #1a3365;
    content: "";
    cursor: pointer;
    height: 18px;
    position: absolute;
    top: 1px;
    transition: linear 0.2s;
    width: 18px;
    z-index: 1;
}

.postbox-container input[type="checkbox"]:before,
.wps_membership_plans_creation_setting input[type="checkbox"]:before {
    left: 0px;
}

.postbox-container input[type="checkbox"]:checked:before,
.wps_membership_plans_creation_setting input[type="checkbox"]:checked:before {
    margin: 0;
    left: 15px;
}

.postbox-container input[type="checkbox"]:checked,
.wps_membership_plans_creation_setting input[type="checkbox"]:checked {
    background-color: #f37e21;
}


/*Tool tip*/

.postbox-container .postbox .woocommerce-help-tip {
    margin: 0 20px 0 9px;
}


/*Headings in Admin pannel*/

.wps_membership_plan_products h1,
.wps_membership_shortcodes h2 {
    display: flex;
    font-family: sans-serif;
    font-size: 25px !important;
    justify-content: center;
    letter-spacing: 2px;
}

.postbox-container .wps_membership_plan_products h1 {
    color: #1a3365;
    font-size: 32px;
    font-weight: 600;
}

#poststuff h2.wps_membership_offer_title {
    border-bottom: 2px solid #1a3365;
    border-left: 6px solid #f37e21;
    color: #1a3365;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 15px 0px;
    max-width: 320px;
    text-transform: uppercase;
}

#members_meta_box .postbox-header h2,
.wps_membership_global_settings h2,
.wps_membership_supported_gateways h2,
.wps_membership_shortcodes h2,
.wps_membership_Overview h2 {
    border: none;
    color: #1a3365;
    font-family: sans-serif;
    font-size: 18px !important;
    justify-content: left;
    letter-spacing: 0.5px;
    margin:0;
}

#wpbody-content .wps_membership_Overview {
    margin: -10px 0 0 -10px;
    width: calc(100% - 10px);
}

#members_meta_box .postbox-header,
.wps_membership_global_settings,
.wps_membership_supported_gateways,
.wps_membership_shortcodes,
.wps_membership_Overview {
    background-color: #ffffff;
    border-left: 5px solid #1a3365;
    box-shadow: 0px 2px 5px #c7c7c7;
    margin: 0px 0px 10px;
    padding: 10px 5px;
    width: 100%;
}

#members_meta_box .postbox-header {
    width: unset;
}


/*Indicators of Admin pannel*/

.handle-actions.hide-if-no-js {
    align-items: center;
    display: flex;
}


/*Table row In admin pannel*/

#wps_membership_recurring_plan,
#mfw_membership_access_type {
    position: relative;
}

.wps_membership_shortcodes_table tbody {
    display: flex;
    justify-content: space-around;
}

.wps_membership_shortcodes_table tr {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 2px 10px #c7c7c7;
    display: flex;
    flex-direction: column;
    flex: 0 0 45%;
    margin: 10px;
    padding: 10px;
}

.wps_membership_shortcodes_table th {
    border-bottom: 2px solid #1a3365;
    color: #1a3365;
    font-family: sans-serif;
    padding: 10px;
    width: 95%;
}

.wps_membership_plans_creation_setting label {
    color: #1a3566;
    font-family: sans-serif;
}

.wps_membership_table.wps_membership_shortcodes tr,
.wps_membership_offers table tr,
.wps_membership_plans_creation_setting tr {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.wps_membership_plans_creation_setting tr th,
.wps_membership_offers table tr th,
.wps_membership_table.wps_membership_shortcodes tr th {
    flex: 0 0 100%;
    max-width: 25%;
    padding: 15px;
    text-align: left;
}

.wps_membership_plans_creation_setting tr td,
.wps_membership_offers table tr td,
.wps_membership_table.wps_membership_shortcodes tr {
    max-width: 75%;
    flex: 0 0 100%;
}

.postbox .inside table tr th label {
    color: #1a3365;
    font-family: sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}

.new_created_offers table {
    display: block;
    width: 100%;
}

.new_created_offers table tbody {
    display: block;
}

.wps_membership_offers table tr #mfw_show_notice.forminp {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.wps_membership_offers table tr #mfw_show_notice.forminp .wps_membership_show_notice {
    margin-right: 20px;
}

.wps_membership_offers table tr #mfw_show_notice.forminp p {
    margin: 0;
}


/*Select box styling*/

.selection .select2-selection.select2-selection--multiple {
    background-color: inherit;
    margin: 0px auto;
    padding: 10px 0px;
}

select#wps_membership_plan_offer_price_type_id,
#wps_membership_plan_duration_type,
#wps_membership_manage_content,
.wps_membership_table.wps_membership_shortcodes .woocommerce-help-tip {
    border: none;
    margin-right: 10px;
}

#wps_membership_plan_time_duration_type {
    margin: 0px 0px 0px 20px;
}

div#wps_membership_plan_time_duratin_display {
    margin: 10px 0px;
}
#wps_membership_plan_time_duratin_display {
   display:none;
}

select #wps_membership_plan_duration_type {
    background: rgb(0 113 159 / 0.2);
}

span.select2.select2-container.select2-container--default {
    min-width: 100px;
}


/*radio button styling*/

.postbox-container input[type="radio"] {
    background-color: inherit;
    border: 1px solid #1a3365;
    height: 20px;
    margin-left: 50px;
    vertical-align: -webkit-baseline-middle;
    width: 20px;
}

.postbox-container input[type="radio"]:before {
    background-color: #1a3365;
    height: 10px;
    margin: 4.1px;
    width: 10px;
}


/*button styling*/

.wps_membership_free_shipping_link a.button {
    background-color: #1a3365;
    border: 1px solid #ffffff;
    color: #ffffff;
    transition: linear background-color 0.2s;
}

.wps_membership_free_shipping_link a.button:hover {
    background-color: inherit;
    border: 1px solid #1a3365;
    color: #1a3365;
}


/*All plan page status button style*/

.membership_status.column-membership_status {
    border-radius: 2px;
    display: block;
    margin: 15px;
    padding: 7px;
    text-align: center;
    width: 110px;
}

td.membership_view.column-membership_view,
.widefat td.membership_user_view {
    text-align: center;
    vertical-align: middle;
}

.widefat thead tr th,
.widefat tfoot tr th {
    color: #0071a1;
}

#import_all_membership, #import_members, #download_sample_csv_to_import {
    margin-left: 10px;
}


/*Modal of product page style*/

div#TB_title {
    height: auto;
}

div #TB_ajaxWindowTitle {
    box-shadow: 0px 2px 5px #c7c7c7;
    color: #1a3365;
    font-family: sans-serif;
    font-size: 21px;
    letter-spacing: 2px;
    padding: 13px 29px 13px 10px;
    text-align: center;
}

#TB_ajaxContent h2 {
    background-color: #1a3365;
    border-radius: 5px;
    box-shadow: 0px 5px 10px #c7c7c7;
    color: #ffffff;
    font-family: sans-serif;
    letter-spacing: 1px;
    margin: 10px auto 0px;
    max-width: 350px;
    padding: 10px 0px;
    text-align: center;
}

.wps_membership_preview_table table tr:nth-child(even) {
    background-color: #f1f6ff;
}

.wps_membership_preview_table table tr th {
    font-family: sans-serif;
    padding-left: 15px;
}


/*Admin pannel button styling*/

input#export_all_membership,
input#import_all_membership,
input#import_members,
.wps_membership_plans_creation_setting input[type="button"],
.wps_membership_gateway_div .button,
.wps_membership_gateway_div a {
    background-color: inherit;
    border: 1px solid #0071a1;
    color: #0071a1;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease-in-out;
}

input#export_all_membership:hover,
input#import_all_membership:hover,
input#import_members:hover,
input#download_sample_csv_to_import:hover,
.wps_membership_plans_creation_setting input[type="button"]:hover,
.wps_membership_gateway_div .button:hover,
.wps_membership_gateway_div a:hover {
    background-color: #0071a1;
    border-color: transparent;
    color: #ffffff;
}


/* Any element Positioning  */

.alignleft.actions,
#posts-filter .alignleft.actions {
    display: flex;
}

@media screen and (max-width: 768px){
    #posts-filter .alignleft.actions {
        flex-wrap: wrap;
    }

    #import_all_membership, #import_members, #download_sample_csv_to_import {
        margin-left: 0px;
    }
    
}
input#import_all_membership, #import_members, #download_sample_csv_to_import {
    order: 4;
}

input#export_all_membership,
input#export_all_members {
    order: 3;
}

input#post-query-submit,
input#post-query-submit {
    order: 2;
}

select#filter-by-date,
select#filter-by-date {
    order: 1;
}


/*Upload button modal box*/

.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
    background: transparent;
    border: none;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable {
    background-color: rgb(0 0 0/50%);
}

button.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close {
    color: #fff;
}

.import_csv_field_wrapper, .import_csv_field_wrapper {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}

input#upload_csv_file:hover {
    background: #ffffff;
    color: #1a3365;
}

.import_csv_field_wrapper>input, .import_csv_field_wrapper>input {
    background-color: inherit;
    border: 2px solid #fff;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
}

.import_csv_field_wrapper>input:first-child, .import_csv_field_wrapper>input:first-child {
    background-color: inherit;
    border: none;
    color: #ffffff;
    padding: 5px;
}


/*Global Setting page styling*/

.wps_membership_plans_creation_setting th,
.wps_membership_plans_creation_setting td {
    padding-left: 15px;
}

.wps_membership_plans_creation_setting tr {
    align-items: baseline;
    display: flex;
}

.wps_membership_plans_creation_setting th {
    max-width: 200px;
    width: 100%;
}

.wps_membership_plans_creation_setting td {
    align-items: center;
    display: inline-flex;
    flex-grow: 1;
}

.wps_membership_plans_creation_setting .woocommerce-help-tip {
    margin-right: 10px;
}

body.post-type-wps_cpt_membership input[type="text"],
body.post-type-wps_cpt_membership input[type="email"],
body.post-type-wps_cpt_membership input[type="tel"],
body.post-type-wps_cpt_membership input[type="number"],
body.post-type-wps_cpt_membership select,
.wps_membership_plans_creation_setting textarea {
    border-radius: 5px;
    border: 1px solid #1a3365;
    color: #1a3365;
    font-family: sans-serif;
    font-size: 16px;
    max-width: 250px;
    resize: none;
    width: 100%;
}

body.post-type-wps_cpt_membership select {
    overflow: auto;
    border: 1px solid #1a3365 !important;
    max-height: 60px;
}

body.post-type-wps_cpt_membership .select2-container .select2-selection--multiple {
    border: 1px solid #1a3365;
    padding: 0;
}

body.post-type-wps_cpt_membership .select2-container .select2-selection--multiple .select2-selection__rendered {
    overflow: visible !important;
    padding: 0;
}

.wp-editor-container>textarea.wp-editor-area {
    width: 100%;
    max-height: 180px;
    margin: 0;
    box-shadow: none;
    border: none;
    max-width: unset;
}

#wps_membership_email_content_ifr {
    height: fit-content !important;
}


/*Gateway page*/

.wps_membership_manage_gateways a,
.wps_membership_gateways .wps_membership_plan_gateways {
    font-family: sans-serif;
    letter-spacing: 1px;
    padding: 10px;
    text-decoration: none;
    word-spacing: 1px;
}

.wps_membership_manage_gateways a {
    color: #1a3365;
    font-family: sans-serif;
    font-size: 15px;
}

.button_hide {
    display: none !important;
}

.wps_membership_plan_gateways tbody {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.wps_membership_plan_gateways tr {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 2px 15px #c7c7c7;
    display: flex;
    flex-direction: column;
    margin: 10px 10px 0px 0px;
    padding: 10px 20px;
}

.wps_membership_plan_gateways th {
    border-bottom: 1px solid #1a3365;
    margin: 0px 0px 30px 0px;
    padding: 0px 0px 10px;
}

.wps_membership_plan_gateways th label {
    color: #1a3365;
}

.wps_membership_plan_gateways td {
    margin: 0px;
    padding: 5px;
}

.wps_membership_manage_gateways a {
    border-radius: 5px;
    border: 2px solid #1a3365;
    color: #1a3365;
    display: block;
    margin-top: 5px;
    max-width: fit-content;
    padding: 5px;
}

.wps_membership_manage_gateways a:hover {
    border: 2px solid #f37e21;
    color: #f37e21;
}

td#mfw_free_shipping {
    align-items: center;
    display: inline-flex;
    min-height: 60px;
}

.wps_membership_free_shipping_link {
    margin-left: 30px;
    display: none;;
}


.wps_membership_notice_message {
    display: none;;
}

span.title_warning {
    color: red;
    font-size: 13px;
    margin-left: 4px;
}


/* woocommerce footer */

#wpfooter {
    position: unset;
}


/* overview page style */

.mfw_overview_wrapper {
    font-family: sans-serif;
    width: 99%;
}

.mfw_overview_wrapper h2 {
    color: #1a3365;
    font-size: 30px;
    letter-spacing: 0.5px;
    line-height: 150%;
    margin: 10px 0px;
    text-align: left;
}

.mfw_overview_wrapper p {
    color: #565857;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.mfw_overview_wrapper h3 {
    color: #f37e21;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.mfw_upgrade_plan {
    background-image: linear-gradient(45deg, #2196f3, #772bff);
    border-radius: 5px;
    color: #ffffff;
    display: block;
    font-size: 20px;
    margin: 30px auto;
    max-width: 200px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.5s ease-in-out;
}

.mfw_upgrade_plan:hover,
.mfw_upgrade_plan:focus {
    box-shadow: 0px 5px 10px #555454;
    color: #ffffff;
}

.mfw_overview_banner {
    background-color: #ffffff;
    box-shadow: 0px 3px 3px #c7c7c7;
    margin: 10px 0px;
    padding: 10px;
}

.mfw_overview_banner>img {
    width: 100%;
}

.mfw_overview_content-entry_text {
    background-color: #ffffff;
    box-shadow: 0px 3px 3px #c7c7c7;
    padding: 15px;
    text-align: left;
}

.mfw_overview_content-entry_text>p {
    margin: 0;
}

.mfw_overview_content-entry_text ul {
    line-height: 150%;
    max-width: 600px;
    text-align: left;
}

.mfw_overview_content-entry_text ul {
    line-height: 150%;
    margin: 0px;
    max-width: 600px;
    text-align: left;
}

.mfw_overview_content-entry_text ul li {
    align-items: center;
    display: flex;
}

.mfw_overview_content-entry_text ul li span {
    color: #f37e21;
    font-size: 45px;
    font-weight: 400;
    margin: 0px 10px;
}

.mfw_overview_content-entry_text ul li p {
    margin: 0px;
}

.mfw_overview_content>ul>li {
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0px 3px 5px #dcdcdc;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    padding: 15px;
}

.mfw_overview_content>ul>li.mfw_overview_heading {
    background-color: transparent;
    box-shadow: none;
}

.mfw_overview_content>ul>li>img {
    width: 25%;
    text-align: center;
}

.mfw_overview_content>ul>li>div {
    padding: 15px;
}

.mfw_overview_content>ul>li>div>h3 {
    max-width: 425px;
}

.mfw_overview-contact {
    text-align: right;
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.mfw_overview-contact a img {
    width: 50px;
    margin: 0 5px;
}

.mfw_overview-contact a img:hover {
    opacity: 0.8;
}

.mfw_overview-intro {
    display: flex;
}

#contextual-help-link {
    display: none;
}


/*contact button in overview page*/

.mfw_overview-contact a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mfw_overview-dial-text,
.mfw_overview-doc-text,
.mfw_overview-skype-text {
    font-size: 16px;
    padding: 10px;
    margin-right: -11px;
    border-radius: 35px 0 0 35px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1a3365;
    border: 3px solid #1a3365;
    border-right-color: transparent;
    opacity: 0;
    width: 0;
    text-align: center;
    transition: 0.4s all ease-in-out;
    white-space: nowrap;
}

.mfw_overview-skype-text {
    color: #00aff0;
    border-color: #00aff0;
    border-right-color: transparent;
}

img.wps_mfw_plugin_extra_custom_tab {
    width: 20px;
    padding-right: 5px;
}


/* update version  */

.membership-offers table tr {
    padding: 15px 0;
}

.wps-membership__plan--pro-disabled {
    background-color: #f2f2f2;
    /* pointer-events: none; */
    position: relative;
    overflow: hidden;
}

.wps-membership__plan--pro-disabled::before {
    color: #ffffff;
    content: "PRO";
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 700;
    left: 2px;
    letter-spacing: 2px;
    position: absolute;
    top: 5px;
    transform: rotate( -40deg);
    z-index: 1;
}

.wps-membership__plan--pro-disabled::after {
    background: #772bff;
    content: "";
    height: 70px;
    left: -30px;
    /* padding: 2px 5px; */
    position: absolute;
    top: -38px;
    transform: rotate( 50deg);
    width: 70px;
}

/*Additional CSS to improve Layout*/

.members_billing_preview_wrapper h2 {
    font-size: 18px;
}

#TB_window {
    max-width: 600px;
    width: 90% !important;
    margin: 0 !important;
    top: 50px !important;
    left: 50% !important;
    transform: translate(-50%, 0);
}

#TB_ajaxContent {
    width: 100% !important;
}

div#TB_ajaxWindowTitle {
    width: 100%;
}

.members_preview_content .edit_members_action {
    top:unset;
    bottom: 10px;
    right: 10px;
}

@media screen and (max-width:768px) {
    .members_billing_preview_wrapper {
        flex-wrap: wrap;
    }

    .members_billing_preview_wrapper .members_billing_preview,
    .members_billing_preview_wrapper .members_plan_preview {
        flex: 0 0 100%;
        max-width: 300px;
    }

    .wps_membership_preview {
        text-align: right;
    }
}
/*Media Query for small screen devices*/

@media screen and (max-width: 992px) {
    .wps_membership_plans_creation_setting tr {
        display: block;
        padding: 10px 0px;
    }
    .wps_membership_plans_creation_setting td {
        padding: 10px;
    }
    .wps_membership_shortcodes_table tbody {
        flex-wrap: wrap;
    }
    .wps_membership_shortcodes_table tr {
        flex: 0 0 80%;
    }
    .mfw_overview_content>ul>li {
        flex-wrap: wrap;
    }
    .mfw_overview_content>ul>li:nth-child(even) {
        flex-direction: column-reverse;
    }
    .mfw_overview_content>ul>li>img {
        width: 50%;
    }
}

.wps-tool-tip {
    position: relative;
    max-width: 200px;
    width: 100%;
    text-align: center;
}

.wps-tool-tip .icon {
    cursor: help;
    background-color: #000000d1;
    color: #fff;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
}

.wps-tool-tip .description_tool_tip {
    display: none;
}

.wps-tool-tip .icon:hover+.description_tool_tip {
    display: inline-block;
}

.wps-tool-tip .description_tool_tip {
    background-color: #1a1a1a;
    position: absolute;
    top: 32px;
    padding: 5px;
    left: 10px;
    overflow-wrap: anywhere;
    max-width: 200px;
    border-radius: 0 2px 2px 2px;
    color: #fff;
    z-index: 9999;
}

.wps-tool-tip .description_tool_tip::after {
    content: "";
    position: absolute;
    border-bottom: 10px solid #1a1a1a;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    left: 50%;
    transform: translate(-30%, 0);
    top: -10px;
    z-index: 9999;
}

.wps_membership_offers table tr th {
    flex: 0 0 100%;
    max-width: 25%;
    padding: 15px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.wps_membership_plans_creation_setting tr th {
    flex: 0 0 100%;
    max-width: 25%;
    padding: 15px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}


a.wps-wpr-go-pro {
    background: #05d5d8;
    color: white;
    font-weight: 700;
    padding: 2px 5px;
    border: 1px solid #05d5d8;
    border-radius: 5px;
  }


  /*issue fixes*/

.wps-mfw-gen-section-form .wps-form-group {
    flex-wrap: nowrap;
    align-items: center;
}

.wps-mfw-gen-section-form .wps-form-group__control {
    flex: 1;
}

.wps-mfw-gen-section-form .wps-form-group__label {
    display: flex;
    width: 100%;
    max-width: 300px;
    position: relative;
    flex: 1;
    margin-bottom: 10px;
}

.wps-mfw-gen-section-form .wps-form-group__label .wps-form-label {
    flex: 1;
}

.wps-mfw-gen-section-form .wps-form-group__label .wps-tool-tip {
    max-width: unset;
    width: unset;
    position: unset;
    margin-top: 5px;

}

.wps-tool-tip .description {
    left: 0;
    right: 0;
    max-width: unset;
}

.wps-tool-tip .description::after {
    left: unset;
    right: 10px;
}


@media screen and (max-width:768px) {
    .wps-mfw-gen-section-form .wps-form-group {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .wps-mfw-gen-section-form .wps-form-group__control {
        flex: 1;
        max-width: unset;
    }
    .wps-mfw-gen-section-form .wps-form-group__label {
        max-width: unset;  
    }
    .wps-header-container .wps-header-title {
        max-width: unset;
    }
}

div#wp-wps_membership_email_content-wrap {
    max-width: 450px;
}

.wps-link.active {
    position: relative;
    color: #2196f3 !important;
    border-bottom: 3px solid var(--mdc-theme-primary);
  }



  .wps_membership_shortcode {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.wps_membership_shortcode .wps-tool-tip {
    margin: 0 0 0 auto;
}

.wps_membership_shortcode .wps-tool-tip .description_tool_tip::after {
    left: 50%;
    right: unset;
}


/*tool tip modifications*/
.wps-tool-tip {
    position: relative;
    max-width: unset;
    width: unset;
    text-align: center;
}

.wps-tool-tip .icon {
    cursor: help;
    background-color: #000000d1;
    color: #fff;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
}

.wps-tool-tip .description_tool_tip {
    display: none;
}

.wps-tool-tip .icon:hover+.description_tool_tip {
    display: inline-block;
}

.wps-tool-tip .description_tool_tip {
    background-color: #1a1a1a;
    position: absolute;
    top: 32px;
    padding: 5px;
    left: 50%;
    transform: translate(-50%, 0);
    overflow-wrap: anywhere;
    min-width: 150px;
    width: 100%;
    font-size: 12px;
    border-radius: 2px;
    color: #fff;
    z-index: 9999;
}

.wps-tool-tip .description_tool_tip::after {
    content: "";
    position: absolute;
    border-bottom: 10px solid #1a1a1a;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    left: 50%;
    transform: translate(-30%, 0);
    top: -10px;
    z-index: 9999;
}

.form-field.billing_country_field .select2.select2-container {
    min-width: unset;
}


.members_billing_details h1 {
    width: 90%;
}

.wps_membership_plans_creation_setting .select2-container .select2-search--inline .select2-search__field, 
.wps_membership_offers .select2-container .select2-search--inline .select2-search__field{
    padding: 0 10px;
    width: 100%!important;
    max-width: 250px;
}

#wps_membership_plan_immediate_type {
    margin-left: 0;
}

#wps_membership_plan_time_type {
    margin-left: 15px;
}

.wps_membership_plans_creation_setting td {
    padding-left: 0px;
    margin: 0;
}

.wps_membership_plans_creation_setting tr {
    align-items: center;
}

.wps_membership_offers table th,
.wps_membership_plans_creation_setting th {
    align-items: center;
}

@media screen and (max-width: 768px) {
    .wps_membership_offers table tr th,
    .wps_membership_plans_creation_setting tr th {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wps_membership_offers table tr td,
    .wps_membership_plans_creation_setting tr td {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px;
    }

    .wps_membership_plans_creation_setting .select2-container, 
    .wps_membership_offers .select2-container{
        width: 100%!important;
    }

    #wps_membership_product_offer_price_type_id,
    #wps_membership_plan_offer_price_type_id {
        margin-bottom: 10px;
    }

}



/*overview fixes*/
.mfw_overview-video {
    min-height: 450px;
}
@media screen and (max-width: 768px) {
    .wps-overview__wrapper {
        width: 100%;
    }
    .mfw_overview-video {
        min-height: 250px;
    }
}



/* Go pro popup - Start */
.wps_ubo_lite_go_pro_popup_wrap.wps_ubo_lite_go_pro_popup_show {
    opacity: 1;
    visibility: visible;
    transition: 0.3s linear all;
  }
  .wps_ubo_lite_go_pro_popup_wrap {
    align-items: center;
    background-color: rgba(0,0,0,0.5); 
    bottom: 0;
    display: flex;
    height: 100%; 
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed; 
    right: 0;
    top: 0; 
    transition: 0.3s linear all;
    visibility: hidden;
    width: 100%; 
    z-index: 999; 
  }
  .wps_ubo_lite_go_pro_popup {
    background-color: #ffffff;
    max-width: 800px;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-left: 160px;
  }
  .wps_ubo_lite_go_pro_popup_body {
    overflow: hidden;
  }
  .wps_ubo_lite_go_pro_popup_head {
    position: relative;
  }
  .wps_ubo_lite_go_pro_popup_close {
    position: absolute;
    right: 5px;
    top: 6px;
    opacity: 0.8;
    width: 25px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 22px;
    border: 1px solid rgba(255,255,255,0.6);
    height: 25px;
    line-height: 21px;
    border-radius: 50%;
  }
  #wps_upsell_bump_setting_wrapper .wps_ubo_lite_go_pro_popup_close span {
      font-size: 25px !important;
      line-height: 19px;
  }
  .wps_ubo_lite_go_pro_popup_close:focus,
  .wps_ubo_lite_go_pro_popup_close:hover{
    outline: 0;
    box-shadow: none;
    color: #ffffff;
    border-color: #ffffff;
  }
  .wps_ubo_lite_go_pro_popup img {
    max-width: 100%;
    width: auto;
  }
  .wps_ubo_lite_go_pro_popup_button .wps_ubo_lite_overview_go_pro_button,
  .button.wps_ubo_lite_overview_go_pro_button {
    background-color: #78c900;
    color: #ffffff;
    padding: 14px 36px;
    height: auto;
    border: none;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: capitalize;
    box-shadow: none;
  }
  .wps_ubo_lite_go_pro_popup_button .wps_ubo_lite_overview_go_pro_button span, .button.wps_ubo_lite_overview_go_pro_button span{
    vertical-align: middle;
    margin-left: 5px;
  }
  .wps_ubo_lite_go_pro_popup_button .wps_ubo_lite_overview_go_pro_button:focus,
  .wps_ubo_lite_go_pro_popup_button .wps_ubo_lite_overview_go_pro_button:hover,
  .button.wps_ubo_lite_overview_go_pro_button:focus,
  .button.wps_ubo_lite_overview_go_pro_button:hover{
    background-color:#78c900;
    box-shadow: none;
    color: #ffffff;
    opacity: 0.8;
    outline: 0;
  }
  .wps_ubo_lite_go_pro_popup_button {
      text-align: center;
  }
  .wps_ubo_lite_go_pro_popup_head h2 {
    background-color: #7979f6;
    border-radius: 5px 5px 0 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.7;
    margin: -20px -20px 30px -20px;
    padding: 10px;
  }
  .wps_ubo_lite_go_pro_popup_content p {
    font-size: 15px;
    line-height: 1.7;
  }
  /* Go pro popup - End */
    /* 02-March-2023 */

    .wps-form-group__control .mdc-text-field-helper-line {
        padding: 0;
        margin-top: 10px;
    }
    
    .wps-form-group__control .mdc-text-field {
        display: block;
        max-width: 500px;
        padding: 0px;
    }
    .wps-form-group__control select {
        width: 100% !important;
        max-width: 500px;
    }
    .wps-mfw-gen-section-form .wps-form-group__control .select2-container {
        width: 100%;
        display: block;
    }


    /* 02-March-2023 */

    .wps-membership__plan--pro-disabled .wps-form-group__label {
        padding: 25px 0px 25px 40px;
        margin-bottom: 0;
    }
    
    .wps-form-select {
        max-width: 500px;
    }
    a.wps-mfw-nav-tab {
        padding: 10px 10px 10px 10px !important;
        font-size: 14px !important;
        font-weight: 400;
        color: #000;
        background-color: #fff;
        border: none;
    }

    a.nav-tab-active.wps-mfw-nav-tab{
        /* background-color: #21a3f6; */
        color: #21a3f6!important;
        border-bottom: 3px solid var(--mdc-theme-primary);
    }

    a.nav-tab.wps-mfw-nav-tab:hover {
        color: #21a3f6!important;
    }

    a.nav-tab-active.wps-mfw-nav-tab:hover {
        background-color: transparent;
    }

#mfw_button_api_settings {
    margin-right: 10px;
}

label.mdc-text-field.mdc-text-field--outlined.wps_admin_membership_price_wrapper.mdc-text-field--invalid span {
    border-color: var(--mdc-theme-text-disabled-on-background);
}

@media screen and ( max-width : 420px ) {
    #mfw_button_api_settings {
        margin-bottom: 10px;
    }  
}

h4.wps-plan-msg {
    position: absolute;
    top: 100%;
    font-size: 16px;
    color: #14ae14;
}

.wps-form-group {
    position: relative;
}

.wps-offer-notice.notice.notice-warning {
    padding: 0;
    border: none;
    margin-left: 2px;
    margin-right: 20px;
}
.wps-offer-notice.notice.notice-warning a img {
    display: block;
    width: 100%;
    height: auto;
}

.wps_mfwp_wrapper_toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.wps_mfwp_wrapper_toggle input {
    display: none !important;
}
  
.wps_mfwp_sliders {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}
  
.wps_mfwp_sliders.wps_mfwp_rounds {
    border-radius: 34px;
}

.wps_mfwp_wrapper_toggle input:checked + .wps_mfwp_sliders {
    background-color: #2196F3;
}

.wps_mfwp_sliders:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.wps_mfwp_wrapper_toggle input:checked + .wps_mfwp_sliders:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Google Recaptcha Start */

#wps_mfw_save_google_recaptcha {
    position: sticky;
    bottom: 10px;
}

.wps_mfw_captcha_wrap {
    opacity: 0;
    z-index: -999999;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.wps_mfw_captcha_wrap.wps-mfw_captcha--active {
    opacity: 1;
    z-index: 999999;
    pointer-events: unset;
}

.wps_mfw_captcha_wrap .wps_mfw_captcha_in {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 40px 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.wps_mfw_captcha_wrap .wps_mfw_captcha_in .wps_mfw_captcha_closed {
    font-size: 24px;
    display: inline-block;
    position: absolute;
    top: 10px;
    width: 28px;
    height: 28px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    cursor: pointer;
    color: #7d7d7d;
    font-weight: 400;
}

.wps_mfw_captcha_wrap .wps_mfw_captcha_in 
 #wps_mfw_verify_captcha {
    margin: 20px 0 0;
    padding: 14px 20px;
    border-radius: 99px;
    border: none;
    background: #2196f3;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1.5;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s linear;
}

.wps_mfw_captcha_wrap .wps_mfw_captcha_in #wps_mfw_verify_captcha:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Google Recaptcha End */

/*  Pro  start */

img.wps_go_pro_images {
    max-height: 100px;
}
.wps_msfw_pro_settings_tag {
  position: relative;
}

.wps_msfw_pro_settings_tag #wps_msfw_enable_to_add_dummy_members_in_buddy_group, .wps_msfw_pro_settings_tag #wps_msfw_members_dummy_buddy_groups {
    pointer-events: none;
}

.wps_msfw_pro_settings_tag:before{
  background-color: #008000;
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 32px;
  aspect-ratio: 1;
  z-index: 99;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
.wps_msfw_pro_settings_tag:after {
  position: absolute;
  content: 'pro';
  left: 0px;
  padding: 0px 2px;
  transform: rotate(45deg);
  z-index: 999;
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
  bottom: 0;
  color: #fff;
}


.wps_msfw_pro_settings_tag>.wps-form-group__label {
    padding-bottom: 10px;
}

  /* pro popup end  */


.wps_msfw_pro_settings_tag .wps-helper-text {
    padding-left: 20px;
}