/* Plugin menu icon styles start */
#adminmenu a.toplevel_page_ays-pb div.wp-menu-image img {
    width: 23px;
    padding: 3px 0 0;
    transition: .3s ease-in-out;
    height: 30px;
    display: inline-block !important;
}
/* Plugin menu icon styles end */

body.ays-popup-plugin-admin input[type=checkbox], 
body.ays-popup-plugin-admin input[type=radio] {
    accent-color: #005AE0;
    background-color: #fff;
    box-shadow: unset;
    border: 1px solid #8c8f94;
}

body.ays-popup-plugin-admin input[type=checkbox]:focus, 
body.ays-popup-plugin-admin input[type=radio]:focus {
    accent-color: #005AE0;
    background-color: #fff;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

body.ays-popup-plugin-admin input[type=checkbox]:checked::before {
    filter: brightness(0) saturate(100%) invert(20%) sepia(95%) saturate(6593%) hue-rotate(211deg) brightness(98%) contrast(103%);
}

body.ays-popup-plugin-admin input[type=radio]:checked::before {
    background-color: #005ae0;
}

body.ays-popup-plugin-admin input[type="text"], 
body.ays-popup-plugin-admin input[type="password"], 
body.ays-popup-plugin-admin input[type="date"], 
body.ays-popup-plugin-admin input[type="datetime"], 
body.ays-popup-plugin-admin input[type="datetime-local"], 
body.ays-popup-plugin-admin input[type="email"], 
body.ays-popup-plugin-admin input[type="month"], 
body.ays-popup-plugin-admin input[type="number"], 
body.ays-popup-plugin-admin input[type="search"], 
body.ays-popup-plugin-admin input[type="tel"], 
body.ays-popup-plugin-admin input[type="time"], 
body.ays-popup-plugin-admin input[type="url"], 
body.ays-popup-plugin-admin input[type="week"] {
    padding: 0 8px;
    line-height: 2;
    min-height: 30px;    
}

body.ays-popup-plugin-admin input[type="text"]:focus, 
body.ays-popup-plugin-admin input[type="password"]:focus, 
body.ays-popup-plugin-admin input[type="date"]:focus, 
body.ays-popup-plugin-admin input[type="datetime"]:focus, 
body.ays-popup-plugin-admin input[type="datetime-local"]:focus, 
body.ays-popup-plugin-admin input[type="email"]:focus, 
body.ays-popup-plugin-admin input[type="month"]:focus, 
body.ays-popup-plugin-admin input[type="number"]:focus, 
body.ays-popup-plugin-admin input[type="search"]:focus, 
body.ays-popup-plugin-admin input[type="tel"]:focus, 
body.ays-popup-plugin-admin input[type="time"]:focus, 
body.ays-popup-plugin-admin input[type="url"]:focus, 
body.ays-popup-plugin-admin input[type="week"]:focus {
    border-color: #005ae0;
    box-shadow: 0 0 0 1px #2271b1;
    outline: transparent solid 2px;
}

body.ays-popup-plugin-admin input[type=color]:focus, 
body.ays-popup-plugin-admin input[type=date]:focus, 
body.ays-popup-plugin-admin input[type=datetime-local]:focus, 
body.ays-popup-plugin-admin input[type=datetime]:focus, 
body.ays-popup-plugin-admin input[type=email]:focus, 
body.ays-popup-plugin-admin input[type=month]:focus, 
body.ays-popup-plugin-admin input[type=number]:focus, 
body.ays-popup-plugin-admin input[type=password]:focus, 
body.ays-popup-plugin-admin input[type=search]:focus, 
body.ays-popup-plugin-admin input[type=tel]:focus, 
body.ays-popup-plugin-admin input[type=text]:focus, 
body.ays-popup-plugin-admin input[type=time]:focus, 
body.ays-popup-plugin-admin input[type=url]:focus, 
body.ays-popup-plugin-admin input[type=week]:focus, 
body.ays-popup-plugin-admin select:focus, 
body.ays-popup-plugin-admin textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

body.ays-popup-plugin-admin .button, 
body.ays-popup-plugin-admin .button-primary, 
body.ays-popup-plugin-admin .button-secondary {
    padding: 0 10px;
    line-height: 2.15384615;
    min-height: 30px;
    font-weight: 400;
}

body.ays-popup-plugin-admin .button.hover, 
body.ays-popup-plugin-admin .button:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

body.ays-popup-plugin-admin .button.add_new_block_content, 
body.ays-popup-plugin-admin .button.wp-picker-default, 
body.ays-popup-plugin-admin .button.action, 
body.ays-popup-plugin-admin #search-submit.button, 
body.ays-popup-plugin-admin #ays-cat-button-apply.button, 
body.ays-popup-plugin-admin .button.insert-media, 
body.ays-popup-plugin-admin .button.action-button:not(.button-primary), 
body.ays-popup-plugin-admin .button-secondary {
    background: #f6f7f7;
    border-color: #2271b1;
    color: #2271b1;
}

body.ays-popup-plugin-admin .button.add_new_block_content:focus, 
body.ays-popup-plugin-admin .button.wp-picker-default:focus,  
body.ays-popup-plugin-admin .button.action:focus, 
body.ays-popup-plugin-admin #search-submit.button:focus, 
body.ays-popup-plugin-admin #ays-cat-button-apply.button:focus, 
body.ays-popup-plugin-admin .button.insert-media:focus, 
body.ays-popup-plugin-admin .button.action-button:not(.button-primary):focus, 
body.ays-popup-plugin-admin .button-secondary:focus, 
body.ays-popup-plugin-admin .button.add_new_block_content:hover,
body.ays-popup-plugin-admin .button.wp-picker-default:hover,
body.ays-popup-plugin-admin .button.action:hover,
body.ays-popup-plugin-admin #search-submit.button:hover,
body.ays-popup-plugin-admin #ays-cat-button-apply.button:hover,
body.ays-popup-plugin-admin .button.insert-media:hover,
body.ays-popup-plugin-admin .button.action-button:not(.button-primary):hover,
body.ays-popup-plugin-admin .button-secondary:hover {
    background: #f0f0f1;
    border-color: #135e96;
    color: #135e96;
    box-shadow: 0 0 0 1px #3582c4;
}

body.ays-popup-plugin-admin a:focus {    
    box-shadow: 0 0 0 1px #3582c4;
}

body.ays-popup-plugin-admin .button:focus, 
body.ays-popup-plugin-admin .button-primary:focus {
    background: #135e96;
    border-color: #135e96;
    color: #fff;    
    box-shadow: 0 0 0 1px #3582c4,inset 0 0 0 1px #fff;
}

body.ays-popup-plugin-admin .button-primary {
    background: #2271b1;
    border-color: #2271b1;
}

body.ays-popup-plugin-admin select {
    line-height: 2;
    min-height: 30px;
}

/* Plugin Pro Features submenu item styles start */
#adminmenu li.toplevel_page_ays-pb ul.wp-submenu.wp-submenu-wrap li a[href*="features"] {
    color: #68A615;
    font-weight: bold;
}
/* Plugin Pro Features submenu item styles end */

/* Plugin deactivation popup styles start */
.swal2-popup.swal2-modal.ays-pb-deactivate-popup.swal2-show {
    font-size: initial !important;
}

.swal2-popup .ays-pb-upgrade-button,
.swal2-popup .ays-pb-cancel-button {
    position: relative;
}

.swal2-popup .ays-pb-upgrade-button.swal2-styled.swal2-confirm {
    background-color: #fff !important;
    color: #3085d6 !important;
    border: 1px solid #3085d6 !important;
}

.swal2-popup .ays-pb-upgrade-button.swal2-styled.swal2-confirm:after,
.swal2-popup .ays-pb-cancel-button.swal2-styled.swal2-cancel:after {
    position: absolute;
    color: #878787;
    bottom: -18px;
    font-size: 12px;
}

.swal2-popup .ays-pb-upgrade-button.swal2-styled.swal2-confirm:after {
    content: "(Save Your Data)";
    left: 25px;
}

.swal2-popup .ays-pb-cancel-button.swal2-styled.swal2-cancel:after {
    content: "(Delete All Data)";
    left: 30px;
}
/* Plugin deactivation popup styles end */

#toplevel_page_ays-pb .wp-first-item,
#adminmenu .wp-submenu-head {
    display: none;
}

/* Plugins page upgrade button styles start */
#ays-pb-plugins-buy-now-button {
    color: #01A32A;
    font-weight: bold;
}

#ays-pb-plugins-buy-now-button:hover {
    color: #3B8D3F;
}
/* Plugins page upgrade button styles end */

/*! Popup Box Deactivate Feedback Popup | Start */
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    padding: 8px 16px;
    outline: none;
    border: none;
    border-radius: 3px;
    background-color: #515962;
    color: #ffffff;
    transition: all 0.3s;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:hover,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:hover {
    border: none;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:hover,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:hover,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:focus,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:focus {
    background-color: rgb(57.9217877095, 63.6424581006, 70.0782122905);
    color: #ffffff;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:active,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:active {
    background-color: rgb(34.843575419, 38.2849162011, 42.156424581);
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:not([disabled]),
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:not([disabled]) {
    cursor: pointer;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:disabled,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:disabled {
    background-color: #d5d8dc;
    color: #babfc5;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip {
    background: transparent;
    color: #515962;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:hover,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:focus {
    background: #f1f2f3;
    color: #3f444b;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-skip:disabled {
    background: transparent;
    color: #babfc5;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit {
    background-color: #430FB2;
    color: #fff;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:hover,
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-submit:focus {
    background-color: #35059b;
    color: #fff;
}
body.ays-pb-editor-active :is(.is-desktop-preview, .is-tablet-preview, .is-mobile-preview) :is(.editor-styles-wrapper, iframe[name="editor-canvas"]) {
    height: auto !important;
    padding: 0 !important;
    flex: 0 !important;
}

a.ays-rated-link, a.ays-rated-link:hover, a.ays-rated-link:focus {
    text-decoration: none;
    display: inline-block;
    box-shadow: unset;
}

span.ays-dashicons {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
    color: #ffb900;
}

span.ays-dashicons-star-empty:before {
    content: "\f154";
}

span.ays-dashicons-star-filled:before {
    content: "\f155";
}

.ays-pb-dialog-widget-content {
    background-color: #ffffff;
    position: absolute;
    border-radius: 3px;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ays-pb-dialog-message {
    line-height: 1.5;
    box-sizing: border-box;
}

.ays-pb-dialog-type-lightbox {
    position: fixed;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.e-button:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.e-button:not(:disabled):not(.disabled):active:focus,
.e-button:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.4);
}

#ays-pb-deactivate-feedback-modal {
    color: #515962;
    display: flex;
    justify-content: center;
    align-items: center;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-widget-content {
    width: 500px;
    position: unset;
    max-width: 95%;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-header {
    padding: 18px 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    text-align: start;
}
#ays-pb-deactivate-feedback-modal .ays-pb-dialog-message {
    padding: 30px;
    padding-block-end: 0;
    text-align: start;
}
#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-dialog-input {
    margin-block: 0;
    margin-inline: 0 15px;
    box-shadow: none;
    margin-top: 6px;
}
#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-dialog-input:not(:checked) ~ label .ays-pb-deactivate-feedback-sub-dialog-input-wrapper,
#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-dialog-input:not(:checked) ~ label .ays-pb-feedback-text {
    display: none;
}
#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-dialog-label {
    display: block;
    font-size: 13px;
    min-width: 220px;
    cursor: pointer;
}
#ays-pb-deactivate-feedback-modal .ays-pb-feedback-text {
    background-color: transparent;
    color: #515962;
    /*padding: 5px;*/
    box-shadow: none;
    width: 100%;
    margin: 0; 
    padding: 3px 15px;
    font-size: 13px;
}

#ays-pb-deactivate-feedback-modal .ays-pb-feedback-text.ays-pb-feedback-text-color {
  color: #F59E0B;
  padding: 0;
  cursor: default;
}

#ays-pb-deactivate-feedback-modal .ays-pb-dialog-buttons-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px 30px;
}

#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-sub-dialog-input-wrapper {
    margin-bottom: 5px;
}

#ays-pb-deactivate-feedback-dialog-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#ays-pb-deactivate-feedback-dialog-header img {
    width: 20px;
    height: 20px;
}

#ays-pb-deactivate-feedback-dialog-header i {
    font-size: 19px;
}
#ays-pb-deactivate-feedback-dialog-header-title {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    padding-inline-start: 5px;
}
#ays-pb-deactivate-feedback-dialog-form-caption {
    font-weight: bold;
    font-size: 15px;
    line-height: 1.4;
}
#ays-pb-deactivate-feedback-dialog-form-body {
    padding-block-start: 30px;
    padding-block-end: 15px;
}

.ays-pb-deactivate-feedback-dialog-input-wrapper {
    display: flex;
    align-items: flex-start;
    line-height: 2;
    overflow: hidden;
}

body.custom-html {
    background-color: #fff !important;
}

@media screen and (max-width: 782px) {
    div#ays-pb-deactivate-feedback-modal .ays-pb-deactivate-feedback-dialog-input {
        min-width: 25px;
        min-height: 25px;
    }
}
/*! Popup Box Deactivate Feedback Popup | End */
