// Variables
@import 'hiremee-pro.scss';
@import 'provariables';
@import 'custom-component';
@import 'background-color';
@import 'utility';
body{
	background-color: $light-gray;
	font-family: "Roboto", sans-serif;
}

.pro-badge{
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 41'%3e%3cdefs%3e%3cstyle%3e.cls-1%7bfill:%23f8b517;%7d.cls-2%7bfill:%23fbd303;%7d.cls-3%7bfill:%23fcfcfd;%7d%3c/style%3e%3c/defs%3e%3ctitle%3epro-badge-Artboard 1%3c/title%3e%3cpolygon class='cls-1' points='20.13 38.72 13.52 33.28 6.9 38.72 6.9 19.88 20.13 19.88 20.13 38.72'/%3e%3ccircle class='cls-2' cx='13.52' cy='13.94' r='11.94'/%3e%3ccircle class='cls-1' cx='13.52' cy='13.94' r='7.77'/%3e%3cpolygon class='cls-3' points='13.52 6.65 15.15 11.69 20.47 11.69 16.16 14.81 17.82 19.88 13.52 16.75 9.21 19.88 10.87 14.81 6.56 11.69 11.88 11.69 13.52 6.65'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
}
.pageheader{
	width: 100%;
	font-size: 18px;
	background-color: $header-bg-color;
	padding: 8px;

	& button{
		border-radius: 3px;
		margin-left: 8px;
		padding-left: 16px;
		padding-right: 16px;
		font-weight: 500;
		color: $primary-color;
		border: none;
		&.c-white{
			color: lighten($primary-color, 100%);
		}

		&.with-icon{
			padding-left: 40px;
		}

		& span.btn-icon{
			font-size: 24px;
			position: absolute;
			top: 7px;
			margin-right: 8px;
			margin-left: -30px;
		}
	}
}

.hme-pro-info-wrapper{
	font-size: 18px;
	color: lighten($primary-color, 40%);

}
.hme-pro-info-badge{
	color: lighten($primary-color, 100%);
	font-size: 24px;
	width: 36px;
	height: 36px;
	text-align: center;
	line-height: 36px;
	font-weight: 500;
	border-radius: 50%;
	margin-right: 24px;
	margin-top: 4px;
}
.pro-accordion{
	#accordion{
		& a{
			border: 1px solid lighten($primary-color, 55%);
			border-radius: 4px;

			& .label{
				min-width: 160px;
				display: inline-block;
				color:#333 !important;
				font-size:20px;
				font-weight:400;
			}

			& .info-badge{
				position: absolute;
				right: 80px;
				width: 24px;
				height: 24px;
				border-radius: 24px;
				color: lighten($primary-color, 100%);
				text-align: center;
				line-height: 24px;
			}

			& .required-flag{
				margin-left: 48px;
				text-transform: uppercase;
			}

			& .pro-accordion-action{
				position: absolute;
				right: 30px;
				width: 24px;
				min-width: 325px;
				top: 10px;
			}

		}

		.panel{
			.panel-body{
				border-left: 1px solid lighten($primary-color, 55%);
				border-right: 1px solid lighten($primary-color, 55%);
				border-bottom: 1px solid lighten($primary-color, 55%);
				border-top: none;
				border-radius: 0 0 4px 4px;
				margin-top: -10px;
				padding-left: 16px;
			}
		}

		& .line-control-menu-bar{
			border: none;
			background: lighten($primary-color, 72%);
			border-bottom: 1px solid lighten($primary-color, 45%);
			padding: 4px 8px 2px 8px;
			position: absolute;
			top: -5px;
			left: -16px;
			width: 101.98%;

			a{
				width: 36px;
				height: 36px;
				border-radius: 0;
				background: lighten($primary-color, 90%);

				&:hover{
					background: lighten($primary-color, 35%);
					color: lighten($primary-color, 100%);
				}
			}
		}

		& .line-control-status-bar{
			background: none;
		}

		& .Editor-container{
			margin-top: 40px;
			width: 100%;

			&:focus{
				border-color: #333;
			}
		}

		& .line-control-status-bar{
			border: none;
		}

		& .line-control-status-bar .label{
			background: transparent;
			font-size: 16px;
		}

		& .answer-container{
			min-height: 28px;

			& .add-answer{
				border-right: 1px solid lighten($primary-color, 65%);
				padding: 16px;

				& input{
					border-radius: 4px;
				}
				& label{
					font-size: 18px;
					color: lighten($primary-color, 45%);
					font-weight: 400;
				}
				& button{
					text-transform: capitalize;
					padding: 8px 16px;
					border-radius: 4px;
					background-color: lighten($hme-color-light, 2%);

				}
			}

			& .answer-list{
				padding: 16px;

				& header{
					font-size: 18px;
					color: lighten($primary-color, 45%);
					margin-bottom: 20px;
				}
			}
		}
	}
}

#accordion .panel-heading a:not(.collapsed) {
	color: $hme-primary-color;
}

.no-handler:after{
	display: none !important;
}

.pro-question-filter{
	label{
		font-weight: 500;
		position: relative;

		.label-info{
			width: 24px;
			height: 24px;
			text-align: center;
			line-height: 24px;
			font-size: 18px;
			border-radius: 50%;
			display: inline-block;
			color: lighten($primary-color, 100%);
		}
	}
}

.hints{

	margin: 18px 0;
	color: lighten($primary-color, 40%);

	.correct-option{
		width: 20px;
		height: 20px;
		line-height: 23px;
		text-align: center;
		border-radius: 50%;
		font-size: 14px;
		display: inline-block;
		color: lighten($primary-color, 100%);
	}


}

.connected, .sortable, .exclude, .handles {
	padding: 0;
	width: 96%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}
.sortable.grid {
	overflow: hidden;
}
.connected li, .sortable li, .exclude li, .handles li {
	list-style: none;
	background: lighten($primary-color, 68%);
	color: lighten($primary-color, 35%);
	margin: 8px 0;
	padding: 5px;
	width: 100%;
	position: relative;

	& .sort-action{
		position: absolute;
		right: 8px;
		top: 2px;
		width: 24px;
		height: 24px;
		font-size: 20px;
		display: inline-block;
		color: lighten($primary-color, 40%);
		border: none;
		&:hover{
			color: lighten($primary-color, 20%);
		}
	}
	& .correct-option{
		position: absolute;
		right: 40px;
		top: 7px;
		width: 20px;
		height: 20px;
		line-height: 23px;
		text-align: center;
		border-radius: 50%;
		font-size: 14px;
		display: inline-block;
		color: lighten($primary-color, 100%);
		
		& i{
			line-height:-moz-block-height !important;
		}
	}
}

.handles span {
	cursor: move;
	color: $hme-color-light;
	font-size: 18px;
	position:relative;
	top:3px;
}
li.disabled {
	opacity: 0.5;
}
.sortable.grid li {
	line-height: 80px;
	float: left;
	width: 80px;
	height: 80px;
	text-align: center;
}
li.highlight {
	background: #FEE25F;
}
#connected {
	width: 440px;
	overflow: hidden;
	margin: auto;
}
.connected {
	float: left;
	width: 200px;
}
.connected.no2 {
	float: right;
}
li.sortable-placeholder {
	border: 1px dashed #CCC;
	background: none;
}

/* Date time Picker customization*/
.dtp-content .btn{
	padding: 10px 24px !important; 
	font-weight: 500 !important;
}
.dtp .dtp-buttons .dtp-btn-ok{
	background-color: $hme-color-light; 
	margin: 1px; 
	padding: 4px 8px;
	color: #fff;
	border-radius: 0 20px 20px 0;
	&:hover{
		background-color: darken($hme-color-light, 15%);
	}
}
.dtp .dtp-buttons .dtp-btn-clear{
	background-color: lighten($primary-color, 0%);
	margin: 1px; 
	padding: 4px 8px;
	border-radius: 20px 0 0 20px;
	color: #fff;

	&:hover{
		background-color: darken($primary-color, 20%);
		color: lighten($primary-color, 100%);
	}

}
.dtp .dtp-buttons .dtp-btn-cancel{
	background-color: lighten($primary-color, 55%);
	margin: 1px; 
	border-radius: 0;
	padding: 4px 8px;
	color: lighten($primary-color, 100%);

	&:hover{
		background-color: lighten($primary-color, 25%);
		color: lighten($primary-color, 100%);
	}
}

.pro-form{
	margin: 20px 0;

	& label{
		font-size: 16px;
		color: lighten($primary-color, 40%);
		font-weight: 500;

		&.required:after{
			content: '*';
			color: $color-danger;
			font-weight: 600;
		}
	}
	& .pro-editor-comp{
		border-radius: 4px;
		border: 1px solid lighten($primary-color, 45%);
		margin-bottom: 20px;
		margin-top: 30px;
		position: relative;

		& label{
			top: -30px;
			position: absolute;

		}
	}

	& button{
		border: none;
		border-radius: 4px;
		text-transform: capitalize;
		color: lighten($primary-color, 10%);
		font-weight: 500;
		font-size: 18px;

		&:hover{
			color: lighten($primary-color, 0%);
		}

	}

	& .Editor-container {
		margin-top: 8px !important;
		width: 100%;
		height: 330px;
		padding-top: 30px;
	}

	& .line-control-menu-bar{
		border: none;
		background: lighten($primary-color, 72%);
		border-bottom: 1px solid lighten($primary-color, 45%);
		padding: 4px 2px 2px 2px !important;
		position: absolute;
		top: 0px !important;
		left: 0px !important;
		width: 100% !important;

		& a{
			width: 30px !important;
			height: 30px !important;
			border-radius: 2px !important;
			padding: 0 !important;
			background: lighten($primary-color, 90%);
			&.btn{
				padding: 0;
				line-height: 30px !important;
				color: lighten($primary-color, 25%);
			}
			&:hover{
				background: lighten($primary-color, 35%);
				color: lighten($primary-color, 100%);
			}
		}
	}

	& .line-control-status-bar{
		background: none;
	}

	& .Editor-container{
		margin-top: 40px;
		width: 100%;

		&:focus{
			border-color: #333;
		}
	}

	& .line-control-status-bar{
		border: none;
	}

	& .line-control-status-bar .label{
		background: transparent;
		font-size: 16px;
	}
}

.pro-section-list{
	border-left: 1px solid lighten($primary-color, 65%);

	& header{
		background-color: lighten($primary-color, 70%);
		color: lighten($primary-color, 35%);
		font-size: 18px;
		padding: 8px 16px;
		font-weight: 600;

	}

	& .pro-section-list-wrapper{
		min-height: 280px;
		max-height: 620px;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 10% 0 ;
		position: relative;

		& .icon{
			font-size: 64px;
			color: lighten($primary-color, 35%);
			text-align: center;
			margin: 32px;
			margin: auto;
		}

		& .message{
			font-size: 20px;
			color: lighten($primary-color, 30%);
			text-align: center;
			width: 75%;
		}

		& .pro-section-list{
			margin: 8px auto;
			min-height: 120px;
			width: 95%;
			border-radius: 4px;
			padding: 16px;
			position: relative;
			border: 1px solid lighten($primary-color, 55%);

			& .label{
				color: lighten($primary-color, 40%) !important;
				font-weight: 400;
				padding-right: 16px;
				min-width: 160px;
				display: inline-block;
				font-size:14px;
			}

			& .data{
				color: lighten($primary-color, 25%);
				font-weight: 500;
				
			}

			& .actions{
				position: absolute;
				top: 0;
				right: 0;
				padding: 8px;

				& a{
					font-size: 24px;
					padding: 4px;
				}

			}

			&:hover{
				box-shadow: 0 0 5px lighten($primary-color, 60%);
			}

		}

		& .pro-section-actions{
			position: absolute;
			bottom: 0;
			padding: 4px 8px;
			left: 0;
			right: 0;
			width: 100%;
			height: 48px;
			background-color: lighten($primary-color, 70%);

			& button{
				border: none;
				border-radius: 4px;

			}
		}
	}
}

/* Question Listing*/
.question-list-wrapper{
	
	& .question-list{

		width: 100%;
		min-height: 48px;
		border-radius: 4px;
		padding: 8px 16px;
		margin-bottom: 8px;

		&:nth-child(odd){
			background-color: lighten($primary-color, 75%);
		}

		&:nth-child(even){
			background-color: lighten($primary-color, 90%);
		}

		&:hover{
			box-shadow: 0 0 6px lighten($primary-color, 40%);
		}

		& p{

			margin: 4px 0;

			& .label{
				color: lighten($primary-color, 40%) !important;
				font-weight: 400;
				padding-right: 16px;
				min-width: 80px;
				display: inline-block;
				font-size:15px;
			}

			& .data{
				color: lighten($primary-color, 10%) !important;
				font-weight: 500;
				
			}
		}

		& .count{
			position: absolute;
			right: 100px;
			min-width: 60px;
			height: 60px;
			border-radius: 4px;
			padding: 8px;
			text-align: center;
			display: inline-block;
			border: 1px solid lighten($primary-color, 60%);
			background-color: lighten($primary-color, 100%);
			color: $hme-color-light;

			& .data{
				font-size: 32px;
				display: block;
				line-height: .75;
			}
			& .label{
				font-size: 15px;
				font-weight:400;
				display: block;
				line-height: 1;
				color:#8fc740 !important;

			}
		}

		& .count-input{
			position: absolute;
			right: 200px;
			width: 100px;
			height: 60px;
			border-radius: 4px;
			padding: 8px;
			text-align: center;
			display: inline-block;
			border: 1px solid lighten($primary-color, 60%);
			background-color: lighten($primary-color, 100%);
			color: $hme-color-light;

			& .input{
				font-size: 24px;
				width: 96px;
				color: $primary-color;
				height: 36px;
				border: none;
				position: absolute;
				top: 2px;
				left: 2px;
				font-weight: 600;
				display: block;
				line-height: .95;
				text-align: center;
			}
			& .label{
				font-size: 15px;
				display: block;
				font-weight:400;
				line-height: 1;
				position: absolute;
				bottom: 4px;
				left: 0;
				right: 0;
				margin: auto;
				color: lighten($primary-color, 45%) !important;
			}
		}

	}

	& a{
		color: $color-blue !important;

	}

	& .multi-select{
		padding-top: 4px;
	}

	& .single-add{
		font-size: 18px;
		width: 24px;
		height: 24px;
		line-height: 24px;
		text-align: center;
		display: inline-block;
		border-radius: 50%;
		font-weight: 100;
		color: lighten($primary-color, 20%) !important;
		margin-right: 8px;
		margin-left: 16px;
		padding-top: 3px;
		border: 1px solid lighten($primary-color, 75%);



		&:hover{
			color: lighten($hme-color-light, 2%) !important;
			border: 1px solid lighten($hme-color-light, 2%) !important;;
		}
	}

}

.setting-link{
	font-size: 16px;
	color: lighten($primary-color, 40%);
	font-weight: 500;

	&:hover{
		color: $color-danger;
	}

}

.pro-list-table{
	
	& .field-label{
		font-size: 11px;
		position: relative;
		margin-bottom: 3px;
	}

	& .required{
			font-weight: 600;
			color: $color-danger;
		}
	.date-filed{
		position: relative;	

		& span{
			position: absolute;
			width: 27px;
			height: 27px;
			display: inline-block;
			right: 0;
			background-color: $hme-color-light;
			color: lighten($primary-color, 100%);
			text-align: center;
			line-height: 28px;
			border-radius: 0 3px 3px 0;
			top: 0;
			border-radius: 3px;
		}
	
	}

	
		
}

.confirm-q-count{
	& .row{
		border: 1px solid lighten($primary-color, 70%);
		margin-bottom: 4px;

		&:nth-child(odd){
			background-color: lighten($hme-color-light, 33%);
		}

		&:nth-child(even){
			background-color: lighten($primary-color, 90%);
		}
	}
	
	& p{
		margin-bottom: 8px;
	}

	& .label{
		font-size: 12px;
		color: lighten($primary-color, 45%) !important;
		padding-top: 10px;

	}

	& .data{
		font-size: 15px;
		color: lighten($primary-color, 25%);
		font-weight: 600;
		line-height: 1;
	}


}

/*Table Select component*/
.table-select-style{
	margin-top: -10px;
	border: 1px solid #bababa;
    border-radius: 0;
    overflow: hidden;
    padding: 3px 8px;
    width: 90px;
    height: 30px;
    background-color: #fff;
    position: relative;
    border-radius: 4px;
    & select{
    	padding: 0;
	    width: 100%;
	    border: none;
	    color: #333;
	    box-shadow: none;
	    background-color: transparent;
	    background-image: none;
	    z-index: 500;
	    -webkit-appearance: none;
	    -moz-appearance: none;
	    appearance: none;


    }
    &:after{
	    	font-family: 'hiremeeicons' !important;
		    content: "\e937";
		    width: 24px;
		    height: 24px;
		    position: absolute;
		    right: -1px;
    		top: 3px;
		    color: #333;
		    display: inline-block;
		    z-index: 1;
		    background-color: #fff;
	    }
}
.pro-table-actions{
	width: 240px;
	padding-top: 8px;
}
.table-text-style{
	margin-top: -10px;
	border: 1px solid #bababa;
    border-radius: 0;
    overflow: hidden;
    padding: 3px 8px;
    width: 100% !important;
    height: 30px;
    background-color: #fff;
    position: relative;
    border-radius: 4px;
    &:focus{
    	border: 1px solid $hme-color-light;
    }
}
