@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
-----------------------------------------------------------------*/
.alliance_admin_notice {
	display:block;
	overflow: hidden;
	position: relative;
	padding-top: 1em;
	padding-bottom: 1em;
}
.alliance_admin_notice .alliance_notice_image {
	float: left;
	margin-right: 2em;
}
.alliance_admin_notice .alliance_notice_image img {
	max-height: 135px;
	width: auto;
}
.alliance_admin_notice .alliance_notice_title {
	margin:0;
}
.alliance_admin_notice .alliance_notice_title a {
	text-decoration: none;
}
.alliance_admin_notice.alliance_rate_notice .alliance_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;
}
.alliance_admin_notice .alliance_notice_text {
	margin: 1em 0;
}
.alliance_admin_notice p {
	margin: 0 0 0.1em;
}
.alliance_admin_notice .alliance_notice_text_info {
	margin-top: 0.5em;
	font-style: italic;
}
.alliance_admin_notice .dashicons {
	font-size: 1em;
	@include square(inherit);
	display: inline-block;
	vertical-align: top;
	margin-top: -2px;
}
.alliance_admin_notice .dashicons:before {
	font-size:1.2em;
	line-height:inherit;
}

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


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


.alliance_skin_code {
	width: 100%;
}



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

/* Buttons  */
.alliance_button,
form input[type="button"].alliance_button,
form input[type="submit"].alliance_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);
}
.alliance_button:focus,
form input[type="button"].alliance_button:focus,
form input[type="submit"].alliance_button:focus,
.alliance_button:hover,
form input[type="button"].alliance_button:hover,
form input[type="submit"].alliance_button:hover {
	background-color: $button_bg_hover;
	border-color: $button_bd_hover;
	color: $button_text_hover;
}
.alliance_button:focus,
form input[type="button"].alliance_button:focus,
form input[type="submit"].alliance_button:focus {
	outline: 0;
	box-shadow: 0 0 0 3px $button_outline_color;
}
.alliance_button[disabled],
form input[type="button"].alliance_button[disabled],
form input[type="submit"].alliance_button[disabled] {
	background-color: $button_bg_hover !important;
	color: $button_text_disabled !important;
	border-color: $button_bd_disabled !important;
}
.alliance_button:before,
form input[type="button"].alliance_button:before,
form input[type="submit"].alliance_button:before,
.alliance_button:after,
form input[type="button"].alliance_button:after,
form input[type="submit"].alliance_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;
}
.alliance_button:before,
form input[type="button"].alliance_button:before,
form input[type="submit"].alliance_button:before {
	margin-right: 0.3em;
}
.alliance_button:after,
form input[type="button"].alliance_button:after,
form input[type="submit"].alliance_button:after {
	margin-left: 0.3em;
}
.alliance_button_small,
form input[type="button"].alliance_button_small,
form input[type="submit"].alliance_button_small {
	font-size: 14px;
	line-height: 20px;
	padding: 5px 15px;	
}
.alliance_button_small:before,
form input[type="button"].alliance_button_small:before,
form input[type="submit"].alliance_button_small:before,
.alliance_button_small:after,
form input[type="button"].alliance_button_small:after,
form input[type="submit"].alliance_button_small:after {
	font-size: 1em;
}
.alliance_button_accent,
a.alliance_button.alliance_button_accent,
form input[type="button"].alliance_button_accent,
form input[type="submit"].alliance_button_accent {
	background-color: $accent_color;
	border-color: $accent_bd_color;
	color: #fff;
}
.alliance_button_accent:focus,
a.alliance_button.alliance_button_accent:focus,
form input[type="button"].alliance_button:focus,
form input[type="submit"].alliance_button:focus,
.alliance_button_accent:hover,
a.alliance_button.alliance_button_accent:hover,
form input[type="button"].alliance_button:hover,
form input[type="submit"].alliance_button:hover {
	background-color: $accent_hover;
	border-color: $accent_bd_hover;
	color: #fff;
}
@media (max-width: 1023px) {
	.alliance_button,
	form input[type="button"].alliance_button,
	form input[type="submit"].alliance_button {
		font-size: 13px;
		line-height: 20px;
		padding: 8px 20px;
	}	
	.alliance_button_small,
	form input[type="button"].alliance_button_small,
	form input[type="submit"].alliance_button_small {
		font-size: 12px;
		line-height: 18px;
		padding: 4px 10px;	
	}
}


/* Single and Range Slider */
.alliance_range_slider {
	font-family:inherit;
	font-size:1em;
	line-height:inherit;
	margin-top: 7px;
	margin-bottom: 20px;
	border: none !important;
}
.alliance_range_slider_value {
	display:inline-block;
	vertical-align:top;
	width: 58px !important;
	margin-right: 10px !important;
	text-align:right;
}
input[type="number"].alliance_range_slider_value {
	padding-right: 0;
}
.alliance_range_slider_units {
	display: inline-block;
	vertical-align: top;
	margin-top: 7px;
	margin-left: -8px;
	width: 24px;
	@include border-box;
}
.alliance_range_slider_value + .alliance_range_slider {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 72px);
}
.alliance_range_slider_units + .alliance_range_slider {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 92px);
}
.alliance_range_slider_value[data-type="range"] {
	width: 80px !important;
}
.alliance_range_slider_value + .alliance_range_slider[data-range="true"] {
	width: calc(100% - 102px);
}
.alliance_range_slider_units + .alliance_range_slider[data-range="true"] {
	width: calc(100% - 122px);
}
.alliance_range_slider_label {
	@include font(12px, 1em);
	position: absolute;
	z-index:1;
	top: 12px;
}
.alliance_range_slider_label_min {
	left: 0;
	color: $text_light;
}
.alliance_range_slider_label_avg {
	display: none;
	left: 50%;
	color: $text_light;
	@include translateX(-50%);
}
.alliance_range_slider_label_max {
	right: 0;
	color: $text_light;
}
.alliance_range_slider_label_cur {
	color: $text_color;
	left: 0;
	bottom: auto;
	top: -2em;
	@include translateX(-50%);
}
.alliance_range_slider_value ~ .alliance_range_slider .alliance_range_slider_label_cur {
	display: none;
}
div.alliance_range_slider.ui-slider {
	position:relative;
	text-align:left;
	background: $icons_border_color;
	border: none;
	@include border-radius(2px);
}
div.alliance_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.alliance_range_slider.ui-slider .ui-slider-handle:hover,
div.alliance_range_slider.ui-slider .ui-slider-handle:focus,
div.alliance_range_slider.ui-slider .ui-slider-handle.ui-state-active {
	outline: 0;
	@include square(18px);
	top: -7px;
	margin-left: -7px;
}
div.alliance_range_slider.ui-slider .ui-slider-handle:hover:after,
div.alliance_range_slider.ui-slider .ui-slider-handle:focus:after,
div.alliance_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.alliance_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.alliance_range_slider.ui-slider.ui-state-disabled .ui-slider-handle,
div.alliance_range_slider.ui-slider.ui-state-disabled .ui-slider-range {
	filter:inherit
}

div.alliance_range_slider.ui-slider-horizontal {
	height:4px
}
div.alliance_range_slider.ui-slider-horizontal .ui-slider-handle {	//div.alliance_range_slider.ui-slider-horizontal:not(.elementor-slider)
	top:-6px;
	margin-left:-6px;
}
div.alliance_range_slider.ui-slider-horizontal .ui-slider-range {
	top:0;
	height:100%;
}
div.alliance_range_slider.ui-slider-horizontal .ui-slider-range-min {
	left:0;
}
div.alliance_range_slider.ui-slider-horizontal .ui-slider-range-max {
	right:0;
}
div.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale {
	display: none;
	@include abs-lt(0, 5px);
	@include box(100%, 8px);
}
div.alliance_range_slider.ui-slider-horizontal .alliance_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.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale > span:nth-child(#{$i}) {
		left: ( $i - 1 ) * 10%;
	}
}
div.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale > span:nth-child(1),
div.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale > span:nth-child(6),
div.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale > span:nth-child(11) {
	height: 100%;
}
div.alliance_range_slider.ui-slider-horizontal .alliance_range_slider_scale > span:nth-child(11) {
	left: auto;
	right: 0;
}

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


/* Icons selector */
.alliance_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;
}
.alliance_list_icons_selector:not([class*="icon-"]):not([class*="image-"]):before,
.alliance_list_icons span.none:before {
	content: '\e8ad';
	font-family: $theme_icons;
	color: #ced3d8;
	line-height: inherit !important;
}
.alliance_list_icons_selector[class*="icon-"]:before {
	color: $icons_border_hover;
}
.alliance_list_icons_selector:hover {
	background-color:#edeff0;
}
.alliance_list_icons_selector:focus {
	outline: 0;
	border: 1px solid $accent_color;
	@include box-shadow(0 0 0 1px $accent_color);
}
input[type="text"] + .alliance_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;
}

.alliance_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));
}
.alliance_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);
}
.alliance_list_icons_wrap {
	width: 100%;
	overflow-x: hidden;
	overflow-y: visible;
}
.alliance_list_icons_inner {
	height: 270px;
	margin-right: -17px;
	overflow-x:hidden;
	overflow-y:scroll;
}
.alliance_list_icons input[type="text"].alliance_list_icons_search {
	display: block;
	font-size: 13px;
	width: 100% !important;
	height: auto;
	padding: 9px;
	margin-bottom:12px;
	border-color: $field_border_light;
}
.alliance_list_icons input[type="text"].alliance_list_icons_search:focus {
	border-color: $accent_color;
}
.alliance_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;
}
.alliance_list_icons span:focus {
	outline: none;
	border-color: $field_outline_color;
}
.alliance_list_icons span:before,
.alliance_list_icons_selector:before {
	margin:0 !important;
	vertical-align: top !important;
}
.alliance_list_icons span:hover,
.alliance_list_icons span.alliance_list_active {
	background-color:#f4f6f6;
}
.alliance_list_icons span.alliance_list_hidden {
	display: none;
}

.alliance_options_item_icon .alliance_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 .alliance_list_icons_selector {
	top: auto;
	bottom: 2px;
	@include transform-none;
	background-color:#fff;
}


/* Checklist */
.alliance_checklist {
	max-height:21em;
	overflow-x: hidden;
	overflow-y: auto;
}
.alliance_checklist .alliance_checklist_item_label {
	display:block;
	width: 100%;
	@include border-box;
	@include transition-property(background-color);
}
.alliance_checklist .alliance_checklist_item_label:hover {
	background-color: #f5f7f7;
}
.alliance_checklist_horizontal .alliance_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;
}
.alliance_checklist .alliance_checklist_item_label img {
	display:inline-block;
	vertical-align:middle;
	@include box(auto, 2.5em);
}
.alliance_checklist.alliance_sortable .alliance_checklist_item_label {
	padding: 6px 2.5em 6px 6px;
	border: none;
	position: relative;
}
.alliance_checklist.alliance_sortable .alliance_checklist_item_label + .alliance_checklist_item_label {
	border-top: 1px solid $field_border_light;
}
.alliance_checklist.alliance_sortable .alliance_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);
}
.alliance_checklist.alliance_sortable .alliance_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^="alliance_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^="alliance_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^="alliance_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^="alliance_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^="alliance_override_options_"] .alliance_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^="alliance_override_options_"] .alliance_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^="alliance_override_options_"] > .hndle > span:before,
.edit-post-meta-boxes-area #poststuff [id^="alliance_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^="alliance_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;
}

.alliance_hidden {
	display: none;
}


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

.alliance_options {
	font-size: 13px;
}
.alliance_options_header {
	overflow: hidden;
	margin: 1em 20px 0 0;
	padding: 1em 0;
	@include sticky-top(32px, 1000);
}
@media (min-width: 601px) {
	.alliance_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;
	}
}

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

.alliance_options .alliance_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);
}
.alliance_options .alliance_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);
}
.alliance_options .alliance_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;
}
.alliance_options .alliance_options_button:hover {
	color: #333;
	border-color: #ccc;
	background-color: #ececec;
}
.alliance_options .alliance_options_button:hover:before {
	color: #333;
}
.alliance_options .alliance_options_button_accent {
	border-color: $accent_bd_color;
	background-color: $accent_color;
	color:#fff;
}
.alliance_options .alliance_options_button_accent:focus {
	color: #fff;
}
.alliance_options .alliance_options_button_accent:before,
.alliance_options .alliance_options_button_accent:hover:before {
	color: #fff;
}
.alliance_options .alliance_options_button_accent:hover {
	border-color: $accent_bd_hover;
	background-color: $accent_hover;
	color:#fff;
}

.alliance_options_buttons {
	float: right;
	text-align: right;
}
.alliance_options_buttons .alliance_options_button_reset:before {
	content: '\e80e';
}
.alliance_options_buttons .alliance_options_button_export:before {
	content: '\e95a';
}
.alliance_options_buttons .alliance_options_button_import:before {
	content: '\e959';
}

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

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


/* Tabs
-----------------------------------------------------------------*/
div.alliance_tabs {
	border: none !important;
	background: none !important;
	font-size: 1.069em !important;
	padding:  0 !important;
}
div.alliance_tabs > ul.ui-tabs-nav {
	position:relative;
	z-index:1;
	background: none;
	border: none;
	padding: 0;
	margin:0;
}
div.alliance_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.alliance_tabs > ul.ui-tabs-nav > li:hover {
	background-image: none;
	background: $tab_background_hover;
}
div.alliance_tabs > ul.ui-tabs-nav > li + li {
	margin-left: -1px;
}
div.alliance_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.alliance_tabs > ul.ui-tabs-nav > li.ui-state-active {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-top: 3px solid $accent_color;
}
div.alliance_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.alliance_tabs > ul.ui-tabs-nav > li > a {
	color: $tab_text_color;
	font-weight: 600;
	@include transition-properties(color,background-color);
}
div.alliance_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"],
div.alliance_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.alliance_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"]:before,
div.alliance_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.alliance_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"]:before {
	font-family: "dashicons";	
}

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

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

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

		& > i[class*="icon-"] {
			font-size: 1em;
			margin-top: -2px;
		}
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub > a.ui-tabs-anchor,
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_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.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_super + li.alliance_tabs_title_sub > a.ui-tabs-anchor {
		padding-top: 1.2em;
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub.ui-state-active {
		border-left: 1px solid $tab_border_color !important;
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub.ui-state-active > a.ui-tabs-anchor {
		background-color:$subtab_background_active;
		color: $subtab_text_active;
		font-weight: 600;
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub:hover {
		display: none;
		background: $subtab_background_hover;
	}

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

@media (min-width: 320px) and (max-width: 767px) {
	div.alliance_tabs_vertical > ul.ui-tabs-nav {
		width: 120px;
		font-size: 12px;
	}
	div.alliance_tabs_vertical .alliance_tabs_section {
		width: calc(100% - 130px);
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li > a.ui-tabs-anchor {
		padding: 8px;
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.ui-state-active > a.ui-tabs-anchor {
		padding-top: 8px;
		padding-left: 5px;
	}
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub > a.ui-tabs-anchor,
	div.alliance_tabs_vertical > ul.ui-tabs-nav > li.alliance_tabs_title_sub.ui-state-active > a.ui-tabs-anchor {
		padding-left: 1.3em;
	}	
	div.alliance_tabs .alliance_tabs_section {
		padding: 1.5em;
	}
	div.alliance_tabs > ul.ui-tabs-nav > li > a > i[class*="dashicons-"],
	div.alliance_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.alliance_accordion {
	padding:0 !important;
}
div.alliance_accordion + .alliance_accordion,
.alliance_options_item + .alliance_options_batch {
	padding:1.5em 0 !important;
}
div.alliance_accordion_title,
div.ui-accordion .alliance_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 .alliance_accordion_title.ui-accordion-header.ui-state-active {
	background:#888;
}
div.ui-accordion .alliance_accordion_title.ui-accordion-header .ui-icon {
	display:inline-block;
	vertical-align:top;
	text-indent:0;
	margin-right:0.8em;
}
div.ui-accordion .alliance_accordion_title.ui-accordion-header .ui-icon:before {
	content:'\e929';
	font-family: 'fontello';
}
div.alliance_accordion_title.ui-accordion-header.ui-state-active .ui-icon:before {
	content:'\e92c';
}
div.ui-accordion .alliance_accordion_content {
	border:1px solid $field_delimiter_color;
	padding: 1em 2em;
}

/* Field set */
.alliance_options_group {
	position: relative;
	padding: 1.5em 0 0.5em;
}
.alliance_options_group_title {
	margin: 0.5em 0;
	font-size: 1.15em;
	position: relative;
}
.alliance_options_group_description {
	color: $field_description_color;
	margin: 0 0 0.5em;
}
.alliance_options_group_fields {
	position: relative;
}
.alliance_options_group_title + .alliance_options_group_fields,
.alliance_options_group_description + .alliance_options_group_fields {
	margin-top: 2em;
}
.alliance_options_fields_set {
	border-top: 1px dotted #ddd;
	padding: 0.5em 0;
	margin-top: 0.5em;
}
.alliance_options_clone {
	position:relative;
	padding-left: 4em;
	padding-right: 10em;
}
.alliance_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);
}
.alliance_options_clone_control:hover {
	color: $icons_border_hover;
	border-color: $icons_border_hover;
}
.alliance_options_clone_control:focus {
	outline: 0;
	border-color: $accent_color;
	@include box-shadow(0 0 0 1px $accent_color);
}
.alliance_options_clone_control [class*="icon-"]:before {
	font-family: $theme_icons;
	font-size: 19px;
	vertical-align: top;
}
.alliance_options_clone_control_move {
	cursor: grab;
	border-color: transparent !important;
	background-color: transparent !important;
}
.alliance_options_clone.ui-sortable-helper .alliance_options_clone_control_move {
	cursor: grabbing;
}
.alliance_options_clone_control_add {
	left: auto;
	right: 54px;
	color: $icons_border_hover;
}
.alliance_options_clone_control_delete {
	left: auto;
	right: 0;
	color: $icons_border_hover;
}
.alliance_options_clone_placeholder {
	background-color:#ecfbff;
	border: 2px dashed #87c9e1;
}
.alliance_options_clone.ui-sortable-helper {
	background-color:#ffffff;
	@include box-shadow(0 0 15px 0 rgba(0, 0, 0, 0.1));
}
.alliance_options_clone_buttons {
	text-align: center;
	margin: 1em 0 2em;
}

/* Sortable fields */
.alliance_sortable .alliance_sortable_item {
	padding:0.5em 1em;
	border: 1px dotted $field_delimiter_color;
	cursor: grab;
}
.alliance_sortable .alliance_sortable_placeholder {
	background-color:#ecfbff;
	border: 2px dashed #87c9e1 !important;
	min-height: 3em;
}
.alliance_sortable .alliance_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 .alliance_options select {
		font-size: 1em;
		line-height: 1.7em;
		height: 31px;
	}
}

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

/* Responsive options */
$bp_size: 1.75em;
.alliance_options_item_responsive {
	.alliance_options_item_title {
		@include inline-flex;
		@include flex-align-items(center);
	}
	.alliance_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;

			.alliance_options_responsive_buttons_wrap {
				z-index: 2;
				background-color: #fff;
				@include box-shadow(0 0 5px 0 rgba(0, 0, 0, 0.1));
			}
		}
	}
	.alliance_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) {
	// 	.alliance_options_responsive_buttons {
	// 		display: block;
	// 		margin: 0.3em 0 0 0;
	// 	}
	// }
	[class*="alliance_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^="alliance_options_field_"][data-responsive] {
		display: none;
	}
	@each $bp in $responsive_breakpoints {
		$i: index($responsive_breakpoints, $bp) - 1;
		.alliance_options[data-responsive="#{$bp}"] & {
			.alliance_options_responsive_buttons_wrap {
				top: -$i * $bp_size;
			}
			.alliance_options_responsive_buttons.opened .alliance_options_responsive_button_#{$bp} {
				color: $accent_color;
			}
			[name^="alliance_options_field_"][data-responsive="#{$bp}"] {
				display: block;
			}
		}
	}
}

/* Columns */
[class*="alliance_column-"] {
	display:inline-block;
	vertical-align:top;
	padding-right: 20px;
	@include border-box;
}
.alliance_column-1_2 { width: 50%; }
.alliance_column-1_3 { width: 33.3333%; }
.alliance_column-2_3 { width: 66.6667%; }
.alliance_column-1_4 { width: 25%; }
.alliance_column-2_4 { width: 50%; }
.alliance_column-3_4 { width: 75%; }
.alliance_column-1_5 { width: 20%; }
.alliance_column-2_5 { width: 40%; }
.alliance_column-3_5 { width: 60%; }
.alliance_column-4_5 { width: 80%; }
@media (max-width: 1279px) {
	.alliance_column-1_4,
	.alliance_column-3_4,
	.alliance_column-1_5,
	.alliance_column-2_5,
	.alliance_column-3_5,
	.alliance_column-4_5 { width: 50%; }
}
@media (max-width: 1023px) {
	.alliance_options_item[class*="column-"],
	.alliance_column-1_2,
	.alliance_column-1_3,
	.alliance_column-2_3,
	.alliance_column-1_4,
	.alliance_column-2_4,
	.alliance_column-3_4,
	.alliance_column-1_5,
	.alliance_column-2_5,
	.alliance_column-3_5,
	.alliance_column-4_5 {
		width: 100%;
		padding-right: 0 !important;
	}
}
[class*="alliance_column-"] .alliance_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*="alliance_column-"] .alliance_options_item_data {
	text-align: left;
	float: none;
	width: auto;
	min-width: 0;
	max-width: none;
	display:block;
}
.alliance_options_item[class*="alliance_column-"] {
	border-width:0 !important;
}


/* Single option: Common rules */
.alliance_options_item {
	padding: 1.65em 0 2em;
}
.alliance_options_item_compact {
	padding: 0.25em 0;
}
.alliance_options_item_info + .alliance_options_item_compact {
	padding-top: 1.65em;
}
.alliance_options_item[class*="column-"] {
	padding: 1.25em 2em 1.25em 0;
}
.alliance_options_item:not(.alliance_options_item_info):not(.alliance_options_item_compact) + .alliance_options_item:not(.alliance_options_item_info):not(.alliance_options_item_compact) {
	border-top: 1px solid $field_delimiter_color;
}
.alliance_options_item:after {
	content: ' ';
}
.alliance_new_row_before,
.alliance_options_item:after {
	display:block;
	@include box(100%, 0);
	clear: both;
}
.alliance_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;
}
.alliance_options_item_title_override {
	cursor: help;
}
.alliance_options_item_data {
	display:inline-block;
	vertical-align:top;
	width: calc(100% - 250px);
	min-width:248px;
	max-width:700px;
}
.alliance_options_item_text_editor .alliance_options_item_data {
	max-width: 800px;
}
.alliance_options_item_text_editor iframe {
	min-height: 200px;
}
.alliance_options_item_field {
	position:relative;
	max-width: 42%;
}
.alliance_options_item_slider .alliance_options_item_field {
	max-width: 60%;
}
.alliance_options_item_map .alliance_options_item_field,
.alliance_options_item_media .alliance_options_item_field,
.alliance_options_item_audio .alliance_options_item_field,
.alliance_options_item_video .alliance_options_item_field,
.alliance_options_item_image .alliance_options_item_field,
.alliance_options_item_icon .alliance_options_item_field,
.alliance_options_item_choice .alliance_options_item_field,
.alliance_options_item_radio .alliance_options_item_field,
.alliance_options_item_textarea .alliance_options_item_field,
.alliance_options_item_text_editor .alliance_options_item_field,
.alliance_options_item_presets .alliance_options_item_field,
.alliance_options_item_checklist .alliance_options_item_field_horizontal {
	max-width: 100%;
}
@media (max-width: 1279px) {
	.alliance_options_item_field,
	.alliance_options_item_slider .alliance_options_item_field {
		max-width: 100%;
	}	
}
@media (max-width: 1023px) {
	.alliance_options_item_title {
		width: 190px;
	}
	.alliance_options_item_data {
		width: calc(100% - 230px);
	}
}
@media (max-width: 767px) {
	.alliance_options_item_title,
	.alliance_options_item_data {
		width: 100%;
		margin-right: 0;
		padding-right: 0;
		display: block;
	}
}
[class*="alliance_column-"] .alliance_options_item_field {
	max-width: none !important;
}

#side-sortables {
	.alliance_tabs_vertical .alliance_tabs_section {
		width: 100%;
	}
	.alliance_options_item_title {
		float: none;
		text-align: left;
	}
	.alliance_options_item_data {
		float: none;
		width: 100%;
		min-width: 0;
		padding-left: 0;
	}
	.alliance_options_item_field {
		max-width: none;
	}
	.alliance_options_item {
		padding: 1em 0;
	}
}

.alliance_options_item_description {
	@include font(1em, 1.35em, normal, italic);
	margin-top: 0.5em;
	color: $field_description_color;
}
.alliance_options_item * {
	-webkit-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
}
.alliance_options_item_color .wp-picker-holder,
.alliance_options_item_color .wp-picker-holder * {
	-webkit-box-sizing: content-box !important;
	-ms-box-sizing: content-box !important;
	box-sizing: content-box !important;	
}
.alliance_options_item {
	textarea, input, select {
		padding: 2px 8px 4px;
		margin: 0;
	}
	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 */
.alliance_options_item_info {
	padding: 0 0 2.1em;
	border-bottom: 1px solid $field_delimiter_color;
	position: relative;
}
.alliance_options_item_info:not(:first-child) {
	padding-top: 4.75em;
}
.alliance_options_item_info .alliance_options_item_title,
.alliance_options_item_info .alliance_options_item_data {
	float:none;
	width: 100%;
}
.alliance_options_item_info .alliance_options_item_title {
	text-align: left;
	margin: 0;
	@include font(20px, 1.5em, 600);
}
.alliance_options_item_info .alliance_options_item_description {
	color: $field_description_color;
	font-size: 1em;
	font-style: normal;
	margin-top: 0.5em;
}

/* Checkbox and Checklist */
.alliance_options_item_checkbox .alliance_options_item_label,
.alliance_options_item_checklist .alliance_checklist_item_label {
	line-height:28px;
	padding-left: 2px;
}
.alliance_options_item_checkbox input[type="checkbox"],
.alliance_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;
}
.alliance_options_item_checkbox input[type="checkbox"]:focus,
.alliance_options_item_checklist input[type="checkbox"]:focus {
	outline: 0;
	@include border-sharp;
}
.alliance_options_item_checkbox input[type="checkbox"]:focus:after,
.alliance_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;
}
.alliance_options_item_checkbox input[type="checkbox"]:checked,
.alliance_options_item_checklist input[type="checkbox"]:checked {
	border-color: $accent_color;
	background-color: $accent_color;
}
.alliance_options_item_checkbox input[type="checkbox"]:checked:before,
.alliance_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);
}
.alliance_options_item_checkbox input[type="checkbox"]:checked:focus:after,
.alliance_options_item_checklist input[type="checkbox"]:checked:focus:after {
	@include abs-lt(-4px, -4px);
	@include square(20px);
	border-width: 2px;
}
.alliance_options_item_checkbox .alliance_options_item_description {
	margin-top: 0.2em;
}
.alliance_options_item_checklist .alliance_options_item_description {
	margin-top: 0.5em;
}

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

	&:focus {
		outline: 0;
	}
}
.alliance_options_item_switch .alliance_options_item_holder_back {
	display: block;
	@include box(35px, 11px);
	@include border-radius(6px);
	margin-top: 5px;
	background-color: $icons_border_color;
}
.alliance_options_item_switch .alliance_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);
}
.alliance_options_item_switch .alliance_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;
}
.alliance_options_item_switch .alliance_options_item_holder:hover .alliance_options_item_holder_handle:after,
.alliance_options_item_switch .alliance_options_item_holder:focus .alliance_options_item_holder_handle:after {
	content: ' ';
	opacity: 0.2;
	@include scale(1.9524);
}
.alliance_options_item_switch input:checked + .alliance_options_item_holder .alliance_options_item_holder_handle {
	background-color: $accent_color;
	@include translateX(14px);
}
.alliance_options_item_switch input:checked + .alliance_options_item_holder .alliance_options_item_holder_handle:after {
	background-color: $accent_color;
}

/* Radio */
.alliance_options_item_radio .alliance_options_item_label {
	display:inline-block;
	vertical-align: top;
	line-height:28px;
	margin: 0 1em 0 0;
}
.alliance_options_item_radio input,
.alliance_options input[type="radio"] {
	display: none !important;
}
.alliance_options_item_radio .alliance_options_item_holder,
.alliance_options input[type="radio"] + .alliance_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);
}
.alliance_options_item_radio .alliance_options_item_holder:before,
.alliance_options input[type="radio"] + .alliance_options_item_holder:before {
	content: ' ';
	display: block;
	@include square(12px);
	@include border-round;
	@include abs-cc(2);
	background-color: #fff;
	@include content-box;
}
.alliance_options_item_radio .alliance_options_item_holder:focus,
.alliance_options input[type="radio"] + .alliance_options_item_holder:focus {
	outline: 0;
}
.alliance_options_item_radio .alliance_options_item_holder:focus:after,
.alliance_options input[type="radio"] + .alliance_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;
}
.alliance_options_item_radio input:checked + .alliance_options_item_holder,
.alliance_options input[type="radio"]:checked + .alliance_options_item_holder {
	background-color: $accent_color;
}
.alliance_options_item_radio input:checked + .alliance_options_item_holder:before,
.alliance_options input[type="radio"]:checked + .alliance_options_item_holder:before {
	@include square(6px);
}
.alliance_options_item_radio input:checked + .alliance_options_item_holder:focus:before,
.alliance_options input[type="radio"]:checked + .alliance_options_item_holder:focus:before {
	border: 5px solid $accent_color;
}
.alliance_options_item_radio input:checked + .alliance_options_item_holder:focus:after,
.alliance_options input[type="radio"]:checked + .alliance_options_item_holder:focus:after {
	@include abs-lt(-2px, -2px);
	@include square(20px);
}
.alliance_options_item_radio .alliance_options_item_description {
	margin-top: 0.2em;
}

/* Choice */
.alliance_options_item_choice .alliance_options_item_data {
	max-width: 740px;
}
.alliance_options_override .alliance_options_item_choice .alliance_options_item_data {
	max-width: none;
}
.alliance_list_choice_rows_separator {
	display: block;
	@include box(100%, 0);

	.customize-control-field-wrap & {
		display: none;
	}
}
.alliance_list_choice_item {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	cursor: pointer;
}
.alliance_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;
}
.alliance_list_choice_item.alliance_list_active  .alliance_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;
}
.alliance_list_choice_item_icon > img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	background-color: #fff;
}
.alliance_list_choice_item_title {
	display: block;
	margin: 5px 0 10px;
	color: $text_light;
	font-weight: 600;
	max-width: 120px;
	@include transition-property(color);
}
.alliance_list_choice_item:hover  .alliance_list_choice_item_icon,
.alliance_list_choice_item:focus  .alliance_list_choice_item_icon {
	border-color: $icons_border_hover;
}
.alliance_list_choice_item:hover .alliance_list_choice_item_title,
.alliance_list_choice_item:focus .alliance_list_choice_item_title {
	color: $text_dark;
}
.alliance_list_choice_item.alliance_list_active  .alliance_list_choice_item_icon {
	border: 2px solid $accent_color;
	margin: 0;
}
.alliance_list_choice_item.alliance_list_active .alliance_list_choice_item_title {
	color: $accent_color;
	margin-top: 4px;
}
.alliance_list_choice_item:focus {
	outline: none;
}
.alliance_list_choice_item:focus  .alliance_list_choice_item_icon {
	@include box-shadow(0 0 0 3px $field_outline_light);
}

/* Color */
.alliance_options_item_color .alliance_options_item_description {
	margin-top: 0.5em;
}

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

/* Media, audio, video */
.alliance_options_item_media .alliance_media_selector_preview > .alliance_media_selector_preview_image,
.alliance_options_item_audio .alliance_media_selector_preview > .alliance_media_selector_preview_image,
.alliance_options_item_video .alliance_media_selector_preview > .alliance_media_selector_preview_image {
	background-image: none;
	overflow: visible;
}
.alliance_options_item_media .alliance_media_selector_preview > .alliance_media_selector_preview_image:after,
.alliance_options_item_audio .alliance_media_selector_preview > .alliance_media_selector_preview_image:after,
.alliance_options_item_video .alliance_media_selector_preview > .alliance_media_selector_preview_image:after {
	margin: -1.25em -1.25em 0 0;
}


/* Media selector
----------------------------------------- */
.alliance_media_selector_preview {
	display: none;
	margin-right: -2.3333%
}
.alliance_media_selector_preview.alliance_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);
}
.alliance_media_selector_preview img {
	display: inline-block;
	vertical-align: top;
	@include box(auto, auto);
	max-width: 100%;
	max-height: 150px;
}
.alliance_media_selector_preview > img,
.alliance_media_selector_preview > .alliance_media_selector_preview_image {
	margin: 0 2.3333% 1.3333% 0;
	position:relative;
}
.alliance_media_selector_preview > .alliance_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;
}
.alliance_media_selector_preview_single {
	max-width: none;	//Old value - 60%;
}
.alliance_media_selector_preview_single > .alliance_media_selector_preview_image {
	@include flex-basis(initial);
//	max-height: none;
}
.alliance_media_selector_preview_single img {
//	max-height: none;
}
.alliance_media_selector_preview > .alliance_media_selector_preview_image:focus {
	outline: 0;
	border-color: $field_outline_color;
}
.alliance_media_selector_preview > .alliance_media_selector_preview_image > a {
	padding:0.3em 0.5em;
}
.alliance_media_selector_preview > .alliance_media_selector_preview_image:before {
	content: ' ';
	@include bg-mask(#0f1011, 0.5);
	opacity: 0;
	pointer-events: none;
	@include transition-properties(background-color,opacity);
}
.alliance_media_selector_preview > .alliance_media_selector_preview_image:focus:before,
.alliance_media_selector_preview > .alliance_media_selector_preview_image:hover:before {
	opacity: 1;
}
.alliance_media_selector_preview > .alliance_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);
}
.alliance_media_selector_preview > .alliance_media_selector_preview_image:focus:after,
.alliance_media_selector_preview > .alliance_media_selector_preview_image:hover:after {
	/*
	color: $field_outline_color;
	background-color: #ebebeb;
	*/
	opacity: 1;
}

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


/* Inherit state */
.alliance_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;
}
.alliance_options_inherit_lock:before {
	content: '\e97b';
	font-family: $theme_icons;
	padding:0;
	margin: -3px 0 0;
	display: inline-block;
	vertical-align: top;
}
.alliance_options_inherit_off .alliance_options_inherit_lock {
	color: #fff;
	border: none;
	background-color: $accent_color;
	@include square(23px);
	right: 4px;
	top:-1px;
}
.alliance_options_inherit_off .alliance_options_inherit_lock:before {
	content: '\e97c';
	margin-top: -1px;
}
.alliance_options_inherit_lock:focus {
	outline: 0;
	@include box-shadow(0 0 0 3px $field_outline_light);
}
.alliance_options_inherit_cover {
	@include bg-mask($border_light, 1, 3);
	background-image:url(../images/stripe-black.png);
	bottom: -1px;
	cursor: pointer;
}
.alliance_options_inherit_label {
	@include abs-cc;
	display:inline-block;
	vertical-align: top;
	@include font(18px, 1em, 600);
	color: $field_text_color;
}
.alliance_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);
}
.alliance_options_inherit_on {
	.alliance_options_item_field > *:not(.alliance_options_inherit_cover) {
		visibility: hidden;
	}
	.alliance_options_group_fields {
		max-height: 8em;
		overflow: hidden;
	}
}


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

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

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

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


/* Color scheme editor
-------------------------------------------------- */
.alliance_scheme_editor {
	margin-bottom:1em;
}
.alliance_scheme_editor_scheme {
	margin-bottom: 10px;
	padding-right: 105px;
	position: relative;
}
.alliance_scheme_editor_controls {
	@include abs-rt(0, 1px, 1);
	bottom: 0;
}
.alliance_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);
}
.alliance_scheme_editor_control:hover {
	background-color: #eee;
	color: #333;
}
@media (max-width: 782px) {
	.alliance_scheme_editor_control {
		height: 35px;
		line-height: 33px;
	}
}

.alliance_scheme_editor_control:before {
	font-family: 'fontello';
	font-size: 1.15em;
}
.alliance_scheme_editor_control_reset:before {
	content: '\e80e';
}
.alliance_scheme_editor_control_copy:before {
	content: '\f0c5';
}
.alliance_scheme_editor_control_delete:before {
	content: '\e8da';
}
.alliance_scheme_editor_type {
	margin: 1.5em 0;
}
.alliance_scheme_editor_type .alliance_scheme_editor_row {
	border: none;
}
.alliance_scheme_editor_type label+label {
	margin-left: 1em;
}
.alliance_scheme_editor_type .alliance_scheme_editor_description {
	font-style:italic;
	font-size:0.9em;
}
.alliance_scheme_editor_header,
.alliance_scheme_editor_row {
	@include flex;
	@include flex-direction(row);
	@include flex-wrap(nowrap);
}
.alliance_scheme_editor_row {
	margin-top: 8px;
}
.alliance_scheme_editor_header_cell,
.alliance_scheme_editor_row_cell {
	display:inline-block;
	vertical-align:middle;
	min-width: 50px;
	@include border-box;
}
.alliance_scheme_editor_row_cell_color {
	margin-left: 6px;
	text-align: center;
}
.alliance_scheme_editor_header_cell:first-child,
.alliance_scheme_editor_row_cell:first-child {
	min-width: 120px;
	text-transform: capitalize;
}
.alliance_scheme_editor_row_cell_span {
	min-width: 280px;
}
.alliance_scheme_editor_header_cell {
	font-weight: bold;
	text-align:center;
}
.customize-control-wrap {
	.alliance_scheme_editor_header_cell,
	.alliance_scheme_editor_row_cell {
		min-width: 40px;
	}
	.alliance_scheme_editor_header_cell:first-child,
	.alliance_scheme_editor_row_cell:first-child {
		min-width: 70px;
	}
	.alliance_scheme_editor_row_cell_span {
		min-width: 100px;
	}
}
@media (max-width: 767px) {
	.alliance_scheme_editor_header_cell,
	.alliance_scheme_editor_row_cell {
		min-width: 35px;
	}
	.alliance_scheme_editor_header_cell:first-child,
	.alliance_scheme_editor_row_cell:first-child {
		min-width: 100px;
	}
	.alliance_scheme_editor_row_cell_span {
		min-width: 180px;
	}
}
.alliance_scheme_editor_row_hidden {
	display: none !important;
}


/* Options presets
-------------------------------------------------- */
.alliance_options_item {
	.alliance_options_presets_list,
	.alliance_options_presets_apply,
	.alliance_options_presets_add,
	.alliance_options_presets_delete {
		display: inline-block;
		vertical-align: top;
		margin-right: 0.5em;
	}
	.alliance_options_presets_list {
		width: 40%;
	}
	.alliance_options_presets_apply,
	.alliance_options_presets_add,
	.alliance_options_presets_delete {
		@include square(28px);
		line-height: 24px;
		padding: 0;
		font-size: 12px;
	}
}

.alliance_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;
	}
}
.alliance_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 */
.alliance_theme_panel_table_row {
	width:100%;
	border-bottom: 1px solid #ddd;
	overflow: hidden;
}
.alliance_theme_panel_table_row:last-child {
	border-bottom: none;
}
.alliance_theme_panel_table_row > div {
	padding: 2em 0;
	@include border-box;
	float: left;
}
.alliance_theme_panel_table_head > div {
	font-size:1.1538em;
	font-weight:bold;
	text-align: center;
}
.alliance_theme_panel_table_row > div + div {
	padding: 2em 1em;
	text-align: center;
}
.alliance_theme_panel_table_info {
	width: 70%;
}
.alliance_theme_panel_table_check {
	width: 15%;
	text-align: center;
}
@media (max-width: 767px) {
	.alliance_theme_panel_table_head .alliance_theme_panel_table_info {
		display: none;
	}
	.alliance_theme_panel_table_info {
		width: 100%;
		padding-top: 0;
	}
	.alliance_theme_panel_table_check {
		width: 50%;
		padding-top: 0;
	}
}
.alliance_theme_panel_table_info_title {
	margin-top: 0;
	margin-bottom: 0.3em;
}
.alliance_theme_panel_table_check .dashicons {
	@include font(2em, 1em);
	@include box(1em, 1em);
}
.alliance_theme_panel_table_check .dashicons:before {
	font-size: 1em;
}
.alliance_theme_panel_table_check .dashicons-yes:before {
	color:#00aa00;
}
.alliance_theme_panel_table_check .dashicons-no:before {
	color:#aa0000;
}

/* Button */
.trx_addons_theme_panel_theme_inactive .alliance_pro_link {
	margin-top: 1em;
}
.alliance_theme_panel_table_check .alliance_pro_link {
	margin-top: 0;
}

/* Form */
.alliance_pro_form_wrap {
	display: none;
	@include fixed-cover(10001);	/* admin sidemenu have 9990 */
	background-color: rgba(0,0,0,0.5);
}
.alliance_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) {
	.alliance_pro_form {
		width: 300px;
	}
}
.customize-control-wrap .alliance_pro_form_wrap,
.alliance_options_item_field .alliance_pro_form_wrap {
	display: block;
	position: static;
	background-color: transparent;

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

}
.alliance_options_item_field .alliance_pro_form_wrap .alliance_pro_form {
	margin-top: 0;
}
.alliance_options_item.alliance_options_item_get_pro_version .alliance_options_item_field {
	max-width: 70%;
}

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

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

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

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