/* Classic editor lightbox — fixed size so tabs don't jump */
#swarmify-modal-content {
	width: 520px;
	max-width: 90vw;
	box-sizing: border-box;
}

#swarmify-modal-content .swarmify-main,
#swarmify-modal-content .swarmify-basic,
#swarmify-modal-content .swarmify-advanced {
	min-height: 320px;
}

/* Widget + lightbox shared styles */
.swarmify-tabs {
	margin-top: 15px;
}

.swarmify-tabs span {
	display: inline-block;
	background: #ededed;
	color: #000;
	padding: 6px;
	cursor: pointer;
	font-size: 12px;
}

.swarmify-tabs span.active {
	background: #ffde17;
	color: #000;
}

.swarmify-basic,.swarmify-advanced {
	display: none;
}

.swarmify-widget-div .wp_switch {
	position: relative;
	display: block;
	width: 50px;
	height: 26px;
}

.swarmify-widget-div .wp_switch input {
	display: none;
}

.swarmify-widget-div .wp_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.swarmify-widget-div .wp_slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

.swarmify-widget-div input:checked + .wp_slider {
	background-color: #0075ad;
}

.swarmify-widget-div input:focus + .wp_slider {
	box-shadow: 0 0 1px #0075ad;
}

.swarmify-widget-div input:checked + .wp_slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

.swarmify-widget-div .wp_slider.round {
	border-radius: 34px;
}

.swarmify-widget-div .wp_slider.round:before {
	border-radius: 50%;
}

.swarmify-widget-div p {
	position: relative;
}

.swarmify_info {
	background: #ffde17;
	padding: 1px 4px;
	font-size: 10px;
	color: #000;
}

.swarmify_info_tooltip {
	display: none;
	position: absolute;
	font-size: 10px;
	background: #3a3a3a;
	color: #fff;
	padding: 6px 10px;
	z-index: 999;
}
.swarmify-field-hint {
	display: block;
	font-size: 11px;
	color: #888;
	margin-top: 2px;
	font-style: italic;
}

.swarmify-widget-div select.widefat {
	max-width: 100%;
}

.swarmify-widget-div hr {
	border: none;
	border-top: 1px solid #e0e0e0;
}

.wp-media-buttons .swarmify_add_button img{
    padding: 0;
    margin-right: 3px;
    margin-bottom: 2px;
}
.swarmify_insert_button{background-color:#ffde17;color:#000; }
.swarmify-widget-div .button{
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.swarmify-lightbox-button,.swarmify-lightbox-button-img{
    background-color: #FFDE17;
    display: inline-block;
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    border: none;
    margin-top: 6px;
}
.video_url_fancybox p,.image_url_fancybox p{
	margin-bottom: 10px;
}

.wp-customizer .fancybox-container{
	z-index: 560000;
}

/**
	Removed as it conflicts with media library popup
**/
/* .fancybox-container {
    z-index: 2147483647;
} */