


// add post
.l-addpost{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	@media (min-width: $screen-md){
		flex-wrap: nowrap;
	}
	&__sidebar{
		flex: 0 0 100%;
		min-width: 0;
		margin: 0 0 12px;
		@media (min-width: $screen-md){
			flex: 0 0 20%;
			max-width: 20%;
		}
		&--left{
			// order: 1;
			// @media (min-width: $screen-sm){
			// 	order: unset;
			// }
		}
		&--right{
			// order: 2;
			// @media (min-width: $screen-sm){
			// 	order: unset;
			// }
		}
	}
	&__main{
		flex: 0 0 100%;
		margin: 0 0 12px;
		@media (min-width: $screen-md){
			flex: 1 1 auto;
			padding: 0 12px;
		}
	}
}
.add-post-guide{
	&__header{
		padding: 10px 12px 8px;
		background-color: $color-primary;
		border-radius: 6px 6px 0 0;
	}
	& + .single-property-card{
		border-top-right-radius: 0;
		border-top-left-radius: 0;
		.property{
			&__photo{
				.ht-inner{
					border-radius: 0;
				}
			}
		}
	}
	&__title{
		margin: 0;
		line-height: 18px;
		font-size: 14px;
		color: #fff;
		text-transform: uppercase;
	}
	&__content{
		padding: 10px 12px;
	}
	&__list{
		margin: 0 0;
		padding: 0 0 0 12px;
		line-height: 16px;
		font-size: 12px;
		li{
			padding: 3px 0;
		}
	}
}
.add-post-adlink{
	a{
		display: block;
		img{
			border-radius: 6px;
		}
	}
}
.add-post-sample{
	&__header{
		padding: 10px 12px 8px;
		background-color: $color-primary;
		border-radius: 6px 6px 0 0;
	}
	&__title{
		margin: 0;
		line-height: 18px;
		font-size: 14px;
		color: $grey700;
		text-transform: uppercase;
	}
}
.add-post__steps-section{
	.section-header{
		margin: 0 0 12px;
		padding: 0 0 12px;
		border-bottom: $border;
	}
	.section-header__title{
		margin: 0;
		padding: 0;
		line-height: 24px;
		font-size: 18px;
		font-weight: 500;
	}
	.section-header__percent{
		display: flex;
		margin: 4px 0 0;
		.percent-line{
			position: relative;
			.percent-line__track{
				width: 100%;
				height: 8px;
				background-color: $grey200;
				border-radius: 4px;
			}
			.percent-line__bar{
				position: absolute;
				top: 0; left: 0;
				height: 8px;
				background-color: $color-primary;
				border-radius: 4px;
				z-index: 20;
			}
		}
		.percent-number{
			line-height: 18px;
			font-size: 13px;
			font-weight: 700;
			color: $color-primary_text;
		}
	}
	.add-post-steps__menu{
		.single-step{
			position: relative;
			margin: 0 0 12px;
			&:last-child{
				margin: 0;
			}
			.single-step__wrap{
				display: block;
				display: flex;
				align-items: center;
				position: relative;
				&:after{
					content: "";
					display: block;
					position: absolute;
					top: 50%; left: 17px;
					height: 48px;
					width: 2px;
					background-color: #ccc;
					z-index: 100;
				}
				.single-step__icon{
					position: relative;
					display: block;
					flex: 0 0 auto;
					min-width: 0;
					width: 36px;
					height: 36px;
					line-height: 32px;
					text-align: center;
					background-color: #fff;
					border: 2px solid #ccc;
					border-radius: 50%;
					z-index: 110;
					img{
						display: inline-block;
						vertical-align: middle;
						max-width: 24px;
						max-height: 24px;
					}
				}
				.single-step__label{
					margin: 0 0 0 12px;
					line-height: 18px;
					font-size: 15px;
					font-weight: 500;
					color: $grey800;
				}
			}
			&:last-child{
				.single-step__wrap{
					&:after{
						display: none;
					}
				}
			}
			&.single-step--passed{
				.single-step__wrap{
					&:after{
						background-color: $color-primary;
					}
					.single-step__icon{
						border-color: $color-primary;
					}
					.single-step__label{
						color: $color-primary_text;
					}
				}
			}
		}
	}
}
.add-post__single-info-section{
	padding: 12px 12px;
	.section-header{
		display: flex;
		align-items: center;
		margin: 0 0 12px;
		padding: 0 0 12px;
		border-bottom: $border;
		.section-header__icon{
			flex: 0 0 auto;
			min-width: 0;
			margin: 0 12px 0 0;
			img{
				display: block;
				width: 32px;
				height: 32px;
				fill: $grey400;
			}
		}
		.section-header__title{
			margin: 0;
			padding: 0;
			line-height: 24px;
			font-size: 18px;
			font-weight: 500;
			color: $grey900;
		}
		.section-header__subtitle{
			margin: 3px 0 0;
			padding: 0;
			line-height: 16px;
			font-size: 12px;
			font-weight: 400;
			color: $grey700;
		}
	}
	.section-content{
		padding: 12px 12px 0;
		// & > .row{
		// 	margin-bottom: 12px;
		// 	&:last-child{
		// 		margin-bottom: 0;
		// 	}
		// }
	}
	.more-pr{
		@media (min-width: $screen-sm-min){
			padding-right: 30px;
		}
	}
	.more-pl{
		@media (min-width: $screen-sm-min){
			padding-left: 30px;
		}
	}
	.filter-label-wrap{
		height: 34px;
		display: flex;
		align-items: center;
		label{
			margin: 0;
			line-height: 16px;
			font-size: 13px;
		}
	}
	.filter-input-wrap{
		height: 34px;
	}
	.form-group{
		margin-bottom: 16px;
		position: relative;
		&--flex{
			@media (min-width: $screen-md) {
				display: flex;
			}
		}
		&__label{
			flex: 0 0 144px;
			margin: 6px 0;
		}
		&__data{
			flex: 1 1 auto;
			min-width: 0;
			position: relative;
			display: flex;
			flex-direction: column;
			[class^="parsley"]{
				order: 9999;
			}
		}
		&__options{
			display: flex;
			flex-wrap: wrap;
			.single-info-option{
				flex: 0 0 100%;
				margin: 0 0 5px;
				padding: 0 12px 0 0;
				@media (min-width: $screen-sm){
					flex: 0 0 50%;
				}
			}
			&--prices{
				margin: 0 0 8px;
			}
			&--info{
				.single-info-option{
					@media (min-width: $screen-lg){
						flex: 0 0 33.33%;
					}
				}	
			}
		}
		.input-warning{
			display: block;
			margin: 2px 0 0;
			font-size: 12px;
			color: material-color('red', '500');
			display: none;
			&.show{
				display: block;
			}
		}
	}
	.form-control{
		&.has-warning{
			border-color: material-color('red', '300');
		}
		&--optional-price{
			& + [class^="parsley"]{
				display: none;
			}
			&:required{
				& + [class^="parsley"]{
					display: block;
				}
			}
		}
	}
	.help-text{
		margin: 2px 0 0;
		font-size: 12px;
		color: $grey500;
	}
	.post-uploaded-images{
		margin: 0 -6px;
		.single-uploaded-image{
			display: block;
			float: left;
			position: relative;
			width: 50%;
			padding: 6px;
			margin: 0;
			@media (min-width: $screen-sm-min){
				width: 33.3333%;
			}
			@media (min-width: $screen-md-min){
				width: 25%;
			}
			@media (min-width: $screen-lg-min){
				width: 20%;
			}
			.image-wrap{
				border: 2px solid #eee;
				background-color: $grey100;
			}
			.image-main{
				display: block;
				width: 100%;
				height: 100%;
				object-fit: contain;
			}
			.image-delete-btn{
				display: block;
				position: absolute;
				top: 4px; right: 4px;
				width: 24px;
				height: 20px;
				line-height: 24px;
				font-size: 20px;
				text-align: center;
				color: $red500;
				&:hover{
					color: $red700;
				}
				i{
					display: inline-block;
					line-height: 24px;
					vertical-align: top;
				}
			}
		}
	}
}


// notificatoin 
.notification-section{
	.section-header{
		.section-header__title{
			margin: 0;
			line-height: 24px;
			font-size: 18px;
			font-weight: 500;
			@media (min-width: $screen-md-min){
				line-height: 28px;
				font-size: 24px;
			}
		}
		.ntf-count{
			display: inline-block;
			vertical-align: top;
			margin: 0 0 0 8px;
			padding: 2px 8px;
			line-height: 18px;
			font-size: 13px;
			font-weight: 500;
			color: #fff;
			background-color: $grey600;
			border-radius: 10px;
		}
	}
	.section-content{
		margin: 16px 0;
	}
	.list-ntfs{
		.single-ntf{
			display: block;
			display: flex;
			padding: 12px;
			border-bottom: 1px solid #eee;
			&:last-child{
				border-bottom: 0;
			}
			&:hover, &:focus, &:active{
				text-decoration: none;
			}
			&:hover{
				background-color: $grey50;
			}
			&.single-ntf--unread{
				background-color: material-color("orange",'50');
			}
			.single-ntf__photo{
				width: 56px;
				.ntf-user-avatar{
					//
				}
				.ntf-icon{
					img{
						max-width: 28px;
						max-height: 28px;
					}
				}
			}
			.single-ntf__content{
				margin: 0 0 0 10px;
				b{
					font-weight: 500;
				}
				.ntf-title{
					font-size: 15px;
					color: $grey900;
				}
				.ntf-meta{
					margin: 2px 0 0;
					line-height: 18px;
					font-size: 13px;
					color: $grey500;
				}
			}
		}
	}
}



// modal

.modal-content--sign-up{
	.modal-header{
		padding: 16px 24px 12px;
		.modal-title{
			line-height: 26px;
			font-size: 20px;
		}
	}
	.modal-body{
		padding: 20px 24px;
	}
	.modal-footer{
		padding: 16px 24px;
	}
}
.sign-up-form{
	.avatar-upload-wrap{
		margin: 0 0 8px;
		.avatar-image{
			display: inline-block;
			border: 2px solid #eee;
			border-radius: 50%;
			background-color: $grey50;
			img{
				display: block;
				width: 96px;
				height: 96px;
				object-fit: cover;
				border-radius: 50%;
			}
		}
	}
}
.modal-dialog--sign-in{
	width: 320px;
	margin-left: auto;
	margin-right: auto;
}
.modal-content--sign-in{
	.modal-header{
		padding: 24px 24px 20px;
		.modal-title{
			line-height: 30px;
			font-size: 24px;
		}
		.modal-subtitle{
			margin: 8px 0 0;
			line-height: 18px;
			font-size: 13px;
		}
	}
	.modal-body{
		padding: 24px;
	}
	.modal-footer{
		padding: 16px 24px;
	}
}
.sign-in-form{
	.form-title{
		margin: 0 0 12px;
		line-height: 20px;
		font-size: 15px;
		font-weight: 500;
	}
}



// forgot password

.forgot-password-section{	
	margin: 48px auto;
	padding: 24px;
	width: 280px;
	@media (min-width: $screen-sm-min){
		margin: 96px auto;
		width: 360px;
	}
	.form-icon-wrap{
		text-align: center;
		margin: 0 0 24px;
		.form-icon{
			display: inline-block;
			width: 96px;
			height: 96px;
			border-radius: 50%;
			line-height: 96px;
			font-size: 60px;
			color: #fff;
			background-color: $color-primary;
			i{
				display: inline-block;
				vertical-align: top;
				line-height: 92px;
				padding: 4px 0 0;
			}
		}
	}
	
}
