/*
Template Name: Admin Template
Author: Niravjoshi / Wrappixel
File: scss
*/

// This is the extra scss
// Tooltip for the sparkline charts
html body {

	.jqstooltip,
	.flotTip {
		width: auto !important;
		height: auto !important;
		background: $gray-900;
		color: $white;
		padding: 5px 10px;
	}
}

body .jqstooltip {
	border-color: transparent;
	border-radius: 60px;
}

// Tooltip for the chartist chart charts
.chartist-tooltip {
	position: absolute;
	display: inline-block;
	opacity: 0;
	border-radius: $border-radius;
	padding: 10px 20px;
	background: $info;
	color: $white;
	ext-align: center;
	pointer-events: none;
	z-index: 1;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.chartist-tooltip:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: $info;
}

.chartist-tooltip.tooltip-show {
	opacity: 1;
}

.ct-area,
.ct-line {
	pointer-events: none;
}

.ct-series-a .ct-area {
	fill: $cyan;
}

.ct-series-b .ct-area {
	fill: $info;
}

.ct-series-c .ct-area {
	fill: $indigo;
}

.ct-series-c .ct-area {
	fill: $success;
}

.ct-series-a .ct-point,
.ct-series-a .ct-line,
.ct-series-a .ct-bar,
.ct-series-a .ct-slice-donut {
	stroke: $cyan;
}

.ct-series-b .ct-point,
.ct-series-b .ct-line,
.ct-series-b .ct-bar,
.ct-series-b .ct-slice-donut {
	stroke: $info;
}

.ct-series-c .ct-point,
.ct-series-c .ct-line,
.ct-series-c .ct-bar,
.ct-series-c .ct-slice-donut {
	stroke: $indigo;
}

.ct-series-d .ct-point,
.ct-series-d .ct-line,
.ct-series-d .ct-bar,
.ct-series-d .ct-slice-donut {
	stroke: $success;
}

.c3-chart-arcs-title {
	fill: $text-muted;
}

.c3 line,
.c3 path {
	stroke: $gray-200;
}

.c3 text {
	fill: $text-muted;
}

.c3-chart-arc path {
	stroke: transparent;
}

.popover-item {
	margin-left: -15px;

	&:hover {
		z-index: 10;
		position: relative;
	}
}

.icon-list-demo {
	.preview {
		padding: 10px;

		i {
			font-size: 20px;
			margin-right: 10px;
		}
	}

	.f-icon {
		padding: 10px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;

		i {
			font-size: 20px;
			margin-right: 10px;
			width: 25px;
		}
	}
}

// Custom select
.custom-select {
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
	background-size: auto;
}

.material-icon-list-demo .icons div {
	width: 33%;
	padding: 10px;
	display: inline-block;
	line-height: 40px;

	i {
		font-size: 20px;
		margin-right: 10px;
	}

	code {
		margin-right: 10px;
	}
}

@include media-breakpoint-down(sm) {
	.material-icon-list-demo .icons div {
		width: 100%;
	}
}

// This is for the datatable
.table.dataTable {
	border-collapse: collapse !important;
}

.dataTables_wrapper {
	padding: 0px;
}

.note-editor.note-frame,
.dropzone {
	border-color: $border-color;
}

.dropzone {
	border-style: dotted;
}

.note-toolbar {
	z-index: 1;
}

// this is for custom pills
.custom-pills {
	.nav-pills {
		.nav-link {
			border-radius: 0;
			opacity: 0.7;

			&.active {
				color: $themecolor;
				opacity: 1;
				background-color: transparent;
				border-bottom: 2px solid $themecolor;
			}
		}
	}
}

// Form row Separator
label {
	font-weight: $font-weight-medium;
}

.r-separator .form-group {
	border-bottom: 1px solid $border-color;

	&:last-child {
		border-bottom: none;
	}
}

.striped-rows .row:nth-child(odd) {
	background-color: $gray-100;
}

.b-form .row {
	border-bottom: 1px solid $border-color;
	margin-bottom: 0;
	padding: 15px 0;

	&:last-child {
		border-bottom: none;
	}
}

.b-label {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

// Custom validation Classes
.error {
	.form-control {
		border-color: $danger;
	}

	.help-block {
		color: $danger;
	}
}

.validate {
	.form-control {
		border-color: $success;
	}

	.help-block {
		color: $success;
	}
}

@media (min-height: 33.875em) {
	.picker--opened .picker__frame {
		top: 30%;
		bottom: auto;
	}
}

.dtp>.dtp-content>.dtp-date-view>header.dtp-header {
	background: #1d50de;
}

.dtp div.dtp-date,
.dtp div.dtp-time,
.dtp table.dtp-picker-days tr>td>a.selected {
	background: $info;
}

.dtp .p10>a {
	color: $white;
}

.datepicker .day,
.datepicker .dow {
	padding: 5px 10px;
}

.docs-buttons .btn,
.docs-data .input-group {
	margin-bottom: 5px;
}

// scrollbar
.scrollable {
	position: relative;
}

.error-box {
	height: 100%;
	position: fixed;
	//background: url(../../../images/background/error-bg.jpg) no-repeat center center #fff;
	width: 100%;

	.error-body {
		padding-top: 5%;
	}

	.error-title {
		font-size: 210px;
		font-weight: 900;
		text-shadow: 4px 4px 0 #fff, 6px 6px 0 $dark;
		line-height: 210px;
	}
}

.price-label {
	position: absolute;
	top: -10px;
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 100px;
	padding: 5px 10px;
}

.price-sign {
	position: absolute;
	font-size: 15px;
	top: 5px;
	margin-left: -10px;
}

// Taskboard

/*******************
Taskboard scss
******************/
.taskboard {
	overflow-x: auto;
	overflow-y: auto;
	white-space: nowrap;
	padding: 8px;

	.taskboard-wrapper {
		width: 280px;
		padding-right: 8px;
		padding-left: 8px;
		box-sizing: border-box;
		display: inline-block;
		vertical-align: top;
		height: 100%;

		&:first-child {
			padding-left: 0;
		}

		&:last-child {
			padding-right: 0;
		}
	}

	.taskboard-list {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		max-height: 100%;
		white-space: normal;
		background-color: rgba(0, 0, 0, 0.05);
		border-radius: 0;
	}

	.taskboard-header {
		position: relative;
		display: flex;
		flex-direction: row;
		align-items: center;
		text-transform: uppercase;
		letter-spacing: 0.02rem;
		padding: 8px 8px 0;
	}

	.taskboard-task {
		position: relative;
		display: flex;
		flex-direction: column;
		padding: 8px;
		margin-bottom: 8px;
		background: $white;

		&:last-child {
			margin-bottom: 0;
		}

		&:hover {
			cursor: grab;
		}
	}

	.taskboard-task:after {
		content: "";
		position: absolute;
		border: 4px solid transparent;
		top: 0;
		border-top-width: 12px;
		border-bottom-color: transparent;
		right: 6px;
	}

	.taskboard-task.task-status-success:after {
		border-top-color: $success;
		border-right-color: $success;
		border-left-color: $success;
	}

	.taskboard-task.task-status-info:after {
		border-top-color: $info;
		border-right-color: $info;
		border-left-color: $info;
	}

	.taskboard-task.task-status-warning:after {
		border-top-color: $warning;
		border-right-color: $warning;
		border-left-color: $warning;
	}

	.taskboard-task.task-status-danger:after {
		border-top-color: $danger;
		border-right-color: $danger;
		border-left-color: $danger;
	}

	.taskboard-cards {
		padding: 8px;
		box-sizing: border-box;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.taskboard-task-title {
		margin-bottom: 8px;
	}
}

.ng2-smart-page-item {
	border: 1px solid $border-color;

	.ng2-smart-page-link {
		border: none;
	}

	&.active {
		border-color: $themecolor;

		.ng2-smart-page-link {
			border-color: transparent;
		}
	}
}

.ngx-datatable.material {
	box-shadow: none;
	border: 1px solid $border-color;
}

// File Upload Plugin

.afu-select-btn {
	margin-bottom: 0;
}

.afu-valid-file {
	.progress {
		width: 500px;
		height: 13px;
	}
}

#attachPin {
	.label:empty {
		display: none;
	}
}

/*******************
Notifier pages scss
******************/
.notifier__container * {
	box-sizing: border-box;
}

.notifier__container-list {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
	list-style-type: none;
}

.notifier__notification {
	display: block;
	position: fixed;
	visibility: hidden;
	z-index: 10000;
	will-change: transform;
	backface-visibility: hidden;
}

$notifier-shadow-color: rgba(0, 0, 0, .2) !default;

.notifier__notification--material {
	border-radius: 3px;
	box-shadow: 0 1px 3px $notifier-shadow-color;
	cursor: default; // Default cursor, even when hovering over text

	padding: {
		top: 11px;
		right: 26px;
		bottom: 10px;
		left: 26px;
	}

	.notifier__notification {

		&-message {
			display: inline-block;

			margin: {
				// Reset paragraph default styles
				top: 0;
				bottom: 0;
			}

			vertical-align: top;
			line-height: 32px;
			font-size: 15px;
		}

		&-button {
			display: inline-block;
			transition: opacity .2s ease;
			opacity: .5;

			margin: {
				right: -10px;
				left: 10px;
				top: -4px;
			}

			;
			outline: none;
			border: none;
			background: none;
			cursor: pointer; // Make it obvious that the "button" (or, more honestly, icon) is clickable (#UX)
			padding: 6px;
			width: 32px;
			height: 32px;
			vertical-align: top;

			&:hover,
			&:focus {
				opacity: 1; // Make me "feel" the clickability with a transparency change (#UX)
			}

			&:active {
				transform: scale(.82); // Make me "feel" the click by a push back (#UX)
				opacity: 1;
			}

		}

	}

}

.notifier__notification--default {
	background-color: $primary;
	color: $white;

	.notifier__notification-button-icon {
		// 16x16 fixed size
		fill: $white;
	}

}

.notifier__notification--info {
	background-color: $info;
	color: $white;

	.notifier__notification-button-icon {
		// 16x16 fixed size
		fill: $white;
	}

}

.notifier__notification--warning {
	background-color: $warning;
	color: $white;

	.notifier__notification-button-icon {
		// 16x16 fixed size
		fill: $white;
	}

}

.notifier__notification--success {
	background-color: $success;
	color: $white;

	.notifier__notification-button-icon {
		// 16x16 fixed size
		fill: $white;
	}

}

.notifier__notification--error {
	background-color: $danger;
	color: $white;

	.notifier__notification-button-icon {
		// 16x16 fixed size
		fill: $white;
	}

}

/*******************
Ngx wizard pages scss
******************/

.wizard-navbar {
	padding: 0px;
	margin: 50px 0 50px 0;
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;

	&::before {
		height: 2px;
		background: $border-color;
		content: "";
		position: absolute;
		width: 75%;
		margin: 0 auto;
		left: 0;
		right: 0;
		top: 50%;
		z-index: 1;
	}

	li {
		list-style: none;
		text-align: center;

		.round-tabs {
			padding: 20px;
			background: white;
			position: relative;
			z-index: 2;
			border: 1px solid $border-color;
			border-radius: 100%;

		}

		>a {
			padding: 0.5rem 0;
		}

		>a.active .round-tabs {
			background: $info;
			border-color: $info;
			color: $white;
		}
	}
}

#ngx .ng-invalid,
.ng-touched.ng-invalid {
	border-color: $danger;
}

#ngx .ng-valid,
.ng-touched.ng-valid {
	border-color: $success;
}

// 
// Toast
// 
.toastr{
	position: fixed;
	z-index: 999999;
	pointer-events: none;
	color: $white;
}

.toast-title {
		font-weight: 700
}

.toast-message {
		-ms-word-wrap: break-word;
		word-wrap: break-word
}

.toast-message a,
.toast-message label {
		color: $white
}

.toast-message a:hover {
		color: #CCC;
		text-decoration: none
}

.toast-close-button {
		position: relative;
		right: -.3em;
		top: -.3em;
		float: right;
		font-size: 20px;
		font-weight: 700;
		color: $white;
		-webkit-text-shadow: 0 1px 0 $white;
		text-shadow: 0 1px 0 $white;
		opacity: .8;
		filter: alpha(opacity=80);
		line-height: 1
}

.toast-close-button:focus,
.toast-close-button:hover {
		color: #000;
		text-decoration: none;
		cursor: pointer;
		opacity: .4;
		filter: alpha(opacity=40)
}

.rtl .toast-close-button {
		left: -.3em;
		float: left;
		right: .3em
}

button.toast-close-button {
		padding: 0;
		cursor: pointer;
		background: 0 0;
		border: 0;
		-webkit-appearance: none
}

.toast-container {
		position: fixed;
		z-index: 999999;
		pointer-events: none
}

.toast-container * {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box
}

.toast-container>div {
		position: relative;
		pointer-events: auto;
		overflow: hidden;
		margin: 0 0 6px;
		padding: 15px 15px 15px 50px;
		width: 300px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		background-position: 15px center;
		background-repeat: no-repeat;
		-moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
		-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
		color: $white;
		opacity: 1;
		filter: alpha(opacity=80)
}

.toast-container>div.rtl {
		direction: rtl;
		padding: 15px 50px 15px 15px;
		background-position: right 15px center
}

.toast-container>div:hover {
		-moz-box-shadow: 0 0 12px #000;
		-webkit-box-shadow: 0 0 12px #000;
		box-shadow: 0 0 12px #000;
		opacity: 1;
		filter: alpha(opacity=100);
		cursor: pointer
}

.toast-container>.toast-info {
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz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oRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important
}

.toast-container>.toast-success {
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important
}

.toast-container>.toast-warning {
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important
}

.toast-success {
	background-color: $success !important;
}
.toast-error {
	background-color: $danger !important;
}
.toast-info {
	background-color: $info !important;
}
.toast-warning {
	background-color: $warning !important;
}

.soc-pro {
	a {
		color: $text-muted;
	}
}

.accordion {
  .card {
    margin-bottom: 1px;
  }
}