/**
 * Greyd Plugin Admin Styles
 * 
 * This style is loaded on admin screens only.
 *
 * @package Greyd
 */
:root {
	--wp-admin-theme-color: #007cba;
	--wp-admin-theme-color--rgb: 0, 124, 186;
	--wp-admin-theme-color-darker-10: #006ba1;
	--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
	--wp-admin-theme-color-darker-20: #005a87;
	--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
	--wp-admin-border-width-focus: 2px;

	--wp-admin-color-dark: #1e1e1e;
	--wp-admin-color-medium: #868A8F;
	--wp-admin-color-light: #dddddd;
	--wp-admin-color-offwhite: #f0f0f0;

	--greyd-gap-y: max(1em, 3vh);
	--greyd-gap-x: max(1em, 3vw);
	--greyd-gap-small: calc(var(--greyd-gap-y) * 0.66);
	--greyd-gap-tiny: calc(var(--greyd-gap-y) * 0.42);
}

/**
 * Temporary site editor fix.
 * Can be removed in future versions.
 */
#site-editor {
	height: 100%;
}

/**
 * General
 */
.is-hidden {
	display: none !important;
}

.wp-admin > pre {
	margin-left: 160px;
}


/**
 * Greyd Admin menu item
 */
#toplevel_page_greyd_dashboard.current img {
	opacity: 1;
}

#toplevel_page_greyd_dashboard.current::after {
	border-right-color: #ffffff;
}

/**
 * Page title action buttons
 */
.wrap .wp-heading-inline + .page-title-action ~ .page-title-action {
	margin-right: 3px;
}
.wrap .page-title-action:has( .dashicons ) {
	display: inline-flex;
	align-items: center;
}

/**
 * Buttons
 */
.button {
	margin-bottom: 12px;
	text-align: center;
}

@media(min-width: 961px) {
	.button.large {
		font-size: 15px;
		padding: 10px 20px;
		line-height: normal;
		height: auto;
	}
}

.button .dashicons {
	vertical-align: middle;
}

.wp-cancel-pw > .dashicons,
.wp-hide-pw > .dashicons {
	top: -.1em;
}

.button .dashicons.resize {
	width: 1.1em;
	height: 1.1em;
	font-size: 1.1em;
	line-height: inherit;
	vertical-align: inherit;
}

.button .dashicons.resize:first-child:last-child {
	line-height: 200%;
}

.button.small {
	font-size: 12px;
	line-height: 2;
	min-height: 2em;
}

.button.tiny {
	font-size: 11px;
	line-height: 1.8;
	min-height: 2em;
}

.button.small .dashicons,
.button.tiny .dashicons {
	width: 1em;
	height: 1em;
	font-size: 1em;
	margin-top: -2px;
}

.button.huge {
	font-size: 15px;
	padding: 3px 20px;
}

.button-ghost,
.wp-core-ui .button-ghost {
	color: #666666;
	border-color: #666666;
	background-color: rgba(230, 230, 230, .5);
}

.button-ghost:hover,
.wp-core-ui .button-ghost:hover {
	color: #0c0c0c;
	border-color: #0c0c0c;
	background-color: rgba(230, 230, 230, .5);
}

.button-danger,
.wp-core-ui .button-danger {
	color: #B43131;
	border-color: #B43131;
	background-color: rgba(250, 215, 215, .5);
}

.button-danger:hover,
.wp-core-ui .button-danger:hover {
	color: #7f1919;
	border-color: #7f1919;
	background-color: rgba(250, 215, 215, .5);
}

.button-primary.button-danger,
.wp-core-ui .button-primary.button-danger {
	color: #fff;
	border-color: #B43131;
	background-color: #B43131;
}

.button-primary.button-danger:hover,
.wp-core-ui .button-primary.button-danger:hover {
	color: #fff;
	border-color: #7f1919;
	background-color: #7f1919;
}

.button-dark,
.wp-core-ui .button-dark {
	color: #fff;
	border-color: #1e1e1e;
	background-color: #1e1e1e;
}

.button-dark:hover,
.wp-core-ui .button-dark:hover {
	color: #fff;
	border-color: #444444;
	background-color: #444444;
}

.button-tertiary,
.wp-core-ui .button-tertiary {
	background-color: transparent;
	color: var(--wp-admin-theme-color, #007cba);
	border-color: transparent;
}

.button-tertiary:hover,
.wp-core-ui .button-tertiary:hover,
.button-tertiary:focus,
.wp-core-ui .button-tertiary:focus {
	background-color: transparent;
	color: var(--wp-admin-theme-color-darker-10, #006ba1);
	border-color: var(--wp-admin-theme-color-darker-10, #006ba1);
}


/**
 * Greyd Button
 */
.button-greyd,
.wp-core-ui .button-greyd {
	/* transform: scale(3); */
	color: #1f0026;
	border-color: #f2b25a;
	background: linear-gradient(150deg, #f9dd61 0%, #f2b25a 33%, #9674EB 66%, #4f309e 100%);
	background-size: 400% 250%;
	background-position: 0 0;
	transition: all .3s ease-out;
}

.button-greyd:hover,
.wp-core-ui .button-greyd:hover {
	color: #fff;
	border-color: #4f309e;
	background: linear-gradient(150deg, #f9dd61 0%, #f2b25a 33%, #9674EB 66%, #4f309e 100%);
	background-size: 400% 250%;
	background-position: 100% 100%;
}

.button-greyd .dashicons,
.wp-core-ui .button-greyd .dashicons {
	transition: none;
}

/**
 * Colors
 */
.color_green {
	color: #219653 !important;
}

.color_red {
	color: #EB5757 !important;
}

.color_light {
	color: #868A8F !important;
}

/**
 * Flex Classes
 */
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.flex-center {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.flex-vertical {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.flex-start {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.flex-end {
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}


/**
 * Greyd Tabs
 */
.greyd_tabs {
	display: flex;
	position: relative;
	height: 36px;
	margin: 20px -20px 20px -23px;
	padding: 0px 15px 0 18px;
	background-image: linear-gradient(180deg, #f1f1f1 0%, #e2e2e2 100%);
	width: calc(100% - 10px);
	overflow: auto;
	isolation: isolate;
}

.greyd_tabs::before {
	content: " ";
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	bottom: 0;
	border-bottom: 1px solid #c4c4c4;
	z-index: -1;
}

.greyd_tabs .tab {
	display: flex;
	position: relative;
	align-items: center;
	font-size: 13px;
	font-weight: 400;
	margin: 0px 5px;
	padding: 0px 20px;
	color: #575756;
	background: #d7d7d7;
	border: 1px solid #c4c4c4;
	text-decoration: none;
	box-shadow: none;
	outline: 0;
	cursor: pointer;
	white-space: nowrap;
}

.greyd_tabs .tab:hover {
	color: #1e1f1f;
	background: #f1f1f1;
}

.greyd_tabs .tab:not(.active) {
	z-index: -2;
}

.greyd_tabs .tab.active {
	font-weight: 600;
	color: #1e1f1f;
	background: #f1f1f1;
	border-top-width: 3px;
	border-bottom: 1px solid transparent;
	border-top-color: #505050;
}

.greyd_tabs .tab.blue:hover,
.greyd_tabs .tab.active.blue {
	border-top-color: rgba(47, 128, 237, 1);
}

.greyd_tabs .tab.wp:hover,
.greyd_tabs .tab.active.wp {
	border-top-color: #3072A6;
}

.greyd_tabs .tab.green:hover,
.greyd_tabs .tab.active.green {
	border-top-color: rgba(39, 174, 96, 1);
}

.greyd_tabs .tab.orange:hover,
.greyd_tabs .tab.active.orange {
	border-top-color: rgba(242, 153, 74, 1);
}

.greyd_tabs .tab.red:hover,
.greyd_tabs .tab.active.red {
	border-top-color: rgba(235, 87, 87, 1);
}

.greyd_tabs .tab.purple:hover,
.greyd_tabs .tab.active.purple {
	border-top-color: #9b51e0;
}

.greyd_tabs .tab.greyd:hover,
.greyd_tabs .tab.active.greyd {
	border-top-color: #f2b25a;
}

.greyd_tabs .tab .dashicons {
	margin-right: 6px;
}


/**
 * =================================================================
 *                          Greyd Tables
 * =================================================================
 */
.greyd_table {
	position: relative;
	background: white;
	border: 1px solid var(--wp-admin-color-light);
	padding: 12px;
	border-collapse: collapse;
	margin: 12px 0;
	width: 100%;
}

.greyd_table.vertical {
	width: auto;
}

.greyd_table th,
.greyd_table td,
.greyd_table .th,
.greyd_table .td {
	text-align: left;
	padding: 12px 20px;
	vertical-align: middle;
	color: #575756;
}

.greyd_table th,
.greyd_table td,
.greyd_table .tr {
	border-bottom: 1px solid var(--wp-admin-color-light);
}

.greyd_table .tfoot .tr:last-child {
	border-bottom: none;
}

.greyd_table tr th,
.greyd_table .thead .tr {
	background: #f5f5f5;
	color: #868A8F;
	font-size: smaller;
	font-weight: normal;
}

.greyd_table tr th,
.greyd_table .tr .th {
	padding: 8px 20px;
}

.greyd_table.vertical th,
.greyd_table.vertical .th {
	border-bottom: none;
	border-right: 1px solid var(--wp-admin-color-light);
}

.greyd_table.vertical td,
.greyd_table.vertical .td {
	border-bottom: none;
}

.greyd_table h1,
.greyd_table h2,
.greyd_table h3,
.greyd_table h4,
.greyd_table h5,
.greyd_table h6,
.greyd_table p {
	margin: 0 0 .35em 0;
	color: #575756;
}

.greyd_table .tfoot .tr .td,
.greyd_table tfoot tr td {
	background-color: #f5f5f5;
}

.greyd_table.disabled,
#titlewrap.disabled {
	pointer-events: none;
	opacity: 0.4;
}

/* Flex Table */
div.greyd_table,
.greyd_table ul,
.greyd_table li {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.greyd_table ul.tr {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.greyd_table li.th,
.greyd_table li.td {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-ms-flex-negative: 1;
	flex-shrink: 1;
	-ms-flex-preferred-size: 100px;
	flex-basis: 100px;
}

/* Small Table */
.greyd_table.small {
	width: auto;
}

.greyd_table.small th,
.greyd_table.small td,
.greyd_table.small .th,
.greyd_table.small .td {
	padding: 8px 12px;
}

.greyd_table.small tr th,
.greyd_table.small .tr .th {
	padding: 6px 12px;
}


/**
 * =================================================================
 *                          Greyd Tiles
 * =================================================================
 */
.greyd_tile {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	padding: 0 20px;
	width: 340px;
	font-size: 14px;
	background: #FFFFFF;
	-webkit-box-shadow: 0 13px 27px -5px rgba(50, 50, 50, .125), 0 8px 16px -8px rgba(0, 0, 0, .15), 0 -6px 16px -6px rgba(0, 0, 0, .0125);
	box-shadow: 0 13px 27px -5px rgba(50, 50, 50, .125), 0 8px 16px -8px rgba(0, 0, 0, .15), 0 -6px 16px -6px rgba(0, 0, 0, .0125);
	border-radius: 2px;
	-webkit-transition: -webkit-box-shadow 400ms cubic-bezier(.16, 1, .29, .99);
	transition: -webkit-box-shadow 400ms cubic-bezier(.16, 1, .29, .99);
	transition: box-shadow 400ms cubic-bezier(.16, 1, .29, .99);
	transition: box-shadow 400ms cubic-bezier(.16, 1, .29, .99), -webkit-box-shadow 400ms cubic-bezier(.16, 1, .29, .99);
}

.greyd_tile:hover {
	-webkit-box-shadow: 0 20px 40px -8px rgba(50, 50, 50, .25), 0 12px 24px -13px rgba(0, 0, 0, .3), 0 -9px 24px -7px rgba(0, 0, 0, .025);
	box-shadow: 0 20px 40px -8px rgba(50, 50, 50, .25), 0 12px 24px -13px rgba(0, 0, 0, .3), 0 -9px 24px -7px rgba(0, 0, 0, .025);
	-webkit-transition-duration: 600ms;
	transition-duration: 600ms;
}

/* wrapper */
.greyd_tile_wrapper {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
	gap: 1.5vw;
}

.greyd_tile_wrapper .greyd_tile {
	width: auto;
	max-width: 340px;
}

.greyd_tile_wrapper .greyd_tile:first-child:last-child {
	/* single site */
	width: 340px !important;
	max-width: 100% !important;
}

.greyd_tile > div {
	margin: 10px 0;
	padding: 1px 0;
}

.greyd_tile a {
	font-size: .9em;
	margin-bottom: 3px;
	cursor: pointer;
	text-decoration: underline;
}


/**
 * =================================================================
 *                          Greyd Info Box
 * =================================================================
 */
.greyd_info_box {
	color: #172b4d;
	padding: 8px 12px;
	border-radius: .3em;
	background: rgba(0, 0, 0, .05);
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	margin-bottom: 1em;
}

.greyd_info_box > .dashicons {
	margin: 0 .4em 0 0;
	font-size: 1.45em;
	height: 1em;
	width: 1em;
}

.greyd_info_box > div > b:first-child {
	display: block;
	margin-bottom: 4px
}

.greyd_info_box > div > p {
	margin: 0px;
}

/* blue styling  */
.greyd_info_box.blue,
.greyd_info_box.info {
	background: rgba(47, 128, 237, .2);
}

.greyd_info_box.blue > .dashicons,
.greyd_info_box.info > .dashicons {
	color: rgba(47, 128, 237, 1);
}

/* green styling  */
.greyd_info_box.green,
.greyd_info_box.success {
	background: rgba(39, 174, 96, .2);
}

.greyd_info_box.green > .dashicons,
.greyd_info_box.success > .dashicons {
	color: rgba(39, 174, 96, 1);
}

/* orange styling  */
.greyd_info_box.orange,
.greyd_info_box.warning {
	background: rgba(242, 153, 74, .2);
}

.greyd_info_box.orange > .dashicons,
.greyd_info_box.warning > .dashicons {
	color: #E1822E;
}

/* red styling  */
.greyd_info_box.red,
.greyd_info_box.alert,
.greyd_info_box.danger,
.greyd_info_box.error {
	background: rgba(235, 87, 87, .2);
}

.greyd_info_box.red > .dashicons,
.greyd_info_box.alert > .dashicons,
.greyd_info_box.danger > .dashicons,
.greyd_info_box.error > .dashicons {
	color: #EB5757;
}

/* purple styling  */
.greyd_info_box.new,
.greyd_info_box.purple {
	background: rgba(155, 81, 224, .2);
}

.greyd_info_box.new > .dashicons,
.greyd_info_box.purple > .dashicons {
	color: #9b51e0;
}

/* greyd styling  */
.greyd_info_box.greyd {
	background: linear-gradient(135deg, rgba(249, 221, 97, .4) 0%, rgba(242, 178, 90, .4) 100%);
}

.greyd_info_box.greyd > .dashicons {
	color: #f2b25a;
}

/* clear styling  */
.greyd_info_box.clear {
	color: inherit;
	padding: 0;
	background: transparent;
}

.greyd_info_box.clear > .dashicons {
	display: none;
}


/**
 * =================================================================
 *                          Greyd Info Popup
 * =================================================================
 */
.greyd_popup_wrapper {
	position: relative;
	font-size: 14px;
	font-weight: 400;
}

.greyd_popup_wrapper .toggle {
	cursor: pointer;
	position: relative;
}

.greyd_popup_wrapper .popup {
	position: absolute;
	display: block;
	z-index: -999;
	right: -6px;
	top: -6px;
	padding: 12px 12px 4px;
	width: 240px;
	border-radius: 4px;
	background: #fff;
	-webkit-box-shadow: 0px 5px 14px -2px rgba(0, 0, 0, .2);
	box-shadow: 0px 5px 14px -2px rgba(0, 0, 0, .2);

	opacity: 0;
	-webkit-transform: rotate(-2deg) scale(.8) rotate3d(2, 3, .5, -20deg) translate(40px, 0px);
	transform: rotate(-2deg) scale(.8) rotate3d(2, 3, .5, -20deg) translate(40px, 0px);
}

.greyd_popup_wrapper .popup.bottom {
	top: auto;
	bottom: -6px;
	-webkit-transform: rotate(3deg) scale(.8) rotate3d(2, 3, .5, 20deg) translate(50px, 20px);
	transform: rotate(3deg) scale(.8) rotate3d(2, 3, .5, 20deg) translate(50px, 20px);
}

.greyd_popup_wrapper .popup.right {
	right: auto;
	left: -6px;
	padding: 12px 4px 12px 30px;
	-webkit-transform: rotate(3deg) scale(.8) rotate3d(2, 3, .5, 20deg) translate(-50px, 20px);
	transform: rotate(3deg) scale(.8) rotate3d(2, 3, .5, 20deg) translate(-50px, 20px);
}

.greyd_popup_wrapper .toggle.checked {
	z-index: 100;
}

.greyd_popup_wrapper .toggle.checked + .popup {
	opacity: 1;
	z-index: 99;
	-webkit-transform: none;
	transform: none;
	-webkit-transition: opacity .2s ease, -webkit-transform .2s ease;
	transition: opacity .2s ease, -webkit-transform .2s ease;
	transition: opacity .2s ease, transform .2s ease;
	transition: opacity .2s ease, transform .2s ease, -webkit-transform .2s ease;
}

.greyd_popup_wrapper .popup > * {
	display: inline-block;
	line-height: 140%;
	margin-bottom: 7px;
	padding: 0;
}

.greyd_popup_wrapper .dashicons {
	height: 1em;
	width: 1em;
	font-size: 1.3em;
	vertical-align: text-top;
}


/**
 * =================================================================
 *                          iOS Toggle (Block style)
 * =================================================================
 */
body.wp-admin:not(.block-editor-page) .components-form-toggle {
	display: inline-block;
	position: relative;
	margin-right: 12px;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle input.components-form-toggle__input[type=checkbox] {
	border: none;
	height: 100%;
	left: 0;
	margin: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {
	background: none;
}

/* track */
body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__track {
	background-color: #fff;
	border: 1px solid var(--wp-admin-color-dark);
	border-radius: 9px;
	box-sizing: border-box;
	content: "";
	display: inline-block;
	height: 18px;
	transition: background .2s ease;
	vertical-align: top;
	width: 36px;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:checked + .components-form-toggle__track {
	background-color: var(--wp-admin-theme-color);
	border: 9px solid transparent;
}

/* thumb */
body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__thumb {
	background-color: var(--wp-admin-color-dark);
	border: 5px solid var(--wp-admin-color-dark);
	border-radius: 50%;
	box-sizing: border-box;
	display: block;
	height: 12px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform .1s ease;
	width: 12px;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:checked ~ .components-form-toggle__thumb {
	background-color: #fff;
	border-width: 0;
	transform: translateX(18px);
}

/* disabled */
body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:disabled,
body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:disabled + .components-form-toggle__track,
body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:disabled ~ .components-form-toggle__thumb {
	cursor: not-allowed;
}

body.wp-admin:not(.block-editor-page) .components-form-toggle .components-form-toggle__input:disabled + .components-form-toggle__track {
	opacity: 0.5;
}


/**
 * =================================================================
 *                          Greyd Overlay
 * =================================================================
 */
.greyd_overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: rgba(0, 0, 0, .35);
	z-index: 9991;
}

.greyd_overlay > * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: white;
	padding: 10px 30px 20px;
	border-radius: 6px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 96%;
	max-width: 430px;
	max-height: 70%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	overflow: auto;
}

.greyd_overlay.large > * {
	max-width: 600px;
	max-height: 90%;
}

.greyd_overlay.wide > * {
	max-width: 80%;
	max-height: 90%;
}

.greyd_overlay p {
	margin-bottom: 1em;
	max-height: 250px;
	overflow: auto;
}

.greyd_overlay .loading .loader {
	padding: 10px;
}

.greyd_overlay .button.disabled {
	pointer-events: none;
}

/**
 * Loader
 */
.loading .loader {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.loading .loader::after {
	content: " ";
	display: inline-block;
	height: 30px;
	width: 30px;
	border-radius: 100%;
	border: 4px solid #0085ba;
	border-right-color: transparent;
	-webkit-animation: turn .7s linear 0s infinite;
	animation: turn .7s linear 0s infinite;
}

.loader.small::after {
	height: 15px;
	width: 15px;
	border-width: 2px;
}

.loader.tiny::after {
	height: 10px;
	width: 10px;
	border-width: 2px;
}

.loading .loader.absolute {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	padding: 10px;
	margin: -24px;
	background: white;
	border-radius: 100%;
	-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

@-webkit-keyframes turn {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes turn {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/**
 * Success mark
 */
.success_mark {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.success_mark .checkmark {
	height: 40px;
	width: 40px;
	position: relative;
}

.success_mark .checkmark::before,
.success_mark .checkmark::after {
	content: " ";
	display: inline-block;
	position: absolute;
	background-color: #27AE60;
	height: 12%;
	width: 50%;
}

.success_mark .checkmark::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 63%;
}

.success_mark .checkmark::after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	left: 20%;
	width: 100%;
	top: 45%;
}

/**
 * Hover Checkbox (Wizard & Overlay)
 */
label.hover_checkbox,
.greyd_overlay .inner_content label,
.wizard .wizard_content label {
	display: block;
	margin: -8px -8px 10px;
	padding: 8px;
	border-radius: 4px;
	font-weight: 600;
}

label.hover_checkbox:hover,
.greyd_overlay .inner_content label:hover,
.wizard .wizard_content label:hover {
	background: #f1f1f1;
	color: #000;
}

label.hover_checkbox input,
.greyd_overlay .inner_content label input,
.wizard .wizard_content label input {
	margin-top: -2px;
}

label.hover_checkbox input + span,
.greyd_overlay .inner_content label input + span,
.wizard .wizard_content label input + span {
	display: inline-block;
	margin-left: 2px;
}

label.hover_checkbox input:checked + span,
.greyd_overlay .inner_content label input:checked + span,
.wizard .wizard_content label input:checked + span {
	color: #3072A6;
}

label.hover_checkbox small,
.greyd_overlay .inner_content label small,
.wizard .wizard_content label small {
	display: block;
	margin-left: 25px;
	font-weight: 400;
}