//	=================
//    	Imports
//	=================

@import '../../../assets/base/color_variables';   	// Color Variables
@import '../../../assets/base/fonticons';   			// Fonticons Variables
@import '../../../assets/base/urls';   				// URLS Variables
@import '../../../assets/base/utilities_variables';  // Utilities Variables

/*
    =================
        Metro UI
    =================
*/
.metroui_custom {
	.calendar {
		.calendar-header {
			background-color: $color_3;
		}
		a {
			&:hover {
				background-color: $color_3;
				color: $white !important;
				border-radius: inherit;
			}
		}
		.day {
			a {
				color: $color_533;
			}
		}
		.today {
			a {
				background-color: $color_207;
				color: $white;
			}
		}
		.selected {
			a {
				background-color: $color_375;
				color: $white;
			}
		}
	}
	/*------Calendar controllable------*/
	.metroui_custom {
		.cell {
			span {
				font-size: 20px;
			}
		}
	}
	.calendar.darcula {
		background: #494949;
		.calendar-header {
			background-color: $color_146;
			color: $black;
		}
		.day {
			a {
				color: $white;
			}
		}
		a {
			&:hover {
				background-color: $color_146;
				color: $black !important;
				border-radius: inherit;
			}
		}
	}
}
.calendar {
	.calendar-header {
		a {
			color: $white;
			padding: .325rem;
		}
	}
}
.calendar.darcula {
	.other-day {
		background: #9e9c9d;
		border-color: $color_531;
		color: $color_146;
	}
}


/*     
    =========================================
            Bootstrap datetime picker         
    =========================================
*/
.daterangepicker {
	.daterangepicker_input {
		i {
			font-size: 16px;
		}
	}
	td.active {
		background-color: $color_532;
		&:hover {
			background-color: $color_532;
		}
	}
	.input-mini {
		border: 1px solid #07e0c4;
		color: $color_84;
		border-radius: 2px;
		padding: 0 6px 0 28px !important;
		&:focus {
			border: 1px solid #5247bd;
			color: $color_53;
			border-radius: 2px;
		}
	}
	.input-mini.active {
		border: 1px solid #816cfd;
		color: $color_86;
		border-radius: 2px;
	}
	.calendar {
		.month {
			border: 0px #fff solid;
			color: $color_56;
			text-transform: uppercase;
			font-size: 12px;
			font-weight: 600;
			border-bottom: solid 1px #f1f3f1;
		}
	}
	.fa {
		.fa-calendar {
			.glyphicon {
				.glyphicon-calendar {
					color: $color_532;
				}
			}
		}
	}
	.btn-success.disabled {
		background-color: $color_457;
		border-color: $color_207;
	}
	.ranges {
		li.active {
			background: #6156ce;
			color: $white;
		}
		li {
			&:hover {
				background: #6156ce;
				color: $white;
			}
		}
	}
}
.daterangepicker.dropdown-menu {
	background-color: $color_146;
}
.calendar.left {
	background-color: $color_146;
}
.calendar.right {
	background-color: $color_146;
}
.calendar-table {
	background-color: $color_146 !important;
}
.btn-success.btn[disabled] {
	background-color: $color_457;
	border-color: $color_207;
}
.ranges {
	li {
		background-color: $white;
		border: 1px solid #f1f3f1;
	}
	li.active {
		border: 1px solid #fff;
		border-radius: 2px;
	}
}
/*------Predefined Ranges------*/
#reportrange {
	i {
		left: 20px;
		top: auto;
		cursor: pointer;
		font-size: 20px;
		vertical-align: middle;
	}
}
.well {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background-color: $color_94;
	border-color: $color_530;
	margin-top: 15px;
	padding: 12px;
	border: 1px solid #e3e3e3;
}

/*
==============================
        Configurator
==============================
*/

.demo {
	position: relative;
	i {
		position: relative;
		float: right;
		cursor: pointer;
		font-size: 20px;
		margin-top: -26px;
		margin-right: 7px;
	}
}
.daterangepicker.rtl {
	.input-mini {
		padding-right: 28px !important;
	}
}
/*-----Configurator Checkbox-------*/
.configurator {
	input[type="checkbox"] {
		opacity: 0;
		box-sizing: border-box;
		padding: 0;
		opacity: 0;
	}
	[type="checkbox"] {
		&+label {
			position: relative;
			padding-left: 35px;
			cursor: pointer;
			display: inline-block;
			height: 28px;
			line-height: 20px;
			font-size: 14px;
			-webkit-user-select: none;
			-moz-user-select: none;
			-khtml-user-select: none;
			-ms-user-select: none;
			width: 200px;
			&:before {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				width: 18px;
				height: 18px;
				z-index: 0;
				border: 1px solid #ee3d50;
				border-radius: 1px;
				margin-top: 2px;
				transition: .2s;
			}
		}
		&:checked {
			&+label {
				&:before {
					top: -4px;
					left: -5px;
					width: 12px;
					height: 22px;
					border-top: 1px solid transparent;
					border-left: 1px solid transparent;
					border-right: 1px solid #00d1c1;
					border-bottom: 1px solid #00d1c1;
					-webkit-transform: rotate(40deg);
					transform: rotate(40deg);
					-webkit-backface-visibility: hidden;
					backface-visibility: hidden;
					-webkit-transform-origin: 100% 100%;
					transform-origin: 100% 100%;
				}
			}
		}
		&:not(.filled-in) {
			&+label {
				&:after {
					border: 0;
					-webkit-transform: scale(0);
					transform: scale(0);
				}
			}
		}
	}
}
input[type="radio"] {
	opacity: 0;
	box-sizing: border-box;
	padding: 0;
	opacity: 0;
}
[type="checkbox"] {
	&:not(.filled-in) {
		&+label {
			&:after {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				width: 18px;
				height: 18px;
				z-index: 0;
				border: 1px solid #ee3d50;
				border-radius: 1px;
				margin-top: 2px;
				transition: .2s;
			}
		}
	}
}
