/*
* Style for shortcode input
*/
.bafg-shortcode-wraper .cmb-row {
    padding: 0 !important;
    margin: 0 !important;
}

.bafg_display_shortcode {
    margin: 10px 0;
    width: 100%;
}

.tf-btn-loading:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -7px;
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-left-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    vertical-align: middle;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    animation: wd-rotate 450ms infinite linear;
}

/*
* Style for alert 
*/
#bafg_copy {
    font-size: 15px;
    color: #fff;
    width: 200px;
    height: 50px;
    background-color: #4caf50;
    text-align: center;
    position: absolute;
    top: 100px;
    right: 0;
    line-height: 50px;
    border-radius: 5px;
    transition: 1s;
    display: none;
}

.cmb2-id-bafg-pro-image1,
.cmb2-id-bafg-pro-image2,
.cmb2-id-bafg-pro-image {
    position: relative;
    padding: 0 !important;
}

.cmb2-id-bafg-pro-image1::before-,
.cmb2-id-bafg-pro-image2::before,
.cmb2-id-bafg-pro-image::before {
    position: absolute;
    z-index: 35;
    width: 240px;
    left: 0;
    background: #dddddda8;
    content: "Upgrade to pro";
    height: 43px;
    text-align: center;
    color: red;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0 auto;
    right: 0;
    top: 50%;
    margin-top: -22px;
    border-radius: 5px;
}

.bafg-tooltip {
    position: relative;
    display: inline-block;
}

.bafg-tooltip span {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-left: 5px;
    font-weight: 600;
    background: #f8f8f8;
    color: #1313fc;
    display: block;
    border-radius: 30px;
}

.bafg-tooltip .bafg-tooltip-info {
    display: none;
    position: absolute;
    z-index: 90;
    third: 100%;
    left: 10px;
    text-align: center;
    transition: 0.5s;
    max-width: 160px;
    min-width: 100px;
    background: #0d0d0d;
    height: auto;
    padding: 10px;
    border-radius: 4px;
    color: #fff;
}

.bafg-tooltip:hover .bafg-tooltip-info {
    display: block;
}

.bafg-pro-link {
    color: #ca4a1f;
    font-weight: bold;
}

/* Gallery shortcode generator CSS */
@media (min-width: 783px) {
    .bafg-wrap {
        display: flex;
    }

    #bafg_gallery_generator,
    #bafg_filter_gallery_style,
    #bafg_filter_gallery_generator {
        height: 100%;
    }
}

#bafg_gallery_generator,
#bafg_filter_gallery_style,
#bafg_filter_gallery_generator {
    margin-top: 50px;
    border-radius: 5px;
    background-color: #fff;
    padding: 20px;
    max-width: 350px;
    position: relative;
    display: inline-block;
}

#bafg_filter_gallery_style {
    width: 350px;
}

#bafg_gallery_generator,
#bafg_filter_gallery_generator {
    margin-right: 30px;
}

#bafg_gallery_generator h2,
#bafg_filter_gallery_style h2,
#bafg_filter_gallery_generator h2 {
    color: #23282d;
    font-size: 1.3em;
    margin: 1em 0;
}

#bafg_gallery_generator input[type="text"],
#bafg_filter_gallery_generator input[type="text"],
#bafg_gallery_generator input[type="number"],
#bafg_filter_gallery_generator input[type="number"],
#bafg_gallery_generator select,
#bafg_filter_gallery_generator select,
#bafg_filter_gallery_style input[type="number"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.bafg_gallery_info,
.bafg_filter_gallery_info {
    margin: 5px 0;
    display: block;
}
#bafg_gallery_generator input[type="submit"],
#bafg_filter_gallery_style input[type="submit"],
#bafg_filter_gallery_generator input[type="submit"] {
    width: 100%;
    background-color: #0652dd;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#bafg_gallery_generator input[type="submit"]:hover,
#bafg_filter_gallery_generator input[type="submit"]:hover,
#bafg_filter_gallery_style input[type="submit"]:hover {
    background-color: #0f60f4;
}

#bafg_gallery_shortcode_copy_alert,
#bafg_filter_gallery_shortcode_copy_alert {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 82, 221, 0.78);
    top: 0;
    left: 0;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 21px;
    font-weight: 600;
    display: none;
}

.bafg-upgrade-to-pro {
    position: absolute;
    top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.57);
}

.bafg-upgrade-to-pro a {
    color: #e61c1c;
    text-decoration: none;
}
.img-alt-tag,
.bafg-img-link {
    margin-top: 15px;
}
.img-alt-tag span,
.bafg-img-link span {
    margin-right: 15px;
    font-weight: 500;
}
.img-alt-tag input,
.bafg-img-link input {
    width: 285px;
}
/** CSS for new options */
.tf-field.tf-field-switch.watermark-in-free-version {
    display: none;
}

pre {
	background-color: #030466;
	color: #45ff45;
	padding: 20px;
}

.tf-field-heading.tf-depend-hidden[data-controller="bafg_auto_slide"] {
	background: none;
}

.beaf-settings-page {
	display: grid;
	grid-template-columns: 4fr 2fr;
	gap: 32px;
    padding: 24px;
    background-color: #fff;
    border-radius: 4px;
}

.tf-setting-wrapper{
    margin: 0;
}
.tf-setting-wrapper .tf-option-form {
	padding: 0;
}

.beaf-settings-sidebar {
	padding: 15px;
	padding: 0px;
	border-radius: 6px;
}

.beaf-sidebar-content {
	background: #F7F8FA;
	padding: 10px 20px;
}

.beaf-sidebar-content ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
}
.plugin-item {
	border-bottom: 1px solid #eee;
	background-color: #fff;
	padding: 24px;
	border-radius: 6px;
	transition: all ease-in-out 0.3s;
	margin-bottom: 0;
	position: relative;
}
.plugin-item:hover {
	box-shadow: 0px 4px 30px 0px rgba(6,4,12,.0784313725);
}
.plugin-item.featured {
	border-radius: 6px;
	border: 4px solid transparent;
	background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #489355 0%, #B8FC81 100%) border-box;
	box-shadow: 0px 1px 4px 0px rgba(44, 39, 63, 0.01), 0px 2px 2px 0px rgba(44, 39, 63, 0.02), 0px 1px 1px 0px rgba(44, 39, 63, 0.04);
	box-sizing: border-box;
}
.plugin-info-wrapper {
	display: flex;
	gap: 10px;
	flex-direction: column;
	position: relative;
}
.plugin-info {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	align-items: flex-start;
}
.plugin-info-wrapper img {
	width: 32px;
	height: 32px;
	border: 1px solid #bebcfd;
	border-radius: 50%;
}
.plugin-button {
	padding: 5px;
	border-radius: 4px;
	font-size: 14px;
	text-decoration: none;
	position: relative;
}
.plugin-btn {
	font-weight: 600;
}
.badge.free {
	background: rgba(0,165,140,.1019607843);
	color: #00a58c;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 12px;
	font-weight: 600;
	border: 1px solid #00a58c;
}
.plugin-button:not(.active):not(.active-pro) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
	position: relative;
	background-color: transparent;
	flex-direction: column;
}
.loader {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	border-top: 2px solid transparent;
	animation: spin 0.6s linear infinite;
	margin-right: 6px;
}
.loader {
	display: none;
	width: 12px;
	height: 12px;
	border: 2px solid #b3b3b3;
	border-top: 2px solid transparent;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	margin-left: 8px;
}
.plugin-button.activate {
	color: #382673;
}
.loader {
	display: none;
	width: 12px;
	height: 12px;
	border: 2px solid #b3b3b3;
	border-top: 2px solid transparent;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	margin-left: 8px;
}
.plugin-button.activate {
	/* background: #382673; */
	color: #382673;
}
.plugin-button.install {
	/* background: #007cba; */
	color: #382673;
}
.plugin-item p {
	font-size: 13px;
	color: #4f4e52;
	margin: 0;
}
.plugin-item h4 {
	font-size: 16px;
	margin: 5px 0;
	font-weight: 600;
	color: #1d2327;
}
.customization-quote{
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.customization-quote .quote-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customization-quote .quote-header a{
    color: #382673;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.customization-quote .quote-header i {
	color: #fff;
	background-color: #ff0000;
	padding: 5px;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.customization-quote h3 {
    margin-bottom: 5px;
    font-size: 16px;
}
.customization-quote p {
    margin-top: 0;
}

.quick-access {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 10px;
}

.quick-access-wrapper{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    flex-direction: column;
    background-color: #F7F8FA;
    padding: 5px;
}

.quick-access h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0px;
}

.access-item {
    background: #fff;
    border-radius: 8px;
    transition: all ease-in-out 0.3s;
    width: 100%;
}

.access-item:hover {
	box-shadow: 0px 4px 30px 0px rgba(6,4,12,.0784313725);
}

.access-item a {
    display: flex;
    align-items: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
}

.access-item .icon {
    font-size: 18px;
    margin-right: 10px;
}


/**
 * Promo Banner CSS
 */

 .beaf-sidebar-promo {
	display: flex;
	padding: 16px;
	align-items: center;
	align-content: center;
	gap: 16px;
	flex-direction: row;
	border-radius: 8px;
	border: 1px solid #7820F3;
	background: radial-gradient(46.48% 49.91% at 50.09% 87%, rgba(255, 125, 125, 0.16) 0%, rgba(120, 32, 243, 0.00) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 0, 0, 0.16) 100%), linear-gradient(0deg, #7820F3 0%, #7820F3 100%), #382673;
    margin-bottom: 16px;
}

.beaf-sidebar-promo .promo-discount {
	display: flex;
	padding: 16px;
	justify-content: center;
	align-items: flex-start;
	border-radius: 8px;
	background: radial-gradient(81.34% 87.34% at 50% 87.34%, rgba(255, 125, 125, 0.16) 0%, rgba(120, 32, 243, 0.00) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 0, 0, 0.16) 100%), linear-gradient(0deg, #7820F3 0%, #7820F3 100%), linear-gradient(0deg, #382673 0%, #382673 100%), #473080;
	box-shadow: 0px 3px 3px 0px rgba(44, 39, 63, 0.03), 0px 1px 6px 0px rgba(44, 39, 63, 0.03), 0px 0px 0px 1px rgba(44, 39, 63, 0.12), -8px 9.5px 24px 0px rgba(24, 14, 56, 0.32);
	color: #fff;
    flex-direction: column;
}

.beaf-sidebar-promo .promo-discount span {
	color: #FFF;
	text-align: left;
	font-family: Inter;
	font-size: 25px;
	font-style: normal;
	font-weight: 600;
	line-height: 120%;
	letter-spacing: -0.25px;
}

.beaf-sidebar-promo .promo-discount span.promo-discount-percent{
    color: #FFF;
    text-align: center;
    font-family: inherit;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
}
.beaf-sidebar-promo .promo-discount span.promo-discount-text{
   color:  #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.25px;
    text-transform: uppercase;
}

.beaf-sidebar-promo .promo-description {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.beaf-sidebar-promo .promo-description p {
	color: #FFF;
	font-family: Inter;
	font-size: 17px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
    margin: 0;
}

.beaf-sidebar-promo .promo-description .dicount-timer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.beaf-sidebar-promo .promo-description .countdown {
	color: #FFF;
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.75px;
}
.beaf-sidebar-promo .promo-description .countdown span {
    font-weight: 400;
}

.beaf-sidebar-promo .promo-description .discount-btn {
	display: flex;
	padding: 8px 12px;
	justify-content: space-between;
	align-items: center;
	border-radius: 8px;
	gap: 8px;
	background: #F61A39;
	color: #FFF;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	text-decoration: none;
}

.beaf-sidebar-promo .promo-description .discount-btn:hover {
    background: #F61A39;
}


/* sidebar promo banner  */

.beaf_promo_side_preview a:focus {
    box-shadow: none;
} 
.beaf_promo_side_preview a {
    display: inline-block;
}
#beaf_black_friday_docs .inside {
    padding: 0;
    margin-top: 0;
}
#beaf_black_friday_docs .postbox-header {
    display: none;
    visibility: hidden;
}
.beaf_promo_side_preview {
    position: relative;
}
.beaf_promo_side_notice_dismiss {
    z-index: 1;
}




@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 1860px) {
    .beaf-sidebar-promo .promo-description {
        gap: 8px;
    }
    .beaf-sidebar-promo .promo-description .dicount-timer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .beaf-sidebar-promo .promo-description .countdown {
        width: 100%;
    }
}

@media screen and (max-width: 1700px) {
    .plugin-item {
        padding: 18px;
    }
}

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

    .beaf-settings-page {
        grid-template-columns: 3fr 2fr;
    }
}

@media screen and (max-width: 1450px) { 
    .beaf-sidebar-promo {
        align-items: flex-start;
    }
}

@media screen and (max-width: 1400px) {
    .beaf-settings-page {
        grid-template-columns: 4fr 2fr;
    }
    .beaf-sidebar-content ul {
        grid-template-columns: 1fr;
    }
    .beaf-settings-page .beaf-setting-content {
        gap: 24px;
    }
    .beaf-sidebar-promo {
        flex-direction: column;
    }
}


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

    .beaf-settings-page {
        gap: 20px;
    }

}


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

    .plugin-item {
        padding: 16px;
    }
}



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

    .beaf-settings-page .beaf-sidebar-title ,
    .beaf-settings-page .beaf-setting-title {
        margin-bottom: 30px;
        font-size: 1.5em !important;
        font-weight: 700;
        line-height: 28px;
    }
    .beaf-sidebar-content {
        padding: 10px 14px;
    }

    .quick-access {
        padding: 14px;
    }

    .beaf-sidebar-promo .promo-discount span.promo-discount-percent {
        font-size: 48px;
    }
    .beaf-sidebar-promo .promo-discount span {
        font-size: 22px;
    }
    .beaf-sidebar-promo .promo-discount span.promo-discount-text,
    .beaf-sidebar-promo .promo-description p {
        font-size: 16px;
    }
    .beaf-sidebar-promo .promo-description .discount-btn {
        font-size: 14px;
    }

}

@media screen and (max-width: 760px) { 
    .beaf-settings-page {
        grid-template-columns: 3fr 2fr;
    }
    .beaf-settings-page .beaf-setting-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media screen and (max-width: 645px) { 
    .beaf-settings-page {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width:961px) and (max-width:1024px){ 
    .beaf-sidebar-promo .promo-description .discount-btn {
        padding: 8px 8px;
        gap: 4px;
    }
    .beaf-sidebar-promo {
        padding: 13px;
    }
}

@media screen and (min-width:768px) and (max-width:960px){ 
    .beaf-sidebar-promo .promo-description .discount-btn {
        padding: 8px 8px;
        gap: 4px;
    }
    .beaf-sidebar-promo {
        padding: 13px;
    }
    .beaf-sidebar-promo .promo-description .discount-btn {
        padding: 8px 8px;
        gap: 4px;
    }
}

