/* Admin CSS Styles */
.tu-clearfix {
  *zoom: 1;
 }
.tu-clearfix:before, .tu-clearfix:after {
    content: " ";
    display: table;
}
.tu-clearfix:after {
    clear: both;
}
.tu-bs {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Sections Position control */
#customize-control-tradeup_sections_position {
	display: none !important;
}

/* Icons */
.tu-wt-tab-toggle:after,
.tu-search-change:before,
.wp-customizer li[id*=accordion-section-tradeup_section__] > h3:before {
	font: 400 20px/1 dashicons;
    speak: none;
    display: block;
    padding: 0;
    text-indent: 0;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none!important;
}

/* Image Upload */
.tu-iu-wrap {
    margin: 1em 0;
    padding: 0 15px;
    border: 2px dashed #E6E6E6;
    background-color: #f9f9f9;
}
.tu-iu-wrap .button-secondary.hidden {
	display: none;
}

/* Icon Select */
.tu-is-nmt {
	margin-top: 0;
}
.tu-is-autocomplete-wrap {
	display: inline-block;
	clear: both;
	width: 100%;
}
.tu-is-autocomplete {
	display: inline-block;
	width: 84% !important;
    float: left;
    clear: left;
}
.tu-is-autocomplete-label {
	display: inline-block;
	float: left;
	clear: both;
}
.tu-is-autocomplete-icon {
	float: right;
    display: inline-block;
    clear: right;
    width: 14% !important;
    text-align: center;
    padding: 3px 0;
    font-size: 20px;
    box-sizing: border-box;
    line-height: 1.1;
    margin: 1px;
}
.wp-customizer .tu-is-autocomplete-icon {
	margin: 0;
	padding: 0;
	line-height: 1.3;
}
.ui-autocomplete {
	z-index: 1000000 !important;
}

/* Customizer */
.wp-customizer #available-widgets-list > div[class*=bx-item-],
.wp-customizer li[id*=customize-control-widget_bx-item-] .move-widget {
	display: none !important;
}
.wp-customizer #available-widgets-list.tu-display-widgets div.widget-tpl.tu-display-block {
	display: block !important;
}
.wp-customizer #available-widgets-list.tu-display-widgets div.widget-tpl {
	display: none !important;
}
.tu-search-change {
	background-color: #ffffff !important;
}
.tu-search-change:before {
	content: "\f347";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 5%;
    margin: -15px 0 0 0;
    color: gray;
    font-size: 24px;
    width: 30px;
    line-height: 30px;
	opacity: 0.3;

	-webkit-animation-duration: 1s;
  	animation-duration: 1s;
  	-webkit-animation-fill-mode: both;
  	animation-fill-mode: both;
	-webkit-animation-iteration-count: infinite;
  	animation-iteration-count: infinite;
	-webkit-animation-name: bx_slideInDown;
  	animation-name: bx_slideInDown;
}
@-webkit-keyframes bx_slideInDown {
	from {
		-webkit-transform: translate3d(0, -25%, 0);
		transform: translate3d(0, -25%, 0);
		visibility: visible;
	}
  	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes bx_slideInDown {
	from {
		-webkit-transform: translate3d(0, -25%, 0);
		transform: translate3d(0, -25%, 0);
		visibility: visible;
  	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
.tu-search-change > * {
	opacity: 0;
}
li[id*=customize-control-sidebars_widgets-section-] .add-new-widget {
	font-size: 0 !important;
}
li[id*=customize-control-sidebars_widgets-section-] .add-new-widget {
	padding-left: 5px !important;
}
li[id*=customize-control-sidebars_widgets-section-] .add-new-widget:after {
	display: inline-block;
    content: attr(data-bx-anw-new-title);
    font-size: 13px;
    margin-left: 3px;
    vertical-align: middle;
}
li[id*=customize-control-sidebars_widgets-section-] .add-new-widget:before {
	top: 1px;
	left: auto;
}
.tu-add-items-wrap {
	margin-top: 12px;
}
.tu-add-items.button {
	font-weight:bold;
	width: 100%;
    height: auto;
    min-height: 60px;
    white-space: normal;
	margin-top: 12px;
	background: #ffffff;
}
.tu-add-items .tu-add, .tu-add-items .tu-edit {
	margin-top: 5px;
    margin-right: 3px;
}
.tu-add-items .tu-edit {
	margin-top: 3px;
}
.tu-add-items .tu-add:before {
	content: "\f132";
}
.tu-add-items .tu-edit:before {
	content: "\f341";
}
.customize-control-section-tabs {
	overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 15px 0;
    text-align: center;
	box-sizing: border-box;
	background-color: #fff;
	margin-top: 12px;
}
.tu-cz-tab-colors {
	margin-right: 5px !important;
}
.tu-cz-tab-colors .tu-cz-tc {
	margin-top: 3px;
    margin-right: 2px;
}
.tu-cz-tab-colors .tu-cz-tc:before {
	content: "\f108";
}
.tu-cz-tab-background .tu-cz-tb {
	margin-top: 3px;
    margin-right: 2px;
}
.tu-cz-tab-background .tu-cz-tb:before {
	content: "\f128";
}
#accordion-panel-tradeup_panel__sections_items {
	visibility: hidden !important;
}
#accordion-panel-tradeup_panel__sections_items > h3 {
	display: none;
}
#accordion-panel-tradeup_panel__sections_items.tu-display-important {
	visibility: visible !important;
}

.tu-hide {
	display: none !important;
}
.tu-show {
	display: list-item !important;
}
/* Drag And Drop / Customizer */
.tu_drag_and {
	box-sizing: border-box;
    padding: 0 15px 10px;
    position: relative;
	margin-bottom: 8px;
	border-top: 0 !important;
}
.tu_drag_and_spinner {
	position: absolute;
	margin-top: -15px;
	top: 50%;
	right: 15px;
	display: none;
}
.wp-customizer li[id*=accordion-section-tradeup_section__] > h3:before {
	content: "\f156";
    position: absolute;
    top: 50%;
    right: 40px;
    opacity: 0.5;
    margin-top: -11px;
	display: inline-block;
}
.wp-customizer li[id*=accordion-section-tradeup_section__] > h3:hover:before {
	cursor: move !important;
}
.wp-customizer li[id*=accordion-section-tradeup_section__].tu-hidden-section > h3:before {
	content: "\f530  \f156" !important;
}

/* Widgets Tabs */
.tu-widget-tabs {
	margin-top: 15px;
	margin-bottom: 15px;
}
.tu-wt-tab-wrap {
	border: 1px solid #e5e5e5;
	border-bottom: none;
	margin-top: -1px;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.tu-wt-tab-wrap > a.tu-wt-tab-toggle {
	-webkit-box-shadow: none;
	box-shadow: none;
}
.tu-wt-tab-clear {
	display: inline-block;
	width:100%;
	border-bottom: 1px solid #e5e5e5;
	padding: 0;
	margin: 10px 0;
}
.tu-wt-tab-clear.nm {
	margin: 0;
}
.tu-wt-tab-toggle {
	position: relative;
	display: inline-block;
    width: 100%;
    padding: 11px 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #f7f7f7;
    font-weight: bold;
    text-decoration: none;

	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-ms-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.tu-wt-tab-toggle, .tu-wt-tab-toggle:hover, .tu-wt-tab-toggle:active { color: #23282d; }
.tu-wt-tab-toggle:hover, .tu-wt-tab-toggle.tu-wt-active-link {
	background-color: #efefef;
}
.tu-wt-tab-toggle:after {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
    content: "\f140";
    border: none;
    background: 0 0;
	color: #a0a5aa;
}
.tu-wt-tab-toggle.tu-wt-active-link:after {
	content: "\f142";
	color: #777;
}
.tu-wt-tab-contents {
	display: none;
	padding: 0 15px;
	border-bottom: 1px solid #e5e5e5;
}
.tu-wt-active-tab {
	display: block;
}
/* Repeatable Fields */
.tu-widget-repeatable-items {
	margin-top: 15px;
}

.tu-widget-repeatable-items a {
	text-decoration: none !important;
}

.tu-item-team-repeatable-item,
.tu-item-pricing-repeatable-item,
.tu-pricing-repeatable-top
.tu-item-pricing-repeatable-item input {
	width: 100%;
}
.tu-pricing-add-wrap {
	margin-top: 0;
}
.tu-item-pricing-repeatable-item,
.tu-item-team-repeatable-item {
	padding: 5px;
    background-color: #EEEEEE;
    border: 1px solid #E5E5E5;
}
.tu-pricing-repeatable-top {
	margin-bottom: 5px;
}
.tu-item-team-repeatable-item input,
.tu-pricing-repeatable-top select,
.tu-item-team-repeatable-item .tu-team-repeatable-helper,
.tu-pricing-repeatable-top .tu-pricing-repeatable-helper {
	float: left;
	margin-right: 2% !important;
}
.tu-item-team-repeatable-item input,
.tu-pricing-repeatable-top select {
	width: 74% !important;
}
.tu-item-team-repeatable-item .tu-team-repeatable-helper,
.tu-pricing-repeatable-top .tu-pricing-repeatable-helper {
	width: 10% !important;
	text-align: center;
	margin-top: 1%;
}
.tu-item-team-repeatable-item .dashicons-sort:hover,
.tu-pricing-repeatable-top .dashicons-sort:hover {
	cursor: move !important;
}

/* Widgets Page */
.widgets-php #widget-list div[id*=bx-item-] {
	display: none !important;
}
.widgets-php #section-features > .widget.open:not([id*=bx-item-features-]) .widget-inside,
.widgets-php #section-faq > .widget.open:not([id*=bx-item-faq-]) .widget-inside,
.widgets-php #section-clients > .widget.open:not([id*=bx-item-clients-]) .widget-inside,
.widgets-php #section-actions > .widget.open:not([id*=bx-item-actions-]) .widget-inside,
.widgets-php #section-about > .widget.open:not([id*=bx-item-about-]) .widget-inside,
.widgets-php #section-testimonials > .widget.open:not([id*=bx-item-testimonials-]) .widget-inside,
.widgets-php #section-team > .widget.open:not([id*=bx-item-team-]) .widget-inside,
.widgets-php #section-pricing > .widget.open:not([id*=bx-item-pricing-]) .widget-inside,
.widgets-php #section-slider > .widget.open:not([id*=bx-item-slider-]) .widget-inside {
	background-color: rgba(255, 0, 0, 0.05);
}
.widgets-php .widgets-sortables:not([id*=section-]) .widget.open[id*=bx-item-] .widget-inside:before,

.widgets-php #section-features > .widget.open:not([id*=bx-item-features-]) .widget-inside:before,
.widgets-php #section-features > .widget.open:not([id*=bx-item-features-]) .widget-inside:after,

.widgets-php #section-faq > .widget.open:not([id*=bx-item-faq-]) .widget-inside:before,
.widgets-php #section-faq > .widget.open:not([id*=bx-item-faq-]) .widget-inside:after,

.widgets-php #section-clients > .widget.open:not([id*=bx-item-clients-]) .widget-inside:before,
.widgets-php #section-clients > .widget.open:not([id*=bx-item-clients-]) .widget-inside:after,

.widgets-php #section-actions > .widget.open:not([id*=bx-item-actions-]) .widget-inside:before,
.widgets-php #section-actions > .widget.open:not([id*=bx-item-actions-]) .widget-inside:after,

.widgets-php #section-about > .widget.open:not([id*=bx-item-about-]) .widget-inside:before,
.widgets-php #section-about > .widget.open:not([id*=bx-item-about-]) .widget-inside:after,

.widgets-php #section-testimonials > .widget.open:not([id*=bx-item-testimonials-]) .widget-inside:before,
.widgets-php #section-testimonials > .widget.open:not([id*=bx-item-testimonials-]) .widget-inside:after,

.widgets-php #section-team > .widget.open:not([id*=bx-item-team-]) .widget-inside:before,
.widgets-php #section-team > .widget.open:not([id*=bx-item-team-]) .widget-inside:after,

.widgets-php #section-pricing > .widget.open:not([id*=bx-item-pricing-]) .widget-inside:before,
.widgets-php #section-pricing > .widget.open:not([id*=bx-item-pricing-]) .widget-inside:after,

.widgets-php #section-slider > .widget.open:not([id*=bx-item-slider-]) .widget-inside:before,
.widgets-php #section-slider > .widget.open:not([id*=bx-item-slider-]) .widget-inside:after {
	content: "This Widget isn't designed for this sidebar/section!";
	display: inline-block;
	width: 100%;
    padding: 15px 0;
    text-align: center;
    border: 1px dashed #FFC0C0;
    background-color: rgba(255, 255, 255, 0.58);
    box-sizing: border-box;
    margin-top: 15px;
    font-size: 1.04em;
    font-style: italic;
    color: red;
    letter-spacing: 0.03em;
}
.widgets-php .widgets-sortables:not([id*=section-]) .widget.open[id*=bx-item-] .widget-inside:before {
	content: "This Widget isn't designed for this sidebar!";
}
.widgets-php #section-features > .widget.open:not([id*=bx-item-features-]) .widget-inside:after {
	content: "Please delete it and use: TU: Feature"
}
.widgets-php #section-faq > .widget.open:not([id*=bx-item-faq-]) .widget-inside:after {
	content: "Please delete it and use: TU: Question"
}
.widgets-php #section-clients > .widget.open:not([id*=bx-item-clients-]) .widget-inside:after {
	content: "Please delete it and use: TU: Client"
}
.widgets-php #section-actions > .widget.open:not([id*=bx-item-actions-]) .widget-inside:after {
	content: "Please delete it and use: TU: Action"
}
.widgets-php #section-about > .widget.open:not([id*=bx-item-about-]) .widget-inside:after {
	content: "Please delete it and use: TU: About Box"
}
.widgets-php #section-testimonials > .widget.open:not([id*=bx-item-testimonials-]) .widget-inside:after {
	content: "Please delete it and use: TU: Testimonial"
}
.widgets-php #section-team > .widget.open:not([id*=bx-item-team-]) .widget-inside:after {
	content: "Please delete it and use: TU: Team Member"
}
.widgets-php #section-pricing > .widget.open:not([id*=bx-item-pricing-]) .widget-inside:after {
	content: "Please delete it and use: TU: Pricing Package"
}
.widgets-php #section-slider > .widget.open:not([id*=bx-item-slider-]) .widget-inside:after {
	content: "Please delete it and use: TU: Slide"
}
.widgets-php .widgets-sortables:not([id*=section-]) .widget.open[id*=bx-item-] .widget-inside {
	background-color: rgba(255, 0, 0, 0.05);
}
/*.widgets-php #section-features, .widgets-php #section-faq, .widgets-php #section-clients, .widgets-php #section-actions, .widgets-php #section-about, .widgets-php #section-testimonials, .widgets-php #section-team, .widgets-php #section-pricing, .widgets-php #section-slider {
	display: none;
}*/

/* Widgets */
div[id*=bx-item-] .display-options {
	display: none;
}
.tu-fields-description {
	width: 100%;
    position: relative;
    padding: 5px 10px;
    display: inline-block;
    font-style: italic;
    border: 1px solid #e5e5e5;
    margin-top: 10px;
    border-radius: 4px;
    color: #999;
	background-color: #f9f9f9;
}

.tu-fields-description:after, .tu-fields-description:before {
	bottom: 100%;
	left: 15px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.tu-fields-description:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #f9f9f9;
	border-width: 5px;
	margin-left: -5px;
}
.tu-fields-description:before {
	border-color: rgba(229, 229, 229, 0);
	border-bottom-color: #ccc;
	border-width: 6px;
	margin-left: -6px;
}

/* Backup stuff */
.tu-backup-sections {
	left: 48px;
	display: none;
}
.tu-backup-sections:before {
	content: "\f321" !important;
}
@media screen and (max-width: 640px) {
	.customize-controls-preview-toggle {
		left: 96px;
	}
}
.tu-backup-bubble {
	display: none;
	position: absolute;
	width: 160px;
	top: 50px;
	left: 0;
	background-color: rgba(0,0,0,.7);
	border-radius: 4px;
	padding: 15px;
	z-index: 3;
	color: #fff;
    line-height: 1.5;
    font-size: 12px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
}
.tu-backup-bubble:after {
	bottom: 100%;
	left: 13%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: rgba(0,0,0,.7);
	border-width: 6px;
	margin-left: -6px;
}
.tu-backup-sections:hover .tu-backup-bubble {
	display: inline-block;
}
.tu-backup-pulse {
	display: none;
	width: 4px;
    height: 4px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 2px;
    position: absolute;
    top: 15%;
    right: 10%;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 1;
	box-shadow: 0 0 2px 0 rgba(0,0,0,0.1);
}
.tu-backup-pulse, .tu-backup-pulse:before, .tu-backup-pulse:after {
	 background-color: #0085ba;
}
.tu-backup-pulse:before, .tu-backup-pulse:after {
  content: '';
  width: 4px;
  height: 4px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  transform: scale(0.7);
  transform-origin: center center;
  animation: pulse-me 3s linear infinite;
}
.tu-backup-pulse:after {
  animation-delay: 2s;
}

@keyframes pulse-me {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.1;
  }
  70% {
    opacity: 0.09;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}

/* Extenstions Setup Modal */
.tuext-stp-modal-window {
	border-radius: 6px;
}
.tuext-stp-modal-window p {
	font-size: 1.222em;
}
.tuext-stp-modal-window .button-group {
	width: 100%;
}
.tuext-stp-modal-window .button-group .button {
	width: 49%;
	float: left;
	text-align: center;
	border-radius: 4px !important;
}
.tuext-stp-modal-window .button-group .button.button-secondary {
	float: right;
}
