@import "_mixins.scss";
@import "_theme-vars.scss";
@import "_admin-colors.scss";

$responsive_breakpoints: (desktop, laptop, tablet, mobile);


/* Theme-specific font icons
-----------------------------------------------------------------*/
[class^="icon-"]:before,
[class*=" icon-"]:before {
	@include font(inherit, inherit !important, inherit, inherit);
	display: inline-block;
	vertical-align: middle;
	width:auto;
	margin:0;
}


/* Media crop
-----------------------------------------------------------------*/
.media-frame-content .crop-content > img + div + div {
	min-height: 10px;
}


/* New editor area
-----------------------------------------------------------------*/
@if $hide_scrollbars_in_gb {
	// Hide scrollbars in the editor area
	.edit-post-layout__content {
		overflow-x: hidden !important;
	}
	// Hide scrollbar of the sidebar (at the right side of the editor area)
	@media (min-width: 782px) {
		.edit-post-sidebar {
			right: -16px;
			overflow-y: scroll;
		}
		.edit-post-layout.is-sidebar-opened .edit-post-sidebar,
		.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout {
			width: 296px;
		}
		.edit-post-sidebar > .components-panel {
			overflow-y: auto;
		}
	}
}


/* Notices
-----------------------------------------------------------------*/
.tooth_fairy_admin_notice {
	display:block;
	overflow: hidden;
	position: relative;
	padding-top: 1em;
	padding-bottom: 1em;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_image {
	float: left;
	margin-right: 2em;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_image img {
	max-height: 135px;
	width: auto;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_title {
	margin:0;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_title a {
	text-decoration: none;
}
.tooth_fairy_admin_notice.tooth_fairy_rate_notice .tooth_fairy_notice_title:after {
	display: inline-block;
	vertical-align: top;
	content: '\f155\f155\f155\f155\f155';
	font-family: 'dashicons';
	margin-left: 0.5em;
	color: #ffcc00;
	font-size: 1em;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_text {
	margin: 1em 0;
}
.tooth_fairy_admin_notice p {
	margin: 0 0 0.1em;
}
.tooth_fairy_admin_notice .tooth_fairy_notice_text_info {
	margin-top: 0.5em;
	font-style: italic;
}
.tooth_fairy_admin_notice .dashicons {
	font-size: 1em;
	@include square(inherit);
	display: inline-block;
	vertical-align: top;
	margin-top: -2px;
}
.tooth_fairy_admin_notice .dashicons:before {
	font-size:1.2em;
	line-height:inherit;
}

.tooth_fairy_admin_notice .button+.button {
	margin-left: 0.3em;
}


/* Admin messages
-----------------------------------------------------------------*/
.tooth_fairy_admin_messages {
	margin-bottom: 1em;
}
.tooth_fairy_admin_messages .tooth_fairy_admin_message_item {
	margin: 0.5em 20px 0.5em 0;
}


.tooth_fairy_skin_code {
	width: 100%;
}



/* Custom fields 
-----------------------------------------------------------------*/

/* Buttons  */
.tooth_fairy_button,
form input[type="button"].tooth_fairy_button,
form input[type="submit"].tooth_fairy_button {
	display: inline-block;
	vertical-align: top;
	text-decoration: none;
	font-size: 15px;
	line-height: 24px;
	padding: 10px 30px;
	height: auto;
	background-color: $button_bg_color;
	border: 1px solid $button_bd_color;
	border-bottom-width: 2px;
	color: $button_text_color;
	cursor: pointer;
	@include border-radius(4px);
	@include transition-properties(color, border-color, background-color);
}
.tooth_fairy_button:focus,
form input[type="button"].tooth_fairy_button:focus,
form input[type="submit"].tooth_fairy_button:focus,
.tooth_fairy_button:hover,
form input[type="button"].tooth_fairy_button:hover,
form input[type="submit"].tooth_fairy_button:hover {
	background-color: $button_bg_hover;
	border-color: $button_bd_hover;
	color: $button_text_hover;
}
.tooth_fairy_button:focus,
form input[type="button"].tooth_fairy_button:focus,
form input[type="submit"].tooth_fairy_button:focus {
	outline: 0;
	box-shadow: 0 0 0 3px $button_outline_color;
}
.tooth_fairy_button[disabled],
form input[type="button"].tooth_fairy_button[disabled],
form input[type="submit"].tooth_fairy_button[disabled] {
	background-color: $button_bg_hover !important;
	color: $button_text_disabled !important;
	border-color: $button_bd_disabled !important;
}
.tooth_fairy_button:before,
form input[type="button"].tooth_fairy_button:before,
form input[type="submit"].tooth_fairy_button:before,
.tooth_fairy_button:after,
form input[type="button"].tooth_fairy_button:after,
form input[type="submit"].tooth_fairy_button:after {
	font-family: $trx_addons_icons;
	display: inline-block;
	vertical-align: middle;
	margin-top: -1px;
	font-size: 1.2em;
	line-height: 0;
	color: inherit;
}
.tooth_fairy_button:before,
form input[type="button"].tooth_fairy_button:before,
form input[type="submit"].tooth_fairy_button:before {
	margin-right: 0.3em;
}
.tooth_fairy_button:after,
form input[type="button"].tooth_fairy_button:after,
form input[type="submit"].tooth_fairy_button:after {
	margin-left: 0.3em;
}
.tooth_fairy_button_small,
form input[type="button"].tooth_fairy_button_small,
form input[type="submit"].tooth_fairy_button_small {
	font-size: 14px;
	line-height: 20px;
	padding: 5px 15px;	
}
.tooth_fairy_button_small:before,
form input[type="button"].tooth_fairy_button_small:before,
form input[type="submit"].tooth_fairy_button_small:before,
.tooth_fairy_button_small:after,
form input[type="button"].tooth_fairy_button_small:after,
form input[type="submit"].tooth_fairy_button_small:after {
	font-size: 1em;
}
.tooth_fairy_button_accent,
a.tooth_fairy_button.tooth_fairy_button_accent,
form input[type="button"].tooth_fairy_button_accent,
form input[type="submit"].tooth_fairy_button_accent {
	background-color: $accent_color;
	border-color: $accent_bd_color;
	color: #fff;
}
.tooth_fairy_button_accent:focus,
a.tooth_fairy_button.tooth_fairy_button_accent:focus,
form input[type="button"].tooth_fairy_button:focus,
form input[type="submit"].tooth_fairy_button:focus,
.tooth_fairy_button_accent:hover,
a.tooth_fairy_button.tooth_fairy_button_accent:hover,
form input[type="button"].tooth_fairy_button:hover,
form input[type="submit"].tooth_fairy_button:hover {
	background-color: $accent_hover;
	border-color: $accent_bd_hover;
	color: #fff;
}
@media (max-width: 1023px) {
	.tooth_fairy_button,
	form input[type="button"].tooth_fairy_button,
	form input[type="submit"].tooth_fairy_button {
		font-size: 13px;
		line-height: 20px;
		padding: 8px 20px;
	}	
	.tooth_fairy_button_small,
	form input[type="button"].tooth_fairy_button_small,
	form input[type="submit"].tooth_fairy_button_small {
		font-size: 12px;
		line-height: 18px;
		padding: 4px 10px;	
	}
}


/* Single and Range Slider */
.tooth_fairy_range_slider {
	font-family:inherit;
	font-size:1em;
	line-height:inherit;
	margin-top: 7px;
	margin-bottom: 20px;
	border: none !important;
}
.tooth_fairy_range_slider_value {
	display:inline-block;
	vertical-align:top;
	width: 58px !important;
	margin-right: 10px !important;
	text-align:right;
}
input[type="number"].tooth_fairy_range_slider_value {
	padding-right: 0;
}
.tooth_fairy_range_slider_units {
	display: inline-block;
	vertical-align: top;
	margin-top: 7px;
	margin-left: -8px;
	width: 24px;
	@include border-box;
}
.tooth_fairy_range_slider_value + .tooth_fairy_range_slider {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 72px);
}
.tooth_fairy_range_slider_units + .tooth_fairy_range_slider {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 92px);
}
.tooth_fairy_range_slider_value[data-type="range"] {
	width: 80px !important;
}
.tooth_fairy_range_slider_value + .tooth_fairy_range_slider[data-range="true"] {
	width: calc(100% - 102px);
}
.tooth_fairy_range_slider_units + .tooth_fairy_range_slider[data-range="true"] {
	width: calc(100% - 122px);
}
.tooth_fairy_range_slider_label {
	@include font(12px, 1em);
	position: absolute;
	z-index:1;
	top: 12px;
}
.tooth_fairy_range_slider_label_min {
	left: 0;
	color: $text_light;
}
.tooth_fairy_range_slider_label_avg {
	display: none;
	left: 50%;
	color: $text_light;
	@include translateX(-50%);
}
.tooth_fairy_range_slider_label_max {
	right: 0;
	color: $text_light;
}
.tooth_fairy_range_slider_label_cur {
	color: $text_color;
	left: 0;
	bottom: auto;
	top: -2em;
	@include translateX(-50%);
}
.tooth_fairy_range_slider_value ~ .tooth_fairy_range_slider .tooth_fairy_range_slider_label_cur {
	display: none;
}
div.tooth_fairy_range_slider.ui-slider {
	position:relative;
	text-align:left;
	background: $icons_border_color;
	border: none;
	@include border-radius(2px);
}
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle {
	position:absolute;
	z-index:2;
	@include square(16px);
	@include border-round;
	@include border-box;
	@include box-shadow(none);
	cursor:default;
	-ms-touch-action:none;
	touch-action:none;
	border: none;
	background: $accent_color;
}
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle:hover,
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle:focus,
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle.ui-state-active {
	outline: 0;
	@include square(18px);
	top: -7px;
	margin-left: -7px;
}
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle:hover:after,
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle:focus:after,
div.tooth_fairy_range_slider.ui-slider .ui-slider-handle.ui-state-active:after {
	display: none;
	content: ' ';
	@include abs-lt(-4px, -4px);
	pointer-events: none;
	@include square(22px);
	@include border-round;
	@include border-box;
	//border: 1px solid $field_outline_color;
	background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 8px, white 8px, white 10px, $field_outline_color 11px); /* FF3.6-15 */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 8px, white 8px, white 10px, $field_outline_color 11px); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 8px, white 8px, white 10px, $field_outline_color 11px); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
div.tooth_fairy_range_slider.ui-slider .ui-slider-range {
	position:absolute;
	z-index:1;
	display:block;
	border:0;
	background-position:0 0;
	background: $accent_color;
	@include border-radius(2px);
}
div.tooth_fairy_range_slider.ui-slider.ui-state-disabled .ui-slider-handle,
div.tooth_fairy_range_slider.ui-slider.ui-state-disabled .ui-slider-range {
	filter:inherit
}

div.tooth_fairy_range_slider.ui-slider-horizontal {
	height:4px
}
div.tooth_fairy_range_slider.ui-slider-horizontal .ui-slider-handle {	//div.tooth_fairy_range_slider.ui-slider-horizontal:not(.elementor-slider)
	top:-6px;
	margin-left:-6px;
}
div.tooth_fairy_range_slider.ui-slider-horizontal .ui-slider-range {
	top:0;
	height:100%;
}
div.tooth_fairy_range_slider.ui-slider-horizontal .ui-slider-range-min {
	left:0;
}
div.tooth_fairy_range_slider.ui-slider-horizontal .ui-slider-range-max {
	right:0;
}
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale {
	display: none;
	@include abs-lt(0, 5px);
	@include box(100%, 8px);
}
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span {
	display: block;
	width: 1px;
	height: 50%;
	background-color: $field_border_light;
	@include abs-lt;
}
@for $i from 1 through 11 {
	div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span:nth-child(#{$i}) {
		left: ( $i - 1 ) * 10%;
	}
}
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span:nth-child(1),
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span:nth-child(6),
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span:nth-child(11) {
	height: 100%;
}
div.tooth_fairy_range_slider.ui-slider-horizontal .tooth_fairy_range_slider_scale > span:nth-child(11) {
	left: auto;
	right: 0;
}

div.tooth_fairy_range_slider.ui-slider-vertical {
	@include box(10px, 100px);
}
div.tooth_fairy_range_slider.ui-slider-vertical .ui-slider-handle {
	left:-5px;
	margin-left:0;
	margin-bottom:-8px;
}
div.tooth_fairy_range_slider.ui-slider-vertical .ui-slider-range {
	left:0;
	width:100%;
}
div.tooth_fairy_range_slider.ui-slider-vertical .ui-slider-range-min {
	bottom:0;
}
div.tooth_fairy_range_slider.ui-slider-vertical .ui-slider-range-max {
	top:0;
}


/* Icons selector */
.tooth_fairy_list_icons_selector {
	display:inline-block;
	font-size: 18px;
	@include square(36px);
	@include border-radius(2px);
	border: 1px solid $field_border_light;
	background-size: 24px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
	margin-top: -3px;
}
.tooth_fairy_list_icons_selector:not([class*="icon-"]):not([class*="image-"]):before,
.tooth_fairy_list_icons span.none:before {
	content: '\e8ad';
	font-family: $theme_icons;
	color: #ced3d8;
	line-height: inherit !important;
}
.tooth_fairy_list_icons_selector[class*="icon-"]:before {
	color: $icons_border_hover;
}
.tooth_fairy_list_icons_selector:hover {
	background-color:#edeff0;
}
.tooth_fairy_list_icons_selector:focus {
	outline: 0;
	border: 1px solid $accent_color;
	@include box-shadow(0 0 0 1px $accent_color);
}
input[type="text"] + .tooth_fairy_list_icons_selector {
	font-size: 14px;
	font-style: normal;
	@include square(26px);
	@include abs-rb(1px, 1px, 2);
	@include border-box;
	@include border-sharp;
	background-size: 18px;
	border: none;
	border-left: 1px solid $field_border_light;
}

.tooth_fairy_list_icons {
	display:none;
	position:absolute;
	z-index:1000;
	width: 400px;
	max-width: 100%;
	@include border-box;
	padding:12px;
	background-color: #fff;
	border: 1px solid $field_border_light;
	max-width:100%;
	@include box-shadow(0 3px 20px rgba(0,0,0,0.07));
}
.tooth_fairy_list_icons:before {
	content: ' ';
	display: block;
	@include square(8px);
	border: 1px solid $field_border_light;
	border-top-color: transparent;
	border-right-color: transparent;
	background-color: #fff;
	@include abs-lt(15px, -6px);
	@include rotate(135deg);
}
.tooth_fairy_list_icons_wrap {
	width: 100%;
	overflow-x: hidden;
	overflow-y: visible;
}
.tooth_fairy_list_icons_inner {
	height: 270px;
	margin-right: -17px;
	overflow-x:hidden;
	overflow-y:scroll;
}
.tooth_fairy_list_icons input[type="text"].tooth_fairy_list_icons_search {
	display: block;
	font-size: 13px;
	width: 100% !important;
	height: auto;
	padding: 9px;
	margin-bottom:12px;
	border-color: $field_border_light;
}
.tooth_fairy_list_icons input[type="text"].tooth_fairy_list_icons_search:focus {
	border-color: $accent_color;
}
.tooth_fairy_list_icons span {
	display:inline-block;
	vertical-align:top;
	font-size: 18px;
	@include square(44px);
	margin: 0 1px 1px 0;
	border: 1px solid transparent;
	color: $icons_border_hover;
	background-color:#fff;
	background-size: 24px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
	@include border-radius(2px);
	@include border-box;
}
.tooth_fairy_list_icons span:focus {
	outline: none;
	border-color: $field_outline_color;
}
.tooth_fairy_list_icons span:before,
.tooth_fairy_list_icons_selector:before {
	margin:0 !important;
	vertical-align: top !important;
}
.tooth_fairy_list_icons span:hover,
.tooth_fairy_list_icons span.tooth_fairy_list_active {
	background-color:#f4f6f6;
}
.tooth_fairy_list_icons span.tooth_fairy_list_hidden {
	display: none;
}

.tooth_fairy_options_item_icon .tooth_fairy_list_icons_selector {
	right: 0;
}


/* Menu icons */
.menu-item-settings .description-thin {
	position:relative;
}
.menu-item-settings .field-css-classes {
	width: 97%;

	input.edit-menu-item-classes {
		padding-right: 2em;
	}
}
.menu-item-settings .tooth_fairy_list_icons_selector {
	top: auto;
	bottom: 2px;
	@include transform-none;
	background-color:#fff;
}


/* Checklist */
.tooth_fairy_checklist {
	max-height:21em;
	overflow-x: hidden;
	overflow-y: auto;
}
.tooth_fairy_checklist .tooth_fairy_checklist_item_label {
	display:block;
	width: 100%;
	@include border-box;
	@include transition-property(background-color);
}
.tooth_fairy_checklist .tooth_fairy_checklist_item_label:hover {
	background-color: #f5f7f7;
}
.tooth_fairy_checklist_horizontal .tooth_fairy_checklist_item_label {
	display:inline-block;
	vertical-align:top;
	width: 33.3333%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 1em;
	@include border-box;
}
.tooth_fairy_checklist .tooth_fairy_checklist_item_label img {
	display:inline-block;
	vertical-align:middle;
	@include box(auto, 2.5em);
}
.tooth_fairy_checklist.tooth_fairy_sortable .tooth_fairy_checklist_item_label {
	padding: 6px 2.5em 6px 6px;
	border: none;
	position: relative;
}
.tooth_fairy_checklist.tooth_fairy_sortable .tooth_fairy_checklist_item_label + .tooth_fairy_checklist_item_label {
	border-top: 1px solid $field_border_light;
}
.tooth_fairy_checklist.tooth_fairy_sortable .tooth_fairy_checklist_item_label:after {
	content: '\e8ba';
	font-family: $theme_icons;
	font-size: 19px;
	color: $icons_border_color;
	display: block;
	@include square(16px);
	@include abs-rc(12px);
	@include transition-property(color);
}
.tooth_fairy_checklist.tooth_fairy_sortable .tooth_fairy_checklist_item_label:hover:after {
	color: $icons_border_hover;
}



/* Theme Options & Meta boxes
-----------------------------------------------------------------*/
.edit-post-meta-boxes-area #poststuff h2.hndle,
.interface-interface-skeleton__sidebar #eg-meta-box .postbox-header {
	border-bottom: none;
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] .inside,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box .inside {
	border-bottom: none;
}
.edit-post-meta-boxes-area #poststuff .postbox,
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"],
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box,
.edit-post-meta-boxes-area #poststuff #secondary_image {
	margin-top: 2em;
	@include box-shadow(none);
}
.edit-post-meta-boxes-area #poststuff #secondary_image .inside {
	margin: 13px 0 0 0;
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] > h2,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > h2 {
	background-color: transparent !important;
	color: $field_text_color !important;
	border: 2px solid $field_border_light;
	@include border-radius(4px);
	font-size: 18px;
	margin-bottom: 1em;
	@include transition-properties(color,border-color,background-color);
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] > h2:hover,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > h2:hover {
	border-color: #ced3d9;
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] .tooth_fairy_tabs > ul.ui-tabs-nav > li,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box .trx_addons_tabs > ul.ui-tabs-nav > li {
	background: #f3f4f4;
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] .tooth_fairy_tabs > ul.ui-tabs-nav > li:hover,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box .trx_addons_tabs > ul.ui-tabs-nav > li:hover {
	background: #e7e8e8;
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] > .hndle > span:before,
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] > h2 > span:before,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > .hndle > span:before,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > h2 > span:before {
	content: '\e961';
	font-family: $theme_icons;
	display: inline-block;
	vertical-align: top;
	margin: -2px 0.5em 0 0;
	font-style: normal;
	font-size: 1.15em;
	padding: 0;
	color: $accent_color;
}
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > .hndle > span:before,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > h2 > span:before {
	content: '\e984';
}
.edit-post-meta-boxes-area #poststuff [id^="tooth_fairy_override_options_"] > button,
.edit-post-meta-boxes-area #poststuff #trx_addons_meta_box > button {
	position: relative;
	z-index: 1;
	margin-top: 0.5em;
}
.edit-post-meta-boxes-area #poststuff #eg-meta-box h2 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tooth_fairy_hidden {
	display: none;
}


/* Header: Title and Buttons
-----------------------------------------------------------------*/

.tooth_fairy_options {
	font-size: 13px;
}
.tooth_fairy_options_header {
	overflow: hidden;
	margin: 1em 20px 0 0;
	padding: 1em 0;
	@include sticky-top(32px, 1000);
}
@media (min-width: 601px) {
	.tooth_fairy_options_header.sticky {
		background-color: #fff;
		border-bottom: solid 1px $border_color;
		@include box-shadow(0px 10px 20px -10px rgba(0, 0, 0, 0.12));
		padding: 1em 1.5em;
		margin: 0 0 0 -20px;
	}
}

.tooth_fairy_options_title {
	@include font(20px, 1.5em, 500);
	margin: 0;
	float: left;
}

.tooth_fairy_options .tooth_fairy_options_button {
	display: inline-block;
	vertical-align: top;
	border: 1px solid #dedede;
	border-bottom-width: 2px;
	background-color: #f7f7f7;
	color: $button_text_color;
	padding: 8px 14px;
	text-decoration: none;
	white-space: nowrap;
	@include border-radius(4px);
	@include transition-properties(background-color, border-color, color);
}
.tooth_fairy_options .tooth_fairy_options_button:focus {
	color: $button_text_color;
	outline: none;
	box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
}
.tooth_fairy_options .tooth_fairy_options_button:before {
	font-family: $theme_icons;
	display: inline-block;
	vertical-align: middle;
	margin: -1px 0.3em 0 0;
	font-size: 1.2em;
	line-height: 0;
	color: $button_text_color;
}
.tooth_fairy_options .tooth_fairy_options_button:hover {
	color: #333;
	border-color: #ccc;
	background-color: #ececec;
}
.tooth_fairy_options .tooth_fairy_options_button:hover:before {
	color: #333;
}
.tooth_fairy_options .tooth_fairy_options_button_accent {
	border-color: $accent_bd_color;
	background-color: $accent_color;
	color:#fff;
}
.tooth_fairy_options .tooth_fairy_options_button_accent:focus {
	color: #fff;
}
.tooth_fairy_options .tooth_fairy_options_button_accent:before,
.tooth_fairy_options .tooth_fairy_options_button_accent:hover:before {
	color: #fff;
}
.tooth_fairy_options .tooth_fairy_options_button_accent:hover {
	border-color: $accent_bd_hover;
	background-color: $accent_hover;
	color:#fff;
}

.tooth_fairy_options_buttons {
	float: right;
	text-align: right;
}
.tooth_fairy_options_buttons .tooth_fairy_options_button_reset:before {
	content: '\e80e';
}
.tooth_fairy_options_buttons .tooth_fairy_options_button_export:before {
	content: '\e95a';
}
.tooth_fairy_options_buttons .tooth_fairy_options_button_import:before {
	content: '\e959';
}

@media (max-width: 783px) {
	.tooth_fairy_options_header {
		top: 46px;
	}
	.tooth_fairy_options_buttons a {
		font-size: 12px;
		padding: 6px 8px;
	}
	.tooth_fairy_options_buttons a:before {
		display: none;
	}
}

@media (max-width: 600px) {
	.tooth_fairy_options_header {
		top: 0px;
		position: static;
	}
	.tooth_fairy_options_title,
	.tooth_fairy_options_buttons {
		float: none;
		text-align: left;
	}
	.tooth_fairy_options_buttons {
		margin: 0.75em 0;
	}
	.tooth_fairy_options_buttons a {
		margin-bottom: 0.5em;
	}
}


/* Tabs
-----------------------------------------------------------------*/
div.tooth_fairy_tabs {
	border: none !important;
	background: none !important;
	font-size: 1.069em !important;
	padding:  0 !important;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav {
	position:relative;
	z-index:1;
	background: none;
	border: none;
	padding: 0;
	margin:0;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li {
	position: static;
	display:inline-block;
	margin:0;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border:1px solid $tab_border_color;
	border-bottom:none;
	background-image: none;
	background: $tab_background_color;
	@include border-box;
	@include transition-property(background-color);
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li:hover {
	background-image: none;
	background: $tab_background_hover;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li + li {
	margin-left: -1px;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a.ui-tabs-anchor {
	display:block;
	padding: 15px;
	text-decoration:none;
	@include box-shadow(none !important);
	@include border-box;
	float: none !important;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li.ui-state-active {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-top: 3px solid $accent_color;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li.ui-state-active > a.ui-tabs-anchor {
	position:relative;
	top: 1px;
	background-color:$tab_background_active;
	color: $tab_text_color;
	padding-top: 13px;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a {
	color: $tab_text_color;
	font-weight: 600;
	@include transition-properties(color,background-color);
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"],
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="icon-"] {
	display: inline-block;
	vertical-align: middle;
	font-size: 1.5em;
	font-style: normal;
	line-height: 0.67em;
	margin: 0 0.5em 0 0;
	color: $tab_icon_color;
}

div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"]:before,
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="icon-"]:before {
	display: inline-block;
	vertical-align: top;
	@include square(1em);
	line-height: 1em !important;
	margin: 0;
}
div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"]:before {
	font-family: "dashicons";	
}

div.tooth_fairy_tabs .tooth_fairy_tabs_section {
	@include border-box;
	padding: 3.5em;
	border:1px solid $tab_border_color;
	background-color:#fff;
}
div.tooth_fairy_tabs_section + .tooth_fairy_tabs_section {
	display:none;
}

/* Tabs in meta boxes */
.edit-post-meta-boxes-area .postbox > .inside .tooth_fairy_tabs {
	margin: 0 -14px;
}

/* Tabs vertical: use media (min-width: 320px) to enable its on any screen */
@media (min-width: 320px) {
	div.tooth_fairy_tabs_vertical {
		@include flex;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav {
		width: 190px;
		@include flex-shrink(0);
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li {
		display:block;
		width: 100%;
		float: none;
		border-bottom:1px solid $tab_border_color !important;
		border-right:none;
		@include border-sharp;
		@include border-box;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li + li {
		margin: 0;
		border-top: 0;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li > a.ui-tabs-anchor {
		display:block;
		width: 100%;
		padding: 13px;
		text-overflow: ellipsis;
		overflow: hidden;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.ui-state-active {
		border-left: 3px solid $accent_color;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.ui-state-active:first-child {
		border-top:1px solid $tab_border_color;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li + li.ui-state-active {
		border-top: none;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.ui-state-active > a.ui-tabs-anchor {
		top: auto;
		left: 1px;
		padding-top: 13px;
		padding-left: 10px;
	}
	div.tooth_fairy_tabs_vertical .tooth_fairy_tabs_section {
		width: calc(100% - 210px);
		min-height: 33vh;
		@include flex-shrink(0);
	}
	
	/* Subtabs */
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_super {
		position: relative;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_super > a.ui-tabs-anchor {
		padding-right: 2em;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_super:after {
		content: '\e859';
		font-family: $trx_addons_icons;
		font-size: 10px;
		font-weight: 600;
		@include abs-rc(12px);
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_super.ui-state-active:after {
		content: '\e857';
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub {
		display: none;
		background: $subtab_background_color;
		border-bottom: none !important;
		height: auto !important;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub > a.ui-tabs-anchor {
		color: $subtab_text_color;

		& > i[class*="icon-"] {
			font-size: 1em;
			margin-top: -2px;
		}
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub > a.ui-tabs-anchor,
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub.ui-state-active > a.ui-tabs-anchor {
		top: auto;
		left: auto;
		padding: 0.6em 0.6em 0.6em 2.95em;
		font-weight: normal;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_super + li.tooth_fairy_tabs_title_sub > a.ui-tabs-anchor {
		padding-top: 1.2em;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub_last > a.ui-tabs-anchor,
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub_last.ui-state-active > a.ui-tabs-anchor {
		padding-bottom: 1.2em;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub.ui-state-active {
		border-left: 1px solid $tab_border_color !important;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub.ui-state-active > a.ui-tabs-anchor {
		background-color:$subtab_background_active;
		color: $subtab_text_active;
		font-weight: 600;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub:hover {
		display: none;
		background: $subtab_background_hover;
	}

	/* Vertical tabs in meta boxes */
	.edit-post-meta-boxes-area .postbox > .inside div.tooth_fairy_tabs_vertical .tooth_fairy_tabs_section {
		width: calc(100% - 190px);
		padding: 0.5em 2em;
	}
}

@media (min-width: 320px) and (max-width: 767px) {
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav {
		width: 120px;
		font-size: 12px;
	}
	div.tooth_fairy_tabs_vertical .tooth_fairy_tabs_section {
		width: calc(100% - 130px);
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li > a.ui-tabs-anchor {
		padding: 8px;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.ui-state-active > a.ui-tabs-anchor {
		padding-top: 8px;
		padding-left: 5px;
	}
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub > a.ui-tabs-anchor,
	div.tooth_fairy_tabs_vertical > ul.ui-tabs-nav > li.tooth_fairy_tabs_title_sub.ui-state-active > a.ui-tabs-anchor {
		padding-left: 1.3em;
	}	
	div.tooth_fairy_tabs .tooth_fairy_tabs_section {
		padding: 1.5em;
	}
	div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"],
	div.tooth_fairy_tabs > ul.ui-tabs-nav > li > a > i[class*="icon-"] {
		font-size: 1em;
	}
}

/* Tabs inside other tabs */
div.ui-tabs div.ui-tabs > div.ui-tabs-panel {
	background-color: #fafafa;
}
div.ui-tabs div.ui-tabs > ul.ui-tabs-nav > li.ui-state-active > a.ui-tabs-anchor {
	background-color:#fafafa;
}

/* Accordion groups */
div.tooth_fairy_accordion {
	padding:0 !important;
}
div.tooth_fairy_accordion + .tooth_fairy_accordion,
.tooth_fairy_options_item + .tooth_fairy_options_batch {
	padding:1.5em 0 !important;
}
div.tooth_fairy_accordion_title,
div.ui-accordion .tooth_fairy_accordion_title.ui-accordion-header {
	padding:0.8em 1em;
	color: #fff;
	background: #bbb;
	margin:0;
	margin-top:1px;
	cursor:pointer;
	@include border-sharp;
}
div.ui-accordion .tooth_fairy_accordion_title.ui-accordion-header.ui-state-active {
	background:#888;
}
div.ui-accordion .tooth_fairy_accordion_title.ui-accordion-header .ui-icon {
	display:inline-block;
	vertical-align:top;
	text-indent:0;
	margin-right:0.8em;
}
div.ui-accordion .tooth_fairy_accordion_title.ui-accordion-header .ui-icon:before {
	content:'\e929';
	font-family: 'fontello';
}
div.tooth_fairy_accordion_title.ui-accordion-header.ui-state-active .ui-icon:before {
	content:'\e92c';
}
div.ui-accordion .tooth_fairy_accordion_content {
	border:1px solid $field_delimiter_color;
	padding: 1em 2em;
}

/* Field set */
.tooth_fairy_options_group {
	position: relative;
	padding: 1.5em 0 0.5em;
}
.tooth_fairy_options_group_title {
	margin: 0.5em 0;
	font-size: 1.15em;
	position: relative;
}
.tooth_fairy_options_group_description {
	color: $field_description_color;
	margin: 0 0 0.5em;
}
.tooth_fairy_options_group_fields {
	position: relative;
}
.tooth_fairy_options_group_title + .tooth_fairy_options_group_fields,
.tooth_fairy_options_group_description + .tooth_fairy_options_group_fields {
	margin-top: 2em;
}
.tooth_fairy_options_fields_set {
	border-top: 1px dotted #ddd;
	padding: 0.5em 0;
	margin-top: 0.5em;
}
.tooth_fairy_options_clone {
	position:relative;
	padding-left: 4em;
	padding-right: 10em;
}
.tooth_fairy_options_clone_control {
	@include abs-lt(0, 4em, 1);
	@include square(38px);
	@include border-radius(3px);
	@include border-box;
	border: 1px solid $icons_border_color;
	cursor: pointer;
	background-color:#fff;
	background-position:center;
	background-repeat:no-repeat;
	background-size:16px 16px;
	text-align: center;
	color: $icons_border_color;
	@include transition-properties(color, border-color,background-color);
}
.tooth_fairy_options_clone_control:hover {
	color: $icons_border_hover;
	border-color: $icons_border_hover;
}
.tooth_fairy_options_clone_control:focus {
	outline: 0;
	border-color: $accent_color;
	@include box-shadow(0 0 0 1px $accent_color);
}
.tooth_fairy_options_clone_control [class*="icon-"]:before {
	font-family: $theme_icons;
	font-size: 19px;
	vertical-align: top;
}
.tooth_fairy_options_clone_control_move {
	cursor: grab;
	border-color: transparent !important;
	background-color: transparent !important;
}
.tooth_fairy_options_clone.ui-sortable-helper .tooth_fairy_options_clone_control_move {
	cursor: grabbing;
}
.tooth_fairy_options_clone_control_add {
	left: auto;
	right: 54px;
	color: $icons_border_hover;
}
.tooth_fairy_options_clone_control_delete {
	left: auto;
	right: 0;
	color: $icons_border_hover;
}
.tooth_fairy_options_clone_placeholder {
	background-color:#ecfbff;
	border: 2px dashed #87c9e1;
}
.tooth_fairy_options_clone.ui-sortable-helper {
	background-color:#ffffff;
	@include box-shadow(0 0 15px 0 rgba(0, 0, 0, 0.1));
}
.tooth_fairy_options_clone_buttons {
	text-align: center;
	margin: 1em 0 2em;
}

/* Sortable fields */
.tooth_fairy_sortable .tooth_fairy_sortable_item {
	padding:0.5em 1em;
	border: 1px dotted $field_delimiter_color;
	cursor: grab;
}
.tooth_fairy_sortable .tooth_fairy_sortable_placeholder {
	background-color:#ecfbff;
	border: 2px dashed #87c9e1 !important;
	min-height: 3em;
}
.tooth_fairy_sortable .tooth_fairy_sortable_item.ui-sortable-helper {
	background-color:#ffffff;
	@include box-shadow(0 0 15px 0 rgba(0, 0, 0, 0.1));
	cursor: grabbing;
}

@media (max-width: 782px) {
	#wpbody .tooth_fairy_options select {
		font-size: 1em;
		line-height: 1.7em;
		height: 31px;
	}
}

/* Theme Options info */
.tooth_fairy_options_info {
	margin: 0 20px 20px 0;
}
.tooth_fairy_options_asterisk {
	position: relative;
	top: -0.5em;
	display: inline-block;
	vertical-align: baseline;
	font-size: 0.75em;
	font-weight: normal;
	line-height: 1.25em;
}
.tooth_fairy_options_asterisk:before {
	content: '\2732';
	color: #9099a2;
	display: inline-block;
	vertical-align: top;
	border-bottom: 1px dotted #9099a2;
}

/* Responsive options */
$bp_size: 1.75em;
.tooth_fairy_options_item_responsive {
	.tooth_fairy_options_item_title {
		@include inline-flex;
		@include flex-align-items(center);
	}
	.tooth_fairy_options_responsive_buttons {
		margin: 0 0 0 0.5em;
		white-space: nowrap;
		@include square($bp_size);
		overflow: hidden;
		display: inline-block;
		vertical-align: top;

		&.opened {
			overflow: visible;

			.tooth_fairy_options_responsive_buttons_wrap {
				z-index: 2;
				background-color: #fff;
				@include box-shadow(0 0 5px 0 rgba(0, 0, 0, 0.1));
			}
		}
	}
	.tooth_fairy_options_responsive_buttons_wrap {
		@include inline-flex;
		@include flex-direction(column);
		@include flex-justify-content(flex-start);
		@include flex-align-items(flex-start);
		position: relative;
		z-index: 1;
	}
	// @media (max-width: 1023px) {
	// 	.tooth_fairy_options_responsive_buttons {
	// 		display: block;
	// 		margin: 0.3em 0 0 0;
	// 	}
	// }
	[class*="tooth_fairy_options_responsive_button_"] {
		text-decoration: none;
		color: inherit;
		// margin-right: 1px;
		@include square($bp_size);
		text-align: center;

		&:before {
			margin:0;
		}
		&:focus {
			outline: 1px dotted #333;
			@include box-shadow(none);
		}
	}
	[name^="tooth_fairy_options_field_"][data-responsive] {
		display: none;
	}
	@each $bp in $responsive_breakpoints {
		$i: index($responsive_breakpoints, $bp) - 1;
		.tooth_fairy_options[data-responsive="#{$bp}"] & {
			.tooth_fairy_options_responsive_buttons_wrap {
				top: -$i * $bp_size;
			}
			.tooth_fairy_options_responsive_buttons.opened .tooth_fairy_options_responsive_button_#{$bp} {
				color: $accent_color;
			}
			[name^="tooth_fairy_options_field_"][data-responsive="#{$bp}"] {
				display: block;
			}
		}
	}
}

/* Columns */
[class*="tooth_fairy_column-"] {
	display:inline-block;
	vertical-align:top;
	padding-right: 20px;
	@include border-box;
}
.tooth_fairy_column-1_2 { width: 50%; }
.tooth_fairy_column-1_3 { width: 33.3333%; }
.tooth_fairy_column-2_3 { width: 66.6667%; }
.tooth_fairy_column-1_4 { width: 25%; }
.tooth_fairy_column-2_4 { width: 50%; }
.tooth_fairy_column-3_4 { width: 75%; }
.tooth_fairy_column-1_5 { width: 20%; }
.tooth_fairy_column-2_5 { width: 40%; }
.tooth_fairy_column-3_5 { width: 60%; }
.tooth_fairy_column-4_5 { width: 80%; }
@media (max-width: 1279px) {
	.tooth_fairy_column-1_4,
	.tooth_fairy_column-3_4,
	.tooth_fairy_column-1_5,
	.tooth_fairy_column-2_5,
	.tooth_fairy_column-3_5,
	.tooth_fairy_column-4_5 { width: 50%; }
}
@media (max-width: 1023px) {
	.tooth_fairy_options_item[class*="column-"],
	.tooth_fairy_column-1_2,
	.tooth_fairy_column-1_3,
	.tooth_fairy_column-2_3,
	.tooth_fairy_column-1_4,
	.tooth_fairy_column-2_4,
	.tooth_fairy_column-3_4,
	.tooth_fairy_column-1_5,
	.tooth_fairy_column-2_5,
	.tooth_fairy_column-3_5,
	.tooth_fairy_column-4_5 {
		width: 100%;
		padding-right: 0 !important;
	}
}
[class*="tooth_fairy_column-"] .tooth_fairy_options_item_title {
	display:block;
	text-align: left;
	float: none;
	width: auto;
	height: 1.7em;
	overflow: hidden;
	padding-right: 0;
	margin-right: 0;
	white-space: nowrap;
	text-overflow: ellipsis;
}
[class*="tooth_fairy_column-"] .tooth_fairy_options_item_data {
	text-align: left;
	float: none;
	width: auto;
	min-width: 0;
	max-width: none;
	display:block;
}
.tooth_fairy_options_item[class*="tooth_fairy_column-"] {
	border-width:0 !important;
}


/* Single option: Common rules */
.tooth_fairy_options_item {
	padding: 1.65em 0 2em;
}
.tooth_fairy_options_item_compact {
	padding: 0.25em 0;
}
.tooth_fairy_options_item_info + .tooth_fairy_options_item_compact {
	padding-top: 1.65em;
}
.tooth_fairy_options_item[class*="column-"] {
	padding: 1.25em 2em 1.25em 0;
}
input[type="hidden"][name^="tooth_fairy_options_field_"] + .tooth_fairy_options_item:not(.tooth_fairy_options_item_info):not(.tooth_fairy_options_item_compact),
.tooth_fairy_options_item:not(.tooth_fairy_options_item_info):not(.tooth_fairy_options_item_compact) + .tooth_fairy_options_item:not(.tooth_fairy_options_item_info):not(.tooth_fairy_options_item_compact) {
	border-top: 1px solid $field_delimiter_color;
}
.tooth_fairy_options_item:after {
	content: ' ';
}
.tooth_fairy_new_row_before,
.tooth_fairy_options_item:after {
	display:block;
	@include box(100%, 0);
	clear: both;
}
.tooth_fairy_options_item_title {
	display: inline-block;
	vertical-align:top;
	margin:0.4em 0.5em 0.5em 0;
	width: 240px;
	padding-right:30px;
	position: relative;
	@include font(1em, 1.35em);
	color: $field_label_color;
}
.tooth_fairy_options_item_title_override {
	cursor: help;
}
.tooth_fairy_options_item_data {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 250px);
	min-width:248px;
	max-width:700px;
}
.tooth_fairy_options_item_text_editor .tooth_fairy_options_item_data {
	max-width: 800px;
}
.tooth_fairy_options_item_text_editor iframe {
	min-height: 200px;
}
.tooth_fairy_options_item_field {
	position:relative;
	max-width: 42%;
}
.tooth_fairy_options_item_slider .tooth_fairy_options_item_field {
	max-width: 60%;
}
.tooth_fairy_options_item_map .tooth_fairy_options_item_field,
.tooth_fairy_options_item_media .tooth_fairy_options_item_field,
.tooth_fairy_options_item_audio .tooth_fairy_options_item_field,
.tooth_fairy_options_item_video .tooth_fairy_options_item_field,
.tooth_fairy_options_item_image .tooth_fairy_options_item_field,
.tooth_fairy_options_item_icon .tooth_fairy_options_item_field,
.tooth_fairy_options_item_choice .tooth_fairy_options_item_field,
.tooth_fairy_options_item_radio .tooth_fairy_options_item_field,
.tooth_fairy_options_item_textarea .tooth_fairy_options_item_field,
.tooth_fairy_options_item_text_editor .tooth_fairy_options_item_field,
.tooth_fairy_options_item_presets .tooth_fairy_options_item_field,
.tooth_fairy_options_item_checklist .tooth_fairy_options_item_field_horizontal {
	max-width: 100%;
}
@media (max-width: 1279px) {
	.tooth_fairy_options_item_field,
	.tooth_fairy_options_item_slider .tooth_fairy_options_item_field {
		max-width: 100%;
	}	
}
@media (max-width: 1023px) {
	.tooth_fairy_options_item_title {
		width: 190px;
	}
	.tooth_fairy_options_item_data {
		width: calc(100% - 230px);
	}
}
@media (max-width: 767px) {
	.tooth_fairy_options_item_title,
	.tooth_fairy_options_item_data {
		width: 100%;
		margin-right: 0;
		padding-right: 0;
		display: block;
	}
}
[class*="tooth_fairy_column-"] .tooth_fairy_options_item_field {
	max-width: none !important;
}

#side-sortables {
	.tooth_fairy_tabs_vertical .tooth_fairy_tabs_section {
		width: 100%;
	}
	.tooth_fairy_options_item_title {
		float: none;
		text-align: left;
	}
	.tooth_fairy_options_item_data {
		float: none;
		width: 100%;
		min-width: 0;
		padding-left: 0;
	}
	.tooth_fairy_options_item_field {
		max-width: none;
	}
	.tooth_fairy_options_item {
		padding: 1em 0;
	}
}

.tooth_fairy_options_item_description {
	@include font(1em, 1.35em, normal, italic);
	margin-top: 0.5em;
	color: $field_description_color;
}
.tooth_fairy_options_item * {
	-webkit-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
}
.tooth_fairy_options_item {
	textarea, input {
		padding: 2px 8px 4px;
		margin: 0;
	}
	select {
		padding: 2px 26px 4px 8px;
		margin: 0;
		text-overflow: ellipsis;
	}
	input[type="text"],
	input[type="password"],
	input[type="date"],
	input[type="datetime"],
	input[type="month"],
	input[type="week"],
	input[type="number"],
	input[type="search"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	textarea,
	select,
	.select2-container {
		width: 100%;
		height: 31px;
		line-height: 25px;
		border: 1px solid $field_border_color;
		box-shadow: none;
		background-color: #fff;
		color: $field_text_color;
		outline: none;
		@include border-radius(4px);
		@include border-box;
	}
	textarea {
		height: 9em;
	}
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="date"]:focus,
	input[type="datetime"]:focus,
	input[type="month"]:focus,
	input[type="week"]:focus,
	input[type="number"]:focus,
	input[type="search"]:focus,
	input[type="email"]:focus,
	input[type="tel"]:focus,
	input[type="url"]:focus,
	textarea:focus,
	select:focus,
	.select2-container:focus {
		outline: none;
		border-color: $accent-color;
		@include box-shadow(0 0 0 1px $accent-color);
	}
}

/* Info block */
.tooth_fairy_options_item_info {
	padding: 0 0 2.1em;
	border-bottom: 1px solid $field_delimiter_color;
	position: relative;
}
.tooth_fairy_options_item_info:not(:first-child) {
	padding-top: 4.75em;
}
.tooth_fairy_options_item_info .tooth_fairy_options_item_title,
.tooth_fairy_options_item_info .tooth_fairy_options_item_data {
	float:none;
	width: 100%;
}
.tooth_fairy_options_item_info .tooth_fairy_options_item_title {
	text-align: left;
	margin: 0;
	@include font(20px, 1.5em, 600);
}
.tooth_fairy_options_item_info .tooth_fairy_options_item_description {
	color: $field_description_color;
	font-size: 1em;
	font-style: normal;
	margin-top: 0.5em;
}

/* Checkbox and Checklist */
.tooth_fairy_options_item_checkbox .tooth_fairy_options_item_label,
.tooth_fairy_options_item_checklist .tooth_fairy_checklist_item_label {
	line-height:28px;
	padding-left: 2px;
}
.tooth_fairy_options_item_checkbox input[type="checkbox"],
.tooth_fairy_options_item_checklist input[type="checkbox"] {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.5em;
	@include square(16px);
	@include border-radius(1px);
	@include border-box;
	border: 2px solid $field_outline_color;
	background-color: #fff;
	position: relative;
	top: -1px;
	z-index: 2;
	@include transition-properties(background-color,border-color);
	box-shadow: none;
}
.tooth_fairy_options_item_checkbox input[type="checkbox"]:focus,
.tooth_fairy_options_item_checklist input[type="checkbox"]:focus {
	outline: 0;
	@include border-sharp;
}
.tooth_fairy_options_item_checkbox input[type="checkbox"]:focus:after,
.tooth_fairy_options_item_checklist input[type="checkbox"]:focus:after {
	content: ' ';
	display: block;
	@include abs-lt(-3px, -3px);
	@include square(18px);
	@include border-box;
	border: 1px solid $field_outline_color;
}
.tooth_fairy_options_item_checkbox input[type="checkbox"]:checked,
.tooth_fairy_options_item_checklist input[type="checkbox"]:checked {
	border-color: $accent_color;
	background-color: $accent_color;
}
.tooth_fairy_options_item_checkbox input[type="checkbox"]:checked:before,
.tooth_fairy_options_item_checklist input[type="checkbox"]:checked:before {
	content: '\f147';
	font-family: 'dashicons';
	opacity: 1;
	color: #fff;
	@include square(12px);
	@include abs-cc(3);
	margin: 0 0 0 -3px;
	font-size: 18px;
	@include transition-property(opacity);
}
.tooth_fairy_options_item_checkbox input[type="checkbox"]:checked:focus:after,
.tooth_fairy_options_item_checklist input[type="checkbox"]:checked:focus:after {
	@include abs-lt(-4px, -4px);
	@include square(20px);
	border-width: 2px;
}
.tooth_fairy_options_item_checkbox .tooth_fairy_options_item_description {
	margin-top: 0.2em;
}
.tooth_fairy_options_item_checklist .tooth_fairy_options_item_description {
	margin-top: 0.5em;
}

/* Switch */
.tooth_fairy_options_item_switch .tooth_fairy_options_item_label {
	line-height: 25px;
}
.tooth_fairy_options_item_switch input {
	display: none !important;
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_caption {
	display: none;
	margin-left: 0.5em;
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder {
	display: inline-block;
	vertical-align: middle;
	@include box(35px, 21px);
	@include border-box;
	position: relative;

	&:focus {
		outline: 0;
	}
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder_back {
	display: block;
	@include box(35px, 11px);
	@include border-radius(6px);
	margin-top: 5px;
	background-color: $icons_border_color;
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder_handle {
	display: block;
	@include square(21px);
	@include border-round;
	@include border-box;
	@include abs-lt;
	background-color: $icons_border_hover;
	@include transition-properties(background-color,transform);
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder_handle:after {
	content: ' ';
	@include abs-lt(0,0,-1);
	display: block;
	@include box(21px, 21px);
	@include border-round;
	@include border-box;
	background-color: $icons_border_hover;
	@include transition-properties(background-color,opacity,transform);
	opacity: 0;
}
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder:hover .tooth_fairy_options_item_holder_handle:after,
.tooth_fairy_options_item_switch .tooth_fairy_options_item_holder:focus .tooth_fairy_options_item_holder_handle:after {
	content: ' ';
	opacity: 0.2;
	@include scale(1.9524);
}
.tooth_fairy_options_item_switch input:checked + .tooth_fairy_options_item_holder .tooth_fairy_options_item_holder_handle {
	background-color: $accent_color;
	@include translateX(14px);
}
.tooth_fairy_options_item_switch input:checked + .tooth_fairy_options_item_holder .tooth_fairy_options_item_holder_handle:after {
	background-color: $accent_color;
}

/* Radio */
.tooth_fairy_options_item_radio .tooth_fairy_options_item_label {
	display:inline-block;
	vertical-align: top;
	line-height:28px;
	margin: 0 1em 0 0;
}
.tooth_fairy_options_item_radio input,
.tooth_fairy_options input[type="radio"] {
	display: none !important;
}
.tooth_fairy_options_item_radio .tooth_fairy_options_item_holder,
.tooth_fairy_options input[type="radio"] + .tooth_fairy_options_item_holder {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.5em;
	@include square(16px);
	@include border-round;
	@include border-box;
	background-color: $field_outline_color;
	position: relative;
	top: -1px;
	@include transition-properties(background-color);
}
.tooth_fairy_options_item_radio .tooth_fairy_options_item_holder:before,
.tooth_fairy_options input[type="radio"] + .tooth_fairy_options_item_holder:before {
	content: ' ';
	display: block;
	@include square(12px);
	@include border-round;
	@include abs-cc(2);
	background-color: #fff;
	@include content-box;
}
.tooth_fairy_options_item_radio .tooth_fairy_options_item_holder:focus,
.tooth_fairy_options input[type="radio"] + .tooth_fairy_options_item_holder:focus {
	outline: 0;
}
.tooth_fairy_options_item_radio .tooth_fairy_options_item_holder:focus:after,
.tooth_fairy_options input[type="radio"] + .tooth_fairy_options_item_holder:focus:after {
	content: ' ';
	display: block;
	@include abs-lt(-1px, -1px);
	@include square(18px);
	@include border-round;
	@include border-box;
	background-color: $field_outline_color;
}
.tooth_fairy_options_item_radio input:checked + .tooth_fairy_options_item_holder,
.tooth_fairy_options input[type="radio"]:checked + .tooth_fairy_options_item_holder {
	background-color: $accent_color;
}
.tooth_fairy_options_item_radio input:checked + .tooth_fairy_options_item_holder:before,
.tooth_fairy_options input[type="radio"]:checked + .tooth_fairy_options_item_holder:before {
	@include square(6px);
}
.tooth_fairy_options_item_radio input:checked + .tooth_fairy_options_item_holder:focus:before,
.tooth_fairy_options input[type="radio"]:checked + .tooth_fairy_options_item_holder:focus:before {
	border: 5px solid $accent_color;
}
.tooth_fairy_options_item_radio input:checked + .tooth_fairy_options_item_holder:focus:after,
.tooth_fairy_options input[type="radio"]:checked + .tooth_fairy_options_item_holder:focus:after {
	@include abs-lt(-2px, -2px);
	@include square(20px);
}
.tooth_fairy_options_item_radio .tooth_fairy_options_item_description {
	margin-top: 0.2em;
}

/* Choice */
.tooth_fairy_options_item_choice .tooth_fairy_options_item_data {
	max-width: 740px;
}
.tooth_fairy_options_override .tooth_fairy_options_item_choice .tooth_fairy_options_item_data {
	max-width: none;
}
.tooth_fairy_list_choice_rows_separator {
	display: block;
	@include box(100%, 0);

	.customize-control-field-wrap & {
		display: none;
	}
}
.tooth_fairy_list_choice_item {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	cursor: pointer;
}
.tooth_fairy_list_choice_item_icon {
	display: block;
	padding: 2px;
	border: 1px solid $icons_border_color;
	margin: 1px;
	@include border-radius(4px);
	@include transition-property(border-color);
	position: relative;
}
.tooth_fairy_list_choice_item.tooth_fairy_list_active  .tooth_fairy_list_choice_item_icon:before {
	content: '\f147';
	font-family: 'dashicons';
	@include font(17px, 17px);
	@include abs-rt;
	@include square(1em);
	@include border-round;
	background-color: #fff;
	color: $success_color;
}
.tooth_fairy_list_choice_item_icon > img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	background-color: #fff;
}
.tooth_fairy_list_choice_item_title {
	display: block;
	margin: 5px 0 10px;
	color: $text_light;
	font-weight: 600;
	max-width: 120px;
	@include transition-property(color);
}
.tooth_fairy_list_choice_item:hover  .tooth_fairy_list_choice_item_icon,
.tooth_fairy_list_choice_item:focus  .tooth_fairy_list_choice_item_icon {
	border-color: $icons_border_hover;
}
.tooth_fairy_list_choice_item:hover .tooth_fairy_list_choice_item_title,
.tooth_fairy_list_choice_item:focus .tooth_fairy_list_choice_item_title {
	color: $text_dark;
}
.tooth_fairy_list_choice_item.tooth_fairy_list_active  .tooth_fairy_list_choice_item_icon {
	border: 2px solid $accent_color;
	margin: 0;
}
.tooth_fairy_list_choice_item.tooth_fairy_list_active .tooth_fairy_list_choice_item_title {
	color: $accent_color;
	margin-top: 4px;
}
.tooth_fairy_list_choice_item:focus {
	outline: none;
}
.tooth_fairy_list_choice_item:focus  .tooth_fairy_list_choice_item_icon {
	@include box-shadow(0 0 0 3px $field_outline_light);
}

/* Color */
.tooth_fairy_options_item_color {
	.wp-picker-holder,
	.wp-picker-holder * {
		-webkit-box-sizing: content-box !important;
		-ms-box-sizing: content-box !important;
		box-sizing: content-box !important;	
	}
	.tooth_fairy_options_item_description {
	margin-top: 0.5em;
	}
	// Scheme color selector
	&.tooth_fairy_options_item_with_globals {
		.tooth_fairy_options_item_field {
			padding-left: 38px;
		}
		.wp-picker-container.wp-picker-active {
			@include abs-lt(32px, -6px);
		}
	}
	.tooth_fairy_color_selector_globals {
		display: inline-block;
		vertical-align: top;
		margin-left: -38px;
		margin-right: 0.5em;
		position: relative;

		.tooth_fairy_color_selector_globals_button {
			display: flex;
			align-items: center;
			justify-content: center;
			@include square(31px);
			@include border-radius(4px);
			@include border-box;
			background-color: #fff;
			border: 1px solid $field_border_color;
			outline: none;
			cursor: pointer;

			svg {
				width: 25px;
				height: 25px;
			}
			svg, svg path {
				stroke: $field_text_color;
			}
		}
		&.tooth_fairy_color_selector_globals_active .tooth_fairy_color_selector_globals_button {
			background-color: $field_outline_light;

			svg, svg path {
				stroke: $accent_hover;
			}
		}
		.tooth_fairy_color_selector_globals_list {
			display: none;
			@include abs-lt(0, 100%);
			margin-top: 2px;
			width: 28em;
			max-width: 80vw;
			max-height: 28vh;
			overflow-y: auto;
			overflow-x: hidden;
			font-size: 12px;
			background-color: #fff;
			border: 1px solid $field_border_color;
			@include border-radius(4px);
			@include box-shadow(0 0 5px 0 rgba(0, 0, 0, 0.1));
		}
		&.tooth_fairy_color_selector_globals_list_opened .tooth_fairy_color_selector_globals_list {
			display: block;
		}
		.tooth_fairy_color_selector_globals_list_item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0.25em 1em;
			cursor: pointer;
			@include transition-properties(background-color);

			&:hover {
				background-color: $background_light;
			}
			&.tooth_fairy_color_selector_globals_list_item_active {
				background-color: $field_outline_light;
			}
			.tooth_fairy_color_selector_globals_list_item_left {
				display: flex;
				align-items: center;
				justify-content: flex-start;
				margin-right: 0.5em;
				flex-shrink: 0;
			}
			.tooth_fairy_color_selector_globals_list_item_color {
				display: inline-block;
				@include square(20px);
				@include border-radius(4px);
				border: 1px solid rgba(128,128,128,0.5);
				margin-right: 0.5em;
			}
			.tooth_fairy_color_selector_globals_list_item_name {
				display: inline-block;
				vertical-align: top;
				color: $field_text_color;
			}
			.tooth_fairy_color_selector_globals_list_item_value {
				display: inline-block;
				vertical-align: top;
				color: $field_text_color;
				flex-shrink: 0;
				color: #aaa;
			}
		}
	}
}

/* Text editor */
.tooth_fairy_options_item_text_editor .wp-switch-editor {
	height: auto;
} 

/* Media, audio, video */
.tooth_fairy_options_item_media .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image,
.tooth_fairy_options_item_audio .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image,
.tooth_fairy_options_item_video .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image {
	background-image: none;
	overflow: visible;
}
.tooth_fairy_options_item_media .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:after,
.tooth_fairy_options_item_audio .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:after,
.tooth_fairy_options_item_video .tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:after {
	margin: -1.25em -1.25em 0 0;
}


/* Media selector
----------------------------------------- */
.tooth_fairy_media_selector_preview {
	display: none;
	margin-right: -2.3333%
}
.tooth_fairy_media_selector_preview.tooth_fairy_media_selector_preview_with_image {
	@include flex;
	@include flex-direction(row);
	@include flex-wrap(wrap);
	@include flex-justify-content(flex-start);
	@include flex-align-items(flex-start);
}
.tooth_fairy_media_selector_preview img {
	display: inline-block;
	vertical-align: top;
	@include box(auto, auto);
	max-width: 100%;
	max-height: 150px;
}
.tooth_fairy_media_selector_preview > img,
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image {
	margin: 0 2.3333% 1.3333% 0;
	position:relative;
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image {
	@include flex;
	@include flex-direction(row);
	@include flex-wrap(wrap);
	@include flex-justify-content(center);
	@include flex-align-content(center);
	@include flex-align-items(center);
	@include flex-basis(31%);
	cursor:pointer;
	border: 2px solid #fff;
	@include transition-property(border-color);
	background-image: url(../images/transparent.png);
	background-position: left top;
	background-repeat: repeat;
	background-size: 12px 12px;
	overflow: hidden;
	max-height: 150px;
}
.tooth_fairy_media_selector_preview_single {
	max-width: none;	//Old value - 60%;
}
.tooth_fairy_media_selector_preview_single > .tooth_fairy_media_selector_preview_image {
	@include flex-basis(initial);
//	max-height: none;
}
.tooth_fairy_media_selector_preview_single img {
//	max-height: none;
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:focus {
	outline: 0;
	border-color: $field_outline_color;
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image > a {
	padding:0.3em 0.5em;
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:before {
	content: ' ';
	@include bg-mask(#0f1011, 0.5);
	opacity: 0;
	pointer-events: none;
	@include transition-properties(background-color,opacity);
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:focus:before,
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:hover:before {
	opacity: 1;
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:after {
	content: '\e916';
	font-family:$theme_icons;
	font-size: 10px;
	display:block;
	@include abs-cc;
	@include square(2.5em);
	@include border-box;
	/*
	color: $field_border_color;
	background-color: #f7f7f7;
	*/
	color: #fff;
	opacity: 0;
	@include transition-properties(color,border-color,background-color,opacity);
}
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:focus:after,
.tooth_fairy_media_selector_preview > .tooth_fairy_media_selector_preview_image:hover:after {
	/*
	color: $field_outline_color;
	background-color: #ebebeb;
	*/
	opacity: 1;
}

input[type="button"].tooth_fairy_media_selector {
	font-size: 14px;
	line-height: 30px;
	height: 32px;
	padding: 0 20px;
}


/* Inherit state */
.tooth_fairy_options_inherit_lock {
	@include abs-rt(2px, -3px);
	display:block;
	@include square(27px);
	color: $field_outline_color;
	@include border-box;
	@include border-radius(3px);
	border: 2px solid $field_outline_color;
	cursor: pointer;
	@include transition-properties(color,border-color,background-color);
	font-weight: normal;
	font-size: 0.9286em;
}
.tooth_fairy_options_inherit_lock:before {
	content: '\e97b';
	font-family: $theme_icons;
	padding:0;
	margin: -3px 0 0;
	display: inline-block;
	vertical-align: top;
}
.tooth_fairy_options_inherit_off .tooth_fairy_options_inherit_lock {
	color: #fff;
	border: none;
	background-color: $accent_color;
	@include square(23px);
	right: 4px;
	top:-1px;
}
.tooth_fairy_options_inherit_off .tooth_fairy_options_inherit_lock:before {
	content: '\e97c';
	margin-top: -1px;
}
.tooth_fairy_options_inherit_lock:focus {
	outline: 0;
	@include box-shadow(0 0 0 3px $field_outline_light);
}
.tooth_fairy_options_inherit_cover {
	@include bg-mask($border_light, 1, 3);
	background-image:url(../images/stripe-black.png);
	bottom: -1px;
	cursor: pointer;
}
.tooth_fairy_options_inherit_label {
	@include abs-cc;
	display:inline-block;
	vertical-align: top;
	@include font(18px, 1em, 600);
	color: $field_text_color;
}
.tooth_fairy_options_wait:before {
	font-family:'fontello';
	content: '\e82d' !important;
	display:inline-block;
	vertical-align: top;
	margin-top: 0.4em !important;
	@include square(1em);
	@include animation(spin 2s infinite linear);
}
.tooth_fairy_options_inherit_on {
	.tooth_fairy_options_item_field > *:not(.tooth_fairy_options_inherit_cover) {
		visibility: hidden;
	}
	.tooth_fairy_options_group_fields {
		max-height: 8em;
		overflow: hidden;
	}
}


/* PRO only */
.tooth_fairy_options_pro_only {
	position: relative;

	&.customize-control-wrap {
		padding: 0.8em;

		& > *:not(.tooth_fairy_options_pro_only_cover):not(.customize-control-title):not(.customize-control-description) {
			display: none;
		}
	}
	.tooth_fairy_options_item_field > *:not(.tooth_fairy_options_pro_only_cover) {
		visibility: hidden;
	}
	.tooth_fairy_options_pro_only_lock {
		cursor: default;
		color: $border_light;
		border-color: $border_light;
	}
	.tooth_fairy_options_pro_only_cover {
		cursor: default;
		background-color: $background_light;

		.tooth_fairy_options_pro_only_label {
			white-space: nowrap;
			text-decoration: none;
			color: $accent_hover;
		}
		.tooth_fairy_options_pro_only_label:hover {
			text-decoration: underline;
			color: $accent_color;
		}
	}
	&.customize-control-wrap .tooth_fairy_options_pro_only_cover {
		background-color: rgba(220,220,220,0.75);
	}
}


/* Color scheme editor
-------------------------------------------------- */
.tooth_fairy_scheme_editor {
	margin-bottom:1em;
}
.tooth_fairy_scheme_editor_scheme {
	margin-bottom: 10px;
	padding-right: 105px;
	position: relative;
}
.tooth_fairy_scheme_editor_controls {
	@include abs-rt(0, 1px, 1);
	bottom: 0;
}
.tooth_fairy_scheme_editor_control {
	display: inline-block;
	vertical-align: top;
	@include box(31px, 31px, 29px);
	text-align: center;
	margin-left: 2px;
	@include border-box;
	border: 1px solid #ccc;
	@include border-radius(2px);
	background-color: #f7f7f7;
	color: #666;
	cursor: pointer;
	@include transition-properties(color, background-color);
}
.tooth_fairy_scheme_editor_control:hover {
	background-color: #eee;
	color: #333;
}
@media (max-width: 782px) {
	.tooth_fairy_scheme_editor_control {
		height: 35px;
		line-height: 33px;
	}
}

.tooth_fairy_scheme_editor_control:before {
	font-family: 'fontello';
	font-size: 1.15em;
}
.tooth_fairy_scheme_editor_control_reset:before {
	content: '\e80e';
}
.tooth_fairy_scheme_editor_control_copy:before {
	content: '\f0c5';
}
.tooth_fairy_scheme_editor_control_delete:before {
	content: '\e8da';
}
.tooth_fairy_scheme_editor_type {
	margin: 1.5em 0;
}
.tooth_fairy_scheme_editor_type .tooth_fairy_scheme_editor_row {
	border: none;
}
.tooth_fairy_scheme_editor_type label+label {
	margin-left: 1em;
}
.tooth_fairy_scheme_editor_type .tooth_fairy_scheme_editor_description {
	font-style:italic;
	font-size:0.9em;
}
.tooth_fairy_scheme_editor_header,
.tooth_fairy_scheme_editor_row {
	@include flex;
	@include flex-direction(row);
	@include flex-wrap(nowrap);
}
.tooth_fairy_scheme_editor_row {
	margin-top: 8px;
}
.tooth_fairy_scheme_editor_header_cell,
.tooth_fairy_scheme_editor_row_cell {
	display:inline-block;
	vertical-align:middle;
	min-width: 50px;
	@include border-box;
}
.tooth_fairy_scheme_editor_row_cell_color {
	margin-left: 6px;
	text-align: center;
}
.tooth_fairy_scheme_editor_header_cell:first-child,
.tooth_fairy_scheme_editor_row_cell:first-child {
	min-width: 120px;
	text-transform: capitalize;
}
.tooth_fairy_scheme_editor_row_cell_span {
	min-width: 280px;
}
.tooth_fairy_scheme_editor_header_cell {
	font-weight: bold;
	text-align:center;
}
.customize-control-wrap {
	.tooth_fairy_scheme_editor_header_cell,
	.tooth_fairy_scheme_editor_row_cell {
		min-width: 40px;
	}
	.tooth_fairy_scheme_editor_header_cell:first-child,
	.tooth_fairy_scheme_editor_row_cell:first-child {
		min-width: 70px;
	}
	.tooth_fairy_scheme_editor_row_cell_span {
		min-width: 100px;
	}
}
@media (max-width: 767px) {
	.tooth_fairy_scheme_editor_header_cell,
	.tooth_fairy_scheme_editor_row_cell {
		min-width: 35px;
	}
	.tooth_fairy_scheme_editor_header_cell:first-child,
	.tooth_fairy_scheme_editor_row_cell:first-child {
		min-width: 100px;
	}
	.tooth_fairy_scheme_editor_row_cell_span {
		min-width: 180px;
	}
}
.tooth_fairy_scheme_editor_row_hidden {
	display: none !important;
}


/* Options presets
-------------------------------------------------- */
.tooth_fairy_options_item {
	.tooth_fairy_options_presets_list,
	.tooth_fairy_options_presets_apply,
	.tooth_fairy_options_presets_add,
	.tooth_fairy_options_presets_delete {
		display: inline-block;
		vertical-align: top;
		margin-right: 0.5em;
	}
	.tooth_fairy_options_presets_list {
		width: 40%;
	}
	.tooth_fairy_options_presets_apply,
	.tooth_fairy_options_presets_add,
	.tooth_fairy_options_presets_delete {
		@include square(28px);
		line-height: 24px;
		padding: 0;
		font-size: 12px;
	}
}

.tooth_fairy_options_item_hidden {
	display: none !important;
}


/* ColorPickers
-----------------------------------------------------------------*/

/* Internal */
.iColorPickerTable .iColorPicker_moreColors {
	background-image: url(../images/colorpicker-morecolors.png);
	background-repeat:no-repeat;
	display:inline-block;
	margin-left: 0.5em;
	@include square(1em);
	vertical-align:middle;
	box-shadow: none !important;
}

/* Tiny ColorPicker */
.cp-color-picker {
	z-index:1000;
	background-color: #ddd;
}

/* Spectrum ColorPicker */
div.sp-replacer {
	border: none;
	background: none;
	padding: 0;

	.sp-preview {
		margin-right: 0;
		width: 28px;
		height: 28px;
		background-image: none;
		border: none;
	}
	.sp-preview-inner {
		border: 1px solid rgba(0,0,0,.15);
		@include border-radius(3px);
		@include transition-property( border-color );
	}
	.sp-preview-inner:hover { 
		border-color: rgba(0,0,0,.5);
	}
	.sp-dd {
		display: none;
	}
}
.tooth_fairy_scheme_editor {
	div.sp-replacer {
		.sp-preview {
			width: 48px;
		}
	}
}
.customize-control-wrap {
	div.sp-replacer .sp-preview {
		width: 40px;
	}
}
div.sp-container {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.15);
	box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
	@include border-radius(3px);
	@include border-box;
	overflow: visible;

	&:before {
		content: ' ';
		display: block;
		@include square(7px);
		background-color: #fff;
		border: 1px solid rgba(0,0,0,.15);
		border-right-color: transparent;
		border-bottom-color: transparent;
		@include rotate(45deg);
		@include abs-lt(10px, -6px);
	}
	.sp-picker-container, .sp-palette-container {
		padding: 14px;
		margin: 0;
		@include border-box;
	}
	.sp-picker-container {
		border: none;
		width: 238px;
	}
	// .sp-top {
	// 	margin-bottom: 6px;
	// }
	.sp-dragger {
		@include square(12px);
		background: #fff;
		border: 1px solid rgba(0,0,0,.15);
		box-shadow: 0 1px 6px rgba(0,0,0,.15);
		@include border-round;
		@include border-box;
		margin: 5px 0 0 5px;
		z-index: 2;
	}
	.sp-color {
		border: none;
		@include border-radius(3px);
		right: 15%;
		@include border-radius(3px);
		&:before {
			content: ' ';
			display: block;
			@include abs-cover;
			border: 1px solid rgba(0,0,0,.15);
			@include border-radius(3px);
			@include border-box;
			pointer-events: none;
		}
	}
	.sp-clear {
		left: 90.5%;
		bottom: auto;
		height: 26px;
		background-size: 90%;
		border-color: rgba(0,0,0,.2);
		cursor: pointer;
	}
	.sp-hue {
		border: none;
		left: 90.5%;
		@include border-radius(2px);
		border: 1px solid rgba(0,0,0,.15);

		.sp-slider {
			border: 1px solid rgba(0,0,0,.2);
			box-shadow: 0 1px 6px rgba(0,0,0,.2);
			left: -3px;
			right: -3px;
			height: 11px;
			@include border-box;
			margin-top: 3px;
			opacity: 1;
		}
	}
	.sp-initial {
		margin-bottom: 8px;
		border:none;
		@include border-radius(2px);
		position: relative;
		
		&:before {
			content: ' ';
			display: block;
			@include abs-cover(2);
			border: 1px solid rgba(0,0,0,.15);
			@include border-radius(2px);
			@include border-box;
		}
		span {
			height: 30px;
		}
		.sp-clear-display {
			background-color: #fff !important;
		}
		.sp-clear-display + .sp-clear-display {
			display: none;
		}
		.sp-thumb-el > span {
			@include abs-cover;
		}
	}
	.sp-input-container {
		width: 140px;
		margin-bottom: 8px;

		input[type="text"] {
			border: 1px solid $field_border_light;
			box-shadow: none;
			background-color: #fff;
			color: $field_text_color;
			outline: none;
			font-size: 10px !important;
			@include border-radius(2px);
			@include border-box;			
		}
	}
	.sp-choose {
		background: $accent_color;
		border: 1px solid rgba(0,0,0,.15);
		color: #fff;
		padding: 7px 1.5em;
		@include transition-property(background);
		font-family: unset;
		font-size: 12px;
	}
	.sp-choose:hover {
		background: $accent_hover;
	}
	.sp-cancel {
		color: $field_description_color !important;
		@include transition-property(color);
		margin-right: 12px;
	}
	.sp-cancel:hover {
		color: #d93f3f !important;
	}
}
@media (max-width: 767px) {
	div.sp-replacer .sp-preview {
		width: 35px;
		height: 21px;
	}
}


/* TGMA
-----------------------------------------------------------------*/
#setting-error-tgmpa {
	display:block;
}
.tgmpa_line_template {
	display: block;
	margin: 0.5em 0.5em 0 0;
	clear: both;
}
.tgmpa_version {
	float: right;
	padding: 0em 1.5em 0.5em 0;
}
.tgmpa_column_version {
	min-width: 32px;
	text-align: right;
	float: right;
}
.tgmpa_column_version_colored {
	color: #ff0000;
	font-weight: bold;
}
.tgmpa_column_version_colored_2 {
	color: #71C671;
	font-weight: bold;
}
.tgmpa_header {
	@include font(23px, 29px, 400);
	margin: 0;
	padding: 9px 15px 4px 0;
}
.tgmpa_update_php {
	@include box(100%, 98%);
	min-height: 850px;
	padding-top: 1px;
}
.tgmpa_actions_row {
	color: #888;
}


/* Get PRO Version
---------------------------------------------------------- */

/* Table */
.tooth_fairy_theme_panel_table_row {
	width:100%;
	border-bottom: 1px solid #ddd;
	overflow: hidden;
}
.tooth_fairy_theme_panel_table_row:last-child {
	border-bottom: none;
}
.tooth_fairy_theme_panel_table_row > div {
	padding: 2em 0;
	@include border-box;
	float: left;
}
.tooth_fairy_theme_panel_table_head > div {
	font-size:1.1538em;
	font-weight:bold;
	text-align: center;
}
.tooth_fairy_theme_panel_table_row > div + div {
	padding: 2em 1em;
	text-align: center;
}
.tooth_fairy_theme_panel_table_info {
	width: 70%;
}
.tooth_fairy_theme_panel_table_check {
	width: 15%;
	text-align: center;
}
@media (max-width: 767px) {
	.tooth_fairy_theme_panel_table_head .tooth_fairy_theme_panel_table_info {
		display: none;
	}
	.tooth_fairy_theme_panel_table_info {
		width: 100%;
		padding-top: 0;
	}
	.tooth_fairy_theme_panel_table_check {
		width: 50%;
		padding-top: 0;
	}
}
.tooth_fairy_theme_panel_table_info_title {
	margin-top: 0;
	margin-bottom: 0.3em;
}
.tooth_fairy_theme_panel_table_check .dashicons {
	@include font(2em, 1em);
	@include box(1em, 1em);
}
.tooth_fairy_theme_panel_table_check .dashicons:before {
	font-size: 1em;
}
.tooth_fairy_theme_panel_table_check .dashicons-yes:before {
	color:#00aa00;
}
.tooth_fairy_theme_panel_table_check .dashicons-no:before {
	color:#aa0000;
}

/* Button */
.trx_addons_theme_panel_theme_inactive .tooth_fairy_pro_link {
	margin-top: 1em;
}
.tooth_fairy_theme_panel_table_check .tooth_fairy_pro_link {
	margin-top: 0;
}

/* Form */
.tooth_fairy_pro_form_wrap {
	display: none;
	@include fixed-cover(10001);	/* admin sidemenu have 9990 */
	background-color: rgba(0,0,0,0.5);
}
.tooth_fairy_pro_form {
	@include abs-cc(10010);
	opacity: 0;
	margin-top: 50px;
	width: 460px;
	padding: 4em;
	border: 1px solid #ddd;
	background-color: #fff;
	@include border-box;
	@include box-shadow(0 0 20px 0 rgba(0, 0, 0, 0.2));
}
@media (max-width: 479px) {
	.tooth_fairy_pro_form {
		width: 300px;
	}
}
.customize-control-wrap .tooth_fairy_pro_form_wrap,
.tooth_fairy_options_item_field .tooth_fairy_pro_form_wrap {
	display: block;
	position: static;
	background-color: transparent;

	.tooth_fairy_pro_form {
		position: static;
		opacity: 1;
		width: 100%;
		padding: 1.5em;
		margin-top: 2em;
		background-color: transparent;
		@include transform-none;
		@include box-shadow(none);
	}

}
.tooth_fairy_options_item_field .tooth_fairy_pro_form_wrap .tooth_fairy_pro_form {
	margin-top: 0;
}
.tooth_fairy_options_item.tooth_fairy_options_item_get_pro_version .tooth_fairy_options_item_field {
	max-width: 70%;
}

.tooth_fairy_pro_close {
	display: none;	/* Hide in Customizer */
}
.tooth_fairy_pro_close:after {
	content: '\e875';
	display: inline-block;
	font-family: 'trx_addons_icons';
	font-size: 1.25em;
	line-height: inherit;
	margin-left: 0.3em;
}
.tooth_fairy_pro_close:hover {
	color: #000;
}
.trx_addons_theme_panel_theme_inactive .tooth_fairy_pro_close {
	display: inline-block;
	padding: 1.2em;
	@include abs-rt;
	cursor: pointer;
	color: #888;
	text-transform: uppercase;
}

.tooth_fairy_pro_title {
	margin-top: 0;
	color: #333;
}

.tooth_fairy_pro_link_get {
	color: #0088bb;
	border-bottom: 1px solid #0088bb;
//	font-size: 1.25em;
	text-decoration: none;
	@include transition-properties(color, border-color);
}
.tooth_fairy_pro_link_get:hover {
	color: #008800;
	border-color: #008800;
}

.tooth_fairy_pro_field {
	border: 1px solid #ddd;
	background-color: #f7f7f7;
	padding: 2em;
}
.tooth_fairy_pro_field + .tooth_fairy_pro_field {
	margin-top: 20px;
}
.tooth_fairy_pro_step_title {
	margin-top: 0;
	@include font(1em, 1.2em);
	text-transform: uppercase;
	color: #888;
}
.tooth_fairy_pro_label {
	display: block;
	margin: 1em 0;
	font-weight: bold;
	color: #333;
}
.tooth_fairy_pro_field input[type="text"] {
	display: block;
	width: 100%;
	padding: 0.5em 1em;
	box-sizing: border-box;
	margin-bottom: 1em;
}
.tooth_fairy_pro_upgrade {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}
.tooth_fairy_pro_upgrade_process {
	display: inline-block;
	line-height: inherit;
	margin-left: 0.3em;
}
